@burdenoff/microfe-planmagnet 2026.1031.1 → 2026.1108.1

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.
Files changed (37) hide show
  1. package/dist/generated/global-types.d.ts +307 -2
  2. package/dist/generated/wspace-types.d.ts +1333 -9
  3. package/dist/planmagnet/PlanMagnetRoot.js +111 -117
  4. package/dist/planmagnet/controls/FeatureTriage.d.ts +2 -2
  5. package/dist/planmagnet/dependency/DependencyPanel.js +1 -1
  6. package/dist/planmagnet/pages/AiPlanPagePage.js +160 -122
  7. package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +17 -17
  8. package/dist/planmagnet/pages/DashboardDashboardPagePage.js +6 -6
  9. package/dist/planmagnet/pages/GoalsCreateObjectivePagePage.js +1 -1
  10. package/dist/planmagnet/pages/GoalsGoalsPagePage.js +6 -6
  11. package/dist/planmagnet/pages/GoalsObjectiveDetailPagePage.js +5 -5
  12. package/dist/planmagnet/pages/ProductsFeatureAnalyticsPagePage.js +9 -9
  13. package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +16 -13
  14. package/dist/planmagnet/pages/ProductsFeaturesPagePage.js +10 -10
  15. package/dist/planmagnet/pages/ProductsProductsPagePage.js +3 -3
  16. package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js +9 -9
  17. package/dist/planmagnet/pages/ProductsReleasesPagePage.js +9 -9
  18. package/dist/planmagnet/pages/ProductsRoadmapAnalyticsPagePage.js +15 -15
  19. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +7 -7
  20. package/dist/planmagnet/pages/ProjectsActiveProjectsPagePage.js +1 -1
  21. package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js +1 -1
  22. package/dist/planmagnet/pages/ProjectsCustomFieldsPagePage.js +1 -1
  23. package/dist/planmagnet/pages/ProjectsGanttPagePage.js +1 -1
  24. package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +13 -10
  25. package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +6 -6
  26. package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +3 -3
  27. package/dist/planmagnet/pages/ProjectsPlanningPagePage.js +8 -8
  28. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +26 -23
  29. package/dist/planmagnet/pages/ProjectsProjectsPagePage.js +8 -8
  30. package/dist/planmagnet/pages/RisksRiskDetailPagePage.js +7 -7
  31. package/dist/planmagnet/pages/RisksRiskRegisterPagePage.js +13 -13
  32. package/dist/planmagnet/pages/SprintsStartSprintPagePage.js +1 -1
  33. package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +5 -5
  34. package/dist/planmagnet/pages/TasksTasksPagePage.js +16 -16
  35. package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +6 -6
  36. package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +5 -5
  37. package/package.json +1 -1
