@burdenoff/microfe-timecampus 2026.1031.5 → 2026.1031.6

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.
@@ -56476,7 +56476,7 @@ export type Mutation = {
56476
56476
  /** Disconnect a social media account (revoke tokens and mark disconnected) */
56477
56477
  disconnectHeadshotmarketingSocialAccount: HeadshotmarketingSocialAccount;
56478
56478
  disconnectHealthyBowlAccountingIntegration: HealthyBowlAccountingIntegration;
56479
- /** Disconnect a channel: further events from it are refused. Already captured events are kept. */
56479
+ /** Disconnect a channel: further events from it are refused. Already captured events are kept. For an OAuth-backed channel the integration connection is revoked as well. */
56480
56480
  disconnectTimeCampusCaptureChannel: TimeCampusCaptureChannel;
56481
56481
  dismissHealthyBowlComplianceFlag: ComplianceFlag;
56482
56482
  dismissRecommendation: TimeCampusRecommendation;
@@ -56818,7 +56818,7 @@ export type Mutation = {
56818
56818
  generateHealthyBowlDeliveryRoute: DeliveryRoute;
56819
56819
  /** One-click MRV report: assembles emissions + sequestration + credits + EUDR into a PDF/CSV via wspace-files-svc. */
56820
56820
  generateHealthyBowlMrvReport: HbMrvReport;
56821
- /** Run the deterministic recommendation rules over the caller's real data (idempotent per rule + ISO-week). */
56821
+ /** Run the deterministic recommendation rules over the caller's real data (idempotent per rule + ISO-week). When the workspace opted in to model recommendations, up to three AI candidates follow, generated at most once per ISO week and validated against the caller's preferences. */
56822
56822
  generateMyRecommendations: Array<TimeCampusRecommendation>;
56823
56823
  generateReport: ReportRun;
56824
56824
  /** Aggregates every billable, un-invoiced TimeEntry in the workspace (scoped to `projectIds` and the given period) by project + task, applying each entry's own hourly rate, and creates a DRAFT invoice with one line item per project/task group. The matched time entries are atomically marked as invoiced so they can never be billed twice. */
@@ -58480,6 +58480,8 @@ export type Mutation = {
58480
58480
  reconcileCourseKnowledgeImports: CourseKnowledgeImportRecovery;
58481
58481
  reconcileKnowledgeArtifactCleanup: KnowledgeVectorCleanupReceipt;
58482
58482
  reconcileKnowledgeVectorCleanup: KnowledgeVectorCleanupReceipt;
58483
+ /** Super admin: register or repair the sweep of every workspace with an opted-in member and remove unused ones. */
58484
+ reconcileTimeCampusTimeIntelligenceSchedules: TimeCampusTimeIntelligenceReconcileResult;
58483
58485
  recordAIPromptUsage: AiPrompt;
58484
58486
  /** Record multiple activities in batch */
58485
58487
  recordActivities: Array<ActivityLog>;
@@ -59091,6 +59093,8 @@ export type Mutation = {
59091
59093
  /** Run a script inside the sandbox and capture its output. The sandbox must be running. The run is recorded (even on failure) so it can be reviewed before any real-target execution. */
59092
59094
  runSandboxScript: SandboxScriptRun;
59093
59095
  runSecurityScan: SecurityScanRun;
59096
+ /** 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. */
59097
+ runTimeCampusTimeIntelligenceSweep: TimeCampusTimeIntelligenceSweep;
59094
59098
  /**
59095
59099
  * 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.
59096
59100
  * @deprecated Use the my* assistant-history fields (BOFF-7335).
@@ -59501,6 +59505,8 @@ export type Mutation = {
59501
59505
  syncHealthyBowlOrderPayment: Order;
59502
59506
  /** Backfill/refresh the farm's real multi-year daily + monthly weather history from the Open-Meteo ERA5 archive (the "Re-sync history" action). Replaces any prior history for the workspace and returns the refreshed series. */
59503
59507
  syncHealthyBowlWeatherHistory: WeatherHistorySeries;
59508
+ /** Pull an OAuth-backed channel from its provider now instead of waiting for the next scheduled sync. */
59509
+ syncTimeCampusCaptureChannel: TimeCampusCaptureChannelSyncResult;
59504
59510
  tagAnalyticsDashboard: AnalyticsDashboardTagAssignment;
59505
59511
  tagAnalyticsMetric: AnalyticsMetricTagAssignment;
59506
59512
  tagAnalyticsReport: AnalyticsReportTagAssignment;
@@ -73840,6 +73846,10 @@ export type MutationRunSecurityScanArgs = {
73840
73846
  vibeId: Scalars['ID']['input'];
73841
73847
  };
73842
73848
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73849
+ export type MutationRunTimeCampusTimeIntelligenceSweepArgs = {
73850
+ input?: InputMaybe<TimeCampusTimeIntelligenceSweepInput>;
73851
+ };
73852
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
73843
73853
  export type MutationSaveAssistantTurnArgs = {
73844
73854
  input: SaveAssistantTurnInput;
73845
73855
  };
@@ -74861,6 +74871,10 @@ export type MutationSyncHealthyBowlWeatherHistoryArgs = {
74861
74871
  context: ContextInput;
74862
74872
  };
74863
74873
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74874
+ export type MutationSyncTimeCampusCaptureChannelArgs = {
74875
+ id: Scalars['ID']['input'];
74876
+ };
74877
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
74864
74878
  export type MutationTagAnalyticsDashboardArgs = {
74865
74879
  input: TagAnalyticsDashboardInput;
74866
74880
  };
@@ -91665,6 +91679,8 @@ export type Query = {
91665
91679
  myTimeCampusCaptureChannel: TimeCampusCaptureChannel;
91666
91680
  /** The calling user's capture channels, newest first. Disconnected channels are included unless excluded. */
91667
91681
  myTimeCampusCaptureChannels: Array<TimeCampusCaptureChannel>;
91682
+ /** The caller's own recent day summaries and weekly digests, newest first. */
91683
+ myTimeIntelligenceDeliveries: Array<TimeCampusTimeIntelligenceDelivery>;
91668
91684
  myTimeWellSpent: TimeCampusTimeWellSpent;
91669
91685
  myVibeLlmContextPreview: VibeLlmContextPreview;
91670
91686
  myVibeLlmContextSettings: VibeLlmContextSettings;
@@ -92637,6 +92653,8 @@ export type Query = {
92637
92653
  timeCampusApplets: Array<TimeCampusApplet>;
92638
92654
  timeCampusCaptureEvent?: Maybe<TimeCampusCaptureEvent>;
92639
92655
  timeCampusCaptureEvents: TimeCampusCaptureEventListResponse;
92656
+ /** The OAuth-backed sources a capture channel can pull from. */
92657
+ timeCampusCapturePullProviders: Array<TimeCampusCapturePullProvider>;
92640
92658
  timeCampusDataErasureRequests: Array<TimeCampusDataErasureRequest>;
92641
92659
  timeCampusFeatureFlags: TimeCampusFeatureFlagList;
92642
92660
  /** Adaptive focus-block suggestions for one local day. `dayStart` is the instant of the caller's local midnight for that day (yesterday up to 14 days ahead). Ranked from the caller's own work patterns, meetings and past focus sessions; slots already accepted, snoozed or dismissed are excluded. */
@@ -92684,6 +92702,10 @@ export type Query = {
92684
92702
  timeEntry?: Maybe<TimeEntry>;
92685
92703
  timeEntryCount: Scalars['Int']['output'];
92686
92704
  timeEntryStats: TimeEntryStats;
92705
+ /** The workspace's scheduler registration, if any member has opted in. */
92706
+ timeIntelligenceSchedule?: Maybe<TimeCampusTimeIntelligenceSchedule>;
92707
+ /** Recent sweeps of the workspace, newest first. */
92708
+ timeIntelligenceSweeps: Array<TimeCampusTimeIntelligenceSweep>;
92687
92709
  todayFocusScore?: Maybe<FocusScore>;
92688
92710
  todayWorkPattern?: Maybe<WorkPattern>;
92689
92711
  toolApprovalRequest?: Maybe<ToolApprovalRequest>;
@@ -101484,6 +101506,10 @@ export type QueryMyTimeCampusCaptureChannelsArgs = {
101484
101506
  includeDisconnected?: InputMaybe<Scalars['Boolean']['input']>;
101485
101507
  };
101486
101508
  /** Base Query type with placeholder field. Extended by individual query files. */
101509
+ export type QueryMyTimeIntelligenceDeliveriesArgs = {
101510
+ limit?: InputMaybe<Scalars['Int']['input']>;
101511
+ };
101512
+ /** Base Query type with placeholder field. Extended by individual query files. */
101487
101513
  export type QueryMyTimeWellSpentArgs = {
101488
101514
  from: Scalars['DateTime']['input'];
101489
101515
  to: Scalars['DateTime']['input'];
@@ -104498,6 +104524,10 @@ export type QueryTimeEntryStatsArgs = {
104498
104524
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
104499
104525
  };
104500
104526
  /** Base Query type with placeholder field. Extended by individual query files. */
104527
+ export type QueryTimeIntelligenceSweepsArgs = {
104528
+ limit?: InputMaybe<Scalars['Int']['input']>;
104529
+ };
104530
+ /** Base Query type with placeholder field. Extended by individual query files. */
104501
104531
  export type QueryToolApprovalRequestArgs = {
104502
104532
  id: Scalars['ID']['input'];
104503
104533
  };
@@ -117038,11 +117068,21 @@ export type TimeCampusCaptureChannel = {
117038
117068
  id: Scalars['ID']['output'];
117039
117069
  /** Opaque reference to a wspace-integrations-svc connection for OAuth-backed connectors. */
117040
117070
  integrationConnectionId?: Maybe<Scalars['String']['output']>;
117071
+ /** When the integration connection was revoked. A revoked channel needs a new connection to resume. */
117072
+ integrationRevokedAt?: Maybe<Scalars['DateTime']['output']>;
117041
117073
  lastEventAt?: Maybe<Scalars['DateTime']['output']>;
117042
117074
  lastSyncAt?: Maybe<Scalars['DateTime']['output']>;
117075
+ /** When a sync of this pull channel last started. */
117076
+ lastSyncAttemptAt?: Maybe<Scalars['DateTime']['output']>;
117077
+ /** Why the last sync (or the integration revoke) failed; null after a successful sync. */
117078
+ lastSyncError?: Maybe<Scalars['String']['output']>;
117079
+ /** How the last sync of this pull channel ended; null before the first sync. */
117080
+ lastSyncStatus?: Maybe<TimeCampusCaptureChannelSyncStatus>;
117043
117081
  name: Scalars['String']['output'];
117044
117082
  privacyMode: TimeCampusCaptureChannelPrivacyMode;
117045
117083
  provider?: Maybe<Scalars['String']['output']>;
117084
+ /** True when TimeCampus pulls this channel from its provider on a schedule (OAuth-backed connectors). */
117085
+ pullSync: Scalars['Boolean']['output'];
117046
117086
  /** Captured events from this channel older than this many days are purged. Null keeps them. */
117047
117087
  retentionDays?: Maybe<Scalars['Int']['output']>;
117048
117088
  status: TimeCampusCaptureChannelStatus;
@@ -117076,6 +117116,24 @@ export declare enum TimeCampusCaptureChannelStatus {
117076
117116
  /** Temporarily paused: events sent while paused are refused and never stored. */
117077
117117
  Paused = "PAUSED"
117078
117118
  }
117119
+ export type TimeCampusCaptureChannelSyncResult = {
117120
+ __typename?: 'TimeCampusCaptureChannelSyncResult';
117121
+ channel: TimeCampusCaptureChannel;
117122
+ duplicates: Scalars['Int']['output'];
117123
+ error?: Maybe<Scalars['String']['output']>;
117124
+ ingested: Scalars['Int']['output'];
117125
+ status: TimeCampusCaptureChannelSyncStatus;
117126
+ };
117127
+ export declare enum TimeCampusCaptureChannelSyncStatus {
117128
+ /** The provider or the integrations service failed; the next scheduled sync retries. */
117129
+ Failed = "FAILED",
117130
+ /** The integration connection is revoked, expired or rejected by the provider: connect the account again. */
117131
+ ReconnectRequired = "RECONNECT_REQUIRED",
117132
+ /** Nothing was pulled (the channel stopped accepting events, or capture is turned off for the source). */
117133
+ Skipped = "SKIPPED",
117134
+ /** Pulled and ingested. */
117135
+ Synced = "SYNCED"
117136
+ }
117079
117137
  export declare enum TimeCampusCaptureChannelType {
117080
117138
  Api = "API",
117081
117139
  Browser = "BROWSER",
@@ -117084,6 +117142,8 @@ export declare enum TimeCampusCaptureChannelType {
117084
117142
  Custom = "CUSTOM",
117085
117143
  Desktop = "DESKTOP",
117086
117144
  Ide = "IDE",
117145
+ /** Activity pulled from a connected third-party app through wspace-integrations-svc, e.g. GitHub. */
117146
+ Integration = "INTEGRATION",
117087
117147
  Mobile = "MOBILE"
117088
117148
  }
117089
117149
  export type TimeCampusCaptureEvent = {
@@ -117146,6 +117206,17 @@ export type TimeCampusCaptureEventListResponse = {
117146
117206
  items: Array<TimeCampusCaptureEvent>;
117147
117207
  total: Scalars['Int']['output'];
117148
117208
  };
117209
+ /** An OAuth-backed source TimeCampus can pull from (BOFF-10441). Connect it by creating a wspace-integrations-svc connection for `integrationProviderKey`, then `connectTimeCampusCaptureChannel` with `type: channelType`, `provider: key` and the connection id. */
117210
+ export type TimeCampusCapturePullProvider = {
117211
+ __typename?: 'TimeCampusCapturePullProvider';
117212
+ channelType: TimeCampusCaptureChannelType;
117213
+ defaultSyncIntervalMinutes: Scalars['Int']['output'];
117214
+ description: Scalars['String']['output'];
117215
+ integrationProviderKey: Scalars['String']['output'];
117216
+ key: Scalars['String']['output'];
117217
+ label: Scalars['String']['output'];
117218
+ minSyncIntervalMinutes: Scalars['Int']['output'];
117219
+ };
117149
117220
  /** Result of computing (and persisting) a project suggestion for a capture event — see `suggestTimeCampusCaptureEventCategory`. */
117150
117221
  export type TimeCampusCategorySuggestion = {
117151
117222
  __typename?: 'TimeCampusCategorySuggestion';
@@ -117905,6 +117976,8 @@ export declare enum TimeCampusProjectStatus {
117905
117976
  }
117906
117977
  export type TimeCampusRecommendation = {
117907
117978
  __typename?: 'TimeCampusRecommendation';
117979
+ /** The provider:model that proposed an AI recommendation; null for rule-based ones. */
117980
+ aiModel?: Maybe<Scalars['String']['output']>;
117908
117981
  confidence?: Maybe<Scalars['Float']['output']>;
117909
117982
  createdAt: Scalars['DateTime']['output'];
117910
117983
  dismissReason?: Maybe<Scalars['String']['output']>;
@@ -117916,6 +117989,8 @@ export type TimeCampusRecommendation = {
117916
117989
  kind: Scalars['String']['output'];
117917
117990
  rationale: Scalars['String']['output'];
117918
117991
  snoozeUntil?: Maybe<Scalars['DateTime']['output']>;
117992
+ /** Who proposed it: RULES (the deterministic weekly rules) or AI (the opt-in model step). */
117993
+ source: TimeCampusRecommendationSource;
117919
117994
  state: Scalars['String']['output'];
117920
117995
  suggestedAction?: Maybe<Scalars['JSON']['output']>;
117921
117996
  title: Scalars['String']['output'];
@@ -117926,8 +118001,13 @@ export type TimeCampusRecommendation = {
117926
118001
  };
117927
118002
  export type TimeCampusRecommendationPreference = {
117928
118003
  __typename?: 'TimeCampusRecommendationPreference';
118004
+ /** Whether the autonomous loop may send this user a day summary and weekly digest unprompted. Off by default. */
118005
+ autonomousEnabled: Scalars['Boolean']['output'];
118006
+ autonomousEnabledAt?: Maybe<Scalars['DateTime']['output']>;
117929
118007
  cadence: Scalars['String']['output'];
117930
118008
  createdAt: Scalars['DateTime']['output'];
118009
+ /** Hour of the day (0-23, UTC) from which digests may be sent. */
118010
+ digestHourUtc: Scalars['Int']['output'];
117931
118011
  id: Scalars['ID']['output'];
117932
118012
  mutedKinds: Array<Scalars['String']['output']>;
117933
118013
  neverOptimiseForOutput: Scalars['Boolean']['output'];
@@ -117936,16 +118016,27 @@ export type TimeCampusRecommendationPreference = {
117936
118016
  quietHoursStart?: Maybe<Scalars['Int']['output']>;
117937
118017
  updatedAt: Scalars['DateTime']['output'];
117938
118018
  userId: Scalars['ID']['output'];
118019
+ /** ISO weekday (1 = Monday .. 7 = Sunday) of the weekly digest. */
118020
+ weeklyDigestDay: Scalars['Int']['output'];
117939
118021
  workspaceId: Scalars['ID']['output'];
117940
118022
  };
117941
118023
  export type TimeCampusRecommendationPreferenceInput = {
118024
+ /** Opt in to (true) or out of (false) the autonomous day summary and weekly digest. */
118025
+ autonomousEnabled?: InputMaybe<Scalars['Boolean']['input']>;
118026
+ /** DAILY (day summary and weekly digest) or WEEKLY (weekly digest only). */
117942
118027
  cadence?: InputMaybe<Scalars['String']['input']>;
118028
+ digestHourUtc?: InputMaybe<Scalars['Int']['input']>;
117943
118029
  mutedKinds?: InputMaybe<Array<Scalars['String']['input']>>;
117944
118030
  neverOptimiseForOutput?: InputMaybe<Scalars['Boolean']['input']>;
117945
118031
  optedInDomains?: InputMaybe<Array<TimeCampusLifeDomain>>;
117946
118032
  quietHoursEnd?: InputMaybe<Scalars['Int']['input']>;
117947
118033
  quietHoursStart?: InputMaybe<Scalars['Int']['input']>;
118034
+ weeklyDigestDay?: InputMaybe<Scalars['Int']['input']>;
117948
118035
  };
118036
+ export declare enum TimeCampusRecommendationSource {
118037
+ Ai = "AI",
118038
+ Rules = "RULES"
118039
+ }
117949
118040
  export declare enum TimeCampusSortDirection {
117950
118041
  Asc = "asc",
117951
118042
  Desc = "desc"
@@ -118014,6 +118105,74 @@ export type TimeCampusTemplateProject = {
118014
118105
  name: Scalars['String']['output'];
118015
118106
  tasks: Array<Scalars['String']['output']>;
118016
118107
  };
118108
+ /** A day summary or weekly digest the loop handled for the calling user. */
118109
+ export type TimeCampusTimeIntelligenceDelivery = {
118110
+ __typename?: 'TimeCampusTimeIntelligenceDelivery';
118111
+ createdAt: Scalars['DateTime']['output'];
118112
+ id: Scalars['ID']['output'];
118113
+ notified: Scalars['Boolean']['output'];
118114
+ /** DAILY or WEEKLY. */
118115
+ period: Scalars['String']['output'];
118116
+ /** YYYY-MM-DD (UTC day) or YYYY-Www (ISO week). */
118117
+ periodKey: Scalars['String']['output'];
118118
+ recommendationIds: Array<Scalars['ID']['output']>;
118119
+ /** SENT, EMPTY (nothing to report, so nothing was sent) or FAILED (the notification was not accepted). */
118120
+ status: Scalars['String']['output'];
118121
+ /** Aggregate figures only (seconds, ratios, counts). */
118122
+ summary?: Maybe<Scalars['JSON']['output']>;
118123
+ /** SCHEDULED or MANUAL. */
118124
+ trigger: Scalars['String']['output'];
118125
+ };
118126
+ export type TimeCampusTimeIntelligenceReconcileResult = {
118127
+ __typename?: 'TimeCampusTimeIntelligenceReconcileResult';
118128
+ ensured: Scalars['Int']['output'];
118129
+ failed: Scalars['Int']['output'];
118130
+ workspaces: Scalars['Int']['output'];
118131
+ };
118132
+ /** The workspace's registration with wspace-scheduler-svc. */
118133
+ export type TimeCampusTimeIntelligenceSchedule = {
118134
+ __typename?: 'TimeCampusTimeIntelligenceSchedule';
118135
+ cronExpression: Scalars['String']['output'];
118136
+ id: Scalars['ID']['output'];
118137
+ lastError?: Maybe<Scalars['String']['output']>;
118138
+ lastSweepAt?: Maybe<Scalars['DateTime']['output']>;
118139
+ /** Id of the job on the shared Schedules screen. */
118140
+ schedulerJobId?: Maybe<Scalars['ID']['output']>;
118141
+ /** PENDING, ACTIVE or FAILED. */
118142
+ status: Scalars['String']['output'];
118143
+ timezone: Scalars['String']['output'];
118144
+ updatedAt: Scalars['DateTime']['output'];
118145
+ workspaceId: Scalars['ID']['output'];
118146
+ };
118147
+ /** One execution of the loop for a workspace. */
118148
+ export type TimeCampusTimeIntelligenceSweep = {
118149
+ __typename?: 'TimeCampusTimeIntelligenceSweep';
118150
+ /** AI credits the sweep consumed. The loop makes no model call today, so this is 0. */
118151
+ aiCreditsUsed: Scalars['Int']['output'];
118152
+ dailySummariesSent: Scalars['Int']['output'];
118153
+ /** True when this fire repeated an idempotency key and returned the original sweep. */
118154
+ duplicate: Scalars['Boolean']['output'];
118155
+ error?: Maybe<Scalars['String']['output']>;
118156
+ finishedAt?: Maybe<Scalars['DateTime']['output']>;
118157
+ id: Scalars['ID']['output'];
118158
+ recommendationsCreated: Scalars['Int']['output'];
118159
+ scheduledFor?: Maybe<Scalars['DateTime']['output']>;
118160
+ /** RATE_LIMITED, KILL_SWITCH or NO_OPTED_IN_USERS when status is SKIPPED. */
118161
+ skippedReason?: Maybe<Scalars['String']['output']>;
118162
+ startedAt: Scalars['DateTime']['output'];
118163
+ /** RUNNING, COMPLETED, SKIPPED or FAILED. */
118164
+ status: Scalars['String']['output'];
118165
+ /** SCHEDULED (fired by wspace-scheduler-svc) or MANUAL (run by a super admin). */
118166
+ trigger: Scalars['String']['output'];
118167
+ usersConsidered: Scalars['Int']['output'];
118168
+ weeklyDigestsSent: Scalars['Int']['output'];
118169
+ workspaceId: Scalars['ID']['output'];
118170
+ };
118171
+ /** Execution context the scheduler adds at fire time. idempotencyKey is "<scheduleId>:<scheduledTime>" and triggerData carries scheduledTime, firedAt, timezone, scheduleId and eventId. */
118172
+ export type TimeCampusTimeIntelligenceSweepInput = {
118173
+ idempotencyKey?: InputMaybe<Scalars['String']['input']>;
118174
+ triggerData?: InputMaybe<Scalars['JSON']['input']>;
118175
+ };
118017
118176
  export type TimeCampusTimeWellSpent = {
118018
118177
  __typename?: 'TimeCampusTimeWellSpent';
118019
118178
  byDomain: Array<TimeCampusDomainAlignment>;