@burdenoff/microfe-timecampus 2026.1031.10 → 2026.1031.12

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 (108) hide show
  1. package/dist/generated/wspace-operations.d.ts +45 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +710 -672
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/generated/wspace-types.d.ts +731 -0
  6. package/dist/generated/wspace-types.d.ts.map +1 -1
  7. package/dist/generated/wspace-types.js +14 -12
  8. package/dist/generated/wspace-types.js.map +1 -1
  9. package/dist/index.js +7 -7
  10. package/dist/timecampus/TimeCampusRoot.d.ts.map +1 -1
  11. package/dist/timecampus/TimeCampusRoot.js +121 -80
  12. package/dist/timecampus/TimeCampusRoot.js.map +1 -1
  13. package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -1
  14. package/dist/timecampus/TimeCampusRoutes.js +24 -5
  15. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  16. package/dist/timecampus/analytics/index.d.ts +3 -0
  17. package/dist/timecampus/analytics/index.d.ts.map +1 -0
  18. package/dist/timecampus/analytics/index.js +3 -0
  19. package/dist/timecampus/analytics/timecampusAnalytics.d.ts +83 -0
  20. package/dist/timecampus/analytics/timecampusAnalytics.d.ts.map +1 -0
  21. package/dist/timecampus/analytics/timecampusAnalytics.js +175 -0
  22. package/dist/timecampus/analytics/timecampusAnalytics.js.map +1 -0
  23. package/dist/timecampus/analytics/useTimeCampusAnalytics.d.ts +16 -0
  24. package/dist/timecampus/analytics/useTimeCampusAnalytics.d.ts.map +1 -0
  25. package/dist/timecampus/analytics/useTimeCampusAnalytics.js +48 -0
  26. package/dist/timecampus/analytics/useTimeCampusAnalytics.js.map +1 -0
  27. package/dist/timecampus/components/ActivationCard.d.ts +3 -0
  28. package/dist/timecampus/components/ActivationCard.d.ts.map +1 -0
  29. package/dist/timecampus/components/ActivationCard.js +156 -0
  30. package/dist/timecampus/components/ActivationCard.js.map +1 -0
  31. package/dist/timecampus/index.js +7 -7
  32. package/dist/timecampus/pages/HomePage.d.ts.map +1 -1
  33. package/dist/timecampus/pages/HomePage.js +142 -139
  34. package/dist/timecampus/pages/HomePage.js.map +1 -1
  35. package/dist/timecampus/pages/client-portal/ClientPortalPage.d.ts.map +1 -1
  36. package/dist/timecampus/pages/client-portal/ClientPortalPage.js +244 -228
  37. package/dist/timecampus/pages/client-portal/ClientPortalPage.js.map +1 -1
  38. package/dist/timecampus/pages/dashboard/AnalyticsPage.d.ts.map +1 -1
  39. package/dist/timecampus/pages/dashboard/AnalyticsPage.js +117 -112
  40. package/dist/timecampus/pages/dashboard/AnalyticsPage.js.map +1 -1
  41. package/dist/timecampus/pages/dashboard/ReportsPage.d.ts.map +1 -1
  42. package/dist/timecampus/pages/dashboard/ReportsPage.js +105 -102
  43. package/dist/timecampus/pages/dashboard/ReportsPage.js.map +1 -1
  44. package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.d.ts.map +1 -1
  45. package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.js +209 -192
  46. package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.js.map +1 -1
  47. package/dist/timecampus/pages/focus-score/FocusScorePage.d.ts.map +1 -1
  48. package/dist/timecampus/pages/focus-score/FocusScorePage.js +71 -68
  49. package/dist/timecampus/pages/focus-score/FocusScorePage.js.map +1 -1
  50. package/dist/timecampus/pages/invoicing/InvoicingPage.d.ts.map +1 -1
  51. package/dist/timecampus/pages/invoicing/InvoicingPage.js +157 -150
  52. package/dist/timecampus/pages/invoicing/InvoicingPage.js.map +1 -1
  53. package/dist/timecampus/pages/lifetime/LifeBalancePage.d.ts.map +1 -1
  54. package/dist/timecampus/pages/lifetime/LifeBalancePage.js +34 -31
  55. package/dist/timecampus/pages/lifetime/LifeBalancePage.js.map +1 -1
  56. package/dist/timecampus/pages/meetings/MeetingCreatePage.d.ts.map +1 -1
  57. package/dist/timecampus/pages/meetings/MeetingCreatePage.js +58 -52
  58. package/dist/timecampus/pages/meetings/MeetingCreatePage.js.map +1 -1
  59. package/dist/timecampus/pages/meetings/MeetingsPage.d.ts.map +1 -1
  60. package/dist/timecampus/pages/meetings/MeetingsPage.js +51 -45
  61. package/dist/timecampus/pages/meetings/MeetingsPage.js.map +1 -1
  62. package/dist/timecampus/pages/mobile/MobileLifeBalancePage.d.ts +8 -0
  63. package/dist/timecampus/pages/mobile/MobileLifeBalancePage.d.ts.map +1 -0
  64. package/dist/timecampus/pages/mobile/MobileLifeBalancePage.js +224 -0
  65. package/dist/timecampus/pages/mobile/MobileLifeBalancePage.js.map +1 -0
  66. package/dist/timecampus/pages/mobile/MobileScreen.d.ts +32 -0
  67. package/dist/timecampus/pages/mobile/MobileScreen.d.ts.map +1 -0
  68. package/dist/timecampus/pages/mobile/MobileScreen.js +89 -0
  69. package/dist/timecampus/pages/mobile/MobileScreen.js.map +1 -0
  70. package/dist/timecampus/pages/mobile/MobileTimelinePage.d.ts +8 -0
  71. package/dist/timecampus/pages/mobile/MobileTimelinePage.d.ts.map +1 -0
  72. package/dist/timecampus/pages/mobile/MobileTimelinePage.js +341 -0
  73. package/dist/timecampus/pages/mobile/MobileTimelinePage.js.map +1 -0
  74. package/dist/timecampus/pages/mobile/MobileTimerPage.d.ts +8 -0
  75. package/dist/timecampus/pages/mobile/MobileTimerPage.d.ts.map +1 -0
  76. package/dist/timecampus/pages/mobile/MobileTimerPage.js +226 -0
  77. package/dist/timecampus/pages/mobile/MobileTimerPage.js.map +1 -0
  78. package/dist/timecampus/pages/mobile/mobileModel.d.ts +121 -0
  79. package/dist/timecampus/pages/mobile/mobileModel.d.ts.map +1 -0
  80. package/dist/timecampus/pages/mobile/mobileModel.js +127 -0
  81. package/dist/timecampus/pages/mobile/mobileModel.js.map +1 -0
  82. package/dist/timecampus/pages/pomodoro/PomodoroPage.d.ts.map +1 -1
  83. package/dist/timecampus/pages/pomodoro/PomodoroPage.js +57 -51
  84. package/dist/timecampus/pages/pomodoro/PomodoroPage.js.map +1 -1
  85. package/dist/timecampus/pages/projects/ProjectCreatePage.d.ts.map +1 -1
  86. package/dist/timecampus/pages/projects/ProjectCreatePage.js +59 -49
  87. package/dist/timecampus/pages/projects/ProjectCreatePage.js.map +1 -1
  88. package/dist/timecampus/pages/projects/ProjectsPage.d.ts.map +1 -1
  89. package/dist/timecampus/pages/projects/ProjectsPage.js +165 -155
  90. package/dist/timecampus/pages/projects/ProjectsPage.js.map +1 -1
  91. package/dist/timecampus/pages/time/TimeEntriesPage.d.ts.map +1 -1
  92. package/dist/timecampus/pages/time/TimeEntriesPage.js +194 -186
  93. package/dist/timecampus/pages/time/TimeEntriesPage.js.map +1 -1
  94. package/dist/timecampus/pages/time/TimeTrackingPage.d.ts.map +1 -1
  95. package/dist/timecampus/pages/time/TimeTrackingPage.js +139 -126
  96. package/dist/timecampus/pages/time/TimeTrackingPage.js.map +1 -1
  97. package/dist/timecampus/pages/time/TimerPage.d.ts.map +1 -1
  98. package/dist/timecampus/pages/time/TimerPage.js +54 -39
  99. package/dist/timecampus/pages/time/TimerPage.js.map +1 -1
  100. package/dist/timecampus/pages/time-approval/TimeApprovalPage.d.ts.map +1 -1
  101. package/dist/timecampus/pages/time-approval/TimeApprovalPage.js +60 -50
  102. package/dist/timecampus/pages/time-approval/TimeApprovalPage.js.map +1 -1
  103. package/dist/timecampus/pages/timeline/TimelinePage.d.ts.map +1 -1
  104. package/dist/timecampus/pages/timeline/TimelinePage.js +306 -297
  105. package/dist/timecampus/pages/timeline/TimelinePage.js.map +1 -1
  106. package/dist/timecampus/types/index.d.ts +5 -0
  107. package/dist/timecampus/types/index.d.ts.map +1 -1
  108. package/package.json +1 -1
