@trackunit/iris-app-api 2.4.13-alpha-59d0c758b8f.0 → 2.4.13
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 +11 -0
- package/package.json +1 -1
- package/src/types/scopes.d.ts +2 -0
- package/src/types/scopes.js +1 -0
- package/src/types/scopes.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## 2.4.13 (2026-08-27)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **host:** resolve account.user.view from the viewUsers account action ([68660fa3246](https://github.com/Trackunit/manager/commit/68660fa3246))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Opus 5 (1M context)
|
|
10
|
+
- Kenneth Sejrsgaard-Jacobsen
|
|
11
|
+
|
|
1
12
|
## 2.4.12 (2026-08-25)
|
|
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
package/src/types/scopes.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const accountScope: {
|
|
|
29
29
|
readonly ACCOUNT_CUSTOMER_MANAGE: "account.customer.manage";
|
|
30
30
|
readonly ACCOUNT_SUPPORT_ACCESS_APPROVAL_FLOW: "account.support-access.approval-flow";
|
|
31
31
|
readonly ACCOUNT_USER_MANAGE: "account.user.manage";
|
|
32
|
+
readonly ACCOUNT_USER_VIEW: "account.user.view";
|
|
32
33
|
readonly ACCOUNT_VIEW: "account.view";
|
|
33
34
|
readonly ACCOUNT_IRIS_APP_STORE_SECRET: "account.iris.app.store-secret";
|
|
34
35
|
readonly ACCOUNT_IRISX_MANAGE: "account.irisx.manage";
|
|
@@ -97,6 +98,7 @@ export declare const allScopes: {
|
|
|
97
98
|
ACCOUNT_CUSTOMER_MANAGE: "account.customer.manage";
|
|
98
99
|
ACCOUNT_SUPPORT_ACCESS_APPROVAL_FLOW: "account.support-access.approval-flow";
|
|
99
100
|
ACCOUNT_USER_MANAGE: "account.user.manage";
|
|
101
|
+
ACCOUNT_USER_VIEW: "account.user.view";
|
|
100
102
|
ACCOUNT_VIEW: "account.view";
|
|
101
103
|
ACCOUNT_IRIS_APP_STORE_SECRET: "account.iris.app.store-secret";
|
|
102
104
|
ACCOUNT_IRISX_MANAGE: "account.irisx.manage";
|
package/src/types/scopes.js
CHANGED
|
@@ -47,6 +47,7 @@ exports.accountScope = {
|
|
|
47
47
|
ACCOUNT_CUSTOMER_MANAGE: "account.customer.manage",
|
|
48
48
|
ACCOUNT_SUPPORT_ACCESS_APPROVAL_FLOW: "account.support-access.approval-flow",
|
|
49
49
|
ACCOUNT_USER_MANAGE: "account.user.manage",
|
|
50
|
+
ACCOUNT_USER_VIEW: "account.user.view",
|
|
50
51
|
ACCOUNT_VIEW: "account.view",
|
|
51
52
|
ACCOUNT_IRIS_APP_STORE_SECRET: "account.iris.app.store-secret",
|
|
52
53
|
ACCOUNT_IRISX_MANAGE: "account.irisx.manage",
|
package/src/types/scopes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scopes.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/scopes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;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,oBAAoB,EAAE,sBAAsB;IAC5C,cAAc,EAAE,gBAAgB;IAChC,+BAA+B,EAAE,iCAAiC;IAClE,mBAAmB,EAAE,qBAAqB;IAC1C,yCAAyC,EAAE,2CAA2C;IACtF,uCAAuC,EAAE,yCAAyC;IAClF,yDAAyD,EACvD,2DAA2D;IAC7D,yDAAyD,EACvD,2DAA2D;IAC7D,gFAAgF,EAC9E,kFAAkF;IACpF,4EAA4E,EAC1E,8EAA8E;IAChF,uDAAuD,EAAE,yDAAyD;IAClH,8CAA8C,EAAE,gDAAgD;IAChG,4CAA4C,EAAE,8CAA8C;IAC5F,mBAAmB,EAAE,qBAAqB;IAC1C,uBAAuB,EAAE,yBAAyB;IAClD,oCAAoC,EAAE,sCAAsC;IAC5E,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;IAC5B,6BAA6B,EAAE,+BAA+B;IAC9D,oBAAoB,EAAE,sBAAsB;IAC5C,uBAAuB,EAAE,yBAAyB;IAClD,yCAAyC,EAAE,iDAAiD;IAC5F,sBAAsB,EAAE,wBAAwB;IAChD,yCAAyC,EAAE,2CAA2C;IACtF,4BAA4B,EAAE,8BAA8B;IAC5D,+BAA+B,EAAE,iCAAiC;IAClE,0BAA0B,EAAE,4BAA4B;IACxD,6BAA6B,EAAE,+BAA+B;IAC9D,iCAAiC,EAAE,mCAAmC;IACtE,sBAAsB,EAAE,wBAAwB;IAChD,2BAA2B,EAAE,6BAA6B;IAC1D,uCAAuC,EAAE,yCAAyC;IAClF,+BAA+B,EAAE,iCAAiC;IAClE,mCAAmC,EAAE,qCAAqC;IAC1E,wBAAwB,EAAE,0BAA0B;IACpD,sBAAsB,EAAE,wBAAwB;IAChD,2BAA2B,EAAE,6BAA6B;IAC1D,oBAAoB,EAAE,sBAAsB;IAC5C,mCAAmC,EAAE,qCAAqC;IAC1E,sCAAsC,EAAE,wCAAwC;IAChF,8BAA8B,EAAE,gCAAgC;CACxD,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 * 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_GROUP_MANAGE: \"account.group.manage\",\n ACCOUNT_MANAGE: \"account.manage\",\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_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_LICENSE_VIEW: \"account.license.view\",\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} 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;;;;;;;;;;;;;;GAcG;;;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,oBAAoB,EAAE,sBAAsB;IAC5C,cAAc,EAAE,gBAAgB;IAChC,+BAA+B,EAAE,iCAAiC;IAClE,mBAAmB,EAAE,qBAAqB;IAC1C,yCAAyC,EAAE,2CAA2C;IACtF,uCAAuC,EAAE,yCAAyC;IAClF,yDAAyD,EACvD,2DAA2D;IAC7D,yDAAyD,EACvD,2DAA2D;IAC7D,gFAAgF,EAC9E,kFAAkF;IACpF,4EAA4E,EAC1E,8EAA8E;IAChF,uDAAuD,EAAE,yDAAyD;IAClH,8CAA8C,EAAE,gDAAgD;IAChG,4CAA4C,EAAE,8CAA8C;IAC5F,mBAAmB,EAAE,qBAAqB;IAC1C,uBAAuB,EAAE,yBAAyB;IAClD,oCAAoC,EAAE,sCAAsC;IAC5E,mBAAmB,EAAE,qBAAqB;IAC1C,iBAAiB,EAAE,mBAAmB;IACtC,YAAY,EAAE,cAAc;IAC5B,6BAA6B,EAAE,+BAA+B;IAC9D,oBAAoB,EAAE,sBAAsB;IAC5C,uBAAuB,EAAE,yBAAyB;IAClD,yCAAyC,EAAE,iDAAiD;IAC5F,sBAAsB,EAAE,wBAAwB;IAChD,yCAAyC,EAAE,2CAA2C;IACtF,4BAA4B,EAAE,8BAA8B;IAC5D,+BAA+B,EAAE,iCAAiC;IAClE,0BAA0B,EAAE,4BAA4B;IACxD,6BAA6B,EAAE,+BAA+B;IAC9D,iCAAiC,EAAE,mCAAmC;IACtE,sBAAsB,EAAE,wBAAwB;IAChD,2BAA2B,EAAE,6BAA6B;IAC1D,uCAAuC,EAAE,yCAAyC;IAClF,+BAA+B,EAAE,iCAAiC;IAClE,mCAAmC,EAAE,qCAAqC;IAC1E,wBAAwB,EAAE,0BAA0B;IACpD,sBAAsB,EAAE,wBAAwB;IAChD,2BAA2B,EAAE,6BAA6B;IAC1D,oBAAoB,EAAE,sBAAsB;IAC5C,mCAAmC,EAAE,qCAAqC;IAC1E,sCAAsC,EAAE,wCAAwC;IAChF,8BAA8B,EAAE,gCAAgC;CACxD,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 * 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_GROUP_MANAGE: \"account.group.manage\",\n ACCOUNT_MANAGE: \"account.manage\",\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_LICENSE_VIEW: \"account.license.view\",\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} 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"]}
|