@awesomate/sdk 0.21.0 → 0.23.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 +22 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
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.
|
|
27
|
+
export declare const VERSION = "0.23.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 {
|
|
@@ -697,6 +711,11 @@ export interface BusinessMapDivision {
|
|
|
697
711
|
question: string;
|
|
698
712
|
/** 1Brain departments whose procedures belong in this division. */
|
|
699
713
|
oneBrainDepartments: string[];
|
|
714
|
+
/** People on the map who wear no hat yet. They sit in Form (division 1) for display; empty for every other division. */
|
|
715
|
+
noHatYet: Array<{
|
|
716
|
+
id: number;
|
|
717
|
+
name: string;
|
|
718
|
+
}>;
|
|
700
719
|
}
|
|
701
720
|
/** The business map, as businessMap() returns it. No email addresses. */
|
|
702
721
|
export interface BusinessMap {
|
|
@@ -728,6 +747,8 @@ export interface BusinessMap {
|
|
|
728
747
|
} | null;
|
|
729
748
|
steps: BusinessMapPathStep[];
|
|
730
749
|
};
|
|
750
|
+
/** This quarter, '2026-Q4' (UTC): the one the map shows priorities for. */
|
|
751
|
+
quarter: string;
|
|
731
752
|
/** What is missing, most important first. */
|
|
732
753
|
gaps: Array<{
|
|
733
754
|
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.
|
|
27
|
+
export const VERSION = '0.23.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.
|
|
3
|
+
"version": "0.23.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",
|