@@ -9908,6 +9908,10 @@ export type BuiCertificate = {
9908
9908
  /** BOFF-3134: the source product's own id for this certificate (opaque). */
9909
9909
  sourceId?: Maybe<Scalars['ID']['output']>;
9910
9910
  status: BuiCertificateStatus;
9911
+ /** The Technospam certificate this canonical certificate was written from. */
9912
+ technospamCertificate?: Maybe<TecCertificate>;
9913
+ /** Why Technospam revoked the certificate, when it did. */
9914
+ technospamRevokeReason?: Maybe<Scalars['String']['output']>;
9911
9915
  updatedAt: Scalars['DateTime']['output'];
9912
9916
  /** BOFF-4431: opaque code for the PUBLIC, unauthenticated verification page (`/verify/buildmyiq/{verificationCode}`) — share this, not the internal id. Null for certificates issued before this field existed. */
9913
9917
  verificationCode?: Maybe<Scalars['String']['output']>;
@@ -10044,6 +10048,12 @@ export type BuiCourse = {
10044
10048
  status: BuiCourseStatus;
10045
10049
  summary?: Maybe<Scalars['String']['output']>;
10046
10050
  tags: Array<Scalars['String']['output']>;
10051
+ /** The Technospam course this canonical course was written from. */
10052
+ technospamCourse?: Maybe<TecCourse>;
10053
+ /** True when the course is premium-only and the calling workspace has no paid TechnoSpam plan. */
10054
+ technospamIsLocked?: Maybe<Scalars['Boolean']['output']>;
10055
+ /** True when the course's lesson bodies need a paid TechnoSpam plan. */
10056
+ technospamIsPremiumOnly?: Maybe<Scalars['Boolean']['output']>;
10047
10057
  title: Scalars['String']['output'];
10048
10058
  updatedAt: Scalars['DateTime']['output'];
10049
10059
  workspaceId: Scalars['ID']['output'];
@@ -10419,6 +10429,12 @@ export type BuiEnrollment = {
10419
10429
  sourceId?: Maybe<Scalars['ID']['output']>;
10420
10430
  startedAt?: Maybe<Scalars['DateTime']['output']>;
10421
10431
  status: BuiEnrollmentStatus;
10432
+ /** Lessons finished in this enrollment, with how each was completed (manual, quiz, code). */
10433
+ technospamCompletions?: Maybe<Array<TecLessonCompletion>>;
10434
+ /** The Technospam enrollment this canonical enrollment was written from. */
10435
+ technospamEnrollment?: Maybe<TecEnrollment>;
10436
+ /** The first Technospam lesson not yet completed; null when every lesson is done. */
10437
+ technospamNextLessonId?: Maybe<Scalars['ID']['output']>;
10422
10438
  updatedAt: Scalars['DateTime']['output'];
10423
10439
  workspaceId: Scalars['ID']['output'];
10424
10440
  };
@@ -10488,6 +10504,24 @@ export type BuiLesson = {
10488
10504
  media?: Maybe<File>;
10489
10505
  moduleId?: Maybe<Scalars['ID']['output']>;
10490
10506
  position: Scalars['Int']['output'];
10507
+ /** True when the calling learner has completed this lesson in Technospam. */
10508
+ technospamCompletedByMe?: Maybe<Scalars['Boolean']['output']>;
10509
+ /** The lesson body as Technospam holds it, gated by the TechnoSpam plan. Use this for premium-only lessons: their body is not stored in Buildmyiq until Buildmyiq has a product-entitlement-aware content gate. Null when locked. */
10510
+ technospamContent?: Maybe<Scalars['String']['output']>;
10511
+ /** INTERACTIVE lessons: the output a correct program prints. Null when locked. */
10512
+ technospamExpectedOutput?: Maybe<Scalars['String']['output']>;
10513
+ /** TechnoSpam free-tier lock for the calling workspace (see TecLesson.isLocked). */
10514
+ technospamIsLocked?: Maybe<Scalars['Boolean']['output']>;
10515
+ /** INTERACTIVE lessons: language slug the runnable workspace executes. */
10516
+ technospamLanguage?: Maybe<Scalars['String']['output']>;
10517
+ /** The Technospam lesson this canonical lesson was written from. */
10518
+ technospamLesson?: Maybe<TecLesson>;
10519
+ /** QUIZ lessons: the questions without the answer key. Empty when locked. */
10520
+ technospamQuizQuestions?: Maybe<Array<TecQuizQuestion>>;
10521
+ /** INTERACTIVE lessons: default stdin for a run. Null when locked. */
10522
+ technospamSampleInput?: Maybe<Scalars['String']['output']>;
10523
+ /** INTERACTIVE lessons: code pre-filled in the editor. Null when locked. */
10524
+ technospamStarterCode?: Maybe<Scalars['String']['output']>;
10491
10525
  title: Scalars['String']['output'];
10492
10526
  type: BuiLessonType;
10493
10527
  updatedAt: Scalars['DateTime']['output'];
@@ -55193,6 +55227,10 @@ export type Mutation = {
55193
55227
  /** Compile a docs site (creates a new revision and starts async build) */
55194
55228
  compileDocsSite: VibecontrolsDocsRevision;
55195
55229
  completeActionItem: MeetingActionItem;
55230
+ /** Complete an activity that waits for an asynchronous completion, with the task token it handed out. */
55231
+ completeActivityAsync: Scalars['Boolean']['output'];
55232
+ /** Complete, by its id, an activity that waits for an asynchronous completion. */
55233
+ completeActivityById: Scalars['Boolean']['output'];
55196
55234
  /** BOFF-4388 — moves a CHECKED_IN booking to COMPLETED. BOFF-10194 — host of the listing only; operators use operateGgnomadBooking. */
55197
55235
  completeGgnomadBooking: GgnomadBooking;
55198
55236
  completeHealthyBowlGardenCareTask: GardenCareTask;
@@ -55403,6 +55441,8 @@ export type Mutation = {
55403
55441
  createAction: Action;
55404
55442
  createActionItem: MeetingActionItem;
55405
55443
  createActionShareLink: ShareGrant;
55444
+ /** Create an activity pause rule (at most 100 per workspace). Needs fluidgrids.run-control. */
55445
+ createActivityPauseRule: WorkflowActivityPauseRule;
55406
55446
  /** Create an agent definition and its platform identity. */
55407
55447
  createAgentDefinition: AgentDefinition;
55408
55448
  /** BOFF-4400 — deliberately unmetered, mirroring `createBotlitAgent`: Agents are internal workers, reusable across many Apps within a workspace, and are not the customer-facing unit the free/paid tiers price. `botlit.bots.count` meters the App (see `createBotApp` and `createAppFromTemplate`); adding a second `@usage` here would double-charge a single logical bot that fans out to N internal agents. Note the asymmetry with `createAppFromTemplate` above is intentional — that one mints an App, this one mints an Agent. If this changes, update `botlit-billing-seed.ts`, `createBotlitAgent` and the pricing page together with the `@usage` directive added here. */
@@ -55928,6 +55968,14 @@ export type Mutation = {
55928
55968
  createWorkflowSandbox: Sandbox;
55929
55969
  /** Create a new scheduled job */
55930
55970
  createWorkflowScheduledJob: ScheduledJobResponse;
55971
+ /** Save a new test case on a workflow (at most 50 per workflow). */
55972
+ createWorkflowTestCase: WorkflowTestCase;
55973
+ /**
55974
+ * Save a finished run as a test case: its trigger input, and a connection mock
55975
+ * for every non-internal node that completed, holding the output it produced.
55976
+ * The workflow's redacted fields are stored redacted. Private runs cannot be saved.
55977
+ */
55978
+ createWorkflowTestCaseFromRun: WorkflowTestCase;
55931
55979
  createWorkflowVariable: WorkflowVariableResponse;
55932
55980
  createWorkflowVersion: CreateWorkflowVersionResponse;
55933
55981
  /** Create a new workspace. Tenant ID is read from gateway context (x-tenant-id header). Owner defaults to authenticated actor (x-actor-id header). */
@@ -55996,6 +56044,8 @@ export type Mutation = {
55996
56044
  deleteActionItem: Scalars['Boolean']['output'];
55997
56045
  /** Delete an action policy. Needs workflow publish rights. */
55998
56046
  deleteActionPolicy: Scalars['Boolean']['output'];
56047
+ /** Delete an activity pause rule; everything it paused is unpaused. */
56048
+ deleteActivityPauseRule: Scalars['Boolean']['output'];
55999
56049
  /** Delete an agent definition, retire its identity and withdraw every grant. */
56000
56050
  deleteAgentDefinition: Scalars['Boolean']['output'];
56001
56051
  deleteAgentInstructionFile: Scalars['Boolean']['output'];
@@ -56410,6 +56460,8 @@ export type Mutation = {
56410
56460
  deleteWorkflowRun: Scalars['Boolean']['output'];
56411
56461
  /** Delete a scheduled job (soft delete) */
56412
56462
  deleteWorkflowScheduledJob: DeleteConfigResponse;
56463
+ /** Delete a test case. Its past runs keep their results. */
56464
+ deleteWorkflowTestCase: Scalars['Boolean']['output'];
56413
56465
  deleteWorkflowVariable: DeleteConfigResponse;
56414
56466
  /** Soft delete a workspace (sets status to DELETED and populates deletedAt). The workspace and its intra-service records remain recoverable during the platform's documented 30-day retention / grace-period. After the retention period a background purge may hard-delete the row and its cascaded records. The workspace_audit_log row for this event is written after the soft delete and is intentionally NOT foreign-keyed to Workspace so it survives eventual purge (see WorkspaceAuditLog's schema doc-comment). */
56415
56467
  deleteWorkspace: Scalars['Boolean']['output'];
@@ -56753,6 +56805,10 @@ export type Mutation = {
56753
56805
  /** Extend the caller's OWN running Ask or Take-action assistant sandbox (any workspace role), capped exactly as extendSandboxTTL is. Another user's sandbox, or one that is not an assistant sandbox, is NOT_FOUND. */
56754
56806
  extendMyAssistantSandboxTTL: Sandbox;
56755
56807
  extendSandboxTTL: Sandbox;
56808
+ /** Fail an activity that waits for an asynchronous completion; its retry policy decides what follows. */
56809
+ failActivityAsync: Scalars['Boolean']['output'];
56810
+ /** Fail, by its id, an activity that waits for an asynchronous completion. */
56811
+ failActivityById: Scalars['Boolean']['output'];
56756
56812
  /**
56757
56813
  * Run one triage pass now (the hourly workflow runs the same pass). Returns
56758
56814
  * skipped with reason not_enabled or flag_off when triage is off.
@@ -57046,6 +57102,10 @@ export type Mutation = {
57046
57102
  headshotmarketingUpdateSEOKeyword: HeadshotmarketingSeoKeyword;
57047
57103
  /** Notify @-mentioned members of a Farm Tasks comment (IN_APP notification). */
57048
57104
  healthybowlNotifyMention: Scalars['Boolean']['output'];
57105
+ /** Heartbeat an activity that waits for an asynchronous completion (details carry over to a retry). */
57106
+ heartbeatActivityAsync: WorkflowAsyncHeartbeatAck;
57107
+ /** Heartbeat, by its id, an activity that waits for an asynchronous completion. */
57108
+ heartbeatActivityById: WorkflowAsyncHeartbeatAck;
57049
57109
  /** Heartbeat one presence connection (expected about every 15s). Returns false when the presence cache is unavailable; the heartbeat is then dropped without affecting the dashboard. */
57050
57110
  heartbeatDashboardPresence: Scalars['Boolean']['output'];
57051
57111
  hideMessage: Message;
@@ -57694,6 +57754,11 @@ export type Mutation = {
57694
57754
  operateGgnomadBooking: GgnomadBooking;
57695
57755
  optimizeRoute: MtwRoute;
57696
57756
  overrideTimeCampusWorkspaceQuota: TimeCampusWorkspaceQuotaAssignment;
57757
+ /**
57758
+ * Pause activities of a durable-function run: no new attempt starts, and a running attempt learns of
57759
+ * the pause on its next heartbeat. Needs fluidgrids.run-control.
57760
+ */
57761
+ pauseActivity: WorkflowRun;
57697
57762
  /** BOFF-4388 — pauses an ACTIVE listing (hides it from booking) with an optional reason. */
57698
57763
  pauseGgnomadListing: GgnomadListing;
57699
57764
  /** Pause an ACTIVE workflow — new triggers no longer start runs. */
@@ -58789,6 +58854,8 @@ export type Mutation = {
58789
58854
  resendWorkspaceInvite: WorkspaceInvite;
58790
58855
  /** Reserve a managed subdomain under *.vibetunnels.com. The domain is created in VERIFIED state and can be attached immediately. */
58791
58856
  reserveTunnelSubdomain: TunnelDomain;
58857
+ /** Restart the attempt count of activities waiting for their next attempt, and dispatch them now. */
58858
+ resetActivity: WorkflowRun;
58792
58859
  resetCircuitBreaker: CircuitBreakerState;
58793
58860
  /** Reset monthly usage counters for the current workspace. Workspace ID is read from gateway context (x-workspace-id header). */
58794
58861
  resetMonthlyUsage: WorkspaceResourceUsage;
@@ -59069,6 +59136,16 @@ export type Mutation = {
59069
59136
  runSecurityScan: SecurityScanRun;
59070
59137
  /** Run the workspace's time-intelligence sweep. Called by wspace-scheduler-svc as this service's own service actor; a super admin may run it on demand. Any other caller is refused. */
59071
59138
  runTimeCampusTimeIntelligenceSweep: TimeCampusTimeIntelligenceSweep;
59139
+ /**
59140
+ * Run a workflow's test cases, each as its own TEST run, and return the suite run
59141
+ * to poll with workflowTestRun. Canvas workflows only.
59142
+ *
59143
+ * Usage tracking: not decorated with `@usage`. Suite runs are TEST runs and are
59144
+ * exempt from the fluidgrids.runs.monthly quota by design; the cases per workflow
59145
+ * (50), the suites in flight per workspace (5) and the suites started per
59146
+ * workspace per hour (60) are capped instead.
59147
+ */
59148
+ runWorkflowTests: WorkflowTestRun;
59072
59149
  /**
59073
59150
  * Append one completed turn (prompt + reply), creating the conversation on the first turn. NOT idempotent: a retried call appends a duplicate turn. This resolver writes both prompt and reply rows internally, so it performs manual quota checks/tracking instead of using a fixed-amount @usage directive.
59074
59151
  * @deprecated Use the my* assistant-history fields (BOFF-7335).
@@ -59790,6 +59867,8 @@ export type Mutation = {
59790
59867
  unlockVault: Vault;
59791
59868
  unmatchHealthyBowlStatementLine: HealthyBowlBankStatementLine;
59792
59869
  unmuteConversation: ConversationMembership;
59870
+ /** Unpause activities; their next attempt is dispatched now. */
59871
+ unpauseActivity: WorkflowRun;
59793
59872
  unpinConversation: ConversationMembership;
59794
59873
  unpinMessage: Message;
59795
59874
  /** Remove pinned data from a node (BOFF-7511). */
@@ -59845,6 +59924,8 @@ export type Mutation = {
59845
59924
  updateActiveSession: UiSession;
59846
59925
  /** Update active vibe */
59847
59926
  updateActiveVibe: UiSession;
59927
+ /** Change the retry policy and timeouts of activities, from their next attempt. Needs fluidgrids.run-control. */
59928
+ updateActivityOptions: WorkflowRun;
59848
59929
  /** Update an agent definition. Narrowing the allowlist or scope applies to the next tool call. */
59849
59930
  updateAgentDefinition: AgentDefinition;
59850
59931
  updateAgentInstructionFile: AgentInstructionFile;
@@ -60342,8 +60423,16 @@ export type Mutation = {
60342
60423
  updateWorkflowExecutionSettings: WorkflowExecutionSettings;
60343
60424
  /** Change the notification preferences of a workflow. */
60344
60425
  updateWorkflowNotificationSettings: WorkflowNotificationSettings;
60426
+ /**
60427
+ * Send an update to a durable-function run and wait (at most timeoutMs, capped at 15 s) until it
60428
+ * reaches `waitFor`. The updateId is its idempotency key. A rejected update leaves no history. Needs
60429
+ * fluidgrids.run-control and a bundle built with the Phase C SDK.
60430
+ */
60431
+ updateWorkflowRun: WorkflowUpdateResult;
60345
60432
  /** Update an existing scheduled job */
60346
60433
  updateWorkflowScheduledJob: ScheduledJobResponse;
60434
+ /** Replace a test case. */
60435
+ updateWorkflowTestCase: WorkflowTestCase;
60347
60436
  updateWorkflowVariable: WorkflowVariableResponse;
60348
60437
  /** Update an existing workspace */
60349
60438
  updateWorkspace: Workspace;
@@ -60538,6 +60627,13 @@ export type Mutation = {
60538
60627
  * INTERNAL: Requires actorType SERVICE
60539
60628
  */
60540
60629
  workerNotifyHumanResponders: WorkerNotifyHumanRespondersResponse;
60630
+ /**
60631
+ * Park the attempt in flight for asynchronous completion (Phase C): a send-and-wait waiting for a
60632
+ * person, a tool approval, a policy approval, or a user completeAsync() (external, which gets a task
60633
+ * token). Refused with FEATURE_DISABLED while fluidgrids.run-control is off.
60634
+ * INTERNAL: Requires actorType SERVICE
60635
+ */
60636
+ workerParkActivityAsync: WorkerActivityParkResult;
60541
60637
  /**
60542
60638
  * Record an activity heartbeat (never written to history). The acknowledgement carries a pending
60543
60639
  * cancellation.
@@ -63088,6 +63184,18 @@ export type MutationCompleteActionItemArgs = {
63088
63184
  workspaceId: Scalars['ID']['input'];
63089
63185
  };
63090
63186
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63187
+ export type MutationCompleteActivityAsyncArgs = {
63188
+ result?: InputMaybe<Scalars['JSON']['input']>;
63189
+ taskToken: Scalars['String']['input'];
63190
+ };
63191
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63192
+ export type MutationCompleteActivityByIdArgs = {
63193
+ activityId: Scalars['ID']['input'];
63194
+ result?: InputMaybe<Scalars['JSON']['input']>;
63195
+ runId?: InputMaybe<Scalars['ID']['input']>;
63196
+ target?: InputMaybe<RunTargetInput>;
63197
+ };
63198
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63091
63199
  export type MutationCompleteGgnomadBookingArgs = {
63092
63200
  id: Scalars['ID']['input'];
63093
63201
  };
@@ -63680,6 +63788,10 @@ export type MutationCreateActionShareLinkArgs = {
63680
63788
  input: CreateShareGrantLinkInput;
63681
63789
  };
63682
63790
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63791
+ export type MutationCreateActivityPauseRuleArgs = {
63792
+ input: WorkflowActivityPauseRuleInput;
63793
+ };
63794
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
63683
63795
  export type MutationCreateAgentDefinitionArgs = {
63684
63796
  input: AgentDefinitionInput;
63685
63797
  };
@@ -65231,6 +65343,17 @@ export type MutationCreateWorkflowScheduledJobArgs = {
65231
65343
  input: ScheduledJobInput;
65232
65344
  };
65233
65345
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65346
+ export type MutationCreateWorkflowTestCaseArgs = {
65347
+ input: WorkflowTestCaseInput;
65348
+ workflowKey: Scalars['String']['input'];
65349
+ };
65350
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65351
+ export type MutationCreateWorkflowTestCaseFromRunArgs = {
65352
+ description?: InputMaybe<Scalars['String']['input']>;
65353
+ name: Scalars['String']['input'];
65354
+ runId: Scalars['ID']['input'];
65355
+ };
65356
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65234
65357
  export type MutationCreateWorkflowVariableArgs = {
65235
65358
  input: CreateWorkflowVariableInput;
65236
65359
  };
@@ -65371,6 +65494,10 @@ export type MutationDeleteActionPolicyArgs = {
65371
65494
  id: Scalars['ID']['input'];
65372
65495
  };
65373
65496
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65497
+ export type MutationDeleteActivityPauseRuleArgs = {
65498
+ id: Scalars['ID']['input'];
65499
+ };
65500
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
65374
65501
  export type MutationDeleteAgentDefinitionArgs = {
65375
65502
  id: Scalars['ID']['input'];
65376
65503
  };
@@ -66697,6 +66824,10 @@ export type MutationDeleteWorkflowScheduledJobArgs = {
66697
66824
  jobId: Scalars['ID']['input'];
66698
66825
  };
66699
66826
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
66827
+ export type MutationDeleteWorkflowTestCaseArgs = {
66828
+ id: Scalars['ID']['input'];
66829
+ };
66830
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
66700
66831
  export type MutationDeleteWorkflowVariableArgs = {
66701
66832
  id: Scalars['ID']['input'];
66702
66833
  };
@@ -67712,6 +67843,18 @@ export type MutationExtendSandboxTtlArgs = {
67712
67843
  id: Scalars['ID']['input'];
67713
67844
  };
67714
67845
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67846
+ export type MutationFailActivityAsyncArgs = {
67847
+ failure: WorkflowAsyncFailureInput;
67848
+ taskToken: Scalars['String']['input'];
67849
+ };
67850
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67851
+ export type MutationFailActivityByIdArgs = {
67852
+ activityId: Scalars['ID']['input'];
67853
+ failure: WorkflowAsyncFailureInput;
67854
+ runId?: InputMaybe<Scalars['ID']['input']>;
67855
+ target?: InputMaybe<RunTargetInput>;
67856
+ };
67857
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
67715
67858
  export type MutationFgTriageFailedRunsArgs = {
67716
67859
  input?: InputMaybe<FgTriageFailedRunsInput>;
67717
67860
  };
@@ -68508,6 +68651,18 @@ export type MutationHealthybowlNotifyMentionArgs = {
68508
68651
  input: HealthyBowlNotifyMentionInput;
68509
68652
  };
68510
68653
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
68654
+ export type MutationHeartbeatActivityAsyncArgs = {
68655
+ details?: InputMaybe<Scalars['JSON']['input']>;
68656
+ taskToken: Scalars['String']['input'];
68657
+ };
68658
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
68659
+ export type MutationHeartbeatActivityByIdArgs = {
68660
+ activityId: Scalars['ID']['input'];
68661
+ details?: InputMaybe<Scalars['JSON']['input']>;
68662
+ runId?: InputMaybe<Scalars['ID']['input']>;
68663
+ target?: InputMaybe<RunTargetInput>;
68664
+ };
68665
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
68511
68666
  export type MutationHeartbeatDashboardPresenceArgs = {
68512
68667
  connectionId: Scalars['ID']['input'];
68513
68668
  dashboardId: Scalars['ID']['input'];
@@ -70313,6 +70468,13 @@ export type MutationOverrideTimeCampusWorkspaceQuotaArgs = {
70313
70468
  input: OverrideTimeCampusWorkspaceQuotaInput;
70314
70469
  };
70315
70470
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
70471
+ export type MutationPauseActivityArgs = {
70472
+ reason: Scalars['String']['input'];
70473
+ runId?: InputMaybe<Scalars['ID']['input']>;
70474
+ selector: WorkflowActivitySelectorInput;
70475
+ target?: InputMaybe<RunTargetInput>;
70476
+ };
70477
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
70316
70478
  export type MutationPauseGgnomadListingArgs = {
70317
70479
  id: Scalars['ID']['input'];
70318
70480
  listingType: GgnomadListingType;
@@ -73150,6 +73312,13 @@ export type MutationReserveTunnelSubdomainArgs = {
73150
73312
  input: ReserveTunnelSubdomainInput;
73151
73313
  };
73152
73314
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73315
+ export type MutationResetActivityArgs = {
73316
+ resetHeartbeat?: InputMaybe<Scalars['Boolean']['input']>;
73317
+ runId?: InputMaybe<Scalars['ID']['input']>;
73318
+ selector: WorkflowActivitySelectorInput;
73319
+ target?: InputMaybe<RunTargetInput>;
73320
+ };
73321
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73153
73322
  export type MutationResetCircuitBreakerArgs = {
73154
73323
  scope: Scalars['String']['input'];
73155
73324
  scopeValue: Scalars['String']['input'];
@@ -73845,6 +74014,10 @@ export type MutationRunTimeCampusTimeIntelligenceSweepArgs = {
73845
74014
  input?: InputMaybe<TimeCampusTimeIntelligenceSweepInput>;
73846
74015
  };
73847
74016
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74017
+ export type MutationRunWorkflowTestsArgs = {
74018
+ input: RunWorkflowTestsInput;
74019
+ };
74020
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73848
74021
  export type MutationSaveAssistantTurnArgs = {
73849
74022
  input: SaveAssistantTurnInput;
73850
74023
  };
@@ -75694,6 +75867,14 @@ export type MutationUnmuteConversationArgs = {
75694
75867
  conversationId: Scalars['ID']['input'];
75695
75868
  };
75696
75869
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75870
+ export type MutationUnpauseActivityArgs = {
75871
+ resetAttempts?: InputMaybe<Scalars['Boolean']['input']>;
75872
+ resetHeartbeat?: InputMaybe<Scalars['Boolean']['input']>;
75873
+ runId?: InputMaybe<Scalars['ID']['input']>;
75874
+ selector: WorkflowActivitySelectorInput;
75875
+ target?: InputMaybe<RunTargetInput>;
75876
+ };
75877
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75697
75878
  export type MutationUnpinConversationArgs = {
75698
75879
  conversationId: Scalars['ID']['input'];
75699
75880
  };
@@ -75861,6 +76042,13 @@ export type MutationUpdateActiveVibeArgs = {
75861
76042
  vibeId?: InputMaybe<Scalars['ID']['input']>;
75862
76043
  };
75863
76044
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
76045
+ export type MutationUpdateActivityOptionsArgs = {
76046
+ options: WorkflowActivityOptionsInput;
76047
+ runId?: InputMaybe<Scalars['ID']['input']>;
76048
+ selector: WorkflowActivitySelectorInput;
76049
+ target?: InputMaybe<RunTargetInput>;
76050
+ };
76051
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
75864
76052
  export type MutationUpdateAgentDefinitionArgs = {
75865
76053
  id: Scalars['ID']['input'];
75866
76054
  input: AgentDefinitionInput;
@@ -77680,11 +77868,26 @@ export type MutationUpdateWorkflowNotificationSettingsArgs = {
77680
77868
  input: UpdateWorkflowNotificationSettingsInput;
77681
77869
  };
77682
77870
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
77871
+ export type MutationUpdateWorkflowRunArgs = {
77872
+ args?: InputMaybe<Scalars['JSON']['input']>;
77873
+ name: Scalars['String']['input'];
77874
+ runId?: InputMaybe<Scalars['ID']['input']>;
77875
+ target?: InputMaybe<RunTargetInput>;
77876
+ timeoutMs?: InputMaybe<Scalars['Int']['input']>;
77877
+ updateId: Scalars['ID']['input'];
77878
+ waitFor?: InputMaybe<WorkflowUpdateWaitFor>;
77879
+ };
77880
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
77683
77881
  export type MutationUpdateWorkflowScheduledJobArgs = {
77684
77882
  input: WorkflowUpdateScheduledJobInput;
77685
77883
  jobId: Scalars['ID']['input'];
77686
77884
  };
77687
77885
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
77886
+ export type MutationUpdateWorkflowTestCaseArgs = {
77887
+ id: Scalars['ID']['input'];
77888
+ input: WorkflowTestCaseInput;
77889
+ };
77890
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
77688
77891
  export type MutationUpdateWorkflowVariableArgs = {
77689
77892
  id: Scalars['ID']['input'];
77690
77893
  input: UpdateWorkflowVariableInput;
@@ -77920,6 +78123,10 @@ export type MutationWorkerNotifyHumanRespondersArgs = {
77920
78123
  input: WorkerNotifyHumanRespondersInput;
77921
78124
  };
77922
78125
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
78126
+ export type MutationWorkerParkActivityAsyncArgs = {
78127
+ input: WorkerActivityParkInput;
78128
+ };
78129
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
77923
78130
  export type MutationWorkerRecordActivityHeartbeatArgs = {
77924
78131
  activityId: Scalars['ID']['input'];
77925
78132
  attempt: Scalars['Int']['input'];
@@ -78976,6 +79183,11 @@ export type NodeState = {
78976
79183
  runId: Scalars['String']['output'];
78977
79184
  startTime?: Maybe<Scalars['DateTime']['output']>;
78978
79185
  status: NodeStatus;
79186
+ /**
79187
+ * True when a saved test case's connection mock answered this node instead of a
79188
+ * real call (BOFF-9960). Always false on a PRODUCTION run.
79189
+ */
79190
+ usedMock: Scalars['Boolean']['output'];
78979
79191
  /**
78980
79192
  * True when this node's output came from pinned data instead of a real call
78981
79193
  * (BOFF-7511). Always false on a PRODUCTION run.
@@ -92208,6 +92420,13 @@ export type Query = {
92208
92420
  queryMetrics: MetricsQueryResult;
92209
92421
  queryPaths: PathQueryResult;
92210
92422
  queryRetention: RetentionQueryResult;
92423
+ /**
92424
+ * Ask a run a question without changing it. A durable-function run answers from a replay of its
92425
+ * history in the service (10 s; custom queries need a bundle built with the Phase C SDK); a canvas
92426
+ * run answers status, progress, nodeStates and nodeOutput (args { nodeId }). Needs
92427
+ * fluidgrids.run-control.
92428
+ */
92429
+ queryWorkflowRun: WorkflowQueryResult;
92211
92430
  /** Get RBAC analytics for a scope within a date range */
92212
92431
  rbacAnalytics: RbacAnalytics;
92213
92432
  /** Get RBAC configuration change history */
@@ -92529,6 +92748,8 @@ export type Query = {
92529
92748
  teamWorkPatterns: Array<TeamWorkPatternEntry>;
92530
92749
  /** Preview the cost of a session with a mentor before booking it -- does not create anything. Read access mirrors tecMentor (reading the mentor's rate). */
92531
92750
  tecCalculateSessionCost: TecSessionCostEstimate;
92751
+ /** BOFF-10480: compare up to `limit` (default 200, max 200) records of each kind in the calling workspace with their canonical Buildmyiq records. Read-only; the background parity check repairs drift on its own schedule. */
92752
+ tecCanonicalLmsParity: TecCanonicalParityReport;
92532
92753
  /** A single certificate by id, for the instructor/admin view (BOFF-3863). Same "list-all" gating as tecListCertificates. A learner reading their own certificate must use tecMyCertificate instead. */
92533
92754
  tecCertificate?: Maybe<TecCertificate>;
92534
92755
  tecCourse?: Maybe<TecCourse>;
@@ -92622,6 +92843,8 @@ export type Query = {
92622
92843
  theSafetyDashboard: TheSafetyDashboard;
92623
92844
  theSafetyIncident?: Maybe<TheSafetyIncident>;
92624
92845
  thread: MessageConnection;
92846
+ /** Activation milestones for the calling workspace (BOFF-3450). */
92847
+ timeCampusActivation: TimeCampusActivation;
92625
92848
  /** The caller's currently ACTIVE focus session, if any. Self-scoped, no arg. */
92626
92849
  timeCampusActiveFocusSession?: Maybe<TimeCampusFocusSession>;
92627
92850
  timeCampusAdminWorkspaceState: TimeCampusAdminWorkspaceState;
@@ -92871,6 +93094,12 @@ export type Query = {
92871
93094
  workPatternSummary: WorkPatternSummary;
92872
93095
  /** The calling actor's own work patterns. `userId` is accepted for backward compatibility but is neutralized in the resolver (resolveTargetUserId): any non-privileged actor requesting a different user's data is silently redirected back to their own. Managers use `teamWorkPatternSummary` / `teamWorkPatterns` for genuinely workspace-wide visibility. */
92873
93096
  workPatterns: Array<WorkPattern>;
93097
+ /**
93098
+ * The workspace's activity pause rules that have not expired (Phase C), for the graph executor's
93099
+ * rule check: [{ id, activityType, nodeType, workflowKey, reason, expiresAt }].
93100
+ * INTERNAL: Requires actorType SERVICE
93101
+ */
93102
+ workerActivityPauseRules: Scalars['JSON']['output'];
92874
93103
  /**
92875
93104
  * The agent an AI Agent node of a run names, or null when it names none.
92876
93105
  * INTERNAL: Requires actorType SERVICE
@@ -92933,6 +93162,8 @@ export type Query = {
92933
93162
  workerRunStatuses: Array<WorkerRunStatusEntry>;
92934
93163
  /** Get a single workflow by ID */
92935
93164
  workflow?: Maybe<FluidGridsWorkflow>;
93165
+ /** The workspace's activity pause rules that have not expired. */
93166
+ workflowActivityPauseRules: Array<WorkflowActivityPauseRule>;
92936
93167
  /** Get a workflow by its unique key */
92937
93168
  workflowByKey?: Maybe<FluidGridsWorkflow>;
92938
93169
  /** The code bundle of a version; null for a version without code. */
@@ -93040,6 +93271,8 @@ export type Query = {
93040
93271
  * (10 s budget). `enhanced` adds the structured `__enhanced_stack_trace`.
93041
93272
  */
93042
93273
  workflowRunStackTrace: WorkflowRunStackTrace;
93274
+ /** One update of a run, by its updateId (poll after updateWorkflowRun returns before the stage it asked for). */
93275
+ workflowRunUpdate: WorkflowUpdateResult;
93043
93276
  workflowRuns: WorkflowRunListResponse;
93044
93277
  /**
93045
93278
  * How many runs the workflowRuns list returns for `filter` (the same filters and the same
@@ -93063,6 +93296,14 @@ export type Query = {
93063
93296
  workflowStaticDataList: Array<WorkflowStaticDataRecord>;
93064
93297
  /** Get workflow summary with execution statistics */
93065
93298
  workflowSummary: WorkflowSummaryResponse;
93299
+ /** One test case, or null. */
93300
+ workflowTestCase?: Maybe<WorkflowTestCase>;
93301
+ /** The saved test cases of a workflow, in sort order. */
93302
+ workflowTestCases: Array<WorkflowTestCase>;
93303
+ /** One test-suite run and its per-case results, or null. People see the suite runs they started. */
93304
+ workflowTestRun?: Maybe<WorkflowTestRun>;
93305
+ /** The most recent test-suite runs of a workflow, newest first (1 to 50, default 20). */
93306
+ workflowTestRuns: Array<WorkflowTestRun>;
93066
93307
  /** Get a single variable by id (owner-filtered to the caller's workspace). */
93067
93308
  workflowVariable?: Maybe<WorkflowVariable>;
93068
93309
  /** List variables visible in the caller's workspace (optionally filtered to one project's scope). */
@@ -103100,6 +103341,14 @@ export type QueryQueryRetentionArgs = {
103100
103341
  input: RetentionQueryInput;
103101
103342
  };
103102
103343
  /** Base Query type with placeholder field. Extended by individual query files. */
103344
+ export type QueryQueryWorkflowRunArgs = {
103345
+ args?: InputMaybe<Scalars['JSON']['input']>;
103346
+ name: Scalars['String']['input'];
103347
+ rejectCondition?: InputMaybe<WorkflowQueryRejectCondition>;
103348
+ runId?: InputMaybe<Scalars['ID']['input']>;
103349
+ target?: InputMaybe<RunTargetInput>;
103350
+ };
103351
+ /** Base Query type with placeholder field. Extended by individual query files. */
103103
103352
  export type QueryRbacAnalyticsArgs = {
103104
103353
  dateRange?: InputMaybe<AnalyticsDateRangeInput>;
103105
103354
  scopeId: Scalars['String']['input'];
@@ -104077,6 +104326,10 @@ export type QueryTecCalculateSessionCostArgs = {
104077
104326
  mentorId: Scalars['ID']['input'];
104078
104327
  };
104079
104328
  /** Base Query type with placeholder field. Extended by individual query files. */
104329
+ export type QueryTecCanonicalLmsParityArgs = {
104330
+ limit?: InputMaybe<Scalars['Int']['input']>;
104331
+ };
104332
+ /** Base Query type with placeholder field. Extended by individual query files. */
104080
104333
  export type QueryTecCertificateArgs = {
104081
104334
  id: Scalars['ID']['input'];
104082
104335
  };
@@ -104959,6 +105212,10 @@ export type QueryWorkPatternsArgs = {
104959
105212
  userId?: InputMaybe<Scalars['ID']['input']>;
104960
105213
  };
104961
105214
  /** Base Query type with placeholder field. Extended by individual query files. */
105215
+ export type QueryWorkerActivityPauseRulesArgs = {
105216
+ workspaceId: Scalars['ID']['input'];
105217
+ };
105218
+ /** Base Query type with placeholder field. Extended by individual query files. */
104962
105219
  export type QueryWorkerAgentProfileArgs = {
104963
105220
  nodeId: Scalars['String']['input'];
104964
105221
  runId: Scalars['ID']['input'];
@@ -105162,6 +105419,12 @@ export type QueryWorkflowRunStackTraceArgs = {
105162
105419
  target?: InputMaybe<RunTargetInput>;
105163
105420
  };
105164
105421
  /** Base Query type with placeholder field. Extended by individual query files. */
105422
+ export type QueryWorkflowRunUpdateArgs = {
105423
+ runId?: InputMaybe<Scalars['ID']['input']>;
105424
+ target?: InputMaybe<RunTargetInput>;
105425
+ updateId: Scalars['ID']['input'];
105426
+ };
105427
+ /** Base Query type with placeholder field. Extended by individual query files. */
105165
105428
  export type QueryWorkflowRunsArgs = {
105166
105429
  input: ListWorkflowRunsInput;
105167
105430
  };
@@ -105195,6 +105458,23 @@ export type QueryWorkflowSummaryArgs = {
105195
105458
  workflowKey: Scalars['String']['input'];
105196
105459
  };
105197
105460
  /** Base Query type with placeholder field. Extended by individual query files. */
105461
+ export type QueryWorkflowTestCaseArgs = {
105462
+ id: Scalars['ID']['input'];
105463
+ };
105464
+ /** Base Query type with placeholder field. Extended by individual query files. */
105465
+ export type QueryWorkflowTestCasesArgs = {
105466
+ workflowKey: Scalars['String']['input'];
105467
+ };
105468
+ /** Base Query type with placeholder field. Extended by individual query files. */
105469
+ export type QueryWorkflowTestRunArgs = {
105470
+ id: Scalars['ID']['input'];
105471
+ };
105472
+ /** Base Query type with placeholder field. Extended by individual query files. */
105473
+ export type QueryWorkflowTestRunsArgs = {
105474
+ limit?: InputMaybe<Scalars['Int']['input']>;
105475
+ workflowKey: Scalars['String']['input'];
105476
+ };
105477
+ /** Base Query type with placeholder field. Extended by individual query files. */
105198
105478
  export type QueryWorkflowVariableArgs = {
105199
105479
  id: Scalars['ID']['input'];
105200
105480
  };
@@ -107883,6 +108163,15 @@ export type RunVersioningOverride = {
107883
108163
  /** PINNED: the version whose bundle the run is pinned to. */
107884
108164
  version?: Maybe<Scalars['String']['output']>;
107885
108165
  };
108166
+ export type RunWorkflowTestsInput = {
108167
+ /** Run only these cases (enabled or not); an empty list runs none. Omitted: every enabled case. */
108168
+ caseIds?: InputMaybe<Array<Scalars['ID']['input']>>;
108169
+ /** Where the run was started from; default API. */
108170
+ source?: InputMaybe<WorkflowTestRunSource>;
108171
+ /** Version or alias to test; default the ACTIVE version, else the newest DRAFT. */
108172
+ version?: InputMaybe<Scalars['String']['input']>;
108173
+ workflowKey: Scalars['String']['input'];
108174
+ };
107886
108175
  export type RunningTimer = {
107887
108176
  __typename?: 'RunningTimer';
107888
108177
  elapsedSeconds: Scalars['Int']['output'];
@@ -111835,6 +112124,12 @@ export type StartWorkflowInput = {
111835
112124
  startDelay?: InputMaybe<Scalars['String']['input']>;
111836
112125
  /** One line shown in run lists and the run header (at most 200 characters). Parity. */
111837
112126
  summary?: InputMaybe<Scalars['String']['input']>;
112127
+ /**
112128
+ * Phase C update-with-start (needs fluidgrids.run-control): a new run gets the update before its
112129
+ * first workflow task; with idConflictPolicy USE_EXISTING the open run gets it as a normal update.
112130
+ * Refused together with startDelay.
112131
+ */
112132
+ update?: InputMaybe<StartWorkflowUpdateInput>;
111838
112133
  /** An exact version, an alias, or `active` (the default). */
111839
112134
  version?: InputMaybe<Scalars['String']['input']>;
111840
112135
  /**
@@ -111866,12 +112161,23 @@ export type StartWorkflowResult = {
111866
112161
  */
111867
112162
  existing: Scalars['Boolean']['output'];
111868
112163
  run: WorkflowRun;
112164
+ /** The update the start carried (update-with-start), at the stage the start waited for (Phase C). */
112165
+ updateResult?: Maybe<WorkflowUpdateResult>;
111869
112166
  };
111870
112167
  /** A signal delivered to a run as it starts (signal-with-start). */
111871
112168
  export type StartWorkflowSignalInput = {
111872
112169
  name: Scalars['String']['input'];
111873
112170
  payload?: InputMaybe<Scalars['JSON']['input']>;
111874
112171
  };
112172
+ /** Update-with-start: the update a startWorkflow sends with the run (Phase C, needs fluidgrids.run-control). */
112173
+ export type StartWorkflowUpdateInput = {
112174
+ args?: InputMaybe<Scalars['JSON']['input']>;
112175
+ name: Scalars['String']['input'];
112176
+ /** The update's idempotency id. */
112177
+ updateId: Scalars['ID']['input'];
112178
+ /** How long startWorkflow waits for it; ACCEPTED by default. */
112179
+ waitFor?: InputMaybe<WorkflowUpdateWaitFor>;
112180
+ };
111875
112181
  export declare enum StaticDataScope {
111876
112182
  Global = "GLOBAL",
111877
112183
  Node = "NODE"
@@ -115191,6 +115497,29 @@ export type TecBookSessionInput = {
115191
115497
  scheduledAt: Scalars['DateTime']['input'];
115192
115498
  topic: Scalars['String']['input'];
115193
115499
  };
115500
+ /** One Technospam LMS record whose canonical Buildmyiq record differs from it. */
115501
+ export type TecCanonicalParityMismatch = {
115502
+ __typename?: 'TecCanonicalParityMismatch';
115503
+ /** The fields that differ; `missing` when Buildmyiq holds no record for it. */
115504
+ fields: Array<Scalars['String']['output']>;
115505
+ /** The Technospam record id. */
115506
+ id: Scalars['ID']['output'];
115507
+ /** course, lesson, enrollment, lessonCompletion or certificate. */
115508
+ kind: Scalars['String']['output'];
115509
+ };
115510
+ /** Result of comparing this workspace's Technospam LMS records with the canonical Buildmyiq records they were written to. */
115511
+ export type TecCanonicalParityReport = {
115512
+ __typename?: 'TecCanonicalParityReport';
115513
+ /** Records compared. */
115514
+ checked: Scalars['Int']['output'];
115515
+ /** Batches whose canonical read failed (Buildmyiq unreachable); their records were not compared. */
115516
+ failed: Scalars['Int']['output'];
115517
+ /** Records whose canonical record differs or is missing. */
115518
+ mismatched: Scalars['Int']['output'];
115519
+ mismatches: Array<TecCanonicalParityMismatch>;
115520
+ /** Records skipped because a sync is already queued for them. */
115521
+ pending: Scalars['Int']['output'];
115522
+ };
115194
115523
  export type TecCertificate = {
115195
115524
  __typename?: 'TecCertificate';
115196
115525
  /** BOFF-3134: id of the canonical certificate in Buildmyiq; null until mirrored. */
@@ -115470,6 +115799,10 @@ export declare enum TecLegalAcceptanceType {
115470
115799
  }
115471
115800
  export type TecLesson = {
115472
115801
  __typename?: 'TecLesson';
115802
+ /** BOFF-10464: id of the canonical lesson in Buildmyiq, the platform's LMS system of record. Null until the lesson has been mirrored there. The canonical lesson carries the shared lesson fields only; runnable-code metadata, quiz questions and the free-tier lock stay on this type, and a premium-only lesson's body is not mirrored. */
115803
+ buiLessonId?: Maybe<Scalars['ID']['output']>;
115804
+ /** BOFF-10464: the canonical Buildmyiq lesson this lesson is mirrored to. */
115805
+ canonicalLesson?: Maybe<BuiLesson>;
115473
115806
  /** True when the calling learner has completed this lesson. */
115474
115807
  completedByMe: Scalars['Boolean']['output'];
115475
115808
  /** Null when `isLocked` is true (BOFF-4416 free-tier gating) -- the gate is enforced here at the API layer, not left to the client to respect. */
@@ -115523,6 +115856,10 @@ export type TecLessonCodeRun = {
115523
115856
  /** A lesson the learner finished inside an enrollment (BOFF-4107). */
115524
115857
  export type TecLessonCompletion = {
115525
115858
  __typename?: 'TecLessonCompletion';
115859
+ /** BOFF-10464: id of the canonical lesson progress in Buildmyiq; null until mirrored. */
115860
+ buiLessonProgressId?: Maybe<Scalars['ID']['output']>;
115861
+ /** BOFF-10464: the canonical Buildmyiq lesson progress this completion is mirrored to. */
115862
+ canonicalLessonProgress?: Maybe<BuiLessonProgress>;
115526
115863
  completedAt: Scalars['DateTime']['output'];
115527
115864
  enrollmentId: Scalars['ID']['output'];
115528
115865
  id: Scalars['ID']['output'];
@@ -116923,6 +117260,39 @@ export type TimeApprovalRequest = {
116923
117260
  export type TimeApprovalRequestTimeEntriesArgs = {
116924
117261
  pagination?: InputMaybe<PaginationInput>;
116925
117262
  };
117263
+ /** The calling workspace's activation progress. */
117264
+ export type TimeCampusActivation = {
117265
+ __typename?: 'TimeCampusActivation';
117266
+ /** True once the core milestones (first project and first time entry) are reached. */
117267
+ activated: Scalars['Boolean']['output'];
117268
+ /** When the last core milestone was reached; null until activated. */
117269
+ activatedAt?: Maybe<Scalars['DateTime']['output']>;
117270
+ completedCount: Scalars['Int']['output'];
117271
+ milestones: Array<TimeCampusActivationMilestone>;
117272
+ totalCount: Scalars['Int']['output'];
117273
+ workspaceId: Scalars['ID']['output'];
117274
+ };
117275
+ /** One milestone's state in the calling workspace. */
117276
+ export type TimeCampusActivationMilestone = {
117277
+ __typename?: 'TimeCampusActivationMilestone';
117278
+ /** True once the workspace has ever reached the milestone. */
117279
+ completed: Scalars['Boolean']['output'];
117280
+ /** How many qualifying records the workspace has ever created. */
117281
+ count: Scalars['Int']['output'];
117282
+ /** When the milestone was first reached; null until then. */
117283
+ firstReachedAt?: Maybe<Scalars['DateTime']['output']>;
117284
+ key: TimeCampusActivationMilestoneKey;
117285
+ };
117286
+ /** A TimeCampus activation milestone: the first time a workspace does something that shows it is getting value from the product. */
117287
+ export declare enum TimeCampusActivationMilestoneKey {
117288
+ FirstApproval = "FIRST_APPROVAL",
117289
+ FirstClientPortalShare = "FIRST_CLIENT_PORTAL_SHARE",
117290
+ FirstExpense = "FIRST_EXPENSE",
117291
+ FirstInvoice = "FIRST_INVOICE",
117292
+ FirstPomodoro = "FIRST_POMODORO",
117293
+ FirstProject = "FIRST_PROJECT",
117294
+ FirstTimeEntry = "FIRST_TIME_ENTRY"
117295
+ }
116926
117296
  export type TimeCampusAdminMutationResult = {
116927
117297
  __typename?: 'TimeCampusAdminMutationResult';
116928
117298
  message: Scalars['String']['output'];
@@ -117824,6 +118194,7 @@ export declare enum TimeCampusLoadEvidenceRefType {
117824
118194
  }
117825
118195
  export declare enum TimeCampusLoadFallbackReason {
117826
118196
  AiNotEnabled = "AI_NOT_ENABLED",
118197
+ CreditsExhausted = "CREDITS_EXHAUSTED",
117827
118198
  InsufficientData = "INSUFFICIENT_DATA",
117828
118199
  InvalidReply = "INVALID_REPLY",
117829
118200
  LowConfidence = "LOW_CONFIDENCE",
@@ -126761,6 +127132,33 @@ export type WorkerActionPolicyDecision = {
126761
127132
  */
126762
127133
  reason: Scalars['String']['output'];
126763
127134
  };
127135
+ /** Park the attempt in flight for asynchronous completion (Phase C, spec code-first 11 §2.2). */
127136
+ export type WorkerActivityParkInput = {
127137
+ activityId: Scalars['ID']['input'];
127138
+ attempt: Scalars['Int']['input'];
127139
+ /** When the park ends; default ASYNC_ACTIVITY_DEFAULT_TTL_SECONDS (30 days), capped by schedule-to-close. */
127140
+ deadline?: InputMaybe<Scalars['DateTime']['input']>;
127141
+ /** human, tool, policy (resumed by that request) or external (completed by token or by id). */
127142
+ reason: Scalars['String']['input'];
127143
+ /** The human-response, tool-approval or policy request id; required unless reason is external. */
127144
+ requestId?: InputMaybe<Scalars['String']['input']>;
127145
+ runId: Scalars['ID']['input'];
127146
+ /** State kept for the resume (at most 256 KiB). */
127147
+ state?: InputMaybe<Scalars['JSON']['input']>;
127148
+ };
127149
+ export type WorkerActivityParkResult = {
127150
+ __typename?: 'WorkerActivityParkResult';
127151
+ /**
127152
+ * False with a reason when the park is refused: FEATURE_DISABLED (fluidgrids.run-control is off; keep
127153
+ * the Phase B behaviour), RUN_CLOSED, NOT_FOUND, STALE_ATTEMPT, ALREADY_PARKED, CANCELLED,
127154
+ * INVALID_REASON, REQUEST_REQUIRED, STATE_TOO_LARGE or TOKEN_LIMIT.
127155
+ */
127156
+ accepted: Scalars['Boolean']['output'];
127157
+ deadline?: Maybe<Scalars['DateTime']['output']>;
127158
+ reason?: Maybe<Scalars['String']['output']>;
127159
+ /** The task token of an external park (shown once); null otherwise. */
127160
+ taskToken?: Maybe<Scalars['String']['output']>;
127161
+ };
126764
127162
  /** The agent an AI Agent node runs under, read from the run's stored definition. */
126765
127163
  export type WorkerAgentProfile = {
126766
127164
  __typename?: 'WorkerAgentProfile';
@@ -127134,6 +127532,11 @@ export type WorkerNodeState = {
127134
127532
  runId: Scalars['String']['output'];
127135
127533
  startTime?: Maybe<Scalars['DateTime']['output']>;
127136
127534
  status: NodeStatus;
127535
+ /**
127536
+ * True when a TEST run's test case mocked this node's connection call, so no
127537
+ * external call was made (BOFF-9960). Observational, like usedPinnedData.
127538
+ */
127539
+ usedMock?: Maybe<Scalars['Boolean']['output']>;
127137
127540
  /**
127138
127541
  * True when this node's output came from pinned data instead of a real call
127139
127542
  * (BOFF-7511). The executor decides this itself from the job message's own
@@ -127352,6 +127755,11 @@ export type WorkerUpdateNodeStateInput = {
127352
127755
  output?: InputMaybe<Scalars['JSON']['input']>;
127353
127756
  startTime?: InputMaybe<Scalars['DateTime']['input']>;
127354
127757
  status: NodeStatus;
127758
+ /**
127759
+ * Set true when the executor answered the node's connection call from a test
127760
+ * case's mock instead of calling it (BOFF-9960). Only ever true on a TEST run.
127761
+ */
127762
+ usedMock?: InputMaybe<Scalars['Boolean']['input']>;
127355
127763
  /**
127356
127764
  * Set true when the executor used pinned data instead of actually calling the
127357
127765
  * node (BOFF-7511).
@@ -127399,6 +127807,8 @@ export type WorkflowActivityFailureInput = {
127399
127807
  export type WorkflowActivityHeartbeatAck = {
127400
127808
  __typename?: 'WorkflowActivityHeartbeatAck';
127401
127809
  cancelRequested: Scalars['Boolean']['output'];
127810
+ pauseReason?: Maybe<Scalars['String']['output']>;
127811
+ /** Phase C (11 §2.28): the activity was paused; stop the attempt with ActivityPausedError. */
127402
127812
  paused: Scalars['Boolean']['output'];
127403
127813
  };
127404
127814
  /** The lease of one activity attempt. */
@@ -127408,6 +127818,11 @@ export type WorkflowActivityLease = {
127408
127818
  activityId: Scalars['ID']['output'];
127409
127819
  args?: Maybe<Scalars['JSON']['output']>;
127410
127820
  attempt: Scalars['Int']['output'];
127821
+ /**
127822
+ * Phase C (C-H4): SYNC for an ordinary attempt; RESUMED for an attempt dispatched again to finish a
127823
+ * park (workerParkActivityAsync), whose `resume` carries what finishes it.
127824
+ */
127825
+ completion: Scalars['String']['output'];
127411
127826
  /** Resolved connections: [{ connectionId, adapter }]. */
127412
127827
  connections?: Maybe<Scalars['JSON']['output']>;
127413
127828
  heartbeatDetails?: Maybe<Scalars['JSON']['output']>;
@@ -127426,6 +127841,8 @@ export type WorkflowActivityLease = {
127426
127841
  pinnedOutput?: Maybe<Scalars['JSON']['output']>;
127427
127842
  /** Why the lease was refused: NOT_FOUND, NOT_DURABLE, RUN_CLOSED, STALE_ATTEMPT, NOT_DUE, CANCELLED, NOT_ALLOWED. */
127428
127843
  reason?: Maybe<Scalars['String']['output']>;
127844
+ /** RESUMED only: { kind, requestId, payload, state }: the park's kind and request, the answer, the parked state. */
127845
+ resume?: Maybe<Scalars['JSON']['output']>;
127429
127846
  rootRunId: Scalars['ID']['output'];
127430
127847
  runId: Scalars['ID']['output'];
127431
127848
  runMode: RunMode;
@@ -127433,6 +127850,71 @@ export type WorkflowActivityLease = {
127433
127850
  scheduleToCloseDeadline?: Maybe<Scalars['DateTime']['output']>;
127434
127851
  startToCloseTimeoutMs: Scalars['Int']['output'];
127435
127852
  };
127853
+ /** New options for activities; they apply from the next attempt. */
127854
+ export type WorkflowActivityOptionsInput = {
127855
+ heartbeatTimeoutMs?: InputMaybe<Scalars['Int']['input']>;
127856
+ retry?: InputMaybe<WorkflowActivityRetryInput>;
127857
+ scheduleToCloseTimeoutMs?: InputMaybe<Scalars['Int']['input']>;
127858
+ scheduleToStartTimeoutMs?: InputMaybe<Scalars['Int']['input']>;
127859
+ startToCloseTimeoutMs?: InputMaybe<Scalars['Int']['input']>;
127860
+ };
127861
+ /** A workspace rule that pauses matching durable activities when they are scheduled or retried. */
127862
+ export type WorkflowActivityPauseRule = {
127863
+ __typename?: 'WorkflowActivityPauseRule';
127864
+ /** Matches the node type an activity runs (or a user activity's name). */
127865
+ activityType?: Maybe<Scalars['String']['output']>;
127866
+ createdAt: Scalars['DateTime']['output'];
127867
+ createdBy: Scalars['String']['output'];
127868
+ /** The rule ends (and unpauses what it paused) at this time; null: until deleted. */
127869
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
127870
+ id: Scalars['ID']['output'];
127871
+ nodeType?: Maybe<Scalars['String']['output']>;
127872
+ reason: Scalars['String']['output'];
127873
+ workflowKey?: Maybe<Scalars['String']['output']>;
127874
+ };
127875
+ /** A new pause rule: at least one of activityType, nodeType or workflowKey. */
127876
+ export type WorkflowActivityPauseRuleInput = {
127877
+ activityType?: InputMaybe<Scalars['String']['input']>;
127878
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
127879
+ nodeType?: InputMaybe<Scalars['String']['input']>;
127880
+ reason: Scalars['String']['input'];
127881
+ workflowKey?: InputMaybe<Scalars['String']['input']>;
127882
+ };
127883
+ /** A retry policy change (each field optional). */
127884
+ export type WorkflowActivityRetryInput = {
127885
+ backoffMultiplier?: InputMaybe<Scalars['Float']['input']>;
127886
+ /** The longest delay, in milliseconds. */
127887
+ maxDelay?: InputMaybe<Scalars['Int']['input']>;
127888
+ maxRetries?: InputMaybe<Scalars['Int']['input']>;
127889
+ nonRetryableErrorTypes?: InputMaybe<Array<Scalars['String']['input']>>;
127890
+ /** Milliseconds before the first retry. */
127891
+ retryDelay?: InputMaybe<Scalars['Int']['input']>;
127892
+ retryOnErrorTypes?: InputMaybe<Array<ErrorType>>;
127893
+ };
127894
+ /** Which activities of a run an operation acts on: exactly one of the three. */
127895
+ export type WorkflowActivitySelectorInput = {
127896
+ activityId?: InputMaybe<Scalars['ID']['input']>;
127897
+ /** The node type the activities run. */
127898
+ activityType?: InputMaybe<Scalars['String']['input']>;
127899
+ /** Every open activity of the run. */
127900
+ all?: InputMaybe<Scalars['Boolean']['input']>;
127901
+ };
127902
+ /** A failure reported for an activity from outside the run (asynchronous completion). */
127903
+ export type WorkflowAsyncFailureInput = {
127904
+ details?: InputMaybe<Scalars['JSON']['input']>;
127905
+ errorType?: InputMaybe<ErrorType>;
127906
+ message: Scalars['String']['input'];
127907
+ nonRetryable?: InputMaybe<Scalars['Boolean']['input']>;
127908
+ /** The application failure type (an ApplicationError type). */
127909
+ type?: InputMaybe<Scalars['String']['input']>;
127910
+ };
127911
+ /** What a heartbeat of an asynchronously completed activity answers. */
127912
+ export type WorkflowAsyncHeartbeatAck = {
127913
+ __typename?: 'WorkflowAsyncHeartbeatAck';
127914
+ cancelRequested: Scalars['Boolean']['output'];
127915
+ pauseReason?: Maybe<Scalars['String']['output']>;
127916
+ paused: Scalars['Boolean']['output'];
127917
+ };
127436
127918
  /**
127437
127919
  * How a workflow version was written (BOFF-3720).
127438
127920
  * DIRECT: a person, with their own sign-in.
@@ -128359,6 +128841,25 @@ export declare enum WorkflowProposalStatus {
128359
128841
  /** The workflow changed after the proposal was made; ask for a new one */
128360
128842
  Stale = "STALE"
128361
128843
  }
128844
+ /** When queryWorkflowRun refuses instead of answering (Phase C, spec code-first 11 §2.21). */
128845
+ export declare enum WorkflowQueryRejectCondition {
128846
+ None = "NONE",
128847
+ /** Refuse when the run ended other than COMPLETED. */
128848
+ NotCompletedCleanly = "NOT_COMPLETED_CLEANLY",
128849
+ /** Refuse when the run has ended. */
128850
+ NotOpen = "NOT_OPEN"
128851
+ }
128852
+ /** One query's answer. */
128853
+ export type WorkflowQueryResult = {
128854
+ __typename?: 'WorkflowQueryResult';
128855
+ /** Why the query was refused or failed. */
128856
+ error?: Maybe<Scalars['String']['output']>;
128857
+ name: Scalars['String']['output'];
128858
+ /** No handler takes the name, or rejectCondition refused the query (`error` says why). */
128859
+ rejected: Scalars['Boolean']['output'];
128860
+ /** The handler's answer, following the run's data-privacy settings. */
128861
+ value?: Maybe<Scalars['JSON']['output']>;
128862
+ };
128362
128863
  /**
128363
128864
  * A gradual rollout (spec code-first 11 §2.27): `percent` % of the automatic starts of the workflow
128364
128865
  * (startWorkflow without a version, or `active`) run `toVersion` instead of the ACTIVE `fromVersion`.
@@ -128719,6 +129220,22 @@ export type WorkflowRunStackTrace = {
128719
129220
  /** Where each pending await of the workflow code is (`__stack_trace`); null for a closed run. */
128720
129221
  trace?: Maybe<Scalars['String']['output']>;
128721
129222
  };
129223
+ /**
129224
+ * The lifecycle of an update to a durable-function run (Phase C, spec code-first 11 §2.39). REJECTED
129225
+ * lives on the update only, never in the run's history.
129226
+ */
129227
+ export declare enum WorkflowRunUpdateStatus {
129228
+ /** The handler accepted it and is running. */
129229
+ Accepted = "ACCEPTED",
129230
+ /** Already in history (update-with-start); the next workflow task runs it. */
129231
+ Admitted = "ADMITTED",
129232
+ /** The handler finished: `result`, or `failure`. */
129233
+ Completed = "COMPLETED",
129234
+ /** Requested; the next workflow task receives it. */
129235
+ Pending = "PENDING",
129236
+ /** The validator refused it, or no handler answered it (UPDATE_NOT_HANDLED), or the run ended first (RUN_CLOSED). */
129237
+ Rejected = "REJECTED"
129238
+ }
128722
129239
  export type WorkflowScheduledJob = {
128723
129240
  __typename?: 'WorkflowScheduledJob';
128724
129241
  config?: Maybe<Scalars['JSON']['output']>;
@@ -128844,6 +129361,11 @@ export type WorkflowTaskLease = {
128844
129361
  buildId?: Maybe<Scalars['String']['output']>;
128845
129362
  bundle?: Maybe<WorkflowCodeBundleAccess>;
128846
129363
  cancelRequested: Scalars['Boolean']['output'];
129364
+ /**
129365
+ * Phase C (D-SDK1-32): the bundle features (code.features names) the workspace's flags enable, sent
129366
+ * as the task request's `features`. A bundle with interceptors runs only when they are listed.
129367
+ */
129368
+ features: Array<Scalars['String']['output']>;
128847
129369
  historyBytes: Scalars['Float']['output'];
128848
129370
  /** The history length the attempt works from; pass it back as expectedHistoryLength. */
128849
129371
  historyLength: Scalars['Int']['output'];
@@ -128863,6 +129385,11 @@ export type WorkflowTaskLease = {
128863
129385
  startedAt: Scalars['DateTime']['output'];
128864
129386
  taskId: Scalars['ID']['output'];
128865
129387
  taskQueue?: Maybe<Scalars['String']['output']>;
129388
+ /**
129389
+ * Phase C (C-ABI-H): the pending updates this task is delivered, each { updateId, name, args,
129390
+ * headers }: the task request's `updates`. Answering them is relief (accepted with any flag state).
129391
+ */
129392
+ updates: Array<Scalars['JSON']['output']>;
128866
129393
  version?: Maybe<Scalars['String']['output']>;
128867
129394
  workflowFn?: Maybe<Scalars['String']['output']>;
128868
129395
  workflowKey?: Maybe<Scalars['String']['output']>;
@@ -128877,11 +129404,208 @@ export type WorkflowTaskLocalActivityInput = {
128877
129404
  operation?: InputMaybe<Scalars['String']['input']>;
128878
129405
  summary?: InputMaybe<Scalars['String']['input']>;
128879
129406
  };
129407
+ export declare enum WorkflowTestAssertionOperator {
129408
+ /** A number lies between `min` and `max` (inclusive; either may be omitted). */
129409
+ Between = "BETWEEN",
129410
+ /** A string contains `expected`, or an array contains an element equal to it. */
129411
+ Contains = "CONTAINS",
129412
+ /** The value equals `expected` (deep equality). */
129413
+ Equals = "EQUALS",
129414
+ Exists = "EXISTS",
129415
+ /** An array has between `min` and `max` items (inclusive; either may be omitted). */
129416
+ ItemCount = "ITEM_COUNT",
129417
+ /** The value is valid against the JSON Schema in `expected`. */
129418
+ JsonSchema = "JSON_SCHEMA",
129419
+ /** A string matches the regular expression in `expected`. */
129420
+ Matches = "MATCHES",
129421
+ NotContains = "NOT_CONTAINS",
129422
+ NotEquals = "NOT_EQUALS",
129423
+ NotExists = "NOT_EXISTS"
129424
+ }
129425
+ /** One rule on a node's output. */
129426
+ export type WorkflowTestAssertionRule = {
129427
+ __typename?: 'WorkflowTestAssertionRule';
129428
+ expected?: Maybe<Scalars['JSON']['output']>;
129429
+ max?: Maybe<Scalars['Float']['output']>;
129430
+ /** Shown when the rule does not hold. */
129431
+ message?: Maybe<Scalars['String']['output']>;
129432
+ min?: Maybe<Scalars['Float']['output']>;
129433
+ operator: WorkflowTestAssertionOperator;
129434
+ /** Dotted path into the node output (e.g. `body.items.0.id`); null checks the whole output. */
129435
+ path?: Maybe<Scalars['String']['output']>;
129436
+ };
129437
+ export type WorkflowTestAssertionRuleInput = {
129438
+ expected?: InputMaybe<Scalars['JSON']['input']>;
129439
+ max?: InputMaybe<Scalars['Float']['input']>;
129440
+ message?: InputMaybe<Scalars['String']['input']>;
129441
+ min?: InputMaybe<Scalars['Float']['input']>;
129442
+ operator: WorkflowTestAssertionOperator;
129443
+ path?: InputMaybe<Scalars['String']['input']>;
129444
+ };
129445
+ export type WorkflowTestCase = {
129446
+ __typename?: 'WorkflowTestCase';
129447
+ connectionMocks: Array<WorkflowTestConnectionMock>;
129448
+ createdAt: Scalars['DateTime']['output'];
129449
+ createdBy: Scalars['String']['output'];
129450
+ description?: Maybe<Scalars['String']['output']>;
129451
+ enabled: Scalars['Boolean']['output'];
129452
+ expectations: Array<WorkflowTestNodeExpectation>;
129453
+ expectedStatus: WorkflowTestExpectedStatus;
129454
+ id: Scalars['ID']['output'];
129455
+ /** The case's result in the most recent of the workflow's last 20 finished suite runs that ran it; null when none of them did. */
129456
+ lastResult?: Maybe<WorkflowTestCaseResult>;
129457
+ name: Scalars['String']['output'];
129458
+ /** Pinned node outputs: { [nodeId]: { data: { ... } } }. */
129459
+ pinnedOutputs: Scalars['JSON']['output'];
129460
+ sortOrder: Scalars['Int']['output'];
129461
+ triggerData: Scalars['JSON']['output'];
129462
+ /** The node the run starts on; null starts on the workflow's single entry node. */
129463
+ triggerNodeId?: Maybe<Scalars['String']['output']>;
129464
+ updatedAt: Scalars['DateTime']['output'];
129465
+ updatedBy?: Maybe<Scalars['String']['output']>;
129466
+ workflowKey: Scalars['String']['output'];
129467
+ };
129468
+ /**
129469
+ * A whole test case. Updating replaces every field. At most 256 KiB of JSON per
129470
+ * case, 100 mocks, 100 pinned nodes and 100 checked nodes.
129471
+ */
129472
+ export type WorkflowTestCaseInput = {
129473
+ connectionMocks?: InputMaybe<Array<WorkflowTestConnectionMockInput>>;
129474
+ description?: InputMaybe<Scalars['String']['input']>;
129475
+ /** Default true; disabled cases are skipped by runWorkflowTests. */
129476
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
129477
+ expectations?: InputMaybe<Array<WorkflowTestNodeExpectationInput>>;
129478
+ /** Default COMPLETED. */
129479
+ expectedStatus?: InputMaybe<WorkflowTestExpectedStatus>;
129480
+ /** 1 to 200 characters, unique (ignoring case) among the workflow's test cases. */
129481
+ name: Scalars['String']['input'];
129482
+ /** { [nodeId]: { data: { ... } } } */
129483
+ pinnedOutputs?: InputMaybe<Scalars['JSON']['input']>;
129484
+ sortOrder?: InputMaybe<Scalars['Int']['input']>;
129485
+ triggerData?: InputMaybe<Scalars['JSON']['input']>;
129486
+ triggerNodeId?: InputMaybe<Scalars['String']['input']>;
129487
+ };
129488
+ export type WorkflowTestCaseResult = {
129489
+ __typename?: 'WorkflowTestCaseResult';
129490
+ caseId: Scalars['ID']['output'];
129491
+ caseName: Scalars['String']['output'];
129492
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
129493
+ failures: Array<WorkflowTestFailure>;
129494
+ /** The TEST run of the case; null when it could not start. */
129495
+ runId?: Maybe<Scalars['ID']['output']>;
129496
+ runStatus?: Maybe<RunStatus>;
129497
+ status: WorkflowTestRunStatus;
129498
+ };
129499
+ /**
129500
+ * A canned connection result: the node returns `response` (or fails with `error`)
129501
+ * instead of calling its connection. `operation` narrows it to one operation.
129502
+ */
129503
+ export type WorkflowTestConnectionMock = {
129504
+ __typename?: 'WorkflowTestConnectionMock';
129505
+ error?: Maybe<WorkflowTestMockError>;
129506
+ nodeId: Scalars['String']['output'];
129507
+ operation?: Maybe<Scalars['String']['output']>;
129508
+ response?: Maybe<Scalars['JSON']['output']>;
129509
+ };
129510
+ export type WorkflowTestConnectionMockInput = {
129511
+ error?: InputMaybe<WorkflowTestMockErrorInput>;
129512
+ nodeId: Scalars['String']['input'];
129513
+ operation?: InputMaybe<Scalars['String']['input']>;
129514
+ /** Set exactly one of response and error. */
129515
+ response?: InputMaybe<Scalars['JSON']['input']>;
129516
+ };
129517
+ /** The run outcome a test case expects. */
129518
+ export declare enum WorkflowTestExpectedStatus {
129519
+ Completed = "COMPLETED",
129520
+ Failed = "FAILED"
129521
+ }
129522
+ export type WorkflowTestFailure = {
129523
+ __typename?: 'WorkflowTestFailure';
129524
+ /** ASSERTION_FAILED, NODE_FAILED, NODE_TIMEOUT, RUN_FAILED, UNEXPECTED_STATUS, EXPECTED_NODE_NOT_RUN, RUN_NOT_STARTED, UNKNOWN_NODE, RUN_CANCELLED, RUN_TERMINATED, RUN_MISSING or SUITE_TIMEOUT. */
129525
+ code: Scalars['String']['output'];
129526
+ /** For ASSERTION_FAILED, the rules that did not hold; the node's output on the run holds every rule result. */
129527
+ message: Scalars['String']['output'];
129528
+ nodeId?: Maybe<Scalars['String']['output']>;
129529
+ };
129530
+ export type WorkflowTestMockError = {
129531
+ __typename?: 'WorkflowTestMockError';
129532
+ errorType?: Maybe<ErrorType>;
129533
+ message: Scalars['String']['output'];
129534
+ };
129535
+ export type WorkflowTestMockErrorInput = {
129536
+ errorType?: InputMaybe<ErrorType>;
129537
+ message: Scalars['String']['input'];
129538
+ };
129539
+ /** The rules a test case checks on one node's output when the node completes. */
129540
+ export type WorkflowTestNodeExpectation = {
129541
+ __typename?: 'WorkflowTestNodeExpectation';
129542
+ nodeId: Scalars['String']['output'];
129543
+ rules: Array<WorkflowTestAssertionRule>;
129544
+ };
129545
+ export type WorkflowTestNodeExpectationInput = {
129546
+ nodeId: Scalars['String']['input'];
129547
+ /** 1 to 50 rules. */
129548
+ rules: Array<WorkflowTestAssertionRuleInput>;
129549
+ };
129550
+ export type WorkflowTestRun = {
129551
+ __typename?: 'WorkflowTestRun';
129552
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
129553
+ id: Scalars['ID']['output'];
129554
+ results: Array<WorkflowTestCaseResult>;
129555
+ source: WorkflowTestRunSource;
129556
+ startedAt: Scalars['DateTime']['output'];
129557
+ status: WorkflowTestRunStatus;
129558
+ summary: WorkflowTestRunSummary;
129559
+ triggeredBy: Scalars['String']['output'];
129560
+ version: Scalars['String']['output'];
129561
+ workflowKey: Scalars['String']['output'];
129562
+ };
129563
+ export declare enum WorkflowTestRunSource {
129564
+ Api = "API",
129565
+ Cli = "CLI",
129566
+ Ui = "UI"
129567
+ }
129568
+ export declare enum WorkflowTestRunStatus {
129569
+ /** No case failed, but at least one could not run (not started, cancelled or timed out). */
129570
+ Error = "ERROR",
129571
+ /** At least one case failed: an assertion did not hold or the run did not end as expected. */
129572
+ Failed = "FAILED",
129573
+ /** Every case passed. */
129574
+ Passed = "PASSED",
129575
+ /** Started; no case run has begun yet. */
129576
+ Pending = "PENDING",
129577
+ /** At least one case run has not finished. */
129578
+ Running = "RUNNING"
129579
+ }
129580
+ export type WorkflowTestRunSummary = {
129581
+ __typename?: 'WorkflowTestRunSummary';
129582
+ errored: Scalars['Int']['output'];
129583
+ failed: Scalars['Int']['output'];
129584
+ passed: Scalars['Int']['output'];
129585
+ /** Cases whose run has not finished. */
129586
+ pending: Scalars['Int']['output'];
129587
+ total: Scalars['Int']['output'];
129588
+ };
128880
129589
  export type WorkflowTimeRange = {
128881
129590
  __typename?: 'WorkflowTimeRange';
128882
129591
  from: Scalars['String']['output'];
128883
129592
  to: Scalars['String']['output'];
128884
129593
  };
129594
+ /** One update of a durable-function run. */
129595
+ export type WorkflowUpdateResult = {
129596
+ __typename?: 'WorkflowUpdateResult';
129597
+ acceptedAt?: Maybe<Scalars['DateTime']['output']>;
129598
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
129599
+ createdAt: Scalars['DateTime']['output'];
129600
+ /** The failure of a REJECTED update, or of a COMPLETED one whose handler failed. */
129601
+ failure?: Maybe<Scalars['JSON']['output']>;
129602
+ name: Scalars['String']['output'];
129603
+ /** The handler's result (COMPLETED), following the run's data-privacy settings. */
129604
+ result?: Maybe<Scalars['JSON']['output']>;
129605
+ runId: Scalars['ID']['output'];
129606
+ status: WorkflowRunUpdateStatus;
129607
+ updateId: Scalars['ID']['output'];
129608
+ };
128885
129609
  export type WorkflowUpdateScheduledJobInput = {
128886
129610
  config?: InputMaybe<Scalars['JSON']['input']>;
128887
129611
  enabled?: InputMaybe<Scalars['Boolean']['input']>;
@@ -128889,6 +129613,13 @@ export type WorkflowUpdateScheduledJobInput = {
128889
129613
  schedule?: InputMaybe<Scalars['String']['input']>;
128890
129614
  timezone?: InputMaybe<Scalars['String']['input']>;
128891
129615
  };
129616
+ /** How long updateWorkflowRun waits before it answers (Phase C). */
129617
+ export declare enum WorkflowUpdateWaitFor {
129618
+ /** Until a workflow task accepts or rejects the update. */
129619
+ Accepted = "ACCEPTED",
129620
+ /** Until the update completes (or is rejected). */
129621
+ Completed = "COMPLETED"
129622
+ }
128892
129623
  /**
128893
129624
  * One validation finding. `code` is stable (for example `edge.sourceNotFound`,
128894
129625
  * `interface.invalidSchema`, `strict.legacyMirror`); `message` is English.