@selleragent/api-contract 0.1.0 → 0.2.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/runtime.d.ts CHANGED
@@ -51,6 +51,27 @@ export declare const runtimeHistorySegmentStatusSchema: z.ZodEnum<{
51
51
  active: "active";
52
52
  superseded: "superseded";
53
53
  }>;
54
+ export declare const runtimeOutboundPlanKindSchema: z.ZodEnum<{
55
+ draft_outbound_plan: "draft_outbound_plan";
56
+ final_outbound_plan: "final_outbound_plan";
57
+ }>;
58
+ export declare const runtimeOutboundStepTypeSchema: z.ZodEnum<{
59
+ send_text: "send_text";
60
+ send_media: "send_media";
61
+ send_media_group: "send_media_group";
62
+ send_document: "send_document";
63
+ send_link: "send_link";
64
+ }>;
65
+ export declare const runtimeMediaAssetKindSchema: z.ZodEnum<{
66
+ image: "image";
67
+ document: "document";
68
+ link: "link";
69
+ deck: "deck";
70
+ }>;
71
+ export declare const runtimeMediaDiscoveryRequestKindSchema: z.ZodEnum<{
72
+ request_media_folders: "request_media_folders";
73
+ request_media_folder_contents: "request_media_folder_contents";
74
+ }>;
54
75
  export declare const decisionActionTypeSchema: z.ZodEnum<{
55
76
  none: "none";
56
77
  "commerce.create_cart": "commerce.create_cart";
@@ -366,6 +387,160 @@ export declare const turnAnalysisSchema: z.ZodObject<{
366
387
  replyGoal: z.ZodString;
367
388
  }, z.core.$strip>;
368
389
  export type TurnAnalysis = z.infer<typeof turnAnalysisSchema>;
390
+ export declare const runtimeOutboundSendTextStepSchema: z.ZodObject<{
391
+ stepId: z.ZodString;
392
+ sequence: z.ZodNumber;
393
+ type: z.ZodLiteral<"send_text">;
394
+ text: z.ZodString;
395
+ }, z.core.$strip>;
396
+ export declare const runtimeOutboundSendMediaStepSchema: z.ZodObject<{
397
+ stepId: z.ZodString;
398
+ sequence: z.ZodNumber;
399
+ type: z.ZodLiteral<"send_media">;
400
+ assetId: z.ZodString;
401
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
402
+ }, z.core.$strip>;
403
+ export declare const runtimeOutboundSendMediaGroupStepSchema: z.ZodObject<{
404
+ stepId: z.ZodString;
405
+ sequence: z.ZodNumber;
406
+ type: z.ZodLiteral<"send_media_group">;
407
+ assetIds: z.ZodArray<z.ZodString>;
408
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
409
+ }, z.core.$strip>;
410
+ export declare const runtimeOutboundSendDocumentStepSchema: z.ZodObject<{
411
+ stepId: z.ZodString;
412
+ sequence: z.ZodNumber;
413
+ type: z.ZodLiteral<"send_document">;
414
+ assetId: z.ZodString;
415
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
416
+ }, z.core.$strip>;
417
+ export declare const runtimeOutboundSendLinkStepSchema: z.ZodObject<{
418
+ stepId: z.ZodString;
419
+ sequence: z.ZodNumber;
420
+ type: z.ZodLiteral<"send_link">;
421
+ assetId: z.ZodString;
422
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
423
+ }, z.core.$strip>;
424
+ export declare const runtimeOutboundPlanStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
425
+ stepId: z.ZodString;
426
+ sequence: z.ZodNumber;
427
+ type: z.ZodLiteral<"send_text">;
428
+ text: z.ZodString;
429
+ }, z.core.$strip>, z.ZodObject<{
430
+ stepId: z.ZodString;
431
+ sequence: z.ZodNumber;
432
+ type: z.ZodLiteral<"send_media">;
433
+ assetId: z.ZodString;
434
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
435
+ }, z.core.$strip>, z.ZodObject<{
436
+ stepId: z.ZodString;
437
+ sequence: z.ZodNumber;
438
+ type: z.ZodLiteral<"send_media_group">;
439
+ assetIds: z.ZodArray<z.ZodString>;
440
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
441
+ }, z.core.$strip>, z.ZodObject<{
442
+ stepId: z.ZodString;
443
+ sequence: z.ZodNumber;
444
+ type: z.ZodLiteral<"send_document">;
445
+ assetId: z.ZodString;
446
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
447
+ }, z.core.$strip>, z.ZodObject<{
448
+ stepId: z.ZodString;
449
+ sequence: z.ZodNumber;
450
+ type: z.ZodLiteral<"send_link">;
451
+ assetId: z.ZodString;
452
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
453
+ }, z.core.$strip>], "type">;
454
+ export type RuntimeOutboundPlanStep = z.infer<typeof runtimeOutboundPlanStepSchema>;
455
+ export declare const runtimeOutboundPlanSchema: z.ZodObject<{
456
+ planId: z.ZodString;
457
+ conversationId: z.ZodString;
458
+ basedOnCustomerMessageId: z.ZodString;
459
+ kind: z.ZodEnum<{
460
+ draft_outbound_plan: "draft_outbound_plan";
461
+ final_outbound_plan: "final_outbound_plan";
462
+ }>;
463
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
464
+ stepId: z.ZodString;
465
+ sequence: z.ZodNumber;
466
+ type: z.ZodLiteral<"send_text">;
467
+ text: z.ZodString;
468
+ }, z.core.$strip>, z.ZodObject<{
469
+ stepId: z.ZodString;
470
+ sequence: z.ZodNumber;
471
+ type: z.ZodLiteral<"send_media">;
472
+ assetId: z.ZodString;
473
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
474
+ }, z.core.$strip>, z.ZodObject<{
475
+ stepId: z.ZodString;
476
+ sequence: z.ZodNumber;
477
+ type: z.ZodLiteral<"send_media_group">;
478
+ assetIds: z.ZodArray<z.ZodString>;
479
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
480
+ }, z.core.$strip>, z.ZodObject<{
481
+ stepId: z.ZodString;
482
+ sequence: z.ZodNumber;
483
+ type: z.ZodLiteral<"send_document">;
484
+ assetId: z.ZodString;
485
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
486
+ }, z.core.$strip>, z.ZodObject<{
487
+ stepId: z.ZodString;
488
+ sequence: z.ZodNumber;
489
+ type: z.ZodLiteral<"send_link">;
490
+ assetId: z.ZodString;
491
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
492
+ }, z.core.$strip>], "type">>;
493
+ }, z.core.$strip>;
494
+ export type RuntimeOutboundPlan = z.infer<typeof runtimeOutboundPlanSchema>;
495
+ export declare const runtimeMediaFolderDescriptorSchema: z.ZodObject<{
496
+ folderKey: z.ZodString;
497
+ kind: z.ZodLiteral<"media_folder">;
498
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
499
+ purpose: z.ZodString;
500
+ containsKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
501
+ image: "image";
502
+ document: "document";
503
+ link: "link";
504
+ deck: "deck";
505
+ }>>>;
506
+ assetCount: z.ZodDefault<z.ZodNumber>;
507
+ }, z.core.$strip>;
508
+ export type RuntimeMediaFolderDescriptor = z.infer<typeof runtimeMediaFolderDescriptorSchema>;
509
+ export declare const runtimeMediaAssetDescriptorSchema: z.ZodObject<{
510
+ assetId: z.ZodString;
511
+ kind: z.ZodEnum<{
512
+ image: "image";
513
+ document: "document";
514
+ link: "link";
515
+ deck: "deck";
516
+ }>;
517
+ what: z.ZodString;
518
+ purpose: z.ZodString;
519
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
520
+ amountRub: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
521
+ captionHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
522
+ }, z.core.$strip>;
523
+ export type RuntimeMediaAssetDescriptor = z.infer<typeof runtimeMediaAssetDescriptorSchema>;
524
+ export declare const runtimeMediaFolderContentsSliceSchema: z.ZodObject<{
525
+ folderKey: z.ZodString;
526
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
527
+ purpose: z.ZodString;
528
+ assets: z.ZodDefault<z.ZodArray<z.ZodObject<{
529
+ assetId: z.ZodString;
530
+ kind: z.ZodEnum<{
531
+ image: "image";
532
+ document: "document";
533
+ link: "link";
534
+ deck: "deck";
535
+ }>;
536
+ what: z.ZodString;
537
+ purpose: z.ZodString;
538
+ tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
539
+ amountRub: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
540
+ captionHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
541
+ }, z.core.$strip>>>;
542
+ }, z.core.$strip>;
543
+ export type RuntimeMediaFolderContentsSlice = z.infer<typeof runtimeMediaFolderContentsSliceSchema>;
369
544
  export declare const decisionActionSchema: z.ZodObject<{
370
545
  type: z.ZodEnum<{
371
546
  none: "none";
@@ -395,6 +570,45 @@ export declare const decisionEnvelopeSchema: z.ZodObject<{
395
570
  }>>;
396
571
  channelHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
397
572
  }, z.core.$strip>;
573
+ outboundPlan: z.ZodDefault<z.ZodNullable<z.ZodObject<{
574
+ planId: z.ZodString;
575
+ conversationId: z.ZodString;
576
+ basedOnCustomerMessageId: z.ZodString;
577
+ kind: z.ZodEnum<{
578
+ draft_outbound_plan: "draft_outbound_plan";
579
+ final_outbound_plan: "final_outbound_plan";
580
+ }>;
581
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
582
+ stepId: z.ZodString;
583
+ sequence: z.ZodNumber;
584
+ type: z.ZodLiteral<"send_text">;
585
+ text: z.ZodString;
586
+ }, z.core.$strip>, z.ZodObject<{
587
+ stepId: z.ZodString;
588
+ sequence: z.ZodNumber;
589
+ type: z.ZodLiteral<"send_media">;
590
+ assetId: z.ZodString;
591
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
592
+ }, z.core.$strip>, z.ZodObject<{
593
+ stepId: z.ZodString;
594
+ sequence: z.ZodNumber;
595
+ type: z.ZodLiteral<"send_media_group">;
596
+ assetIds: z.ZodArray<z.ZodString>;
597
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
598
+ }, z.core.$strip>, z.ZodObject<{
599
+ stepId: z.ZodString;
600
+ sequence: z.ZodNumber;
601
+ type: z.ZodLiteral<"send_document">;
602
+ assetId: z.ZodString;
603
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
604
+ }, z.core.$strip>, z.ZodObject<{
605
+ stepId: z.ZodString;
606
+ sequence: z.ZodNumber;
607
+ type: z.ZodLiteral<"send_link">;
608
+ assetId: z.ZodString;
609
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
610
+ }, z.core.$strip>], "type">>;
611
+ }, z.core.$strip>>>;
398
612
  classification: z.ZodObject<{
399
613
  primaryIntent: z.ZodString;
400
614
  secondaryIntents: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -453,6 +667,496 @@ export declare const decisionEnvelopeSchema: z.ZodObject<{
453
667
  }, z.core.$strip>>>;
454
668
  }, z.core.$strip>;