@@ -203,6 +203,11 @@ export declare enum BudgetStatus {
203
203
  /** A competitor that offers or is compared against a feature. */
204
204
  export type Competitor = {
205
205
  __typename?: 'Competitor';
206
+ /**
207
+ * ANR-12: the structured capability list (at most 100) behind the competitive-parity analysis — see
208
+ * PlanmagnetCompetitorCapability. Empty until someone records it.
209
+ */
210
+ capabilities: Array<PlanmagnetCompetitorCapability>;
206
211
  /** Creation timestamp */
207
212
  createdAt: Scalars['DateTime']['output'];
208
213
  /** Actor who created this entry */
@@ -213,7 +218,10 @@ export type Competitor = {
213
218
  description?: Maybe<Scalars['String']['output']>;
214
219
  /** Feature requests linked to this competitor */
215
220
  featureRequests: Array<FeatureRequest>;
216
- /** Feature-comparison data (PRM-31) — free-form JSON, same reasoning as `pricing`. */
221
+ /**
222
+ * Feature-comparison data (PRM-31) — free-form JSON, same reasoning as `pricing`. Never counted by the
223
+ * competitive-parity analysis: that reads only the structured `capabilities` below.
224
+ */
217
225
  features?: Maybe<Scalars['JSON']['output']>;
218
226
  /** Unique identifier */
219
227
  id: Scalars['ID']['output'];
@@ -731,12 +739,19 @@ export declare enum MilestoneStatus {
731
739
  export type Mutation = {
732
740
  __typename?: 'Mutation';
733
741
  _planmagnetPing?: Maybe<Scalars['String']['output']>;
742
+ /**
743
+ * Erase every PlanMagnet record of the request's workspace, immediately (admin; DPA §7). The confirmation
744
+ * argument must restate the workspace id. Irreversible — the erasure row with per-model counts is kept.
745
+ */
746
+ erasePlanmagnetWorkspaceData?: Maybe<PlanmagnetWorkspaceErasure>;
734
747
  /** Triage: accept an open request (SUBMITTED or UNDER_REVIEW) as UNDER_REVIEW or PLANNED */
735
748
  planmagnetAcceptFeatureRequest: FeatureRequest;
736
749
  /** Post a comment on a doc */
737
750
  planmagnetAddDocComment: PlanmagnetComment;
738
751
  /** Idempotent: linking the same work item to the same meeting twice is a no-op, not an error. */
739
752
  planmagnetAddMeetingActionItem: PlanmagnetMeetingActionItem;
753
+ /** Appends an item to the launch's readiness checklist. At most 100 items per launch. */
754
+ planmagnetAddProductLaunchChecklistItem: PlanmagnetProductLaunchChecklistItem;
740
755
  /** Post a comment on a project */
741
756
  planmagnetAddProjectComment: PlanmagnetComment;
742
757
  /** Add a criterion to a release's readiness checklist (PRM-19) */
@@ -769,6 +784,11 @@ export type Mutation = {
769
784
  * Idempotent: granting an already-active editor returns the existing seat.
770
785
  */
771
786
  planmagnetAddWorkspaceEditor: PlanmagnetWorkspaceEditor;
787
+ /**
788
+ * Appends a built-in template's items, due their template offset before the target launch date. Idempotent: items of
789
+ * this template already on the checklist are skipped. Refused when the checklist would exceed 100 items.
790
+ */
791
+ planmagnetApplyProductLaunchTemplate: PlanmagnetProductLaunchTemplateApplyResult;
772
792
  /** Apply a template to create a new project */
773
793
  planmagnetApplyTemplate: PlanmagnetProject;
774
794
  /** Approve a budget */
@@ -793,6 +813,11 @@ export type Mutation = {
793
813
  planmagnetArchiveProductFeature: PlanmagnetProductFeature;
794
814
  /** Sets archivedAt = now(). A no-op (still succeeds) if already archived. Its products stay in it. */
795
815
  planmagnetArchiveProductLine: PlanmagnetProductLine;
816
+ /**
817
+ * Sets status ARCHIVED (validatedAt is kept). The persona becomes read-only and leaves the default lists. A no-op
818
+ * (still succeeds) if already archived.
819
+ */
820
+ planmagnetArchiveProductPersona: PlanmagnetProductPersona;
796
821
  /**
797
822
  * Assigns the product to a product line, moving it out of any line it was in; `productLineId: null` (or omitted)
798
823
  * unassigns it. The line must be a live line of this workspace (unknown, deleted or other-workspace: NOT_FOUND) that
@@ -871,7 +896,16 @@ export type Mutation = {
871
896
  * NOT_FOUND; archived product: BAD_USER_INPUT).
872
897
  */
873
898
  planmagnetCreateProductFeature: PlanmagnetProductFeature;
899
+ /** See PlanmagnetCreateProductLaunchInput. An unknown or deleted product is NOT_FOUND; an archived one is refused. */
900
+ planmagnetCreateProductLaunch: PlanmagnetProductLaunch;
874
901
  planmagnetCreateProductLine: PlanmagnetProductLine;
902
+ /**
903
+ * Records one estimate — see PlanmagnetCreateProductMarketSizingInput. An unknown or deleted product is NOT_FOUND; an
904
+ * archived one is refused.
905
+ */
906
+ planmagnetCreateProductMarketSizing: PlanmagnetProductMarketSizing;
907
+ /** See PlanmagnetCreateProductPersonaInput. An unknown or deleted product is NOT_FOUND; an archived one is refused. */
908
+ planmagnetCreateProductPersona: PlanmagnetProductPersona;
875
909
  /** Create a new program */
876
910
  planmagnetCreateProgram: Program;
877
911
  /** Create a new project */
@@ -977,7 +1011,9 @@ export type Mutation = {
977
1011
  * Soft-delete. Every linked roadmap/release/feature request has its productId cleared, never deleted; every
978
1012
  * ProductObjectiveLink and (PRM-01) ProductTeamLink row is removed. The product's own features are soft-deleted
979
1013
  * with it — their feature-request and epic links are cleared; the requests and work items themselves are never
980
- * touched.
1014
+ * touched. (PRM-04) Its Personas are retained in the workspace library; only this Product's Persona memberships
1015
+ * are removed and their deprecated primary pointers cleared. Its market-size estimates and launch plans (with their
1016
+ * readiness checklists) are soft-deleted; the milestones, releases and roadmap items those launches linked to stay put.
981
1017
  */
982
1018
  planmagnetDeleteProduct: Scalars['Boolean']['output'];
983
1019
  /**
@@ -985,11 +1021,19 @@ export type Mutation = {
985
1021
  * every epic link is removed — no feature request or work item is deleted or otherwise changed.
986
1022
  */
987
1023
  planmagnetDeleteProductFeature: Scalars['Boolean']['output'];
1024
+ /** Soft delete, with its checklist. Linked milestones and personas are untouched. Unknown id: NOT_FOUND. */
1025
+ planmagnetDeleteProductLaunch: Scalars['Boolean']['output'];
1026
+ /** Soft delete. Unknown, deleted or other-workspace id: NOT_FOUND. */
1027
+ planmagnetDeleteProductLaunchChecklistItem: Scalars['Boolean']['output'];
988
1028
  /**
989
1029
  * Soft-delete. Every product in the line is unassigned (its productLineId cleared) in the same transaction — no
990
1030
  * product is deleted or otherwise changed.
991
1031
  */
992
1032
  planmagnetDeleteProductLine: Scalars['Boolean']['output'];
1033
+ /** Soft delete. Unknown, deleted or other-workspace id: NOT_FOUND. */
1034
+ planmagnetDeleteProductMarketSizing: Scalars['Boolean']['output'];
1035
+ /** Soft delete, archived or not. Unknown, deleted or other-workspace id: NOT_FOUND. */
1036
+ planmagnetDeleteProductPersona: Scalars['Boolean']['output'];
993
1037
  /** Soft-delete a program */
994
1038
  planmagnetDeleteProgram: Scalars['Boolean']['output'];
995
1039
  /** Soft-delete a project */
@@ -1065,10 +1109,14 @@ export type Mutation = {
1065
1109
  /**
1066
1110
  * Manually run an automation rule (BOFF-4445) against a specific work item.
1067
1111
  *
1068
- * `triggerData` MUST include `workItemId` — every supported action type
1069
- * (`ASSIGN_TO_USER`/`ADD_LABEL`/`SET_STATUS`/`SET_PRIORITY`) mutates a
1070
- * specific WorkItem, and a manual run with no target records a FAILURE
1071
- * execution explaining that instead of evaluating anything. When a WorkItem is
1112
+ * `triggerData` MUST include `workItemId` when any action targets a work item
1113
+ * (`ASSIGN_TO_USER`/`ADD_LABEL`/`SET_STATUS`/`SET_PRIORITY`/`POST_COMMENT`);
1114
+ * a manual run of such a rule with no target records a FAILURE execution
1115
+ * explaining that instead of evaluating anything. A rule whose every action
1116
+ * needs no work item (`RUN_WORKFLOW`, OVL-09 / BOFF-3532, which starts a run
1117
+ * of a canonical workflow in wspace-workflow-svc) runs without one; the
1118
+ * started WorkflowRun ids are recorded on the execution's
1119
+ * `result.workflowRuns`. When a WorkItem is
1072
1120
  * given, the rule's `conditions` are evaluated against a live snapshot of that
1073
1121
  * item (merged with any extra fields in `triggerData`) and, if they pass, its
1074
1122
  * `actions` are dispatched for real — this always records an
@@ -1152,14 +1200,33 @@ export type Mutation = {
1152
1200
  * only moves into that feature's product — any other is BAD_USER_INPUT and nothing is written (PRM-01).
1153
1201
  */
1154
1202
  planmagnetLinkProductFeatureRequest: Product;
1203
+ /**
1204
+ * Puts an existing milestone of this workspace on the launch's timeline (a link; the milestone stays in its project).
1205
+ * Already linked: a no-op. At most 50 per launch.
1206
+ */
1207
+ planmagnetLinkProductLaunchMilestone: PlanmagnetProductLaunch;
1208
+ /**
1209
+ * Targets a Persona currently linked to this launch's Product; an archived Persona is refused unless already a target.
1210
+ * Removing that Product membership removes its launch targets. At most 20 per launch.
1211
+ */
1212
+ planmagnetLinkProductLaunchPersona: PlanmagnetProductLaunch;
1155
1213
  /**
1156
1214
  * *-* join — same pairwise-link shape as planmagnetLinkKeyResultToWorkItem (okr module). Re-linking an
1157
1215
  * already-linked pair is a no-op success, not a conflict (matches the Team module's own precedent for a
1158
1216
  * re-added live member).
1159
1217
  */
1160
1218
  planmagnetLinkProductObjective: Product;
1219
+ /**
1220
+ * Link an existing workspace Persona to a live Product without copying it. New links to archived Products or
1221
+ * Personas are refused; an existing link is an idempotent success. Unknown or other-workspace ids: NOT_FOUND.
1222
+ * The request must carry workspace context, including for service and super-admin actors.
1223
+ */
1224
+ planmagnetLinkProductPersona: PlanmagnetProductPersona;
1161
1225
  planmagnetLinkProductRelease: Product;
1162
- /** roadmapId must be a live roadmap in the same workspace, else BAD_USER_INPUT. */
1226
+ /**
1227
+ * roadmapId must be a live roadmap in this workspace. Reassignment is refused if an item on it is still linked
1228
+ * to another Product's live launch; unlink that launch's item before transferring this roadmap.
1229
+ */
1163
1230
  planmagnetLinkProductRoadmap: Product;
1164
1231
  /**
1165
1232
  * PRM-01: Product *-* Team, for ownership, planning and reporting only. The link grants NO access: it writes the
@@ -1258,6 +1325,8 @@ export type Mutation = {
1258
1325
  planmagnetRemoveWorkspaceEditor: Scalars['Boolean']['output'];
1259
1326
  /** Reorder columns on a board */
1260
1327
  planmagnetReorderColumns: Board;
1328
+ /** Puts the checklist in this order. `itemIds` must name every item of the checklist exactly once. */
1329
+ planmagnetReorderProductLaunchChecklist: Array<PlanmagnetProductLaunchChecklistItem>;
1261
1330
  /**
1262
1331
  * Ask one or more workspace actors to review a roadmap. Refused with CONFLICT
1263
1332
  * while another review on the same roadmap is still OPEN — withdraw or decide
@@ -1323,6 +1392,11 @@ export type Mutation = {
1323
1392
  * nothing, while the CrewFoundry roster cannot be read.
1324
1393
  */
1325
1394
  planmagnetSetMemberIdentityOverride: PlanmagnetMemberIdentityOverride;
1395
+ /**
1396
+ * Completes (records when and by whom) or reopens (clears both) an item. Completing a done item keeps who completed
1397
+ * it first.
1398
+ */
1399
+ planmagnetSetProductLaunchChecklistItemDone: PlanmagnetProductLaunchChecklistItem;
1326
1400
  /** Tick (records who and when) or untick (clears both) a checklist item */
1327
1401
  planmagnetSetReleaseChecklistItemDone: PlanmagnetReleaseChecklistItem;
1328
1402
  /**
@@ -1371,6 +1445,11 @@ export type Mutation = {
1371
1445
  planmagnetUnarchiveProductFeature: PlanmagnetProductFeature;
1372
1446
  /** Clears archivedAt. A no-op (still succeeds) if not archived. */
1373
1447
  planmagnetUnarchiveProductLine: PlanmagnetProductLine;
1448
+ /**
1449
+ * Restores the status the persona had: VALIDATED when it has a validatedAt, else DRAFT. A no-op (still succeeds) if
1450
+ * not archived.
1451
+ */
1452
+ planmagnetUnarchiveProductPersona: PlanmagnetProductPersona;
1374
1453
  /** Unlink a competitor from a feature request */
1375
1454
  planmagnetUnlinkCompetitorFromFeature: FeatureRequest;
1376
1455
  planmagnetUnlinkDocFromWorkItem: Scalars['Boolean']['output'];
@@ -1393,7 +1472,17 @@ export type Mutation = {
1393
1472
  /** PRM-02. Unlinking a pair that is not linked is a no-op success (false), not an error. */
1394
1473
  planmagnetUnlinkProductCompetitor: Scalars['Boolean']['output'];
1395
1474
  planmagnetUnlinkProductFeatureRequest: Product;
1475
+ /** Takes a milestone off the timeline; the milestone is untouched. Not linked: a no-op. */
1476
+ planmagnetUnlinkProductLaunchMilestone: PlanmagnetProductLaunch;
1477
+ /** Stops targeting a persona; the persona is untouched. Not a target: a no-op. */
1478
+ planmagnetUnlinkProductLaunchPersona: PlanmagnetProductLaunch;
1396
1479
  planmagnetUnlinkProductObjective: Scalars['Boolean']['output'];
1480
+ /**
1481
+ * Unlink only this Product, also removing its launch targets for this Persona. The Persona remains in the workspace
1482
+ * library after its final unlink. Returns false if no membership existed; unknown or other-workspace ids: NOT_FOUND.
1483
+ * The request must carry workspace context, including for service and super-admin actors.
1484
+ */
1485
+ planmagnetUnlinkProductPersona: Scalars['Boolean']['output'];
1397
1486
  planmagnetUnlinkProductRelease: Product;
1398
1487
  planmagnetUnlinkProductRoadmap: Product;
1399
1488
  /**
@@ -1445,7 +1534,13 @@ export type Mutation = {
1445
1534
  planmagnetUpdatePortfolio: Portfolio;
1446
1535
  planmagnetUpdateProduct: Product;
1447
1536
  planmagnetUpdateProductFeature: PlanmagnetProductFeature;
1537
+ /** See PlanmagnetUpdateProductLaunchInput. Unknown, deleted or other-workspace id: NOT_FOUND. */
1538
+ planmagnetUpdateProductLaunch: PlanmagnetProductLaunch;
1539
+ /** Edits an item. Unknown, deleted or other-workspace id: NOT_FOUND. */
1540
+ planmagnetUpdateProductLaunchChecklistItem: PlanmagnetProductLaunchChecklistItem;
1448
1541
  planmagnetUpdateProductLine: PlanmagnetProductLine;
1542
+ /** Unknown, deleted or other-workspace id: NOT_FOUND. An archived persona is refused. */
1543
+ planmagnetUpdateProductPersona: PlanmagnetProductPersona;
1449
1544
  /** Update an existing program */
1450
1545
  planmagnetUpdateProgram: Program;
1451
1546
  /** Update an existing project */
@@ -1506,6 +1601,9 @@ export type Mutation = {
1506
1601
  */
1507
1602
  planmagnetWorkItemCommentAttachmentUrl: Scalars['String']['output'];
1508
1603
  };
1604
+ export type MutationErasePlanmagnetWorkspaceDataArgs = {
1605
+ confirmWorkspaceId: Scalars['ID']['input'];
1606
+ };
1509
1607
  export type MutationPlanmagnetAcceptFeatureRequestArgs = {
1510
1608
  id: Scalars['ID']['input'];
1511
1609
  input?: InputMaybe<PlanmagnetAcceptFeatureRequestInput>;
@@ -1517,6 +1615,10 @@ export type MutationPlanmagnetAddMeetingActionItemArgs = {
1517
1615
  meetingId: Scalars['ID']['input'];
1518
1616
  workItemId: Scalars['ID']['input'];
1519
1617
  };
1618
+ export type MutationPlanmagnetAddProductLaunchChecklistItemArgs = {
1619
+ input: PlanmagnetAddProductLaunchChecklistItemInput;
1620
+ launchId: Scalars['ID']['input'];
1621
+ };
1520
1622
  export type MutationPlanmagnetAddProjectCommentArgs = {
1521
1623
  input: PlanmagnetAddProjectCommentInput;
1522
1624
  };
@@ -1550,6 +1652,10 @@ export type MutationPlanmagnetAddWorkspaceEditorArgs = {
1550
1652
  userId: Scalars['ID']['input'];
1551
1653
  workspaceId: Scalars['ID']['input'];
1552
1654
  };
1655
+ export type MutationPlanmagnetApplyProductLaunchTemplateArgs = {
1656
+ launchId: Scalars['ID']['input'];
1657
+ templateKey: PlanmagnetProductLaunchTemplateKey;
1658
+ };
1553
1659
  export type MutationPlanmagnetApplyTemplateArgs = {
1554
1660
  input: PlanmagnetApplyTemplateInput;
1555
1661
  };
@@ -1571,6 +1677,9 @@ export type MutationPlanmagnetArchiveProductFeatureArgs = {
1571
1677
  export type MutationPlanmagnetArchiveProductLineArgs = {
1572
1678
  id: Scalars['ID']['input'];
1573
1679
  };
1680
+ export type MutationPlanmagnetArchiveProductPersonaArgs = {
1681
+ id: Scalars['ID']['input'];
1682
+ };
1574
1683
  export type MutationPlanmagnetAssignProductLineArgs = {
1575
1684
  productId: Scalars['ID']['input'];
1576
1685
  productLineId?: InputMaybe<Scalars['ID']['input']>;
@@ -1660,9 +1769,18 @@ export type MutationPlanmagnetCreateProductArgs = {
1660
1769
  export type MutationPlanmagnetCreateProductFeatureArgs = {
1661
1770
  input: PlanmagnetCreateProductFeatureInput;
1662
1771
  };
1772
+ export type MutationPlanmagnetCreateProductLaunchArgs = {
1773
+ input: PlanmagnetCreateProductLaunchInput;
1774
+ };
1663
1775
  export type MutationPlanmagnetCreateProductLineArgs = {
1664
1776
  input: PlanmagnetCreateProductLineInput;
1665
1777
  };
1778
+ export type MutationPlanmagnetCreateProductMarketSizingArgs = {
1779
+ input: PlanmagnetCreateProductMarketSizingInput;
1780
+ };
1781
+ export type MutationPlanmagnetCreateProductPersonaArgs = {
1782
+ input: PlanmagnetCreateProductPersonaInput;
1783
+ };
1666
1784
  export type MutationPlanmagnetCreateProgramArgs = {
1667
1785
  input: PlanmagnetCreateProgramInput;
1668
1786
  };
@@ -1795,9 +1913,21 @@ export type MutationPlanmagnetDeleteProductArgs = {
1795
1913
  export type MutationPlanmagnetDeleteProductFeatureArgs = {
1796
1914
  id: Scalars['ID']['input'];
1797
1915
  };
1916
+ export type MutationPlanmagnetDeleteProductLaunchArgs = {
1917
+ id: Scalars['ID']['input'];
1918
+ };
1919
+ export type MutationPlanmagnetDeleteProductLaunchChecklistItemArgs = {
1920
+ id: Scalars['ID']['input'];
1921
+ };
1798
1922
  export type MutationPlanmagnetDeleteProductLineArgs = {
1799
1923
  id: Scalars['ID']['input'];
1800
1924
  };
1925
+ export type MutationPlanmagnetDeleteProductMarketSizingArgs = {
1926
+ id: Scalars['ID']['input'];
1927
+ };
1928
+ export type MutationPlanmagnetDeleteProductPersonaArgs = {
1929
+ id: Scalars['ID']['input'];
1930
+ };
1801
1931
  export type MutationPlanmagnetDeleteProgramArgs = {
1802
1932
  id: Scalars['ID']['input'];
1803
1933
  };
@@ -1940,10 +2070,22 @@ export type MutationPlanmagnetLinkProductFeatureRequestArgs = {
1940
2070
  featureRequestId: Scalars['ID']['input'];
1941
2071
  productId: Scalars['ID']['input'];
1942
2072
  };
2073
+ export type MutationPlanmagnetLinkProductLaunchMilestoneArgs = {
2074
+ launchId: Scalars['ID']['input'];
2075
+ milestoneId: Scalars['ID']['input'];
2076
+ };
2077
+ export type MutationPlanmagnetLinkProductLaunchPersonaArgs = {
2078
+ launchId: Scalars['ID']['input'];
2079
+ personaId: Scalars['ID']['input'];
2080
+ };
1943
2081
  export type MutationPlanmagnetLinkProductObjectiveArgs = {
1944
2082
  objectiveId: Scalars['ID']['input'];
1945
2083
  productId: Scalars['ID']['input'];
1946
2084
  };
2085
+ export type MutationPlanmagnetLinkProductPersonaArgs = {
2086
+ personaId: Scalars['ID']['input'];
2087
+ productId: Scalars['ID']['input'];
2088
+ };
1947
2089
  export type MutationPlanmagnetLinkProductReleaseArgs = {
1948
2090
  productId: Scalars['ID']['input'];
1949
2091
  releaseId: Scalars['ID']['input'];
@@ -2048,6 +2190,10 @@ export type MutationPlanmagnetReorderColumnsArgs = {
2048
2190
  boardId: Scalars['ID']['input'];
2049
2191
  input: PlanmagnetReorderColumnsInput;
2050
2192
  };
2193
+ export type MutationPlanmagnetReorderProductLaunchChecklistArgs = {
2194
+ itemIds: Array<Scalars['ID']['input']>;
2195
+ launchId: Scalars['ID']['input'];
2196
+ };
2051
2197
  export type MutationPlanmagnetRequestRoadmapReviewArgs = {
2052
2198
  input: PlanmagnetRequestRoadmapReviewInput;
2053
2199
  roadmapId: Scalars['ID']['input'];
@@ -2101,6 +2247,10 @@ export type MutationPlanmagnetSetMemberIdentityOverrideArgs = {
2101
2247
  platformUserId: Scalars['String']['input'];
2102
2248
  workspaceId: Scalars['ID']['input'];
2103
2249
  };
2250
+ export type MutationPlanmagnetSetProductLaunchChecklistItemDoneArgs = {
2251
+ done: Scalars['Boolean']['input'];
2252
+ id: Scalars['ID']['input'];
2253
+ };
2104
2254
  export type MutationPlanmagnetSetReleaseChecklistItemDoneArgs = {
2105
2255
  done: Scalars['Boolean']['input'];
2106
2256
  id: Scalars['ID']['input'];
@@ -2144,6 +2294,9 @@ export type MutationPlanmagnetUnarchiveProductFeatureArgs = {
2144
2294
  export type MutationPlanmagnetUnarchiveProductLineArgs = {
2145
2295
  id: Scalars['ID']['input'];
2146
2296
  };
2297
+ export type MutationPlanmagnetUnarchiveProductPersonaArgs = {
2298
+ id: Scalars['ID']['input'];
2299
+ };
2147
2300
  export type MutationPlanmagnetUnlinkCompetitorFromFeatureArgs = {
2148
2301
  input: PlanmagnetLinkCompetitorInput;
2149
2302
  };
@@ -2174,10 +2327,22 @@ export type MutationPlanmagnetUnlinkProductFeatureRequestArgs = {
2174
2327
  featureRequestId: Scalars['ID']['input'];
2175
2328
  productId: Scalars['ID']['input'];
2176
2329
  };
2330
+ export type MutationPlanmagnetUnlinkProductLaunchMilestoneArgs = {
2331
+ launchId: Scalars['ID']['input'];
2332
+ milestoneId: Scalars['ID']['input'];
2333
+ };
2334
+ export type MutationPlanmagnetUnlinkProductLaunchPersonaArgs = {
2335
+ launchId: Scalars['ID']['input'];
2336
+ personaId: Scalars['ID']['input'];
2337
+ };
2177
2338
  export type MutationPlanmagnetUnlinkProductObjectiveArgs = {
2178
2339
  objectiveId: Scalars['ID']['input'];
2179
2340
  productId: Scalars['ID']['input'];
2180
2341
  };
2342
+ export type MutationPlanmagnetUnlinkProductPersonaArgs = {
2343
+ personaId: Scalars['ID']['input'];
2344
+ productId: Scalars['ID']['input'];
2345
+ };
2181
2346
  export type MutationPlanmagnetUnlinkProductReleaseArgs = {
2182
2347
  productId: Scalars['ID']['input'];
2183
2348
  releaseId: Scalars['ID']['input'];
@@ -2273,10 +2438,22 @@ export type MutationPlanmagnetUpdateProductFeatureArgs = {
2273
2438
  id: Scalars['ID']['input'];
2274
2439
  input: PlanmagnetUpdateProductFeatureInput;
2275
2440
  };
2441
+ export type MutationPlanmagnetUpdateProductLaunchArgs = {
2442
+ id: Scalars['ID']['input'];
2443
+ input: PlanmagnetUpdateProductLaunchInput;
2444
+ };
2445
+ export type MutationPlanmagnetUpdateProductLaunchChecklistItemArgs = {
2446
+ id: Scalars['ID']['input'];
2447
+ input: PlanmagnetUpdateProductLaunchChecklistItemInput;
2448
+ };
2276
2449
  export type MutationPlanmagnetUpdateProductLineArgs = {
2277
2450
  id: Scalars['ID']['input'];
2278
2451
  input: PlanmagnetUpdateProductLineInput;
2279
2452
  };
2453
+ export type MutationPlanmagnetUpdateProductPersonaArgs = {
2454
+ id: Scalars['ID']['input'];
2455
+ input: PlanmagnetUpdateProductPersonaInput;
2456
+ };
2280
2457
  export type MutationPlanmagnetUpdateProgramArgs = {
2281
2458
  id: Scalars['ID']['input'];
2282
2459
  input: PlanmagnetUpdateProgramInput;
@@ -2393,6 +2570,8 @@ export type PlanmagnetActivityFeedEvent = {
2393
2570
  /** Actor who did it */
2394
2571
  actorId?: Maybe<Scalars['String']['output']>;
2395
2572
  at: Scalars['DateTime']['output'];
2573
+ /** The automation rule that made the change (transitionSource AUTOMATION only) */
2574
+ automationRuleId?: Maybe<Scalars['String']['output']>;
2396
2575
  /** The comment (COMMENTED) */
2397
2576
  commentId?: Maybe<Scalars['String']['output']>;
2398
2577
  /** The start of the comment, at most 200 characters (COMMENTED) */
@@ -2409,6 +2588,11 @@ export type PlanmagnetActivityFeedEvent = {
2409
2588
  toStatus?: Maybe<Scalars['String']['output']>;
2410
2589
  /** The field's value after the change (FIELD_CHANGED); null means it became unset */
2411
2590
  toValue?: Maybe<Scalars['String']['output']>;
2591
+ /**
2592
+ * Who or what made the change (CREATED and STATUS_CHANGED — ANR-12). Null for every other event and for changes
2593
+ * recorded before 2026-10-02, whose origin was never captured.
2594
+ */
2595
+ transitionSource?: Maybe<PlanmagnetStatusTransitionSource>;
2412
2596
  type: PlanmagnetActivityEventType;
2413
2597
  /** The work item this event is about — always a live item of a live project (deleted ones are left out of the feed) */
2414
2598
  workItem: PlanmagnetActivityFeedWorkItemRef;
@@ -2479,6 +2663,18 @@ export type PlanmagnetAddDocCommentInput = {
2479
2663
  /** Reply to this comment (CWF-02). A reply to a reply attaches to ITS top-level parent, not this id. */
2480
2664
  parentId?: InputMaybe<Scalars['ID']['input']>;
2481
2665
  };
2666
+ /** Text is trimmed. */
2667
+ export type PlanmagnetAddProductLaunchChecklistItemInput = {
2668
+ category: PlanmagnetProductLaunchChecklistCategory;
2669
+ /** Between 2000-01-01 and 2100-12-31. */
2670
+ dueDate?: InputMaybe<Scalars['DateTime']['input']>;
2671
+ /** Default true. */
2672
+ isRequired?: InputMaybe<Scalars['Boolean']['input']>;
2673
+ /** Required, at most 200 characters. */
2674
+ label: Scalars['String']['input'];
2675
+ /** An actor id, at most 128 characters. */
2676
+ ownerId?: InputMaybe<Scalars['ID']['input']>;
2677
+ };
2482
2678
  export type PlanmagnetAddProjectCommentInput = {
2483
2679
  /**
2484
2680
  * Files already uploaded to this workspace via the platform files module (CWF-12), referenced by id. Each must
@@ -2574,6 +2770,16 @@ export declare enum PlanmagnetAgentRunStatus {
2574
2770
  export declare enum PlanmagnetAgentRunTrigger {
2575
2771
  Manual = "MANUAL"
2576
2772
  }
2773
+ /** Delivered work per portfolio strategic theme (Portfolio.alignment). */
2774
+ export type PlanmagnetAlignmentTheme = {
2775
+ __typename?: 'PlanmagnetAlignmentTheme';
2776
+ completedCount: Scalars['Int']['output'];
2777
+ completedPoints: Scalars['Int']['output'];
2778
+ /** Null for work in projects outside any portfolio, or in a portfolio without a theme. */
2779
+ theme?: Maybe<StrategicAlignment>;
2780
+ /** The CUSTOM theme's label. */
2781
+ themeLabel?: Maybe<Scalars['String']['output']>;
2782
+ };
2577
2783
  /**
2578
2784
  * ANR-19: aggregate analytics for one project within a workspace — a thin composition over the EXISTING narrow
2579
2785
  * analytics queries in this module (never a second computation engine).
@@ -2603,6 +2809,32 @@ export type PlanmagnetAnalytics = {
2603
2809
  projectMetrics: Array<PlanmagnetMetric>;
2604
2810
  teamMetrics: Array<PlanmagnetMetric>;
2605
2811
  };
2812
+ export type PlanmagnetAnalyticsWindow = {
2813
+ __typename?: 'PlanmagnetAnalyticsWindow';
2814
+ /** The start of the first UTC day counted. */
2815
+ from: Scalars['DateTime']['output'];
2816
+ preset: PlanmagnetAnalyticsWindowPreset;
2817
+ /** The end (23:59:59.999) of the last UTC day counted. */
2818
+ to: Scalars['DateTime']['output'];
2819
+ };
2820
+ /** The window a figure covers: events whose moment is in [from, to], both ends included. */
2821
+ export type PlanmagnetAnalyticsWindowInput = {
2822
+ /** CUSTOM only (required there). Any other preset with from/to is BAD_USER_INPUT. */
2823
+ from?: InputMaybe<Scalars['DateTime']['input']>;
2824
+ /** Defaults to LAST_90_DAYS. */
2825
+ preset?: InputMaybe<PlanmagnetAnalyticsWindowPreset>;
2826
+ /** CUSTOM only (required there). Not before `from`. */
2827
+ to?: InputMaybe<Scalars['DateTime']['input']>;
2828
+ };
2829
+ /** A trailing window: the N UTC calendar days ending today (today included), or CUSTOM. */
2830
+ export declare enum PlanmagnetAnalyticsWindowPreset {
2831
+ /** From the start of `from`'s UTC day to the end of `to`'s — both required. */
2832
+ Custom = "CUSTOM",
2833
+ Last_30Days = "LAST_30_DAYS",
2834
+ Last_90Days = "LAST_90_DAYS",
2835
+ Last_180Days = "LAST_180_DAYS",
2836
+ Last_365Days = "LAST_365_DAYS"
2837
+ }
2606
2838
  export type PlanmagnetApplyTemplateInput = {
2607
2839
  ownerId: Scalars['String']['input'];
2608
2840
  projectDescription?: InputMaybe<Scalars['String']['input']>;
@@ -2679,6 +2911,36 @@ export declare enum PlanmagnetAutomationExecutionStatus {
2679
2911
  Skipped = "SKIPPED",
2680
2912
  Success = "SUCCESS"
2681
2913
  }
2914
+ /**
2915
+ * (a) Automation rule failure rates — rules of the project scope (with a portfolio or project filter, rules bound to
2916
+ * one of those projects; workspace-wide rules only without one). Not product-scoped: failureRate reports
2917
+ * FILTER_NOT_APPLICABLE with a productId.
2918
+ * (b) The most frequent MANUAL status moves no active rule actually performed in this window: matching the same
2919
+ * project and the exact from→to pair in an AUTOMATION transition with that rule's id. A configured SET_STATUS target
2920
+ * alone is not evidence that its trigger and conditions can perform a particular move. Only source USER counts as
2921
+ * manual; transitions written before the source marker existed are excluded, never guessed. The section's
2922
+ * notEnoughData/reason describe (b).
2923
+ */
2924
+ export type PlanmagnetAutomationOpportunities = {
2925
+ __typename?: 'PlanmagnetAutomationOpportunities';
2926
+ /** Manual moves with an exact from→to match to an observed transition by a rule that is still active; null when capped. */
2927
+ coveredByRuleCount?: Maybe<Scalars['Int']['output']>;
2928
+ failureRate: PlanmagnetBusinessIntelligenceRatio;
2929
+ /** Manual moves between two statuses in the window — the sample manualMoves is drawn from. */
2930
+ manualMoveCount: Scalars['Int']['output'];
2931
+ /** Most frequent first, at most 10. */
2932
+ manualMoves: Array<PlanmagnetManualStatusMove>;
2933
+ notEnoughData: Scalars['Boolean']['output'];
2934
+ /** Moves by AUTOMATION, SYSTEM, IMPORT or AI. */
2935
+ otherSourceCount: Scalars['Int']['output'];
2936
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
2937
+ /** Rules with at least one execution in the window, highest failure rate first (at most 1,000 rules read). */
2938
+ ruleFailureRates: Array<PlanmagnetAutomationRuleFailure>;
2939
+ /** More than 1,000 rules: failureRate is null with TRUNCATED; listed per-rule rates remain individually exact. */
2940
+ ruleFailuresTruncated: Scalars['Boolean']['output'];
2941
+ /** Moves with no source marker (written before 2026-10-02) — excluded from 'manual'. */
2942
+ unknownSourceCount: Scalars['Int']['output'];
2943
+ };
2682
2944
  /**
2683
2945
  * A rule that automates project management tasks based on triggers,
2684
2946
  * conditions, and actions.
@@ -2760,6 +3022,14 @@ export type PlanmagnetAutomationRuleAuditConnection = {
2760
3022
  pageInfo: PlanmagnetPageInfo;
2761
3023
  totalCount: Scalars['Int']['output'];
2762
3024
  };
3025
+ export type PlanmagnetAutomationRuleFailure = {
3026
+ __typename?: 'PlanmagnetAutomationRuleFailure';
3027
+ /** Executions recorded with success = false ÷ executions, in the window. */
3028
+ failureRate: PlanmagnetBusinessIntelligenceRatio;
3029
+ projectId?: Maybe<Scalars['ID']['output']>;
3030
+ ruleId: Scalars['ID']['output'];
3031
+ ruleName: Scalars['String']['output'];
3032
+ };
2763
3033
  export type PlanmagnetAutomationRuleFilter = {
2764
3034
  projectId?: InputMaybe<Scalars['String']['input']>;
2765
3035
  search?: InputMaybe<Scalars['String']['input']>;
@@ -2959,6 +3229,23 @@ export declare enum PlanmagnetBoardViewVisibility {
2959
3229
  /** Listed for everyone who can read this workspace's boards; only the owner can change it */
2960
3230
  Shared = "SHARED"
2961
3231
  }
3232
+ /**
3233
+ * The bottleneck is the status with the longest median dwell among the statuses whose queue grew, considering only
3234
+ * statuses with at least minimumSample dwell samples. When no queue grew there is no bottleneck — one is never forced.
3235
+ */
3236
+ export type PlanmagnetBottleneckAnalysis = {
3237
+ __typename?: 'PlanmagnetBottleneckAnalysis';
3238
+ bottleneck?: Maybe<WorkItemStatus>;
3239
+ minimumSample: Scalars['Int']['output'];
3240
+ /** True when no open status's queue grew in the window. */
3241
+ noBottleneck: Scalars['Boolean']['output'];
3242
+ /** True when queues grew but none has minimumSample dwell samples (BELOW_MINIMUM_SAMPLE). */
3243
+ notEnoughData: Scalars['Boolean']['output'];
3244
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
3245
+ statuses: Array<PlanmagnetStatusQueue>;
3246
+ /** The dwell samples come from a capped history read: medians and bottleneck are null (queue counts remain exact). */
3247
+ truncated: Scalars['Boolean']['output'];
3248
+ };
2962
3249
  /**
2963
3250
  * A financial budget allocated to a project, tracking planned versus
2964
3251
  * actual spending.
@@ -3073,6 +3360,32 @@ export type PlanmagnetBudgetProjection = {
3073
3360
  spentAmount: Scalars['Float']['output'];
3074
3361
  totalAmount: Scalars['Float']['output'];
3075
3362
  };
3363
+ /**
3364
+ * One budget's run rate as of today: spent ÷ elapsed days × total days of its own period (whole UTC days, both ends
3365
+ * included), compared with its plan (totalAmount). Spent is the budget's spentAmount — the figure the portfolio rollup
3366
+ * sums.
3367
+ */
3368
+ export type PlanmagnetBudgetRunRate = {
3369
+ __typename?: 'PlanmagnetBudgetRunRate';
3370
+ budgetId: Scalars['ID']['output'];
3371
+ currency: Scalars['String']['output'];
3372
+ elapsedDays?: Maybe<Scalars['Int']['output']>;
3373
+ endDate?: Maybe<Scalars['DateTime']['output']>;
3374
+ name: Scalars['String']['output'];
3375
+ notEnoughData: Scalars['Boolean']['output'];
3376
+ planned: Scalars['String']['output'];
3377
+ projectId: Scalars['ID']['output'];
3378
+ /** Rounded to 2 decimal places. */
3379
+ projectedSpend?: Maybe<Scalars['String']['output']>;
3380
+ /** projectedSpend − planned: above 0 the budget is on pace to exceed its plan by this much. */
3381
+ projectedVariance?: Maybe<Scalars['String']['output']>;
3382
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
3383
+ spent: Scalars['String']['output'];
3384
+ startDate?: Maybe<Scalars['DateTime']['output']>;
3385
+ totalDays?: Maybe<Scalars['Int']['output']>;
3386
+ /** spent ÷ planned (a ratio); null when planned is 0. */
3387
+ utilization?: Maybe<Scalars['Float']['output']>;
3388
+ };
3076
3389
  export type PlanmagnetBulkUpdateWorkItemsInput = {
3077
3390
  assigneeId?: InputMaybe<Scalars['String']['input']>;
3078
3391
  ids: Array<Scalars['ID']['input']>;
@@ -3105,6 +3418,86 @@ export type PlanmagnetBurndownPoint = {
3105
3418
  /** Story points not yet DONE/CANCELLED as of end of this day. */
3106
3419
  remainingPoints: Scalars['Int']['output'];
3107
3420
  };
3421
+ /** ANR-12 business intelligence for one scope and window. Each section is computed only when selected. */
3422
+ export type PlanmagnetBusinessIntelligence = {
3423
+ __typename?: 'PlanmagnetBusinessIntelligence';
3424
+ /** 8. Automation rule failure rates and the most frequent manual status moves. */
3425
+ automationOpportunities: PlanmagnetAutomationOpportunities;
3426
+ /** 7. Queue growth and dwell time per open status. */
3427
+ bottleneck: PlanmagnetBottleneckAnalysis;
3428
+ calculatedAt: Scalars['DateTime']['output'];
3429
+ /** 5. Descriptive parity against competitors' structured capabilities. */
3430
+ competitiveAdvantage: PlanmagnetCompetitiveAdvantage;
3431
+ /** 10. Run-rate cost projection against plan, and spend by expense category. */
3432
+ costProjection: PlanmagnetCostProjection;
3433
+ /** 4. Opening-cohort fulfillment of feature requests. */
3434
+ marketImpact: PlanmagnetMarketImpact;
3435
+ portfolioId?: Maybe<Scalars['ID']['output']>;
3436
+ /** 6. Flow efficiency and cycle time of completed work. */
3437
+ processEfficiency: PlanmagnetProcessEfficiency;
3438
+ productId?: Maybe<Scalars['ID']['output']>;
3439
+ projectId?: Maybe<Scalars['ID']['output']>;
3440
+ /** 9. Reopen rate, bug flow and quality-gate failure rate by phase. */
3441
+ qualityAreas: PlanmagnetQualityAreas;
3442
+ /** 3. Uncovered required skills and urgent work left unassigned. */
3443
+ resourceOptimization: PlanmagnetResourceOptimization;
3444
+ /** 1. ROI per project and per currency. */
3445
+ roi: PlanmagnetRoiAnalysis;
3446
+ /** 2. Share of completed work that contributes to an ACTIVE objective. */
3447
+ strategicAlignment: PlanmagnetStrategicAlignment;
3448
+ window: PlanmagnetAnalyticsWindow;
3449
+ workspaceId: Scalars['ID']['output'];
3450
+ };
3451
+ export type PlanmagnetBusinessIntelligenceFilter = {
3452
+ /** Only the live projects of this portfolio. */
3453
+ portfolioId?: InputMaybe<Scalars['ID']['input']>;
3454
+ /** Only this product's work, feature requests and competitors. */
3455
+ productId?: InputMaybe<Scalars['ID']['input']>;
3456
+ /** Only this project. */
3457
+ projectId?: InputMaybe<Scalars['ID']['input']>;
3458
+ /** Defaults to the trailing 90 days. */
3459
+ window?: InputMaybe<PlanmagnetAnalyticsWindowInput>;
3460
+ };
3461
+ /** A share with the two counts it was computed from: value = numerator ÷ denominator (a ratio, 0.25 = 25%). */
3462
+ export type PlanmagnetBusinessIntelligenceRatio = {
3463
+ __typename?: 'PlanmagnetBusinessIntelligenceRatio';
3464
+ /** The sample size. */
3465
+ denominator: Scalars['Int']['output'];
3466
+ notEnoughData: Scalars['Boolean']['output'];
3467
+ numerator: Scalars['Int']['output'];
3468
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
3469
+ /** Null when the denominator is 0, evidence is incomplete/truncated, or the figure does not apply. */
3470
+ value?: Maybe<Scalars['Float']['output']>;
3471
+ };
3472
+ /** Why a figure is null (or, for ZERO_COST, mathematically undefined). */
3473
+ export declare enum PlanmagnetBusinessIntelligenceReason {
3474
+ /** Fewer samples than the stated minimum (minimumSample). */
3475
+ BelowMinimumSample = "BELOW_MINIMUM_SAMPLE",
3476
+ /** No realized benefit is recorded. */
3477
+ BenefitNotRecorded = "BENEFIT_NOT_RECORDED",
3478
+ /** The budget has no start or end date (or ends before it starts), so it has no run rate. */
3479
+ BudgetDatesMissing = "BUDGET_DATES_MISSING",
3480
+ /** The budget's period has not started yet. */
3481
+ BudgetNotStarted = "BUDGET_NOT_STARTED",
3482
+ /** No live budget records the cost in the benefit's currency. */
3483
+ CostNotRecorded = "COST_NOT_RECORDED",
3484
+ /** Spend is recorded in a currency other than the benefit's; currencies are never converted. */
3485
+ CurrencyMismatch = "CURRENCY_MISMATCH",
3486
+ /** This evidence is not recorded at the level of a filter that was set (see the schema header). */
3487
+ FilterNotApplicable = "FILTER_NOT_APPLICABLE",
3488
+ /** A required historical state or event is not recorded; a partial ratio is never presented as complete. */
3489
+ IncompleteHistory = "INCOMPLETE_HISTORY",
3490
+ /** Nothing in the scope and window to measure. */
3491
+ NoData = "NO_DATA",
3492
+ /** The window's status changes carry no source marker (written before 2026-10-02), so manual moves cannot be told apart. */
3493
+ NoSourceHistory = "NO_SOURCE_HISTORY",
3494
+ /** CrewFoundry or the workspace member directory could not be read, so skill coverage is unknown. */
3495
+ SkillDataUnavailable = "SKILL_DATA_UNAVAILABLE",
3496
+ /** A bounded read omitted rows needed for an exact figure; no partial result is presented as complete. */
3497
+ Truncated = "TRUNCATED",
3498
+ /** Actual spend is 0, so ROI is undefined (never infinite). The inputs are complete: notEnoughData is false. */
3499
+ ZeroCost = "ZERO_COST"
3500
+ }
3108
3501
  /**
3109
3502
  * The forecast capacity vs demand for one upcoming sprint in the horizon (ANR-11). demandPoints is the
3110
3503
  * current open backlog split evenly across every sprint in the horizon (NOT a burndown simulation — every
@@ -3120,6 +3513,17 @@ export type PlanmagnetCapacityGapSprint = {
3120
3513
  /** 1-indexed: the 1st, 2nd, ... sprint of the horizon from now. */
3121
3514
  sprintNumber: Scalars['Int']['output'];
3122
3515
  };
3516
+ /** Expense spend in the window per category, as a share of that currency's spend in the window. */
3517
+ export type PlanmagnetCategorySpend = {
3518
+ __typename?: 'PlanmagnetCategorySpend';
3519
+ amount: Scalars['String']['output'];
3520
+ /** Null for uncategorized expenses. */
3521
+ category?: Maybe<Scalars['String']['output']>;
3522
+ currency: Scalars['String']['output'];
3523
+ expenseCount: Scalars['Int']['output'];
3524
+ /** Null when the currency's spend in the window is 0. */
3525
+ share?: Maybe<Scalars['Float']['output']>;
3526
+ };
3123
3527
  /** One day's cumulative-flow reading: item counts broken down by status. */
3124
3528
  export type PlanmagnetCfdPoint = {
3125
3529
  __typename?: 'PlanmagnetCfdPoint';
@@ -3220,6 +3624,51 @@ export declare enum PlanmagnetCommentTargetType {
3220
3624
  Doc = "DOC",
3221
3625
  Project = "PROJECT"
3222
3626
  }
3627
+ /**
3628
+ * With productId: the competitors linked to that product, and only that product's live features match. Without it:
3629
+ * every live competitor, matched by any live feature of the workspace. The free-form `features` JSON is never read.
3630
+ * As recorded now — not windowed.
3631
+ */
3632
+ export type PlanmagnetCompetitiveAdvantage = {
3633
+ __typename?: 'PlanmagnetCompetitiveAdvantage';
3634
+ /** Live competitors in scope (with or without capabilities). */
3635
+ competitorCount: Scalars['Int']['output'];
3636
+ /** Competitors with at least one structured capability, by name. */
3637
+ competitors: Array<PlanmagnetCompetitorParity>;
3638
+ notEnoughData: Scalars['Boolean']['output'];
3639
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
3640
+ /** More than 200 competitors in scope: the first 200 by name are compared. */
3641
+ truncated: Scalars['Boolean']['output'];
3642
+ };
3643
+ /**
3644
+ * ANR-12: one structured capability of a competitor — the stored input of the competitive-parity analysis. Each entry
3645
+ * reads as exactly one of: the competitor has it and we match it (competitorHas, productFeatureId set), they have it and
3646
+ * we don't (competitorHas, no productFeatureId), or only we have it (productFeatureId set, not competitorHas).
3647
+ */
3648
+ export type PlanmagnetCompetitorCapability = {
3649
+ __typename?: 'PlanmagnetCompetitorCapability';
3650
+ /** Whether this competitor offers it */
3651
+ competitorHas: Scalars['Boolean']['output'];
3652
+ /** What the capability is — unique per competitor, ignoring letter case and spacing */
3653
+ name: Scalars['String']['output'];
3654
+ /**
3655
+ * Our matching product feature (a PlanmagnetProductFeature id), or null when we have nothing that matches. It was a
3656
+ * live feature of this workspace when written; one deleted since still shows its id here.
3657
+ */
3658
+ productFeatureId?: Maybe<Scalars['String']['output']>;
3659
+ };
3660
+ /** ANR-12: one structured capability, as written. Needs competitorHas, a productFeatureId, or both. */
3661
+ export type PlanmagnetCompetitorCapabilityInput = {
3662
+ /** Whether this competitor offers it */
3663
+ competitorHas: Scalars['Boolean']['input'];
3664
+ /** 1-200 characters; unique per competitor, ignoring letter case and spacing */
3665
+ name: Scalars['String']['input'];
3666
+ /**
3667
+ * Our matching product feature: a live PlanmagnetProductFeature of this workspace. An archived feature can't be newly
3668
+ * linked (a link made before it was archived is kept when the list is saved again). Omit or null when nothing matches.
3669
+ */
3670
+ productFeatureId?: InputMaybe<Scalars['String']['input']>;
3671
+ };
3223
3672
  export type PlanmagnetCompetitorFilter = {
3224
3673
  search?: InputMaybe<Scalars['String']['input']>;
3225
3674
  };
@@ -3229,12 +3678,45 @@ export type PlanmagnetCompetitorList = {
3229
3678
  pageInfo: PlanmagnetPageInfo;
3230
3679
  totalCount: Scalars['Int']['output'];
3231
3680
  };
3681
+ /**
3682
+ * Descriptive parity against one competitor's structured capabilities (Competitor.capabilities, PRM-31). A capability
3683
+ * is matched when the competitor has it and it is linked to one of our live product features. No composite score.
3684
+ */
3685
+ export type PlanmagnetCompetitorParity = {
3686
+ __typename?: 'PlanmagnetCompetitorParity';
3687
+ competitorId: Scalars['ID']['output'];
3688
+ competitorName: Scalars['String']['output'];
3689
+ /** Capabilities the competitor has that no live feature of ours matches. */
3690
+ competitorOnlyGaps: Array<Scalars['String']['output']>;
3691
+ /** Capabilities linked to our live feature that the competitor does not have. */
3692
+ differentiators: Array<Scalars['String']['output']>;
3693
+ /** Matched ÷ capabilities the competitor has. */
3694
+ parity: PlanmagnetBusinessIntelligenceRatio;
3695
+ };
3232
3696
  export type PlanmagnetCompleteSprintInput = {
3233
3697
  /** Defaults to KEEP_IN_SPRINT. */
3234
3698
  openItems?: InputMaybe<PlanmagnetSprintOpenItemsAction>;
3235
3699
  /** Required with MOVE_TO_SPRINT; must not be the sprint being completed. */
3236
3700
  targetSprintId?: InputMaybe<Scalars['ID']['input']>;
3237
3701
  };
3702
+ export type PlanmagnetCostProjection = {
3703
+ __typename?: 'PlanmagnetCostProjection';
3704
+ /** Live budgets in scope. */
3705
+ budgetCount: Scalars['Int']['output'];
3706
+ /**
3707
+ * By currency, highest projected variance first (variances in different currencies are never compared); budgets
3708
+ * without a projection last. At most 1,000 — see truncated.
3709
+ */
3710
+ budgets: Array<PlanmagnetBudgetRunRate>;
3711
+ /** Scope totals by currency, withheld when more than 1,000 budgets are in scope. */
3712
+ byCurrency: Array<PlanmagnetCurrencyRunRate>;
3713
+ /** Expense categories use a separate exact database aggregate, even when the budget list is capped. */
3714
+ categorySpend: Array<PlanmagnetCategorySpend>;
3715
+ notEnoughData: Scalars['Boolean']['output'];
3716
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
3717
+ /** More than 1,000 budgets: the first 1,000 are listed, but run-rate totals are withheld (TRUNCATED). */
3718
+ truncated: Scalars['Boolean']['output'];
3719
+ };
3238
3720
  export type PlanmagnetCreateAutomationRuleInput = {
3239
3721
  actions: Scalars['JSON']['input'];
3240
3722
  conditions?: InputMaybe<Scalars['JSON']['input']>;
@@ -3285,6 +3767,8 @@ export type PlanmagnetCreateBudgetInput = {
3285
3767
  projectId: Scalars['String']['input'];
3286
3768
  };
3287
3769
  export type PlanmagnetCreateCompetitorInput = {
3770
+ /** ANR-12: the structured capability list (at most 100 entries) — see PlanmagnetCompetitorCapabilityInput. */
3771
+ capabilities?: InputMaybe<Array<PlanmagnetCompetitorCapabilityInput>>;
3288
3772
  description?: InputMaybe<Scalars['String']['input']>;
3289
3773
  features?: InputMaybe<Scalars['JSON']['input']>;
3290
3774
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -3475,12 +3959,71 @@ export type PlanmagnetCreateProductInput = {
3475
3959
  valueProposition?: InputMaybe<Scalars['String']['input']>;
3476
3960
  vision: Scalars['String']['input'];
3477
3961
  };
3962
+ /** Text is trimmed. A new launch is PLANNING. */
3963
+ export type PlanmagnetCreateProductLaunchInput = {
3964
+ /** Required, at most 200 characters. */
3965
+ name: Scalars['String']['input'];
3966
+ /** A live, non-archived product of this workspace. */
3967
+ productId: Scalars['ID']['input'];
3968
+ /** A live release of this workspace whose product is this one or none. */
3969
+ releaseId?: InputMaybe<Scalars['ID']['input']>;
3970
+ /** A live roadmap item of a live roadmap in this workspace, attached to this Product or no Product. */
3971
+ roadmapItemId?: InputMaybe<Scalars['ID']['input']>;
3972
+ /** At most 10000 characters. Blank is stored as null. */
3973
+ strategySummary?: InputMaybe<Scalars['String']['input']>;
3974
+ /** At most 20. Defaults to none. */
3975
+ successCriteria?: InputMaybe<Array<PlanmagnetProductLaunchSuccessCriterionInput>>;
3976
+ /** Between 2000-01-01 and 2100-12-31. */
3977
+ targetLaunchDate: Scalars['DateTime']['input'];
3978
+ };
3478
3979
  export type PlanmagnetCreateProductLineInput = {
3479
3980
  description?: InputMaybe<Scalars['String']['input']>;
3480
3981
  metadata?: InputMaybe<Scalars['JSON']['input']>;
3481
3982
  name: Scalars['String']['input'];
3482
3983
  ownerId?: InputMaybe<Scalars['String']['input']>;
3483
3984
  };
3985
+ /**
3986
+ * Every field is required and checked exactly — nothing is filled in or rounded. Amounts are decimal strings of digits
3987
+ * with an optional decimal point (no sign, grouping separators or exponent): at most 20 digits before the point and 2
3988
+ * after it, and 0 <= som <= sam <= tam. The currency is a three-letter ISO 4217 code (lowercase is accepted and stored
3989
+ * uppercase). The as-of date may not be in the future (a date picked as today in any time zone is accepted) or before
3990
+ * 2000-01-01.
3991
+ */
3992
+ export type PlanmagnetCreateProductMarketSizingInput = {
3993
+ asOfDate: Scalars['DateTime']['input'];
3994
+ /** Never blank, at most 5000 characters. */
3995
+ assumptions: Scalars['String']['input'];
3996
+ currency: Scalars['String']['input'];
3997
+ method: PlanmagnetProductMarketSizingMethod;
3998
+ /** A live, non-archived product of this workspace. */
3999
+ productId: Scalars['ID']['input'];
4000
+ sam: Scalars['String']['input'];
4001
+ som: Scalars['String']['input'];
4002
+ /** 1 to 20 sources. */
4003
+ sources: Array<PlanmagnetProductMarketSizingSourceInput>;
4004
+ tam: Scalars['String']['input'];
4005
+ };
4006
+ /** Text is trimmed. Every list drops blank entries and keeps the order given. */
4007
+ export type PlanmagnetCreateProductPersonaInput = {
4008
+ /** At most 20 entries of at most 500 characters each. Defaults to empty. */
4009
+ goals?: InputMaybe<Array<Scalars['String']['input']>>;
4010
+ /** Required, at most 120 characters. */
4011
+ name: Scalars['String']['input'];
4012
+ /** Same bounds as goals. */
4013
+ needs?: InputMaybe<Array<Scalars['String']['input']>>;
4014
+ /** Same bounds as goals. */
4015
+ painPoints?: InputMaybe<Array<Scalars['String']['input']>>;
4016
+ /** A live, non-archived product of this workspace. */
4017
+ productId: Scalars['ID']['input'];
4018
+ /** At most 120 characters. Blank is stored as null. */
4019
+ roleTitle?: InputMaybe<Scalars['String']['input']>;
4020
+ /** At most 120 characters. Blank is stored as null. */
4021
+ segment?: InputMaybe<Scalars['String']['input']>;
4022
+ /** DRAFT (the default) or VALIDATED. ARCHIVED is refused — use planmagnetArchiveProductPersona. */
4023
+ status?: InputMaybe<PlanmagnetProductPersonaStatus>;
4024
+ /** Required, at most 2000 characters. */
4025
+ summary: Scalars['String']['input'];
4026
+ };
3484
4027
  export type PlanmagnetCreateProgramInput = {
3485
4028
  budgetTotal?: InputMaybe<Scalars['Float']['input']>;
3486
4029
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -3759,6 +4302,29 @@ export type PlanmagnetCumulativeFlow = {
3759
4302
  projectId: Scalars['ID']['output'];
3760
4303
  startDate: Scalars['DateTime']['output'];
3761
4304
  };
4305
+ /**
4306
+ * Scope ROI in one currency: realized benefits are summed and costs are summed FIRST, then divided — ROIs are never
4307
+ * averaged. Only projects with both a benefit and a cost in this currency count.
4308
+ */
4309
+ export type PlanmagnetCurrencyRoi = {
4310
+ __typename?: 'PlanmagnetCurrencyRoi';
4311
+ actualSpend: Scalars['String']['output'];
4312
+ currency: Scalars['String']['output'];
4313
+ projectCount: Scalars['Int']['output'];
4314
+ realizedBenefit: Scalars['String']['output'];
4315
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
4316
+ /** Null when actualSpend is 0 (reason ZERO_COST). */
4317
+ roi?: Maybe<Scalars['Float']['output']>;
4318
+ };
4319
+ /** Totals over the budgets of one currency that have a projection. */
4320
+ export type PlanmagnetCurrencyRunRate = {
4321
+ __typename?: 'PlanmagnetCurrencyRunRate';
4322
+ budgetCount: Scalars['Int']['output'];
4323
+ currency: Scalars['String']['output'];
4324
+ planned: Scalars['String']['output'];
4325
+ projectedSpend: Scalars['String']['output'];
4326
+ projectedVariance: Scalars['String']['output'];
4327
+ };
3762
4328
  export type PlanmagnetCustomFieldDefinitionFilter = {
3763
4329
  fieldType?: InputMaybe<CustomFieldType>;
3764
4330
  isRequired?: InputMaybe<Scalars['Boolean']['input']>;
@@ -4402,6 +4968,13 @@ export type PlanmagnetForecastSprintsNeeded = {
4402
4968
  p85: Scalars['Int']['output'];
4403
4969
  p95: Scalars['Int']['output'];
4404
4970
  };
4971
+ export type PlanmagnetGatePhaseFailure = {
4972
+ __typename?: 'PlanmagnetGatePhaseFailure';
4973
+ /** FAILED ÷ gates reviewed in the window. */
4974
+ failureRate: PlanmagnetBusinessIntelligenceRatio;
4975
+ /** Null for gates without a phase. */
4976
+ phase?: Maybe<Scalars['String']['output']>;
4977
+ };
4405
4978
  /**
4406
4979
  * Result of `planmagnetGenerateReleaseNotes`: the generated markdown, the
4407
4980
  * counts the UI needs to render a "X features / Y bug fixes" summary, and the
@@ -4584,6 +5157,47 @@ export type PlanmagnetLogTimeInput = {
4584
5157
  projectId: Scalars['String']['input'];
4585
5158
  workItemId: Scalars['String']['input'];
4586
5159
  };
5160
+ /** A status move people made by hand (transition source USER) — from → to, in one project. */
5161
+ export type PlanmagnetManualStatusMove = {
5162
+ __typename?: 'PlanmagnetManualStatusMove';
5163
+ count: Scalars['Int']['output'];
5164
+ fromStatus: WorkItemStatus;
5165
+ projectId: Scalars['ID']['output'];
5166
+ toStatus: WorkItemStatus;
5167
+ };
5168
+ /**
5169
+ * Opening-cohort fulfillment: live feature requests with a recorded OPEN status and recorded feature link at window.from.
5170
+ * A migration-time BASELINE proves only the status and link observed from then on. The linked feature at window.to
5171
+ * (or calculatedAt for an ongoing window) determines delivery, not today's mutable link for a historical window.
5172
+ * For an earlier window, missing link evidence or a missing release timestamp, both ratios are null with
5173
+ * INCOMPLETE_HISTORY. Delivered means that end-of-window feature is currently RELEASED with releasedAt in the window.
5174
+ * Requests created at or after window.from never join the cohort. PlanMagnet holds no revenue, adoption or market-share
5175
+ * data.
5176
+ */
5177
+ export type PlanmagnetMarketImpact = {
5178
+ __typename?: 'PlanmagnetMarketImpact';
5179
+ /** Known closed at window.from (COMPLETED, DECLINED or DUPLICATE), excluded from the opening cohort. */
5180
+ closedAtWindowStartCount: Scalars['Int']['output'];
5181
+ /** Already delivered before the window start, excluded from the opening cohort. */
5182
+ deliveredBeforeWindowCount: Scalars['Int']['output'];
5183
+ /** Delivered ÷ the complete opening cohort, by request count. */
5184
+ fulfillment: PlanmagnetBusinessIntelligenceRatio;
5185
+ notEnoughData: Scalars['Boolean']['output'];
5186
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
5187
+ /** More than 10,000 requests were created before the window start, or the project scope was capped: ratios are null. */
5188
+ truncated: Scalars['Boolean']['output'];
5189
+ /** Requests with a linked RELEASED feature whose actual release moment was never captured. */
5190
+ unknownDeliveryMomentCount: Scalars['Int']['output'];
5191
+ /** Open requests missing a recorded feature-link state at either window boundary; both ratios are null if any are unknown. */
5192
+ unknownFeatureLinkHistoryCount: Scalars['Int']['output'];
5193
+ /** Requests without a recorded state at window.from; both ratios are null if any are unknown. */
5194
+ unknownOpeningStatusCount: Scalars['Int']['output'];
5195
+ /**
5196
+ * The same opening cohort weighted by the CURRENT vote totals at calculatedAt, NOT votes as of the window start.
5197
+ * Adding, changing, moving or removing votes can change a prior window's weighted result. No vote history is inferred.
5198
+ */
5199
+ voteWeightedFulfillment: PlanmagnetBusinessIntelligenceRatio;
5200
+ };
4587
5201
  /**
4588
5202
  * A meeting tied to PlanMagnet delivery work, scheduled through the platform
4589
5203
  * Calendar module. See this file's header comment for the full "who creates
@@ -5037,6 +5651,35 @@ export declare enum PlanmagnetPrioritizationSource {
5037
5651
  FeatureRequest = "FEATURE_REQUEST",
5038
5652
  RoadmapItem = "ROADMAP_ITEM"
5039
5653
  }
5654
+ /**
5655
+ * Flow efficiency of items completed in the window, from real status-transition history only. Cycle time runs from
5656
+ * the first commitment (the first move into a To-do or In-progress-category status — the project's own categories) to
5657
+ * the item's last move into DONE in the window; active time is the part spent in In-progress-category statuses. An item
5658
+ * whose history is not complete (no creation row, or a gap where a change was not recorded) is left out — never
5659
+ * reconstructed from updatedAt.
5660
+ */
5661
+ export type PlanmagnetProcessEfficiency = {
5662
+ __typename?: 'PlanmagnetProcessEfficiency';
5663
+ /** Live items observed in the bounded read with a transition into DONE in the window. */
5664
+ completedCount: Scalars['Int']['output'];
5665
+ /** Σ active time ÷ Σ cycle time over the sample (a ratio). */
5666
+ flowEfficiency?: Maybe<Scalars['Float']['output']>;
5667
+ incompleteHistoryCount: Scalars['Int']['output'];
5668
+ medianCycleTimeHours?: Maybe<Scalars['Float']['output']>;
5669
+ /** Median of the items' own active ÷ cycle ratios. */
5670
+ medianFlowEfficiency?: Maybe<Scalars['Float']['output']>;
5671
+ minimumSample: Scalars['Int']['output'];
5672
+ /** Completed without a measurable commitment-to-done period (never committed, or committed and done at once). */
5673
+ noCycleCount: Scalars['Int']['output'];
5674
+ notEnoughData: Scalars['Boolean']['output'];
5675
+ /** 85th percentile (linear interpolation). */
5676
+ p85CycleTimeHours?: Maybe<Scalars['Float']['output']>;
5677
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
5678
+ /** Completed items with a complete history and a measurable cycle — the sample. */
5679
+ sampleSize: Scalars['Int']['output'];
5680
+ /** More than 5,000 items changed status, or their history exceeded 50,000 rows: all flow figures are null. */
5681
+ truncated: Scalars['Boolean']['output'];
5682
+ };
5040
5683
  /**
5041
5684
  * A product's own feature (PRM-01) — what the product team decided to build. Distinct from a FeatureRequest (customer
5042
5685
  * demand/feedback), which may point at the feature that addresses it.
@@ -5069,6 +5712,12 @@ export type PlanmagnetProductFeature = {
5069
5712
  /** The product this feature belongs to. Null only once that product has been deleted. */
5070
5713
  product?: Maybe<Product>;
5071
5714
  productId: Scalars['String']['output'];
5715
+ /**
5716
+ * ANR-12: when this feature's status last became RELEASED — set by the service when it is created as RELEASED or
5717
+ * moves to RELEASED, kept while it stays RELEASED, cleared when it leaves RELEASED. Null for a feature not RELEASED,
5718
+ * and for one already RELEASED before 2026-10-02 (never backfilled: that moment was not recorded).
5719
+ */
5720
+ releasedAt?: Maybe<Scalars['DateTime']['output']>;
5072
5721
  status: PlanmagnetProductFeatureStatus;
5073
5722
  updatedAt: Scalars['DateTime']['output'];
5074
5723
  updatedBy?: Maybe<Scalars['String']['output']>;
@@ -5109,6 +5758,178 @@ export type PlanmagnetProductFilter = {
5109
5758
  ownerId?: InputMaybe<Scalars['String']['input']>;
5110
5759
  search?: InputMaybe<Scalars['String']['input']>;
5111
5760
  };
5761
+ export type PlanmagnetProductLaunch = {
5762
+ __typename?: 'PlanmagnetProductLaunch';
5763
+ /** The readiness checklist, in its order. Batched. */
5764
+ checklist: Array<PlanmagnetProductLaunchChecklistItem>;
5765
+ createdAt: Scalars['DateTime']['output'];
5766
+ createdBy: Scalars['String']['output'];
5767
+ deletedAt?: Maybe<Scalars['DateTime']['output']>;
5768
+ id: Scalars['ID']['output'];
5769
+ /** Set exactly while the status is LAUNCHED: when it became LAUNCHED. */
5770
+ launchedAt?: Maybe<Scalars['DateTime']['output']>;
5771
+ /** The launch's timeline: the linked milestones, by due date (undated last). Deleted ones are left out. Batched. */
5772
+ milestones: Array<Milestone>;
5773
+ /** At most 200 characters. */
5774
+ name: Scalars['String']['output'];
5775
+ /** The product this launch belongs to. */
5776
+ product?: Maybe<Product>;
5777
+ productId: Scalars['String']['output'];
5778
+ readiness: PlanmagnetProductLaunchReadiness;
5779
+ /** The release that ships this launch; null when none is linked or it was deleted. */
5780
+ release?: Maybe<Release>;
5781
+ releaseId?: Maybe<Scalars['String']['output']>;
5782
+ /** The roadmap item this launch delivers; null when none is linked or it was deleted. */
5783
+ roadmapItem?: Maybe<RoadmapItem>;
5784
+ roadmapItemId?: Maybe<Scalars['String']['output']>;
5785
+ status: PlanmagnetProductLaunchStatus;
5786
+ /** Positioning and messaging. At most 10000 characters; null when not written yet. */
5787
+ strategySummary?: Maybe<Scalars['String']['output']>;
5788
+ /** At most 20, in the order they were given. */
5789
+ successCriteria: Array<PlanmagnetProductLaunchSuccessCriterion>;
5790
+ /** The planned launch date. Template checklist due dates are counted back from it when a template is applied. */
5791
+ targetLaunchDate: Scalars['DateTime']['output'];
5792
+ /** Only Personas still linked to this launch's Product, archived ones included, by name. Batched. */
5793
+ targetPersonas: Array<PlanmagnetProductPersona>;
5794
+ updatedAt: Scalars['DateTime']['output'];
5795
+ updatedBy?: Maybe<Scalars['String']['output']>;
5796
+ workspaceId: Scalars['String']['output'];
5797
+ };
5798
+ /** The team a readiness checklist item belongs to. TEXT-backed in Prisma; this enum (and the service) validates it. */
5799
+ export declare enum PlanmagnetProductLaunchChecklistCategory {
5800
+ Legal = "LEGAL",
5801
+ Marketing = "MARKETING",
5802
+ Operations = "OPERATIONS",
5803
+ Product = "PRODUCT",
5804
+ Sales = "SALES",
5805
+ Support = "SUPPORT"
5806
+ }
5807
+ export type PlanmagnetProductLaunchChecklistItem = {
5808
+ __typename?: 'PlanmagnetProductLaunchChecklistItem';
5809
+ category: PlanmagnetProductLaunchChecklistCategory;
5810
+ createdAt: Scalars['DateTime']['output'];
5811
+ createdBy: Scalars['String']['output'];
5812
+ /** When the item was completed; null while it is open. */
5813
+ doneAt?: Maybe<Scalars['DateTime']['output']>;
5814
+ /** Who completed it; null while it is open. */
5815
+ doneBy?: Maybe<Scalars['String']['output']>;
5816
+ dueDate?: Maybe<Scalars['DateTime']['output']>;
5817
+ id: Scalars['ID']['output'];
5818
+ /** True while doneAt is set. */
5819
+ isDone: Scalars['Boolean']['output'];
5820
+ /** Required items count towards readiness; optional ones never block it. */
5821
+ isRequired: Scalars['Boolean']['output'];
5822
+ /** The template item it came from; null for an item added by hand. */
5823
+ itemKey?: Maybe<Scalars['String']['output']>;
5824
+ /** At most 200 characters. A template item's label is written in the language of whoever applied the template. */
5825
+ label: Scalars['String']['output'];
5826
+ launchId: Scalars['String']['output'];
5827
+ /** Who is responsible (an actor id); null when nobody is. */
5828
+ ownerId?: Maybe<Scalars['String']['output']>;
5829
+ /** Order on the checklist, ascending (gaps are normal). */
5830
+ position: Scalars['Int']['output'];
5831
+ /** The built-in template this item came from; null for an item added by hand. */
5832
+ templateKey?: Maybe<PlanmagnetProductLaunchTemplateKey>;
5833
+ updatedAt: Scalars['DateTime']['output'];
5834
+ updatedBy?: Maybe<Scalars['String']['output']>;
5835
+ workspaceId: Scalars['String']['output'];
5836
+ };
5837
+ export type PlanmagnetProductLaunchFilter = {
5838
+ /** Matches the name or the strategy summary, case-insensitively. */
5839
+ search?: InputMaybe<Scalars['String']['input']>;
5840
+ status?: InputMaybe<PlanmagnetProductLaunchStatus>;
5841
+ };
5842
+ export type PlanmagnetProductLaunchList = {
5843
+ __typename?: 'PlanmagnetProductLaunchList';
5844
+ items: Array<PlanmagnetProductLaunch>;
5845
+ pageInfo: PlanmagnetPageInfo;
5846
+ totalCount: Scalars['Int']['output'];
5847
+ };
5848
+ /** Required items done over required items, and the same for optional ones. Deleted items do not count. */
5849
+ export type PlanmagnetProductLaunchReadiness = {
5850
+ __typename?: 'PlanmagnetProductLaunchReadiness';
5851
+ /** True when no required item is open — also when the checklist has no required item. */
5852
+ allRequiredDone: Scalars['Boolean']['output'];
5853
+ optionalDone: Scalars['Int']['output'];
5854
+ optionalTotal: Scalars['Int']['output'];
5855
+ requiredDone: Scalars['Int']['output'];
5856
+ requiredTotal: Scalars['Int']['output'];
5857
+ };
5858
+ /**
5859
+ * PLANNING: being planned. READY: ready to launch. LAUNCHED: it happened (launchedAt says when). CANCELLED: called off.
5860
+ * TEXT-backed in Prisma; this enum (and the service) is the only validator.
5861
+ */
5862
+ export declare enum PlanmagnetProductLaunchStatus {
5863
+ Cancelled = "CANCELLED",
5864
+ Launched = "LAUNCHED",
5865
+ Planning = "PLANNING",
5866
+ Ready = "READY"
5867
+ }
5868
+ /**
5869
+ * How the launch's success is judged — the team's own figures, stored exactly as entered and never computed. `target`
5870
+ * and `actual` are exact decimal numbers carried as strings (e.g. "500", "2.5", "-3"), never floats.
5871
+ */
5872
+ export type PlanmagnetProductLaunchSuccessCriterion = {
5873
+ __typename?: 'PlanmagnetProductLaunchSuccessCriterion';
5874
+ /** The measured figure, same format as target; null until measured. */
5875
+ actual?: Maybe<Scalars['String']['output']>;
5876
+ /** When the actual figure was measured; only with an actual figure. */
5877
+ measuredAt?: Maybe<Scalars['DateTime']['output']>;
5878
+ /** At most 200 characters. */
5879
+ name: Scalars['String']['output'];
5880
+ /** The figure the launch aims for. At most 15 digits before the decimal point and 4 after. */
5881
+ target: Scalars['String']['output'];
5882
+ /** What the figures count, e.g. sign-ups or %. At most 40 characters; null when not set. */
5883
+ unit?: Maybe<Scalars['String']['output']>;
5884
+ };
5885
+ /**
5886
+ * `target` and `actual` are exact decimal numbers as strings: an optional minus sign, at most 15 digits before the decimal
5887
+ * point and 4 after it — no grouping separators, no exponent. Stored in canonical form ("007.50" is stored as "7.5").
5888
+ */
5889
+ export type PlanmagnetProductLaunchSuccessCriterionInput = {
5890
+ actual?: InputMaybe<Scalars['String']['input']>;
5891
+ /** Not in the future, not before 2000-01-01, and only with an actual figure. */
5892
+ measuredAt?: InputMaybe<Scalars['DateTime']['input']>;
5893
+ /** Required, at most 200 characters. */
5894
+ name: Scalars['String']['input'];
5895
+ target: Scalars['String']['input'];
5896
+ /** At most 40 characters. Blank is stored as null. */
5897
+ unit?: InputMaybe<Scalars['String']['input']>;
5898
+ };
5899
+ /** A built-in go-to-market template, in the caller's language. */
5900
+ export type PlanmagnetProductLaunchTemplate = {
5901
+ __typename?: 'PlanmagnetProductLaunchTemplate';
5902
+ description: Scalars['String']['output'];
5903
+ /** In due order. */
5904
+ items: Array<PlanmagnetProductLaunchTemplateItem>;
5905
+ key: PlanmagnetProductLaunchTemplateKey;
5906
+ name: Scalars['String']['output'];
5907
+ };
5908
+ export type PlanmagnetProductLaunchTemplateApplyResult = {
5909
+ __typename?: 'PlanmagnetProductLaunchTemplateApplyResult';
5910
+ /** Items this call added. */
5911
+ createdCount: Scalars['Int']['output'];
5912
+ /** The launch, whose checklist and readiness now include the added items. */
5913
+ launch: PlanmagnetProductLaunch;
5914
+ /** Template items already on the checklist (same template and item), left exactly as they were. */
5915
+ skippedCount: Scalars['Int']['output'];
5916
+ };
5917
+ /** One item of a built-in template, in the caller's language. */
5918
+ export type PlanmagnetProductLaunchTemplateItem = {
5919
+ __typename?: 'PlanmagnetProductLaunchTemplateItem';
5920
+ category: PlanmagnetProductLaunchChecklistCategory;
5921
+ /** Due this many days before the target launch date. */
5922
+ daysBeforeLaunch: Scalars['Int']['output'];
5923
+ isRequired: Scalars['Boolean']['output'];
5924
+ itemKey: Scalars['String']['output'];
5925
+ label: Scalars['String']['output'];
5926
+ };
5927
+ /** The built-in go-to-market templates — see planmagnetProductLaunchTemplates. */
5928
+ export declare enum PlanmagnetProductLaunchTemplateKey {
5929
+ BetaProgram = "BETA_PROGRAM",
5930
+ FeatureLaunch = "FEATURE_LAUNCH",
5931
+ MajorLaunch = "MAJOR_LAUNCH"
5932
+ }
5112
5933
  export declare enum PlanmagnetProductLifecycleStage {
5113
5934
  Beta = "BETA",
5114
5935
  Concept = "CONCEPT",
@@ -5161,6 +5982,67 @@ export type PlanmagnetProductList = {
5161
5982
  pageInfo: PlanmagnetPageInfo;
5162
5983
  totalCount: Scalars['Int']['output'];
5163
5984
  };
5985
+ export type PlanmagnetProductMarketSizing = {
5986
+ __typename?: 'PlanmagnetProductMarketSizing';
5987
+ /** The date the figures describe. */
5988
+ asOfDate: Scalars['DateTime']['output'];
5989
+ /** The reasoning behind the figures, as written. At most 5000 characters. */
5990
+ assumptions: Scalars['String']['output'];
5991
+ createdAt: Scalars['DateTime']['output'];
5992
+ createdBy: Scalars['String']['output'];
5993
+ /** ISO 4217 currency code of all three figures, e.g. USD. */
5994
+ currency: Scalars['String']['output'];
5995
+ deletedAt?: Maybe<Scalars['DateTime']['output']>;
5996
+ id: Scalars['ID']['output'];
5997
+ method: PlanmagnetProductMarketSizingMethod;
5998
+ /** The product this estimate is for. */
5999
+ product?: Maybe<Product>;
6000
+ productId: Scalars['String']['output'];
6001
+ /** Serviceable addressable market — the part of the TAM the product can serve. Same format as tam; at most tam. */
6002
+ sam: Scalars['String']['output'];
6003
+ /** Serviceable obtainable market — the part of the SAM the product can realistically win. Same format; at most sam. */
6004
+ som: Scalars['String']['output'];
6005
+ /** 1 to 20 sources, in the order given. */
6006
+ sources: Array<PlanmagnetProductMarketSizingSource>;
6007
+ /**
6008
+ * Total addressable market in `currency`, as an exact decimal string in plain notation (e.g. "1250000000" or
6009
+ * "1250000000.5"): at least 0, at most 20 digits before the decimal point and 2 after it. Parse it with a decimal or
6010
+ * bigint type when exactness matters — never assume it fits a float.
6011
+ */
6012
+ tam: Scalars['String']['output'];
6013
+ updatedAt: Scalars['DateTime']['output'];
6014
+ workspaceId: Scalars['String']['output'];
6015
+ };
6016
+ export type PlanmagnetProductMarketSizingList = {
6017
+ __typename?: 'PlanmagnetProductMarketSizingList';
6018
+ items: Array<PlanmagnetProductMarketSizing>;
6019
+ pageInfo: PlanmagnetPageInfo;
6020
+ totalCount: Scalars['Int']['output'];
6021
+ };
6022
+ /**
6023
+ * How the figures were reached: TOP_DOWN (narrowed down from a larger, published market), BOTTOM_UP (built up from
6024
+ * customer counts and prices) or VALUE_THEORY (from the value the product delivers to its customers). TEXT-backed in
6025
+ * Prisma; this enum (and the service) is the only validator.
6026
+ */
6027
+ export declare enum PlanmagnetProductMarketSizingMethod {
6028
+ BottomUp = "BOTTOM_UP",
6029
+ TopDown = "TOP_DOWN",
6030
+ ValueTheory = "VALUE_THEORY"
6031
+ }
6032
+ /** Where a figure comes from. */
6033
+ export type PlanmagnetProductMarketSizingSource = {
6034
+ __typename?: 'PlanmagnetProductMarketSizingSource';
6035
+ /** What the source is, e.g. a report title and its publisher. */
6036
+ label: Scalars['String']['output'];
6037
+ /** An https:// link to it, or null. */
6038
+ url?: Maybe<Scalars['String']['output']>;
6039
+ };
6040
+ export type PlanmagnetProductMarketSizingSourceInput = {
6041
+ /** Required, at most 200 characters. */
6042
+ label: Scalars['String']['input'];
6043
+ /** Optional: an absolute https:// URL of at most 2048 characters, without a user name or password. */
6044
+ url?: InputMaybe<Scalars['String']['input']>;
6045
+ };
5164
6046
  export type PlanmagnetProductNorthStar = {
5165
6047
  __typename?: 'PlanmagnetProductNorthStar';
5166
6048
  current: Scalars['Float']['output'];
@@ -5183,6 +6065,73 @@ export type PlanmagnetProductNorthStarInput = {
5183
6065
  unit: Scalars['String']['input'];
5184
6066
  window: Scalars['String']['input'];
5185
6067
  };
6068
+ export type PlanmagnetProductPersona = {
6069
+ __typename?: 'PlanmagnetProductPersona';
6070
+ createdAt: Scalars['DateTime']['output'];
6071
+ createdBy: Scalars['String']['output'];
6072
+ deletedAt?: Maybe<Scalars['DateTime']['output']>;
6073
+ /** What the persona wants to achieve. At most 20 entries of at most 500 characters each. */
6074
+ goals: Array<Scalars['String']['output']>;
6075
+ id: Scalars['ID']['output'];
6076
+ /** At most 120 characters. */
6077
+ name: Scalars['String']['output'];
6078
+ /** What the persona needs from the product. Same bounds as goals. */
6079
+ needs: Array<Scalars['String']['output']>;
6080
+ /** What gets in the persona's way. Same bounds as goals. */
6081
+ painPoints: Array<Scalars['String']['output']>;
6082
+ /** The deprecated primary Product when it is still live, otherwise null. Use products for the full set. */
6083
+ product?: Maybe<Product>;
6084
+ /**
6085
+ * Deprecated primary Product pointer, not the complete membership set. Product deletion clears it even if another
6086
+ * live membership remains; explicit unlink can rehome it to another linked Product or clear it after the last unlink.
6087
+ * Never use it for authorization or infer the membership set from it.
6088
+ * @deprecated Use products for current workspace-scoped memberships
6089
+ */
6090
+ productId?: Maybe<Scalars['String']['output']>;
6091
+ /** Live Products sharing this Persona, in association order. Empty for an unlinked library Persona. */
6092
+ products: Array<Product>;
6093
+ /** Job title or role, e.g. Head of Operations. At most 120 characters; null when not set. */
6094
+ roleTitle?: Maybe<Scalars['String']['output']>;
6095
+ /**
6096
+ * The customer segment this persona represents — free text, at most 120 characters. Not tied to
6097
+ * Product.targetSegments.
6098
+ */
6099
+ segment?: Maybe<Scalars['String']['output']>;
6100
+ status: PlanmagnetProductPersonaStatus;
6101
+ /** The persona in a few sentences. At most 2000 characters. */
6102
+ summary: Scalars['String']['output'];
6103
+ updatedAt: Scalars['DateTime']['output'];
6104
+ updatedBy?: Maybe<Scalars['String']['output']>;
6105
+ /**
6106
+ * When the persona last became VALIDATED. Null while it is a DRAFT; kept while it is archived (unarchiving a persona
6107
+ * that has one restores VALIDATED).
6108
+ */
6109
+ validatedAt?: Maybe<Scalars['DateTime']['output']>;
6110
+ workspaceId: Scalars['String']['output'];
6111
+ };
6112
+ export type PlanmagnetProductPersonaFilter = {
6113
+ /** Without a status: true lists archived personas too. Default false. */
6114
+ includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
6115
+ /** Matches the name, summary, role title or segment, case-insensitively. */
6116
+ search?: InputMaybe<Scalars['String']['input']>;
6117
+ /** Only this status. Asking for ARCHIVED returns archived personas whatever includeArchived says. */
6118
+ status?: InputMaybe<PlanmagnetProductPersonaStatus>;
6119
+ };
6120
+ export type PlanmagnetProductPersonaList = {
6121
+ __typename?: 'PlanmagnetProductPersonaList';
6122
+ items: Array<PlanmagnetProductPersona>;
6123
+ pageInfo: PlanmagnetPageInfo;
6124
+ totalCount: Scalars['Int']['output'];
6125
+ };
6126
+ /**
6127
+ * DRAFT: being written. VALIDATED: confirmed with real customers. ARCHIVED: kept for reference, read-only, left out of
6128
+ * lists by default. TEXT-backed in Prisma; this enum (and the service) is the only validator.
6129
+ */
6130
+ export declare enum PlanmagnetProductPersonaStatus {
6131
+ Archived = "ARCHIVED",
6132
+ Draft = "DRAFT",
6133
+ Validated = "VALIDATED"
6134
+ }
5186
6135
  export type PlanmagnetProgramFilter = {
5187
6136
  ownerId?: InputMaybe<Scalars['String']['input']>;
5188
6137
  search?: InputMaybe<Scalars['String']['input']>;
@@ -5202,6 +6151,12 @@ export type PlanmagnetProject = {
5202
6151
  __typename?: 'PlanmagnetProject';
5203
6152
  /** Automation rules in this project */
5204
6153
  automationRules: Array<PlanmagnetAutomationRule>;
6154
+ /** ISO 4217 currency code of `realizedBenefitAmount` (e.g. "USD"). Always set together with it. */
6155
+ benefitCurrency?: Maybe<Scalars['String']['output']>;
6156
+ /** When the realized benefit was measured (never in the future). Optional; exists only alongside an amount. */
6157
+ benefitMeasuredAt?: Maybe<Scalars['DateTime']['output']>;
6158
+ /** How the benefit was measured, or its source (at most 2000 characters). Optional; exists only alongside an amount. */
6159
+ benefitNote?: Maybe<Scalars['String']['output']>;
5205
6160
  /** Boards in this project */
5206
6161
  boards: Array<Board>;
5207
6162
  /** Budgets in this project */
@@ -5251,6 +6206,12 @@ export type PlanmagnetProject = {
5251
6206
  programId?: Maybe<Scalars['String']['output']>;
5252
6207
  /** Quality gates in this project */
5253
6208
  qualityGates: Array<QualityGate>;
6209
+ /**
6210
+ * ANR-12: the project's realized (measured) benefit — the team's own figure, which the ROI analysis compares with
6211
+ * actual spend. An exact decimal string with up to 2 decimals (e.g. "125000.5"), in `benefitCurrency`; never
6212
+ * estimated or converted. Null until someone records it.
6213
+ */
6214
+ realizedBenefitAmount?: Maybe<Scalars['String']['output']>;
5254
6215
  /** Risks in this project */
5255
6216
  risks: Array<Risk>;
5256
6217
  /** Sprints in this project */
@@ -5354,6 +6315,13 @@ export type PlanmagnetProjectOutlook = {
5354
6315
  */
5355
6316
  timelineDeviationDays?: Maybe<Scalars['Int']['output']>;
5356
6317
  };
6318
+ export type PlanmagnetProjectQuality = {
6319
+ __typename?: 'PlanmagnetProjectQuality';
6320
+ bugsCreated: Scalars['Int']['output'];
6321
+ bugsResolved: Scalars['Int']['output'];
6322
+ projectId: Scalars['ID']['output'];
6323
+ reopenRate: PlanmagnetBusinessIntelligenceRatio;
6324
+ };
5357
6325
  /**
5358
6326
  * At-risk flag counts for a project (AI-10), over the same rule set
5359
6327
  * planmagnetAtRiskWorkItems uses.
@@ -5367,6 +6335,30 @@ export type PlanmagnetProjectRiskSummary = {
5367
6335
  /** Distinct work items carrying at least one flag. */
5368
6336
  totalFlaggedItems: Scalars['Int']['output'];
5369
6337
  };
6338
+ /**
6339
+ * One project's ROI = (realized benefit − actual spend) ÷ actual spend. Actual spend is the sum of the project's live
6340
+ * budgets' spentAmount — the figure planmagnetPortfolioRollup sums — and only budgets in the benefit's currency count.
6341
+ */
6342
+ export type PlanmagnetProjectRoi = {
6343
+ __typename?: 'PlanmagnetProjectRoi';
6344
+ /** Exact decimal sum of spentAmount over the live budgets in `currency`; null when there is no such budget. */
6345
+ actualSpend?: Maybe<Scalars['String']['output']>;
6346
+ benefitMeasuredAt?: Maybe<Scalars['DateTime']['output']>;
6347
+ /** Live budgets counted in actualSpend. */
6348
+ budgetCount: Scalars['Int']['output'];
6349
+ /** The benefit's ISO 4217 currency; null when no benefit is recorded. */
6350
+ currency?: Maybe<Scalars['String']['output']>;
6351
+ notEnoughData: Scalars['Boolean']['output'];
6352
+ /** Live budgets in other currencies. Spend recorded on any of them makes the ROI CURRENCY_MISMATCH. */
6353
+ otherCurrencyBudgetCount: Scalars['Int']['output'];
6354
+ projectId: Scalars['ID']['output'];
6355
+ projectName: Scalars['String']['output'];
6356
+ /** Exact decimal string; null when not recorded. */
6357
+ realizedBenefit?: Maybe<Scalars['String']['output']>;
6358
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
6359
+ /** A ratio (0.5 = 50%). Null when not computable — see reason. */
6360
+ roi?: Maybe<Scalars['Float']['output']>;
6361
+ };
5370
6362
  export declare enum PlanmagnetProjectStatus {
5371
6363
  Active = "ACTIVE",
5372
6364
  Archived = "ARCHIVED",
@@ -5417,6 +6409,33 @@ export type PlanmagnetProjectWorkflow = {
5417
6409
  /** Allowed moves (read only when enforceTransitions is true) */
5418
6410
  transitions: Array<PlanmagnetWorkflowTransition>;
5419
6411
  };
6412
+ /**
6413
+ * Reopen rate = items completed in the window that later moved from DONE back to an open status (anything but DONE or
6414
+ * CANCELLED) within the window ÷ items completed in the window. Bugs: created in the window, and resolved in the window
6415
+ * (BUG transitions into DONE — the planmagnetQualityMetrics definition). Gates: reviewed in the window (reviewedAt —
6416
+ * the planmagnetQualityMetrics definition), failure rate by phase; gates are per project, so a productId makes
6417
+ * gateFailureRate FILTER_NOT_APPLICABLE.
6418
+ */
6419
+ export type PlanmagnetQualityAreas = {
6420
+ __typename?: 'PlanmagnetQualityAreas';
6421
+ bugsCreated: Scalars['Int']['output'];
6422
+ bugsResolved: Scalars['Int']['output'];
6423
+ gateFailureRate: PlanmagnetBusinessIntelligenceRatio;
6424
+ /** Highest failure rate first. */
6425
+ gatePhases: Array<PlanmagnetGatePhaseFailure>;
6426
+ notEnoughData: Scalars['Boolean']['output'];
6427
+ /**
6428
+ * Open bugs at the window end minus open bugs at its start, from the recorded transitions (each records the status
6429
+ * before and after the move). Null when the history read was truncated.
6430
+ */
6431
+ openBugChange?: Maybe<Scalars['Int']['output']>;
6432
+ /** Projects with completed work or bugs in the window, highest reopen rate first. */
6433
+ projects: Array<PlanmagnetProjectQuality>;
6434
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
6435
+ reopenRate: PlanmagnetBusinessIntelligenceRatio;
6436
+ /** More than 5,000 items or 50,000 history rows: reopen rates and openBugChange are null; bug/gate aggregates remain exact. */
6437
+ truncated: Scalars['Boolean']['output'];
6438
+ };
5420
6439
  export type PlanmagnetQualityGateFilter = {
5421
6440
  milestoneId?: InputMaybe<Scalars['String']['input']>;
5422
6441
  phase?: InputMaybe<Scalars['String']['input']>;
@@ -5668,10 +6687,20 @@ export type PlanmagnetReportDefinitionInput = {
5668
6687
  widgets: Array<PlanmagnetReportWidgetInput>;
5669
6688
  };
5670
6689
  /**
5671
- * Set only on a SCHEDULE run's persisted ReportRun.deliveryStatus (ANR-15). PlanMagnet has no notification/email
5672
- * delivery yet (Linear BOFF-7927) — a scheduled run's recipients read it in-app instead (planmagnetReportRuns).
6690
+ * Set only on a SCHEDULE run's persisted ReportRun.deliveryStatus (ANR-15), null for MANUAL runs. It records what the
6691
+ * schedule's in-app notification step did. NOTIFIED means the notification service ACCEPTED every notification — not that
6692
+ * anyone opened it; recipients always read the run in-app (planmagnetReportRuns / planmagnetReportRun) either way.
5673
6693
  */
5674
6694
  export declare enum PlanmagnetReportDeliveryStatus {
6695
+ /** There were recipients to notify but none was accepted (or the workspace member list could not be read). */
6696
+ NotificationFailed = "NOTIFICATION_FAILED",
6697
+ /** Every still-active recipient's in-app notification was accepted by the notification service. */
6698
+ Notified = "NOTIFIED",
6699
+ /** The schedule names no recipient who is still an active workspace member — nothing to deliver. */
6700
+ NoRecipients = "NO_RECIPIENTS",
6701
+ /** Some, but not all, recipients' notifications were accepted. */
6702
+ PartiallyNotified = "PARTIALLY_NOTIFIED",
6703
+ /** The run exists but no delivery was attempted (notifications are not configured in this environment, or the run predates delivery). */
5675
6704
  PendingNotifications = "PENDING_NOTIFICATIONS"
5676
6705
  }
5677
6706
  export type PlanmagnetReportExport = {
@@ -5895,6 +6924,28 @@ export declare enum PlanmagnetResourceForecastScopeType {
5895
6924
  Project = "PROJECT",
5896
6925
  Team = "TEAM"
5897
6926
  }
6927
+ /**
6928
+ * Two flags, each naming the rule that fired: a required skill with open demand and no qualified active member
6929
+ * (planmagnetSkillCoverage UNCOVERED), and urgent work left unassigned. "Qualified people idle" is NOT reported until
6930
+ * CWF-28 supplies real availability. Both are as of now, not windowed.
6931
+ */
6932
+ export type PlanmagnetResourceOptimization = {
6933
+ __typename?: 'PlanmagnetResourceOptimization';
6934
+ /** True when skill coverage is unknown (SKILL_DATA_UNAVAILABLE); the urgent-unassigned rule is still evaluated. */
6935
+ notEnoughData: Scalars['Boolean']['output'];
6936
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
6937
+ /** More than 5,000 open items in scope require a skill: demand covers the 5,000 oldest. */
6938
+ skillDemandTruncated: Scalars['Boolean']['output'];
6939
+ /** Skills that open work in scope requires — the sample uncoveredSkills is drawn from. */
6940
+ skillsWithDemand: Scalars['Int']['output'];
6941
+ uncoveredSkills: Array<PlanmagnetSkillCoverage>;
6942
+ /** Open CRITICAL/HIGH items in scope — the sample urgentUnassignedCount is drawn from. */
6943
+ urgentOpenCount: Scalars['Int']['output'];
6944
+ urgentThresholdDays: Scalars['Int']['output'];
6945
+ /** CRITICAL before HIGH, oldest first; at most 100 (urgentUnassignedCount is the full count). */
6946
+ urgentUnassigned: Array<PlanmagnetUrgentUnassignedItem>;
6947
+ urgentUnassignedCount: Scalars['Int']['output'];
6948
+ };
5898
6949
  export type PlanmagnetReviewQualityGateInput = {
5899
6950
  reviewNotes?: InputMaybe<Scalars['String']['input']>;
5900
6951
  status: QualityGateStatus;
@@ -6231,6 +7282,21 @@ export type PlanmagnetRoadmapVersionSummary = {
6231
7282
  note?: Maybe<Scalars['String']['output']>;
6232
7283
  roadmapId: Scalars['ID']['output'];
6233
7284
  };
7285
+ /** ROI to date — not windowed: the realized benefit as recorded, against everything spent so far. */
7286
+ export type PlanmagnetRoiAnalysis = {
7287
+ __typename?: 'PlanmagnetRoiAnalysis';
7288
+ /** One row per currency only when the project read is complete; never a sum over a capped subset. */
7289
+ byCurrency: Array<PlanmagnetCurrencyRoi>;
7290
+ notEnoughData: Scalars['Boolean']['output'];
7291
+ projectCount: Scalars['Int']['output'];
7292
+ /** Live projects in scope, by name (at most 1,000 — see truncated). */
7293
+ projects: Array<PlanmagnetProjectRoi>;
7294
+ /** Projects with a benefit in the complete scope; null when the project read is capped. */
7295
+ projectsWithBenefit?: Maybe<Scalars['Int']['output']>;
7296
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
7297
+ /** More than 1,000 projects: projects contains the first 1,000; scope totals are withheld (TRUNCATED). */
7298
+ truncated: Scalars['Boolean']['output'];
7299
+ };
6234
7300
  /**
6235
7301
  * CSAT: a 1-5 answer, 4-5 counted as satisfied. NPS: a 0-10 answer, 9-10 promoters, 7-8 passives, 0-6 detractors.
6236
7302
  * TEXT-backed in Prisma; this enum (and the service) is the only validator.
@@ -6611,6 +7677,57 @@ export type PlanmagnetStatusFlowEdge = {
6611
7677
  fromStatus: WorkItemStatus;
6612
7678
  toStatus: WorkItemStatus;
6613
7679
  };
7680
+ /** One open status in the window: how many items entered and left it, and how long items waited in it before leaving. */
7681
+ export type PlanmagnetStatusQueue = {
7682
+ __typename?: 'PlanmagnetStatusQueue';
7683
+ /** Exits in the window whose entry is recorded — the dwell sample. */
7684
+ dwellSampleSize: Scalars['Int']['output'];
7685
+ /** Transitions into the status in the window (creation into it included). */
7686
+ entered: Scalars['Int']['output'];
7687
+ /** entered − left; above 0 the queue grew. */
7688
+ growth: Scalars['Int']['output'];
7689
+ /** Transitions out of the status in the window. */
7690
+ left: Scalars['Int']['output'];
7691
+ /** Null below minimumSample or when dwell history was capped. */
7692
+ medianDwellHours?: Maybe<Scalars['Float']['output']>;
7693
+ notEnoughData: Scalars['Boolean']['output'];
7694
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
7695
+ status: WorkItemStatus;
7696
+ };
7697
+ /** ANR-12: who or what made a recorded status change — decided by the server-side write path, never by the caller. */
7698
+ export declare enum PlanmagnetStatusTransitionSource {
7699
+ /** An AI action (reserved: no AI path changes a status yet) */
7700
+ Ai = "AI",
7701
+ /** An automation rule's SET_STATUS action (automationRuleId names the rule) */
7702
+ Automation = "AUTOMATION",
7703
+ /** A status taken from an external tool by a sync or an accepted sync conflict */
7704
+ Import = "IMPORT",
7705
+ /** The platform itself, reacting to an integration event (e.g. the linked pull request merged) */
7706
+ System = "SYSTEM",
7707
+ /** A person's direct change: create, update, move, bulk update, or a board card move */
7708
+ User = "USER"
7709
+ }
7710
+ /**
7711
+ * Work completed in the window (a live item with a transition into DONE in the window, counted once) that contributes
7712
+ * to an ACTIVE objective: the item, or its epic (its parent or grandparent of type EPIC), is linked to a live key result
7713
+ * of an ACTIVE objective. Unlinked completed work stays in the denominator. Story points are the items' current
7714
+ * estimates; an item without one counts 0 points.
7715
+ */
7716
+ export type PlanmagnetStrategicAlignment = {
7717
+ __typename?: 'PlanmagnetStrategicAlignment';
7718
+ /** Aligned items ÷ completed items. */
7719
+ byCount: PlanmagnetBusinessIntelligenceRatio;
7720
+ /** Aligned story points ÷ completed story points. */
7721
+ byPoints: PlanmagnetBusinessIntelligenceRatio;
7722
+ notEnoughData: Scalars['Boolean']['output'];
7723
+ reason?: Maybe<PlanmagnetBusinessIntelligenceReason>;
7724
+ /** Theme totals are withheld when the completed-item read is capped. */
7725
+ themes: Array<PlanmagnetAlignmentTheme>;
7726
+ /** More than 5,000 items completed: ratios are null and themes withheld; no partial figure is presented. */
7727
+ truncated: Scalars['Boolean']['output'];
7728
+ /** Completed items without an estimate among the bounded rows (0 points in byPoints). */
7729
+ unestimatedCount: Scalars['Int']['output'];
7730
+ };
6614
7731
  export declare enum PlanmagnetSuccessLikelihood {
6615
7732
  High = "HIGH",
6616
7733
  Low = "LOW",
@@ -7057,6 +8174,11 @@ export type PlanmagnetUpdateBudgetInput = {
7057
8174
  status?: InputMaybe<BudgetStatus>;
7058
8175
  };
7059
8176
  export type PlanmagnetUpdateCompetitorInput = {
8177
+ /**
8178
+ * ANR-12: the structured capability list, replaced as a whole (at most 100 entries). Null clears it; omit it to leave
8179
+ * it alone.
8180
+ */
8181
+ capabilities?: InputMaybe<Array<PlanmagnetCompetitorCapabilityInput>>;
7060
8182
  description?: InputMaybe<Scalars['String']['input']>;
7061
8183
  features?: InputMaybe<Scalars['JSON']['input']>;
7062
8184
  metadata?: InputMaybe<Scalars['JSON']['input']>;
@@ -7280,6 +8402,44 @@ export type PlanmagnetUpdateProductInput = {
7280
8402
  valueProposition?: InputMaybe<Scalars['String']['input']>;
7281
8403
  vision?: InputMaybe<Scalars['String']['input']>;
7282
8404
  };
8405
+ /**
8406
+ * An omitted field keeps its value. Reorder with planmagnetReorderProductLaunchChecklist; complete or reopen with
8407
+ * planmagnetSetProductLaunchChecklistItemDone.
8408
+ */
8409
+ export type PlanmagnetUpdateProductLaunchChecklistItemInput = {
8410
+ /** Cannot be cleared. */
8411
+ category?: InputMaybe<PlanmagnetProductLaunchChecklistCategory>;
8412
+ /** Null clears it. */
8413
+ dueDate?: InputMaybe<Scalars['DateTime']['input']>;
8414
+ isRequired?: InputMaybe<Scalars['Boolean']['input']>;
8415
+ /** Cannot be cleared. */
8416
+ label?: InputMaybe<Scalars['String']['input']>;
8417
+ /** Null clears it. */
8418
+ ownerId?: InputMaybe<Scalars['ID']['input']>;
8419
+ };
8420
+ /**
8421
+ * `productId` is deliberately absent: a launch stays with the product it was created under. An omitted field keeps its
8422
+ * value.
8423
+ */
8424
+ export type PlanmagnetUpdateProductLaunchInput = {
8425
+ /** Cannot be cleared. */
8426
+ name?: InputMaybe<Scalars['String']['input']>;
8427
+ /** Null clears it. */
8428
+ releaseId?: InputMaybe<Scalars['ID']['input']>;
8429
+ /** Null clears it. */
8430
+ roadmapItemId?: InputMaybe<Scalars['ID']['input']>;
8431
+ /**
8432
+ * Cannot be cleared. LAUNCHED stamps launchedAt; PLANNING or READY clears it. LAUNCHED -> CANCELLED and
8433
+ * CANCELLED -> LAUNCHED are refused. A status that changed meanwhile is CONFLICT.
8434
+ */
8435
+ status?: InputMaybe<PlanmagnetProductLaunchStatus>;
8436
+ /** Null clears it. */
8437
+ strategySummary?: InputMaybe<Scalars['String']['input']>;
8438
+ /** Replaces the whole list; null empties it. */
8439
+ successCriteria?: InputMaybe<Array<PlanmagnetProductLaunchSuccessCriterionInput>>;
8440
+ /** Cannot be cleared. Due dates already on the checklist are not moved. */
8441
+ targetLaunchDate?: InputMaybe<Scalars['DateTime']['input']>;
8442
+ };
7283
8443
  export type PlanmagnetUpdateProductLineInput = {
7284
8444
  /** Null clears it. */
7285
8445
  description?: InputMaybe<Scalars['String']['input']>;
@@ -7289,6 +8449,31 @@ export type PlanmagnetUpdateProductLineInput = {
7289
8449
  /** Null clears it. */
7290
8450
  ownerId?: InputMaybe<Scalars['String']['input']>;
7291
8451
  };
8452
+ /**
8453
+ * `productId` is absent: use the dedicated link/unlink mutations to change memberships. An omitted field keeps its value.
8454
+ * Refused while the persona is archived — unarchive it first.
8455
+ */
8456
+ export type PlanmagnetUpdateProductPersonaInput = {
8457
+ /** Null clears it to an empty list. */
8458
+ goals?: InputMaybe<Array<Scalars['String']['input']>>;
8459
+ /** Cannot be cleared. */
8460
+ name?: InputMaybe<Scalars['String']['input']>;
8461
+ /** Null clears it to an empty list. */
8462
+ needs?: InputMaybe<Array<Scalars['String']['input']>>;
8463
+ /** Null clears it to an empty list. */
8464
+ painPoints?: InputMaybe<Array<Scalars['String']['input']>>;
8465
+ /** Null clears it. */
8466
+ roleTitle?: InputMaybe<Scalars['String']['input']>;
8467
+ /** Null clears it. */
8468
+ segment?: InputMaybe<Scalars['String']['input']>;
8469
+ /**
8470
+ * DRAFT or VALIDATED; cannot be cleared. Becoming VALIDATED stamps validatedAt, going back to DRAFT clears it. ARCHIVED
8471
+ * is refused — use planmagnetArchiveProductPersona.
8472
+ */
8473
+ status?: InputMaybe<PlanmagnetProductPersonaStatus>;
8474
+ /** Cannot be cleared. */
8475
+ summary?: InputMaybe<Scalars['String']['input']>;
8476
+ };
7292
8477
  export type PlanmagnetUpdateProgramInput = {
7293
8478
  budgetTotal?: InputMaybe<Scalars['Float']['input']>;
7294
8479
  currency?: InputMaybe<Scalars['String']['input']>;
@@ -7302,6 +8487,15 @@ export type PlanmagnetUpdateProgramInput = {
7302
8487
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
7303
8488
  };
7304
8489
  export type PlanmagnetUpdateProjectInput = {
8490
+ /** ISO 4217 code of `realizedBenefitAmount` (three letters, e.g. "USD"). Sent together with it. */
8491
+ benefitCurrency?: InputMaybe<Scalars['String']['input']>;
8492
+ /** When the benefit was measured — not in the future. Needs an amount: in this update, or already stored. Null clears it. */
8493
+ benefitMeasuredAt?: InputMaybe<Scalars['DateTime']['input']>;
8494
+ /**
8495
+ * How the benefit was measured, or its source — at most 2000 characters. Needs an amount, like `benefitMeasuredAt`.
8496
+ * Null or blank clears it.
8497
+ */
8498
+ benefitNote?: InputMaybe<Scalars['String']['input']>;
7305
8499
  defaultAssigneeId?: InputMaybe<Scalars['String']['input']>;
7306
8500
  description?: InputMaybe<Scalars['String']['input']>;
7307
8501
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
@@ -7316,6 +8510,12 @@ export type PlanmagnetUpdateProjectInput = {
7316
8510
  */
7317
8511
  portfolioId?: InputMaybe<Scalars['String']['input']>;
7318
8512
  programId?: InputMaybe<Scalars['String']['input']>;
8513
+ /**
8514
+ * ANR-12: the realized benefit — a plain decimal string, 0 or more, at most 20 digits before the point and 2 after
8515
+ * (no sign, grouping separator or exponent). Send it TOGETHER with `benefitCurrency`: both set, or both null to clear
8516
+ * the realized benefit (which also clears `benefitMeasuredAt` and `benefitNote`). Omit both to leave them alone.
8517
+ */
8518
+ realizedBenefitAmount?: InputMaybe<Scalars['String']['input']>;
7319
8519
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
7320
8520
  status?: InputMaybe<PlanmagnetProjectStatus>;
7321
8521
  /** Legacy tag input. Use `tagsV2` for canonical [{key,value}] shape (marqueue §251). */
@@ -7412,6 +8612,10 @@ export type PlanmagnetUpdateRoadmapInput = {
7412
8612
  name?: InputMaybe<Scalars['String']['input']>;
7413
8613
  ownerId?: InputMaybe<Scalars['String']['input']>;
7414
8614
  planningFocus?: InputMaybe<RoadmapPlanningFocus>;
8615
+ /**
8616
+ * Reassigning a roadmap to a Product is refused when one of its items is linked to another live Product's launch.
8617
+ * Unset (null) leaves a legacy roadmap available to any Product's launch; no launch item is copied or deleted.
8618
+ */
7415
8619
  productId?: InputMaybe<Scalars['String']['input']>;
7416
8620
  type?: InputMaybe<RoadmapType>;
7417
8621
  };
@@ -7511,6 +8715,20 @@ export type PlanmagnetUpdateWorkItemLinkInput = {
7511
8715
  metadata?: InputMaybe<Scalars['JSON']['input']>;
7512
8716
  relationType?: InputMaybe<WorkItemLinkRelation>;
7513
8717
  };
8718
+ /** An open CRITICAL or HIGH item with no assignee for more than urgentThresholdDays. */
8719
+ export type PlanmagnetUrgentUnassignedItem = {
8720
+ __typename?: 'PlanmagnetUrgentUnassignedItem';
8721
+ key: Scalars['String']['output'];
8722
+ priority: WorkItemPriority;
8723
+ projectId: Scalars['ID']['output'];
8724
+ title: Scalars['String']['output'];
8725
+ /**
8726
+ * The later of the item's creation and its last recorded un-assignment (assignment changes are recorded from
8727
+ * 2026-09-30 on).
8728
+ */
8729
+ unassignedSince: Scalars['DateTime']['output'];
8730
+ workItemId: Scalars['ID']['output'];
8731
+ };
7514
8732
  /**
7515
8733
  * Value-vs-Effort quadrant, derived server-side from valueScore/effortScore (never stored — see
7516
8734
  * FeatureRequest.valueEffortQuadrant). Boundaries (both scores are 1..10): QUICK_WIN = value >= 6 & effort <= 5;
@@ -7796,6 +9014,8 @@ export type PlanmagnetWorkItemActivityEvent = {
7796
9014
  /** Actor who did it */
7797
9015
  actorId?: Maybe<Scalars['String']['output']>;
7798
9016
  at: Scalars['DateTime']['output'];
9017
+ /** The automation rule that made the change (transitionSource AUTOMATION only) */
9018
+ automationRuleId?: Maybe<Scalars['String']['output']>;
7799
9019
  /** The comment (COMMENTED) */
7800
9020
  commentId?: Maybe<Scalars['String']['output']>;
7801
9021
  /** The start of the comment (COMMENTED) */
@@ -7814,6 +9034,11 @@ export type PlanmagnetWorkItemActivityEvent = {
7814
9034
  toStatus?: Maybe<Scalars['String']['output']>;
7815
9035
  /** The field's value after the change (FIELD_CHANGED); null means it became unset */
7816
9036
  toValue?: Maybe<Scalars['String']['output']>;
9037
+ /**
9038
+ * Who or what made the change (CREATED from the transition log, STATUS_CHANGED — ANR-12). Null for every other event
9039
+ * and for changes recorded before 2026-10-02, whose origin was never captured.
9040
+ */
9041
+ transitionSource?: Maybe<PlanmagnetStatusTransitionSource>;
7817
9042
  };
7818
9043
  export type PlanmagnetWorkItemBreakdownResult = {
7819
9044
  __typename?: 'PlanmagnetWorkItemBreakdownResult';
@@ -8145,6 +9370,21 @@ export type PlanmagnetWorkspaceEditorList = {
8145
9370
  pageInfo: PlanmagnetPageInfo;
8146
9371
  totalCount: Scalars['Int']['output'];
8147
9372
  };
9373
+ export type PlanmagnetWorkspaceErasure = {
9374
+ __typename?: 'PlanmagnetWorkspaceErasure';
9375
+ /** Per-model row counts removed, keyed by Prisma model name */
9376
+ counts?: Maybe<Scalars['JSON']['output']>;
9377
+ eraseAfter: Scalars['DateTime']['output'];
9378
+ erasedAt?: Maybe<Scalars['DateTime']['output']>;
9379
+ failureCount: Scalars['Int']['output'];
9380
+ lastError?: Maybe<Scalars['String']['output']>;
9381
+ nextAttemptAt: Scalars['DateTime']['output'];
9382
+ requestedAt: Scalars['DateTime']['output'];
9383
+ requestedBy: Scalars['String']['output'];
9384
+ source: Scalars['String']['output'];
9385
+ status: Scalars['String']['output'];
9386
+ workspaceId: Scalars['String']['output'];
9387
+ };
8148
9388
  /**
8149
9389
  * A strategic grouping of programs and projects for executive-level
8150
9390
  * oversight, resource allocation, and alignment tracking.
@@ -8225,6 +9465,13 @@ export type Product = {
8225
9465
  */
8226
9466
  features: Array<PlanmagnetProductFeature>;
8227
9467
  id: Scalars['ID']['output'];
9468
+ /**
9469
+ * PRM-04: this product's latest market-size estimate — the newest as-of date, then the most recently recorded. Null
9470
+ * when none has been recorded. Batched per request.
9471
+ */
9472
+ latestMarketSizing?: Maybe<PlanmagnetProductMarketSizing>;
9473
+ /** PRM-04: this product's launch plans, soonest target launch date first. Batched per request. */
9474
+ launches: Array<PlanmagnetProductLaunch>;
8228
9475
  lifecycleStage: PlanmagnetProductLifecycleStage;
8229
9476
  metadata?: Maybe<Scalars['JSON']['output']>;
8230
9477
  /** Product strategy narrative (PRM-02). At most 2000 characters. Null when never set. */
@@ -8234,6 +9481,11 @@ export type Product = {
8234
9481
  objectives: Array<PlanmagnetObjective>;
8235
9482
  onBehalfOf?: Maybe<Scalars['String']['output']>;
8236
9483
  ownerId: Scalars['String']['output'];
9484
+ /**
9485
+ * PRM-04: who this product is for, newest first, from authoritative workspace-constrained memberships.
9486
+ * Archived Personas are left out unless `includeArchived` is true. Batched per request.
9487
+ */
9488
+ personas: Array<PlanmagnetProductPersona>;
8237
9489
  /** PRM-01: the product line, when set and not deleted. Still returned while the line is archived. */
8238
9490
  productLine?: Maybe<PlanmagnetProductLine>;
8239
9491
  /**
@@ -8260,6 +9512,9 @@ export type Product = {
8260
9512
  export type ProductFeaturesArgs = {
8261
9513
  includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
8262
9514
  };
9515
+ export type ProductPersonasArgs = {
9516
+ includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
9517
+ };
8263
9518
  /**
8264
9519
  * A high-level container grouping related projects together for portfolio
8265
9520
  * visibility and cross-project budget tracking.
@@ -8476,6 +9731,13 @@ export type Query = {
8476
9731
  planmagnetBudgetExpenses: PlanmagnetBudgetExpenseList;
8477
9732
  /** List budgets in a workspace */
8478
9733
  planmagnetBudgets: PlanmagnetBudgetList;
9734
+ /**
9735
+ * ANR-12 business intelligence: ROI, strategic alignment, resource flags, market impact, competitive parity, flow
9736
+ * efficiency, bottleneck, automation opportunities, quality areas and run-rate cost for one scope and window (default
9737
+ * the trailing 90 days). Server-computed from stored evidence only; each section is computed only when selected.
9738
+ * Gated like planmagnetPortfolioRollup (the ANR-12 MVP), whose budget figures it extends.
9739
+ */
9740
+ planmagnetBusinessIntelligence: PlanmagnetBusinessIntelligence;
8479
9741
  /** Get a single competitor by ID */
8480
9742
  planmagnetCompetitor?: Maybe<Competitor>;
8481
9743
  /** List competitors in a workspace */
@@ -8661,9 +9923,29 @@ export type Query = {
8661
9923
  planmagnetProductFeature?: Maybe<PlanmagnetProductFeature>;
8662
9924
  /** A product's features, newest first. `productId` must be a live product of this workspace, else NOT_FOUND. */
8663
9925
  planmagnetProductFeatures: PlanmagnetProductFeatureList;
9926
+ /** Null when it does not exist in this workspace, was deleted, or its product was. */
9927
+ planmagnetProductLaunch?: Maybe<PlanmagnetProductLaunch>;
9928
+ /** The built-in go-to-market templates, in the caller's language. */
9929
+ planmagnetProductLaunchTemplates: Array<PlanmagnetProductLaunchTemplate>;
9930
+ /**
9931
+ * A product's launches, soonest target launch date first. `productId` must be a live product of this workspace, else
9932
+ * NOT_FOUND.
9933
+ */
9934
+ planmagnetProductLaunches: PlanmagnetProductLaunchList;
8664
9935
  /** Null when it does not exist in this workspace or was deleted. */
8665
9936
  planmagnetProductLine?: Maybe<PlanmagnetProductLine>;
8666
9937
  planmagnetProductLines: PlanmagnetProductLineList;
9938
+ /** Null when it does not exist in this workspace, was deleted, or its product was. */
9939
+ planmagnetProductMarketSizing?: Maybe<PlanmagnetProductMarketSizing>;
9940
+ /**
9941
+ * A product's estimates, newest first (as-of date, then recording time). `productId` must be a live product of this
9942
+ * workspace, else NOT_FOUND.
9943
+ */
9944
+ planmagnetProductMarketSizings: PlanmagnetProductMarketSizingList;
9945
+ /** Null when it does not exist in this workspace or was deleted; Product deletion does not hide the Persona. */
9946
+ planmagnetProductPersona?: Maybe<PlanmagnetProductPersona>;
9947
+ /** A product's personas, newest first. `productId` must be a live product of this workspace, else NOT_FOUND. */
9948
+ planmagnetProductPersonas: PlanmagnetProductPersonaList;
8667
9949
  planmagnetProducts: PlanmagnetProductList;
8668
9950
  /** Get a single program by ID */
8669
9951
  planmagnetProgram?: Maybe<Program>;
@@ -8902,6 +10184,13 @@ export type Query = {
8902
10184
  planmagnetWorkItems: PlanmagnetWorkItemList;
8903
10185
  /** List the users who currently hold billable editor access to a workspace. */
8904
10186
  planmagnetWorkspaceEditors: PlanmagnetWorkspaceEditorList;
10187
+ /** The erasure record of the request's workspace, if one was ever requested (admin) */
10188
+ planmagnetWorkspaceErasure?: Maybe<PlanmagnetWorkspaceErasure>;
10189
+ /**
10190
+ * RBAC-protected workspace Persona library, newest first, including Personas with no live Product after a delete.
10191
+ * `workspaceId` must match the request workspace. Archived Personas are hidden unless requested in the filter.
10192
+ */
10193
+ planmagnetWorkspacePersonas: PlanmagnetProductPersonaList;
8905
10194
  /** Get a PlanMagnet workspace quota overview (counts + billing limits). */
8906
10195
  planmagnetWorkspaceQuotaOverview: PlanmagnetQuotaOverview;
8907
10196
  };
@@ -8974,6 +10263,10 @@ export type QueryPlanmagnetBudgetsArgs = {
8974
10263
  pagination?: InputMaybe<PlanmagnetPaginationInput>;
8975
10264
  workspaceId: Scalars['ID']['input'];
8976
10265
  };
10266
+ export type QueryPlanmagnetBusinessIntelligenceArgs = {
10267
+ filter?: InputMaybe<PlanmagnetBusinessIntelligenceFilter>;
10268
+ workspaceId: Scalars['ID']['input'];
10269
+ };
8977
10270
  export type QueryPlanmagnetCompetitorArgs = {
8978
10271
  id: Scalars['ID']['input'];
8979
10272
  };
@@ -9181,6 +10474,15 @@ export type QueryPlanmagnetProductFeaturesArgs = {
9181
10474
  productId: Scalars['ID']['input'];
9182
10475
  workspaceId: Scalars['ID']['input'];
9183
10476
  };
10477
+ export type QueryPlanmagnetProductLaunchArgs = {
10478
+ id: Scalars['ID']['input'];
10479
+ };
10480
+ export type QueryPlanmagnetProductLaunchesArgs = {
10481
+ filter?: InputMaybe<PlanmagnetProductLaunchFilter>;
10482
+ pagination?: InputMaybe<PlanmagnetPaginationInput>;
10483
+ productId: Scalars['ID']['input'];
10484
+ workspaceId: Scalars['ID']['input'];
10485
+ };
9184
10486
  export type QueryPlanmagnetProductLineArgs = {
9185
10487
  id: Scalars['ID']['input'];
9186
10488
  };
@@ -9189,6 +10491,23 @@ export type QueryPlanmagnetProductLinesArgs = {
9189
10491
  pagination?: InputMaybe<PlanmagnetPaginationInput>;
9190
10492
  workspaceId: Scalars['ID']['input'];
9191
10493
  };
10494
+ export type QueryPlanmagnetProductMarketSizingArgs = {
10495
+ id: Scalars['ID']['input'];
10496
+ };
10497
+ export type QueryPlanmagnetProductMarketSizingsArgs = {
10498
+ pagination?: InputMaybe<PlanmagnetPaginationInput>;
10499
+ productId: Scalars['ID']['input'];
10500
+ workspaceId: Scalars['ID']['input'];
10501
+ };
10502
+ export type QueryPlanmagnetProductPersonaArgs = {
10503
+ id: Scalars['ID']['input'];
10504
+ };
10505
+ export type QueryPlanmagnetProductPersonasArgs = {
10506
+ filter?: InputMaybe<PlanmagnetProductPersonaFilter>;
10507
+ pagination?: InputMaybe<PlanmagnetPaginationInput>;
10508
+ productId: Scalars['ID']['input'];
10509
+ workspaceId: Scalars['ID']['input'];
10510
+ };
9192
10511
  export type QueryPlanmagnetProductsArgs = {
9193
10512
  filter?: InputMaybe<PlanmagnetProductFilter>;
9194
10513
  pagination?: InputMaybe<PlanmagnetPaginationInput>;
@@ -9476,6 +10795,11 @@ export type QueryPlanmagnetWorkspaceEditorsArgs = {
9476
10795
  pagination?: InputMaybe<PlanmagnetPaginationInput>;
9477
10796
  workspaceId: Scalars['ID']['input'];
9478
10797
  };
10798
+ export type QueryPlanmagnetWorkspacePersonasArgs = {
10799
+ filter?: InputMaybe<PlanmagnetProductPersonaFilter>;
10800
+ pagination?: InputMaybe<PlanmagnetPaginationInput>;
10801
+ workspaceId: Scalars['ID']['input'];
10802
+ };
9479
10803
  export type QueryPlanmagnetWorkspaceQuotaOverviewArgs = {
9480
10804
  workspaceId: Scalars['ID']['input'];
9481
10805
  };