@awesomate/sdk 0.21.0 → 0.22.0

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 CHANGED
@@ -24,7 +24,7 @@
24
24
  * Docs: https://hub.awesomate.ai/docs/sdk/
25
25
  */
26
26
  /** This package's version, sent to the hub with every server call. */
27
- export declare const VERSION = "0.21.0";
27
+ export declare const VERSION = "0.22.0";
28
28
  /** Augmented by the generated awesomate.d.ts, so each kind's rows are typed. */
29
29
  export interface Kinds {
30
30
  }
@@ -630,6 +630,20 @@ export interface BusinessMapJob {
630
630
  }>;
631
631
  /** The tag this job's procedures carry in 1Brain, such as 'job:quotes'. The map keeps no procedure text. */
632
632
  proceduresTag: string;
633
+ /** Quarterly priorities on this hat, every quarter. */
634
+ priorities: BusinessMapPriority[];
635
+ }
636
+ /** A quarterly priority on a hat: one of the few things it must move this quarter. */
637
+ export interface BusinessMapPriority {
638
+ id: number;
639
+ /** '2026-Q4'. */
640
+ quarter: string;
641
+ title: string;
642
+ owner: string | null;
643
+ ownerMembershipId: number | null;
644
+ status: 'open' | 'on_track' | 'off_track' | 'done' | 'not_done';
645
+ /** 'YYYY-MM-DD'. */
646
+ dueOn: string | null;
633
647
  }
634
648
  /** One step of the customer's path. */
635
649
  export interface BusinessMapPathStep {
@@ -728,6 +742,8 @@ export interface BusinessMap {
728
742
  } | null;
729
743
  steps: BusinessMapPathStep[];
730
744
  };
745
+ /** This quarter, '2026-Q4' (UTC): the one the map shows priorities for. */
746
+ quarter: string;
731
747
  /** What is missing, most important first. */
732
748
  gaps: Array<{
733
749
  kind: 'procedure_first' | 'no_helper' | 'job_open' | 'path_missing' | 'path_unowned' | 'owner_everywhere' | 'unplaced';
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@
24
24
  * Docs: https://hub.awesomate.ai/docs/sdk/
25
25
  */
26
26
  /** This package's version, sent to the hub with every server call. */
27
- export const VERSION = '0.21.0';
27
+ export const VERSION = '0.22.0';
28
28
  const DEFAULT_BASE = 'https://hub.awesomate.ai';
29
29
  const ERROR_CODES = ['unauthenticated', 'forbidden', 'not_found', 'validation', 'consent_blocked', 'rate_limited', 'conflict', 'unavailable'];
30
30
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awesomate/sdk",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Your own Awesomate data from Node and the browser: query contacts and app data with generated types, and sign your app's own users in",
5
5
  "license": "MIT",
6
6
  "type": "module",