@dench.com/cli 3.12.12-staging.1261 → 3.12.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/app-sdk.d.ts CHANGED
@@ -3730,7 +3730,7 @@ export interface ApiRequests {
3730
3730
  /** Summaries and Brief — conversations are summarised and each record keeps a Brief. */
3731
3731
  intelligence?: boolean;
3732
3732
  };
3733
- /** List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names or channels picked by hand. Read only: it cannot send an announcement or change a group. — `dench settings announcement-groups` — GET /api/v1/settings/announcement-groups */
3733
+ /** List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names, channels picked by hand, or the customer channels Dench mapped to their workspaces. Read only: it cannot send an announcement or change a group. — `dench settings announcement-groups` — GET /api/v1/settings/announcement-groups */
3734
3734
  "settings.announcementGroups.list": {
3735
3735
  /** One group's name (any case): only that group, with every channel in it. */
3736
3736
  group?: string;
@@ -8800,8 +8800,8 @@ export interface ApiResponses {
8800
8800
  slack: "connected" | "not_connected" | "account_not_linked";
8801
8801
  groups: Array<{
8802
8802
  name: string;
8803
- /** rule: every channel whose name matches the rule, now and later. picked: channels chosen by hand. */
8804
- kind: "rule" | "picked";
8803
+ /** rule: every channel whose name matches the rule, now and later. picked: channels chosen by hand. customer_channels: the channels shared with customers that Dench mapped to their workspaces; it follows that mapping and can only be renamed or deleted. */
8804
+ kind: "rule" | "picked" | "customer_channels";
8805
8805
  /** A rule group's rule: dench-* starts with dench-, *-acme ends with -acme, a bare word is found anywhere, a comma means or. */
8806
8806
  rule?: string;
8807
8807
  /** Channels in the group right now. */
@@ -8833,8 +8833,8 @@ export interface ApiResponses {
8833
8833
  slack: "connected" | "not_connected" | "account_not_linked";
8834
8834
  groups: Array<{
8835
8835
  name: string;
8836
- /** rule: every channel whose name matches the rule, now and later. picked: channels chosen by hand. */
8837
- kind: "rule" | "picked";
8836
+ /** rule: every channel whose name matches the rule, now and later. picked: channels chosen by hand. customer_channels: the channels shared with customers that Dench mapped to their workspaces; it follows that mapping and can only be renamed or deleted. */
8837
+ kind: "rule" | "picked" | "customer_channels";
8838
8838
  /** A rule group's rule: dench-* starts with dench-, *-acme ends with -acme, a bare word is found anywhere, a comma means or. */
8839
8839
  rule?: string;
8840
8840
  /** Channels in the group right now. */
@@ -9912,7 +9912,7 @@ export type DenchApiTree = {
9912
9912
  announcementGroups: {
9913
9913
  /** Delete a Slack announcement channel group by name (admin). Announcements already sent or scheduled keep their channels. (`dench settings announcement-groups delete`) */
9914
9914
  delete(args: Req<"settings.announcementGroups.delete">): Promise<Res<"settings.announcementGroups.delete">>;
9915
- /** List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names or channels picked by hand. Read only: it cannot send an announcement or change a group. (`dench settings announcement-groups`) */
9915
+ /** List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names, channels picked by hand, or the customer channels Dench mapped to their workspaces. Read only: it cannot send an announcement or change a group. (`dench settings announcement-groups`) */
9916
9916
  list(args?: Req<"settings.announcementGroups.list">): Promise<Res<"settings.announcementGroups.list">>;
9917
9917
  /** Make or change a Slack announcement channel group (admin): a rule on channel names, or channels picked by name; add or take out single channels without restating the group; rename it. It sends nothing: a group only ticks channels in the New announcement dialog. (`dench settings announcement-groups save`) */
9918
9918
  save(args: Req<"settings.announcementGroups.save">): Promise<Res<"settings.announcementGroups.save">>;
@@ -1588,9 +1588,9 @@ const announcementGroupsShape = z
1588
1588
  z.object({
1589
1589
  name: z.string(),
1590
1590
  kind: z
1591
- .enum(["rule", "picked"])
1591
+ .enum(["rule", "picked", "customer_channels"])
1592
1592
  .describe(
1593
- "rule: every channel whose name matches the rule, now and later. picked: channels chosen by hand.",
1593
+ "rule: every channel whose name matches the rule, now and later. picked: channels chosen by hand. customer_channels: the channels shared with customers that Dench mapped to their workspaces; it follows that mapping and can only be renamed or deleted.",
1594
1594
  ),
1595
1595
  rule: z
1596
1596
  .string()
@@ -517,7 +517,7 @@ export const APP_SDK_OPERATIONS: readonly AppSdkOperationInfo[] = [
517
517
  {"id":"notifications.preferences.update","group":"notifications","summary":"Update your notification preferences.","cli":"dench notifications prefs --set","method":"PATCH","path":"/notifications/preferences","permission":"notifications:write","pathParams":[]},
518
518
  {"id":"settings.sync.get","group":"settings","summary":"Read the workspace's Sync switches (accounts from email, contacts from LinkedIn, Slack Connect, calendar, dossier, tasks from email, lead auto-qualify, summaries and Brief). All on by default.","cli":"dench settings sync","method":"GET","path":"/settings/sync","permission":"settings:read","pathParams":[]},
519
519
  {"id":"settings.sync.update","group":"settings","summary":"Flip Sync switches (admin). Partial patch: only the keys sent change. Off stops new work; nothing already created is removed.","cli":"dench settings sync set","method":"PATCH","path":"/settings/sync","permission":"settings:write","pathParams":[]},
520
- {"id":"settings.announcementGroups.list","group":"settings","summary":"List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names or channels picked by hand. Read only: it cannot send an announcement or change a group.","cli":"dench settings announcement-groups","method":"GET","path":"/settings/announcement-groups","permission":"settings:read","pathParams":[]},
520
+ {"id":"settings.announcementGroups.list","group":"settings","summary":"List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names, channels picked by hand, or the customer channels Dench mapped to their workspaces. Read only: it cannot send an announcement or change a group.","cli":"dench settings announcement-groups","method":"GET","path":"/settings/announcement-groups","permission":"settings:read","pathParams":[]},
521
521
  {"id":"settings.announcementGroups.save","group":"settings","summary":"Make or change a Slack announcement channel group (admin): a rule on channel names, or channels picked by name; add or take out single channels without restating the group; rename it. It sends nothing: a group only ticks channels in the New announcement dialog.","cli":"dench settings announcement-groups save","method":"POST","path":"/settings/announcement-groups","permission":"settings:write","pathParams":[]},
522
522
  {"id":"settings.announcementGroups.delete","group":"settings","summary":"Delete a Slack announcement channel group by name (admin). Announcements already sent or scheduled keep their channels.","cli":"dench settings announcement-groups delete","method":"DELETE","path":"/settings/announcement-groups/{name}","permission":"settings:write","pathParams":["name"]},
523
523
  ];
@@ -5994,7 +5994,7 @@ const rawApiOperations = [
5994
5994
  id: "settings.announcementGroups.list",
5995
5995
  group: "settings",
5996
5996
  summary:
5997
- "List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names or channels picked by hand. Read only: it cannot send an announcement or change a group.",
5997
+ "List the workspace's Slack announcement channel groups and the channels in each right now (admin). A group is a rule on channel names, channels picked by hand, or the customer channels Dench mapped to their workspaces. Read only: it cannot send an announcement or change a group.",
5998
5998
  cli: "dench settings announcement-groups",
5999
5999
  method: "GET",
6000
6000
  path: "/settings/announcement-groups",