@trackunit/iris-app-api 2.7.1-alpha-7fd06f36b49.0 → 2.7.1-alpha-f60e0f7c192.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,46 +1,3 @@
1
- ## 2.7.0 (2026-09-29)
2
-
3
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
4
-
5
- ## 2.6.13 (2026-09-28)
6
-
7
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
8
-
9
- ## 2.6.12 (2026-09-25)
10
-
11
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
12
-
13
- ## 2.6.11 (2026-09-24)
14
-
15
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
16
-
17
- ## 2.6.10 (2026-09-24)
18
-
19
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
20
-
21
- ## 2.6.9 (2026-09-22)
22
-
23
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
24
-
25
- ## 2.6.8 (2026-09-22)
26
-
27
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
28
-
29
- ## 2.6.7 (2026-09-21)
30
-
31
- This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
32
-
33
- ## 2.6.6 (2026-09-21)
34
-
35
- ### 🚀 Features
36
-
37
- - **administration:** make Administration > Organization the organization readiness report ([#25689](https://github.com/Trackunit/manager/pull/25689), [#1779](https://github.com/Trackunit/manager/issues/1779), [#1791](https://github.com/Trackunit/manager/issues/1791), [#1786](https://github.com/Trackunit/manager/issues/1786), [#1788](https://github.com/Trackunit/manager/issues/1788))
38
-
39
- ### ❤️ Thank You
40
-
41
- - Claude Fable 5.1
42
- - Roland Wolf @rwo-trackunit
43
-
44
1
  ## 2.6.5 (2026-09-17)
45
2
 
46
3
  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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-api",
3
- "version": "2.7.1-alpha-7fd06f36b49.0",
3
+ "version": "2.7.1-alpha-f60e0f7c192.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -61,7 +61,6 @@ export declare const accountScope: {
61
61
  readonly PARTNER_MANAGE: "partner.manage";
62
62
  readonly CONNECTION_VIEW: "connection.view";
63
63
  readonly CONNECTION_MANAGE: "connection.manage";
64
- readonly ORGANIZATION_VIEW: "organization.view";
65
64
  };
66
65
  export type AccountScope = (typeof accountScope)[keyof typeof accountScope];
67
66
  export declare const assetScope: {
@@ -138,5 +137,4 @@ export declare const allScopes: {
138
137
  PARTNER_MANAGE: "partner.manage";
139
138
  CONNECTION_VIEW: "connection.view";
140
139
  CONNECTION_MANAGE: "connection.manage";
141
- ORGANIZATION_VIEW: "organization.view";
142
140
  };
@@ -83,7 +83,6 @@ exports.accountScope = {
83
83
  PARTNER_MANAGE: "partner.manage",
84
84
  CONNECTION_VIEW: "connection.view",
85
85
  CONNECTION_MANAGE: "connection.manage",
86
- ORGANIZATION_VIEW: "organization.view",
87
86
  };
88
87
  exports.assetScope = {
89
88
  ASSET_VIEW: "asset.view",
@@ -1 +1 @@
1
- {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/scopes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAEU,QAAA,YAAY,GAAG;IAC1B,gCAAgC,EAAE,kCAAkC;IACpE,oBAAoB,EAAE,sBAAsB;IAC5C,kBAAkB,EAAE,oBAAoB;IACxC,sBAAsB,EAAE,wBAAwB;IAChD,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,4BAA4B,EAAE,8BAA8B;IAC5D,cAAc,EAAE,gBAAgB;IAChC,gCAAgC,EAAE,kCAAkC;IACpE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BAAsB,EAAE,wBAAwB;IAChD,2BAA2B,EAAE,6BAA6B;IAC1D,mCAAmC,EAAE,qCAAqC;IAC1E,sCAAsC,EAAE,wCAAwC;IAChF,8BAA8B,EAAE,gCAAgC;IAChE,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AAGE,QAAA,UAAU,GAAG;IACxB,UAAU,EAAE,YAAY;CAChB,CAAC;AAGE,QAAA,SAAS,GAAG;IACvB,SAAS,EAAE,WAAW;CACd,CAAC;AAKE,QAAA,SAAS,GAAG,EAAE,GAAG,oBAAY,EAAE,GAAG,kBAAU,EAAE,GAAG,iBAAS,EAAE,CAAC","sourcesContent":["/*\n * Public scopes are typically derived from the TAS permission name together with the\n * securable type prefix, for example:\n * - ACCOUNT + group.manage -> account.group.manage\n * - ACCOUNT + manage -> account.manage\n * - ASSET + view -> asset.view\n *\n * When adding a new public scope here, keep the public definitions aligned with TAS,\n * the Okta scope definitions in `trackunit-terraform/app/okta/`, and the published scope\n * table in\n * `developers-trackunit-com/docs/apps-and-extensions/overview/iris-app-sdk-reference/app-manifest.md`.\n *\n * New scopes are registered unprefixed — `license.view`, not `account.license.view` — matching\n * the Okta public scope naming convention. They resolve through `scopeActionRegistry` rather\n * than the `account.`-prefixed TAS permission list.\n *\n * For more information see:\n * https://trackunit.atlassian.net/wiki/spaces/EN/pages/4364599297/Adding+Permissions+to+TAS\n */\n\nexport const accountScope = {\n ACCOUNT_ACCESS_MANAGEMENT_MANAGE: \"account.access-management.manage\",\n ACCOUNT_ALERT_MANAGE: \"account.alert.manage\",\n ACCOUNT_ALERT_VIEW: \"account.alert.view\",\n ACCOUNT_API_KEY_MANAGE: \"account.api-key.manage\",\n ACCOUNT_ASSET_MANAGE: \"account.asset.manage\",\n ACCOUNT_AUDIT_LOG_VIEW: \"account.audit-log.view\",\n ACCOUNT_BILLING_MANAGE: \"account.billing.manage\",\n ACCOUNT_CUSTOM_FIELDS_MANAGE: \"account.custom-fields.manage\",\n ACCOUNT_DELETE: \"account.delete\",\n ACCOUNT_EQUIPMENT_POOLING_MANAGE: \"account.equipment-pooling.manage\",\n ACCOUNT_EQUIPMENT_POOLING_VIEW: \"account.equipment-pooling.view\",\n ACCOUNT_EVENT_MANAGE: \"account.event.manage\",\n ACCOUNT_EVENT_REPORT_ISSUE: \"account.event.report-issue\",\n ACCOUNT_EVENT_VIEW: \"account.event.view\",\n ACCOUNT_GROUP_MANAGE: \"account.group.manage\",\n ACCOUNT_GROUP_VIEW: \"account.group.view\",\n ACCOUNT_MANAGE: \"account.manage\",\n ACCOUNT_OPERATOR_VIEW: \"account.operator.view\",\n ACCOUNT_MARKETPLACE_APP_INSTALL: \"account.marketplace.app.install\",\n ACCOUNT_RENTAL_VIEW: \"account.rental.view\",\n ACCOUNT_SERVICE_MANAGEMENT_NETWORK_MANAGE: \"account.service-management.network.manage\",\n ACCOUNT_SERVICE_MANAGEMENT_NETWORK_VIEW: \"account.service-management.network.view\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_MANAGE:\n \"account.service-management.service-plan.assignment.manage\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_REPORT:\n \"account.service-management.service-plan.assignment.report\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_SERVICE_REGISTRATION_REGISTER:\n \"account.service-management.service-plan.assignment.service-registration.register\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_SERVICE_REGISTRATION_VIEW:\n \"account.service-management.service-plan.assignment.service-registration.view\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_VIEW: \"account.service-management.service-plan.assignment.view\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_MANAGE: \"account.service-management.service-plan.manage\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_VIEW: \"account.service-management.service-plan.view\",\n ACCOUNT_SITE_MANAGE: \"account.site.manage\",\n ACCOUNT_CUSTOMER_MANAGE: \"account.customer.manage\",\n ACCOUNT_SUPPORT_ACCESS_APPROVAL_FLOW: \"account.support-access.approval-flow\",\n ACCOUNT_USER_MANAGE: \"account.user.manage\",\n ACCOUNT_USER_VIEW: \"account.user.view\",\n ACCOUNT_VIEW: \"account.view\",\n ACCOUNT_IRIS_APP_STORE_SECRET: \"account.iris.app.store-secret\",\n ACCOUNT_IRISX_MANAGE: \"account.irisx.manage\",\n ACCOUNT_BRANDING_MANAGE: \"account.branding.manage\",\n ACCOUNT_REMOTE_COMMAND_CONFIGURATION_VIEW: \"account.remote-commands.configuration-tool.view\",\n ACCOUNT_SUPPORT_ACCESS: \"account.support-access\",\n ACCOUNT_SITE_EMISSIONS_ASSET_HISTORY_VIEW: \"account.site-emissions.asset-history.view\",\n ACCOUNT_SHOW_HISTORICAL_DATA: \"account.show-historical-data\",\n ACCOUNT_MARKETPLACE_APP_APPROVE: \"account.marketplace.app.approve\",\n ACCOUNT_IRIS_APP_DEVELOPER: \"account.iris.app.developer\",\n ACCOUNT_IRISX_ANALYTICS_ADMIN: \"account.irisx.analytics.admin\",\n ACCOUNT_IRISX_ANALYTICS_READ_ONLY: \"account.irisx.analytics.read_only\",\n ACCOUNT_MY_HOME_MANAGE: \"account.my-home.manage\",\n ACCOUNT_MY_HOME_CANVAS_EDIT: \"account.my-home.canvas.edit\",\n ACCOUNT_INTERNAL_TOOLS_PACKAGE_OVERVIEW: \"account.internal-tools.package-overview\",\n ACCOUNT_INTERNAL_TOOLS_BRANDING: \"account.internal-tools.branding\",\n ACCOUNT_SUBSCRIPTION_PACKAGE_MANAGE: \"account.subscription.package-manage\",\n ACCOUNT_TOP_LEVEL_CREATE: \"account.top-level.create\",\n ACCOUNT_PARTNER_MANAGE: \"account.partner.manage\",\n ACCOUNT_ORGANIZATION_MANAGE: \"account.organization.manage\",\n ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: \"account.support-access.pre-approved\",\n ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: \"account.support-access.extended-period\",\n ACCOUNT_CLASSIC_MANAGER_ACCESS: \"account.classic-manager.access\",\n LICENSE_VIEW: \"license.view\",\n PARTNER_VIEW: \"partner.view\",\n PARTNER_MANAGE: \"partner.manage\",\n CONNECTION_VIEW: \"connection.view\",\n CONNECTION_MANAGE: \"connection.manage\",\n ORGANIZATION_VIEW: \"organization.view\",\n} as const;\nexport type AccountScope = (typeof accountScope)[keyof typeof accountScope];\n\nexport const assetScope = {\n ASSET_VIEW: \"asset.view\",\n} as const;\nexport type AssetScope = (typeof assetScope)[keyof typeof assetScope];\n\nexport const siteScope = {\n SITE_VIEW: \"site.view\",\n} as const;\nexport type SiteScope = (typeof siteScope)[keyof typeof siteScope];\n\nexport type Scope = AccountScope | AssetScope | SiteScope;\n\nexport const allScopes = { ...accountScope, ...assetScope, ...siteScope };\n"]}
1
+ {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/scopes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAEU,QAAA,YAAY,GAAG;IAC1B,gCAAgC,EAAE,kCAAkC;IACpE,oBAAoB,EAAE,sBAAsB;IAC5C,kBAAkB,EAAE,oBAAoB;IACxC,sBAAsB,EAAE,wBAAwB;IAChD,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,4BAA4B,EAAE,8BAA8B;IAC5D,cAAc,EAAE,gBAAgB;IAChC,gCAAgC,EAAE,kCAAkC;IACpE,8BAA8B,EAAE,gCAAgC;IAChE,oBAAoB,EAAE,sBAAsB;IAC5C,0BAA0B,EAAE,4BAA4B;IACxD,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CAAsC,EAAE,wCAAwC;IAChF,8BAA8B,EAAE,gCAAgC;IAChE,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC;AAGE,QAAA,UAAU,GAAG;IACxB,UAAU,EAAE,YAAY;CAChB,CAAC;AAGE,QAAA,SAAS,GAAG;IACvB,SAAS,EAAE,WAAW;CACd,CAAC;AAKE,QAAA,SAAS,GAAG,EAAE,GAAG,oBAAY,EAAE,GAAG,kBAAU,EAAE,GAAG,iBAAS,EAAE,CAAC","sourcesContent":["/*\n * Public scopes are typically derived from the TAS permission name together with the\n * securable type prefix, for example:\n * - ACCOUNT + group.manage -> account.group.manage\n * - ACCOUNT + manage -> account.manage\n * - ASSET + view -> asset.view\n *\n * When adding a new public scope here, keep the public definitions aligned with TAS,\n * the Okta scope definitions in `trackunit-terraform/app/okta/`, and the published scope\n * table in\n * `developers-trackunit-com/docs/apps-and-extensions/overview/iris-app-sdk-reference/app-manifest.md`.\n *\n * New scopes are registered unprefixed — `license.view`, not `account.license.view` — matching\n * the Okta public scope naming convention. They resolve through `scopeActionRegistry` rather\n * than the `account.`-prefixed TAS permission list.\n *\n * For more information see:\n * https://trackunit.atlassian.net/wiki/spaces/EN/pages/4364599297/Adding+Permissions+to+TAS\n */\n\nexport const accountScope = {\n ACCOUNT_ACCESS_MANAGEMENT_MANAGE: \"account.access-management.manage\",\n ACCOUNT_ALERT_MANAGE: \"account.alert.manage\",\n ACCOUNT_ALERT_VIEW: \"account.alert.view\",\n ACCOUNT_API_KEY_MANAGE: \"account.api-key.manage\",\n ACCOUNT_ASSET_MANAGE: \"account.asset.manage\",\n ACCOUNT_AUDIT_LOG_VIEW: \"account.audit-log.view\",\n ACCOUNT_BILLING_MANAGE: \"account.billing.manage\",\n ACCOUNT_CUSTOM_FIELDS_MANAGE: \"account.custom-fields.manage\",\n ACCOUNT_DELETE: \"account.delete\",\n ACCOUNT_EQUIPMENT_POOLING_MANAGE: \"account.equipment-pooling.manage\",\n ACCOUNT_EQUIPMENT_POOLING_VIEW: \"account.equipment-pooling.view\",\n ACCOUNT_EVENT_MANAGE: \"account.event.manage\",\n ACCOUNT_EVENT_REPORT_ISSUE: \"account.event.report-issue\",\n ACCOUNT_EVENT_VIEW: \"account.event.view\",\n ACCOUNT_GROUP_MANAGE: \"account.group.manage\",\n ACCOUNT_GROUP_VIEW: \"account.group.view\",\n ACCOUNT_MANAGE: \"account.manage\",\n ACCOUNT_OPERATOR_VIEW: \"account.operator.view\",\n ACCOUNT_MARKETPLACE_APP_INSTALL: \"account.marketplace.app.install\",\n ACCOUNT_RENTAL_VIEW: \"account.rental.view\",\n ACCOUNT_SERVICE_MANAGEMENT_NETWORK_MANAGE: \"account.service-management.network.manage\",\n ACCOUNT_SERVICE_MANAGEMENT_NETWORK_VIEW: \"account.service-management.network.view\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_MANAGE:\n \"account.service-management.service-plan.assignment.manage\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_REPORT:\n \"account.service-management.service-plan.assignment.report\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_SERVICE_REGISTRATION_REGISTER:\n \"account.service-management.service-plan.assignment.service-registration.register\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_SERVICE_REGISTRATION_VIEW:\n \"account.service-management.service-plan.assignment.service-registration.view\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_ASSIGNMENT_VIEW: \"account.service-management.service-plan.assignment.view\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_MANAGE: \"account.service-management.service-plan.manage\",\n ACCOUNT_SERVICE_MANAGEMENT_SERVICE_PLAN_VIEW: \"account.service-management.service-plan.view\",\n ACCOUNT_SITE_MANAGE: \"account.site.manage\",\n ACCOUNT_CUSTOMER_MANAGE: \"account.customer.manage\",\n ACCOUNT_SUPPORT_ACCESS_APPROVAL_FLOW: \"account.support-access.approval-flow\",\n ACCOUNT_USER_MANAGE: \"account.user.manage\",\n ACCOUNT_USER_VIEW: \"account.user.view\",\n ACCOUNT_VIEW: \"account.view\",\n ACCOUNT_IRIS_APP_STORE_SECRET: \"account.iris.app.store-secret\",\n ACCOUNT_IRISX_MANAGE: \"account.irisx.manage\",\n ACCOUNT_BRANDING_MANAGE: \"account.branding.manage\",\n ACCOUNT_REMOTE_COMMAND_CONFIGURATION_VIEW: \"account.remote-commands.configuration-tool.view\",\n ACCOUNT_SUPPORT_ACCESS: \"account.support-access\",\n ACCOUNT_SITE_EMISSIONS_ASSET_HISTORY_VIEW: \"account.site-emissions.asset-history.view\",\n ACCOUNT_SHOW_HISTORICAL_DATA: \"account.show-historical-data\",\n ACCOUNT_MARKETPLACE_APP_APPROVE: \"account.marketplace.app.approve\",\n ACCOUNT_IRIS_APP_DEVELOPER: \"account.iris.app.developer\",\n ACCOUNT_IRISX_ANALYTICS_ADMIN: \"account.irisx.analytics.admin\",\n ACCOUNT_IRISX_ANALYTICS_READ_ONLY: \"account.irisx.analytics.read_only\",\n ACCOUNT_MY_HOME_MANAGE: \"account.my-home.manage\",\n ACCOUNT_MY_HOME_CANVAS_EDIT: \"account.my-home.canvas.edit\",\n ACCOUNT_INTERNAL_TOOLS_PACKAGE_OVERVIEW: \"account.internal-tools.package-overview\",\n ACCOUNT_INTERNAL_TOOLS_BRANDING: \"account.internal-tools.branding\",\n ACCOUNT_SUBSCRIPTION_PACKAGE_MANAGE: \"account.subscription.package-manage\",\n ACCOUNT_TOP_LEVEL_CREATE: \"account.top-level.create\",\n ACCOUNT_PARTNER_MANAGE: \"account.partner.manage\",\n ACCOUNT_ORGANIZATION_MANAGE: \"account.organization.manage\",\n ACCOUNT_SUPPORT_ACCESS_PRE_APPROVED: \"account.support-access.pre-approved\",\n ACCOUNT_SUPPORT_ACCESS_EXTENDED_PERIOD: \"account.support-access.extended-period\",\n ACCOUNT_CLASSIC_MANAGER_ACCESS: \"account.classic-manager.access\",\n LICENSE_VIEW: \"license.view\",\n PARTNER_VIEW: \"partner.view\",\n PARTNER_MANAGE: \"partner.manage\",\n CONNECTION_VIEW: \"connection.view\",\n CONNECTION_MANAGE: \"connection.manage\",\n} as const;\nexport type AccountScope = (typeof accountScope)[keyof typeof accountScope];\n\nexport const assetScope = {\n ASSET_VIEW: \"asset.view\",\n} as const;\nexport type AssetScope = (typeof assetScope)[keyof typeof assetScope];\n\nexport const siteScope = {\n SITE_VIEW: \"site.view\",\n} as const;\nexport type SiteScope = (typeof siteScope)[keyof typeof siteScope];\n\nexport type Scope = AccountScope | AssetScope | SiteScope;\n\nexport const allScopes = { ...accountScope, ...assetScope, ...siteScope };\n"]}