shred-api-client 2.9.3 → 2.9.4
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 +8 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3442,6 +3442,13 @@ declare const Actions: {
|
|
|
3442
3442
|
readonly NOTE_CREATE: "note.create";
|
|
3443
3443
|
readonly NOTE_UPDATE: "note.update";
|
|
3444
3444
|
readonly NOTE_DELETE: "note.delete";
|
|
3445
|
+
readonly NOTIFICATION_LIST_OWN: "notification.list_own";
|
|
3446
|
+
readonly NOTIFICATION_MARK_READ: "notification.mark_read";
|
|
3447
|
+
readonly NOTIFICATION_CLEAR: "notification.clear";
|
|
3448
|
+
readonly TRIGGER_VIEW: "trigger.view";
|
|
3449
|
+
readonly TRIGGER_CREATE: "trigger.create";
|
|
3450
|
+
readonly TRIGGER_UPDATE: "trigger.update";
|
|
3451
|
+
readonly TRIGGER_DELETE: "trigger.delete";
|
|
3445
3452
|
readonly TENANT_CREATE: "tenant.create";
|
|
3446
3453
|
readonly TENANT_LIST: "tenant.list";
|
|
3447
3454
|
readonly TENANT_VIEW: "tenant.view";
|
|
@@ -3493,7 +3500,7 @@ type Scope = {
|
|
|
3493
3500
|
type: "tenant";
|
|
3494
3501
|
id: string;
|
|
3495
3502
|
};
|
|
3496
|
-
type ActionGroup = "Projects" | "Editors" | "Goals" | "Notes" | "Tenants" | "Offers" | "Subscriptions" | "Scripts" | "Prompts" | "Email" | "Users" | "Administration";
|
|
3503
|
+
type ActionGroup = "Projects" | "Editors" | "Goals" | "Notes" | "Notifications" | "Tenants" | "Offers" | "Subscriptions" | "Scripts" | "Prompts" | "Email" | "Users" | "Administration";
|
|
3497
3504
|
type ActionMeta = {
|
|
3498
3505
|
label: string;
|
|
3499
3506
|
group: ActionGroup;
|
package/dist/index.js
CHANGED
|
@@ -6060,6 +6060,14 @@ var Actions = {
|
|
|
6060
6060
|
NOTE_CREATE: "note.create",
|
|
6061
6061
|
NOTE_UPDATE: "note.update",
|
|
6062
6062
|
NOTE_DELETE: "note.delete",
|
|
6063
|
+
// — Notifications (inbox + trigger) —
|
|
6064
|
+
NOTIFICATION_LIST_OWN: "notification.list_own",
|
|
6065
|
+
NOTIFICATION_MARK_READ: "notification.mark_read",
|
|
6066
|
+
NOTIFICATION_CLEAR: "notification.clear",
|
|
6067
|
+
TRIGGER_VIEW: "trigger.view",
|
|
6068
|
+
TRIGGER_CREATE: "trigger.create",
|
|
6069
|
+
TRIGGER_UPDATE: "trigger.update",
|
|
6070
|
+
TRIGGER_DELETE: "trigger.delete",
|
|
6063
6071
|
// — Tenants —
|
|
6064
6072
|
TENANT_CREATE: "tenant.create",
|
|
6065
6073
|
TENANT_LIST: "tenant.list",
|
|
@@ -6142,6 +6150,14 @@ var ActionCatalog = {
|
|
|
6142
6150
|
[Actions.NOTE_CREATE]: { label: "Add a note to a user", group: "Notes" },
|
|
6143
6151
|
[Actions.NOTE_UPDATE]: { label: "Edit a user note", group: "Notes" },
|
|
6144
6152
|
[Actions.NOTE_DELETE]: { label: "Delete a user note", group: "Notes" },
|
|
6153
|
+
// Notifications
|
|
6154
|
+
[Actions.NOTIFICATION_LIST_OWN]: { label: "View your own notifications", group: "Notifications" },
|
|
6155
|
+
[Actions.NOTIFICATION_MARK_READ]: { label: "Mark your own notifications as read", group: "Notifications" },
|
|
6156
|
+
[Actions.NOTIFICATION_CLEAR]: { label: "Clear your own notifications", group: "Notifications" },
|
|
6157
|
+
[Actions.TRIGGER_VIEW]: { label: "View notification triggers", group: "Notifications" },
|
|
6158
|
+
[Actions.TRIGGER_CREATE]: { label: "Create notification triggers", group: "Notifications" },
|
|
6159
|
+
[Actions.TRIGGER_UPDATE]: { label: "Update notification triggers", group: "Notifications" },
|
|
6160
|
+
[Actions.TRIGGER_DELETE]: { label: "Delete notification triggers", group: "Notifications" },
|
|
6145
6161
|
// Tenants
|
|
6146
6162
|
[Actions.TENANT_CREATE]: { label: "Create a tenant", group: "Tenants" },
|
|
6147
6163
|
[Actions.TENANT_LIST]: { label: "List all tenants", group: "Tenants" },
|