shred-api-client 2.13.5 → 2.13.6
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/dist/index.d.ts +2 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5682,6 +5682,7 @@ declare const Actions: {
|
|
|
5682
5682
|
readonly USER_CHANGE_EMAIL: "user.change_email";
|
|
5683
5683
|
readonly USER_GET_TOKEN: "user.get_token";
|
|
5684
5684
|
readonly USER_CREATE_TOKEN: "user.create_token";
|
|
5685
|
+
readonly KPI_VIEW: "kpi.view";
|
|
5685
5686
|
readonly ROLE_MANAGE: "role.manage";
|
|
5686
5687
|
readonly USER_ASSIGN_ROLE: "user.assign_role";
|
|
5687
5688
|
};
|
|
@@ -5697,7 +5698,7 @@ type Scope = {
|
|
|
5697
5698
|
type: "tenant";
|
|
5698
5699
|
id: string;
|
|
5699
5700
|
};
|
|
5700
|
-
type ActionGroup = "Projects" | "Editors" | "Goals" | "Notes" | "Notifications" | "Tenants" | "Offers" | "ShredU" | "Subscriptions" | "Scripts" | "Prompts" | "Email" | "Users" | "Administration";
|
|
5701
|
+
type ActionGroup = "Projects" | "Editors" | "Goals" | "Notes" | "Notifications" | "Tenants" | "Offers" | "ShredU" | "Subscriptions" | "Scripts" | "Prompts" | "Email" | "Users" | "KPIs" | "Administration";
|
|
5701
5702
|
type ActionMeta = {
|
|
5702
5703
|
label: string;
|
|
5703
5704
|
group: ActionGroup;
|
package/dist/index.js
CHANGED
|
@@ -6554,6 +6554,8 @@ var Actions = {
|
|
|
6554
6554
|
USER_CHANGE_EMAIL: "user.change_email",
|
|
6555
6555
|
USER_GET_TOKEN: "user.get_token",
|
|
6556
6556
|
USER_CREATE_TOKEN: "user.create_token",
|
|
6557
|
+
// — KPIs —
|
|
6558
|
+
KPI_VIEW: "kpi.view",
|
|
6557
6559
|
// — RBAC administration —
|
|
6558
6560
|
ROLE_MANAGE: "role.manage",
|
|
6559
6561
|
USER_ASSIGN_ROLE: "user.assign_role"
|
|
@@ -6651,6 +6653,8 @@ var ActionCatalog = {
|
|
|
6651
6653
|
[Actions.USER_CHANGE_EMAIL]: { label: "Change your own email", group: "Users" },
|
|
6652
6654
|
[Actions.USER_GET_TOKEN]: { label: "Get your own API token", group: "Users" },
|
|
6653
6655
|
[Actions.USER_CREATE_TOKEN]: { label: "Create your own API token", group: "Users" },
|
|
6656
|
+
// KPIs
|
|
6657
|
+
[Actions.KPI_VIEW]: { label: "View the KPI scorecards", group: "KPIs" },
|
|
6654
6658
|
// Administration
|
|
6655
6659
|
[Actions.ROLE_MANAGE]: { label: "Manage roles (create, edit, delete)", group: "Administration" },
|
|
6656
6660
|
[Actions.USER_ASSIGN_ROLE]: { label: "Assign roles to users", group: "Administration" }
|