@dench.com/cli 3.12.19 → 3.12.21-staging.1360

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
@@ -3746,6 +3746,8 @@ export interface ApiRequests {
3746
3746
  leadAutoQualify?: boolean;
3747
3747
  /** Summaries and Brief — conversations are summarised and each record keeps a Brief. */
3748
3748
  intelligence?: boolean;
3749
+ /** The workspace's own rules, in plain sentences, for which emails belong in the CRM and become tasks ('job applications should be tasks'). Replaces the whole text; an empty string goes back to the defaults (job applications, recruiters, cold pitches, invitations, vendor mail and notifications stay out). */
3750
+ emailTaskRules?: string;
3749
3751
  };
3750
3752
  /** 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 */
3751
3753
  "settings.announcementGroups.list": {
@@ -8819,6 +8821,8 @@ export interface ApiResponses {
8819
8821
  emailTasks: boolean;
8820
8822
  leadAutoQualify: boolean;
8821
8823
  intelligence: boolean;
8824
+ /** The workspace's own rules for which emails belong in the CRM and become tasks. Absent: the defaults. */
8825
+ emailTaskRules?: string;
8822
8826
  };
8823
8827
  "settings.sync.update": {
8824
8828
  detectAccounts: boolean;
@@ -8829,6 +8833,8 @@ export interface ApiResponses {
8829
8833
  emailTasks: boolean;
8830
8834
  leadAutoQualify: boolean;
8831
8835
  intelligence: boolean;
8836
+ /** The workspace's own rules for which emails belong in the CRM and become tasks. Absent: the defaults. */
8837
+ emailTaskRules?: string;
8832
8838
  };
8833
8839
  "settings.announcementGroups.list": {
8834
8840
  /** connected: each group's channels were read from Slack. Otherwise the groups are named without channels and notes says why. */
@@ -1567,6 +1567,12 @@ const syncSettingsShape = z
1567
1567
  emailTasks: z.boolean(),
1568
1568
  leadAutoQualify: z.boolean(),
1569
1569
  intelligence: z.boolean(),
1570
+ emailTaskRules: z
1571
+ .string()
1572
+ .optional()
1573
+ .describe(
1574
+ "The workspace's own rules for which emails belong in the CRM and become tasks. Absent: the defaults.",
1575
+ ),
1570
1576
  })
1571
1577
  .describe(
1572
1578
  "Settings → Sync, resolved: absent switches read as true. Off stops new work; nothing already created is removed.",
@@ -1681,6 +1687,13 @@ const syncSettingsPatchShape = z.object({
1681
1687
  .describe(
1682
1688
  "Summaries and Brief — conversations are summarised and each record keeps a Brief.",
1683
1689
  ),
1690
+ emailTaskRules: z
1691
+ .string()
1692
+ .max(4000)
1693
+ .optional()
1694
+ .describe(
1695
+ "The workspace's own rules, in plain sentences, for which emails belong in the CRM and become tasks ('job applications should be tasks'). Replaces the whole text; an empty string goes back to the defaults (job applications, recruiters, cold pitches, invitations, vendor mail and notifications stay out).",
1696
+ ),
1684
1697
  });
1685
1698
 
1686
1699
  const notificationPreferencesShape = z.object({