fullstackgtm 0.42.0 → 0.43.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/CHANGELOG.md +80 -0
- package/dist/calls.d.ts +13 -0
- package/dist/calls.js +14 -3
- package/dist/cli.js +85 -5
- package/dist/connectors/hubspot.js +58 -24
- package/dist/connectors/salesforce.js +40 -15
- package/dist/draft.js +27 -5
- package/dist/enrich.d.ts +6 -0
- package/dist/enrich.js +47 -1
- package/dist/health.d.ts +12 -0
- package/dist/health.js +29 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/init.d.ts +47 -0
- package/dist/init.js +140 -0
- package/dist/judge.d.ts +36 -3
- package/dist/judge.js +46 -10
- package/dist/signals.d.ts +4 -0
- package/dist/signals.js +1 -0
- package/dist/types.d.ts +12 -0
- package/docs/api.md +8 -0
- package/docs/recipes.md +158 -0
- package/llms.txt +25 -0
- package/package.json +1 -1
- package/skills/fullstackgtm/SKILL.md +16 -1
- package/src/calls.ts +24 -3
- package/src/cli.ts +96 -5
- package/src/connectors/hubspot.ts +55 -23
- package/src/connectors/salesforce.ts +39 -14
- package/src/draft.ts +26 -5
- package/src/enrich.ts +51 -1
- package/src/health.ts +47 -2
- package/src/index.ts +10 -0
- package/src/init.ts +163 -0
- package/src/judge.ts +85 -11
- package/src/signals.ts +5 -0
- package/src/types.ts +12 -0
package/src/signals.ts
CHANGED
|
@@ -65,6 +65,9 @@ export type SignalOutcome = {
|
|
|
65
65
|
id: string;
|
|
66
66
|
accountDomain: string;
|
|
67
67
|
touchId?: string;
|
|
68
|
+
/** The contact the touch went to (from the judge decision), when known — so an
|
|
69
|
+
* outcome credits the person reached, not just the account domain. */
|
|
70
|
+
contactId?: string;
|
|
68
71
|
result: SignalOutcomeResult;
|
|
69
72
|
recordedAt: string;
|
|
70
73
|
/** Signal ids credited (from the judge decision). */
|
|
@@ -668,6 +671,7 @@ export function createFileSignalStore(directory?: string): SignalStore {
|
|
|
668
671
|
export function makeOutcome(input: {
|
|
669
672
|
accountDomain: string;
|
|
670
673
|
touchId?: string;
|
|
674
|
+
contactId?: string;
|
|
671
675
|
result: SignalOutcomeResult;
|
|
672
676
|
creditedSignals?: string[];
|
|
673
677
|
recordedAt?: string;
|
|
@@ -678,6 +682,7 @@ export function makeOutcome(input: {
|
|
|
678
682
|
id: outcomeId({ accountDomain, touchId: input.touchId, result: input.result, recordedAt }),
|
|
679
683
|
accountDomain,
|
|
680
684
|
...(input.touchId !== undefined ? { touchId: input.touchId } : {}),
|
|
685
|
+
...(input.contactId !== undefined ? { contactId: input.contactId } : {}),
|
|
681
686
|
result: input.result,
|
|
682
687
|
recordedAt,
|
|
683
688
|
creditedSignals: input.creditedSignals ?? [],
|
package/src/types.ts
CHANGED
|
@@ -68,6 +68,13 @@ export type CreateRecordPayload = {
|
|
|
68
68
|
source: string;
|
|
69
69
|
estCostUsd?: number;
|
|
70
70
|
associateCompanyName?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The company's domain, when known. The connector resolves the account by
|
|
73
|
+
* DOMAIN first (the accurate key), creates it with the domain, and fills the
|
|
74
|
+
* domain on an existing account that lacks one — so the lead's account is a
|
|
75
|
+
* real, signal-watchable record (`signals`/`icp judge` key on account domain).
|
|
76
|
+
*/
|
|
77
|
+
associateCompanyDomain?: string;
|
|
71
78
|
/**
|
|
72
79
|
* Owner to stamp on the new record (canonical owner id). The connector maps
|
|
73
80
|
* it to the CRM's owner property (HubSpot `hubspot_owner_id`) at create time
|
|
@@ -364,7 +371,12 @@ export type PatchPlan = {
|
|
|
364
371
|
status: ApprovalStatus;
|
|
365
372
|
dryRun: true;
|
|
366
373
|
summary: string;
|
|
374
|
+
/** The COMPLETE, object-typed findings list — every account/contact/deal
|
|
375
|
+
* finding, each carrying its `objectType`. This is the canonical set. */
|
|
367
376
|
findings: AuditFinding[];
|
|
377
|
+
/** A deal/sales-PIPELINE projection of `findings` (deal-level + the
|
|
378
|
+
* call-next-step type) for the pipeline-trust queue — intentionally a subset.
|
|
379
|
+
* Account/contact hygiene findings are NOT here; read `findings` for those. */
|
|
368
380
|
pipelineFindings?: PipelineFinding[];
|
|
369
381
|
evidence?: GtmEvidence[];
|
|
370
382
|
operations: PatchOperation[];
|