@burdenoff/microfe-planmagnet 2026.720.1 → 2026.726.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.
@@ -58,104 +58,6 @@ export type Scalars = {
58
58
  output: File;
59
59
  };
60
60
  };
61
- /** A record of an automation rule execution. */
62
- export type AutomationExecution = {
63
- __typename?: 'AutomationExecution';
64
- /** Completion timestamp */
65
- completedAt?: Maybe<Scalars['DateTime']['output']>;
66
- /** Execution duration in milliseconds */
67
- durationMs?: Maybe<Scalars['Int']['output']>;
68
- /** Error message if failed */
69
- errorMessage?: Maybe<Scalars['String']['output']>;
70
- /** Execution timestamp */
71
- executedAt: Scalars['DateTime']['output'];
72
- /** Unique identifier */
73
- id: Scalars['ID']['output'];
74
- /** Execution result / output */
75
- result?: Maybe<Scalars['JSON']['output']>;
76
- /** Parent rule */
77
- rule?: Maybe<AutomationRule>;
78
- /** Parent automation rule ID */
79
- ruleId: Scalars['String']['output'];
80
- /** Execution status */
81
- status: AutomationExecutionStatus;
82
- /** Trigger data that initiated this execution */
83
- triggerData?: Maybe<Scalars['JSON']['output']>;
84
- };
85
- export declare enum AutomationExecutionStatus {
86
- Failure = "FAILURE",
87
- Pending = "PENDING",
88
- Running = "RUNNING",
89
- Skipped = "SKIPPED",
90
- Success = "SUCCESS"
91
- }
92
- /**
93
- * A rule that automates project management tasks based on triggers,
94
- * conditions, and actions.
95
- */
96
- export type AutomationRule = {
97
- __typename?: 'AutomationRule';
98
- /** Actions to execute (JSON array) */
99
- actions: Scalars['JSON']['output'];
100
- /** Conditions that must be met (JSON array) */
101
- conditions?: Maybe<Scalars['JSON']['output']>;
102
- /** Creation timestamp */
103
- createdAt: Scalars['DateTime']['output'];
104
- /** Actor who created this rule */
105
- createdBy: Scalars['String']['output'];
106
- /** Soft-delete timestamp */
107
- deletedAt?: Maybe<Scalars['DateTime']['output']>;
108
- /** Rule description */
109
- description?: Maybe<Scalars['String']['output']>;
110
- /** Execution count */
111
- executionCount: Scalars['Int']['output'];
112
- /** Unique identifier */
113
- id: Scalars['ID']['output'];
114
- /** Last execution timestamp */
115
- lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
116
- /** Arbitrary metadata */
117
- metadata?: Maybe<Scalars['JSON']['output']>;
118
- /** Rule name */
119
- name: Scalars['String']['output'];
120
- /** Actor on whose behalf this was created */
121
- onBehalfOf?: Maybe<Scalars['String']['output']>;
122
- /** Parent project */
123
- project?: Maybe<PlanmagnetProject>;
124
- /** Parent project ID */
125
- projectId: Scalars['String']['output'];
126
- /** Sort order */
127
- sortOrder: Scalars['Int']['output'];
128
- /** Current status */
129
- status: AutomationStatus;
130
- /** Trigger configuration (JSON) */
131
- triggerConfig: Scalars['JSON']['output'];
132
- /** Trigger type */
133
- triggerType: AutomationTriggerType;
134
- /** Last update timestamp */
135
- updatedAt: Scalars['DateTime']['output'];
136
- /** Actor who last updated this rule */
137
- updatedBy?: Maybe<Scalars['String']['output']>;
138
- /** Associated workspace ID */
139
- workspaceId: Scalars['String']['output'];
140
- };
141
- export declare enum AutomationStatus {
142
- Active = "ACTIVE",
143
- Disabled = "DISABLED",
144
- Error = "ERROR",
145
- Paused = "PAUSED"
146
- }
147
- export declare enum AutomationTriggerType {
148
- Manual = "MANUAL",
149
- MilestoneDue = "MILESTONE_DUE",
150
- Schedule = "SCHEDULE",
151
- SprintCompleted = "SPRINT_COMPLETED",
152
- SprintStarted = "SPRINT_STARTED",
153
- Webhook = "WEBHOOK",
154
- WorkItemAssigned = "WORK_ITEM_ASSIGNED",
155
- WorkItemCreated = "WORK_ITEM_CREATED",
156
- WorkItemStatusChanged = "WORK_ITEM_STATUS_CHANGED",
157
- WorkItemUpdated = "WORK_ITEM_UPDATED"
158
- }
159
61
  export declare enum BillingType {
160
62
  Billable = "BILLABLE",
161
63
  Internal = "INTERNAL",
@@ -626,7 +528,7 @@ export type Mutation = {
626
528
  /** Complete a sprint (transition to COMPLETED) */
627
529
  planmagnetCompleteSprint: Sprint;
628
530
  /** Create a new automation rule */
629
- planmagnetCreateAutomationRule: AutomationRule;
531
+ planmagnetCreateAutomationRule: PlanmagnetAutomationRule;
630
532
  /** Create a new board */
631
533
  planmagnetCreateBoard: Board;
632
534
  /** Create a column on a board */
@@ -719,8 +621,23 @@ export type Mutation = {
719
621
  planmagnetDeleteTimeEntry: Scalars['Boolean']['output'];
720
622
  /** Soft-delete a work item */
721
623
  planmagnetDeleteWorkItem: Scalars['Boolean']['output'];
722
- /** Manually execute an automation rule */
723
- planmagnetExecuteAutomationRule: AutomationExecution;
624
+ /**
625
+ * Manually request execution of an automation rule.
626
+ *
627
+ * NOT YET IMPLEMENTED: PlanMagnet has no automation execution engine. This
628
+ * mutation records an execution attempt with status FAILURE and an
629
+ * `errorMessage` of `NOT_IMPLEMENTED: ...`; it evaluates no `conditions`,
630
+ * dispatches no `actions`, and does not advance the rule's `executionCount` or
631
+ * `lastExecutedAt`.
632
+ *
633
+ * Because it performs no billable work it deliberately carries NO `@usage`
634
+ * directive — it previously declared
635
+ * `@usage(quotaName: "planmagnet.automation.runs_monthly", checkQuota: true, trackUsage: true)`
636
+ * and so consumed a customer's metered monthly automation runs for a no-op.
637
+ * Restore the `@usage` directive in the same change that lands a real
638
+ * evaluation + dispatch engine, not before.
639
+ */
640
+ planmagnetExecuteAutomationRule: PlanmagnetAutomationExecution;
724
641
  /** Export items to external tool */
725
642
  planmagnetExportToExternal: PlanmagnetSyncResult;
726
643
  /**
@@ -771,13 +688,13 @@ export type Mutation = {
771
688
  /** Submit a timesheet for approval */
772
689
  planmagnetSubmitTimesheet: PlanmagnetTimesheet;
773
690
  /** Toggle an automation rule (activate/pause) */
774
- planmagnetToggleAutomationRule: AutomationRule;
691
+ planmagnetToggleAutomationRule: PlanmagnetAutomationRule;
775
692
  /** Unlink a competitor from a feature request */
776
693
  planmagnetUnlinkCompetitorFromFeature: FeatureRequest;
777
694
  /** Remove a work item link */
778
695
  planmagnetUnlinkWorkItem: Scalars['Boolean']['output'];
779
696
  /** Update an existing automation rule */
780
- planmagnetUpdateAutomationRule: AutomationRule;
697
+ planmagnetUpdateAutomationRule: PlanmagnetAutomationRule;
781
698
  /** Update an existing board */
782
699
  planmagnetUpdateBoard: Board;
783
700
  /** Update a board column */
@@ -1085,7 +1002,7 @@ export type MutationPlanmagnetSubmitTimesheetArgs = {
1085
1002
  };
1086
1003
  export type MutationPlanmagnetToggleAutomationRuleArgs = {
1087
1004
  id: Scalars['ID']['input'];
1088
- status: AutomationStatus;
1005
+ status: PlanmagnetAutomationStatus;
1089
1006
  };
1090
1007
  export type MutationPlanmagnetUnlinkCompetitorFromFeatureArgs = {
1091
1008
  input: PlanmagnetLinkCompetitorInput;
@@ -1227,18 +1144,103 @@ export type PlanmagnetApplyTemplateInput = {
1227
1144
  export type PlanmagnetAssignWorkItemInput = {
1228
1145
  assigneeId: Scalars['String']['input'];
1229
1146
  };
1147
+ /** A record of an automation rule execution. */
1148
+ export type PlanmagnetAutomationExecution = {
1149
+ __typename?: 'PlanmagnetAutomationExecution';
1150
+ /** Completion timestamp */
1151
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
1152
+ /** Execution duration in milliseconds */
1153
+ durationMs?: Maybe<Scalars['Int']['output']>;
1154
+ /** Error message if failed */
1155
+ errorMessage?: Maybe<Scalars['String']['output']>;
1156
+ /** Execution timestamp */
1157
+ executedAt: Scalars['DateTime']['output'];
1158
+ /** Unique identifier */
1159
+ id: Scalars['ID']['output'];
1160
+ /** Execution result / output */
1161
+ result?: Maybe<Scalars['JSON']['output']>;
1162
+ /** Parent rule */
1163
+ rule?: Maybe<PlanmagnetAutomationRule>;
1164
+ /** Parent automation rule ID */
1165
+ ruleId: Scalars['String']['output'];
1166
+ /** Execution status */
1167
+ status: PlanmagnetAutomationExecutionStatus;
1168
+ /** Trigger data that initiated this execution */
1169
+ triggerData?: Maybe<Scalars['JSON']['output']>;
1170
+ };
1230
1171
  export type PlanmagnetAutomationExecutionFilter = {
1231
1172
  executedAfter?: InputMaybe<Scalars['DateTime']['input']>;
1232
1173
  executedBefore?: InputMaybe<Scalars['DateTime']['input']>;
1233
1174
  ruleId?: InputMaybe<Scalars['String']['input']>;
1234
- status?: InputMaybe<AutomationExecutionStatus>;
1175
+ status?: InputMaybe<PlanmagnetAutomationExecutionStatus>;
1235
1176
  };
1236
1177
  export type PlanmagnetAutomationExecutionList = {
1237
1178
  __typename?: 'PlanmagnetAutomationExecutionList';
1238
- items: Array<AutomationExecution>;
1179
+ items: Array<PlanmagnetAutomationExecution>;
1239
1180
  pageInfo: PlanmagnetPageInfo;
1240
1181
  totalCount: Scalars['Int']['output'];
1241
1182
  };
1183
+ export declare enum PlanmagnetAutomationExecutionStatus {
1184
+ Failure = "FAILURE",
1185
+ Pending = "PENDING",
1186
+ Running = "RUNNING",
1187
+ Skipped = "SKIPPED",
1188
+ Success = "SUCCESS"
1189
+ }
1190
+ /**
1191
+ * A rule that automates project management tasks based on triggers,
1192
+ * conditions, and actions.
1193
+ */
1194
+ export type PlanmagnetAutomationRule = {
1195
+ __typename?: 'PlanmagnetAutomationRule';
1196
+ /** Actions to execute (JSON array) */
1197
+ actions: Scalars['JSON']['output'];
1198
+ /** Conditions that must be met (JSON array) */
1199
+ conditions?: Maybe<Scalars['JSON']['output']>;
1200
+ /** Creation timestamp */
1201
+ createdAt: Scalars['DateTime']['output'];
1202
+ /** Actor who created this rule */
1203
+ createdBy: Scalars['String']['output'];
1204
+ /** Soft-delete timestamp */
1205
+ deletedAt?: Maybe<Scalars['DateTime']['output']>;
1206
+ /** Rule description */
1207
+ description?: Maybe<Scalars['String']['output']>;
1208
+ /**
1209
+ * Number of times this rule's actions have actually been dispatched.
1210
+ * Manual `planmagnetExecuteAutomationRule` calls do NOT increment this while
1211
+ * the execution engine is unimplemented — see that mutation's description.
1212
+ */
1213
+ executionCount: Scalars['Int']['output'];
1214
+ /** Unique identifier */
1215
+ id: Scalars['ID']['output'];
1216
+ /** Last execution timestamp */
1217
+ lastExecutedAt?: Maybe<Scalars['DateTime']['output']>;
1218
+ /** Arbitrary metadata */
1219
+ metadata?: Maybe<Scalars['JSON']['output']>;
1220
+ /** Rule name */
1221
+ name: Scalars['String']['output'];
1222
+ /** Actor on whose behalf this was created */
1223
+ onBehalfOf?: Maybe<Scalars['String']['output']>;
1224
+ /** Parent project */
1225
+ project?: Maybe<PlanmagnetProject>;
1226
+ /**
1227
+ * Parent project ID. Nullable: the backing column is optional and is set to
1228
+ * NULL when the parent project is deleted (`onDelete: SetNull`).
1229
+ */
1230
+ projectId?: Maybe<Scalars['String']['output']>;
1231
+ /** Current status */
1232
+ status: PlanmagnetAutomationStatus;
1233
+ /** Trigger configuration (JSON) */
1234
+ triggerConfig: Scalars['JSON']['output'];
1235
+ /** Trigger type */
1236
+ triggerType: PlanmagnetAutomationTriggerType;
1237
+ /** Last update timestamp */
1238
+ updatedAt: Scalars['DateTime']['output'];
1239
+ /** Actor who last updated this rule */
1240
+ updatedBy?: Maybe<Scalars['String']['output']>;
1241
+ /** Associated workspace ID */
1242
+ workspaceId: Scalars['String']['output'];
1243
+ };
1242
1244
  /** Audit snapshot of an automation rule for admin review. */
1243
1245
  export type PlanmagnetAutomationRuleAudit = {
1244
1246
  __typename?: 'PlanmagnetAutomationRuleAudit';
@@ -1253,9 +1255,9 @@ export type PlanmagnetAutomationRuleAudit = {
1253
1255
  /** Rule name */
1254
1256
  name: Scalars['String']['output'];
1255
1257
  /** Current status */
1256
- status: AutomationStatus;
1258
+ status: PlanmagnetAutomationStatus;
1257
1259
  /** Trigger type */
1258
- trigger: AutomationTriggerType;
1260
+ trigger: PlanmagnetAutomationTriggerType;
1259
1261
  };
1260
1262
  /** Paginated list of automation rule audit entries. */
1261
1263
  export type PlanmagnetAutomationRuleAuditConnection = {
@@ -1267,15 +1269,33 @@ export type PlanmagnetAutomationRuleAuditConnection = {
1267
1269
  export type PlanmagnetAutomationRuleFilter = {
1268
1270
  projectId?: InputMaybe<Scalars['String']['input']>;
1269
1271
  search?: InputMaybe<Scalars['String']['input']>;
1270
- status?: InputMaybe<AutomationStatus>;
1271
- triggerType?: InputMaybe<AutomationTriggerType>;
1272
+ status?: InputMaybe<PlanmagnetAutomationStatus>;
1273
+ triggerType?: InputMaybe<PlanmagnetAutomationTriggerType>;
1272
1274
  };
1273
1275
  export type PlanmagnetAutomationRuleList = {
1274
1276
  __typename?: 'PlanmagnetAutomationRuleList';
1275
- items: Array<AutomationRule>;
1277
+ items: Array<PlanmagnetAutomationRule>;
1276
1278
  pageInfo: PlanmagnetPageInfo;
1277
1279
  totalCount: Scalars['Int']['output'];
1278
1280
  };
1281
+ export declare enum PlanmagnetAutomationStatus {
1282
+ Active = "ACTIVE",
1283
+ Disabled = "DISABLED",
1284
+ Error = "ERROR",
1285
+ Paused = "PAUSED"
1286
+ }
1287
+ export declare enum PlanmagnetAutomationTriggerType {
1288
+ Manual = "MANUAL",
1289
+ MilestoneDue = "MILESTONE_DUE",
1290
+ Schedule = "SCHEDULE",
1291
+ SprintCompleted = "SPRINT_COMPLETED",
1292
+ SprintStarted = "SPRINT_STARTED",
1293
+ Webhook = "WEBHOOK",
1294
+ WorkItemAssigned = "WORK_ITEM_ASSIGNED",
1295
+ WorkItemCreated = "WORK_ITEM_CREATED",
1296
+ WorkItemStatusChanged = "WORK_ITEM_STATUS_CHANGED",
1297
+ WorkItemUpdated = "WORK_ITEM_UPDATED"
1298
+ }
1279
1299
  export type PlanmagnetBoardFilter = {
1280
1300
  projectId?: InputMaybe<Scalars['String']['input']>;
1281
1301
  search?: InputMaybe<Scalars['String']['input']>;
@@ -1389,9 +1409,8 @@ export type PlanmagnetCreateAutomationRuleInput = {
1389
1409
  metadata?: InputMaybe<Scalars['JSON']['input']>;
1390
1410
  name: Scalars['String']['input'];
1391
1411
  projectId: Scalars['String']['input'];
1392
- sortOrder?: InputMaybe<Scalars['Int']['input']>;
1393
1412
  triggerConfig: Scalars['JSON']['input'];
1394
- triggerType: AutomationTriggerType;
1413
+ triggerType: PlanmagnetAutomationTriggerType;
1395
1414
  };
1396
1415
  export type PlanmagnetCreateBoardColumnInput = {
1397
1416
  boardId: Scalars['String']['input'];
@@ -1904,7 +1923,7 @@ export type PlanmagnetProgramList = {
1904
1923
  export type PlanmagnetProject = {
1905
1924
  __typename?: 'PlanmagnetProject';
1906
1925
  /** Automation rules in this project */
1907
- automationRules: Array<AutomationRule>;
1926
+ automationRules: Array<PlanmagnetAutomationRule>;
1908
1927
  /** Boards in this project */
1909
1928
  boards: Array<Board>;
1910
1929
  /** Budgets in this project */
@@ -2305,9 +2324,8 @@ export type PlanmagnetUpdateAutomationRuleInput = {
2305
2324
  description?: InputMaybe<Scalars['String']['input']>;
2306
2325
  metadata?: InputMaybe<Scalars['JSON']['input']>;
2307
2326
  name?: InputMaybe<Scalars['String']['input']>;
2308
- sortOrder?: InputMaybe<Scalars['Int']['input']>;
2309
2327
  triggerConfig?: InputMaybe<Scalars['JSON']['input']>;
2310
- triggerType?: InputMaybe<AutomationTriggerType>;
2328
+ triggerType?: InputMaybe<PlanmagnetAutomationTriggerType>;
2311
2329
  };
2312
2330
  export type PlanmagnetUpdateBoardColumnInput = {
2313
2331
  mappedStatus?: InputMaybe<WorkItemStatus>;
@@ -2828,7 +2846,7 @@ export type Query = {
2828
2846
  /** List automation executions */
2829
2847
  planmagnetAutomationExecutions: PlanmagnetAutomationExecutionList;
2830
2848
  /** Get a single automation rule by ID */
2831
- planmagnetAutomationRule?: Maybe<AutomationRule>;
2849
+ planmagnetAutomationRule?: Maybe<PlanmagnetAutomationRule>;
2832
2850
  /** List automation rules in a workspace for admin audit. */
2833
2851
  planmagnetAutomationRuleAudit: PlanmagnetAutomationRuleAuditConnection;
2834
2852
  /** List automation rules in a workspace */