@trackunit/iris-app-api 2.0.36-alpha-6a85feaada3.0 → 2.0.36-alpha-52dc2da9c19.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 2.0.35 (2026-06-25)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **filters:** add FW Version filter to assets bar + widgets ([2d5dd86a3ea](https://github.com/Trackunit/manager/commit/2d5dd86a3ea))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Opus 4.8 (1M context)
|
|
10
|
+
- Simon Laustsen
|
|
11
|
+
|
|
1
12
|
## 2.0.34 (2026-06-23)
|
|
2
13
|
|
|
3
14
|
This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
|
package/package.json
CHANGED
|
@@ -19,12 +19,12 @@ export type WidgetSupportedFilterBars = "CUSTOMERS" | "ASSETS" | "SITES";
|
|
|
19
19
|
export type WidgetSupportedFilters = WidgetSupportedFilterBars | "TIME_RANGE";
|
|
20
20
|
export declare const widgetTypes: readonly ["KPI", "CHART", "LIST", "MAP", "OTHER"];
|
|
21
21
|
export type WidgetType = (typeof widgetTypes)[number];
|
|
22
|
-
export declare const allAssetFilterKeys: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes"];
|
|
23
|
-
export declare const allAssetFilterKeysWithCustomer: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery"];
|
|
22
|
+
export declare const allAssetFilterKeys: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "firmwareVersion"];
|
|
23
|
+
export declare const allAssetFilterKeysWithCustomer: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "firmwareVersion", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery"];
|
|
24
24
|
export declare const customFieldFilterKey: "customFields";
|
|
25
25
|
export type AssetFilterKeys = typeof allAssetFilterKeys;
|
|
26
26
|
export type AssetFilterKeysWithCustomer = typeof allAssetFilterKeysWithCustomer;
|
|
27
|
-
export declare const allAssetFilterKeysWithCustomFields: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery", "customFields"];
|
|
27
|
+
export declare const allAssetFilterKeysWithCustomFields: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "firmwareVersion", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery", "customFields"];
|
|
28
28
|
export type AssetFilterKeysWithCustomFields = typeof allAssetFilterKeysWithCustomFields;
|
|
29
29
|
export declare const allSiteFilterKeys: readonly ["search", "siteStatus", "siteType"];
|
|
30
30
|
export type SiteFilterKeys = typeof allSiteFilterKeys;
|
package/src/types/scopes.d.ts
CHANGED
|
@@ -34,6 +34,23 @@ export declare const accountScope: {
|
|
|
34
34
|
readonly ACCOUNT_REMOTE_COMMAND_CONFIGURATION_VIEW: "account.remote-commands.configuration-tool.view";
|
|
35
35
|
readonly ACCOUNT_SUPPORT_ACCESS: "account.support-access";
|
|
36
36
|
readonly ACCOUNT_SITE_EMISSIONS_ASSET_HISTORY_VIEW: "account.site-emissions.asset-history.view";
|
|
37
|
+
readonly ACCOUNT_SHOW_HISTORICAL_DATA: "account.show-historical-data";
|
|
38
|
+
readonly ACCOUNT_MARKETPLACE_APP_APPROVE: "account.marketplace.app.approve";
|
|
39
|
+
readonly ACCOUNT_IRIS_APP_DEVELOPER: "account.iris.app.developer";
|
|
40
|
+
readonly ACCOUNT_IRISX_ANALYTICS_ADMIN: "account.irisx.analytics.admin";
|
|
41
|
+
readonly ACCOUNT_IRISX_ANALYTICS_READ_ONLY: "account.irisx.analytics.read_only";
|
|
42
|
+
readonly ACCOUNT_MY_HOME_MANAGE: "account.my-home.manage";
|
|
43
|
+
readonly ACCOUNT_MY_HOME_CANVAS_EDIT: "account.my-home.canvas.edit";
|
|
44
|
+
readonly ACCOUNT_INTERNAL_TOOLS_PACKAGE_OVERVIEW: "account.internal-tools.package-overview";
|
|
45
|
+
readonly ACCOUNT_INTERNAL_TOOLS_BRANDING: "account.internal-tools.branding";
|
|
46
|
+
readonly ACCOUNT_SUBSCRIPTION_PACKAGE_MANAGE: "account.subscription.package-manage";
|
|
47
|
+
readonly ACCOUNT_TOP_LEVEL_CREATE: "account.top-level.create";
|
|
48
|
+
readonly ACCOUNT_PARTNER_MANAGE: "account.partner.manage";
|
|
49
|
+
readonly ACCOUNT_ORGANIZATION_MANAGE: "account.organization.manage";
|
|
50
|
+
readonly ACCOUNT_LICENSE_VIEW: "account.license.view";
|
|
51
|
+
readonly ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved";
|
|
52
|
+
readonly ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period";
|
|
53
|
+
readonly ACCOUNT_CLASSIC_MANAGER_ACCESS: "account.classic-manager.access";
|
|
37
54
|
};
|
|
38
55
|
export type AccountScope = (typeof accountScope)[keyof typeof accountScope];
|
|
39
56
|
export declare const assetScope: {
|
|
@@ -83,4 +100,21 @@ export declare const allScopes: {
|
|
|
83
100
|
ACCOUNT_REMOTE_COMMAND_CONFIGURATION_VIEW: "account.remote-commands.configuration-tool.view";
|
|
84
101
|
ACCOUNT_SUPPORT_ACCESS: "account.support-access";
|
|
85
102
|
ACCOUNT_SITE_EMISSIONS_ASSET_HISTORY_VIEW: "account.site-emissions.asset-history.view";
|
|
103
|
+
ACCOUNT_SHOW_HISTORICAL_DATA: "account.show-historical-data";
|
|
104
|
+
ACCOUNT_MARKETPLACE_APP_APPROVE: "account.marketplace.app.approve";
|
|
105
|
+
ACCOUNT_IRIS_APP_DEVELOPER: "account.iris.app.developer";
|
|
106
|
+
ACCOUNT_IRISX_ANALYTICS_ADMIN: "account.irisx.analytics.admin";
|
|
107
|
+
ACCOUNT_IRISX_ANALYTICS_READ_ONLY: "account.irisx.analytics.read_only";
|
|
108
|
+
ACCOUNT_MY_HOME_MANAGE: "account.my-home.manage";
|
|
109
|
+
ACCOUNT_MY_HOME_CANVAS_EDIT: "account.my-home.canvas.edit";
|
|
110
|
+
ACCOUNT_INTERNAL_TOOLS_PACKAGE_OVERVIEW: "account.internal-tools.package-overview";
|
|
111
|
+
ACCOUNT_INTERNAL_TOOLS_BRANDING: "account.internal-tools.branding";
|
|
112
|
+
ACCOUNT_SUBSCRIPTION_PACKAGE_MANAGE: "account.subscription.package-manage";
|
|
113
|
+
ACCOUNT_TOP_LEVEL_CREATE: "account.top-level.create";
|
|
114
|
+
ACCOUNT_PARTNER_MANAGE: "account.partner.manage";
|
|
115
|
+
ACCOUNT_ORGANIZATION_MANAGE: "account.organization.manage";
|
|
116
|
+
ACCOUNT_LICENSE_VIEW: "account.license.view";
|
|
117
|
+
ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved";
|
|
118
|
+
ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period";
|
|
119
|
+
ACCOUNT_CLASSIC_MANAGER_ACCESS: "account.classic-manager.access";
|
|
86
120
|
};
|
package/src/types/scopes.js
CHANGED
|
@@ -51,6 +51,23 @@ exports.accountScope = {
|
|
|
51
51
|
ACCOUNT_REMOTE_COMMAND_CONFIGURATION_VIEW: "account.remote-commands.configuration-tool.view",
|
|
52
52
|
ACCOUNT_SUPPORT_ACCESS: "account.support-access",
|
|
53
53
|
ACCOUNT_SITE_EMISSIONS_ASSET_HISTORY_VIEW: "account.site-emissions.asset-history.view",
|
|
54
|
+
ACCOUNT_SHOW_HISTORICAL_DATA: "account.show-historical-data",
|
|
55
|
+
ACCOUNT_MARKETPLACE_APP_APPROVE: "account.marketplace.app.approve",
|
|
56
|
+
ACCOUNT_IRIS_APP_DEVELOPER: "account.iris.app.developer",
|
|
57
|
+
ACCOUNT_IRISX_ANALYTICS_ADMIN: "account.irisx.analytics.admin",
|
|
58
|
+
ACCOUNT_IRISX_ANALYTICS_READ_ONLY: "account.irisx.analytics.read_only",
|
|
59
|
+
ACCOUNT_MY_HOME_MANAGE: "account.my-home.manage",
|
|
60
|
+
ACCOUNT_MY_HOME_CANVAS_EDIT: "account.my-home.canvas.edit",
|
|
61
|
+
ACCOUNT_INTERNAL_TOOLS_PACKAGE_OVERVIEW: "account.internal-tools.package-overview",
|
|
62
|
+
ACCOUNT_INTERNAL_TOOLS_BRANDING: "account.internal-tools.branding",
|
|
63
|
+
ACCOUNT_SUBSCRIPTION_PACKAGE_MANAGE: "account.subscription.package-manage",
|
|
64
|
+
ACCOUNT_TOP_LEVEL_CREATE: "account.top-level.create",
|
|
65
|
+
ACCOUNT_PARTNER_MANAGE: "account.partner.manage",
|
|
66
|
+
ACCOUNT_ORGANIZATION_MANAGE: "account.organization.manage",
|
|
67
|
+
ACCOUNT_LICENSE_VIEW: "account.license.view",
|
|
68
|
+
ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: "account.support-access.pre-approved",
|
|
69
|
+
ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: "account.support-access.extended-period",
|
|
70
|
+
ACCOUNT_CLASSIC_MANAGER_ACCESS: "account.classic-manager.access",
|
|
54
71
|
};
|
|
55
72
|
exports.assetScope = {
|
|
56
73
|
ASSET_VIEW: "asset.view",
|