@burdenoff/microfe-botmanor 2026.1120.8 → 2026.1120.10

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.
@@ -11448,11 +11448,19 @@ export type BotmanorConversationHandoff = {
11448
11448
  createdAt: Scalars['DateTime']['output'];
11449
11449
  events: Array<BotmanorHandoffEvent>;
11450
11450
  executionId?: Maybe<Scalars['ID']['output']>;
11451
+ /** When an operator first replied to the customer. */
11452
+ firstResponseAt?: Maybe<Scalars['DateTime']['output']>;
11451
11453
  id: Scalars['ID']['output'];
11452
11454
  /** Human-readable reason, including the confidence signals when applicable. */
11453
11455
  reason: Scalars['String']['output'];
11454
11456
  releasedAt?: Maybe<Scalars['DateTime']['output']>;
11457
+ /** Platform the customer writes from (SLACK, WEBHOOK, ...); null for web chat. */
11458
+ replyChannel?: Maybe<Scalars['String']['output']>;
11455
11459
  resolvedAt?: Maybe<Scalars['DateTime']['output']>;
11460
+ /** True when the first human reply came late, or is overdue and still missing. */
11461
+ slaBreached: Scalars['Boolean']['output'];
11462
+ /** When the first human reply is due (the SLA). */
11463
+ slaDueAt?: Maybe<Scalars['DateTime']['output']>;
11456
11464
  status: BotmanorHandoffStatus;
11457
11465
  trigger: BotmanorHandoffTrigger;
11458
11466
  updatedAt: Scalars['DateTime']['output'];
@@ -11476,6 +11484,8 @@ export type BotmanorHandoffConfig = {
11476
11484
  policyRefusal: Scalars['Boolean']['output'];
11477
11485
  repeatedFailures: Scalars['Boolean']['output'];
11478
11486
  repeatedFailuresConsecutive: Scalars['Int']['output'];
11487
+ /** Minutes a human has to send the first reply on a new handoff (its SLA). */
11488
+ slaMinutes: Scalars['Int']['output'];
11479
11489
  targetRole?: Maybe<Scalars['String']['output']>;
11480
11490
  targetUserIds: Array<Scalars['ID']['output']>;
11481
11491
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -11494,6 +11504,8 @@ export type BotmanorHandoffConfigInput = {
11494
11504
  policyRefusal: Scalars['Boolean']['input'];
11495
11505
  repeatedFailures: Scalars['Boolean']['input'];
11496
11506
  repeatedFailuresConsecutive: Scalars['Int']['input'];
11507
+ /** Minutes to the first human reply (1-10080). Omitted keeps the saved value, else 15. */
11508
+ slaMinutes?: InputMaybe<Scalars['Int']['input']>;
11497
11509
  targetRole?: InputMaybe<Scalars['String']['input']>;
11498
11510
  targetUserIds: Array<Scalars['ID']['input']>;
11499
11511
  };
@@ -11530,6 +11542,21 @@ export type BotmanorHandoffList = {
11530
11542
  items: Array<BotmanorConversationHandoff>;
11531
11543
  total: Scalars['Int']['output'];
11532
11544
  };
11545
+ /** One message of a handoff's thread, as the operator sees it in the team inbox. */
11546
+ export type BotmanorHandoffMessage = {
11547
+ __typename?: 'BotmanorHandoffMessage';
11548
+ /** The customer's platform user id, the agent id, or the operator's user id. */
11549
+ authorId: Scalars['String']['output'];
11550
+ createdAt: Scalars['DateTime']['output'];
11551
+ id: Scalars['ID']['output'];
11552
+ role: BotmanorHandoffMessageRole;
11553
+ text: Scalars['String']['output'];
11554
+ };
11555
+ export declare enum BotmanorHandoffMessageRole {
11556
+ Bot = "BOT",
11557
+ Customer = "CUSTOMER",
11558
+ Operator = "OPERATOR"
11559
+ }
11533
11560
  export declare enum BotmanorHandoffStatus {
11534
11561
  Accepted = "ACCEPTED",
11535
11562
  Assigned = "ASSIGNED",
@@ -70435,6 +70462,8 @@ export type Mutation = {
70435
70462
  assignDriverVehicle: MtwDriver;
70436
70463
  /** Creator-only. Pass memberId: null to unassign (the item's cost reverts to the shared/even split). */
70437
70464
  assignGgnomadGroupTripItem: Scalars['Boolean']['output'];
70465
+ /** Assign an open handoff to a workspace member (reassigns an accepted one). */
70466
+ assignHandoff: BotmanorConversationHandoff;
70438
70467
  assignHealthyBowlConsultant: HealthyBowlConsultantAssignment;
70439
70468
  /** Point a membership at a pickup location, or back at home delivery. Re-points the member's SCHEDULED boxes too, because those have not happened yet. Boxes already PACKED, DISPATCHED, DELIVERED or SKIPPED are left exactly as they are — where a box went is a fact about the past, and a membership change must never rewrite it. */
70440
70469
  assignHealthyBowlCsaPickupLocation: CsaMembership;
@@ -77412,6 +77441,8 @@ export type Mutation = {
77412
77441
  * a replay still executes real nodes.
77413
77442
  */
77414
77443
  replayWorkflowRun: TriggerResponse;
77444
+ /** Reply to the customer as the operator who took the conversation over; sent in the same thread as the bot. */
77445
+ replyToHandoff: BotmanorConversationHandoff;
77415
77446
  /**
77416
77447
  * Record an agent → agent mesh edge. Called by the SOURCE agent after a
77417
77448
  * successful mesh-deploy/connect (or by an operator). Authorization: the caller
@@ -82527,6 +82558,14 @@ export type MutationAssignGgnomadGroupTripItemArgs = {
82527
82558
  memberId?: InputMaybe<Scalars['ID']['input']>;
82528
82559
  tripPlanItemId: Scalars['ID']['input'];
82529
82560
  };
82561
+ /**
82562
+ * Base Mutation type with placeholder field.
82563
+ * Extended by individual mutation files.
82564
+ */
82565
+ export type MutationAssignHandoffArgs = {
82566
+ assigneeId: Scalars['ID']['input'];
82567
+ id: Scalars['ID']['input'];
82568
+ };
82530
82569
  /**
82531
82570
  * Base Mutation type with placeholder field.
82532
82571
  * Extended by individual mutation files.
@@ -105019,6 +105058,14 @@ export type MutationReplaceWorkspaceTagsArgs = {
105019
105058
  export type MutationReplayWorkflowRunArgs = {
105020
105059
  runId: Scalars['ID']['input'];
105021
105060
  };
105061
+ /**
105062
+ * Base Mutation type with placeholder field.
105063
+ * Extended by individual mutation files.
105064
+ */
105065
+ export type MutationReplyToHandoffArgs = {
105066
+ id: Scalars['ID']['input'];
105067
+ message: Scalars['String']['input'];
105068
+ };
105022
105069
  /**
105023
105070
  * Base Mutation type with placeholder field.
105024
105071
  * Extended by individual mutation files.
@@ -129765,6 +129812,8 @@ export type Query = {
129765
129812
  handoffConfig: BotmanorHandoffConfig;
129766
129813
  /** The shared team inbox: handoffs for the calling workspace, newest first. */
129767
129814
  handoffQueue: BotmanorHandoffList;
129815
+ /** The thread of one handoff, oldest first: the customer's messages, the bot's acknowledgement and the operator's replies. */
129816
+ handoffTranscript: Array<BotmanorHandoffMessage>;
129768
129817
  /** Get an AI tool by ID */
129769
129818
  headshotmarketingAITool?: Maybe<HeadshotmarketingAiTool>;
129770
129819
  /** Get an AI tool execution by ID */
@@ -144165,6 +144214,13 @@ export type QueryHandoffQueueArgs = {
144165
144214
  pagination?: InputMaybe<PaginationInput>;
144166
144215
  statuses?: InputMaybe<Array<BotmanorHandoffStatus>>;
144167
144216
  };
144217
+ /**
144218
+ * Base Query type with placeholder field.
144219
+ * Extended by individual query files.
144220
+ */
144221
+ export type QueryHandoffTranscriptArgs = {
144222
+ id: Scalars['ID']['input'];
144223
+ };
144168
144224
  /**
144169
144225
  * Base Query type with placeholder field.
144170
144226
  * Extended by individual query files.
@@ -4,20 +4,22 @@ var e = /* @__PURE__ */ function(e) {
4
4
  }({}), t = /* @__PURE__ */ function(e) {
5
5
  return e.Abstain = "ABSTAIN", e.Continue = "CONTINUE", e;
6
6
  }({}), n = /* @__PURE__ */ function(e) {
7
- return e.Accepted = "ACCEPTED", e.Assigned = "ASSIGNED", e.Expired = "EXPIRED", e.Rejected = "REJECTED", e.Released = "RELEASED", e.Requested = "REQUESTED", e.Resolved = "RESOLVED", e;
7
+ return e.Bot = "BOT", e.Customer = "CUSTOMER", e.Operator = "OPERATOR", e;
8
8
  }({}), r = /* @__PURE__ */ function(e) {
9
- return e.Agent = "AGENT", e.App = "APP", e.Workspace = "WORKSPACE", e;
9
+ return e.Accepted = "ACCEPTED", e.Assigned = "ASSIGNED", e.Expired = "EXPIRED", e.Rejected = "REJECTED", e.Released = "RELEASED", e.Requested = "REQUESTED", e.Resolved = "RESOLVED", e;
10
10
  }({}), i = /* @__PURE__ */ function(e) {
11
- return e.Day = "DAY", e.Window = "WINDOW", e;
11
+ return e.Agent = "AGENT", e.App = "APP", e.Workspace = "WORKSPACE", e;
12
12
  }({}), a = /* @__PURE__ */ function(e) {
13
- return e.Cancelled = "CANCELLED", e.Completed = "COMPLETED", e.Failed = "FAILED", e.Pending = "PENDING", e.Running = "RUNNING", e.Timeout = "TIMEOUT", e;
13
+ return e.Day = "DAY", e.Window = "WINDOW", e;
14
14
  }({}), o = /* @__PURE__ */ function(e) {
15
- return e.Forked = "FORKED", e.Linked = "LINKED", e;
15
+ return e.Cancelled = "CANCELLED", e.Completed = "COMPLETED", e.Failed = "FAILED", e.Pending = "PENDING", e.Running = "RUNNING", e.Timeout = "TIMEOUT", e;
16
16
  }({}), s = /* @__PURE__ */ function(e) {
17
- return e.A2AAgent = "A2A_AGENT", e.Agent = "AGENT", e.App = "APP", e.ChannelTemplate = "CHANNEL_TEMPLATE", e.Integration = "INTEGRATION", e.KbTemplate = "KB_TEMPLATE", e.KnowledgeBase = "KNOWLEDGE_BASE", e.McpPack = "MCP_PACK", e.PolicyBundle = "POLICY_BUNDLE", e.Prompt = "PROMPT", e.PromptTemplate = "PROMPT_TEMPLATE", e.RetrievalProfile = "RETRIEVAL_PROFILE", e.Skill = "SKILL", e.Template = "TEMPLATE", e.Tool = "TOOL", e.Workflow = "WORKFLOW", e;
17
+ return e.Forked = "FORKED", e.Linked = "LINKED", e;
18
18
  }({}), c = /* @__PURE__ */ function(e) {
19
+ return e.A2AAgent = "A2A_AGENT", e.Agent = "AGENT", e.App = "APP", e.ChannelTemplate = "CHANNEL_TEMPLATE", e.Integration = "INTEGRATION", e.KbTemplate = "KB_TEMPLATE", e.KnowledgeBase = "KNOWLEDGE_BASE", e.McpPack = "MCP_PACK", e.PolicyBundle = "POLICY_BUNDLE", e.Prompt = "PROMPT", e.PromptTemplate = "PROMPT_TEMPLATE", e.RetrievalProfile = "RETRIEVAL_PROFILE", e.Skill = "SKILL", e.Template = "TEMPLATE", e.Tool = "TOOL", e.Workflow = "WORKFLOW", e;
20
+ }({}), l = /* @__PURE__ */ function(e) {
19
21
  return e.Major = "MAJOR", e.Minor = "MINOR", e.Patch = "PATCH", e;
20
22
  }({});
21
- export { e as AiPredictionStatus, t as BotmanorHandoffFallbackBehavior, n as BotmanorHandoffStatus, r as DailyUsageDimension, i as DailyUsageInterval, a as ExecutionStatus, o as InstallMode, s as PackageKind, c as PromptVersionBump };
23
+ export { e as AiPredictionStatus, t as BotmanorHandoffFallbackBehavior, n as BotmanorHandoffMessageRole, r as BotmanorHandoffStatus, i as DailyUsageDimension, a as DailyUsageInterval, o as ExecutionStatus, s as InstallMode, c as PackageKind, l as PromptVersionBump };
22
24
 
23
25
  //# sourceMappingURL=wspace-types.js.map