@trackunit/iris-app-api 2.12.10-alpha-0611f91ebcd.0 → 2.12.12-alpha-fb0675e61ad.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,18 @@
1
+ ## 2.12.11 (2026-10-27)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **asset-pooling:** unblock Iris app submit by reverting asset-pooling scope rename ([#26915](https://github.com/Trackunit/manager/issues/26915))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Cursor Agent @cursoragent
10
+ - mta
11
+
12
+ ## 2.12.10 (2026-10-27)
13
+
14
+ This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
15
+
1
16
  ## 2.12.9 (2026-10-26)
2
17
 
3
18
  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.12.10-alpha-0611f91ebcd.0",
3
+ "version": "2.12.12-alpha-fb0675e61ad.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -4,6 +4,8 @@ export declare const accountScope: {
4
4
  readonly ACCOUNT_ALERT_VIEW: "account.alert.view";
5
5
  readonly ACCOUNT_API_KEY_MANAGE: "account.api-key.manage";
6
6
  readonly ACCOUNT_ASSET_MANAGE: "account.asset.manage";
7
+ readonly ACCOUNT_ASSET_POOLING_MANAGE: "account.asset-pooling.manage";
8
+ readonly ACCOUNT_ASSET_POOLING_VIEW: "account.asset-pooling.view";
7
9
  readonly ACCOUNT_AUDIT_LOG_VIEW: "account.audit-log.view";
8
10
  readonly ACCOUNT_BILLING_MANAGE: "account.billing.manage";
9
11
  readonly ACCOUNT_CUSTOM_FIELDS_MANAGE: "account.custom-fields.manage";
@@ -83,6 +85,8 @@ export declare const allScopes: {
83
85
  ACCOUNT_ALERT_VIEW: "account.alert.view";
84
86
  ACCOUNT_API_KEY_MANAGE: "account.api-key.manage";
85
87
  ACCOUNT_ASSET_MANAGE: "account.asset.manage";
88
+ ACCOUNT_ASSET_POOLING_MANAGE: "account.asset-pooling.manage";
89
+ ACCOUNT_ASSET_POOLING_VIEW: "account.asset-pooling.view";
86
90
  ACCOUNT_AUDIT_LOG_VIEW: "account.audit-log.view";
87
91
  ACCOUNT_BILLING_MANAGE: "account.billing.manage";
88
92
  ACCOUNT_CUSTOM_FIELDS_MANAGE: "account.custom-fields.manage";
@@ -26,6 +26,8 @@ exports.accountScope = {
26
26
  ACCOUNT_ALERT_VIEW: "account.alert.view",
27
27
  ACCOUNT_API_KEY_MANAGE: "account.api-key.manage",
28
28
  ACCOUNT_ASSET_MANAGE: "account.asset.manage",
29
+ ACCOUNT_ASSET_POOLING_MANAGE: "account.asset-pooling.manage",
30
+ ACCOUNT_ASSET_POOLING_VIEW: "account.asset-pooling.view",
29
31
  ACCOUNT_AUDIT_LOG_VIEW: "account.audit-log.view",
30
32
  ACCOUNT_BILLING_MANAGE: "account.billing.manage",
31
33
  ACCOUNT_CUSTOM_FIELDS_MANAGE: "account.custom-fields.manage",
@@ -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,8BAA8B,EAAE,gC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wB;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;IACtC,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;CAChB,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 SSO_VIEW: \"sso.view\",\n SSO_MANAGE: \"sso.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"]}
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,4BAA4B,EAAE,8BAA8B;IAC5D,0BAA0B,EAAE,4BAA4B;IACxD,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,4BAA4B,EAAE,8BAA8B;IAC5D,cAAc,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E,qCAAqC;IAC1E,wBAAwB,EAAE,0BAA0B;IACpD,sBAAsB,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;IACtC,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;CAChB,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_ASSET_POOLING_MANAGE: \"account.asset-pooling.manage\",\n ACCOUNT_ASSET_POOLING_VIEW: \"account.asset-pooling.view\",\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 SSO_VIEW: \"sso.view\",\n SSO_MANAGE: \"sso.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"]}