@selleragent/api-contract 0.8.0 → 0.9.0

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.
package/dist/ops.d.ts CHANGED
@@ -451,9 +451,9 @@ export declare const restoreDrillRecordSchema: z.ZodObject<{
451
451
  notes: z.ZodDefault<z.ZodNullable<z.ZodString>>;
452
452
  }, z.core.$strip>;
453
453
  export declare const rolloutPhaseStatusSchema: z.ZodEnum<{
454
- skipped: "skipped";
455
454
  pass: "pass";
456
455
  fail: "fail";
456
+ skipped: "skipped";
457
457
  warn: "warn";
458
458
  }>;
459
459
  export declare const rolloutExecutionStatusSchema: z.ZodEnum<{
@@ -475,9 +475,9 @@ export declare const rolloutPhaseRecordSchema: z.ZodObject<{
475
475
  phaseId: z.ZodString;
476
476
  label: z.ZodString;
477
477
  status: z.ZodEnum<{
478
- skipped: "skipped";
479
478
  pass: "pass";
480
479
  fail: "fail";
480
+ skipped: "skipped";
481
481
  warn: "warn";
482
482
  }>;
483
483
  summary: z.ZodString;
@@ -516,9 +516,9 @@ export declare const rolloutExecutionRecordSchema: z.ZodObject<{
516
516
  phaseId: z.ZodString;
517
517
  label: z.ZodString;
518
518
  status: z.ZodEnum<{
519
- skipped: "skipped";
520
519
  pass: "pass";
521
520
  fail: "fail";
521
+ skipped: "skipped";
522
522
  warn: "warn";
523
523
  }>;
524
524
  summary: z.ZodString;
@@ -532,9 +532,9 @@ export declare const releaseVerificationPhaseRecordSchema: z.ZodObject<{
532
532
  phaseId: z.ZodString;
533
533
  label: z.ZodString;
534
534
  status: z.ZodEnum<{
535
- skipped: "skipped";
536
535
  pass: "pass";
537
536
  fail: "fail";
537
+ skipped: "skipped";
538
538
  warn: "warn";
539
539
  }>;
540
540
  summary: z.ZodString;
@@ -574,9 +574,9 @@ export declare const releaseVerificationRecordSchema: z.ZodObject<{
574
574
  phaseId: z.ZodString;
575
575
  label: z.ZodString;
576
576
  status: z.ZodEnum<{
577
- skipped: "skipped";
578
577
  pass: "pass";
579
578
  fail: "fail";
579
+ skipped: "skipped";
580
580
  warn: "warn";
581
581
  }>;
582
582
  summary: z.ZodString;
@@ -618,9 +618,9 @@ export declare const opsRecordRolloutExecutionRequestSchema: z.ZodObject<{
618
618
  phaseId: z.ZodString;
619
619
  label: z.ZodString;
620
620
  status: z.ZodEnum<{
621
- skipped: "skipped";
622
621
  pass: "pass";
623
622
  fail: "fail";
623
+ skipped: "skipped";
624
624
  warn: "warn";
625
625
  }>;
626
626
  summary: z.ZodString;
@@ -663,9 +663,9 @@ export declare const opsRecordRolloutExecutionResponseSchema: z.ZodObject<{
663
663
  phaseId: z.ZodString;
664
664
  label: z.ZodString;
665
665
  status: z.ZodEnum<{
666
- skipped: "skipped";
667
666
  pass: "pass";
668
667
  fail: "fail";
668
+ skipped: "skipped";
669
669
  warn: "warn";
670
670
  }>;
671
671
  summary: z.ZodString;
@@ -712,9 +712,9 @@ export declare const opsListRolloutExecutionsResponseSchema: z.ZodObject<{
712
712
  phaseId: z.ZodString;
713
713
  label: z.ZodString;
714
714
  status: z.ZodEnum<{
715
- skipped: "skipped";
716
715
  pass: "pass";
717
716
  fail: "fail";
717
+ skipped: "skipped";
718
718
  warn: "warn";
719
719
  }>;
720
720
  summary: z.ZodString;
@@ -760,9 +760,9 @@ export declare const opsGetRolloutExecutionResponseSchema: z.ZodObject<{
760
760
  phaseId: z.ZodString;
761
761
  label: z.ZodString;
762
762
  status: z.ZodEnum<{
763
- skipped: "skipped";
764
763
  pass: "pass";
765
764
  fail: "fail";
765
+ skipped: "skipped";
766
766
  warn: "warn";
767
767
  }>;
768
768
  summary: z.ZodString;
@@ -806,9 +806,9 @@ export declare const opsRecordReleaseVerificationRequestSchema: z.ZodObject<{
806
806
  phaseId: z.ZodString;
807
807
  label: z.ZodString;
808
808
  status: z.ZodEnum<{
809
- skipped: "skipped";
810
809
  pass: "pass";
811
810
  fail: "fail";
811
+ skipped: "skipped";
812
812
  warn: "warn";
813
813
  }>;
814
814
  summary: z.ZodString;
@@ -852,9 +852,9 @@ export declare const opsRecordReleaseVerificationResponseSchema: z.ZodObject<{
852
852
  phaseId: z.ZodString;
853
853
  label: z.ZodString;
854
854
  status: z.ZodEnum<{
855
- skipped: "skipped";
856
855
  pass: "pass";
857
856
  fail: "fail";
857
+ skipped: "skipped";
858
858
  warn: "warn";
859
859
  }>;
860
860
  summary: z.ZodString;
@@ -903,9 +903,9 @@ export declare const opsListReleaseVerificationsResponseSchema: z.ZodObject<{
903
903
  phaseId: z.ZodString;
904
904
  label: z.ZodString;
905
905
  status: z.ZodEnum<{
906
- skipped: "skipped";
907
906
  pass: "pass";
908
907
  fail: "fail";
908
+ skipped: "skipped";
909
909
  warn: "warn";
910
910
  }>;
911
911
  summary: z.ZodString;
@@ -952,9 +952,9 @@ export declare const opsGetReleaseVerificationResponseSchema: z.ZodObject<{
952
952
  phaseId: z.ZodString;
953
953
  label: z.ZodString;
954
954
  status: z.ZodEnum<{
955
- skipped: "skipped";
956
955
  pass: "pass";
957
956
  fail: "fail";
957
+ skipped: "skipped";
958
958
  warn: "warn";
959
959
  }>;
960
960
  summary: z.ZodString;
@@ -1099,8 +1099,8 @@ export declare const conversationFeedFilterSchema: z.ZodObject<{
1099
1099
  archived: "archived";
1100
1100
  }>>>;
1101
1101
  ownershipMode: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1102
- ai: "ai";
1103
1102
  hybrid: "hybrid";
1103
+ ai: "ai";
1104
1104
  human: "human";
1105
1105
  }>>>;
1106
1106
  channelKind: z.ZodDefault<z.ZodArray<z.ZodEnum<{
@@ -1131,8 +1131,8 @@ export declare const conversationFeedItemSchema: z.ZodObject<{
1131
1131
  archived: "archived";
1132
1132
  }>;
1133
1133
  ownershipMode: z.ZodEnum<{
1134
- ai: "ai";
1135
1134
  hybrid: "hybrid";
1135
+ ai: "ai";
1136
1136
  human: "human";
1137
1137
  }>;
1138
1138
  assistMode: z.ZodEnum<{
@@ -1152,9 +1152,9 @@ export declare const conversationFeedItemSchema: z.ZodObject<{
1152
1152
  latestMessageAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1153
1153
  latestActorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1154
1154
  customer: "customer";
1155
- ai: "ai";
1156
- operator: "operator";
1157
1155
  system: "system";
1156
+ operator: "operator";
1157
+ ai: "ai";
1158
1158
  }>>>;
1159
1159
  latestEventTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1160
1160
  summaryText: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1191,8 +1191,8 @@ export declare const linkedConversationSummarySchema: z.ZodObject<{
1191
1191
  archived: "archived";
1192
1192
  }>;
1193
1193
  ownershipMode: z.ZodEnum<{
1194
- ai: "ai";
1195
1194
  hybrid: "hybrid";
1195
+ ai: "ai";
1196
1196
  human: "human";
1197
1197
  }>;
1198
1198
  updatedAt: z.ZodString;
@@ -1232,8 +1232,8 @@ export declare const outboundPlanMediaDiscoveryRecordSchema: z.ZodObject<{
1232
1232
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1233
1233
  topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1234
1234
  desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1235
- image: "image";
1236
1235
  document: "document";
1236
+ image: "image";
1237
1237
  link: "link";
1238
1238
  deck: "deck";
1239
1239
  }>>>;
@@ -1249,8 +1249,8 @@ export declare const outboundPlanSelectedAssetSchema: z.ZodObject<{
1249
1249
  assetId: z.ZodString;
1250
1250
  folderKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1251
1251
  kind: z.ZodEnum<{
1252
- image: "image";
1253
1252
  document: "document";
1253
+ image: "image";
1254
1254
  link: "link";
1255
1255
  deck: "deck";
1256
1256
  }>;
@@ -1275,9 +1275,9 @@ export declare const outboundPlanStepDiagnosticsSchema: z.ZodObject<{
1275
1275
  assetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1276
1276
  deliveryStatus: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1277
1277
  failed: "failed";
1278
- skipped: "skipped";
1279
1278
  sent: "sent";
1280
1279
  simulated: "simulated";
1280
+ skipped: "skipped";
1281
1281
  }>>>;
1282
1282
  transportMessageRef: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1283
1283
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1292,10 +1292,10 @@ export declare const outboundPlanDiagnosticsSchema: z.ZodObject<{
1292
1292
  final_outbound_plan: "final_outbound_plan";
1293
1293
  }>;
1294
1294
  status: z.ZodEnum<{
1295
- draft: "draft";
1296
1295
  failed: "failed";
1297
1296
  superseded: "superseded";
1298
1297
  sent: "sent";
1298
+ draft: "draft";
1299
1299
  partial: "partial";
1300
1300
  }>;
1301
1301
  basedOnCustomerMessageId: z.ZodString;
@@ -1316,8 +1316,8 @@ export declare const outboundPlanDiagnosticsSchema: z.ZodObject<{
1316
1316
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1317
1317
  topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1318
1318
  desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1319
- image: "image";
1320
1319
  document: "document";
1320
+ image: "image";
1321
1321
  link: "link";
1322
1322
  deck: "deck";
1323
1323
  }>>>;
@@ -1333,8 +1333,8 @@ export declare const outboundPlanDiagnosticsSchema: z.ZodObject<{
1333
1333
  assetId: z.ZodString;
1334
1334
  folderKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1335
1335
  kind: z.ZodEnum<{
1336
- image: "image";
1337
1336
  document: "document";
1337
+ image: "image";
1338
1338
  link: "link";
1339
1339
  deck: "deck";
1340
1340
  }>;
@@ -1359,9 +1359,9 @@ export declare const outboundPlanDiagnosticsSchema: z.ZodObject<{
1359
1359
  assetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1360
1360
  deliveryStatus: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1361
1361
  failed: "failed";
1362
- skipped: "skipped";
1363
1362
  sent: "sent";
1364
1363
  simulated: "simulated";
1364
+ skipped: "skipped";
1365
1365
  }>>>;
1366
1366
  transportMessageRef: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1367
1367
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1380,8 +1380,8 @@ export declare const opsListConversationFeedRequestSchema: z.ZodObject<{
1380
1380
  archived: "archived";
1381
1381
  }>>>;
1382
1382
  ownershipMode: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1383
- ai: "ai";
1384
1383
  hybrid: "hybrid";
1384
+ ai: "ai";
1385
1385
  human: "human";
1386
1386
  }>>>;
1387
1387
  channelKind: z.ZodDefault<z.ZodArray<z.ZodEnum<{
@@ -1413,8 +1413,8 @@ export declare const opsListConversationFeedResponseSchema: z.ZodObject<{
1413
1413
  archived: "archived";
1414
1414
  }>;
1415
1415
  ownershipMode: z.ZodEnum<{
1416
- ai: "ai";
1417
1416
  hybrid: "hybrid";
1417
+ ai: "ai";
1418
1418
  human: "human";
1419
1419
  }>;
1420
1420
  assistMode: z.ZodEnum<{
@@ -1434,9 +1434,9 @@ export declare const opsListConversationFeedResponseSchema: z.ZodObject<{
1434
1434
  latestMessageAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1435
1435
  latestActorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1436
1436
  customer: "customer";
1437
- ai: "ai";
1438
- operator: "operator";
1439
1437
  system: "system";
1438
+ operator: "operator";
1439
+ ai: "ai";
1440
1440
  }>>>;
1441
1441
  latestEventTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1442
1442
  summaryText: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1479,8 +1479,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1479
1479
  archived: "archived";
1480
1480
  }>;
1481
1481
  ownershipMode: z.ZodEnum<{
1482
- ai: "ai";
1483
1482
  hybrid: "hybrid";
1483
+ ai: "ai";
1484
1484
  human: "human";
1485
1485
  }>;
1486
1486
  assistMode: z.ZodEnum<{
@@ -1500,9 +1500,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1500
1500
  latestMessageAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1501
1501
  latestActorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1502
1502
  customer: "customer";
1503
- ai: "ai";
1504
- operator: "operator";
1505
1503
  system: "system";
1504
+ operator: "operator";
1505
+ ai: "ai";
1506
1506
  }>>>;
1507
1507
  latestEventTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1508
1508
  summaryText: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1541,8 +1541,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1541
1541
  }>;
1542
1542
  channelThreadRef: z.ZodString;
1543
1543
  ownershipMode: z.ZodEnum<{
1544
- ai: "ai";
1545
1544
  hybrid: "hybrid";
1545
+ ai: "ai";
1546
1546
  human: "human";
1547
1547
  }>;
1548
1548
  assistMode: z.ZodEnum<{
@@ -1581,9 +1581,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1581
1581
  conversationId: z.ZodString;
1582
1582
  authorKind: z.ZodEnum<{
1583
1583
  customer: "customer";
1584
- ai: "ai";
1585
- operator: "operator";
1586
1584
  system: "system";
1585
+ operator: "operator";
1586
+ ai: "ai";
1587
1587
  }>;
1588
1588
  deliveryKind: z.ZodEnum<{
1589
1589
  inbound: "inbound";
@@ -1596,8 +1596,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1596
1596
  conversationId: z.ZodString;
1597
1597
  messageId: z.ZodString;
1598
1598
  kind: z.ZodEnum<{
1599
- document: "document";
1600
1599
  photo: "photo";
1600
+ document: "document";
1601
1601
  audio: "audio";
1602
1602
  video: "video";
1603
1603
  other: "other";
@@ -1652,9 +1652,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1652
1652
  title: z.ZodString;
1653
1653
  actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1654
1654
  customer: "customer";
1655
- ai: "ai";
1656
- operator: "operator";
1657
1655
  system: "system";
1656
+ operator: "operator";
1657
+ ai: "ai";
1658
1658
  }>>>;
1659
1659
  createdAt: z.ZodString;
1660
1660
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1670,9 +1670,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1670
1670
  title: z.ZodString;
1671
1671
  actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1672
1672
  customer: "customer";
1673
- ai: "ai";
1674
- operator: "operator";
1675
1673
  system: "system";
1674
+ operator: "operator";
1675
+ ai: "ai";
1676
1676
  }>>>;
1677
1677
  textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1678
1678
  messageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -1694,10 +1694,10 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1694
1694
  }>;
1695
1695
  status: z.ZodEnum<{
1696
1696
  active: "active";
1697
- superseded: "superseded";
1698
1697
  viewed: "viewed";
1699
1698
  accepted: "accepted";
1700
1699
  dismissed: "dismissed";
1700
+ superseded: "superseded";
1701
1701
  }>;
1702
1702
  textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1703
1703
  outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1716,8 +1716,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1716
1716
  conversationId: z.ZodString;
1717
1717
  sourceMessageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1718
1718
  mode: z.ZodEnum<{
1719
- draft: "draft";
1720
1719
  reply: "reply";
1720
+ draft: "draft";
1721
1721
  review: "review";
1722
1722
  }>;
1723
1723
  status: z.ZodEnum<{
@@ -1725,8 +1725,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1725
1725
  blocked: "blocked";
1726
1726
  }>;
1727
1727
  generationMode: z.ZodEnum<{
1728
- heuristic: "heuristic";
1729
1728
  model: "model";
1729
+ heuristic: "heuristic";
1730
1730
  }>;
1731
1731
  provider: z.ZodString;
1732
1732
  modelId: z.ZodString;
@@ -1748,8 +1748,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1748
1748
  docId: z.ZodString;
1749
1749
  kind: z.ZodEnum<{
1750
1750
  strategy: "strategy";
1751
- product: "product";
1752
1751
  policy: "policy";
1752
+ product: "product";
1753
1753
  example: "example";
1754
1754
  }>;
1755
1755
  title: z.ZodString;
@@ -1890,8 +1890,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1890
1890
  }, z.core.$strip>;
1891
1891
  validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
1892
1892
  generationMode: z.ZodEnum<{
1893
- heuristic: "heuristic";
1894
1893
  model: "model";
1894
+ heuristic: "heuristic";
1895
1895
  }>;
1896
1896
  }, z.core.$strip>>>;
1897
1897
  decisionStage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -1904,16 +1904,16 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1904
1904
  }, z.core.$strip>;
1905
1905
  validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
1906
1906
  generationMode: z.ZodEnum<{
1907
- heuristic: "heuristic";
1908
1907
  model: "model";
1908
+ heuristic: "heuristic";
1909
1909
  }>;
1910
1910
  protocolResponseKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1911
1911
  stepHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
1912
1912
  stepId: z.ZodString;
1913
1913
  stepType: z.ZodEnum<{
1914
+ "handoff.request": "handoff.request";
1914
1915
  request_media_folders: "request_media_folders";
1915
1916
  request_media_folder_contents: "request_media_folder_contents";
1916
- "handoff.request": "handoff.request";
1917
1917
  "state.cart.apply_operations": "state.cart.apply_operations";
1918
1918
  "channel.send_messages": "channel.send_messages";
1919
1919
  }>;
@@ -1954,8 +1954,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1954
1954
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1955
1955
  topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1956
1956
  desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1957
- image: "image";
1958
1957
  document: "document";
1958
+ image: "image";
1959
1959
  link: "link";
1960
1960
  deck: "deck";
1961
1961
  }>>>;
@@ -1999,8 +1999,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
1999
1999
  corrective_retry: "corrective_retry";
2000
2000
  }>;
2001
2001
  status: z.ZodEnum<{
2002
- succeeded: "succeeded";
2003
2002
  failed: "failed";
2003
+ succeeded: "succeeded";
2004
2004
  }>;
2005
2005
  promptMeta: z.ZodObject<{
2006
2006
  promptId: z.ZodString;
@@ -2035,8 +2035,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2035
2035
  modelId: z.ZodString;
2036
2036
  attemptNumber: z.ZodNumber;
2037
2037
  status: z.ZodEnum<{
2038
- succeeded: "succeeded";
2039
2038
  failed: "failed";
2039
+ succeeded: "succeeded";
2040
2040
  }>;
2041
2041
  startedAt: z.ZodString;
2042
2042
  finishedAt: z.ZodString;
@@ -2047,8 +2047,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2047
2047
  backoffMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2048
2048
  }, z.core.$strip>>>;
2049
2049
  validationLayer: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
2050
- configuration: "configuration";
2051
2050
  provider: "provider";
2051
+ configuration: "configuration";
2052
2052
  schema_parse: "schema_parse";
2053
2053
  protocol_validation: "protocol_validation";
2054
2054
  verifier: "verifier";
@@ -2104,9 +2104,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2104
2104
  "followup.schedule": "followup.schedule";
2105
2105
  }>;
2106
2106
  status: z.ZodEnum<{
2107
+ skipped: "skipped";
2107
2108
  blocked: "blocked";
2108
2109
  executed: "executed";
2109
- skipped: "skipped";
2110
2110
  }>;
2111
2111
  summary: z.ZodString;
2112
2112
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2215,9 +2215,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2215
2215
  title: z.ZodString;
2216
2216
  status: z.ZodEnum<{
2217
2217
  draft: "draft";
2218
- paid: "paid";
2219
- fulfilled: "fulfilled";
2220
2218
  cancelled: "cancelled";
2219
+ fulfilled: "fulfilled";
2220
+ paid: "paid";
2221
2221
  }>;
2222
2222
  occurredAt: z.ZodString;
2223
2223
  totalLabel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -2242,8 +2242,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2242
2242
  }>;
2243
2243
  field: z.ZodString;
2244
2244
  actorType: z.ZodEnum<{
2245
- operator: "operator";
2246
2245
  system: "system";
2246
+ operator: "operator";
2247
2247
  runtime: "runtime";
2248
2248
  }>;
2249
2249
  source: z.ZodEnum<{
@@ -2258,8 +2258,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2258
2258
  action: z.ZodEnum<{
2259
2259
  applied: "applied";
2260
2260
  rejected: "rejected";
2261
- merged: "merged";
2262
2261
  noop: "noop";
2262
+ merged: "merged";
2263
2263
  }>;
2264
2264
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2265
2265
  previousValue: z.ZodOptional<z.ZodUnknown>;
@@ -2275,9 +2275,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2275
2275
  title: z.ZodString;
2276
2276
  description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2277
2277
  kind: z.ZodEnum<{
2278
+ service: "service";
2278
2279
  base: "base";
2279
2280
  option: "option";
2280
- service: "service";
2281
2281
  bundle: "bundle";
2282
2282
  }>;
2283
2283
  status: z.ZodEnum<{
@@ -2316,11 +2316,11 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2316
2316
  conversationId: z.ZodNullable<z.ZodString>;
2317
2317
  dealId: z.ZodNullable<z.ZodString>;
2318
2318
  status: z.ZodEnum<{
2319
+ abandoned: "abandoned";
2319
2320
  suggested: "suggested";
2320
2321
  discussing: "discussing";
2321
2322
  confirmed: "confirmed";
2322
2323
  converted: "converted";
2323
- abandoned: "abandoned";
2324
2324
  }>;
2325
2325
  currency: z.ZodString;
2326
2326
  title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -2360,9 +2360,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2360
2360
  conversationId: z.ZodNullable<z.ZodString>;
2361
2361
  activeCartId: z.ZodString;
2362
2362
  status: z.ZodEnum<{
2363
- converted: "converted";
2364
- abandoned: "abandoned";
2365
2363
  draft: "draft";
2364
+ abandoned: "abandoned";
2365
+ converted: "converted";
2366
2366
  quoted: "quoted";
2367
2367
  ready_for_payment: "ready_for_payment";
2368
2368
  }>;
@@ -2404,10 +2404,10 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2404
2404
  cartId: z.ZodString;
2405
2405
  title: z.ZodString;
2406
2406
  status: z.ZodEnum<{
2407
- confirmed: "confirmed";
2408
- paid: "paid";
2409
- fulfilled: "fulfilled";
2410
2407
  cancelled: "cancelled";
2408
+ fulfilled: "fulfilled";
2409
+ paid: "paid";
2410
+ confirmed: "confirmed";
2411
2411
  }>;
2412
2412
  currency: z.ZodString;
2413
2413
  totals: z.ZodObject<{
@@ -2422,9 +2422,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2422
2422
  productCode: z.ZodString;
2423
2423
  productTitle: z.ZodString;
2424
2424
  productKind: z.ZodEnum<{
2425
+ service: "service";
2425
2426
  base: "base";
2426
2427
  option: "option";
2427
- service: "service";
2428
2428
  bundle: "bundle";
2429
2429
  }>;
2430
2430
  parentItemId: z.ZodNullable<z.ZodString>;
@@ -2485,8 +2485,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2485
2485
  operator_callback: "operator_callback";
2486
2486
  }>;
2487
2487
  status: z.ZodEnum<{
2488
- cancelled: "cancelled";
2489
2488
  completed: "completed";
2489
+ cancelled: "cancelled";
2490
2490
  pending: "pending";
2491
2491
  }>;
2492
2492
  policyAction: z.ZodEnum<{
@@ -2500,8 +2500,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2500
2500
  lastEvaluatedAt: z.ZodString;
2501
2501
  createdBy: z.ZodObject<{
2502
2502
  actorType: z.ZodEnum<{
2503
- operator: "operator";
2504
2503
  system: "system";
2504
+ operator: "operator";
2505
2505
  scenario: "scenario";
2506
2506
  }>;
2507
2507
  operatorId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -2536,8 +2536,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2536
2536
  archived: "archived";
2537
2537
  }>;
2538
2538
  ownershipMode: z.ZodEnum<{
2539
- ai: "ai";
2540
2539
  hybrid: "hybrid";
2540
+ ai: "ai";
2541
2541
  human: "human";
2542
2542
  }>;
2543
2543
  updatedAt: z.ZodString;
@@ -2573,10 +2573,10 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2573
2573
  final_outbound_plan: "final_outbound_plan";
2574
2574
  }>;
2575
2575
  status: z.ZodEnum<{
2576
- draft: "draft";
2577
2576
  failed: "failed";
2578
2577
  superseded: "superseded";
2579
2578
  sent: "sent";
2579
+ draft: "draft";
2580
2580
  partial: "partial";
2581
2581
  }>;
2582
2582
  basedOnCustomerMessageId: z.ZodString;
@@ -2597,8 +2597,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2597
2597
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2598
2598
  topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2599
2599
  desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2600
- image: "image";
2601
2600
  document: "document";
2601
+ image: "image";
2602
2602
  link: "link";
2603
2603
  deck: "deck";
2604
2604
  }>>>;
@@ -2614,8 +2614,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2614
2614
  assetId: z.ZodString;
2615
2615
  folderKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2616
2616
  kind: z.ZodEnum<{
2617
- image: "image";
2618
2617
  document: "document";
2618
+ image: "image";
2619
2619
  link: "link";
2620
2620
  deck: "deck";
2621
2621
  }>;
@@ -2640,9 +2640,9 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2640
2640
  assetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2641
2641
  deliveryStatus: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
2642
2642
  failed: "failed";
2643
- skipped: "skipped";
2644
2643
  sent: "sent";
2645
2644
  simulated: "simulated";
2645
+ skipped: "skipped";
2646
2646
  }>>>;
2647
2647
  transportMessageRef: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2648
2648
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -2657,8 +2657,8 @@ export declare const opsGetConversationWorkspaceResponseSchema: z.ZodObject<{
2657
2657
  export declare const opsSetOwnershipModeRequestSchema: z.ZodObject<{
2658
2658
  conversationId: z.ZodString;
2659
2659
  ownershipMode: z.ZodEnum<{
2660
- ai: "ai";
2661
2660
  hybrid: "hybrid";
2661
+ ai: "ai";
2662
2662
  human: "human";
2663
2663
  }>;
2664
2664
  requestedBy: z.ZodObject<{
@@ -2686,8 +2686,8 @@ export declare const opsSetOwnershipModeResponseSchema: z.ZodObject<{
2686
2686
  }>;
2687
2687
  channelThreadRef: z.ZodString;
2688
2688
  ownershipMode: z.ZodEnum<{
2689
- ai: "ai";
2690
2689
  hybrid: "hybrid";
2690
+ ai: "ai";
2691
2691
  human: "human";
2692
2692
  }>;
2693
2693
  assistMode: z.ZodEnum<{
@@ -2761,9 +2761,9 @@ export declare const opsSetOwnershipModeResponseSchema: z.ZodObject<{
2761
2761
  title: z.ZodString;
2762
2762
  actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
2763
2763
  customer: "customer";
2764
- ai: "ai";
2765
- operator: "operator";
2766
2764
  system: "system";
2765
+ operator: "operator";
2766
+ ai: "ai";
2767
2767
  }>>>;
2768
2768
  createdAt: z.ZodString;
2769
2769
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2786,8 +2786,8 @@ export declare const opsSetOwnershipModeResponseSchema: z.ZodObject<{
2786
2786
  archived: "archived";
2787
2787
  }>;
2788
2788
  ownershipMode: z.ZodEnum<{
2789
- ai: "ai";
2790
2789
  hybrid: "hybrid";
2790
+ ai: "ai";
2791
2791
  human: "human";
2792
2792
  }>;
2793
2793
  assistMode: z.ZodEnum<{
@@ -2807,9 +2807,9 @@ export declare const opsSetOwnershipModeResponseSchema: z.ZodObject<{
2807
2807
  latestMessageAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2808
2808
  latestActorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
2809
2809
  customer: "customer";
2810
- ai: "ai";
2811
- operator: "operator";
2812
2810
  system: "system";
2811
+ operator: "operator";
2812
+ ai: "ai";
2813
2813
  }>>>;
2814
2814
  latestEventTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2815
2815
  summaryText: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -2861,8 +2861,8 @@ export declare const opsStartHandoffResponseSchema: z.ZodObject<{
2861
2861
  }>;
2862
2862
  channelThreadRef: z.ZodString;
2863
2863
  ownershipMode: z.ZodEnum<{
2864
- ai: "ai";
2865
2864
  hybrid: "hybrid";
2865
+ ai: "ai";
2866
2866
  human: "human";
2867
2867
  }>;
2868
2868
  assistMode: z.ZodEnum<{
@@ -2950,9 +2950,9 @@ export declare const opsStartHandoffResponseSchema: z.ZodObject<{
2950
2950
  title: z.ZodString;
2951
2951
  actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
2952
2952
  customer: "customer";
2953
- ai: "ai";
2954
- operator: "operator";
2955
2953
  system: "system";
2954
+ operator: "operator";
2955
+ ai: "ai";
2956
2956
  }>>>;
2957
2957
  createdAt: z.ZodString;
2958
2958
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2975,8 +2975,8 @@ export declare const opsStartHandoffResponseSchema: z.ZodObject<{
2975
2975
  archived: "archived";
2976
2976
  }>;
2977
2977
  ownershipMode: z.ZodEnum<{
2978
- ai: "ai";
2979
2978
  hybrid: "hybrid";
2979
+ ai: "ai";
2980
2980
  human: "human";
2981
2981
  }>;
2982
2982
  assistMode: z.ZodEnum<{
@@ -2996,9 +2996,9 @@ export declare const opsStartHandoffResponseSchema: z.ZodObject<{
2996
2996
  latestMessageAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2997
2997
  latestActorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
2998
2998
  customer: "customer";
2999
- ai: "ai";
3000
- operator: "operator";
3001
2999
  system: "system";
3000
+ operator: "operator";
3001
+ ai: "ai";
3002
3002
  }>>>;
3003
3003
  latestEventTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3004
3004
  summaryText: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -3054,8 +3054,8 @@ export declare const opsAddOperatorNoteResponseSchema: z.ZodObject<{
3054
3054
  archived: "archived";
3055
3055
  }>;
3056
3056
  ownershipMode: z.ZodEnum<{
3057
- ai: "ai";
3058
3057
  hybrid: "hybrid";
3058
+ ai: "ai";
3059
3059
  human: "human";
3060
3060
  }>;
3061
3061
  assistMode: z.ZodEnum<{
@@ -3075,9 +3075,9 @@ export declare const opsAddOperatorNoteResponseSchema: z.ZodObject<{
3075
3075
  latestMessageAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3076
3076
  latestActorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3077
3077
  customer: "customer";
3078
- ai: "ai";
3079
- operator: "operator";
3080
3078
  system: "system";
3079
+ operator: "operator";
3080
+ ai: "ai";
3081
3081
  }>>>;
3082
3082
  latestEventTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3083
3083
  summaryText: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -3126,8 +3126,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3126
3126
  }>;
3127
3127
  channelThreadRef: z.ZodString;
3128
3128
  ownershipMode: z.ZodEnum<{
3129
- ai: "ai";
3130
3129
  hybrid: "hybrid";
3130
+ ai: "ai";
3131
3131
  human: "human";
3132
3132
  }>;
3133
3133
  assistMode: z.ZodEnum<{
@@ -3166,9 +3166,9 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3166
3166
  conversationId: z.ZodString;
3167
3167
  authorKind: z.ZodEnum<{
3168
3168
  customer: "customer";
3169
- ai: "ai";
3170
- operator: "operator";
3171
3169
  system: "system";
3170
+ operator: "operator";
3171
+ ai: "ai";
3172
3172
  }>;
3173
3173
  deliveryKind: z.ZodEnum<{
3174
3174
  inbound: "inbound";
@@ -3181,8 +3181,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3181
3181
  conversationId: z.ZodString;
3182
3182
  messageId: z.ZodString;
3183
3183
  kind: z.ZodEnum<{
3184
- document: "document";
3185
3184
  photo: "photo";
3185
+ document: "document";
3186
3186
  audio: "audio";
3187
3187
  video: "video";
3188
3188
  other: "other";
@@ -3237,9 +3237,9 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3237
3237
  title: z.ZodString;
3238
3238
  actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3239
3239
  customer: "customer";
3240
- ai: "ai";
3241
- operator: "operator";
3242
3240
  system: "system";
3241
+ operator: "operator";
3242
+ ai: "ai";
3243
3243
  }>>>;
3244
3244
  createdAt: z.ZodString;
3245
3245
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3255,9 +3255,9 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3255
3255
  title: z.ZodString;
3256
3256
  actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3257
3257
  customer: "customer";
3258
- ai: "ai";
3259
- operator: "operator";
3260
3258
  system: "system";
3259
+ operator: "operator";
3260
+ ai: "ai";
3261
3261
  }>>>;
3262
3262
  textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3263
3263
  messageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -3279,10 +3279,10 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3279
3279
  }>;
3280
3280
  status: z.ZodEnum<{
3281
3281
  active: "active";
3282
- superseded: "superseded";
3283
3282
  viewed: "viewed";
3284
3283
  accepted: "accepted";
3285
3284
  dismissed: "dismissed";
3285
+ superseded: "superseded";
3286
3286
  }>;
3287
3287
  textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3288
3288
  outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3301,8 +3301,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3301
3301
  conversationId: z.ZodString;
3302
3302
  sourceMessageId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3303
3303
  mode: z.ZodEnum<{
3304
- draft: "draft";
3305
3304
  reply: "reply";
3305
+ draft: "draft";
3306
3306
  review: "review";
3307
3307
  }>;
3308
3308
  status: z.ZodEnum<{
@@ -3310,8 +3310,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3310
3310
  blocked: "blocked";
3311
3311
  }>;
3312
3312
  generationMode: z.ZodEnum<{
3313
- heuristic: "heuristic";
3314
3313
  model: "model";
3314
+ heuristic: "heuristic";
3315
3315
  }>;
3316
3316
  provider: z.ZodString;
3317
3317
  modelId: z.ZodString;
@@ -3333,8 +3333,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3333
3333
  docId: z.ZodString;
3334
3334
  kind: z.ZodEnum<{
3335
3335
  strategy: "strategy";
3336
- product: "product";
3337
3336
  policy: "policy";
3337
+ product: "product";
3338
3338
  example: "example";
3339
3339
  }>;
3340
3340
  title: z.ZodString;
@@ -3475,8 +3475,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3475
3475
  }, z.core.$strip>;
3476
3476
  validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
3477
3477
  generationMode: z.ZodEnum<{
3478
- heuristic: "heuristic";
3479
3478
  model: "model";
3479
+ heuristic: "heuristic";
3480
3480
  }>;
3481
3481
  }, z.core.$strip>>>;
3482
3482
  decisionStage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
@@ -3489,16 +3489,16 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3489
3489
  }, z.core.$strip>;
3490
3490
  validationIssues: z.ZodDefault<z.ZodArray<z.ZodString>>;
3491
3491
  generationMode: z.ZodEnum<{
3492
- heuristic: "heuristic";
3493
3492
  model: "model";
3493
+ heuristic: "heuristic";
3494
3494
  }>;
3495
3495
  protocolResponseKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3496
3496
  stepHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
3497
3497
  stepId: z.ZodString;
3498
3498
  stepType: z.ZodEnum<{
3499
+ "handoff.request": "handoff.request";
3499
3500
  request_media_folders: "request_media_folders";
3500
3501
  request_media_folder_contents: "request_media_folder_contents";
3501
- "handoff.request": "handoff.request";
3502
3502
  "state.cart.apply_operations": "state.cart.apply_operations";
3503
3503
  "channel.send_messages": "channel.send_messages";
3504
3504
  }>;
@@ -3539,8 +3539,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3539
3539
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3540
3540
  topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3541
3541
  desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
3542
- image: "image";
3543
3542
  document: "document";
3543
+ image: "image";
3544
3544
  link: "link";
3545
3545
  deck: "deck";
3546
3546
  }>>>;
@@ -3584,8 +3584,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3584
3584
  corrective_retry: "corrective_retry";
3585
3585
  }>;
3586
3586
  status: z.ZodEnum<{
3587
- succeeded: "succeeded";
3588
3587
  failed: "failed";
3588
+ succeeded: "succeeded";
3589
3589
  }>;
3590
3590
  promptMeta: z.ZodObject<{
3591
3591
  promptId: z.ZodString;
@@ -3620,8 +3620,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3620
3620
  modelId: z.ZodString;
3621
3621
  attemptNumber: z.ZodNumber;
3622
3622
  status: z.ZodEnum<{
3623
- succeeded: "succeeded";
3624
3623
  failed: "failed";
3624
+ succeeded: "succeeded";
3625
3625
  }>;
3626
3626
  startedAt: z.ZodString;
3627
3627
  finishedAt: z.ZodString;
@@ -3632,8 +3632,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3632
3632
  backoffMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
3633
3633
  }, z.core.$strip>>>;
3634
3634
  validationLayer: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3635
- configuration: "configuration";
3636
3635
  provider: "provider";
3636
+ configuration: "configuration";
3637
3637
  schema_parse: "schema_parse";
3638
3638
  protocol_validation: "protocol_validation";
3639
3639
  verifier: "verifier";
@@ -3689,9 +3689,9 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3689
3689
  "followup.schedule": "followup.schedule";
3690
3690
  }>;
3691
3691
  status: z.ZodEnum<{
3692
+ skipped: "skipped";
3692
3693
  blocked: "blocked";
3693
3694
  executed: "executed";
3694
- skipped: "skipped";
3695
3695
  }>;
3696
3696
  summary: z.ZodString;
3697
3697
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3740,9 +3740,9 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3740
3740
  title: z.ZodString;
3741
3741
  actorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3742
3742
  customer: "customer";
3743
- ai: "ai";
3744
- operator: "operator";
3745
3743
  system: "system";
3744
+ operator: "operator";
3745
+ ai: "ai";
3746
3746
  }>>>;
3747
3747
  createdAt: z.ZodString;
3748
3748
  payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3761,10 +3761,10 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3761
3761
  }>;
3762
3762
  status: z.ZodEnum<{
3763
3763
  active: "active";
3764
- superseded: "superseded";
3765
3764
  viewed: "viewed";
3766
3765
  accepted: "accepted";
3767
3766
  dismissed: "dismissed";
3767
+ superseded: "superseded";
3768
3768
  }>;
3769
3769
  textPreview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3770
3770
  outputJson: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3789,9 +3789,9 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3789
3789
  }>;
3790
3790
  deliveryStatus: z.ZodEnum<{
3791
3791
  failed: "failed";
3792
- skipped: "skipped";
3793
3792
  sent: "sent";
3794
3793
  simulated: "simulated";
3794
+ skipped: "skipped";
3795
3795
  }>;
3796
3796
  planId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3797
3797
  stepId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -3824,8 +3824,8 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3824
3824
  archived: "archived";
3825
3825
  }>;
3826
3826
  ownershipMode: z.ZodEnum<{
3827
- ai: "ai";
3828
3827
  hybrid: "hybrid";
3828
+ ai: "ai";
3829
3829
  human: "human";
3830
3830
  }>;
3831
3831
  assistMode: z.ZodEnum<{
@@ -3845,9 +3845,9 @@ export declare const opsSendOperatorMessageResponseSchema: z.ZodObject<{
3845
3845
  latestMessageAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3846
3846
  latestActorKind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
3847
3847
  customer: "customer";
3848
- ai: "ai";
3849
- operator: "operator";
3850
3848
  system: "system";
3849
+ operator: "operator";
3850
+ ai: "ai";
3851
3851
  }>>>;
3852
3852
  latestEventTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3853
3853
  summaryText: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -4653,8 +4653,8 @@ export declare const notificationRoutingClassSchema: z.ZodEnum<{
4653
4653
  }>;
4654
4654
  export declare const notificationRoutingRecipientSchema: z.ZodObject<{
4655
4655
  kind: z.ZodEnum<{
4656
- operator: "operator";
4657
4656
  role: "role";
4657
+ operator: "operator";
4658
4658
  }>;
4659
4659
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4660
4660
  operator: "operator";
@@ -4667,8 +4667,8 @@ export declare const notificationRoutingRecipientSchema: z.ZodObject<{
4667
4667
  }, z.core.$strip>;
4668
4668
  export declare const notificationRoutingRecipientInputSchema: z.ZodObject<{
4669
4669
  kind: z.ZodEnum<{
4670
- operator: "operator";
4671
4670
  role: "role";
4671
+ operator: "operator";
4672
4672
  telegram_username: "telegram_username";
4673
4673
  }>;
4674
4674
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
@@ -4685,8 +4685,8 @@ export declare const notificationRoutingRouteSchema: z.ZodObject<{
4685
4685
  }>;
4686
4686
  recipients: z.ZodDefault<z.ZodArray<z.ZodObject<{
4687
4687
  kind: z.ZodEnum<{
4688
- operator: "operator";
4689
4688
  role: "role";
4689
+ operator: "operator";
4690
4690
  }>;
4691
4691
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4692
4692
  operator: "operator";
@@ -4707,8 +4707,8 @@ export declare const notificationRoutingProfileSchema: z.ZodObject<{
4707
4707
  }>;
4708
4708
  recipients: z.ZodDefault<z.ZodArray<z.ZodObject<{
4709
4709
  kind: z.ZodEnum<{
4710
- operator: "operator";
4711
4710
  role: "role";
4711
+ operator: "operator";
4712
4712
  }>;
4713
4713
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4714
4714
  operator: "operator";
@@ -4734,8 +4734,8 @@ export declare const opsGetNotificationRoutingResponseSchema: z.ZodObject<{
4734
4734
  }>;
4735
4735
  recipients: z.ZodDefault<z.ZodArray<z.ZodObject<{
4736
4736
  kind: z.ZodEnum<{
4737
- operator: "operator";
4738
4737
  role: "role";
4738
+ operator: "operator";
4739
4739
  }>;
4740
4740
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4741
4741
  operator: "operator";
@@ -4757,8 +4757,8 @@ export declare const opsAddNotificationRoutingRecipientRequestSchema: z.ZodObjec
4757
4757
  }>;
4758
4758
  recipient: z.ZodObject<{
4759
4759
  kind: z.ZodEnum<{
4760
- operator: "operator";
4761
4760
  role: "role";
4761
+ operator: "operator";
4762
4762
  telegram_username: "telegram_username";
4763
4763
  }>;
4764
4764
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
@@ -4779,8 +4779,8 @@ export declare const opsAddNotificationRoutingRecipientResponseSchema: z.ZodObje
4779
4779
  }>;
4780
4780
  recipients: z.ZodDefault<z.ZodArray<z.ZodObject<{
4781
4781
  kind: z.ZodEnum<{
4782
- operator: "operator";
4783
4782
  role: "role";
4783
+ operator: "operator";
4784
4784
  }>;
4785
4785
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4786
4786
  operator: "operator";
@@ -4802,8 +4802,8 @@ export declare const opsRemoveNotificationRoutingRecipientRequestSchema: z.ZodOb
4802
4802
  }>;
4803
4803
  recipient: z.ZodObject<{
4804
4804
  kind: z.ZodEnum<{
4805
- operator: "operator";
4806
4805
  role: "role";
4806
+ operator: "operator";
4807
4807
  telegram_username: "telegram_username";
4808
4808
  }>;
4809
4809
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
@@ -4824,8 +4824,8 @@ export declare const opsRemoveNotificationRoutingRecipientResponseSchema: z.ZodO
4824
4824
  }>;
4825
4825
  recipients: z.ZodDefault<z.ZodArray<z.ZodObject<{
4826
4826
  kind: z.ZodEnum<{
4827
- operator: "operator";
4828
4827
  role: "role";
4828
+ operator: "operator";
4829
4829
  }>;
4830
4830
  role: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
4831
4831
  operator: "operator";