455
669
  export type DecisionEnvelope = z.infer<typeof decisionEnvelopeSchema>;
670
+ export declare const runtimeDecisionRequestMediaFoldersSchema: z.ZodObject<{
671
+ kind: z.ZodLiteral<"request_media_folders">;
672
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
673
+ desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
674
+ image: "image";
675
+ document: "document";
676
+ link: "link";
677
+ deck: "deck";
678
+ }>>>;
679
+ topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
680
+ }, z.core.$strip>;
681
+ export declare const runtimeDecisionRequestMediaFolderContentsSchema: z.ZodObject<{
682
+ kind: z.ZodLiteral<"request_media_folder_contents">;
683
+ folderKey: z.ZodString;
684
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
685
+ limit: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
686
+ }, z.core.$strip>;
687
+ export declare const runtimeDecisionDraftOutboundPlanResponseSchema: z.ZodObject<{
688
+ kind: z.ZodLiteral<"draft_outbound_plan">;
689
+ decisionEnvelope: z.ZodObject<{
690
+ reply: z.ZodObject<{
691
+ text: z.ZodString;
692
+ tone: z.ZodDefault<z.ZodEnum<{
693
+ concise: "concise";
694
+ standard: "standard";
695
+ }>>;
696
+ channelHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
697
+ }, z.core.$strip>;
698
+ outboundPlan: z.ZodDefault<z.ZodNullable<z.ZodObject<{
699
+ planId: z.ZodString;
700
+ conversationId: z.ZodString;
701
+ basedOnCustomerMessageId: z.ZodString;
702
+ kind: z.ZodEnum<{
703
+ draft_outbound_plan: "draft_outbound_plan";
704
+ final_outbound_plan: "final_outbound_plan";
705
+ }>;
706
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
707
+ stepId: z.ZodString;
708
+ sequence: z.ZodNumber;
709
+ type: z.ZodLiteral<"send_text">;
710
+ text: z.ZodString;
711
+ }, z.core.$strip>, z.ZodObject<{
712
+ stepId: z.ZodString;
713
+ sequence: z.ZodNumber;
714
+ type: z.ZodLiteral<"send_media">;
715
+ assetId: z.ZodString;
716
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
717
+ }, z.core.$strip>, z.ZodObject<{
718
+ stepId: z.ZodString;
719
+ sequence: z.ZodNumber;
720
+ type: z.ZodLiteral<"send_media_group">;
721
+ assetIds: z.ZodArray<z.ZodString>;
722
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
723
+ }, z.core.$strip>, z.ZodObject<{
724
+ stepId: z.ZodString;
725
+ sequence: z.ZodNumber;
726
+ type: z.ZodLiteral<"send_document">;
727
+ assetId: z.ZodString;
728
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
729
+ }, z.core.$strip>, z.ZodObject<{
730
+ stepId: z.ZodString;
731
+ sequence: z.ZodNumber;
732
+ type: z.ZodLiteral<"send_link">;
733
+ assetId: z.ZodString;
734
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
735
+ }, z.core.$strip>], "type">>;
736
+ }, z.core.$strip>>>;
737
+ classification: z.ZodObject<{
738
+ primaryIntent: z.ZodString;
739
+ secondaryIntents: z.ZodDefault<z.ZodArray<z.ZodString>>;
740
+ readiness: z.ZodEnum<{
741
+ low: "low";
742
+ medium: "medium";
743
+ high: "high";
744
+ }>;
745
+ emotion: z.ZodDefault<z.ZodNullable<z.ZodString>>;
746
+ confidence: z.ZodNumber;
747
+ riskFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
748
+ }, z.core.$strip>;
749
+ strategy: z.ZodObject<{
750
+ selectedId: z.ZodString;
751
+ candidateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
752
+ rationaleSummary: z.ZodString;
753
+ forbiddenMoves: z.ZodDefault<z.ZodArray<z.ZodString>>;
754
+ }, z.core.$strip>;
755
+ statePatch: z.ZodDefault<z.ZodObject<{
756
+ conversation: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
757
+ commercial: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
758
+ memory: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
759
+ }, z.core.$strip>>;
760
+ cartPatch: z.ZodOptional<z.ZodObject<{
761
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
762
+ type: z.ZodEnum<{
763
+ ensure_base_product: "ensure_base_product";
764
+ attach_product: "attach_product";
765
+ }>;
766
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
767
+ }, z.core.$strip>>>;
768
+ }, z.core.$strip>>;
769
+ actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
770
+ type: z.ZodEnum<{
771
+ none: "none";
772
+ "commerce.create_cart": "commerce.create_cart";
773
+ "commerce.sync_cart": "commerce.sync_cart";
774
+ "commerce.quote_deal": "commerce.quote_deal";
775
+ "handoff.request": "handoff.request";
776
+ "followup.schedule": "followup.schedule";
777
+ }>;
778
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
779
+ }, z.core.$strip>>>;
780
+ followUp: z.ZodDefault<z.ZodNullable<z.ZodObject<{
781
+ needed: z.ZodBoolean;
782
+ class: z.ZodDefault<z.ZodNullable<z.ZodString>>;
783
+ suggestedDelayMinutes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
784
+ }, z.core.$strip>>>;
785
+ handoff: z.ZodDefault<z.ZodNullable<z.ZodObject<{
786
+ needed: z.ZodBoolean;
787
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
788
+ priority: z.ZodDefault<z.ZodEnum<{
789
+ normal: "normal";
790
+ urgent: "urgent";
791
+ }>>;
792
+ }, z.core.$strip>>>;
793
+ }, z.core.$strip>;
794
+ }, z.core.$strip>;
795
+ export declare const runtimeDecisionFinalOutboundPlanResponseSchema: z.ZodObject<{
796
+ kind: z.ZodLiteral<"final_outbound_plan">;
797
+ decisionEnvelope: z.ZodObject<{
798
+ reply: z.ZodObject<{
799
+ text: z.ZodString;
800
+ tone: z.ZodDefault<z.ZodEnum<{
801
+ concise: "concise";
802
+ standard: "standard";
803
+ }>>;
804
+ channelHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
805
+ }, z.core.$strip>;
806
+ outboundPlan: z.ZodDefault<z.ZodNullable<z.ZodObject<{
807
+ planId: z.ZodString;
808
+ conversationId: z.ZodString;
809
+ basedOnCustomerMessageId: z.ZodString;
810
+ kind: z.ZodEnum<{
811
+ draft_outbound_plan: "draft_outbound_plan";
812
+ final_outbound_plan: "final_outbound_plan";
813
+ }>;
814
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
815
+ stepId: z.ZodString;
816
+ sequence: z.ZodNumber;
817
+ type: z.ZodLiteral<"send_text">;
818
+ text: z.ZodString;
819
+ }, z.core.$strip>, z.ZodObject<{
820
+ stepId: z.ZodString;
821
+ sequence: z.ZodNumber;
822
+ type: z.ZodLiteral<"send_media">;
823
+ assetId: z.ZodString;
824
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
825
+ }, z.core.$strip>, z.ZodObject<{
826
+ stepId: z.ZodString;
827
+ sequence: z.ZodNumber;
828
+ type: z.ZodLiteral<"send_media_group">;
829
+ assetIds: z.ZodArray<z.ZodString>;
830
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
831
+ }, z.core.$strip>, z.ZodObject<{
832
+ stepId: z.ZodString;
833
+ sequence: z.ZodNumber;
834
+ type: z.ZodLiteral<"send_document">;
835
+ assetId: z.ZodString;
836
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
837
+ }, z.core.$strip>, z.ZodObject<{
838
+ stepId: z.ZodString;
839
+ sequence: z.ZodNumber;
840
+ type: z.ZodLiteral<"send_link">;
841
+ assetId: z.ZodString;
842
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
843
+ }, z.core.$strip>], "type">>;
844
+ }, z.core.$strip>>>;
845
+ classification: z.ZodObject<{
846
+ primaryIntent: z.ZodString;
847
+ secondaryIntents: z.ZodDefault<z.ZodArray<z.ZodString>>;
848
+ readiness: z.ZodEnum<{
849
+ low: "low";
850
+ medium: "medium";
851
+ high: "high";
852
+ }>;
853
+ emotion: z.ZodDefault<z.ZodNullable<z.ZodString>>;
854
+ confidence: z.ZodNumber;
855
+ riskFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
856
+ }, z.core.$strip>;
857
+ strategy: z.ZodObject<{
858
+ selectedId: z.ZodString;
859
+ candidateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
860
+ rationaleSummary: z.ZodString;
861
+ forbiddenMoves: z.ZodDefault<z.ZodArray<z.ZodString>>;
862
+ }, z.core.$strip>;
863
+ statePatch: z.ZodDefault<z.ZodObject<{
864
+ conversation: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
865
+ commercial: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
866
+ memory: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
867
+ }, z.core.$strip>>;
868
+ cartPatch: z.ZodOptional<z.ZodObject<{
869
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
870
+ type: z.ZodEnum<{
871
+ ensure_base_product: "ensure_base_product";
872
+ attach_product: "attach_product";
873
+ }>;
874
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
875
+ }, z.core.$strip>>>;
876
+ }, z.core.$strip>>;
877
+ actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
878
+ type: z.ZodEnum<{
879
+ none: "none";
880
+ "commerce.create_cart": "commerce.create_cart";
881
+ "commerce.sync_cart": "commerce.sync_cart";
882
+ "commerce.quote_deal": "commerce.quote_deal";
883
+ "handoff.request": "handoff.request";
884
+ "followup.schedule": "followup.schedule";
885
+ }>;
886
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
887
+ }, z.core.$strip>>>;
888
+ followUp: z.ZodDefault<z.ZodNullable<z.ZodObject<{
889
+ needed: z.ZodBoolean;
890
+ class: z.ZodDefault<z.ZodNullable<z.ZodString>>;
891
+ suggestedDelayMinutes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
892
+ }, z.core.$strip>>>;
893
+ handoff: z.ZodDefault<z.ZodNullable<z.ZodObject<{
894
+ needed: z.ZodBoolean;
895
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
896
+ priority: z.ZodDefault<z.ZodEnum<{
897
+ normal: "normal";
898
+ urgent: "urgent";
899
+ }>>;
900
+ }, z.core.$strip>>>;
901
+ }, z.core.$strip>;
902
+ }, z.core.$strip>;
903
+ export declare const runtimeStructuredDecisionResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
904
+ kind: z.ZodLiteral<"request_media_folders">;
905
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
906
+ desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
907
+ image: "image";
908
+ document: "document";
909
+ link: "link";
910
+ deck: "deck";
911
+ }>>>;
912
+ topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
913
+ }, z.core.$strip>, z.ZodObject<{
914
+ kind: z.ZodLiteral<"request_media_folder_contents">;
915
+ folderKey: z.ZodString;
916
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
917
+ limit: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
918
+ }, z.core.$strip>, z.ZodObject<{
919
+ kind: z.ZodLiteral<"draft_outbound_plan">;
920
+ decisionEnvelope: z.ZodObject<{
921
+ reply: z.ZodObject<{
922
+ text: z.ZodString;
923
+ tone: z.ZodDefault<z.ZodEnum<{
924
+ concise: "concise";
925
+ standard: "standard";
926
+ }>>;
927
+ channelHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
928
+ }, z.core.$strip>;
929
+ outboundPlan: z.ZodDefault<z.ZodNullable<z.ZodObject<{
930
+ planId: z.ZodString;
931
+ conversationId: z.ZodString;
932
+ basedOnCustomerMessageId: z.ZodString;
933
+ kind: z.ZodEnum<{
934
+ draft_outbound_plan: "draft_outbound_plan";
935
+ final_outbound_plan: "final_outbound_plan";
936
+ }>;
937
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
938
+ stepId: z.ZodString;
939
+ sequence: z.ZodNumber;
940
+ type: z.ZodLiteral<"send_text">;
941
+ text: z.ZodString;
942
+ }, z.core.$strip>, z.ZodObject<{
943
+ stepId: z.ZodString;
944
+ sequence: z.ZodNumber;
945
+ type: z.ZodLiteral<"send_media">;
946
+ assetId: z.ZodString;
947
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
948
+ }, z.core.$strip>, z.ZodObject<{
949
+ stepId: z.ZodString;
950
+ sequence: z.ZodNumber;
951
+ type: z.ZodLiteral<"send_media_group">;
952
+ assetIds: z.ZodArray<z.ZodString>;
953
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
954
+ }, z.core.$strip>, z.ZodObject<{
955
+ stepId: z.ZodString;
956
+ sequence: z.ZodNumber;
957
+ type: z.ZodLiteral<"send_document">;
958
+ assetId: z.ZodString;
959
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
960
+ }, z.core.$strip>, z.ZodObject<{
961
+ stepId: z.ZodString;
962
+ sequence: z.ZodNumber;
963
+ type: z.ZodLiteral<"send_link">;
964
+ assetId: z.ZodString;
965
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
966
+ }, z.core.$strip>], "type">>;
967
+ }, z.core.$strip>>>;
968
+ classification: z.ZodObject<{
969
+ primaryIntent: z.ZodString;
970
+ secondaryIntents: z.ZodDefault<z.ZodArray<z.ZodString>>;
971
+ readiness: z.ZodEnum<{
972
+ low: "low";
973
+ medium: "medium";
974
+ high: "high";
975
+ }>;
976
+ emotion: z.ZodDefault<z.ZodNullable<z.ZodString>>;
977
+ confidence: z.ZodNumber;
978
+ riskFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
979
+ }, z.core.$strip>;
980
+ strategy: z.ZodObject<{
981
+ selectedId: z.ZodString;
982
+ candidateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
983
+ rationaleSummary: z.ZodString;
984
+ forbiddenMoves: z.ZodDefault<z.ZodArray<z.ZodString>>;
985
+ }, z.core.$strip>;
986
+ statePatch: z.ZodDefault<z.ZodObject<{
987
+ conversation: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
988
+ commercial: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
989
+ memory: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
990
+ }, z.core.$strip>>;
991
+ cartPatch: z.ZodOptional<z.ZodObject<{
992
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
993
+ type: z.ZodEnum<{
994
+ ensure_base_product: "ensure_base_product";
995
+ attach_product: "attach_product";
996
+ }>;
997
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
998
+ }, z.core.$strip>>>;
999
+ }, z.core.$strip>>;
1000
+ actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1001
+ type: z.ZodEnum<{
1002
+ none: "none";
1003
+ "commerce.create_cart": "commerce.create_cart";
1004
+ "commerce.sync_cart": "commerce.sync_cart";
1005
+ "commerce.quote_deal": "commerce.quote_deal";
1006
+ "handoff.request": "handoff.request";
1007
+ "followup.schedule": "followup.schedule";
1008
+ }>;
1009
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1010
+ }, z.core.$strip>>>;
1011
+ followUp: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1012
+ needed: z.ZodBoolean;
1013
+ class: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1014
+ suggestedDelayMinutes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1015
+ }, z.core.$strip>>>;
1016
+ handoff: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1017
+ needed: z.ZodBoolean;
1018
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1019
+ priority: z.ZodDefault<z.ZodEnum<{
1020
+ normal: "normal";
1021
+ urgent: "urgent";
1022
+ }>>;
1023
+ }, z.core.$strip>>>;
1024
+ }, z.core.$strip>;
1025
+ }, z.core.$strip>, z.ZodObject<{
1026
+ kind: z.ZodLiteral<"final_outbound_plan">;
1027
+ decisionEnvelope: z.ZodObject<{
1028
+ reply: z.ZodObject<{
1029
+ text: z.ZodString;
1030
+ tone: z.ZodDefault<z.ZodEnum<{
1031
+ concise: "concise";
1032
+ standard: "standard";
1033
+ }>>;
1034
+ channelHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
1035
+ }, z.core.$strip>;
1036
+ outboundPlan: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1037
+ planId: z.ZodString;
1038
+ conversationId: z.ZodString;
1039
+ basedOnCustomerMessageId: z.ZodString;
1040
+ kind: z.ZodEnum<{
1041
+ draft_outbound_plan: "draft_outbound_plan";
1042
+ final_outbound_plan: "final_outbound_plan";
1043
+ }>;
1044
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1045
+ stepId: z.ZodString;
1046
+ sequence: z.ZodNumber;
1047
+ type: z.ZodLiteral<"send_text">;
1048
+ text: z.ZodString;
1049
+ }, z.core.$strip>, z.ZodObject<{
1050
+ stepId: z.ZodString;
1051
+ sequence: z.ZodNumber;
1052
+ type: z.ZodLiteral<"send_media">;
1053
+ assetId: z.ZodString;
1054
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1055
+ }, z.core.$strip>, z.ZodObject<{
1056
+ stepId: z.ZodString;
1057
+ sequence: z.ZodNumber;
1058
+ type: z.ZodLiteral<"send_media_group">;
1059
+ assetIds: z.ZodArray<z.ZodString>;
1060
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1061
+ }, z.core.$strip>, z.ZodObject<{
1062
+ stepId: z.ZodString;
1063
+ sequence: z.ZodNumber;
1064
+ type: z.ZodLiteral<"send_document">;
1065
+ assetId: z.ZodString;
1066
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1067
+ }, z.core.$strip>, z.ZodObject<{
1068
+ stepId: z.ZodString;
1069
+ sequence: z.ZodNumber;
1070
+ type: z.ZodLiteral<"send_link">;
1071
+ assetId: z.ZodString;
1072
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1073
+ }, z.core.$strip>], "type">>;
1074
+ }, z.core.$strip>>>;
1075
+ classification: z.ZodObject<{
1076
+ primaryIntent: z.ZodString;
1077
+ secondaryIntents: z.ZodDefault<z.ZodArray<z.ZodString>>;
1078
+ readiness: z.ZodEnum<{
1079
+ low: "low";
1080
+ medium: "medium";
1081
+ high: "high";
1082
+ }>;
1083
+ emotion: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1084
+ confidence: z.ZodNumber;
1085
+ riskFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1086
+ }, z.core.$strip>;
1087
+ strategy: z.ZodObject<{
1088
+ selectedId: z.ZodString;
1089
+ candidateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1090
+ rationaleSummary: z.ZodString;
1091
+ forbiddenMoves: z.ZodDefault<z.ZodArray<z.ZodString>>;
1092
+ }, z.core.$strip>;
1093
+ statePatch: z.ZodDefault<z.ZodObject<{
1094
+ conversation: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1095
+ commercial: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1096
+ memory: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1097
+ }, z.core.$strip>>;
1098
+ cartPatch: z.ZodOptional<z.ZodObject<{
1099
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1100
+ type: z.ZodEnum<{
1101
+ ensure_base_product: "ensure_base_product";
1102
+ attach_product: "attach_product";
1103
+ }>;
1104
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1105
+ }, z.core.$strip>>>;
1106
+ }, z.core.$strip>>;
1107
+ actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1108
+ type: z.ZodEnum<{
1109
+ none: "none";
1110
+ "commerce.create_cart": "commerce.create_cart";
1111
+ "commerce.sync_cart": "commerce.sync_cart";
1112
+ "commerce.quote_deal": "commerce.quote_deal";
1113
+ "handoff.request": "handoff.request";
1114
+ "followup.schedule": "followup.schedule";
1115
+ }>;
1116
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1117
+ }, z.core.$strip>>>;
1118
+ followUp: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1119
+ needed: z.ZodBoolean;
1120
+ class: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1121
+ suggestedDelayMinutes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1122
+ }, z.core.$strip>>>;
1123
+ handoff: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1124
+ needed: z.ZodBoolean;
1125
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1126
+ priority: z.ZodDefault<z.ZodEnum<{
1127
+ normal: "normal";
1128
+ urgent: "urgent";
1129
+ }>>;
1130
+ }, z.core.$strip>>>;
1131
+ }, z.core.$strip>;
1132
+ }, z.core.$strip>], "kind">;
1133
+ export type RuntimeStructuredDecisionResponse = z.infer<typeof runtimeStructuredDecisionResponseSchema>;
1134
+ export declare const runtimeMediaDiscoveryTraceEntrySchema: z.ZodObject<{
1135
+ requestKind: z.ZodEnum<{
1136
+ request_media_folders: "request_media_folders";
1137
+ request_media_folder_contents: "request_media_folder_contents";
1138
+ }>;
1139
+ status: z.ZodEnum<{
1140
+ served: "served";
1141
+ rejected: "rejected";
1142
+ }>;
1143
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1144
+ topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1145
+ desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1146
+ image: "image";
1147
+ document: "document";
1148
+ link: "link";
1149
+ deck: "deck";
1150
+ }>>>;
1151
+ folderKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1152
+ requestedLimit: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1153
+ returnedFolderKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
1154
+ returnedAssetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1155
+ registryVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1156
+ registryVersionNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1157
+ errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1158
+ }, z.core.$strip>;
1159
+ export type RuntimeMediaDiscoveryTraceEntry = z.infer<typeof runtimeMediaDiscoveryTraceEntrySchema>;
456
1160
  export declare const decisionActionOutcomeSchema: z.ZodObject<{
457
1161
  actionType: z.ZodEnum<{
458
1162
  none: "none";
@@ -524,6 +1228,45 @@ export declare const decisionTraceSchema: z.ZodObject<{
524
1228
  }>>;
525
1229
  channelHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
526
1230
  }, z.core.$strip>;
1231
+ outboundPlan: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1232
+ planId: z.ZodString;
1233
+ conversationId: z.ZodString;
1234
+ basedOnCustomerMessageId: z.ZodString;
1235
+ kind: z.ZodEnum<{
1236
+ draft_outbound_plan: "draft_outbound_plan";
1237
+ final_outbound_plan: "final_outbound_plan";
1238
+ }>;
1239
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1240
+ stepId: z.ZodString;
1241
+ sequence: z.ZodNumber;
1242
+ type: z.ZodLiteral<"send_text">;
1243
+ text: z.ZodString;
1244
+ }, z.core.$strip>, z.ZodObject<{
1245
+ stepId: z.ZodString;
1246
+ sequence: z.ZodNumber;
1247
+ type: z.ZodLiteral<"send_media">;
1248
+ assetId: z.ZodString;
1249
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1250
+ }, z.core.$strip>, z.ZodObject<{
1251
+ stepId: z.ZodString;
1252
+ sequence: z.ZodNumber;
1253
+ type: z.ZodLiteral<"send_media_group">;
1254
+ assetIds: z.ZodArray<z.ZodString>;
1255
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1256
+ }, z.core.$strip>, z.ZodObject<{
1257
+ stepId: z.ZodString;
1258
+ sequence: z.ZodNumber;
1259
+ type: z.ZodLiteral<"send_document">;
1260
+ assetId: z.ZodString;
1261
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1262
+ }, z.core.$strip>, z.ZodObject<{
1263
+ stepId: z.ZodString;
1264
+ sequence: z.ZodNumber;
1265
+ type: z.ZodLiteral<"send_link">;
1266
+ assetId: z.ZodString;
1267
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1268
+ }, z.core.$strip>], "type">>;
1269
+ }, z.core.$strip>>>;
527
1270
  classification: z.ZodObject<{
528
1271
  primaryIntent: z.ZodString;
529
1272
  secondaryIntents: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -640,6 +1383,34 @@ export declare const decisionTraceSchema: z.ZodObject<{
640
1383
  heuristic: "heuristic";
641
1384
  model: "model";
642
1385
  }>;
1386
+ protocolResponseKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1387
+ mediaProfileVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1388
+ mediaProfileVersionNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1389
+ mediaDiscovery: z.ZodDefault<z.ZodArray<z.ZodObject<{
1390
+ requestKind: z.ZodEnum<{
1391
+ request_media_folders: "request_media_folders";
1392
+ request_media_folder_contents: "request_media_folder_contents";
1393
+ }>;
1394
+ status: z.ZodEnum<{
1395
+ served: "served";
1396
+ rejected: "rejected";
1397
+ }>;
1398
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1399
+ topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1400
+ desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1401
+ image: "image";
1402
+ document: "document";
1403
+ link: "link";
1404
+ deck: "deck";
1405
+ }>>>;
1406
+ folderKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1407
+ requestedLimit: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1408
+ returnedFolderKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
1409
+ returnedAssetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1410
+ registryVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1411
+ registryVersionNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1412
+ errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1413
+ }, z.core.$strip>>>;
643
1414
  }, z.core.$strip>>>;
644
1415
  generationAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
645
1416
  stage: z.ZodEnum<{
@@ -768,6 +1539,45 @@ export declare const runtimeListDecisionTracesResponseSchema: z.ZodObject<{
768
1539
  }>>;
769
1540
  channelHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
770
1541
  }, z.core.$strip>;
1542
+ outboundPlan: z.ZodDefault<z.ZodNullable<z.ZodObject<{
1543
+ planId: z.ZodString;
1544
+ conversationId: z.ZodString;
1545
+ basedOnCustomerMessageId: z.ZodString;
1546
+ kind: z.ZodEnum<{
1547
+ draft_outbound_plan: "draft_outbound_plan";
1548
+ final_outbound_plan: "final_outbound_plan";
1549
+ }>;
1550
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1551
+ stepId: z.ZodString;
1552
+ sequence: z.ZodNumber;
1553
+ type: z.ZodLiteral<"send_text">;
1554
+ text: z.ZodString;
1555
+ }, z.core.$strip>, z.ZodObject<{
1556
+ stepId: z.ZodString;
1557
+ sequence: z.ZodNumber;
1558
+ type: z.ZodLiteral<"send_media">;
1559
+ assetId: z.ZodString;
1560
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1561
+ }, z.core.$strip>, z.ZodObject<{
1562
+ stepId: z.ZodString;
1563
+ sequence: z.ZodNumber;
1564
+ type: z.ZodLiteral<"send_media_group">;
1565
+ assetIds: z.ZodArray<z.ZodString>;
1566
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1567
+ }, z.core.$strip>, z.ZodObject<{
1568
+ stepId: z.ZodString;
1569
+ sequence: z.ZodNumber;
1570
+ type: z.ZodLiteral<"send_document">;
1571
+ assetId: z.ZodString;
1572
+ caption: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1573
+ }, z.core.$strip>, z.ZodObject<{
1574
+ stepId: z.ZodString;
1575
+ sequence: z.ZodNumber;
1576
+ type: z.ZodLiteral<"send_link">;
1577
+ assetId: z.ZodString;
1578
+ text: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1579
+ }, z.core.$strip>], "type">>;
1580
+ }, z.core.$strip>>>;
771
1581
  classification: z.ZodObject<{
772
1582
  primaryIntent: z.ZodString;
773
1583
  secondaryIntents: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -884,6 +1694,34 @@ export declare const runtimeListDecisionTracesResponseSchema: z.ZodObject<{
884
1694
  heuristic: "heuristic";
885
1695
  model: "model";
886
1696
  }>;
1697
+ protocolResponseKind: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1698
+ mediaProfileVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1699
+ mediaProfileVersionNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1700
+ mediaDiscovery: z.ZodDefault<z.ZodArray<z.ZodObject<{
1701
+ requestKind: z.ZodEnum<{
1702
+ request_media_folders: "request_media_folders";
1703
+ request_media_folder_contents: "request_media_folder_contents";
1704
+ }>;
1705
+ status: z.ZodEnum<{
1706
+ served: "served";
1707
+ rejected: "rejected";
1708
+ }>;
1709
+ reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1710
+ topicHint: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1711
+ desiredKinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1712
+ image: "image";
1713
+ document: "document";
1714
+ link: "link";
1715
+ deck: "deck";
1716
+ }>>>;
1717
+ folderKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1718
+ requestedLimit: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1719
+ returnedFolderKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
1720
+ returnedAssetIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1721
+ registryVersionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1722
+ registryVersionNumber: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1723
+ errorMessage: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1724
+ }, z.core.$strip>>>;
887
1725
  }, z.core.$strip>>>;
888
1726
  generationAttempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
889
1727
  stage: z.ZodEnum<{