@gtmi/ramp-site-client 0.0.1 → 0.0.2

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.
@@ -341,6 +341,76 @@ declare const createRampSiteClient: ({ baseUrl, getAuthToken, ...config }: Creat
341
341
  type ClientOptions = {
342
342
  baseUrl: `${string}://${string}` | (string & {});
343
343
  };
344
+ type ErrorResponse = {
345
+ error?: string;
346
+ details?: string;
347
+ };
348
+ type CalledByData = {
349
+ phoneNumber?: string;
350
+ timestamp?: number;
351
+ direction?: string;
352
+ objectId?: string;
353
+ };
354
+ type Campaign = {
355
+ email?: string;
356
+ companyName?: string;
357
+ objectID?: string;
358
+ encryptedObjectId?: string;
359
+ agentNumber?: string;
360
+ tag?: string;
361
+ createdAt?: string;
362
+ numCalls?: string;
363
+ shortLink?: string;
364
+ };
365
+ type ConversationMemoryRecallResponse = {
366
+ communications?: string;
367
+ observations?: string;
368
+ summaries?: string;
369
+ meta?: string;
370
+ queryTime?: string;
371
+ };
372
+ type Operator = {
373
+ id?: string;
374
+ displayName?: string;
375
+ description?: string;
376
+ version?: string;
377
+ availability?: string;
378
+ author?: string;
379
+ prompt?: string;
380
+ outputFormat?: string;
381
+ outputSchema?: string;
382
+ trainingExamples?: string;
383
+ context?: string;
384
+ parameters?: string;
385
+ };
386
+ type IntelligenceConfiguration = {
387
+ accountId?: string;
388
+ dateCreated?: string;
389
+ dateUpdated?: string;
390
+ description?: string;
391
+ displayName?: string;
392
+ id?: string;
393
+ rules?: string;
394
+ version?: string;
395
+ };
396
+ type LockedTemplateData = {
397
+ agentNumber?: string;
398
+ countryCode?: string;
399
+ dateShared?: string;
400
+ dateExpires?: string;
401
+ objectID?: string;
402
+ templateName?: string;
403
+ userEmail?: string;
404
+ webrtcUrl?: string;
405
+ };
406
+ type SupportedRegion = {
407
+ isoCountry?: string;
408
+ numberType?: string;
409
+ bundleSid?: string;
410
+ label?: string;
411
+ flag?: string;
412
+ capabilities?: string;
413
+ };
344
414
  type PostApiAlgoliaSecuredKeyData = {
345
415
  body?: never;
346
416
  path?: never;
@@ -349,16 +419,35 @@ type PostApiAlgoliaSecuredKeyData = {
349
419
  };
350
420
  type PostApiAlgoliaSecuredKeyErrors = {
351
421
  /**
352
- * Internal server error
422
+ * Not authenticated
353
423
  */
354
- 500: unknown;
424
+ 401: ErrorResponse;
425
+ /**
426
+ * Algolia configuration missing, or key generation failed
427
+ */
428
+ 500: ErrorResponse;
355
429
  };
430
+ type PostApiAlgoliaSecuredKeyError = PostApiAlgoliaSecuredKeyErrors[keyof PostApiAlgoliaSecuredKeyErrors];
356
431
  type PostApiAlgoliaSecuredKeyResponses = {
357
432
  /**
358
433
  * Success
359
434
  */
360
- 200: unknown;
435
+ 200: {
436
+ /**
437
+ * Unix timestamp (ms) when the secured key expires
438
+ */
439
+ expiresAt: number;
440
+ /**
441
+ * Base64-encoded Algolia secured API key
442
+ */
443
+ securedKey: string;
444
+ /**
445
+ * Email of the authenticated user the key was scoped to
446
+ */
447
+ userEmail: string;
448
+ };
361
449
  };
450
+ type PostApiAlgoliaSecuredKeyResponse = PostApiAlgoliaSecuredKeyResponses[keyof PostApiAlgoliaSecuredKeyResponses];
362
451
  type GetApiCampaignData = {
363
452
  body?: never;
364
453
  path?: never;
@@ -367,20 +456,35 @@ type GetApiCampaignData = {
367
456
  };
368
457
  type GetApiCampaignErrors = {
369
458
  /**
370
- * Unauthorized
459
+ * Unauthorized — requires an authenticated session
371
460
  */
372
461
  401: unknown;
373
462
  /**
374
- * Internal server error
463
+ * Error fetching campaigns
375
464
  */
376
- 500: unknown;
465
+ 500: ErrorResponse;
377
466
  };
467
+ type GetApiCampaignError = GetApiCampaignErrors[keyof GetApiCampaignErrors];
378
468
  type GetApiCampaignResponses = {
379
469
  /**
380
470
  * Success
381
471
  */
382
- 200: unknown;
472
+ 200: {
473
+ /**
474
+ * Call history data, present when includeCalledBy is set
475
+ */
476
+ calledByData: Array<CalledByData>;
477
+ /**
478
+ * Matching campaign templates
479
+ */
480
+ campaigns: Array<Campaign>;
481
+ /**
482
+ * Total number of matching campaigns
483
+ */
484
+ total: number;
485
+ };
383
486
  };
487
+ type GetApiCampaignResponse = GetApiCampaignResponses[keyof GetApiCampaignResponses];
384
488
  type DeleteApiConversationMemoryConversationSummariesData = {
385
489
  body?: never;
386
490
  path?: never;
@@ -392,20 +496,34 @@ type DeleteApiConversationMemoryConversationSummariesData = {
392
496
  };
393
497
  type DeleteApiConversationMemoryConversationSummariesErrors = {
394
498
  /**
395
- * Unauthorized
499
+ * Missing required profileId or summaryId
500
+ */
501
+ 400: ErrorResponse;
502
+ /**
503
+ * Unauthorized — requires an authenticated session
396
504
  */
397
505
  401: unknown;
398
506
  /**
399
- * Internal server error
507
+ * Conversation Memory store not configured, or internal server error
400
508
  */
401
- 500: unknown;
509
+ 500: ErrorResponse;
402
510
  };
511
+ type DeleteApiConversationMemoryConversationSummariesError = DeleteApiConversationMemoryConversationSummariesErrors[keyof DeleteApiConversationMemoryConversationSummariesErrors];
403
512
  type DeleteApiConversationMemoryConversationSummariesResponses = {
404
513
  /**
405
- * Success
514
+ * Upstream summary data (single summary or paginated list) from the Conversation Memory API
406
515
  */
407
- 200: unknown;
516
+ 200: {
517
+ [key: string]: unknown;
518
+ };
519
+ /**
520
+ * Upstream confirmation payload from the Conversation Memory API
521
+ */
522
+ 202: {
523
+ [key: string]: unknown;
524
+ };
408
525
  };
526
+ type DeleteApiConversationMemoryConversationSummariesResponse = DeleteApiConversationMemoryConversationSummariesResponses[keyof DeleteApiConversationMemoryConversationSummariesResponses];
409
527
  type GetApiConversationMemoryConversationSummariesData = {
410
528
  body?: never;
411
529
  path?: never;
@@ -419,20 +537,28 @@ type GetApiConversationMemoryConversationSummariesData = {
419
537
  };
420
538
  type GetApiConversationMemoryConversationSummariesErrors = {
421
539
  /**
422
- * Unauthorized
540
+ * Missing required profileId
541
+ */
542
+ 400: ErrorResponse;
543
+ /**
544
+ * Unauthorized — requires an authenticated session
423
545
  */
424
546
  401: unknown;
425
547
  /**
426
- * Internal server error
548
+ * Conversation Memory store not configured, or internal server error
427
549
  */
428
- 500: unknown;
550
+ 500: ErrorResponse;
429
551
  };
552
+ type GetApiConversationMemoryConversationSummariesError = GetApiConversationMemoryConversationSummariesErrors[keyof GetApiConversationMemoryConversationSummariesErrors];
430
553
  type GetApiConversationMemoryConversationSummariesResponses = {
431
554
  /**
432
- * Success
555
+ * Upstream summary data (single summary or paginated list) from the Conversation Memory API
433
556
  */
434
- 200: unknown;
557
+ 200: {
558
+ [key: string]: unknown;
559
+ };
435
560
  };
561
+ type GetApiConversationMemoryConversationSummariesResponse = GetApiConversationMemoryConversationSummariesResponses[keyof GetApiConversationMemoryConversationSummariesResponses];
436
562
  type PatchApiConversationMemoryConversationSummariesData = {
437
563
  body: {
438
564
  [key: string]: unknown;
@@ -446,20 +572,34 @@ type PatchApiConversationMemoryConversationSummariesData = {
446
572
  };
447
573
  type PatchApiConversationMemoryConversationSummariesErrors = {
448
574
  /**
449
- * Unauthorized
575
+ * Missing required profileId/summaryId, or no update fields provided
576
+ */
577
+ 400: ErrorResponse;
578
+ /**
579
+ * Unauthorized — requires an authenticated session
450
580
  */
451
581
  401: unknown;
452
582
  /**
453
- * Internal server error
583
+ * Conversation Memory store not configured, or internal server error
454
584
  */
455
- 500: unknown;
585
+ 500: ErrorResponse;
456
586
  };
587
+ type PatchApiConversationMemoryConversationSummariesError = PatchApiConversationMemoryConversationSummariesErrors[keyof PatchApiConversationMemoryConversationSummariesErrors];
457
588
  type PatchApiConversationMemoryConversationSummariesResponses = {
458
589
  /**
459
- * Success
590
+ * Upstream summary data (single summary or paginated list) from the Conversation Memory API
460
591
  */
461
- 200: unknown;
592
+ 200: {
593
+ [key: string]: unknown;
594
+ };
595
+ /**
596
+ * Upstream confirmation payload from the Conversation Memory API
597
+ */
598
+ 202: {
599
+ [key: string]: unknown;
600
+ };
462
601
  };
602
+ type PatchApiConversationMemoryConversationSummariesResponse = PatchApiConversationMemoryConversationSummariesResponses[keyof PatchApiConversationMemoryConversationSummariesResponses];
463
603
  type PostApiConversationMemoryConversationSummariesData = {
464
604
  body: {
465
605
  [key: string]: unknown;
@@ -470,20 +610,34 @@ type PostApiConversationMemoryConversationSummariesData = {
470
610
  };
471
611
  type PostApiConversationMemoryConversationSummariesErrors = {
472
612
  /**
473
- * Unauthorized
613
+ * Missing required profileId or summaries
614
+ */
615
+ 400: ErrorResponse;
616
+ /**
617
+ * Unauthorized — requires an authenticated session
474
618
  */
475
619
  401: unknown;
476
620
  /**
477
- * Internal server error
621
+ * Conversation Memory store not configured, or internal server error
478
622
  */
479
- 500: unknown;
623
+ 500: ErrorResponse;
480
624
  };
625
+ type PostApiConversationMemoryConversationSummariesError = PostApiConversationMemoryConversationSummariesErrors[keyof PostApiConversationMemoryConversationSummariesErrors];
481
626
  type PostApiConversationMemoryConversationSummariesResponses = {
482
627
  /**
483
- * Success
628
+ * Upstream summary data (single summary or paginated list) from the Conversation Memory API
484
629
  */
485
- 200: unknown;
630
+ 200: {
631
+ [key: string]: unknown;
632
+ };
633
+ /**
634
+ * Upstream confirmation payload from the Conversation Memory API
635
+ */
636
+ 202: {
637
+ [key: string]: unknown;
638
+ };
486
639
  };
640
+ type PostApiConversationMemoryConversationSummariesResponse = PostApiConversationMemoryConversationSummariesResponses[keyof PostApiConversationMemoryConversationSummariesResponses];
487
641
  type DeleteApiConversationMemoryIdentifiersData = {
488
642
  body?: never;
489
643
  path?: never;
@@ -497,45 +651,67 @@ type DeleteApiConversationMemoryIdentifiersData = {
497
651
  };
498
652
  type DeleteApiConversationMemoryIdentifiersErrors = {
499
653
  /**
500
- * Unauthorized
654
+ * Missing required profileId or idType
655
+ */
656
+ 400: ErrorResponse;
657
+ /**
658
+ * Unauthorized — requires an authenticated session
501
659
  */
502
660
  401: unknown;
503
661
  /**
504
- * Internal server error
662
+ * Conversation Memory store not configured, or internal server error
505
663
  */
506
- 500: unknown;
664
+ 500: ErrorResponse;
507
665
  };
666
+ type DeleteApiConversationMemoryIdentifiersError = DeleteApiConversationMemoryIdentifiersErrors[keyof DeleteApiConversationMemoryIdentifiersErrors];
508
667
  type DeleteApiConversationMemoryIdentifiersResponses = {
509
668
  /**
510
- * Success
669
+ * Upstream identifier data (single value or list) from the Conversation Memory API
511
670
  */
512
- 200: unknown;
671
+ 200: {
672
+ [key: string]: unknown;
673
+ };
674
+ /**
675
+ * Upstream confirmation payload from the Conversation Memory API
676
+ */
677
+ 202: {
678
+ [key: string]: unknown;
679
+ };
513
680
  };
681
+ type DeleteApiConversationMemoryIdentifiersResponse = DeleteApiConversationMemoryIdentifiersResponses[keyof DeleteApiConversationMemoryIdentifiersResponses];
514
682
  type GetApiConversationMemoryIdentifiersData = {
515
683
  body?: never;
516
684
  path?: never;
517
685
  query: {
518
686
  profileId: string;
519
- idType: string;
687
+ idType?: string;
520
688
  };
521
689
  url: '/api/conversation-memory/identifiers';
522
690
  };
523
691
  type GetApiConversationMemoryIdentifiersErrors = {
524
692
  /**
525
- * Unauthorized
693
+ * Missing required profileId
694
+ */
695
+ 400: ErrorResponse;
696
+ /**
697
+ * Unauthorized — requires an authenticated session
526
698
  */
527
699
  401: unknown;
528
700
  /**
529
- * Internal server error
701
+ * Conversation Memory store not configured, or internal server error
530
702
  */
531
- 500: unknown;
703
+ 500: ErrorResponse;
532
704
  };
705
+ type GetApiConversationMemoryIdentifiersError = GetApiConversationMemoryIdentifiersErrors[keyof GetApiConversationMemoryIdentifiersErrors];
533
706
  type GetApiConversationMemoryIdentifiersResponses = {
534
707
  /**
535
- * Success
708
+ * Upstream identifier data (single value or list) from the Conversation Memory API
536
709
  */
537
- 200: unknown;
710
+ 200: {
711
+ [key: string]: unknown;
712
+ };
538
713
  };
714
+ type GetApiConversationMemoryIdentifiersResponse = GetApiConversationMemoryIdentifiersResponses[keyof GetApiConversationMemoryIdentifiersResponses];
539
715
  type PatchApiConversationMemoryIdentifiersData = {
540
716
  body: {
541
717
  [key: string]: unknown;
@@ -551,49 +727,72 @@ type PatchApiConversationMemoryIdentifiersData = {
551
727
  };
552
728
  type PatchApiConversationMemoryIdentifiersErrors = {
553
729
  /**
554
- * Unauthorized
730
+ * Missing required profileId, idType, oldValue, or newValue
731
+ */
732
+ 400: ErrorResponse;
733
+ /**
734
+ * Unauthorized — requires an authenticated session
555
735
  */
556
736
  401: unknown;
557
737
  /**
558
- * Internal server error
738
+ * Conversation Memory store not configured, or internal server error
559
739
  */
560
- 500: unknown;
740
+ 500: ErrorResponse;
561
741
  };
742
+ type PatchApiConversationMemoryIdentifiersError = PatchApiConversationMemoryIdentifiersErrors[keyof PatchApiConversationMemoryIdentifiersErrors];
562
743
  type PatchApiConversationMemoryIdentifiersResponses = {
563
744
  /**
564
- * Success
745
+ * Upstream identifier data (single value or list) from the Conversation Memory API
565
746
  */
566
- 200: unknown;
747
+ 200: {
748
+ [key: string]: unknown;
749
+ };
750
+ /**
751
+ * Upstream confirmation payload from the Conversation Memory API
752
+ */
753
+ 202: {
754
+ [key: string]: unknown;
755
+ };
567
756
  };
757
+ type PatchApiConversationMemoryIdentifiersResponse = PatchApiConversationMemoryIdentifiersResponses[keyof PatchApiConversationMemoryIdentifiersResponses];
568
758
  type PostApiConversationMemoryIdentifiersData = {
569
759
  body: {
570
760
  [key: string]: unknown;
571
761
  };
572
762
  path?: never;
573
- query: {
574
- profileId: string;
575
- idType: string;
576
- removeAll?: string;
577
- value: string;
578
- };
763
+ query?: never;
579
764
  url: '/api/conversation-memory/identifiers';
580
765
  };
581
766
  type PostApiConversationMemoryIdentifiersErrors = {
582
767
  /**
583
- * Unauthorized
768
+ * Missing required profileId, idType, or value
769
+ */
770
+ 400: ErrorResponse;
771
+ /**
772
+ * Unauthorized — requires an authenticated session
584
773
  */
585
774
  401: unknown;
586
775
  /**
587
- * Internal server error
776
+ * Conversation Memory store not configured, or internal server error
588
777
  */
589
- 500: unknown;
778
+ 500: ErrorResponse;
590
779
  };
780
+ type PostApiConversationMemoryIdentifiersError = PostApiConversationMemoryIdentifiersErrors[keyof PostApiConversationMemoryIdentifiersErrors];
591
781
  type PostApiConversationMemoryIdentifiersResponses = {
592
782
  /**
593
- * Success
783
+ * Upstream identifier data (single value or list) from the Conversation Memory API
594
784
  */
595
- 200: unknown;
785
+ 200: {
786
+ [key: string]: unknown;
787
+ };
788
+ /**
789
+ * Upstream confirmation payload from the Conversation Memory API
790
+ */
791
+ 202: {
792
+ [key: string]: unknown;
793
+ };
596
794
  };
795
+ type PostApiConversationMemoryIdentifiersResponse = PostApiConversationMemoryIdentifiersResponses[keyof PostApiConversationMemoryIdentifiersResponses];
597
796
  type DeleteApiConversationMemoryObservationsData = {
598
797
  body?: never;
599
798
  path?: never;
@@ -605,20 +804,34 @@ type DeleteApiConversationMemoryObservationsData = {
605
804
  };
606
805
  type DeleteApiConversationMemoryObservationsErrors = {
607
806
  /**
608
- * Unauthorized
807
+ * Missing required profileId or observationId
808
+ */
809
+ 400: ErrorResponse;
810
+ /**
811
+ * Unauthorized — requires an authenticated session
609
812
  */
610
813
  401: unknown;
611
814
  /**
612
- * Internal server error
815
+ * Conversation Memory store not configured, or internal server error
613
816
  */
614
- 500: unknown;
817
+ 500: ErrorResponse;
615
818
  };
819
+ type DeleteApiConversationMemoryObservationsError = DeleteApiConversationMemoryObservationsErrors[keyof DeleteApiConversationMemoryObservationsErrors];
616
820
  type DeleteApiConversationMemoryObservationsResponses = {
617
821
  /**
618
- * Success
822
+ * Upstream observation data (single observation or paginated list) from the Conversation Memory API
619
823
  */
620
- 200: unknown;
824
+ 200: {
825
+ [key: string]: unknown;
826
+ };
827
+ /**
828
+ * Upstream confirmation payload from the Conversation Memory API
829
+ */
830
+ 202: {
831
+ [key: string]: unknown;
832
+ };
621
833
  };
834
+ type DeleteApiConversationMemoryObservationsResponse = DeleteApiConversationMemoryObservationsResponses[keyof DeleteApiConversationMemoryObservationsResponses];
622
835
  type GetApiConversationMemoryObservationsData = {
623
836
  body?: never;
624
837
  path?: never;
@@ -636,20 +849,28 @@ type GetApiConversationMemoryObservationsData = {
636
849
  };
637
850
  type GetApiConversationMemoryObservationsErrors = {
638
851
  /**
639
- * Unauthorized
852
+ * Missing required profileId
853
+ */
854
+ 400: ErrorResponse;
855
+ /**
856
+ * Unauthorized — requires an authenticated session
640
857
  */
641
858
  401: unknown;
642
859
  /**
643
- * Internal server error
860
+ * Conversation Memory store not configured, or internal server error
644
861
  */
645
- 500: unknown;
862
+ 500: ErrorResponse;
646
863
  };
864
+ type GetApiConversationMemoryObservationsError = GetApiConversationMemoryObservationsErrors[keyof GetApiConversationMemoryObservationsErrors];
647
865
  type GetApiConversationMemoryObservationsResponses = {
648
866
  /**
649
- * Success
867
+ * Upstream observation data (single observation or paginated list) from the Conversation Memory API
650
868
  */
651
- 200: unknown;
869
+ 200: {
870
+ [key: string]: unknown;
871
+ };
652
872
  };
873
+ type GetApiConversationMemoryObservationsResponse = GetApiConversationMemoryObservationsResponses[keyof GetApiConversationMemoryObservationsResponses];
653
874
  type PatchApiConversationMemoryObservationsData = {
654
875
  body: {
655
876
  [key: string]: unknown;
@@ -663,46 +884,72 @@ type PatchApiConversationMemoryObservationsData = {
663
884
  };
664
885
  type PatchApiConversationMemoryObservationsErrors = {
665
886
  /**
666
- * Unauthorized
887
+ * Missing required fields (profileId, observationId, content, source, occurredAt)
888
+ */
889
+ 400: ErrorResponse;
890
+ /**
891
+ * Unauthorized — requires an authenticated session
667
892
  */
668
893
  401: unknown;
669
894
  /**
670
- * Internal server error
895
+ * Conversation Memory store not configured, or internal server error
671
896
  */
672
- 500: unknown;
897
+ 500: ErrorResponse;
673
898
  };
899
+ type PatchApiConversationMemoryObservationsError = PatchApiConversationMemoryObservationsErrors[keyof PatchApiConversationMemoryObservationsErrors];
674
900
  type PatchApiConversationMemoryObservationsResponses = {
675
901
  /**
676
- * Success
902
+ * Upstream observation data (single observation or paginated list) from the Conversation Memory API
677
903
  */
678
- 200: unknown;
904
+ 200: {
905
+ [key: string]: unknown;
906
+ };
907
+ /**
908
+ * Upstream confirmation payload from the Conversation Memory API
909
+ */
910
+ 202: {
911
+ [key: string]: unknown;
912
+ };
679
913
  };
914
+ type PatchApiConversationMemoryObservationsResponse = PatchApiConversationMemoryObservationsResponses[keyof PatchApiConversationMemoryObservationsResponses];
680
915
  type PostApiConversationMemoryObservationsData = {
681
916
  body: {
682
917
  [key: string]: unknown;
683
918
  };
684
919
  path?: never;
685
- query: {
686
- profileId: string;
687
- };
920
+ query?: never;
688
921
  url: '/api/conversation-memory/observations';
689
922
  };
690
923
  type PostApiConversationMemoryObservationsErrors = {
691
924
  /**
692
- * Unauthorized
925
+ * Missing required profileId or observations
926
+ */
927
+ 400: ErrorResponse;
928
+ /**
929
+ * Unauthorized — requires an authenticated session
693
930
  */
694
931
  401: unknown;
695
932
  /**
696
- * Internal server error
933
+ * Conversation Memory store not configured, or internal server error
697
934
  */
698
- 500: unknown;
935
+ 500: ErrorResponse;
699
936
  };
937
+ type PostApiConversationMemoryObservationsError = PostApiConversationMemoryObservationsErrors[keyof PostApiConversationMemoryObservationsErrors];
700
938
  type PostApiConversationMemoryObservationsResponses = {
701
939
  /**
702
- * Success
940
+ * Upstream observation data (single observation or paginated list) from the Conversation Memory API
703
941
  */
704
- 200: unknown;
942
+ 200: {
943
+ [key: string]: unknown;
944
+ };
945
+ /**
946
+ * Upstream confirmation payload from the Conversation Memory API
947
+ */
948
+ 202: {
949
+ [key: string]: unknown;
950
+ };
705
951
  };
952
+ type PostApiConversationMemoryObservationsResponse = PostApiConversationMemoryObservationsResponses[keyof PostApiConversationMemoryObservationsResponses];
706
953
  type DeleteApiConversationMemoryProfilesData = {
707
954
  body?: never;
708
955
  path?: never;
@@ -713,20 +960,34 @@ type DeleteApiConversationMemoryProfilesData = {
713
960
  };
714
961
  type DeleteApiConversationMemoryProfilesErrors = {
715
962
  /**
716
- * Unauthorized
963
+ * Missing required profileId
964
+ */
965
+ 400: ErrorResponse;
966
+ /**
967
+ * Unauthorized — requires an authenticated session
717
968
  */
718
969
  401: unknown;
719
970
  /**
720
- * Internal server error
971
+ * Conversation Memory store not configured, or internal server error
721
972
  */
722
- 500: unknown;
973
+ 500: ErrorResponse;
723
974
  };
975
+ type DeleteApiConversationMemoryProfilesError = DeleteApiConversationMemoryProfilesErrors[keyof DeleteApiConversationMemoryProfilesErrors];
724
976
  type DeleteApiConversationMemoryProfilesResponses = {
725
977
  /**
726
- * Success
978
+ * Upstream profile data (single profile or paginated list) from the Conversation Memory API
727
979
  */
728
- 200: unknown;
980
+ 200: {
981
+ [key: string]: unknown;
982
+ };
983
+ /**
984
+ * Upstream confirmation payload from the Conversation Memory API
985
+ */
986
+ 202: {
987
+ [key: string]: unknown;
988
+ };
729
989
  };
990
+ type DeleteApiConversationMemoryProfilesResponse = DeleteApiConversationMemoryProfilesResponses[keyof DeleteApiConversationMemoryProfilesResponses];
730
991
  type GetApiConversationMemoryProfilesData = {
731
992
  body?: never;
732
993
  path?: never;
@@ -741,20 +1002,24 @@ type GetApiConversationMemoryProfilesData = {
741
1002
  };
742
1003
  type GetApiConversationMemoryProfilesErrors = {
743
1004
  /**
744
- * Unauthorized
1005
+ * Unauthorized — requires an authenticated session
745
1006
  */
746
1007
  401: unknown;
747
1008
  /**
748
- * Internal server error
1009
+ * Conversation Memory store not configured, or internal server error
749
1010
  */
750
- 500: unknown;
1011
+ 500: ErrorResponse;
751
1012
  };
1013
+ type GetApiConversationMemoryProfilesError = GetApiConversationMemoryProfilesErrors[keyof GetApiConversationMemoryProfilesErrors];
752
1014
  type GetApiConversationMemoryProfilesResponses = {
753
1015
  /**
754
- * Success
1016
+ * Upstream profile data (single profile or paginated list) from the Conversation Memory API
755
1017
  */
756
- 200: unknown;
1018
+ 200: {
1019
+ [key: string]: unknown;
1020
+ };
757
1021
  };
1022
+ type GetApiConversationMemoryProfilesResponse = GetApiConversationMemoryProfilesResponses[keyof GetApiConversationMemoryProfilesResponses];
758
1023
  type PatchApiConversationMemoryProfilesData = {
759
1024
  body: {
760
1025
  [key: string]: unknown;
@@ -767,46 +1032,74 @@ type PatchApiConversationMemoryProfilesData = {
767
1032
  };
768
1033
  type PatchApiConversationMemoryProfilesErrors = {
769
1034
  /**
770
- * Unauthorized
1035
+ * Missing required profileId or traits
1036
+ */
1037
+ 400: ErrorResponse;
1038
+ /**
1039
+ * Unauthorized — requires an authenticated session
771
1040
  */
772
1041
  401: unknown;
773
1042
  /**
774
- * Internal server error
1043
+ * Conversation Memory store not configured, or internal server error
775
1044
  */
776
- 500: unknown;
1045
+ 500: ErrorResponse;
777
1046
  };
1047
+ type PatchApiConversationMemoryProfilesError = PatchApiConversationMemoryProfilesErrors[keyof PatchApiConversationMemoryProfilesErrors];
778
1048
  type PatchApiConversationMemoryProfilesResponses = {
779
1049
  /**
780
- * Success
1050
+ * Upstream profile data (single profile or paginated list) from the Conversation Memory API
781
1051
  */
782
- 200: unknown;
1052
+ 200: {
1053
+ [key: string]: unknown;
1054
+ };
1055
+ /**
1056
+ * Upstream confirmation payload from the Conversation Memory API
1057
+ */
1058
+ 202: {
1059
+ [key: string]: unknown;
1060
+ };
783
1061
  };
1062
+ type PatchApiConversationMemoryProfilesResponse = PatchApiConversationMemoryProfilesResponses[keyof PatchApiConversationMemoryProfilesResponses];
784
1063
  type PostApiConversationMemoryProfilesData = {
785
1064
  body: {
786
1065
  [key: string]: unknown;
787
1066
  };
788
1067
  path?: never;
789
- query: {
790
- profileId: string;
1068
+ query?: {
1069
+ profileId?: string;
791
1070
  };
792
1071
  url: '/api/conversation-memory/profiles';
793
1072
  };
794
1073
  type PostApiConversationMemoryProfilesErrors = {
795
1074
  /**
796
- * Unauthorized
1075
+ * Missing required traits
1076
+ */
1077
+ 400: ErrorResponse;
1078
+ /**
1079
+ * Unauthorized — requires an authenticated session
797
1080
  */
798
1081
  401: unknown;
799
1082
  /**
800
- * Internal server error
1083
+ * Conversation Memory store not configured, or internal server error
801
1084
  */
802
- 500: unknown;
1085
+ 500: ErrorResponse;
803
1086
  };
1087
+ type PostApiConversationMemoryProfilesError = PostApiConversationMemoryProfilesErrors[keyof PostApiConversationMemoryProfilesErrors];
804
1088
  type PostApiConversationMemoryProfilesResponses = {
805
1089
  /**
806
- * Success
1090
+ * Upstream profile data (single profile or paginated list) from the Conversation Memory API
807
1091
  */
808
- 200: unknown;
1092
+ 200: {
1093
+ [key: string]: unknown;
1094
+ };
1095
+ /**
1096
+ * Upstream confirmation payload from the Conversation Memory API
1097
+ */
1098
+ 202: {
1099
+ [key: string]: unknown;
1100
+ };
809
1101
  };
1102
+ type PostApiConversationMemoryProfilesResponse = PostApiConversationMemoryProfilesResponses[keyof PostApiConversationMemoryProfilesResponses];
810
1103
  type PostApiConversationMemoryProfilesLookupData = {
811
1104
  body: {
812
1105
  [key: string]: unknown;
@@ -817,20 +1110,28 @@ type PostApiConversationMemoryProfilesLookupData = {
817
1110
  };
818
1111
  type PostApiConversationMemoryProfilesLookupErrors = {
819
1112
  /**
820
- * Unauthorized
1113
+ * Missing required idType or value
1114
+ */
1115
+ 400: ErrorResponse;
1116
+ /**
1117
+ * Unauthorized — requires an authenticated session
821
1118
  */
822
1119
  401: unknown;
823
1120
  /**
824
- * Internal server error
1121
+ * Conversation Memory store not configured, or internal server error
825
1122
  */
826
- 500: unknown;
1123
+ 500: ErrorResponse;
827
1124
  };
1125
+ type PostApiConversationMemoryProfilesLookupError = PostApiConversationMemoryProfilesLookupErrors[keyof PostApiConversationMemoryProfilesLookupErrors];
828
1126
  type PostApiConversationMemoryProfilesLookupResponses = {
829
1127
  /**
830
- * Success
1128
+ * Upstream profile lookup result from the Conversation Memory API
831
1129
  */
832
- 200: unknown;
1130
+ 200: {
1131
+ [key: string]: unknown;
1132
+ };
833
1133
  };
1134
+ type PostApiConversationMemoryProfilesLookupResponse = PostApiConversationMemoryProfilesLookupResponses[keyof PostApiConversationMemoryProfilesLookupResponses];
834
1135
  type PostApiConversationMemoryRecallData = {
835
1136
  body: {
836
1137
  [key: string]: unknown;
@@ -841,20 +1142,26 @@ type PostApiConversationMemoryRecallData = {
841
1142
  };
842
1143
  type PostApiConversationMemoryRecallErrors = {
843
1144
  /**
844
- * Unauthorized
1145
+ * Missing required profileId or query
1146
+ */
1147
+ 400: ErrorResponse;
1148
+ /**
1149
+ * Unauthorized — requires an authenticated session
845
1150
  */
846
1151
  401: unknown;
847
1152
  /**
848
- * Internal server error
1153
+ * Conversation Memory store not configured, or internal server error
849
1154
  */
850
- 500: unknown;
1155
+ 500: ErrorResponse;
851
1156
  };
1157
+ type PostApiConversationMemoryRecallError = PostApiConversationMemoryRecallErrors[keyof PostApiConversationMemoryRecallErrors];
852
1158
  type PostApiConversationMemoryRecallResponses = {
853
1159
  /**
854
- * Success
1160
+ * Recalled communications, observations, and summaries matching the query
855
1161
  */
856
- 200: unknown;
1162
+ 200: ConversationMemoryRecallResponse;
857
1163
  };
1164
+ type PostApiConversationMemoryRecallResponse = PostApiConversationMemoryRecallResponses[keyof PostApiConversationMemoryRecallResponses];
858
1165
  type DeleteApiConversationMemoryResetData = {
859
1166
  body?: never;
860
1167
  path?: never;
@@ -865,20 +1172,28 @@ type DeleteApiConversationMemoryResetData = {
865
1172
  };
866
1173
  type DeleteApiConversationMemoryResetErrors = {
867
1174
  /**
868
- * Unauthorized
1175
+ * Missing required profileId
1176
+ */
1177
+ 400: ErrorResponse;
1178
+ /**
1179
+ * Unauthorized — requires an authenticated session
869
1180
  */
870
1181
  401: unknown;
871
1182
  /**
872
- * Internal server error
1183
+ * Conversation Memory store not configured, or internal server error
873
1184
  */
874
- 500: unknown;
1185
+ 500: ErrorResponse;
875
1186
  };
1187
+ type DeleteApiConversationMemoryResetError = DeleteApiConversationMemoryResetErrors[keyof DeleteApiConversationMemoryResetErrors];
876
1188
  type DeleteApiConversationMemoryResetResponses = {
877
1189
  /**
878
- * Success
1190
+ * Upstream confirmation payload from the Conversation Memory API
879
1191
  */
880
- 200: unknown;
1192
+ 200: {
1193
+ [key: string]: unknown;
1194
+ };
881
1195
  };
1196
+ type DeleteApiConversationMemoryResetResponse = DeleteApiConversationMemoryResetResponses[keyof DeleteApiConversationMemoryResetResponses];
882
1197
  type GetApiConversationMemoryTraitGroupsData = {
883
1198
  body?: never;
884
1199
  path?: never;
@@ -892,20 +1207,24 @@ type GetApiConversationMemoryTraitGroupsData = {
892
1207
  };
893
1208
  type GetApiConversationMemoryTraitGroupsErrors = {
894
1209
  /**
895
- * Unauthorized
1210
+ * Unauthorized — requires an authenticated session
896
1211
  */
897
1212
  401: unknown;
898
1213
  /**
899
- * Internal server error
1214
+ * Conversation Memory store not configured, or internal server error
900
1215
  */
901
- 500: unknown;
1216
+ 500: ErrorResponse;
902
1217
  };
1218
+ type GetApiConversationMemoryTraitGroupsError = GetApiConversationMemoryTraitGroupsErrors[keyof GetApiConversationMemoryTraitGroupsErrors];
903
1219
  type GetApiConversationMemoryTraitGroupsResponses = {
904
1220
  /**
905
- * Success
1221
+ * Upstream trait group data (single group or paginated list) from the Conversation Memory API
906
1222
  */
907
- 200: unknown;
1223
+ 200: {
1224
+ [key: string]: unknown;
1225
+ };
908
1226
  };
1227
+ type GetApiConversationMemoryTraitGroupsResponse = GetApiConversationMemoryTraitGroupsResponses[keyof GetApiConversationMemoryTraitGroupsResponses];
909
1228
  type PatchApiConversationMemoryTraitGroupsData = {
910
1229
  body: {
911
1230
  [key: string]: unknown;
@@ -916,20 +1235,34 @@ type PatchApiConversationMemoryTraitGroupsData = {
916
1235
  };
917
1236
  type PatchApiConversationMemoryTraitGroupsErrors = {
918
1237
  /**
919
- * Unauthorized
1238
+ * Missing required traitGroupName
1239
+ */
1240
+ 400: ErrorResponse;
1241
+ /**
1242
+ * Unauthorized — requires an authenticated session
920
1243
  */
921
1244
  401: unknown;
922
1245
  /**
923
- * Internal server error
1246
+ * Conversation Memory store not configured, or internal server error
924
1247
  */
925
- 500: unknown;
1248
+ 500: ErrorResponse;
926
1249
  };
1250
+ type PatchApiConversationMemoryTraitGroupsError = PatchApiConversationMemoryTraitGroupsErrors[keyof PatchApiConversationMemoryTraitGroupsErrors];
927
1251
  type PatchApiConversationMemoryTraitGroupsResponses = {
928
1252
  /**
929
- * Success
1253
+ * Upstream trait group data (single group or paginated list) from the Conversation Memory API
930
1254
  */
931
- 200: unknown;
1255
+ 200: {
1256
+ [key: string]: unknown;
1257
+ };
1258
+ /**
1259
+ * Upstream confirmation payload from the Conversation Memory API
1260
+ */
1261
+ 202: {
1262
+ [key: string]: unknown;
1263
+ };
932
1264
  };
1265
+ type PatchApiConversationMemoryTraitGroupsResponse = PatchApiConversationMemoryTraitGroupsResponses[keyof PatchApiConversationMemoryTraitGroupsResponses];
933
1266
  type PostApiConversationMemoryTraitGroupsData = {
934
1267
  body: {
935
1268
  [key: string]: unknown;
@@ -940,20 +1273,34 @@ type PostApiConversationMemoryTraitGroupsData = {
940
1273
  };
941
1274
  type PostApiConversationMemoryTraitGroupsErrors = {
942
1275
  /**
943
- * Unauthorized
1276
+ * Missing required displayName
1277
+ */
1278
+ 400: ErrorResponse;
1279
+ /**
1280
+ * Unauthorized — requires an authenticated session
944
1281
  */
945
1282
  401: unknown;
946
1283
  /**
947
- * Internal server error
1284
+ * Conversation Memory store not configured, or internal server error
948
1285
  */
949
- 500: unknown;
1286
+ 500: ErrorResponse;
950
1287
  };
1288
+ type PostApiConversationMemoryTraitGroupsError = PostApiConversationMemoryTraitGroupsErrors[keyof PostApiConversationMemoryTraitGroupsErrors];
951
1289
  type PostApiConversationMemoryTraitGroupsResponses = {
952
1290
  /**
953
- * Success
1291
+ * Upstream trait group data (single group or paginated list) from the Conversation Memory API
954
1292
  */
955
- 200: unknown;
1293
+ 200: {
1294
+ [key: string]: unknown;
1295
+ };
1296
+ /**
1297
+ * Upstream confirmation payload from the Conversation Memory API
1298
+ */
1299
+ 202: {
1300
+ [key: string]: unknown;
1301
+ };
956
1302
  };
1303
+ type PostApiConversationMemoryTraitGroupsResponse = PostApiConversationMemoryTraitGroupsResponses[keyof PostApiConversationMemoryTraitGroupsResponses];
957
1304
  type GetApiConversationMemoryTraitsData = {
958
1305
  body?: never;
959
1306
  path?: never;
@@ -968,20 +1315,28 @@ type GetApiConversationMemoryTraitsData = {
968
1315
  };
969
1316
  type GetApiConversationMemoryTraitsErrors = {
970
1317
  /**
971
- * Unauthorized
1318
+ * Missing required profileId
972
1319
  */
973
- 401: unknown;
1320
+ 400: ErrorResponse;
974
1321
  /**
975
- * Internal server error
1322
+ * Unauthorized requires an authenticated session
976
1323
  */
977
- 500: unknown;
1324
+ 401: unknown;
1325
+ /**
1326
+ * Conversation Memory store not configured, or internal server error
1327
+ */
1328
+ 500: ErrorResponse;
978
1329
  };
1330
+ type GetApiConversationMemoryTraitsError = GetApiConversationMemoryTraitsErrors[keyof GetApiConversationMemoryTraitsErrors];
979
1331
  type GetApiConversationMemoryTraitsResponses = {
980
1332
  /**
981
- * Success
1333
+ * Upstream paginated trait data from the Conversation Memory API
982
1334
  */
983
- 200: unknown;
1335
+ 200: {
1336
+ [key: string]: unknown;
1337
+ };
984
1338
  };
1339
+ type GetApiConversationMemoryTraitsResponse = GetApiConversationMemoryTraitsResponses[keyof GetApiConversationMemoryTraitsResponses];
985
1340
  type DeleteApiConversationalIntelligenceOperatorData = {
986
1341
  body?: never;
987
1342
  path?: never;
@@ -992,20 +1347,28 @@ type DeleteApiConversationalIntelligenceOperatorData = {
992
1347
  };
993
1348
  type DeleteApiConversationalIntelligenceOperatorErrors = {
994
1349
  /**
995
- * Unauthorized
1350
+ * Missing intelligenceOperatorId
1351
+ */
1352
+ 400: ErrorResponse;
1353
+ /**
1354
+ * Unauthorized — requires an authenticated session
996
1355
  */
997
1356
  401: unknown;
998
1357
  /**
999
1358
  * Internal server error
1000
1359
  */
1001
- 500: unknown;
1360
+ 500: ErrorResponse;
1002
1361
  };
1362
+ type DeleteApiConversationalIntelligenceOperatorError = DeleteApiConversationalIntelligenceOperatorErrors[keyof DeleteApiConversationalIntelligenceOperatorErrors];
1003
1363
  type DeleteApiConversationalIntelligenceOperatorResponses = {
1004
1364
  /**
1005
- * Success
1365
+ * `{ success: true }` when the upstream returned no content, otherwise the deleted operator object as-is
1006
1366
  */
1007
- 200: unknown;
1367
+ 200: {
1368
+ [key: string]: unknown;
1369
+ };
1008
1370
  };
1371
+ type DeleteApiConversationalIntelligenceOperatorResponse = DeleteApiConversationalIntelligenceOperatorResponses[keyof DeleteApiConversationalIntelligenceOperatorResponses];
1009
1372
  type GetApiConversationalIntelligenceOperatorData = {
1010
1373
  body?: never;
1011
1374
  path?: never;
@@ -1017,20 +1380,24 @@ type GetApiConversationalIntelligenceOperatorData = {
1017
1380
  };
1018
1381
  type GetApiConversationalIntelligenceOperatorErrors = {
1019
1382
  /**
1020
- * Unauthorized
1383
+ * Unauthorized — requires an authenticated session
1021
1384
  */
1022
1385
  401: unknown;
1023
1386
  /**
1024
1387
  * Internal server error
1025
1388
  */
1026
- 500: unknown;
1389
+ 500: ErrorResponse;
1027
1390
  };
1391
+ type GetApiConversationalIntelligenceOperatorError = GetApiConversationalIntelligenceOperatorErrors[keyof GetApiConversationalIntelligenceOperatorErrors];
1028
1392
  type GetApiConversationalIntelligenceOperatorResponses = {
1029
1393
  /**
1030
- * Success
1394
+ * A single Operator (when intelligenceOperatorId is provided) or an OperatorList (paginated), proxied from the upstream API
1031
1395
  */
1032
- 200: unknown;
1396
+ 200: {
1397
+ [key: string]: unknown;
1398
+ };
1033
1399
  };
1400
+ type GetApiConversationalIntelligenceOperatorResponse = GetApiConversationalIntelligenceOperatorResponses[keyof GetApiConversationalIntelligenceOperatorResponses];
1034
1401
  type PostApiConversationalIntelligenceOperatorData = {
1035
1402
  body: {
1036
1403
  [key: string]: unknown;
@@ -1043,20 +1410,22 @@ type PostApiConversationalIntelligenceOperatorData = {
1043
1410
  };
1044
1411
  type PostApiConversationalIntelligenceOperatorErrors = {
1045
1412
  /**
1046
- * Unauthorized
1413
+ * Unauthorized — requires an authenticated session
1047
1414
  */
1048
1415
  401: unknown;
1049
1416
  /**
1050
1417
  * Internal server error
1051
1418
  */
1052
- 500: unknown;
1419
+ 500: ErrorResponse;
1053
1420
  };
1421
+ type PostApiConversationalIntelligenceOperatorError = PostApiConversationalIntelligenceOperatorErrors[keyof PostApiConversationalIntelligenceOperatorErrors];
1054
1422
  type PostApiConversationalIntelligenceOperatorResponses = {
1055
1423
  /**
1056
- * Success
1424
+ * The created operator object
1057
1425
  */
1058
- 200: unknown;
1426
+ 200: Operator;
1059
1427
  };
1428
+ type PostApiConversationalIntelligenceOperatorResponse = PostApiConversationalIntelligenceOperatorResponses[keyof PostApiConversationalIntelligenceOperatorResponses];
1060
1429
  type PutApiConversationalIntelligenceOperatorData = {
1061
1430
  body: {
1062
1431
  [key: string]: unknown;
@@ -1069,20 +1438,22 @@ type PutApiConversationalIntelligenceOperatorData = {
1069
1438
  };
1070
1439
  type PutApiConversationalIntelligenceOperatorErrors = {
1071
1440
  /**
1072
- * Unauthorized
1441
+ * Unauthorized — requires an authenticated session
1073
1442
  */
1074
1443
  401: unknown;
1075
1444
  /**
1076
1445
  * Internal server error
1077
1446
  */
1078
- 500: unknown;
1447
+ 500: ErrorResponse;
1079
1448
  };
1449
+ type PutApiConversationalIntelligenceOperatorError = PutApiConversationalIntelligenceOperatorErrors[keyof PutApiConversationalIntelligenceOperatorErrors];
1080
1450
  type PutApiConversationalIntelligenceOperatorResponses = {
1081
1451
  /**
1082
- * Success
1452
+ * The updated operator object
1083
1453
  */
1084
- 200: unknown;
1454
+ 200: Operator;
1085
1455
  };
1456
+ type PutApiConversationalIntelligenceOperatorResponse = PutApiConversationalIntelligenceOperatorResponses[keyof PutApiConversationalIntelligenceOperatorResponses];
1086
1457
  type DeleteApiConversationsDeleteData = {
1087
1458
  body?: never;
1088
1459
  path?: never;
@@ -1091,20 +1462,39 @@ type DeleteApiConversationsDeleteData = {
1091
1462
  };
1092
1463
  type DeleteApiConversationsDeleteErrors = {
1093
1464
  /**
1094
- * Unauthorized
1465
+ * Missing required objectID
1466
+ */
1467
+ 400: ErrorResponse;
1468
+ /**
1469
+ * Unauthorized — requires an authenticated session
1095
1470
  */
1096
1471
  401: unknown;
1097
1472
  /**
1098
- * Internal server error
1473
+ * Failed to delete conversation
1099
1474
  */
1100
- 500: unknown;
1475
+ 500: ErrorResponse;
1101
1476
  };
1477
+ type DeleteApiConversationsDeleteError = DeleteApiConversationsDeleteErrors[keyof DeleteApiConversationsDeleteErrors];
1102
1478
  type DeleteApiConversationsDeleteResponses = {
1103
1479
  /**
1104
1480
  * Success
1105
1481
  */
1106
- 200: unknown;
1482
+ 200: {
1483
+ /**
1484
+ * Always true on successful deletion
1485
+ */
1486
+ success: boolean;
1487
+ /**
1488
+ * Confirmation message
1489
+ */
1490
+ message: string;
1491
+ /**
1492
+ * The deleted template's objectID
1493
+ */
1494
+ objectID: string;
1495
+ };
1107
1496
  };
1497
+ type DeleteApiConversationsDeleteResponse = DeleteApiConversationsDeleteResponses[keyof DeleteApiConversationsDeleteResponses];
1108
1498
  type PostApiConversationsSaveData = {
1109
1499
  body: {
1110
1500
  [key: string]: unknown;
@@ -1115,20 +1505,43 @@ type PostApiConversationsSaveData = {
1115
1505
  };
1116
1506
  type PostApiConversationsSaveErrors = {
1117
1507
  /**
1118
- * Unauthorized
1508
+ * Unauthorized — requires an authenticated session
1119
1509
  */
1120
1510
  401: unknown;
1121
1511
  /**
1122
- * Internal server error
1512
+ * Failed to save conversation
1123
1513
  */
1124
- 500: unknown;
1514
+ 500: ErrorResponse;
1125
1515
  };
1516
+ type PostApiConversationsSaveError = PostApiConversationsSaveErrors[keyof PostApiConversationsSaveErrors];
1126
1517
  type PostApiConversationsSaveResponses = {
1127
1518
  /**
1128
1519
  * Success
1129
1520
  */
1130
- 200: unknown;
1521
+ 200: {
1522
+ /**
1523
+ * Confirmation message
1524
+ */
1525
+ message: string;
1526
+ /**
1527
+ * The saved template's objectID
1528
+ */
1529
+ objectID: string;
1530
+ /**
1531
+ * Always true on successful save
1532
+ */
1533
+ success: boolean;
1534
+ /**
1535
+ * Present only when a new CINTEL configuration was created for this template
1536
+ */
1537
+ intelligenceConfigurationId: string;
1538
+ /**
1539
+ * Present only when the target worker was auto-resolved from the user's email
1540
+ */
1541
+ crTargetWorker: string;
1542
+ };
1131
1543
  };
1544
+ type PostApiConversationsSaveResponse = PostApiConversationsSaveResponses[keyof PostApiConversationsSaveResponses];
1132
1545
  type PostApiConversationsShareData = {
1133
1546
  body: {
1134
1547
  [key: string]: unknown;
@@ -1139,20 +1552,43 @@ type PostApiConversationsShareData = {
1139
1552
  };
1140
1553
  type PostApiConversationsShareErrors = {
1141
1554
  /**
1142
- * Unauthorized
1555
+ * Missing required objectID/recipientEmail, or invalid email address
1556
+ */
1557
+ 400: ErrorResponse;
1558
+ /**
1559
+ * Unauthorized — requires an authenticated session
1143
1560
  */
1144
1561
  401: unknown;
1145
1562
  /**
1146
- * Internal server error
1563
+ * Source template not found
1147
1564
  */
1148
- 500: unknown;
1565
+ 404: ErrorResponse;
1566
+ /**
1567
+ * Failed to share template
1568
+ */
1569
+ 500: ErrorResponse;
1149
1570
  };
1571
+ type PostApiConversationsShareError = PostApiConversationsShareErrors[keyof PostApiConversationsShareErrors];
1150
1572
  type PostApiConversationsShareResponses = {
1151
1573
  /**
1152
1574
  * Success
1153
1575
  */
1154
- 200: unknown;
1576
+ 200: {
1577
+ /**
1578
+ * Confirmation message
1579
+ */
1580
+ message: string;
1581
+ /**
1582
+ * The objectID of the newly created shared copy
1583
+ */
1584
+ newObjectID: string;
1585
+ /**
1586
+ * Always true on successful share
1587
+ */
1588
+ success: boolean;
1589
+ };
1155
1590
  };
1591
+ type PostApiConversationsShareResponse = PostApiConversationsShareResponses[keyof PostApiConversationsShareResponses];
1156
1592
  type GetApiCountryConfigsData = {
1157
1593
  body?: never;
1158
1594
  path?: never;
@@ -1161,20 +1597,29 @@ type GetApiCountryConfigsData = {
1161
1597
  };
1162
1598
  type GetApiCountryConfigsErrors = {
1163
1599
  /**
1164
- * Unauthorized
1600
+ * Unauthorized — requires an authenticated session
1165
1601
  */
1166
1602
  401: unknown;
1167
1603
  /**
1168
- * Internal server error
1604
+ * Error fetching country configs
1169
1605
  */
1170
- 500: unknown;
1606
+ 500: ErrorResponse;
1171
1607
  };
1608
+ type GetApiCountryConfigsError = GetApiCountryConfigsErrors[keyof GetApiCountryConfigsErrors];
1172
1609
  type GetApiCountryConfigsResponses = {
1173
1610
  /**
1174
1611
  * Success
1175
1612
  */
1176
- 200: unknown;
1613
+ 200: {
1614
+ /**
1615
+ * Array of country configurations
1616
+ */
1617
+ configs: Array<{
1618
+ [key: string]: unknown;
1619
+ }>;
1620
+ };
1177
1621
  };
1622
+ type GetApiCountryConfigsResponse = GetApiCountryConfigsResponses[keyof GetApiCountryConfigsResponses];
1178
1623
  type PostApiCreateExternalFlexConnectionData = {
1179
1624
  body: {
1180
1625
  [key: string]: unknown;
@@ -1184,17 +1629,60 @@ type PostApiCreateExternalFlexConnectionData = {
1184
1629
  url: '/api/create-external-flex-connection';
1185
1630
  };
1186
1631
  type PostApiCreateExternalFlexConnectionErrors = {
1632
+ /**
1633
+ * Bad Request
1634
+ */
1635
+ 400: {
1636
+ /**
1637
+ * Always false
1638
+ */
1639
+ success: boolean;
1640
+ /**
1641
+ * Always "Invalid JSON in request"
1642
+ */
1643
+ error: string;
1644
+ };
1645
+ /**
1646
+ * Unauthorized — requires an authenticated session
1647
+ */
1648
+ 401: unknown;
1187
1649
  /**
1188
1650
  * Internal server error
1189
1651
  */
1190
- 500: unknown;
1652
+ 500: {
1653
+ /**
1654
+ * Always false
1655
+ */
1656
+ success: boolean;
1657
+ /**
1658
+ * Error message
1659
+ */
1660
+ error: string;
1661
+ };
1662
+ /**
1663
+ * Response
1664
+ */
1665
+ 502: {
1666
+ /**
1667
+ * Always false
1668
+ */
1669
+ success: boolean;
1670
+ /**
1671
+ * Always "Invalid JSON from upstream"
1672
+ */
1673
+ error: string;
1674
+ };
1191
1675
  };
1676
+ type PostApiCreateExternalFlexConnectionError = PostApiCreateExternalFlexConnectionErrors[keyof PostApiCreateExternalFlexConnectionErrors];
1192
1677
  type PostApiCreateExternalFlexConnectionResponses = {
1193
1678
  /**
1194
- * Success
1679
+ * Proxied response from the upstream API (shape depends on upstream; non-2xx upstream statuses are also passed through as-is)
1195
1680
  */
1196
- 200: unknown;
1681
+ 200: {
1682
+ [key: string]: unknown;
1683
+ };
1197
1684
  };
1685
+ type PostApiCreateExternalFlexConnectionResponse = PostApiCreateExternalFlexConnectionResponses[keyof PostApiCreateExternalFlexConnectionResponses];
1198
1686
  type PostApiEnhancePromptData = {
1199
1687
  body: {
1200
1688
  [key: string]: unknown;
@@ -1205,20 +1693,31 @@ type PostApiEnhancePromptData = {
1205
1693
  };
1206
1694
  type PostApiEnhancePromptErrors = {
1207
1695
  /**
1208
- * Unauthorized
1696
+ * Unauthorized — requires an authenticated session
1209
1697
  */
1210
1698
  401: unknown;
1211
1699
  /**
1212
- * Internal server error
1700
+ * Failed to enhance prompt with AI
1213
1701
  */
1214
- 500: unknown;
1702
+ 500: ErrorResponse;
1215
1703
  };
1704
+ type PostApiEnhancePromptError = PostApiEnhancePromptErrors[keyof PostApiEnhancePromptErrors];
1216
1705
  type PostApiEnhancePromptResponses = {
1217
1706
  /**
1218
1707
  * Success
1219
1708
  */
1220
- 200: unknown;
1709
+ 200: {
1710
+ /**
1711
+ * The AI-enhanced context/background text
1712
+ */
1713
+ enhancedContext: string;
1714
+ /**
1715
+ * The AI-enhanced instructions text
1716
+ */
1717
+ enhancedInstructions: string;
1718
+ };
1221
1719
  };
1720
+ type PostApiEnhancePromptResponse = PostApiEnhancePromptResponses[keyof PostApiEnhancePromptResponses];
1222
1721
  type PostApiGenerateTagsData = {
1223
1722
  body: {
1224
1723
  [key: string]: unknown;
@@ -1229,7 +1728,7 @@ type PostApiGenerateTagsData = {
1229
1728
  };
1230
1729
  type PostApiGenerateTagsErrors = {
1231
1730
  /**
1232
- * Unauthorized
1731
+ * Unauthorized — requires an authenticated session
1233
1732
  */
1234
1733
  401: unknown;
1235
1734
  /**
@@ -1241,8 +1740,14 @@ type PostApiGenerateTagsResponses = {
1241
1740
  /**
1242
1741
  * Success
1243
1742
  */
1244
- 200: unknown;
1743
+ 200: {
1744
+ /**
1745
+ * Generated tags (empty array if no input fields, generation failed, or AI response was unparseable)
1746
+ */
1747
+ tags: Array<string>;
1748
+ };
1245
1749
  };
1750
+ type PostApiGenerateTagsResponse = PostApiGenerateTagsResponses[keyof PostApiGenerateTagsResponses];
1246
1751
  type PostApiIncrementViewCountData = {
1247
1752
  body: {
1248
1753
  [key: string]: unknown;
@@ -1253,20 +1758,43 @@ type PostApiIncrementViewCountData = {
1253
1758
  };
1254
1759
  type PostApiIncrementViewCountErrors = {
1255
1760
  /**
1256
- * Unauthorized
1761
+ * Missing or invalid objectID
1762
+ */
1763
+ 400: ErrorResponse;
1764
+ /**
1765
+ * Unauthorized — requires an authenticated session
1257
1766
  */
1258
1767
  401: unknown;
1259
1768
  /**
1260
- * Internal server error
1769
+ * Record not found
1261
1770
  */
1262
- 500: unknown;
1771
+ 404: ErrorResponse;
1772
+ /**
1773
+ * Failed to increment view count
1774
+ */
1775
+ 500: ErrorResponse;
1263
1776
  };
1777
+ type PostApiIncrementViewCountError = PostApiIncrementViewCountErrors[keyof PostApiIncrementViewCountErrors];
1264
1778
  type PostApiIncrementViewCountResponses = {
1265
1779
  /**
1266
1780
  * Success
1267
1781
  */
1268
- 200: unknown;
1782
+ 200: {
1783
+ /**
1784
+ * The template's objectID
1785
+ */
1786
+ objectID: string;
1787
+ /**
1788
+ * Always true on successful increment
1789
+ */
1790
+ success: boolean;
1791
+ /**
1792
+ * The new view count after incrementing
1793
+ */
1794
+ viewCount: number;
1795
+ };
1269
1796
  };
1797
+ type PostApiIncrementViewCountResponse = PostApiIncrementViewCountResponses[keyof PostApiIncrementViewCountResponses];
1270
1798
  type GetApiIntelligenceConfigurationData = {
1271
1799
  body?: never;
1272
1800
  path?: never;
@@ -1278,20 +1806,24 @@ type GetApiIntelligenceConfigurationData = {
1278
1806
  };
1279
1807
  type GetApiIntelligenceConfigurationErrors = {
1280
1808
  /**
1281
- * Unauthorized
1809
+ * Unauthorized — requires an authenticated session
1282
1810
  */
1283
1811
  401: unknown;
1284
1812
  /**
1285
1813
  * Internal server error
1286
1814
  */
1287
- 500: unknown;
1815
+ 500: ErrorResponse;
1288
1816
  };
1817
+ type GetApiIntelligenceConfigurationError = GetApiIntelligenceConfigurationErrors[keyof GetApiIntelligenceConfigurationErrors];
1289
1818
  type GetApiIntelligenceConfigurationResponses = {
1290
1819
  /**
1291
- * Success
1820
+ * A single IntelligenceConfiguration (when intelligenceConfigurationId is provided) or a paginated list
1292
1821
  */
1293
- 200: unknown;
1822
+ 200: {
1823
+ [key: string]: unknown;
1824
+ };
1294
1825
  };
1826
+ type GetApiIntelligenceConfigurationResponse = GetApiIntelligenceConfigurationResponses[keyof GetApiIntelligenceConfigurationResponses];
1295
1827
  type PostApiIntelligenceConfigurationData = {
1296
1828
  body: {
1297
1829
  [key: string]: unknown;
@@ -1302,20 +1834,22 @@ type PostApiIntelligenceConfigurationData = {
1302
1834
  };
1303
1835
  type PostApiIntelligenceConfigurationErrors = {
1304
1836
  /**
1305
- * Unauthorized
1837
+ * Unauthorized — requires an authenticated session
1306
1838
  */
1307
1839
  401: unknown;
1308
1840
  /**
1309
1841
  * Internal server error
1310
1842
  */
1311
- 500: unknown;
1843
+ 500: ErrorResponse;
1312
1844
  };
1845
+ type PostApiIntelligenceConfigurationError = PostApiIntelligenceConfigurationErrors[keyof PostApiIntelligenceConfigurationErrors];
1313
1846
  type PostApiIntelligenceConfigurationResponses = {
1314
1847
  /**
1315
- * Success
1848
+ * The created configuration
1316
1849
  */
1317
- 200: unknown;
1850
+ 200: IntelligenceConfiguration;
1318
1851
  };
1852
+ type PostApiIntelligenceConfigurationResponse = PostApiIntelligenceConfigurationResponses[keyof PostApiIntelligenceConfigurationResponses];
1319
1853
  type PutApiIntelligenceConfigurationData = {
1320
1854
  body: {
1321
1855
  [key: string]: unknown;
@@ -1326,38 +1860,22 @@ type PutApiIntelligenceConfigurationData = {
1326
1860
  };
1327
1861
  type PutApiIntelligenceConfigurationErrors = {
1328
1862
  /**
1329
- * Unauthorized
1863
+ * Unauthorized — requires an authenticated session
1330
1864
  */
1331
1865
  401: unknown;
1332
1866
  /**
1333
1867
  * Internal server error
1334
1868
  */
1335
- 500: unknown;
1869
+ 500: ErrorResponse;
1336
1870
  };
1871
+ type PutApiIntelligenceConfigurationError = PutApiIntelligenceConfigurationErrors[keyof PutApiIntelligenceConfigurationErrors];
1337
1872
  type PutApiIntelligenceConfigurationResponses = {
1338
1873
  /**
1339
- * Success
1340
- */
1341
- 200: unknown;
1342
- };
1343
- type GetApiInternalNavData = {
1344
- body?: never;
1345
- path?: never;
1346
- query?: never;
1347
- url: '/api/internal-nav';
1348
- };
1349
- type GetApiInternalNavErrors = {
1350
- /**
1351
- * Internal server error
1352
- */
1353
- 500: unknown;
1354
- };
1355
- type GetApiInternalNavResponses = {
1356
- /**
1357
- * Success
1874
+ * The updated configuration
1358
1875
  */
1359
- 200: unknown;
1876
+ 200: IntelligenceConfiguration;
1360
1877
  };
1878
+ type PutApiIntelligenceConfigurationResponse = PutApiIntelligenceConfigurationResponses[keyof PutApiIntelligenceConfigurationResponses];
1361
1879
  type GetApiIsvLogoData = {
1362
1880
  body?: never;
1363
1881
  path?: never;
@@ -1368,16 +1886,43 @@ type GetApiIsvLogoData = {
1368
1886
  };
1369
1887
  type GetApiIsvLogoErrors = {
1370
1888
  /**
1371
- * Internal server error
1889
+ * Missing or empty "company" query parameter
1372
1890
  */
1373
- 500: unknown;
1891
+ 400: ErrorResponse;
1892
+ /**
1893
+ * Logo not found for company
1894
+ */
1895
+ 404: ErrorResponse;
1896
+ /**
1897
+ * Failed to lookup ISV logo
1898
+ */
1899
+ 500: ErrorResponse;
1900
+ /**
1901
+ * Logo URL missing in mapping record
1902
+ */
1903
+ 502: ErrorResponse;
1374
1904
  };
1905
+ type GetApiIsvLogoError = GetApiIsvLogoErrors[keyof GetApiIsvLogoErrors];
1375
1906
  type GetApiIsvLogoResponses = {
1376
1907
  /**
1377
1908
  * Success
1378
1909
  */
1379
- 200: unknown;
1910
+ 200: {
1911
+ /**
1912
+ * Matched company name
1913
+ */
1914
+ company: string;
1915
+ /**
1916
+ * URL of the company's logo
1917
+ */
1918
+ logoUrl: string;
1919
+ /**
1920
+ * Algolia objectID of the matched mapping record
1921
+ */
1922
+ objectID: string;
1923
+ };
1380
1924
  };
1925
+ type GetApiIsvLogoResponse = GetApiIsvLogoResponses[keyof GetApiIsvLogoResponses];
1381
1926
  type DeleteApiLeadGenData = {
1382
1927
  body?: never;
1383
1928
  path?: never;
@@ -1386,20 +1931,28 @@ type DeleteApiLeadGenData = {
1386
1931
  };
1387
1932
  type DeleteApiLeadGenErrors = {
1388
1933
  /**
1389
- * Unauthorized
1934
+ * Missing required objectID or agentNumber
1935
+ */
1936
+ 400: ErrorResponse;
1937
+ /**
1938
+ * Unauthorized — requires an authenticated session
1390
1939
  */
1391
1940
  401: unknown;
1392
1941
  /**
1393
- * Internal server error
1942
+ * Failed to delete lead gen, or internal server error
1394
1943
  */
1395
- 500: unknown;
1944
+ 500: ErrorResponse;
1396
1945
  };
1946
+ type DeleteApiLeadGenError = DeleteApiLeadGenErrors[keyof DeleteApiLeadGenErrors];
1397
1947
  type DeleteApiLeadGenResponses = {
1398
1948
  /**
1399
- * Success
1949
+ * Proxied response from the upstream lead-gen API (shape depends on upstream)
1400
1950
  */
1401
- 200: unknown;
1951
+ 200: {
1952
+ [key: string]: unknown;
1953
+ };
1402
1954
  };
1955
+ type DeleteApiLeadGenResponse = DeleteApiLeadGenResponses[keyof DeleteApiLeadGenResponses];
1403
1956
  type GetApiLeadGenData = {
1404
1957
  body?: never;
1405
1958
  path?: never;
@@ -1411,20 +1964,31 @@ type GetApiLeadGenData = {
1411
1964
  };
1412
1965
  type GetApiLeadGenErrors = {
1413
1966
  /**
1414
- * Unauthorized
1967
+ * Missing required objectID or agentNumber
1968
+ */
1969
+ 400: ErrorResponse;
1970
+ /**
1971
+ * Unauthorized — requires an authenticated session
1415
1972
  */
1416
1973
  401: unknown;
1417
1974
  /**
1418
1975
  * Internal server error
1419
1976
  */
1420
- 500: unknown;
1977
+ 500: ErrorResponse;
1421
1978
  };
1979
+ type GetApiLeadGenError = GetApiLeadGenErrors[keyof GetApiLeadGenErrors];
1422
1980
  type GetApiLeadGenResponses = {
1423
1981
  /**
1424
1982
  * Success
1425
1983
  */
1426
- 200: unknown;
1984
+ 200: {
1985
+ /**
1986
+ * Locked templates matching the lookup key
1987
+ */
1988
+ templates: Array<LockedTemplateData>;
1989
+ };
1427
1990
  };
1991
+ type GetApiLeadGenResponse = GetApiLeadGenResponses[keyof GetApiLeadGenResponses];
1428
1992
  type PatchApiLeadGenData = {
1429
1993
  body: {
1430
1994
  [key: string]: unknown;
@@ -1435,20 +1999,28 @@ type PatchApiLeadGenData = {
1435
1999
  };
1436
2000
  type PatchApiLeadGenErrors = {
1437
2001
  /**
1438
- * Unauthorized
2002
+ * Missing required objectID or agentNumber
2003
+ */
2004
+ 400: ErrorResponse;
2005
+ /**
2006
+ * Unauthorized — requires an authenticated session
1439
2007
  */
1440
2008
  401: unknown;
1441
2009
  /**
1442
- * Internal server error
2010
+ * Failed to update lead gen, or internal server error
1443
2011
  */
1444
- 500: unknown;
2012
+ 500: ErrorResponse;
1445
2013
  };
2014
+ type PatchApiLeadGenError = PatchApiLeadGenErrors[keyof PatchApiLeadGenErrors];
1446
2015
  type PatchApiLeadGenResponses = {
1447
2016
  /**
1448
- * Success
2017
+ * Proxied response from the upstream lead-gen API (shape depends on upstream)
1449
2018
  */
1450
- 200: unknown;
2019
+ 200: {
2020
+ [key: string]: unknown;
2021
+ };
1451
2022
  };
2023
+ type PatchApiLeadGenResponse = PatchApiLeadGenResponses[keyof PatchApiLeadGenResponses];
1452
2024
  type PostApiLeadGenData = {
1453
2025
  body: {
1454
2026
  [key: string]: unknown;
@@ -1459,20 +2031,28 @@ type PostApiLeadGenData = {
1459
2031
  };
1460
2032
  type PostApiLeadGenErrors = {
1461
2033
  /**
1462
- * Unauthorized
2034
+ * Missing required objectID or agentNumber
2035
+ */
2036
+ 400: ErrorResponse;
2037
+ /**
2038
+ * Unauthorized — requires an authenticated session
1463
2039
  */
1464
2040
  401: unknown;
1465
2041
  /**
1466
- * Internal server error
2042
+ * Failed to create lead gen, or internal server error
1467
2043
  */
1468
- 500: unknown;
2044
+ 500: ErrorResponse;
1469
2045
  };
2046
+ type PostApiLeadGenError = PostApiLeadGenErrors[keyof PostApiLeadGenErrors];
1470
2047
  type PostApiLeadGenResponses = {
1471
2048
  /**
1472
- * Success
2049
+ * Proxied response from the upstream lead-gen API (shape depends on upstream)
1473
2050
  */
1474
- 200: unknown;
2051
+ 200: {
2052
+ [key: string]: unknown;
2053
+ };
1475
2054
  };
2055
+ type PostApiLeadGenResponse = PostApiLeadGenResponses[keyof PostApiLeadGenResponses];
1476
2056
  type DeleteApiLinkShortenerData = {
1477
2057
  body?: never;
1478
2058
  path?: never;
@@ -1483,20 +2063,28 @@ type DeleteApiLinkShortenerData = {
1483
2063
  };
1484
2064
  type DeleteApiLinkShortenerErrors = {
1485
2065
  /**
1486
- * Unauthorized
2066
+ * Missing required code query param
2067
+ */
2068
+ 400: ErrorResponse;
2069
+ /**
2070
+ * Unauthorized — requires an authenticated session
1487
2071
  */
1488
2072
  401: unknown;
1489
2073
  /**
1490
- * Internal server error
2074
+ * Failed to delete link, or internal server error
1491
2075
  */
1492
- 500: unknown;
2076
+ 500: ErrorResponse;
1493
2077
  };
2078
+ type DeleteApiLinkShortenerError = DeleteApiLinkShortenerErrors[keyof DeleteApiLinkShortenerErrors];
1494
2079
  type DeleteApiLinkShortenerResponses = {
1495
2080
  /**
1496
- * Success
2081
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
1497
2082
  */
1498
- 200: unknown;
2083
+ 200: {
2084
+ [key: string]: unknown;
2085
+ };
1499
2086
  };
2087
+ type DeleteApiLinkShortenerResponse = DeleteApiLinkShortenerResponses[keyof DeleteApiLinkShortenerResponses];
1500
2088
  type GetApiLinkShortenerData = {
1501
2089
  body?: never;
1502
2090
  path?: never;
@@ -1507,20 +2095,24 @@ type GetApiLinkShortenerData = {
1507
2095
  };
1508
2096
  type GetApiLinkShortenerErrors = {
1509
2097
  /**
1510
- * Unauthorized
2098
+ * Unauthorized — requires an authenticated session
1511
2099
  */
1512
2100
  401: unknown;
1513
2101
  /**
1514
- * Internal server error
2102
+ * Failed to fetch links, or internal server error
1515
2103
  */
1516
- 500: unknown;
2104
+ 500: ErrorResponse;
1517
2105
  };
2106
+ type GetApiLinkShortenerError = GetApiLinkShortenerErrors[keyof GetApiLinkShortenerErrors];
1518
2107
  type GetApiLinkShortenerResponses = {
1519
2108
  /**
1520
- * Success
2109
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
1521
2110
  */
1522
- 200: unknown;
2111
+ 200: {
2112
+ [key: string]: unknown;
2113
+ };
1523
2114
  };
2115
+ type GetApiLinkShortenerResponse = GetApiLinkShortenerResponses[keyof GetApiLinkShortenerResponses];
1524
2116
  type PatchApiLinkShortenerData = {
1525
2117
  body: {
1526
2118
  [key: string]: unknown;
@@ -1533,20 +2125,24 @@ type PatchApiLinkShortenerData = {
1533
2125
  };
1534
2126
  type PatchApiLinkShortenerErrors = {
1535
2127
  /**
1536
- * Unauthorized
2128
+ * Unauthorized — requires an authenticated session
1537
2129
  */
1538
2130
  401: unknown;
1539
2131
  /**
1540
- * Internal server error
2132
+ * Failed to persist short link, or internal server error
1541
2133
  */
1542
- 500: unknown;
2134
+ 500: ErrorResponse;
1543
2135
  };
2136
+ type PatchApiLinkShortenerError = PatchApiLinkShortenerErrors[keyof PatchApiLinkShortenerErrors];
1544
2137
  type PatchApiLinkShortenerResponses = {
1545
2138
  /**
1546
- * Success
2139
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
1547
2140
  */
1548
- 200: unknown;
2141
+ 200: {
2142
+ [key: string]: unknown;
2143
+ };
1549
2144
  };
2145
+ type PatchApiLinkShortenerResponse = PatchApiLinkShortenerResponses[keyof PatchApiLinkShortenerResponses];
1550
2146
  type PostApiLinkShortenerData = {
1551
2147
  body: {
1552
2148
  [key: string]: unknown;
@@ -1559,20 +2155,24 @@ type PostApiLinkShortenerData = {
1559
2155
  };
1560
2156
  type PostApiLinkShortenerErrors = {
1561
2157
  /**
1562
- * Unauthorized
2158
+ * Unauthorized — requires an authenticated session
1563
2159
  */
1564
2160
  401: unknown;
1565
2161
  /**
1566
- * Internal server error
2162
+ * Failed to shorten URLs, or internal server error
1567
2163
  */
1568
- 500: unknown;
2164
+ 500: ErrorResponse;
1569
2165
  };
2166
+ type PostApiLinkShortenerError = PostApiLinkShortenerErrors[keyof PostApiLinkShortenerErrors];
1570
2167
  type PostApiLinkShortenerResponses = {
1571
2168
  /**
1572
- * Success
2169
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
1573
2170
  */
1574
- 200: unknown;
2171
+ 200: {
2172
+ [key: string]: unknown;
2173
+ };
1575
2174
  };
2175
+ type PostApiLinkShortenerResponse = PostApiLinkShortenerResponses[keyof PostApiLinkShortenerResponses];
1576
2176
  type DeleteApiLiveNumbersData = {
1577
2177
  body?: never;
1578
2178
  path?: never;
@@ -1581,20 +2181,45 @@ type DeleteApiLiveNumbersData = {
1581
2181
  };
1582
2182
  type DeleteApiLiveNumbersErrors = {
1583
2183
  /**
1584
- * Unauthorized
2184
+ * Missing required phoneNumber
2185
+ */
2186
+ 400: ErrorResponse;
2187
+ /**
2188
+ * Unauthorized — requires an authenticated session
1585
2189
  */
1586
2190
  401: unknown;
1587
2191
  /**
1588
- * Internal server error
2192
+ * Upstream server error, or internal server error
1589
2193
  */
1590
- 500: unknown;
2194
+ 500: ErrorResponse;
1591
2195
  };
2196
+ type DeleteApiLiveNumbersError = DeleteApiLiveNumbersErrors[keyof DeleteApiLiveNumbersErrors];
1592
2197
  type DeleteApiLiveNumbersResponses = {
1593
2198
  /**
1594
2199
  * Success
1595
2200
  */
1596
- 200: unknown;
2201
+ 200: {
2202
+ /**
2203
+ * Always true on success; additional upstream confirmation fields are merged in (shape depends on upstream)
2204
+ */
2205
+ success: boolean;
2206
+ /**
2207
+ * Live phone numbers for the requested country
2208
+ */
2209
+ liveNumbers: Array<{
2210
+ [key: string]: unknown;
2211
+ }>;
2212
+ /**
2213
+ * Count of liveNumbers
2214
+ */
2215
+ totalCount: number;
2216
+ /**
2217
+ * ISO timestamp the response was generated
2218
+ */
2219
+ timestamp: string;
2220
+ };
1597
2221
  };
2222
+ type DeleteApiLiveNumbersResponse = DeleteApiLiveNumbersResponses[keyof DeleteApiLiveNumbersResponses];
1598
2223
  type GetApiLiveNumbersData = {
1599
2224
  body?: never;
1600
2225
  path?: never;
@@ -1605,20 +2230,41 @@ type GetApiLiveNumbersData = {
1605
2230
  };
1606
2231
  type GetApiLiveNumbersErrors = {
1607
2232
  /**
1608
- * Unauthorized
2233
+ * Unauthorized — requires an authenticated session
1609
2234
  */
1610
2235
  401: unknown;
1611
2236
  /**
1612
- * Internal server error
2237
+ * Upstream server error, or internal server error
1613
2238
  */
1614
- 500: unknown;
2239
+ 500: ErrorResponse;
1615
2240
  };
2241
+ type GetApiLiveNumbersError = GetApiLiveNumbersErrors[keyof GetApiLiveNumbersErrors];
1616
2242
  type GetApiLiveNumbersResponses = {
1617
2243
  /**
1618
2244
  * Success
1619
2245
  */
1620
- 200: unknown;
2246
+ 200: {
2247
+ /**
2248
+ * Always true on success
2249
+ */
2250
+ success: boolean;
2251
+ /**
2252
+ * Live phone numbers for the requested country
2253
+ */
2254
+ liveNumbers: Array<{
2255
+ [key: string]: unknown;
2256
+ }>;
2257
+ /**
2258
+ * Count of liveNumbers
2259
+ */
2260
+ totalCount: number;
2261
+ /**
2262
+ * ISO timestamp the response was generated
2263
+ */
2264
+ timestamp: string;
2265
+ };
1621
2266
  };
2267
+ type GetApiLiveNumbersResponse = GetApiLiveNumbersResponses[keyof GetApiLiveNumbersResponses];
1622
2268
  type PostApiOutboundCallData = {
1623
2269
  body: {
1624
2270
  [key: string]: unknown;
@@ -1629,20 +2275,28 @@ type PostApiOutboundCallData = {
1629
2275
  };
1630
2276
  type PostApiOutboundCallErrors = {
1631
2277
  /**
1632
- * Unauthorized
2278
+ * Missing required to or from fields
2279
+ */
2280
+ 400: ErrorResponse;
2281
+ /**
2282
+ * Unauthorized — requires an authenticated session
1633
2283
  */
1634
2284
  401: unknown;
1635
2285
  /**
1636
- * Internal server error
2286
+ * Failed to initiate call, or internal server error
1637
2287
  */
1638
- 500: unknown;
2288
+ 500: ErrorResponse;
1639
2289
  };
2290
+ type PostApiOutboundCallError = PostApiOutboundCallErrors[keyof PostApiOutboundCallErrors];
1640
2291
  type PostApiOutboundCallResponses = {
1641
2292
  /**
1642
- * Success
2293
+ * Proxied response from the upstream agent outbound-call API (shape depends on upstream)
1643
2294
  */
1644
- 200: unknown;
2295
+ 200: {
2296
+ [key: string]: unknown;
2297
+ };
1645
2298
  };
2299
+ type PostApiOutboundCallResponse = PostApiOutboundCallResponses[keyof PostApiOutboundCallResponses];
1646
2300
  type PostApiOutboundCommunicationTextData = {
1647
2301
  body: {
1648
2302
  [key: string]: unknown;
@@ -1653,20 +2307,28 @@ type PostApiOutboundCommunicationTextData = {
1653
2307
  };
1654
2308
  type PostApiOutboundCommunicationTextErrors = {
1655
2309
  /**
1656
- * Unauthorized
2310
+ * Missing required to field
2311
+ */
2312
+ 400: ErrorResponse;
2313
+ /**
2314
+ * Unauthorized — requires an authenticated session
1657
2315
  */
1658
2316
  401: unknown;
1659
2317
  /**
1660
- * Internal server error
2318
+ * Failed to send message, or internal server error
1661
2319
  */
1662
- 500: unknown;
2320
+ 500: ErrorResponse;
1663
2321
  };
2322
+ type PostApiOutboundCommunicationTextError = PostApiOutboundCommunicationTextErrors[keyof PostApiOutboundCommunicationTextErrors];
1664
2323
  type PostApiOutboundCommunicationTextResponses = {
1665
2324
  /**
1666
- * Success
2325
+ * Proxied response from the upstream agent outbound-communication-text API (shape depends on upstream)
1667
2326
  */
1668
- 200: unknown;
2327
+ 200: {
2328
+ [key: string]: unknown;
2329
+ };
1669
2330
  };
2331
+ type PostApiOutboundCommunicationTextResponse = PostApiOutboundCommunicationTextResponses[keyof PostApiOutboundCommunicationTextResponses];
1670
2332
  type GetApiPhoneLogsByPhoneNumberData = {
1671
2333
  body?: never;
1672
2334
  path: {
@@ -1678,17 +2340,29 @@ type GetApiPhoneLogsByPhoneNumberData = {
1678
2340
  url: '/api/phone-logs/{phoneNumber}';
1679
2341
  };
1680
2342
  type GetApiPhoneLogsByPhoneNumberErrors = {
2343
+ /**
2344
+ * No call logs found for this phone number
2345
+ */
2346
+ 404: ErrorResponse;
2347
+ /**
2348
+ * Too many requests for this phone number
2349
+ */
2350
+ 429: ErrorResponse;
1681
2351
  /**
1682
2352
  * Internal server error
1683
2353
  */
1684
- 500: unknown;
2354
+ 500: ErrorResponse;
1685
2355
  };
2356
+ type GetApiPhoneLogsByPhoneNumberError = GetApiPhoneLogsByPhoneNumberErrors[keyof GetApiPhoneLogsByPhoneNumberErrors];
1686
2357
  type GetApiPhoneLogsByPhoneNumberResponses = {
1687
2358
  /**
1688
- * Success
2359
+ * Phone call logs for the requested number, proxied from the upstream agent API
1689
2360
  */
1690
- 200: unknown;
2361
+ 200: {
2362
+ [key: string]: unknown;
2363
+ };
1691
2364
  };
2365
+ type GetApiPhoneLogsByPhoneNumberResponse = GetApiPhoneLogsByPhoneNumberResponses[keyof GetApiPhoneLogsByPhoneNumberResponses];
1692
2366
  type GetApiRecentlyActiveNumbersData = {
1693
2367
  body?: never;
1694
2368
  path?: never;
@@ -1699,20 +2373,41 @@ type GetApiRecentlyActiveNumbersData = {
1699
2373
  };
1700
2374
  type GetApiRecentlyActiveNumbersErrors = {
1701
2375
  /**
1702
- * Unauthorized
2376
+ * Unauthorized — requires an authenticated session
1703
2377
  */
1704
2378
  401: unknown;
1705
2379
  /**
1706
2380
  * Internal server error
1707
2381
  */
1708
- 500: unknown;
2382
+ 500: ErrorResponse;
1709
2383
  };
2384
+ type GetApiRecentlyActiveNumbersError = GetApiRecentlyActiveNumbersErrors[keyof GetApiRecentlyActiveNumbersErrors];
1710
2385
  type GetApiRecentlyActiveNumbersResponses = {
1711
2386
  /**
1712
2387
  * Success
1713
2388
  */
1714
- 200: unknown;
2389
+ 200: {
2390
+ /**
2391
+ * Always true on success
2392
+ */
2393
+ success: boolean;
2394
+ /**
2395
+ * Recently active phone numbers
2396
+ */
2397
+ activeNumbers: Array<{
2398
+ [key: string]: unknown;
2399
+ }>;
2400
+ /**
2401
+ * Count of activeNumbers
2402
+ */
2403
+ totalCount: number;
2404
+ /**
2405
+ * ISO timestamp the response was generated
2406
+ */
2407
+ timestamp: string;
2408
+ };
1715
2409
  };
2410
+ type GetApiRecentlyActiveNumbersResponse = GetApiRecentlyActiveNumbersResponses[keyof GetApiRecentlyActiveNumbersResponses];
1716
2411
  type PostApiSegmentIdentifyData = {
1717
2412
  body: {
1718
2413
  [key: string]: unknown;
@@ -1723,20 +2418,31 @@ type PostApiSegmentIdentifyData = {
1723
2418
  };
1724
2419
  type PostApiSegmentIdentifyErrors = {
1725
2420
  /**
1726
- * Unauthorized
2421
+ * Missing required identifier, missing Segment write key, or invalid JSON body
2422
+ */
2423
+ 400: ErrorResponse;
2424
+ /**
2425
+ * Unauthorized — requires an authenticated session
1727
2426
  */
1728
2427
  401: unknown;
1729
2428
  /**
1730
- * Internal server error
2429
+ * Segment API error, or internal server error
1731
2430
  */
1732
- 500: unknown;
2431
+ 500: ErrorResponse;
1733
2432
  };
2433
+ type PostApiSegmentIdentifyError = PostApiSegmentIdentifyErrors[keyof PostApiSegmentIdentifyErrors];
1734
2434
  type PostApiSegmentIdentifyResponses = {
1735
2435
  /**
1736
2436
  * Success
1737
2437
  */
1738
- 200: unknown;
2438
+ 200: {
2439
+ /**
2440
+ * Always "Event tracked successfully"
2441
+ */
2442
+ message: string;
2443
+ };
1739
2444
  };
2445
+ type PostApiSegmentIdentifyResponse = PostApiSegmentIdentifyResponses[keyof PostApiSegmentIdentifyResponses];
1740
2446
  type PostApiSegmentProfileData = {
1741
2447
  body: {
1742
2448
  [key: string]: unknown;
@@ -1747,20 +2453,59 @@ type PostApiSegmentProfileData = {
1747
2453
  };
1748
2454
  type PostApiSegmentProfileErrors = {
1749
2455
  /**
1750
- * Unauthorized
2456
+ * Missing required identifier/token/space, or invalid JSON body
2457
+ */
2458
+ 400: ErrorResponse;
2459
+ /**
2460
+ * Unauthorized — requires an authenticated session
1751
2461
  */
1752
2462
  401: unknown;
1753
2463
  /**
1754
- * Internal server error
2464
+ * Profile not found
1755
2465
  */
1756
- 500: unknown;
2466
+ 404: ErrorResponse;
2467
+ /**
2468
+ * Segment profile error, or internal server error
2469
+ */
2470
+ 500: ErrorResponse;
1757
2471
  };
2472
+ type PostApiSegmentProfileError = PostApiSegmentProfileErrors[keyof PostApiSegmentProfileErrors];
1758
2473
  type PostApiSegmentProfileResponses = {
1759
2474
  /**
1760
2475
  * Success
1761
2476
  */
1762
- 200: unknown;
2477
+ 200: {
2478
+ /**
2479
+ * Resolved user_id, when one was found via external IDs
2480
+ */
2481
+ canonicalUserId: string;
2482
+ /**
2483
+ * The customer's Segment traits
2484
+ */
2485
+ data: {
2486
+ [key: string]: unknown;
2487
+ };
2488
+ /**
2489
+ * The identifier value originally supplied
2490
+ */
2491
+ identifier: string;
2492
+ /**
2493
+ * External identifiers associated with the profile
2494
+ */
2495
+ identifiers: Array<{
2496
+ [key: string]: unknown;
2497
+ }>;
2498
+ /**
2499
+ * Which identifier type ("user_id" or "phone") successfully matched
2500
+ */
2501
+ matchedKey: string;
2502
+ /**
2503
+ * Always "Profile retrieved successfully"
2504
+ */
2505
+ message: string;
2506
+ };
1763
2507
  };
2508
+ type PostApiSegmentProfileResponse = PostApiSegmentProfileResponses[keyof PostApiSegmentProfileResponses];
1764
2509
  type GetApiSessionData = {
1765
2510
  body?: never;
1766
2511
  path?: never;
@@ -1771,14 +2516,31 @@ type GetApiSessionErrors = {
1771
2516
  /**
1772
2517
  * Internal server error
1773
2518
  */
1774
- 500: unknown;
2519
+ 500: ErrorResponse;
1775
2520
  };
2521
+ type GetApiSessionError = GetApiSessionErrors[keyof GetApiSessionErrors];
1776
2522
  type GetApiSessionResponses = {
1777
2523
  /**
1778
2524
  * Success
1779
2525
  */
1780
- 200: unknown;
2526
+ 200: {
2527
+ /**
2528
+ * Whether the request has an active session
2529
+ */
2530
+ authenticated: boolean;
2531
+ /**
2532
+ * The session user, or null if not authenticated
2533
+ */
2534
+ user: {
2535
+ [key: string]: unknown;
2536
+ };
2537
+ /**
2538
+ * ISO timestamp the response was generated
2539
+ */
2540
+ timestamp: string;
2541
+ };
1781
2542
  };
2543
+ type GetApiSessionResponse = GetApiSessionResponses[keyof GetApiSessionResponses];
1782
2544
  type GetApiSupportedRegionsData = {
1783
2545
  body?: never;
1784
2546
  path?: never;
@@ -1787,20 +2549,27 @@ type GetApiSupportedRegionsData = {
1787
2549
  };
1788
2550
  type GetApiSupportedRegionsErrors = {
1789
2551
  /**
1790
- * Unauthorized
2552
+ * Unauthorized — requires an authenticated session
1791
2553
  */
1792
2554
  401: unknown;
1793
2555
  /**
1794
2556
  * Internal server error
1795
2557
  */
1796
- 500: unknown;
2558
+ 500: ErrorResponse;
1797
2559
  };
2560
+ type GetApiSupportedRegionsError = GetApiSupportedRegionsErrors[keyof GetApiSupportedRegionsErrors];
1798
2561
  type GetApiSupportedRegionsResponses = {
1799
2562
  /**
1800
2563
  * Success
1801
2564
  */
1802
- 200: unknown;
2565
+ 200: {
2566
+ /**
2567
+ * Regions a phone number can be purchased in
2568
+ */
2569
+ regions: Array<SupportedRegion>;
2570
+ };
1803
2571
  };
2572
+ type GetApiSupportedRegionsResponse = GetApiSupportedRegionsResponses[keyof GetApiSupportedRegionsResponses];
1804
2573
  type PostApiTagsData = {
1805
2574
  body: {
1806
2575
  [key: string]: unknown;
@@ -1811,16 +2580,33 @@ type PostApiTagsData = {
1811
2580
  };
1812
2581
  type PostApiTagsErrors = {
1813
2582
  /**
1814
- * Internal server error
2583
+ * Missing/invalid tag, or tag shorter than 2 characters
1815
2584
  */
1816
- 500: unknown;
2585
+ 400: ErrorResponse;
2586
+ /**
2587
+ * Failed to save tag
2588
+ */
2589
+ 500: ErrorResponse;
1817
2590
  };
2591
+ type PostApiTagsError = PostApiTagsErrors[keyof PostApiTagsErrors];
1818
2592
  type PostApiTagsResponses = {
1819
2593
  /**
1820
2594
  * Success
1821
2595
  */
1822
- 200: unknown;
2596
+ 200: {
2597
+ /**
2598
+ * Always true on successful save
2599
+ */
2600
+ success: boolean;
2601
+ /**
2602
+ * The saved tag record (`{ isTag, objectID, value }`)
2603
+ */
2604
+ tag: {
2605
+ [key: string]: unknown;
2606
+ };
2607
+ };
1823
2608
  };
2609
+ type PostApiTagsResponse = PostApiTagsResponses[keyof PostApiTagsResponses];
1824
2610
  type PostApiTelemetryData = {
1825
2611
  body?: never;
1826
2612
  path?: never;
@@ -1830,17 +2616,29 @@ type PostApiTelemetryData = {
1830
2616
  url: '/api/telemetry';
1831
2617
  };
1832
2618
  type PostApiTelemetryErrors = {
2619
+ /**
2620
+ * Invalid or missing ddforward parameter
2621
+ */
2622
+ 400: ErrorResponse;
1833
2623
  /**
1834
2624
  * Internal server error
1835
2625
  */
1836
2626
  500: unknown;
1837
2627
  };
2628
+ type PostApiTelemetryError = PostApiTelemetryErrors[keyof PostApiTelemetryErrors];
1838
2629
  type PostApiTelemetryResponses = {
1839
2630
  /**
1840
2631
  * Success
1841
2632
  */
1842
2633
  200: unknown;
2634
+ /**
2635
+ * Empty body; status mirrors the upstream Datadog intake response (202 on success, or on proxy fetch failure since telemetry is best-effort)
2636
+ */
2637
+ 202: {
2638
+ [key: string]: unknown;
2639
+ };
1843
2640
  };
2641
+ type PostApiTelemetryResponse = PostApiTelemetryResponses[keyof PostApiTelemetryResponses];
1844
2642
  type DeleteApiTemplateData = {
1845
2643
  body?: never;
1846
2644
  path?: never;
@@ -1851,20 +2649,24 @@ type DeleteApiTemplateData = {
1851
2649
  };
1852
2650
  type DeleteApiTemplateErrors = {
1853
2651
  /**
1854
- * Unauthorized
2652
+ * Unauthorized — requires an authenticated session
1855
2653
  */
1856
2654
  401: unknown;
1857
2655
  /**
1858
2656
  * Internal server error
1859
2657
  */
1860
- 500: unknown;
2658
+ 500: ErrorResponse;
1861
2659
  };
2660
+ type DeleteApiTemplateError = DeleteApiTemplateErrors[keyof DeleteApiTemplateErrors];
1862
2661
  type DeleteApiTemplateResponses = {
1863
2662
  /**
1864
- * Success
2663
+ * Proxied response from the upstream template API (shape depends on upstream)
1865
2664
  */
1866
- 200: unknown;
2665
+ 200: {
2666
+ [key: string]: unknown;
2667
+ };
1867
2668
  };
2669
+ type DeleteApiTemplateResponse = DeleteApiTemplateResponses[keyof DeleteApiTemplateResponses];
1868
2670
  type PostApiTemplateAutogenData = {
1869
2671
  body: {
1870
2672
  [key: string]: unknown;
@@ -1875,20 +2677,24 @@ type PostApiTemplateAutogenData = {
1875
2677
  };
1876
2678
  type PostApiTemplateAutogenErrors = {
1877
2679
  /**
1878
- * Unauthorized
2680
+ * Unauthorized — requires an authenticated session
1879
2681
  */
1880
2682
  401: unknown;
1881
2683
  /**
1882
2684
  * Internal server error
1883
2685
  */
1884
- 500: unknown;
2686
+ 500: ErrorResponse;
1885
2687
  };
2688
+ type PostApiTemplateAutogenError = PostApiTemplateAutogenErrors[keyof PostApiTemplateAutogenErrors];
1886
2689
  type PostApiTemplateAutogenResponses = {
1887
2690
  /**
1888
- * Success
2691
+ * Proxied response from the upstream template-autogen API (shape depends on upstream)
1889
2692
  */
1890
- 200: unknown;
2693
+ 200: {
2694
+ [key: string]: unknown;
2695
+ };
1891
2696
  };
2697
+ type PostApiTemplateAutogenResponse = PostApiTemplateAutogenResponses[keyof PostApiTemplateAutogenResponses];
1892
2698
  type PostApiVerifyCheckData = {
1893
2699
  body: {
1894
2700
  [key: string]: unknown;
@@ -1899,16 +2705,31 @@ type PostApiVerifyCheckData = {
1899
2705
  };
1900
2706
  type PostApiVerifyCheckErrors = {
1901
2707
  /**
1902
- * Internal server error
2708
+ * Missing required to or code
1903
2709
  */
1904
- 500: unknown;
2710
+ 400: ErrorResponse;
2711
+ /**
2712
+ * Unable to verify code
2713
+ */
2714
+ 500: ErrorResponse;
1905
2715
  };
2716
+ type PostApiVerifyCheckError = PostApiVerifyCheckErrors[keyof PostApiVerifyCheckErrors];
1906
2717
  type PostApiVerifyCheckResponses = {
1907
2718
  /**
1908
2719
  * Success
1909
2720
  */
1910
- 200: unknown;
2721
+ 200: {
2722
+ /**
2723
+ * Whether the code was approved
2724
+ */
2725
+ verified: boolean;
2726
+ /**
2727
+ * Present alongside `verified: false` when the code is invalid
2728
+ */
2729
+ error: string;
2730
+ };
1911
2731
  };
2732
+ type PostApiVerifyCheckResponse = PostApiVerifyCheckResponses[keyof PostApiVerifyCheckResponses];
1912
2733
  type PostApiVerifySendData = {
1913
2734
  body: {
1914
2735
  [key: string]: unknown;
@@ -1919,16 +2740,349 @@ type PostApiVerifySendData = {
1919
2740
  };
1920
2741
  type PostApiVerifySendErrors = {
1921
2742
  /**
1922
- * Internal server error
2743
+ * Missing required phone or email
1923
2744
  */
1924
- 500: unknown;
2745
+ 400: ErrorResponse;
2746
+ /**
2747
+ * Failed to send verification code
2748
+ */
2749
+ 500: ErrorResponse;
1925
2750
  };
2751
+ type PostApiVerifySendError = PostApiVerifySendErrors[keyof PostApiVerifySendErrors];
1926
2752
  type PostApiVerifySendResponses = {
1927
2753
  /**
1928
2754
  * Success
1929
2755
  */
1930
- 200: unknown;
2756
+ 200: {
2757
+ /**
2758
+ * The channel the verification was sent over ("sms" or "email")
2759
+ */
2760
+ channel: string;
2761
+ /**
2762
+ * The Twilio Verify verification SID
2763
+ */
2764
+ sid: string;
2765
+ };
2766
+ };
2767
+ type PostApiVerifySendResponse = PostApiVerifySendResponses[keyof PostApiVerifySendResponses];
2768
+ type PostApiWebchatChatData = {
2769
+ body: {
2770
+ [key: string]: unknown;
2771
+ };
2772
+ path?: never;
2773
+ query?: never;
2774
+ url: '/api/webchat/chat';
2775
+ };
2776
+ type PostApiWebchatChatErrors = {
2777
+ /**
2778
+ * "proxy_error" if the upstream call fails
2779
+ */
2780
+ 500: ErrorResponse;
2781
+ };
2782
+ type PostApiWebchatChatError = PostApiWebchatChatErrors[keyof PostApiWebchatChatErrors];
2783
+ type PostApiWebchatChatResponses = {
2784
+ /**
2785
+ * Proxied response from the agent chat service
2786
+ */
2787
+ 200: {
2788
+ [key: string]: unknown;
2789
+ };
2790
+ };
2791
+ type PostApiWebchatChatResponse = PostApiWebchatChatResponses[keyof PostApiWebchatChatResponses];
2792
+ type PostApiWebchatConversationData = {
2793
+ body: {
2794
+ [key: string]: unknown;
2795
+ };
2796
+ path?: never;
2797
+ query?: never;
2798
+ url: '/api/webchat/conversation';
2799
+ };
2800
+ type PostApiWebchatConversationErrors = {
2801
+ /**
2802
+ * "proxy_error" if the upstream call fails
2803
+ */
2804
+ 500: ErrorResponse;
2805
+ };
2806
+ type PostApiWebchatConversationError = PostApiWebchatConversationErrors[keyof PostApiWebchatConversationErrors];
2807
+ type PostApiWebchatConversationResponses = {
2808
+ /**
2809
+ * Proxied response from the agent conversation service
2810
+ */
2811
+ 200: {
2812
+ [key: string]: unknown;
2813
+ };
2814
+ };
2815
+ type PostApiWebchatConversationResponse = PostApiWebchatConversationResponses[keyof PostApiWebchatConversationResponses];
2816
+ type GetApiWebchatConversationsTokenData = {
2817
+ body?: never;
2818
+ path?: never;
2819
+ query?: {
2820
+ /**
2821
+ * Conversation participant identity (required)
2822
+ */
2823
+ identity?: string;
2824
+ };
2825
+ url: '/api/webchat/conversations/token';
2826
+ };
2827
+ type GetApiWebchatConversationsTokenErrors = {
2828
+ /**
2829
+ * Missing identity query param
2830
+ */
2831
+ 400: ErrorResponse;
2832
+ /**
2833
+ * "proxy_error" if the upstream call fails
2834
+ */
2835
+ 500: ErrorResponse;
2836
+ };
2837
+ type GetApiWebchatConversationsTokenError = GetApiWebchatConversationsTokenErrors[keyof GetApiWebchatConversationsTokenErrors];
2838
+ type GetApiWebchatConversationsTokenResponses = {
2839
+ /**
2840
+ * Proxied response from the API conversations-token service
2841
+ */
2842
+ 200: {
2843
+ [key: string]: unknown;
2844
+ };
2845
+ };
2846
+ type GetApiWebchatConversationsTokenResponse = GetApiWebchatConversationsTokenResponses[keyof GetApiWebchatConversationsTokenResponses];
2847
+ type PostApiWebchatConversationsTokenData = {
2848
+ body: {
2849
+ [key: string]: unknown;
2850
+ };
2851
+ path?: never;
2852
+ query?: {
2853
+ /**
2854
+ * Conversation participant identity (required)
2855
+ */
2856
+ identity?: string;
2857
+ };
2858
+ url: '/api/webchat/conversations/token';
2859
+ };
2860
+ type PostApiWebchatConversationsTokenErrors = {
2861
+ /**
2862
+ * Missing identity in request body
2863
+ */
2864
+ 400: ErrorResponse;
2865
+ /**
2866
+ * "proxy_error" if the upstream call fails
2867
+ */
2868
+ 500: ErrorResponse;
2869
+ };
2870
+ type PostApiWebchatConversationsTokenError = PostApiWebchatConversationsTokenErrors[keyof PostApiWebchatConversationsTokenErrors];
2871
+ type PostApiWebchatConversationsTokenResponses = {
2872
+ /**
2873
+ * Proxied response from the API conversations-token service
2874
+ */
2875
+ 200: {
2876
+ [key: string]: unknown;
2877
+ };
2878
+ };
2879
+ type PostApiWebchatConversationsTokenResponse = PostApiWebchatConversationsTokenResponses[keyof PostApiWebchatConversationsTokenResponses];
2880
+ type PostApiWebchatEndChatData = {
2881
+ body: {
2882
+ [key: string]: unknown;
2883
+ };
2884
+ path?: never;
2885
+ query?: never;
2886
+ url: '/api/webchat/end-chat';
2887
+ };
2888
+ type PostApiWebchatEndChatErrors = {
2889
+ /**
2890
+ * Missing customerNumber in request body
2891
+ */
2892
+ 400: ErrorResponse;
2893
+ /**
2894
+ * "proxy_error" if the upstream call fails
2895
+ */
2896
+ 500: ErrorResponse;
2897
+ };
2898
+ type PostApiWebchatEndChatError = PostApiWebchatEndChatErrors[keyof PostApiWebchatEndChatErrors];
2899
+ type PostApiWebchatEndChatResponses = {
2900
+ /**
2901
+ * Proxied response from the agent live-numbers delete service
2902
+ */
2903
+ 200: {
2904
+ [key: string]: unknown;
2905
+ };
2906
+ };
2907
+ type PostApiWebchatEndChatResponse = PostApiWebchatEndChatResponses[keyof PostApiWebchatEndChatResponses];
2908
+ type PostApiWebchatLiveAgentWebchatConnectData = {
2909
+ body: {
2910
+ [key: string]: unknown;
2911
+ };
2912
+ path?: never;
2913
+ query?: never;
2914
+ url: '/api/webchat/live-agent-webchat-connect';
2915
+ };
2916
+ type PostApiWebchatLiveAgentWebchatConnectErrors = {
2917
+ /**
2918
+ * "proxy_error" if the upstream call fails
2919
+ */
2920
+ 500: ErrorResponse;
2921
+ };
2922
+ type PostApiWebchatLiveAgentWebchatConnectError = PostApiWebchatLiveAgentWebchatConnectErrors[keyof PostApiWebchatLiveAgentWebchatConnectErrors];
2923
+ type PostApiWebchatLiveAgentWebchatConnectResponses = {
2924
+ /**
2925
+ * Proxied response from the API live-agent-webchat-connect service
2926
+ */
2927
+ 200: {
2928
+ [key: string]: unknown;
2929
+ };
2930
+ };
2931
+ type PostApiWebchatLiveAgentWebchatConnectResponse = PostApiWebchatLiveAgentWebchatConnectResponses[keyof PostApiWebchatLiveAgentWebchatConnectResponses];
2932
+ type PostApiWebchatLiveAgentWebchatEndData = {
2933
+ body: {
2934
+ [key: string]: unknown;
2935
+ };
2936
+ path?: never;
2937
+ query?: never;
2938
+ url: '/api/webchat/live-agent-webchat-end';
2939
+ };
2940
+ type PostApiWebchatLiveAgentWebchatEndErrors = {
2941
+ /**
2942
+ * "proxy_error" if the upstream call fails
2943
+ */
2944
+ 500: ErrorResponse;
2945
+ };
2946
+ type PostApiWebchatLiveAgentWebchatEndError = PostApiWebchatLiveAgentWebchatEndErrors[keyof PostApiWebchatLiveAgentWebchatEndErrors];
2947
+ type PostApiWebchatLiveAgentWebchatEndResponses = {
2948
+ /**
2949
+ * Proxied response from the API live-agent-webchat-end service
2950
+ */
2951
+ 200: {
2952
+ [key: string]: unknown;
2953
+ };
2954
+ };
2955
+ type PostApiWebchatLiveAgentWebchatEndResponse = PostApiWebchatLiveAgentWebchatEndResponses[keyof PostApiWebchatLiveAgentWebchatEndResponses];
2956
+ type PostApiWebchatUiConfigData = {
2957
+ body: {
2958
+ [key: string]: unknown;
2959
+ };
2960
+ path?: never;
2961
+ query?: never;
2962
+ url: '/api/webchat/ui-config';
2963
+ };
2964
+ type PostApiWebchatUiConfigErrors = {
2965
+ /**
2966
+ * Both or neither of customerNumber/objectID were provided
2967
+ */
2968
+ 400: ErrorResponse;
2969
+ /**
2970
+ * "ui_config_error" if template lookup fails
2971
+ */
2972
+ 500: ErrorResponse;
1931
2973
  };
2974
+ type PostApiWebchatUiConfigError = PostApiWebchatUiConfigErrors[keyof PostApiWebchatUiConfigErrors];
2975
+ type PostApiWebchatUiConfigResponses = {
2976
+ /**
2977
+ * Success
2978
+ */
2979
+ 200: {
2980
+ /**
2981
+ * Dialog UI customization config from the template (or null)
2982
+ */
2983
+ ui: {
2984
+ [key: string]: unknown;
2985
+ };
2986
+ /**
2987
+ * Dialog link map from the template (or null)
2988
+ */
2989
+ linkMap: {
2990
+ [key: string]: unknown;
2991
+ };
2992
+ /**
2993
+ * Whether the chat link should be hidden (or null)
2994
+ */
2995
+ hideChatLink: boolean;
2996
+ /**
2997
+ * Resolved Algolia objectID for the template (or null)
2998
+ */
2999
+ templateObjectId: string;
3000
+ /**
3001
+ * Default language code for the template, e.g. 'es-ES' (or null)
3002
+ */
3003
+ templateLanguage: string;
3004
+ /**
3005
+ * Representative customer number resolved from objectID lookups (or null)
3006
+ */
3007
+ resolvedCustomerNumber: string;
3008
+ /**
3009
+ * Agent phone number resolved from objectID lookups (or null)
3010
+ */
3011
+ resolvedAgentNumber: string;
3012
+ /**
3013
+ * Template title (or null)
3014
+ */
3015
+ templateTitle: string;
3016
+ /**
3017
+ * Dialog UI customization config from the template (or null)
3018
+ */
3019
+ dialogConfig: {
3020
+ [key: string]: unknown;
3021
+ };
3022
+ /**
3023
+ * Dialog runtime settings (trait mappings, feature flags) (or null)
3024
+ */
3025
+ dialogSettings: {
3026
+ [key: string]: unknown;
3027
+ };
3028
+ };
3029
+ };
3030
+ type PostApiWebchatUiConfigResponse = PostApiWebchatUiConfigResponses[keyof PostApiWebchatUiConfigResponses];
3031
+ type GetApiWebchatVoiceTokenData = {
3032
+ body?: never;
3033
+ path?: never;
3034
+ query?: {
3035
+ /**
3036
+ * Voice grant identity (required)
3037
+ */
3038
+ identity?: string;
3039
+ };
3040
+ url: '/api/webchat/voice-token';
3041
+ };
3042
+ type GetApiWebchatVoiceTokenErrors = {
3043
+ /**
3044
+ * Missing identity query param
3045
+ */
3046
+ 400: ErrorResponse;
3047
+ /**
3048
+ * "proxy_error" if the upstream call fails
3049
+ */
3050
+ 500: ErrorResponse;
3051
+ };
3052
+ type GetApiWebchatVoiceTokenError = GetApiWebchatVoiceTokenErrors[keyof GetApiWebchatVoiceTokenErrors];
3053
+ type GetApiWebchatVoiceTokenResponses = {
3054
+ /**
3055
+ * Proxied response from the API voice-token service
3056
+ */
3057
+ 200: {
3058
+ [key: string]: unknown;
3059
+ };
3060
+ };
3061
+ type GetApiWebchatVoiceTokenResponse = GetApiWebchatVoiceTokenResponses[keyof GetApiWebchatVoiceTokenResponses];
3062
+ type PostApiWebchatWebchatSendData = {
3063
+ body: {
3064
+ [key: string]: unknown;
3065
+ };
3066
+ path?: never;
3067
+ query?: never;
3068
+ url: '/api/webchat/webchat-send';
3069
+ };
3070
+ type PostApiWebchatWebchatSendErrors = {
3071
+ /**
3072
+ * "proxy_error" if the upstream call fails
3073
+ */
3074
+ 500: ErrorResponse;
3075
+ };
3076
+ type PostApiWebchatWebchatSendError = PostApiWebchatWebchatSendErrors[keyof PostApiWebchatWebchatSendErrors];
3077
+ type PostApiWebchatWebchatSendResponses = {
3078
+ /**
3079
+ * Proxied response from the agent chat service
3080
+ */
3081
+ 200: {
3082
+ [key: string]: unknown;
3083
+ };
3084
+ };
3085
+ type PostApiWebchatWebchatSendResponse = PostApiWebchatWebchatSendResponses[keyof PostApiWebchatWebchatSendResponses];
1932
3086
 
1933
3087
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
1934
3088
  /**
@@ -2103,10 +3257,6 @@ declare const postApiIntelligenceConfiguration: <ThrowOnError extends boolean =
2103
3257
  * PUT intelligence-configuration
2104
3258
  */
2105
3259
  declare const putApiIntelligenceConfiguration: <ThrowOnError extends boolean = false>(options: Options<PutApiIntelligenceConfigurationData, ThrowOnError>) => RequestResult<PutApiIntelligenceConfigurationResponses, PutApiIntelligenceConfigurationErrors, ThrowOnError>;
2106
- /**
2107
- * GET internal-nav
2108
- */
2109
- declare const getApiInternalNav: <ThrowOnError extends boolean = false>(options?: Options<GetApiInternalNavData, ThrowOnError>) => RequestResult<GetApiInternalNavResponses, GetApiInternalNavErrors, ThrowOnError>;
2110
3260
  /**
2111
3261
  * GET isv / logo
2112
3262
  */
@@ -2207,7 +3357,348 @@ declare const postApiVerifyCheck: <ThrowOnError extends boolean = false>(options
2207
3357
  * POST verify / send
2208
3358
  */
2209
3359
  declare const postApiVerifySend: <ThrowOnError extends boolean = false>(options: Options<PostApiVerifySendData, ThrowOnError>) => RequestResult<PostApiVerifySendResponses, PostApiVerifySendErrors, ThrowOnError>;
3360
+ /**
3361
+ * POST webchat / chat
3362
+ */
3363
+ declare const postApiWebchatChat: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatChatData, ThrowOnError>) => RequestResult<PostApiWebchatChatResponses, PostApiWebchatChatErrors, ThrowOnError>;
3364
+ /**
3365
+ * POST webchat / conversation
3366
+ */
3367
+ declare const postApiWebchatConversation: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatConversationData, ThrowOnError>) => RequestResult<PostApiWebchatConversationResponses, PostApiWebchatConversationErrors, ThrowOnError>;
3368
+ /**
3369
+ * GET webchat / conversations / token
3370
+ */
3371
+ declare const getApiWebchatConversationsToken: <ThrowOnError extends boolean = false>(options?: Options<GetApiWebchatConversationsTokenData, ThrowOnError>) => RequestResult<GetApiWebchatConversationsTokenResponses, GetApiWebchatConversationsTokenErrors, ThrowOnError>;
3372
+ /**
3373
+ * POST webchat / conversations / token
3374
+ */
3375
+ declare const postApiWebchatConversationsToken: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatConversationsTokenData, ThrowOnError>) => RequestResult<PostApiWebchatConversationsTokenResponses, PostApiWebchatConversationsTokenErrors, ThrowOnError>;
3376
+ /**
3377
+ * POST webchat / end-chat
3378
+ */
3379
+ declare const postApiWebchatEndChat: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatEndChatData, ThrowOnError>) => RequestResult<PostApiWebchatEndChatResponses, PostApiWebchatEndChatErrors, ThrowOnError>;
3380
+ /**
3381
+ * POST webchat / live-agent-webchat-connect
3382
+ */
3383
+ declare const postApiWebchatLiveAgentWebchatConnect: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatLiveAgentWebchatConnectData, ThrowOnError>) => RequestResult<PostApiWebchatLiveAgentWebchatConnectResponses, PostApiWebchatLiveAgentWebchatConnectErrors, ThrowOnError>;
3384
+ /**
3385
+ * POST webchat / live-agent-webchat-end
3386
+ */
3387
+ declare const postApiWebchatLiveAgentWebchatEnd: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatLiveAgentWebchatEndData, ThrowOnError>) => RequestResult<PostApiWebchatLiveAgentWebchatEndResponses, PostApiWebchatLiveAgentWebchatEndErrors, ThrowOnError>;
3388
+ /**
3389
+ * POST webchat / ui-config
3390
+ */
3391
+ declare const postApiWebchatUiConfig: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatUiConfigData, ThrowOnError>) => RequestResult<PostApiWebchatUiConfigResponses, PostApiWebchatUiConfigErrors, ThrowOnError>;
3392
+ /**
3393
+ * GET webchat / voice-token
3394
+ */
3395
+ declare const getApiWebchatVoiceToken: <ThrowOnError extends boolean = false>(options?: Options<GetApiWebchatVoiceTokenData, ThrowOnError>) => RequestResult<GetApiWebchatVoiceTokenResponses, GetApiWebchatVoiceTokenErrors, ThrowOnError>;
3396
+ /**
3397
+ * POST webchat / webchat-send
3398
+ */
3399
+ declare const postApiWebchatWebchatSend: <ThrowOnError extends boolean = false>(options: Options<PostApiWebchatWebchatSendData, ThrowOnError>) => RequestResult<PostApiWebchatWebchatSendResponses, PostApiWebchatWebchatSendErrors, ThrowOnError>;
2210
3400
 
3401
+ declare const zErrorResponse: z.ZodObject<{
3402
+ error: z.ZodOptional<z.ZodString>;
3403
+ details: z.ZodOptional<z.ZodString>;
3404
+ }, "strip", z.ZodTypeAny, {
3405
+ error?: string | undefined;
3406
+ details?: string | undefined;
3407
+ }, {
3408
+ error?: string | undefined;
3409
+ details?: string | undefined;
3410
+ }>;
3411
+ declare const zCalledByData: z.ZodObject<{
3412
+ phoneNumber: z.ZodOptional<z.ZodString>;
3413
+ timestamp: z.ZodOptional<z.ZodNumber>;
3414
+ direction: z.ZodOptional<z.ZodString>;
3415
+ objectId: z.ZodOptional<z.ZodString>;
3416
+ }, "strip", z.ZodTypeAny, {
3417
+ phoneNumber?: string | undefined;
3418
+ timestamp?: number | undefined;
3419
+ direction?: string | undefined;
3420
+ objectId?: string | undefined;
3421
+ }, {
3422
+ phoneNumber?: string | undefined;
3423
+ timestamp?: number | undefined;
3424
+ direction?: string | undefined;
3425
+ objectId?: string | undefined;
3426
+ }>;
3427
+ declare const zCampaign: z.ZodObject<{
3428
+ email: z.ZodOptional<z.ZodString>;
3429
+ companyName: z.ZodOptional<z.ZodString>;
3430
+ objectID: z.ZodOptional<z.ZodString>;
3431
+ encryptedObjectId: z.ZodOptional<z.ZodString>;
3432
+ agentNumber: z.ZodOptional<z.ZodString>;
3433
+ tag: z.ZodOptional<z.ZodString>;
3434
+ createdAt: z.ZodOptional<z.ZodString>;
3435
+ numCalls: z.ZodOptional<z.ZodString>;
3436
+ shortLink: z.ZodOptional<z.ZodString>;
3437
+ }, "strip", z.ZodTypeAny, {
3438
+ email?: string | undefined;
3439
+ companyName?: string | undefined;
3440
+ objectID?: string | undefined;
3441
+ encryptedObjectId?: string | undefined;
3442
+ agentNumber?: string | undefined;
3443
+ tag?: string | undefined;
3444
+ createdAt?: string | undefined;
3445
+ numCalls?: string | undefined;
3446
+ shortLink?: string | undefined;
3447
+ }, {
3448
+ email?: string | undefined;
3449
+ companyName?: string | undefined;
3450
+ objectID?: string | undefined;
3451
+ encryptedObjectId?: string | undefined;
3452
+ agentNumber?: string | undefined;
3453
+ tag?: string | undefined;
3454
+ createdAt?: string | undefined;
3455
+ numCalls?: string | undefined;
3456
+ shortLink?: string | undefined;
3457
+ }>;
3458
+ declare const zConversationMemoryRecallResponse: z.ZodObject<{
3459
+ communications: z.ZodOptional<z.ZodString>;
3460
+ observations: z.ZodOptional<z.ZodString>;
3461
+ summaries: z.ZodOptional<z.ZodString>;
3462
+ meta: z.ZodOptional<z.ZodString>;
3463
+ queryTime: z.ZodOptional<z.ZodString>;
3464
+ }, "strip", z.ZodTypeAny, {
3465
+ communications?: string | undefined;
3466
+ observations?: string | undefined;
3467
+ summaries?: string | undefined;
3468
+ meta?: string | undefined;
3469
+ queryTime?: string | undefined;
3470
+ }, {
3471
+ communications?: string | undefined;
3472
+ observations?: string | undefined;
3473
+ summaries?: string | undefined;
3474
+ meta?: string | undefined;
3475
+ queryTime?: string | undefined;
3476
+ }>;
3477
+ declare const zOperator: z.ZodObject<{
3478
+ id: z.ZodOptional<z.ZodString>;
3479
+ displayName: z.ZodOptional<z.ZodString>;
3480
+ description: z.ZodOptional<z.ZodString>;
3481
+ version: z.ZodOptional<z.ZodString>;
3482
+ availability: z.ZodOptional<z.ZodString>;
3483
+ author: z.ZodOptional<z.ZodString>;
3484
+ prompt: z.ZodOptional<z.ZodString>;
3485
+ outputFormat: z.ZodOptional<z.ZodString>;
3486
+ outputSchema: z.ZodOptional<z.ZodString>;
3487
+ trainingExamples: z.ZodOptional<z.ZodString>;
3488
+ context: z.ZodOptional<z.ZodString>;
3489
+ parameters: z.ZodOptional<z.ZodString>;
3490
+ }, "strip", z.ZodTypeAny, {
3491
+ id?: string | undefined;
3492
+ displayName?: string | undefined;
3493
+ description?: string | undefined;
3494
+ version?: string | undefined;
3495
+ availability?: string | undefined;
3496
+ author?: string | undefined;
3497
+ prompt?: string | undefined;
3498
+ outputFormat?: string | undefined;
3499
+ outputSchema?: string | undefined;
3500
+ trainingExamples?: string | undefined;
3501
+ context?: string | undefined;
3502
+ parameters?: string | undefined;
3503
+ }, {
3504
+ id?: string | undefined;
3505
+ displayName?: string | undefined;
3506
+ description?: string | undefined;
3507
+ version?: string | undefined;
3508
+ availability?: string | undefined;
3509
+ author?: string | undefined;
3510
+ prompt?: string | undefined;
3511
+ outputFormat?: string | undefined;
3512
+ outputSchema?: string | undefined;
3513
+ trainingExamples?: string | undefined;
3514
+ context?: string | undefined;
3515
+ parameters?: string | undefined;
3516
+ }>;
3517
+ declare const zIntelligenceConfiguration: z.ZodObject<{
3518
+ accountId: z.ZodOptional<z.ZodString>;
3519
+ dateCreated: z.ZodOptional<z.ZodString>;
3520
+ dateUpdated: z.ZodOptional<z.ZodString>;
3521
+ description: z.ZodOptional<z.ZodString>;
3522
+ displayName: z.ZodOptional<z.ZodString>;
3523
+ id: z.ZodOptional<z.ZodString>;
3524
+ rules: z.ZodOptional<z.ZodString>;
3525
+ version: z.ZodOptional<z.ZodString>;
3526
+ }, "strip", z.ZodTypeAny, {
3527
+ id?: string | undefined;
3528
+ displayName?: string | undefined;
3529
+ description?: string | undefined;
3530
+ version?: string | undefined;
3531
+ accountId?: string | undefined;
3532
+ dateCreated?: string | undefined;
3533
+ dateUpdated?: string | undefined;
3534
+ rules?: string | undefined;
3535
+ }, {
3536
+ id?: string | undefined;
3537
+ displayName?: string | undefined;
3538
+ description?: string | undefined;
3539
+ version?: string | undefined;
3540
+ accountId?: string | undefined;
3541
+ dateCreated?: string | undefined;
3542
+ dateUpdated?: string | undefined;
3543
+ rules?: string | undefined;
3544
+ }>;
3545
+ declare const zLockedTemplateData: z.ZodObject<{
3546
+ agentNumber: z.ZodOptional<z.ZodString>;
3547
+ countryCode: z.ZodOptional<z.ZodString>;
3548
+ dateShared: z.ZodOptional<z.ZodString>;
3549
+ dateExpires: z.ZodOptional<z.ZodString>;
3550
+ objectID: z.ZodOptional<z.ZodString>;
3551
+ templateName: z.ZodOptional<z.ZodString>;
3552
+ userEmail: z.ZodOptional<z.ZodString>;
3553
+ webrtcUrl: z.ZodOptional<z.ZodString>;
3554
+ }, "strip", z.ZodTypeAny, {
3555
+ objectID?: string | undefined;
3556
+ agentNumber?: string | undefined;
3557
+ countryCode?: string | undefined;
3558
+ dateShared?: string | undefined;
3559
+ dateExpires?: string | undefined;
3560
+ templateName?: string | undefined;
3561
+ userEmail?: string | undefined;
3562
+ webrtcUrl?: string | undefined;
3563
+ }, {
3564
+ objectID?: string | undefined;
3565
+ agentNumber?: string | undefined;
3566
+ countryCode?: string | undefined;
3567
+ dateShared?: string | undefined;
3568
+ dateExpires?: string | undefined;
3569
+ templateName?: string | undefined;
3570
+ userEmail?: string | undefined;
3571
+ webrtcUrl?: string | undefined;
3572
+ }>;
3573
+ declare const zSupportedRegion: z.ZodObject<{
3574
+ isoCountry: z.ZodOptional<z.ZodString>;
3575
+ numberType: z.ZodOptional<z.ZodString>;
3576
+ bundleSid: z.ZodOptional<z.ZodString>;
3577
+ label: z.ZodOptional<z.ZodString>;
3578
+ flag: z.ZodOptional<z.ZodString>;
3579
+ capabilities: z.ZodOptional<z.ZodString>;
3580
+ }, "strip", z.ZodTypeAny, {
3581
+ isoCountry?: string | undefined;
3582
+ numberType?: string | undefined;
3583
+ bundleSid?: string | undefined;
3584
+ label?: string | undefined;
3585
+ flag?: string | undefined;
3586
+ capabilities?: string | undefined;
3587
+ }, {
3588
+ isoCountry?: string | undefined;
3589
+ numberType?: string | undefined;
3590
+ bundleSid?: string | undefined;
3591
+ label?: string | undefined;
3592
+ flag?: string | undefined;
3593
+ capabilities?: string | undefined;
3594
+ }>;
3595
+ /**
3596
+ * Success
3597
+ */
3598
+ declare const zPostApiAlgoliaSecuredKeyResponse: z.ZodObject<{
3599
+ expiresAt: z.ZodNumber;
3600
+ securedKey: z.ZodString;
3601
+ userEmail: z.ZodString;
3602
+ }, "strip", z.ZodTypeAny, {
3603
+ userEmail: string;
3604
+ expiresAt: number;
3605
+ securedKey: string;
3606
+ }, {
3607
+ userEmail: string;
3608
+ expiresAt: number;
3609
+ securedKey: string;
3610
+ }>;
3611
+ /**
3612
+ * Success
3613
+ */
3614
+ declare const zGetApiCampaignResponse: z.ZodObject<{
3615
+ calledByData: z.ZodArray<z.ZodObject<{
3616
+ phoneNumber: z.ZodOptional<z.ZodString>;
3617
+ timestamp: z.ZodOptional<z.ZodNumber>;
3618
+ direction: z.ZodOptional<z.ZodString>;
3619
+ objectId: z.ZodOptional<z.ZodString>;
3620
+ }, "strip", z.ZodTypeAny, {
3621
+ phoneNumber?: string | undefined;
3622
+ timestamp?: number | undefined;
3623
+ direction?: string | undefined;
3624
+ objectId?: string | undefined;
3625
+ }, {
3626
+ phoneNumber?: string | undefined;
3627
+ timestamp?: number | undefined;
3628
+ direction?: string | undefined;
3629
+ objectId?: string | undefined;
3630
+ }>, "many">;
3631
+ campaigns: z.ZodArray<z.ZodObject<{
3632
+ email: z.ZodOptional<z.ZodString>;
3633
+ companyName: z.ZodOptional<z.ZodString>;
3634
+ objectID: z.ZodOptional<z.ZodString>;
3635
+ encryptedObjectId: z.ZodOptional<z.ZodString>;
3636
+ agentNumber: z.ZodOptional<z.ZodString>;
3637
+ tag: z.ZodOptional<z.ZodString>;
3638
+ createdAt: z.ZodOptional<z.ZodString>;
3639
+ numCalls: z.ZodOptional<z.ZodString>;
3640
+ shortLink: z.ZodOptional<z.ZodString>;
3641
+ }, "strip", z.ZodTypeAny, {
3642
+ email?: string | undefined;
3643
+ companyName?: string | undefined;
3644
+ objectID?: string | undefined;
3645
+ encryptedObjectId?: string | undefined;
3646
+ agentNumber?: string | undefined;
3647
+ tag?: string | undefined;
3648
+ createdAt?: string | undefined;
3649
+ numCalls?: string | undefined;
3650
+ shortLink?: string | undefined;
3651
+ }, {
3652
+ email?: string | undefined;
3653
+ companyName?: string | undefined;
3654
+ objectID?: string | undefined;
3655
+ encryptedObjectId?: string | undefined;
3656
+ agentNumber?: string | undefined;
3657
+ tag?: string | undefined;
3658
+ createdAt?: string | undefined;
3659
+ numCalls?: string | undefined;
3660
+ shortLink?: string | undefined;
3661
+ }>, "many">;
3662
+ total: z.ZodNumber;
3663
+ }, "strip", z.ZodTypeAny, {
3664
+ calledByData: {
3665
+ phoneNumber?: string | undefined;
3666
+ timestamp?: number | undefined;
3667
+ direction?: string | undefined;
3668
+ objectId?: string | undefined;
3669
+ }[];
3670
+ campaigns: {
3671
+ email?: string | undefined;
3672
+ companyName?: string | undefined;
3673
+ objectID?: string | undefined;
3674
+ encryptedObjectId?: string | undefined;
3675
+ agentNumber?: string | undefined;
3676
+ tag?: string | undefined;
3677
+ createdAt?: string | undefined;
3678
+ numCalls?: string | undefined;
3679
+ shortLink?: string | undefined;
3680
+ }[];
3681
+ total: number;
3682
+ }, {
3683
+ calledByData: {
3684
+ phoneNumber?: string | undefined;
3685
+ timestamp?: number | undefined;
3686
+ direction?: string | undefined;
3687
+ objectId?: string | undefined;
3688
+ }[];
3689
+ campaigns: {
3690
+ email?: string | undefined;
3691
+ companyName?: string | undefined;
3692
+ objectID?: string | undefined;
3693
+ encryptedObjectId?: string | undefined;
3694
+ agentNumber?: string | undefined;
3695
+ tag?: string | undefined;
3696
+ createdAt?: string | undefined;
3697
+ numCalls?: string | undefined;
3698
+ shortLink?: string | undefined;
3699
+ }[];
3700
+ total: number;
3701
+ }>;
2211
3702
  declare const zDeleteApiConversationMemoryConversationSummariesQuery: z.ZodObject<{
2212
3703
  profileId: z.ZodString;
2213
3704
  summaryId: z.ZodString;
@@ -2218,6 +3709,7 @@ declare const zDeleteApiConversationMemoryConversationSummariesQuery: z.ZodObjec
2218
3709
  profileId: string;
2219
3710
  summaryId: string;
2220
3711
  }>;
3712
+ declare const zDeleteApiConversationMemoryConversationSummariesResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2221
3713
  declare const zGetApiConversationMemoryConversationSummariesQuery: z.ZodObject<{
2222
3714
  profileId: z.ZodString;
2223
3715
  summaryId: z.ZodOptional<z.ZodString>;
@@ -2234,6 +3726,10 @@ declare const zGetApiConversationMemoryConversationSummariesQuery: z.ZodObject<{
2234
3726
  pageSize?: string | undefined;
2235
3727
  pageToken?: string | undefined;
2236
3728
  }>;
3729
+ /**
3730
+ * Upstream summary data (single summary or paginated list) from the Conversation Memory API
3731
+ */
3732
+ declare const zGetApiConversationMemoryConversationSummariesResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2237
3733
  declare const zPatchApiConversationMemoryConversationSummariesBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2238
3734
  declare const zPatchApiConversationMemoryConversationSummariesQuery: z.ZodObject<{
2239
3735
  profileId: z.ZodString;
@@ -2245,7 +3741,9 @@ declare const zPatchApiConversationMemoryConversationSummariesQuery: z.ZodObject
2245
3741
  profileId: string;
2246
3742
  summaryId: string;
2247
3743
  }>;
3744
+ declare const zPatchApiConversationMemoryConversationSummariesResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2248
3745
  declare const zPostApiConversationMemoryConversationSummariesBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3746
+ declare const zPostApiConversationMemoryConversationSummariesResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2249
3747
  declare const zDeleteApiConversationMemoryIdentifiersQuery: z.ZodObject<{
2250
3748
  profileId: z.ZodString;
2251
3749
  idType: z.ZodString;
@@ -2262,16 +3760,21 @@ declare const zDeleteApiConversationMemoryIdentifiersQuery: z.ZodObject<{
2262
3760
  value?: string | undefined;
2263
3761
  removeAll?: string | undefined;
2264
3762
  }>;
3763
+ declare const zDeleteApiConversationMemoryIdentifiersResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2265
3764
  declare const zGetApiConversationMemoryIdentifiersQuery: z.ZodObject<{
2266
3765
  profileId: z.ZodString;
2267
- idType: z.ZodString;
3766
+ idType: z.ZodOptional<z.ZodString>;
2268
3767
  }, "strip", z.ZodTypeAny, {
2269
3768
  profileId: string;
2270
- idType: string;
3769
+ idType?: string | undefined;
2271
3770
  }, {
2272
3771
  profileId: string;
2273
- idType: string;
3772
+ idType?: string | undefined;
2274
3773
  }>;
3774
+ /**
3775
+ * Upstream identifier data (single value or list) from the Conversation Memory API
3776
+ */
3777
+ declare const zGetApiConversationMemoryIdentifiersResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2275
3778
  declare const zPatchApiConversationMemoryIdentifiersBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2276
3779
  declare const zPatchApiConversationMemoryIdentifiersQuery: z.ZodObject<{
2277
3780
  profileId: z.ZodString;
@@ -2289,23 +3792,9 @@ declare const zPatchApiConversationMemoryIdentifiersQuery: z.ZodObject<{
2289
3792
  value?: string | undefined;
2290
3793
  removeAll?: string | undefined;
2291
3794
  }>;
3795
+ declare const zPatchApiConversationMemoryIdentifiersResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2292
3796
  declare const zPostApiConversationMemoryIdentifiersBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2293
- declare const zPostApiConversationMemoryIdentifiersQuery: z.ZodObject<{
2294
- profileId: z.ZodString;
2295
- idType: z.ZodString;
2296
- removeAll: z.ZodOptional<z.ZodString>;
2297
- value: z.ZodString;
2298
- }, "strip", z.ZodTypeAny, {
2299
- profileId: string;
2300
- value: string;
2301
- idType: string;
2302
- removeAll?: string | undefined;
2303
- }, {
2304
- profileId: string;
2305
- value: string;
2306
- idType: string;
2307
- removeAll?: string | undefined;
2308
- }>;
3797
+ declare const zPostApiConversationMemoryIdentifiersResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2309
3798
  declare const zDeleteApiConversationMemoryObservationsQuery: z.ZodObject<{
2310
3799
  profileId: z.ZodString;
2311
3800
  observationId: z.ZodString;
@@ -2316,6 +3805,7 @@ declare const zDeleteApiConversationMemoryObservationsQuery: z.ZodObject<{
2316
3805
  profileId: string;
2317
3806
  observationId: string;
2318
3807
  }>;
3808
+ declare const zDeleteApiConversationMemoryObservationsResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2319
3809
  declare const zGetApiConversationMemoryObservationsQuery: z.ZodObject<{
2320
3810
  profileId: z.ZodString;
2321
3811
  observationId: z.ZodOptional<z.ZodString>;
@@ -2344,6 +3834,10 @@ declare const zGetApiConversationMemoryObservationsQuery: z.ZodObject<{
2344
3834
  createdAfter?: string | undefined;
2345
3835
  createdBefore?: string | undefined;
2346
3836
  }>;
3837
+ /**
3838
+ * Upstream observation data (single observation or paginated list) from the Conversation Memory API
3839
+ */
3840
+ declare const zGetApiConversationMemoryObservationsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2347
3841
  declare const zPatchApiConversationMemoryObservationsBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2348
3842
  declare const zPatchApiConversationMemoryObservationsQuery: z.ZodObject<{
2349
3843
  profileId: z.ZodString;
@@ -2355,14 +3849,9 @@ declare const zPatchApiConversationMemoryObservationsQuery: z.ZodObject<{
2355
3849
  profileId: string;
2356
3850
  observationId: string;
2357
3851
  }>;
3852
+ declare const zPatchApiConversationMemoryObservationsResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2358
3853
  declare const zPostApiConversationMemoryObservationsBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2359
- declare const zPostApiConversationMemoryObservationsQuery: z.ZodObject<{
2360
- profileId: z.ZodString;
2361
- }, "strip", z.ZodTypeAny, {
2362
- profileId: string;
2363
- }, {
2364
- profileId: string;
2365
- }>;
3854
+ declare const zPostApiConversationMemoryObservationsResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2366
3855
  declare const zDeleteApiConversationMemoryProfilesQuery: z.ZodObject<{
2367
3856
  profileId: z.ZodString;
2368
3857
  }, "strip", z.ZodTypeAny, {
@@ -2370,6 +3859,7 @@ declare const zDeleteApiConversationMemoryProfilesQuery: z.ZodObject<{
2370
3859
  }, {
2371
3860
  profileId: string;
2372
3861
  }>;
3862
+ declare const zDeleteApiConversationMemoryProfilesResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2373
3863
  declare const zGetApiConversationMemoryProfilesQuery: z.ZodObject<{
2374
3864
  profileId: z.ZodOptional<z.ZodString>;
2375
3865
  traitGroups: z.ZodOptional<z.ZodString>;
@@ -2389,6 +3879,10 @@ declare const zGetApiConversationMemoryProfilesQuery: z.ZodObject<{
2389
3879
  orderBy?: string | undefined;
2390
3880
  traitGroups?: string | undefined;
2391
3881
  }>;
3882
+ /**
3883
+ * Upstream profile data (single profile or paginated list) from the Conversation Memory API
3884
+ */
3885
+ declare const zGetApiConversationMemoryProfilesResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2392
3886
  declare const zPatchApiConversationMemoryProfilesBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2393
3887
  declare const zPatchApiConversationMemoryProfilesQuery: z.ZodObject<{
2394
3888
  profileId: z.ZodString;
@@ -2397,16 +3891,44 @@ declare const zPatchApiConversationMemoryProfilesQuery: z.ZodObject<{
2397
3891
  }, {
2398
3892
  profileId: string;
2399
3893
  }>;
3894
+ declare const zPatchApiConversationMemoryProfilesResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2400
3895
  declare const zPostApiConversationMemoryProfilesBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2401
3896
  declare const zPostApiConversationMemoryProfilesQuery: z.ZodObject<{
2402
- profileId: z.ZodString;
3897
+ profileId: z.ZodOptional<z.ZodString>;
2403
3898
  }, "strip", z.ZodTypeAny, {
2404
- profileId: string;
3899
+ profileId?: string | undefined;
2405
3900
  }, {
2406
- profileId: string;
3901
+ profileId?: string | undefined;
2407
3902
  }>;
3903
+ declare const zPostApiConversationMemoryProfilesResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2408
3904
  declare const zPostApiConversationMemoryProfilesLookupBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3905
+ /**
3906
+ * Upstream profile lookup result from the Conversation Memory API
3907
+ */
3908
+ declare const zPostApiConversationMemoryProfilesLookupResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2409
3909
  declare const zPostApiConversationMemoryRecallBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3910
+ /**
3911
+ * Recalled communications, observations, and summaries matching the query
3912
+ */
3913
+ declare const zPostApiConversationMemoryRecallResponse: z.ZodObject<{
3914
+ communications: z.ZodOptional<z.ZodString>;
3915
+ observations: z.ZodOptional<z.ZodString>;
3916
+ summaries: z.ZodOptional<z.ZodString>;
3917
+ meta: z.ZodOptional<z.ZodString>;
3918
+ queryTime: z.ZodOptional<z.ZodString>;
3919
+ }, "strip", z.ZodTypeAny, {
3920
+ communications?: string | undefined;
3921
+ observations?: string | undefined;
3922
+ summaries?: string | undefined;
3923
+ meta?: string | undefined;
3924
+ queryTime?: string | undefined;
3925
+ }, {
3926
+ communications?: string | undefined;
3927
+ observations?: string | undefined;
3928
+ summaries?: string | undefined;
3929
+ meta?: string | undefined;
3930
+ queryTime?: string | undefined;
3931
+ }>;
2410
3932
  declare const zDeleteApiConversationMemoryResetQuery: z.ZodObject<{
2411
3933
  profileId: z.ZodString;
2412
3934
  }, "strip", z.ZodTypeAny, {
@@ -2414,6 +3936,10 @@ declare const zDeleteApiConversationMemoryResetQuery: z.ZodObject<{
2414
3936
  }, {
2415
3937
  profileId: string;
2416
3938
  }>;
3939
+ /**
3940
+ * Upstream confirmation payload from the Conversation Memory API
3941
+ */
3942
+ declare const zDeleteApiConversationMemoryResetResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2417
3943
  declare const zGetApiConversationMemoryTraitGroupsQuery: z.ZodObject<{
2418
3944
  traitGroupName: z.ZodOptional<z.ZodString>;
2419
3945
  includeTraits: z.ZodOptional<z.ZodString>;
@@ -2430,8 +3956,14 @@ declare const zGetApiConversationMemoryTraitGroupsQuery: z.ZodObject<{
2430
3956
  traitGroupName?: string | undefined;
2431
3957
  includeTraits?: string | undefined;
2432
3958
  }>;
3959
+ /**
3960
+ * Upstream trait group data (single group or paginated list) from the Conversation Memory API
3961
+ */
3962
+ declare const zGetApiConversationMemoryTraitGroupsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2433
3963
  declare const zPatchApiConversationMemoryTraitGroupsBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3964
+ declare const zPatchApiConversationMemoryTraitGroupsResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2434
3965
  declare const zPostApiConversationMemoryTraitGroupsBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3966
+ declare const zPostApiConversationMemoryTraitGroupsResponse: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2435
3967
  declare const zGetApiConversationMemoryTraitsQuery: z.ZodObject<{
2436
3968
  profileId: z.ZodString;
2437
3969
  pageSize: z.ZodOptional<z.ZodString>;
@@ -2451,6 +3983,10 @@ declare const zGetApiConversationMemoryTraitsQuery: z.ZodObject<{
2451
3983
  orderBy?: string | undefined;
2452
3984
  traitGroups?: string | undefined;
2453
3985
  }>;
3986
+ /**
3987
+ * Upstream paginated trait data from the Conversation Memory API
3988
+ */
3989
+ declare const zGetApiConversationMemoryTraitsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2454
3990
  declare const zDeleteApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2455
3991
  intelligenceOperatorId: z.ZodString;
2456
3992
  }, "strip", z.ZodTypeAny, {
@@ -2458,6 +3994,10 @@ declare const zDeleteApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2458
3994
  }, {
2459
3995
  intelligenceOperatorId: string;
2460
3996
  }>;
3997
+ /**
3998
+ * `{ success: true }` when the upstream returned no content, otherwise the deleted operator object as-is
3999
+ */
4000
+ declare const zDeleteApiConversationalIntelligenceOperatorResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2461
4001
  declare const zGetApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2462
4002
  intelligenceOperatorId: z.ZodOptional<z.ZodString>;
2463
4003
  pageToken: z.ZodOptional<z.ZodString>;
@@ -2468,6 +4008,10 @@ declare const zGetApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2468
4008
  pageToken?: string | undefined;
2469
4009
  intelligenceOperatorId?: string | undefined;
2470
4010
  }>;
4011
+ /**
4012
+ * A single Operator (when intelligenceOperatorId is provided) or an OperatorList (paginated), proxied from the upstream API
4013
+ */
4014
+ declare const zGetApiConversationalIntelligenceOperatorResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2471
4015
  declare const zPostApiConversationalIntelligenceOperatorBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2472
4016
  declare const zPostApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2473
4017
  intelligenceOperatorId: z.ZodOptional<z.ZodString>;
@@ -2476,6 +4020,49 @@ declare const zPostApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2476
4020
  }, {
2477
4021
  intelligenceOperatorId?: string | undefined;
2478
4022
  }>;
4023
+ /**
4024
+ * The created operator object
4025
+ */
4026
+ declare const zPostApiConversationalIntelligenceOperatorResponse: z.ZodObject<{
4027
+ id: z.ZodOptional<z.ZodString>;
4028
+ displayName: z.ZodOptional<z.ZodString>;
4029
+ description: z.ZodOptional<z.ZodString>;
4030
+ version: z.ZodOptional<z.ZodString>;
4031
+ availability: z.ZodOptional<z.ZodString>;
4032
+ author: z.ZodOptional<z.ZodString>;
4033
+ prompt: z.ZodOptional<z.ZodString>;
4034
+ outputFormat: z.ZodOptional<z.ZodString>;
4035
+ outputSchema: z.ZodOptional<z.ZodString>;
4036
+ trainingExamples: z.ZodOptional<z.ZodString>;
4037
+ context: z.ZodOptional<z.ZodString>;
4038
+ parameters: z.ZodOptional<z.ZodString>;
4039
+ }, "strip", z.ZodTypeAny, {
4040
+ id?: string | undefined;
4041
+ displayName?: string | undefined;
4042
+ description?: string | undefined;
4043
+ version?: string | undefined;
4044
+ availability?: string | undefined;
4045
+ author?: string | undefined;
4046
+ prompt?: string | undefined;
4047
+ outputFormat?: string | undefined;
4048
+ outputSchema?: string | undefined;
4049
+ trainingExamples?: string | undefined;
4050
+ context?: string | undefined;
4051
+ parameters?: string | undefined;
4052
+ }, {
4053
+ id?: string | undefined;
4054
+ displayName?: string | undefined;
4055
+ description?: string | undefined;
4056
+ version?: string | undefined;
4057
+ availability?: string | undefined;
4058
+ author?: string | undefined;
4059
+ prompt?: string | undefined;
4060
+ outputFormat?: string | undefined;
4061
+ outputSchema?: string | undefined;
4062
+ trainingExamples?: string | undefined;
4063
+ context?: string | undefined;
4064
+ parameters?: string | undefined;
4065
+ }>;
2479
4066
  declare const zPutApiConversationalIntelligenceOperatorBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2480
4067
  declare const zPutApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2481
4068
  intelligenceOperatorId: z.ZodString;
@@ -2484,12 +4071,162 @@ declare const zPutApiConversationalIntelligenceOperatorQuery: z.ZodObject<{
2484
4071
  }, {
2485
4072
  intelligenceOperatorId: string;
2486
4073
  }>;
4074
+ /**
4075
+ * The updated operator object
4076
+ */
4077
+ declare const zPutApiConversationalIntelligenceOperatorResponse: z.ZodObject<{
4078
+ id: z.ZodOptional<z.ZodString>;
4079
+ displayName: z.ZodOptional<z.ZodString>;
4080
+ description: z.ZodOptional<z.ZodString>;
4081
+ version: z.ZodOptional<z.ZodString>;
4082
+ availability: z.ZodOptional<z.ZodString>;
4083
+ author: z.ZodOptional<z.ZodString>;
4084
+ prompt: z.ZodOptional<z.ZodString>;
4085
+ outputFormat: z.ZodOptional<z.ZodString>;
4086
+ outputSchema: z.ZodOptional<z.ZodString>;
4087
+ trainingExamples: z.ZodOptional<z.ZodString>;
4088
+ context: z.ZodOptional<z.ZodString>;
4089
+ parameters: z.ZodOptional<z.ZodString>;
4090
+ }, "strip", z.ZodTypeAny, {
4091
+ id?: string | undefined;
4092
+ displayName?: string | undefined;
4093
+ description?: string | undefined;
4094
+ version?: string | undefined;
4095
+ availability?: string | undefined;
4096
+ author?: string | undefined;
4097
+ prompt?: string | undefined;
4098
+ outputFormat?: string | undefined;
4099
+ outputSchema?: string | undefined;
4100
+ trainingExamples?: string | undefined;
4101
+ context?: string | undefined;
4102
+ parameters?: string | undefined;
4103
+ }, {
4104
+ id?: string | undefined;
4105
+ displayName?: string | undefined;
4106
+ description?: string | undefined;
4107
+ version?: string | undefined;
4108
+ availability?: string | undefined;
4109
+ author?: string | undefined;
4110
+ prompt?: string | undefined;
4111
+ outputFormat?: string | undefined;
4112
+ outputSchema?: string | undefined;
4113
+ trainingExamples?: string | undefined;
4114
+ context?: string | undefined;
4115
+ parameters?: string | undefined;
4116
+ }>;
4117
+ /**
4118
+ * Success
4119
+ */
4120
+ declare const zDeleteApiConversationsDeleteResponse: z.ZodObject<{
4121
+ success: z.ZodBoolean;
4122
+ message: z.ZodString;
4123
+ objectID: z.ZodString;
4124
+ }, "strip", z.ZodTypeAny, {
4125
+ message: string;
4126
+ objectID: string;
4127
+ success: boolean;
4128
+ }, {
4129
+ message: string;
4130
+ objectID: string;
4131
+ success: boolean;
4132
+ }>;
2487
4133
  declare const zPostApiConversationsSaveBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4134
+ /**
4135
+ * Success
4136
+ */
4137
+ declare const zPostApiConversationsSaveResponse: z.ZodObject<{
4138
+ message: z.ZodString;
4139
+ objectID: z.ZodString;
4140
+ success: z.ZodBoolean;
4141
+ intelligenceConfigurationId: z.ZodString;
4142
+ crTargetWorker: z.ZodString;
4143
+ }, "strip", z.ZodTypeAny, {
4144
+ message: string;
4145
+ objectID: string;
4146
+ success: boolean;
4147
+ intelligenceConfigurationId: string;
4148
+ crTargetWorker: string;
4149
+ }, {
4150
+ message: string;
4151
+ objectID: string;
4152
+ success: boolean;
4153
+ intelligenceConfigurationId: string;
4154
+ crTargetWorker: string;
4155
+ }>;
2488
4156
  declare const zPostApiConversationsShareBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4157
+ /**
4158
+ * Success
4159
+ */
4160
+ declare const zPostApiConversationsShareResponse: z.ZodObject<{
4161
+ message: z.ZodString;
4162
+ newObjectID: z.ZodString;
4163
+ success: z.ZodBoolean;
4164
+ }, "strip", z.ZodTypeAny, {
4165
+ message: string;
4166
+ success: boolean;
4167
+ newObjectID: string;
4168
+ }, {
4169
+ message: string;
4170
+ success: boolean;
4171
+ newObjectID: string;
4172
+ }>;
4173
+ /**
4174
+ * Success
4175
+ */
4176
+ declare const zGetApiCountryConfigsResponse: z.ZodObject<{
4177
+ configs: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
4178
+ }, "strip", z.ZodTypeAny, {
4179
+ configs: Record<string, unknown>[];
4180
+ }, {
4181
+ configs: Record<string, unknown>[];
4182
+ }>;
2489
4183
  declare const zPostApiCreateExternalFlexConnectionBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4184
+ /**
4185
+ * Proxied response from the upstream API (shape depends on upstream; non-2xx upstream statuses are also passed through as-is)
4186
+ */
4187
+ declare const zPostApiCreateExternalFlexConnectionResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2490
4188
  declare const zPostApiEnhancePromptBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4189
+ /**
4190
+ * Success
4191
+ */
4192
+ declare const zPostApiEnhancePromptResponse: z.ZodObject<{
4193
+ enhancedContext: z.ZodString;
4194
+ enhancedInstructions: z.ZodString;
4195
+ }, "strip", z.ZodTypeAny, {
4196
+ enhancedContext: string;
4197
+ enhancedInstructions: string;
4198
+ }, {
4199
+ enhancedContext: string;
4200
+ enhancedInstructions: string;
4201
+ }>;
2491
4202
  declare const zPostApiGenerateTagsBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4203
+ /**
4204
+ * Success
4205
+ */
4206
+ declare const zPostApiGenerateTagsResponse: z.ZodObject<{
4207
+ tags: z.ZodArray<z.ZodString, "many">;
4208
+ }, "strip", z.ZodTypeAny, {
4209
+ tags: string[];
4210
+ }, {
4211
+ tags: string[];
4212
+ }>;
2492
4213
  declare const zPostApiIncrementViewCountBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4214
+ /**
4215
+ * Success
4216
+ */
4217
+ declare const zPostApiIncrementViewCountResponse: z.ZodObject<{
4218
+ objectID: z.ZodString;
4219
+ success: z.ZodBoolean;
4220
+ viewCount: z.ZodNumber;
4221
+ }, "strip", z.ZodTypeAny, {
4222
+ objectID: string;
4223
+ success: boolean;
4224
+ viewCount: number;
4225
+ }, {
4226
+ objectID: string;
4227
+ success: boolean;
4228
+ viewCount: number;
4229
+ }>;
2493
4230
  declare const zGetApiIntelligenceConfigurationQuery: z.ZodObject<{
2494
4231
  intelligenceConfigurationId: z.ZodOptional<z.ZodString>;
2495
4232
  pageToken: z.ZodOptional<z.ZodString>;
@@ -2500,8 +4237,74 @@ declare const zGetApiIntelligenceConfigurationQuery: z.ZodObject<{
2500
4237
  pageToken?: string | undefined;
2501
4238
  intelligenceConfigurationId?: string | undefined;
2502
4239
  }>;
4240
+ /**
4241
+ * A single IntelligenceConfiguration (when intelligenceConfigurationId is provided) or a paginated list
4242
+ */
4243
+ declare const zGetApiIntelligenceConfigurationResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2503
4244
  declare const zPostApiIntelligenceConfigurationBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4245
+ /**
4246
+ * The created configuration
4247
+ */
4248
+ declare const zPostApiIntelligenceConfigurationResponse: z.ZodObject<{
4249
+ accountId: z.ZodOptional<z.ZodString>;
4250
+ dateCreated: z.ZodOptional<z.ZodString>;
4251
+ dateUpdated: z.ZodOptional<z.ZodString>;
4252
+ description: z.ZodOptional<z.ZodString>;
4253
+ displayName: z.ZodOptional<z.ZodString>;
4254
+ id: z.ZodOptional<z.ZodString>;
4255
+ rules: z.ZodOptional<z.ZodString>;
4256
+ version: z.ZodOptional<z.ZodString>;
4257
+ }, "strip", z.ZodTypeAny, {
4258
+ id?: string | undefined;
4259
+ displayName?: string | undefined;
4260
+ description?: string | undefined;
4261
+ version?: string | undefined;
4262
+ accountId?: string | undefined;
4263
+ dateCreated?: string | undefined;
4264
+ dateUpdated?: string | undefined;
4265
+ rules?: string | undefined;
4266
+ }, {
4267
+ id?: string | undefined;
4268
+ displayName?: string | undefined;
4269
+ description?: string | undefined;
4270
+ version?: string | undefined;
4271
+ accountId?: string | undefined;
4272
+ dateCreated?: string | undefined;
4273
+ dateUpdated?: string | undefined;
4274
+ rules?: string | undefined;
4275
+ }>;
2504
4276
  declare const zPutApiIntelligenceConfigurationBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4277
+ /**
4278
+ * The updated configuration
4279
+ */
4280
+ declare const zPutApiIntelligenceConfigurationResponse: z.ZodObject<{
4281
+ accountId: z.ZodOptional<z.ZodString>;
4282
+ dateCreated: z.ZodOptional<z.ZodString>;
4283
+ dateUpdated: z.ZodOptional<z.ZodString>;
4284
+ description: z.ZodOptional<z.ZodString>;
4285
+ displayName: z.ZodOptional<z.ZodString>;
4286
+ id: z.ZodOptional<z.ZodString>;
4287
+ rules: z.ZodOptional<z.ZodString>;
4288
+ version: z.ZodOptional<z.ZodString>;
4289
+ }, "strip", z.ZodTypeAny, {
4290
+ id?: string | undefined;
4291
+ displayName?: string | undefined;
4292
+ description?: string | undefined;
4293
+ version?: string | undefined;
4294
+ accountId?: string | undefined;
4295
+ dateCreated?: string | undefined;
4296
+ dateUpdated?: string | undefined;
4297
+ rules?: string | undefined;
4298
+ }, {
4299
+ id?: string | undefined;
4300
+ displayName?: string | undefined;
4301
+ description?: string | undefined;
4302
+ version?: string | undefined;
4303
+ accountId?: string | undefined;
4304
+ dateCreated?: string | undefined;
4305
+ dateUpdated?: string | undefined;
4306
+ rules?: string | undefined;
4307
+ }>;
2505
4308
  declare const zGetApiIsvLogoQuery: z.ZodObject<{
2506
4309
  company: z.ZodString;
2507
4310
  }, "strip", z.ZodTypeAny, {
@@ -2509,6 +4312,26 @@ declare const zGetApiIsvLogoQuery: z.ZodObject<{
2509
4312
  }, {
2510
4313
  company: string;
2511
4314
  }>;
4315
+ /**
4316
+ * Success
4317
+ */
4318
+ declare const zGetApiIsvLogoResponse: z.ZodObject<{
4319
+ company: z.ZodString;
4320
+ logoUrl: z.ZodString;
4321
+ objectID: z.ZodString;
4322
+ }, "strip", z.ZodTypeAny, {
4323
+ objectID: string;
4324
+ company: string;
4325
+ logoUrl: string;
4326
+ }, {
4327
+ objectID: string;
4328
+ company: string;
4329
+ logoUrl: string;
4330
+ }>;
4331
+ /**
4332
+ * Proxied response from the upstream lead-gen API (shape depends on upstream)
4333
+ */
4334
+ declare const zDeleteApiLeadGenResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2512
4335
  declare const zGetApiLeadGenQuery: z.ZodObject<{
2513
4336
  objectID: z.ZodString;
2514
4337
  agentNumber: z.ZodString;
@@ -2519,8 +4342,71 @@ declare const zGetApiLeadGenQuery: z.ZodObject<{
2519
4342
  objectID: string;
2520
4343
  agentNumber: string;
2521
4344
  }>;
4345
+ /**
4346
+ * Success
4347
+ */
4348
+ declare const zGetApiLeadGenResponse: z.ZodObject<{
4349
+ templates: z.ZodArray<z.ZodObject<{
4350
+ agentNumber: z.ZodOptional<z.ZodString>;
4351
+ countryCode: z.ZodOptional<z.ZodString>;
4352
+ dateShared: z.ZodOptional<z.ZodString>;
4353
+ dateExpires: z.ZodOptional<z.ZodString>;
4354
+ objectID: z.ZodOptional<z.ZodString>;
4355
+ templateName: z.ZodOptional<z.ZodString>;
4356
+ userEmail: z.ZodOptional<z.ZodString>;
4357
+ webrtcUrl: z.ZodOptional<z.ZodString>;
4358
+ }, "strip", z.ZodTypeAny, {
4359
+ objectID?: string | undefined;
4360
+ agentNumber?: string | undefined;
4361
+ countryCode?: string | undefined;
4362
+ dateShared?: string | undefined;
4363
+ dateExpires?: string | undefined;
4364
+ templateName?: string | undefined;
4365
+ userEmail?: string | undefined;
4366
+ webrtcUrl?: string | undefined;
4367
+ }, {
4368
+ objectID?: string | undefined;
4369
+ agentNumber?: string | undefined;
4370
+ countryCode?: string | undefined;
4371
+ dateShared?: string | undefined;
4372
+ dateExpires?: string | undefined;
4373
+ templateName?: string | undefined;
4374
+ userEmail?: string | undefined;
4375
+ webrtcUrl?: string | undefined;
4376
+ }>, "many">;
4377
+ }, "strip", z.ZodTypeAny, {
4378
+ templates: {
4379
+ objectID?: string | undefined;
4380
+ agentNumber?: string | undefined;
4381
+ countryCode?: string | undefined;
4382
+ dateShared?: string | undefined;
4383
+ dateExpires?: string | undefined;
4384
+ templateName?: string | undefined;
4385
+ userEmail?: string | undefined;
4386
+ webrtcUrl?: string | undefined;
4387
+ }[];
4388
+ }, {
4389
+ templates: {
4390
+ objectID?: string | undefined;
4391
+ agentNumber?: string | undefined;
4392
+ countryCode?: string | undefined;
4393
+ dateShared?: string | undefined;
4394
+ dateExpires?: string | undefined;
4395
+ templateName?: string | undefined;
4396
+ userEmail?: string | undefined;
4397
+ webrtcUrl?: string | undefined;
4398
+ }[];
4399
+ }>;
2522
4400
  declare const zPatchApiLeadGenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4401
+ /**
4402
+ * Proxied response from the upstream lead-gen API (shape depends on upstream)
4403
+ */
4404
+ declare const zPatchApiLeadGenResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2523
4405
  declare const zPostApiLeadGenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4406
+ /**
4407
+ * Proxied response from the upstream lead-gen API (shape depends on upstream)
4408
+ */
4409
+ declare const zPostApiLeadGenResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2524
4410
  declare const zDeleteApiLinkShortenerQuery: z.ZodObject<{
2525
4411
  code: z.ZodString;
2526
4412
  }, "strip", z.ZodTypeAny, {
@@ -2528,6 +4414,10 @@ declare const zDeleteApiLinkShortenerQuery: z.ZodObject<{
2528
4414
  }, {
2529
4415
  code: string;
2530
4416
  }>;
4417
+ /**
4418
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
4419
+ */
4420
+ declare const zDeleteApiLinkShortenerResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2531
4421
  declare const zGetApiLinkShortenerQuery: z.ZodObject<{
2532
4422
  code: z.ZodOptional<z.ZodString>;
2533
4423
  }, "strip", z.ZodTypeAny, {
@@ -2535,6 +4425,10 @@ declare const zGetApiLinkShortenerQuery: z.ZodObject<{
2535
4425
  }, {
2536
4426
  code?: string | undefined;
2537
4427
  }>;
4428
+ /**
4429
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
4430
+ */
4431
+ declare const zGetApiLinkShortenerResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2538
4432
  declare const zPatchApiLinkShortenerBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2539
4433
  declare const zPatchApiLinkShortenerQuery: z.ZodObject<{
2540
4434
  code: z.ZodString;
@@ -2543,6 +4437,10 @@ declare const zPatchApiLinkShortenerQuery: z.ZodObject<{
2543
4437
  }, {
2544
4438
  code: string;
2545
4439
  }>;
4440
+ /**
4441
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
4442
+ */
4443
+ declare const zPatchApiLinkShortenerResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2546
4444
  declare const zPostApiLinkShortenerBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2547
4445
  declare const zPostApiLinkShortenerQuery: z.ZodObject<{
2548
4446
  code: z.ZodOptional<z.ZodString>;
@@ -2551,6 +4449,29 @@ declare const zPostApiLinkShortenerQuery: z.ZodObject<{
2551
4449
  }, {
2552
4450
  code?: string | undefined;
2553
4451
  }>;
4452
+ /**
4453
+ * Proxied response from the upstream link-shortener API (shape depends on upstream)
4454
+ */
4455
+ declare const zPostApiLinkShortenerResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4456
+ /**
4457
+ * Success
4458
+ */
4459
+ declare const zDeleteApiLiveNumbersResponse: z.ZodObject<{
4460
+ success: z.ZodBoolean;
4461
+ liveNumbers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
4462
+ totalCount: z.ZodNumber;
4463
+ timestamp: z.ZodString;
4464
+ }, "strip", z.ZodTypeAny, {
4465
+ timestamp: string;
4466
+ success: boolean;
4467
+ liveNumbers: Record<string, unknown>[];
4468
+ totalCount: number;
4469
+ }, {
4470
+ timestamp: string;
4471
+ success: boolean;
4472
+ liveNumbers: Record<string, unknown>[];
4473
+ totalCount: number;
4474
+ }>;
2554
4475
  declare const zGetApiLiveNumbersQuery: z.ZodObject<{
2555
4476
  countryCode: z.ZodOptional<z.ZodString>;
2556
4477
  }, "strip", z.ZodTypeAny, {
@@ -2558,8 +4479,35 @@ declare const zGetApiLiveNumbersQuery: z.ZodObject<{
2558
4479
  }, {
2559
4480
  countryCode?: string | undefined;
2560
4481
  }>;
4482
+ /**
4483
+ * Success
4484
+ */
4485
+ declare const zGetApiLiveNumbersResponse: z.ZodObject<{
4486
+ success: z.ZodBoolean;
4487
+ liveNumbers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
4488
+ totalCount: z.ZodNumber;
4489
+ timestamp: z.ZodString;
4490
+ }, "strip", z.ZodTypeAny, {
4491
+ timestamp: string;
4492
+ success: boolean;
4493
+ liveNumbers: Record<string, unknown>[];
4494
+ totalCount: number;
4495
+ }, {
4496
+ timestamp: string;
4497
+ success: boolean;
4498
+ liveNumbers: Record<string, unknown>[];
4499
+ totalCount: number;
4500
+ }>;
2561
4501
  declare const zPostApiOutboundCallBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4502
+ /**
4503
+ * Proxied response from the upstream agent outbound-call API (shape depends on upstream)
4504
+ */
4505
+ declare const zPostApiOutboundCallResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2562
4506
  declare const zPostApiOutboundCommunicationTextBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4507
+ /**
4508
+ * Proxied response from the upstream agent outbound-communication-text API (shape depends on upstream)
4509
+ */
4510
+ declare const zPostApiOutboundCommunicationTextResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2563
4511
  declare const zGetApiPhoneLogsByPhoneNumberPath: z.ZodObject<{
2564
4512
  phoneNumber: z.ZodString;
2565
4513
  }, "strip", z.ZodTypeAny, {
@@ -2574,6 +4522,10 @@ declare const zGetApiPhoneLogsByPhoneNumberQuery: z.ZodObject<{
2574
4522
  }, {
2575
4523
  countryCode?: string | undefined;
2576
4524
  }>;
4525
+ /**
4526
+ * Phone call logs for the requested number, proxied from the upstream agent API
4527
+ */
4528
+ declare const zGetApiPhoneLogsByPhoneNumberResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2577
4529
  declare const zGetApiRecentlyActiveNumbersQuery: z.ZodObject<{
2578
4530
  countryCode: z.ZodOptional<z.ZodString>;
2579
4531
  }, "strip", z.ZodTypeAny, {
@@ -2581,9 +4533,137 @@ declare const zGetApiRecentlyActiveNumbersQuery: z.ZodObject<{
2581
4533
  }, {
2582
4534
  countryCode?: string | undefined;
2583
4535
  }>;
4536
+ /**
4537
+ * Success
4538
+ */
4539
+ declare const zGetApiRecentlyActiveNumbersResponse: z.ZodObject<{
4540
+ success: z.ZodBoolean;
4541
+ activeNumbers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
4542
+ totalCount: z.ZodNumber;
4543
+ timestamp: z.ZodString;
4544
+ }, "strip", z.ZodTypeAny, {
4545
+ timestamp: string;
4546
+ success: boolean;
4547
+ totalCount: number;
4548
+ activeNumbers: Record<string, unknown>[];
4549
+ }, {
4550
+ timestamp: string;
4551
+ success: boolean;
4552
+ totalCount: number;
4553
+ activeNumbers: Record<string, unknown>[];
4554
+ }>;
2584
4555
  declare const zPostApiSegmentIdentifyBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4556
+ /**
4557
+ * Success
4558
+ */
4559
+ declare const zPostApiSegmentIdentifyResponse: z.ZodObject<{
4560
+ message: z.ZodString;
4561
+ }, "strip", z.ZodTypeAny, {
4562
+ message: string;
4563
+ }, {
4564
+ message: string;
4565
+ }>;
2585
4566
  declare const zPostApiSegmentProfileBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4567
+ /**
4568
+ * Success
4569
+ */
4570
+ declare const zPostApiSegmentProfileResponse: z.ZodObject<{
4571
+ canonicalUserId: z.ZodString;
4572
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4573
+ identifier: z.ZodString;
4574
+ identifiers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
4575
+ matchedKey: z.ZodString;
4576
+ message: z.ZodString;
4577
+ }, "strip", z.ZodTypeAny, {
4578
+ message: string;
4579
+ canonicalUserId: string;
4580
+ data: Record<string, unknown>;
4581
+ identifier: string;
4582
+ identifiers: Record<string, unknown>[];
4583
+ matchedKey: string;
4584
+ }, {
4585
+ message: string;
4586
+ canonicalUserId: string;
4587
+ data: Record<string, unknown>;
4588
+ identifier: string;
4589
+ identifiers: Record<string, unknown>[];
4590
+ matchedKey: string;
4591
+ }>;
4592
+ /**
4593
+ * Success
4594
+ */
4595
+ declare const zGetApiSessionResponse: z.ZodObject<{
4596
+ authenticated: z.ZodBoolean;
4597
+ user: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4598
+ timestamp: z.ZodString;
4599
+ }, "strip", z.ZodTypeAny, {
4600
+ timestamp: string;
4601
+ authenticated: boolean;
4602
+ user: Record<string, unknown>;
4603
+ }, {
4604
+ timestamp: string;
4605
+ authenticated: boolean;
4606
+ user: Record<string, unknown>;
4607
+ }>;
4608
+ /**
4609
+ * Success
4610
+ */
4611
+ declare const zGetApiSupportedRegionsResponse: z.ZodObject<{
4612
+ regions: z.ZodArray<z.ZodObject<{
4613
+ isoCountry: z.ZodOptional<z.ZodString>;
4614
+ numberType: z.ZodOptional<z.ZodString>;
4615
+ bundleSid: z.ZodOptional<z.ZodString>;
4616
+ label: z.ZodOptional<z.ZodString>;
4617
+ flag: z.ZodOptional<z.ZodString>;
4618
+ capabilities: z.ZodOptional<z.ZodString>;
4619
+ }, "strip", z.ZodTypeAny, {
4620
+ isoCountry?: string | undefined;
4621
+ numberType?: string | undefined;
4622
+ bundleSid?: string | undefined;
4623
+ label?: string | undefined;
4624
+ flag?: string | undefined;
4625
+ capabilities?: string | undefined;
4626
+ }, {
4627
+ isoCountry?: string | undefined;
4628
+ numberType?: string | undefined;
4629
+ bundleSid?: string | undefined;
4630
+ label?: string | undefined;
4631
+ flag?: string | undefined;
4632
+ capabilities?: string | undefined;
4633
+ }>, "many">;
4634
+ }, "strip", z.ZodTypeAny, {
4635
+ regions: {
4636
+ isoCountry?: string | undefined;
4637
+ numberType?: string | undefined;
4638
+ bundleSid?: string | undefined;
4639
+ label?: string | undefined;
4640
+ flag?: string | undefined;
4641
+ capabilities?: string | undefined;
4642
+ }[];
4643
+ }, {
4644
+ regions: {
4645
+ isoCountry?: string | undefined;
4646
+ numberType?: string | undefined;
4647
+ bundleSid?: string | undefined;
4648
+ label?: string | undefined;
4649
+ flag?: string | undefined;
4650
+ capabilities?: string | undefined;
4651
+ }[];
4652
+ }>;
2586
4653
  declare const zPostApiTagsBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4654
+ /**
4655
+ * Success
4656
+ */
4657
+ declare const zPostApiTagsResponse: z.ZodObject<{
4658
+ success: z.ZodBoolean;
4659
+ tag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4660
+ }, "strip", z.ZodTypeAny, {
4661
+ tag: Record<string, unknown>;
4662
+ success: boolean;
4663
+ }, {
4664
+ tag: Record<string, unknown>;
4665
+ success: boolean;
4666
+ }>;
2587
4667
  declare const zPostApiTelemetryQuery: z.ZodObject<{
2588
4668
  ddforward: z.ZodOptional<z.ZodString>;
2589
4669
  }, "strip", z.ZodTypeAny, {
@@ -2591,6 +4671,7 @@ declare const zPostApiTelemetryQuery: z.ZodObject<{
2591
4671
  }, {
2592
4672
  ddforward?: string | undefined;
2593
4673
  }>;
4674
+ declare const zPostApiTelemetryResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2594
4675
  declare const zDeleteApiTemplateQuery: z.ZodObject<{
2595
4676
  campaign: z.ZodOptional<z.ZodString>;
2596
4677
  }, "strip", z.ZodTypeAny, {
@@ -2598,152 +4679,472 @@ declare const zDeleteApiTemplateQuery: z.ZodObject<{
2598
4679
  }, {
2599
4680
  campaign?: string | undefined;
2600
4681
  }>;
4682
+ /**
4683
+ * Proxied response from the upstream template API (shape depends on upstream)
4684
+ */
4685
+ declare const zDeleteApiTemplateResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2601
4686
  declare const zPostApiTemplateAutogenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4687
+ /**
4688
+ * Proxied response from the upstream template-autogen API (shape depends on upstream)
4689
+ */
4690
+ declare const zPostApiTemplateAutogenResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2602
4691
  declare const zPostApiVerifyCheckBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4692
+ /**
4693
+ * Success
4694
+ */
4695
+ declare const zPostApiVerifyCheckResponse: z.ZodObject<{
4696
+ verified: z.ZodBoolean;
4697
+ error: z.ZodString;
4698
+ }, "strip", z.ZodTypeAny, {
4699
+ error: string;
4700
+ verified: boolean;
4701
+ }, {
4702
+ error: string;
4703
+ verified: boolean;
4704
+ }>;
2603
4705
  declare const zPostApiVerifySendBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4706
+ /**
4707
+ * Success
4708
+ */
4709
+ declare const zPostApiVerifySendResponse: z.ZodObject<{
4710
+ channel: z.ZodString;
4711
+ sid: z.ZodString;
4712
+ }, "strip", z.ZodTypeAny, {
4713
+ channel: string;
4714
+ sid: string;
4715
+ }, {
4716
+ channel: string;
4717
+ sid: string;
4718
+ }>;
4719
+ declare const zPostApiWebchatChatBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4720
+ /**
4721
+ * Proxied response from the agent chat service
4722
+ */
4723
+ declare const zPostApiWebchatChatResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4724
+ declare const zPostApiWebchatConversationBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4725
+ /**
4726
+ * Proxied response from the agent conversation service
4727
+ */
4728
+ declare const zPostApiWebchatConversationResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4729
+ declare const zGetApiWebchatConversationsTokenQuery: z.ZodObject<{
4730
+ identity: z.ZodOptional<z.ZodString>;
4731
+ }, "strip", z.ZodTypeAny, {
4732
+ identity?: string | undefined;
4733
+ }, {
4734
+ identity?: string | undefined;
4735
+ }>;
4736
+ /**
4737
+ * Proxied response from the API conversations-token service
4738
+ */
4739
+ declare const zGetApiWebchatConversationsTokenResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4740
+ declare const zPostApiWebchatConversationsTokenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4741
+ declare const zPostApiWebchatConversationsTokenQuery: z.ZodObject<{
4742
+ identity: z.ZodOptional<z.ZodString>;
4743
+ }, "strip", z.ZodTypeAny, {
4744
+ identity?: string | undefined;
4745
+ }, {
4746
+ identity?: string | undefined;
4747
+ }>;
4748
+ /**
4749
+ * Proxied response from the API conversations-token service
4750
+ */
4751
+ declare const zPostApiWebchatConversationsTokenResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4752
+ declare const zPostApiWebchatEndChatBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4753
+ /**
4754
+ * Proxied response from the agent live-numbers delete service
4755
+ */
4756
+ declare const zPostApiWebchatEndChatResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4757
+ declare const zPostApiWebchatLiveAgentWebchatConnectBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4758
+ /**
4759
+ * Proxied response from the API live-agent-webchat-connect service
4760
+ */
4761
+ declare const zPostApiWebchatLiveAgentWebchatConnectResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4762
+ declare const zPostApiWebchatLiveAgentWebchatEndBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4763
+ /**
4764
+ * Proxied response from the API live-agent-webchat-end service
4765
+ */
4766
+ declare const zPostApiWebchatLiveAgentWebchatEndResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4767
+ declare const zPostApiWebchatUiConfigBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4768
+ /**
4769
+ * Success
4770
+ */
4771
+ declare const zPostApiWebchatUiConfigResponse: z.ZodObject<{
4772
+ ui: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4773
+ linkMap: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4774
+ hideChatLink: z.ZodBoolean;
4775
+ templateObjectId: z.ZodString;
4776
+ templateLanguage: z.ZodString;
4777
+ resolvedCustomerNumber: z.ZodString;
4778
+ resolvedAgentNumber: z.ZodString;
4779
+ templateTitle: z.ZodString;
4780
+ dialogConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4781
+ dialogSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4782
+ }, "strip", z.ZodTypeAny, {
4783
+ ui: Record<string, unknown>;
4784
+ linkMap: Record<string, unknown>;
4785
+ hideChatLink: boolean;
4786
+ templateObjectId: string;
4787
+ templateLanguage: string;
4788
+ resolvedCustomerNumber: string;
4789
+ resolvedAgentNumber: string;
4790
+ templateTitle: string;
4791
+ dialogConfig: Record<string, unknown>;
4792
+ dialogSettings: Record<string, unknown>;
4793
+ }, {
4794
+ ui: Record<string, unknown>;
4795
+ linkMap: Record<string, unknown>;
4796
+ hideChatLink: boolean;
4797
+ templateObjectId: string;
4798
+ templateLanguage: string;
4799
+ resolvedCustomerNumber: string;
4800
+ resolvedAgentNumber: string;
4801
+ templateTitle: string;
4802
+ dialogConfig: Record<string, unknown>;
4803
+ dialogSettings: Record<string, unknown>;
4804
+ }>;
4805
+ declare const zGetApiWebchatVoiceTokenQuery: z.ZodObject<{
4806
+ identity: z.ZodOptional<z.ZodString>;
4807
+ }, "strip", z.ZodTypeAny, {
4808
+ identity?: string | undefined;
4809
+ }, {
4810
+ identity?: string | undefined;
4811
+ }>;
4812
+ /**
4813
+ * Proxied response from the API voice-token service
4814
+ */
4815
+ declare const zGetApiWebchatVoiceTokenResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4816
+ declare const zPostApiWebchatWebchatSendBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4817
+ /**
4818
+ * Proxied response from the agent chat service
4819
+ */
4820
+ declare const zPostApiWebchatWebchatSendResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2604
4821
 
4822
+ declare const zod_gen_zCalledByData: typeof zCalledByData;
4823
+ declare const zod_gen_zCampaign: typeof zCampaign;
4824
+ declare const zod_gen_zConversationMemoryRecallResponse: typeof zConversationMemoryRecallResponse;
2605
4825
  declare const zod_gen_zDeleteApiConversationMemoryConversationSummariesQuery: typeof zDeleteApiConversationMemoryConversationSummariesQuery;
4826
+ declare const zod_gen_zDeleteApiConversationMemoryConversationSummariesResponse: typeof zDeleteApiConversationMemoryConversationSummariesResponse;
2606
4827
  declare const zod_gen_zDeleteApiConversationMemoryIdentifiersQuery: typeof zDeleteApiConversationMemoryIdentifiersQuery;
4828
+ declare const zod_gen_zDeleteApiConversationMemoryIdentifiersResponse: typeof zDeleteApiConversationMemoryIdentifiersResponse;
2607
4829
  declare const zod_gen_zDeleteApiConversationMemoryObservationsQuery: typeof zDeleteApiConversationMemoryObservationsQuery;
4830
+ declare const zod_gen_zDeleteApiConversationMemoryObservationsResponse: typeof zDeleteApiConversationMemoryObservationsResponse;
2608
4831
  declare const zod_gen_zDeleteApiConversationMemoryProfilesQuery: typeof zDeleteApiConversationMemoryProfilesQuery;
4832
+ declare const zod_gen_zDeleteApiConversationMemoryProfilesResponse: typeof zDeleteApiConversationMemoryProfilesResponse;
2609
4833
  declare const zod_gen_zDeleteApiConversationMemoryResetQuery: typeof zDeleteApiConversationMemoryResetQuery;
4834
+ declare const zod_gen_zDeleteApiConversationMemoryResetResponse: typeof zDeleteApiConversationMemoryResetResponse;
2610
4835
  declare const zod_gen_zDeleteApiConversationalIntelligenceOperatorQuery: typeof zDeleteApiConversationalIntelligenceOperatorQuery;
4836
+ declare const zod_gen_zDeleteApiConversationalIntelligenceOperatorResponse: typeof zDeleteApiConversationalIntelligenceOperatorResponse;
4837
+ declare const zod_gen_zDeleteApiConversationsDeleteResponse: typeof zDeleteApiConversationsDeleteResponse;
4838
+ declare const zod_gen_zDeleteApiLeadGenResponse: typeof zDeleteApiLeadGenResponse;
2611
4839
  declare const zod_gen_zDeleteApiLinkShortenerQuery: typeof zDeleteApiLinkShortenerQuery;
4840
+ declare const zod_gen_zDeleteApiLinkShortenerResponse: typeof zDeleteApiLinkShortenerResponse;
4841
+ declare const zod_gen_zDeleteApiLiveNumbersResponse: typeof zDeleteApiLiveNumbersResponse;
2612
4842
  declare const zod_gen_zDeleteApiTemplateQuery: typeof zDeleteApiTemplateQuery;
4843
+ declare const zod_gen_zDeleteApiTemplateResponse: typeof zDeleteApiTemplateResponse;
4844
+ declare const zod_gen_zErrorResponse: typeof zErrorResponse;
4845
+ declare const zod_gen_zGetApiCampaignResponse: typeof zGetApiCampaignResponse;
2613
4846
  declare const zod_gen_zGetApiConversationMemoryConversationSummariesQuery: typeof zGetApiConversationMemoryConversationSummariesQuery;
4847
+ declare const zod_gen_zGetApiConversationMemoryConversationSummariesResponse: typeof zGetApiConversationMemoryConversationSummariesResponse;
2614
4848
  declare const zod_gen_zGetApiConversationMemoryIdentifiersQuery: typeof zGetApiConversationMemoryIdentifiersQuery;
4849
+ declare const zod_gen_zGetApiConversationMemoryIdentifiersResponse: typeof zGetApiConversationMemoryIdentifiersResponse;
2615
4850
  declare const zod_gen_zGetApiConversationMemoryObservationsQuery: typeof zGetApiConversationMemoryObservationsQuery;
4851
+ declare const zod_gen_zGetApiConversationMemoryObservationsResponse: typeof zGetApiConversationMemoryObservationsResponse;
2616
4852
  declare const zod_gen_zGetApiConversationMemoryProfilesQuery: typeof zGetApiConversationMemoryProfilesQuery;
4853
+ declare const zod_gen_zGetApiConversationMemoryProfilesResponse: typeof zGetApiConversationMemoryProfilesResponse;
2617
4854
  declare const zod_gen_zGetApiConversationMemoryTraitGroupsQuery: typeof zGetApiConversationMemoryTraitGroupsQuery;
4855
+ declare const zod_gen_zGetApiConversationMemoryTraitGroupsResponse: typeof zGetApiConversationMemoryTraitGroupsResponse;
2618
4856
  declare const zod_gen_zGetApiConversationMemoryTraitsQuery: typeof zGetApiConversationMemoryTraitsQuery;
4857
+ declare const zod_gen_zGetApiConversationMemoryTraitsResponse: typeof zGetApiConversationMemoryTraitsResponse;
2619
4858
  declare const zod_gen_zGetApiConversationalIntelligenceOperatorQuery: typeof zGetApiConversationalIntelligenceOperatorQuery;
4859
+ declare const zod_gen_zGetApiConversationalIntelligenceOperatorResponse: typeof zGetApiConversationalIntelligenceOperatorResponse;
4860
+ declare const zod_gen_zGetApiCountryConfigsResponse: typeof zGetApiCountryConfigsResponse;
2620
4861
  declare const zod_gen_zGetApiIntelligenceConfigurationQuery: typeof zGetApiIntelligenceConfigurationQuery;
4862
+ declare const zod_gen_zGetApiIntelligenceConfigurationResponse: typeof zGetApiIntelligenceConfigurationResponse;
2621
4863
  declare const zod_gen_zGetApiIsvLogoQuery: typeof zGetApiIsvLogoQuery;
4864
+ declare const zod_gen_zGetApiIsvLogoResponse: typeof zGetApiIsvLogoResponse;
2622
4865
  declare const zod_gen_zGetApiLeadGenQuery: typeof zGetApiLeadGenQuery;
4866
+ declare const zod_gen_zGetApiLeadGenResponse: typeof zGetApiLeadGenResponse;
2623
4867
  declare const zod_gen_zGetApiLinkShortenerQuery: typeof zGetApiLinkShortenerQuery;
4868
+ declare const zod_gen_zGetApiLinkShortenerResponse: typeof zGetApiLinkShortenerResponse;
2624
4869
  declare const zod_gen_zGetApiLiveNumbersQuery: typeof zGetApiLiveNumbersQuery;
4870
+ declare const zod_gen_zGetApiLiveNumbersResponse: typeof zGetApiLiveNumbersResponse;
2625
4871
  declare const zod_gen_zGetApiPhoneLogsByPhoneNumberPath: typeof zGetApiPhoneLogsByPhoneNumberPath;
2626
4872
  declare const zod_gen_zGetApiPhoneLogsByPhoneNumberQuery: typeof zGetApiPhoneLogsByPhoneNumberQuery;
4873
+ declare const zod_gen_zGetApiPhoneLogsByPhoneNumberResponse: typeof zGetApiPhoneLogsByPhoneNumberResponse;
2627
4874
  declare const zod_gen_zGetApiRecentlyActiveNumbersQuery: typeof zGetApiRecentlyActiveNumbersQuery;
4875
+ declare const zod_gen_zGetApiRecentlyActiveNumbersResponse: typeof zGetApiRecentlyActiveNumbersResponse;
4876
+ declare const zod_gen_zGetApiSessionResponse: typeof zGetApiSessionResponse;
4877
+ declare const zod_gen_zGetApiSupportedRegionsResponse: typeof zGetApiSupportedRegionsResponse;
4878
+ declare const zod_gen_zGetApiWebchatConversationsTokenQuery: typeof zGetApiWebchatConversationsTokenQuery;
4879
+ declare const zod_gen_zGetApiWebchatConversationsTokenResponse: typeof zGetApiWebchatConversationsTokenResponse;
4880
+ declare const zod_gen_zGetApiWebchatVoiceTokenQuery: typeof zGetApiWebchatVoiceTokenQuery;
4881
+ declare const zod_gen_zGetApiWebchatVoiceTokenResponse: typeof zGetApiWebchatVoiceTokenResponse;
4882
+ declare const zod_gen_zIntelligenceConfiguration: typeof zIntelligenceConfiguration;
4883
+ declare const zod_gen_zLockedTemplateData: typeof zLockedTemplateData;
4884
+ declare const zod_gen_zOperator: typeof zOperator;
2628
4885
  declare const zod_gen_zPatchApiConversationMemoryConversationSummariesBody: typeof zPatchApiConversationMemoryConversationSummariesBody;
2629
4886
  declare const zod_gen_zPatchApiConversationMemoryConversationSummariesQuery: typeof zPatchApiConversationMemoryConversationSummariesQuery;
4887
+ declare const zod_gen_zPatchApiConversationMemoryConversationSummariesResponse: typeof zPatchApiConversationMemoryConversationSummariesResponse;
2630
4888
  declare const zod_gen_zPatchApiConversationMemoryIdentifiersBody: typeof zPatchApiConversationMemoryIdentifiersBody;
2631
4889
  declare const zod_gen_zPatchApiConversationMemoryIdentifiersQuery: typeof zPatchApiConversationMemoryIdentifiersQuery;
4890
+ declare const zod_gen_zPatchApiConversationMemoryIdentifiersResponse: typeof zPatchApiConversationMemoryIdentifiersResponse;
2632
4891
  declare const zod_gen_zPatchApiConversationMemoryObservationsBody: typeof zPatchApiConversationMemoryObservationsBody;
2633
4892
  declare const zod_gen_zPatchApiConversationMemoryObservationsQuery: typeof zPatchApiConversationMemoryObservationsQuery;
4893
+ declare const zod_gen_zPatchApiConversationMemoryObservationsResponse: typeof zPatchApiConversationMemoryObservationsResponse;
2634
4894
  declare const zod_gen_zPatchApiConversationMemoryProfilesBody: typeof zPatchApiConversationMemoryProfilesBody;
2635
4895
  declare const zod_gen_zPatchApiConversationMemoryProfilesQuery: typeof zPatchApiConversationMemoryProfilesQuery;
4896
+ declare const zod_gen_zPatchApiConversationMemoryProfilesResponse: typeof zPatchApiConversationMemoryProfilesResponse;
2636
4897
  declare const zod_gen_zPatchApiConversationMemoryTraitGroupsBody: typeof zPatchApiConversationMemoryTraitGroupsBody;
4898
+ declare const zod_gen_zPatchApiConversationMemoryTraitGroupsResponse: typeof zPatchApiConversationMemoryTraitGroupsResponse;
2637
4899
  declare const zod_gen_zPatchApiLeadGenBody: typeof zPatchApiLeadGenBody;
4900
+ declare const zod_gen_zPatchApiLeadGenResponse: typeof zPatchApiLeadGenResponse;
2638
4901
  declare const zod_gen_zPatchApiLinkShortenerBody: typeof zPatchApiLinkShortenerBody;
2639
4902
  declare const zod_gen_zPatchApiLinkShortenerQuery: typeof zPatchApiLinkShortenerQuery;
4903
+ declare const zod_gen_zPatchApiLinkShortenerResponse: typeof zPatchApiLinkShortenerResponse;
4904
+ declare const zod_gen_zPostApiAlgoliaSecuredKeyResponse: typeof zPostApiAlgoliaSecuredKeyResponse;
2640
4905
  declare const zod_gen_zPostApiConversationMemoryConversationSummariesBody: typeof zPostApiConversationMemoryConversationSummariesBody;
4906
+ declare const zod_gen_zPostApiConversationMemoryConversationSummariesResponse: typeof zPostApiConversationMemoryConversationSummariesResponse;
2641
4907
  declare const zod_gen_zPostApiConversationMemoryIdentifiersBody: typeof zPostApiConversationMemoryIdentifiersBody;
2642
- declare const zod_gen_zPostApiConversationMemoryIdentifiersQuery: typeof zPostApiConversationMemoryIdentifiersQuery;
4908
+ declare const zod_gen_zPostApiConversationMemoryIdentifiersResponse: typeof zPostApiConversationMemoryIdentifiersResponse;
2643
4909
  declare const zod_gen_zPostApiConversationMemoryObservationsBody: typeof zPostApiConversationMemoryObservationsBody;
2644
- declare const zod_gen_zPostApiConversationMemoryObservationsQuery: typeof zPostApiConversationMemoryObservationsQuery;
4910
+ declare const zod_gen_zPostApiConversationMemoryObservationsResponse: typeof zPostApiConversationMemoryObservationsResponse;
2645
4911
  declare const zod_gen_zPostApiConversationMemoryProfilesBody: typeof zPostApiConversationMemoryProfilesBody;
2646
4912
  declare const zod_gen_zPostApiConversationMemoryProfilesLookupBody: typeof zPostApiConversationMemoryProfilesLookupBody;
4913
+ declare const zod_gen_zPostApiConversationMemoryProfilesLookupResponse: typeof zPostApiConversationMemoryProfilesLookupResponse;
2647
4914
  declare const zod_gen_zPostApiConversationMemoryProfilesQuery: typeof zPostApiConversationMemoryProfilesQuery;
4915
+ declare const zod_gen_zPostApiConversationMemoryProfilesResponse: typeof zPostApiConversationMemoryProfilesResponse;
2648
4916
  declare const zod_gen_zPostApiConversationMemoryRecallBody: typeof zPostApiConversationMemoryRecallBody;
4917
+ declare const zod_gen_zPostApiConversationMemoryRecallResponse: typeof zPostApiConversationMemoryRecallResponse;
2649
4918
  declare const zod_gen_zPostApiConversationMemoryTraitGroupsBody: typeof zPostApiConversationMemoryTraitGroupsBody;
4919
+ declare const zod_gen_zPostApiConversationMemoryTraitGroupsResponse: typeof zPostApiConversationMemoryTraitGroupsResponse;
2650
4920
  declare const zod_gen_zPostApiConversationalIntelligenceOperatorBody: typeof zPostApiConversationalIntelligenceOperatorBody;
2651
4921
  declare const zod_gen_zPostApiConversationalIntelligenceOperatorQuery: typeof zPostApiConversationalIntelligenceOperatorQuery;
4922
+ declare const zod_gen_zPostApiConversationalIntelligenceOperatorResponse: typeof zPostApiConversationalIntelligenceOperatorResponse;
2652
4923
  declare const zod_gen_zPostApiConversationsSaveBody: typeof zPostApiConversationsSaveBody;
4924
+ declare const zod_gen_zPostApiConversationsSaveResponse: typeof zPostApiConversationsSaveResponse;
2653
4925
  declare const zod_gen_zPostApiConversationsShareBody: typeof zPostApiConversationsShareBody;
4926
+ declare const zod_gen_zPostApiConversationsShareResponse: typeof zPostApiConversationsShareResponse;
2654
4927
  declare const zod_gen_zPostApiCreateExternalFlexConnectionBody: typeof zPostApiCreateExternalFlexConnectionBody;
4928
+ declare const zod_gen_zPostApiCreateExternalFlexConnectionResponse: typeof zPostApiCreateExternalFlexConnectionResponse;
2655
4929
  declare const zod_gen_zPostApiEnhancePromptBody: typeof zPostApiEnhancePromptBody;
4930
+ declare const zod_gen_zPostApiEnhancePromptResponse: typeof zPostApiEnhancePromptResponse;
2656
4931
  declare const zod_gen_zPostApiGenerateTagsBody: typeof zPostApiGenerateTagsBody;
4932
+ declare const zod_gen_zPostApiGenerateTagsResponse: typeof zPostApiGenerateTagsResponse;
2657
4933
  declare const zod_gen_zPostApiIncrementViewCountBody: typeof zPostApiIncrementViewCountBody;
4934
+ declare const zod_gen_zPostApiIncrementViewCountResponse: typeof zPostApiIncrementViewCountResponse;
2658
4935
  declare const zod_gen_zPostApiIntelligenceConfigurationBody: typeof zPostApiIntelligenceConfigurationBody;
4936
+ declare const zod_gen_zPostApiIntelligenceConfigurationResponse: typeof zPostApiIntelligenceConfigurationResponse;
2659
4937
  declare const zod_gen_zPostApiLeadGenBody: typeof zPostApiLeadGenBody;
4938
+ declare const zod_gen_zPostApiLeadGenResponse: typeof zPostApiLeadGenResponse;
2660
4939
  declare const zod_gen_zPostApiLinkShortenerBody: typeof zPostApiLinkShortenerBody;
2661
4940
  declare const zod_gen_zPostApiLinkShortenerQuery: typeof zPostApiLinkShortenerQuery;
4941
+ declare const zod_gen_zPostApiLinkShortenerResponse: typeof zPostApiLinkShortenerResponse;
2662
4942
  declare const zod_gen_zPostApiOutboundCallBody: typeof zPostApiOutboundCallBody;
4943
+ declare const zod_gen_zPostApiOutboundCallResponse: typeof zPostApiOutboundCallResponse;
2663
4944
  declare const zod_gen_zPostApiOutboundCommunicationTextBody: typeof zPostApiOutboundCommunicationTextBody;
4945
+ declare const zod_gen_zPostApiOutboundCommunicationTextResponse: typeof zPostApiOutboundCommunicationTextResponse;
2664
4946
  declare const zod_gen_zPostApiSegmentIdentifyBody: typeof zPostApiSegmentIdentifyBody;
4947
+ declare const zod_gen_zPostApiSegmentIdentifyResponse: typeof zPostApiSegmentIdentifyResponse;
2665
4948
  declare const zod_gen_zPostApiSegmentProfileBody: typeof zPostApiSegmentProfileBody;
4949
+ declare const zod_gen_zPostApiSegmentProfileResponse: typeof zPostApiSegmentProfileResponse;
2666
4950
  declare const zod_gen_zPostApiTagsBody: typeof zPostApiTagsBody;
4951
+ declare const zod_gen_zPostApiTagsResponse: typeof zPostApiTagsResponse;
2667
4952
  declare const zod_gen_zPostApiTelemetryQuery: typeof zPostApiTelemetryQuery;
4953
+ declare const zod_gen_zPostApiTelemetryResponse: typeof zPostApiTelemetryResponse;
2668
4954
  declare const zod_gen_zPostApiTemplateAutogenBody: typeof zPostApiTemplateAutogenBody;
4955
+ declare const zod_gen_zPostApiTemplateAutogenResponse: typeof zPostApiTemplateAutogenResponse;
2669
4956
  declare const zod_gen_zPostApiVerifyCheckBody: typeof zPostApiVerifyCheckBody;
4957
+ declare const zod_gen_zPostApiVerifyCheckResponse: typeof zPostApiVerifyCheckResponse;
2670
4958
  declare const zod_gen_zPostApiVerifySendBody: typeof zPostApiVerifySendBody;
4959
+ declare const zod_gen_zPostApiVerifySendResponse: typeof zPostApiVerifySendResponse;
4960
+ declare const zod_gen_zPostApiWebchatChatBody: typeof zPostApiWebchatChatBody;
4961
+ declare const zod_gen_zPostApiWebchatChatResponse: typeof zPostApiWebchatChatResponse;
4962
+ declare const zod_gen_zPostApiWebchatConversationBody: typeof zPostApiWebchatConversationBody;
4963
+ declare const zod_gen_zPostApiWebchatConversationResponse: typeof zPostApiWebchatConversationResponse;
4964
+ declare const zod_gen_zPostApiWebchatConversationsTokenBody: typeof zPostApiWebchatConversationsTokenBody;
4965
+ declare const zod_gen_zPostApiWebchatConversationsTokenQuery: typeof zPostApiWebchatConversationsTokenQuery;
4966
+ declare const zod_gen_zPostApiWebchatConversationsTokenResponse: typeof zPostApiWebchatConversationsTokenResponse;
4967
+ declare const zod_gen_zPostApiWebchatEndChatBody: typeof zPostApiWebchatEndChatBody;
4968
+ declare const zod_gen_zPostApiWebchatEndChatResponse: typeof zPostApiWebchatEndChatResponse;
4969
+ declare const zod_gen_zPostApiWebchatLiveAgentWebchatConnectBody: typeof zPostApiWebchatLiveAgentWebchatConnectBody;
4970
+ declare const zod_gen_zPostApiWebchatLiveAgentWebchatConnectResponse: typeof zPostApiWebchatLiveAgentWebchatConnectResponse;
4971
+ declare const zod_gen_zPostApiWebchatLiveAgentWebchatEndBody: typeof zPostApiWebchatLiveAgentWebchatEndBody;
4972
+ declare const zod_gen_zPostApiWebchatLiveAgentWebchatEndResponse: typeof zPostApiWebchatLiveAgentWebchatEndResponse;
4973
+ declare const zod_gen_zPostApiWebchatUiConfigBody: typeof zPostApiWebchatUiConfigBody;
4974
+ declare const zod_gen_zPostApiWebchatUiConfigResponse: typeof zPostApiWebchatUiConfigResponse;
4975
+ declare const zod_gen_zPostApiWebchatWebchatSendBody: typeof zPostApiWebchatWebchatSendBody;
4976
+ declare const zod_gen_zPostApiWebchatWebchatSendResponse: typeof zPostApiWebchatWebchatSendResponse;
2671
4977
  declare const zod_gen_zPutApiConversationalIntelligenceOperatorBody: typeof zPutApiConversationalIntelligenceOperatorBody;
2672
4978
  declare const zod_gen_zPutApiConversationalIntelligenceOperatorQuery: typeof zPutApiConversationalIntelligenceOperatorQuery;
4979
+ declare const zod_gen_zPutApiConversationalIntelligenceOperatorResponse: typeof zPutApiConversationalIntelligenceOperatorResponse;
2673
4980
  declare const zod_gen_zPutApiIntelligenceConfigurationBody: typeof zPutApiIntelligenceConfigurationBody;
4981
+ declare const zod_gen_zPutApiIntelligenceConfigurationResponse: typeof zPutApiIntelligenceConfigurationResponse;
4982
+ declare const zod_gen_zSupportedRegion: typeof zSupportedRegion;
2674
4983
  declare namespace zod_gen {
2675
4984
  export {
4985
+ zod_gen_zCalledByData as zCalledByData,
4986
+ zod_gen_zCampaign as zCampaign,
4987
+ zod_gen_zConversationMemoryRecallResponse as zConversationMemoryRecallResponse,
2676
4988
  zod_gen_zDeleteApiConversationMemoryConversationSummariesQuery as zDeleteApiConversationMemoryConversationSummariesQuery,
4989
+ zod_gen_zDeleteApiConversationMemoryConversationSummariesResponse as zDeleteApiConversationMemoryConversationSummariesResponse,
2677
4990
  zod_gen_zDeleteApiConversationMemoryIdentifiersQuery as zDeleteApiConversationMemoryIdentifiersQuery,
4991
+ zod_gen_zDeleteApiConversationMemoryIdentifiersResponse as zDeleteApiConversationMemoryIdentifiersResponse,
2678
4992
  zod_gen_zDeleteApiConversationMemoryObservationsQuery as zDeleteApiConversationMemoryObservationsQuery,
4993
+ zod_gen_zDeleteApiConversationMemoryObservationsResponse as zDeleteApiConversationMemoryObservationsResponse,
2679
4994
  zod_gen_zDeleteApiConversationMemoryProfilesQuery as zDeleteApiConversationMemoryProfilesQuery,
4995
+ zod_gen_zDeleteApiConversationMemoryProfilesResponse as zDeleteApiConversationMemoryProfilesResponse,
2680
4996
  zod_gen_zDeleteApiConversationMemoryResetQuery as zDeleteApiConversationMemoryResetQuery,
4997
+ zod_gen_zDeleteApiConversationMemoryResetResponse as zDeleteApiConversationMemoryResetResponse,
2681
4998
  zod_gen_zDeleteApiConversationalIntelligenceOperatorQuery as zDeleteApiConversationalIntelligenceOperatorQuery,
4999
+ zod_gen_zDeleteApiConversationalIntelligenceOperatorResponse as zDeleteApiConversationalIntelligenceOperatorResponse,
5000
+ zod_gen_zDeleteApiConversationsDeleteResponse as zDeleteApiConversationsDeleteResponse,
5001
+ zod_gen_zDeleteApiLeadGenResponse as zDeleteApiLeadGenResponse,
2682
5002
  zod_gen_zDeleteApiLinkShortenerQuery as zDeleteApiLinkShortenerQuery,
5003
+ zod_gen_zDeleteApiLinkShortenerResponse as zDeleteApiLinkShortenerResponse,
5004
+ zod_gen_zDeleteApiLiveNumbersResponse as zDeleteApiLiveNumbersResponse,
2683
5005
  zod_gen_zDeleteApiTemplateQuery as zDeleteApiTemplateQuery,
5006
+ zod_gen_zDeleteApiTemplateResponse as zDeleteApiTemplateResponse,
5007
+ zod_gen_zErrorResponse as zErrorResponse,
5008
+ zod_gen_zGetApiCampaignResponse as zGetApiCampaignResponse,
2684
5009
  zod_gen_zGetApiConversationMemoryConversationSummariesQuery as zGetApiConversationMemoryConversationSummariesQuery,
5010
+ zod_gen_zGetApiConversationMemoryConversationSummariesResponse as zGetApiConversationMemoryConversationSummariesResponse,
2685
5011
  zod_gen_zGetApiConversationMemoryIdentifiersQuery as zGetApiConversationMemoryIdentifiersQuery,
5012
+ zod_gen_zGetApiConversationMemoryIdentifiersResponse as zGetApiConversationMemoryIdentifiersResponse,
2686
5013
  zod_gen_zGetApiConversationMemoryObservationsQuery as zGetApiConversationMemoryObservationsQuery,
5014
+ zod_gen_zGetApiConversationMemoryObservationsResponse as zGetApiConversationMemoryObservationsResponse,
2687
5015
  zod_gen_zGetApiConversationMemoryProfilesQuery as zGetApiConversationMemoryProfilesQuery,
5016
+ zod_gen_zGetApiConversationMemoryProfilesResponse as zGetApiConversationMemoryProfilesResponse,
2688
5017
  zod_gen_zGetApiConversationMemoryTraitGroupsQuery as zGetApiConversationMemoryTraitGroupsQuery,
5018
+ zod_gen_zGetApiConversationMemoryTraitGroupsResponse as zGetApiConversationMemoryTraitGroupsResponse,
2689
5019
  zod_gen_zGetApiConversationMemoryTraitsQuery as zGetApiConversationMemoryTraitsQuery,
5020
+ zod_gen_zGetApiConversationMemoryTraitsResponse as zGetApiConversationMemoryTraitsResponse,
2690
5021
  zod_gen_zGetApiConversationalIntelligenceOperatorQuery as zGetApiConversationalIntelligenceOperatorQuery,
5022
+ zod_gen_zGetApiConversationalIntelligenceOperatorResponse as zGetApiConversationalIntelligenceOperatorResponse,
5023
+ zod_gen_zGetApiCountryConfigsResponse as zGetApiCountryConfigsResponse,
2691
5024
  zod_gen_zGetApiIntelligenceConfigurationQuery as zGetApiIntelligenceConfigurationQuery,
5025
+ zod_gen_zGetApiIntelligenceConfigurationResponse as zGetApiIntelligenceConfigurationResponse,
2692
5026
  zod_gen_zGetApiIsvLogoQuery as zGetApiIsvLogoQuery,
5027
+ zod_gen_zGetApiIsvLogoResponse as zGetApiIsvLogoResponse,
2693
5028
  zod_gen_zGetApiLeadGenQuery as zGetApiLeadGenQuery,
5029
+ zod_gen_zGetApiLeadGenResponse as zGetApiLeadGenResponse,
2694
5030
  zod_gen_zGetApiLinkShortenerQuery as zGetApiLinkShortenerQuery,
5031
+ zod_gen_zGetApiLinkShortenerResponse as zGetApiLinkShortenerResponse,
2695
5032
  zod_gen_zGetApiLiveNumbersQuery as zGetApiLiveNumbersQuery,
5033
+ zod_gen_zGetApiLiveNumbersResponse as zGetApiLiveNumbersResponse,
2696
5034
  zod_gen_zGetApiPhoneLogsByPhoneNumberPath as zGetApiPhoneLogsByPhoneNumberPath,
2697
5035
  zod_gen_zGetApiPhoneLogsByPhoneNumberQuery as zGetApiPhoneLogsByPhoneNumberQuery,
5036
+ zod_gen_zGetApiPhoneLogsByPhoneNumberResponse as zGetApiPhoneLogsByPhoneNumberResponse,
2698
5037
  zod_gen_zGetApiRecentlyActiveNumbersQuery as zGetApiRecentlyActiveNumbersQuery,
5038
+ zod_gen_zGetApiRecentlyActiveNumbersResponse as zGetApiRecentlyActiveNumbersResponse,
5039
+ zod_gen_zGetApiSessionResponse as zGetApiSessionResponse,
5040
+ zod_gen_zGetApiSupportedRegionsResponse as zGetApiSupportedRegionsResponse,
5041
+ zod_gen_zGetApiWebchatConversationsTokenQuery as zGetApiWebchatConversationsTokenQuery,
5042
+ zod_gen_zGetApiWebchatConversationsTokenResponse as zGetApiWebchatConversationsTokenResponse,
5043
+ zod_gen_zGetApiWebchatVoiceTokenQuery as zGetApiWebchatVoiceTokenQuery,
5044
+ zod_gen_zGetApiWebchatVoiceTokenResponse as zGetApiWebchatVoiceTokenResponse,
5045
+ zod_gen_zIntelligenceConfiguration as zIntelligenceConfiguration,
5046
+ zod_gen_zLockedTemplateData as zLockedTemplateData,
5047
+ zod_gen_zOperator as zOperator,
2699
5048
  zod_gen_zPatchApiConversationMemoryConversationSummariesBody as zPatchApiConversationMemoryConversationSummariesBody,
2700
5049
  zod_gen_zPatchApiConversationMemoryConversationSummariesQuery as zPatchApiConversationMemoryConversationSummariesQuery,
5050
+ zod_gen_zPatchApiConversationMemoryConversationSummariesResponse as zPatchApiConversationMemoryConversationSummariesResponse,
2701
5051
  zod_gen_zPatchApiConversationMemoryIdentifiersBody as zPatchApiConversationMemoryIdentifiersBody,
2702
5052
  zod_gen_zPatchApiConversationMemoryIdentifiersQuery as zPatchApiConversationMemoryIdentifiersQuery,
5053
+ zod_gen_zPatchApiConversationMemoryIdentifiersResponse as zPatchApiConversationMemoryIdentifiersResponse,
2703
5054
  zod_gen_zPatchApiConversationMemoryObservationsBody as zPatchApiConversationMemoryObservationsBody,
2704
5055
  zod_gen_zPatchApiConversationMemoryObservationsQuery as zPatchApiConversationMemoryObservationsQuery,
5056
+ zod_gen_zPatchApiConversationMemoryObservationsResponse as zPatchApiConversationMemoryObservationsResponse,
2705
5057
  zod_gen_zPatchApiConversationMemoryProfilesBody as zPatchApiConversationMemoryProfilesBody,
2706
5058
  zod_gen_zPatchApiConversationMemoryProfilesQuery as zPatchApiConversationMemoryProfilesQuery,
5059
+ zod_gen_zPatchApiConversationMemoryProfilesResponse as zPatchApiConversationMemoryProfilesResponse,
2707
5060
  zod_gen_zPatchApiConversationMemoryTraitGroupsBody as zPatchApiConversationMemoryTraitGroupsBody,
5061
+ zod_gen_zPatchApiConversationMemoryTraitGroupsResponse as zPatchApiConversationMemoryTraitGroupsResponse,
2708
5062
  zod_gen_zPatchApiLeadGenBody as zPatchApiLeadGenBody,
5063
+ zod_gen_zPatchApiLeadGenResponse as zPatchApiLeadGenResponse,
2709
5064
  zod_gen_zPatchApiLinkShortenerBody as zPatchApiLinkShortenerBody,
2710
5065
  zod_gen_zPatchApiLinkShortenerQuery as zPatchApiLinkShortenerQuery,
5066
+ zod_gen_zPatchApiLinkShortenerResponse as zPatchApiLinkShortenerResponse,
5067
+ zod_gen_zPostApiAlgoliaSecuredKeyResponse as zPostApiAlgoliaSecuredKeyResponse,
2711
5068
  zod_gen_zPostApiConversationMemoryConversationSummariesBody as zPostApiConversationMemoryConversationSummariesBody,
5069
+ zod_gen_zPostApiConversationMemoryConversationSummariesResponse as zPostApiConversationMemoryConversationSummariesResponse,
2712
5070
  zod_gen_zPostApiConversationMemoryIdentifiersBody as zPostApiConversationMemoryIdentifiersBody,
2713
- zod_gen_zPostApiConversationMemoryIdentifiersQuery as zPostApiConversationMemoryIdentifiersQuery,
5071
+ zod_gen_zPostApiConversationMemoryIdentifiersResponse as zPostApiConversationMemoryIdentifiersResponse,
2714
5072
  zod_gen_zPostApiConversationMemoryObservationsBody as zPostApiConversationMemoryObservationsBody,
2715
- zod_gen_zPostApiConversationMemoryObservationsQuery as zPostApiConversationMemoryObservationsQuery,
5073
+ zod_gen_zPostApiConversationMemoryObservationsResponse as zPostApiConversationMemoryObservationsResponse,
2716
5074
  zod_gen_zPostApiConversationMemoryProfilesBody as zPostApiConversationMemoryProfilesBody,
2717
5075
  zod_gen_zPostApiConversationMemoryProfilesLookupBody as zPostApiConversationMemoryProfilesLookupBody,
5076
+ zod_gen_zPostApiConversationMemoryProfilesLookupResponse as zPostApiConversationMemoryProfilesLookupResponse,
2718
5077
  zod_gen_zPostApiConversationMemoryProfilesQuery as zPostApiConversationMemoryProfilesQuery,
5078
+ zod_gen_zPostApiConversationMemoryProfilesResponse as zPostApiConversationMemoryProfilesResponse,
2719
5079
  zod_gen_zPostApiConversationMemoryRecallBody as zPostApiConversationMemoryRecallBody,
5080
+ zod_gen_zPostApiConversationMemoryRecallResponse as zPostApiConversationMemoryRecallResponse,
2720
5081
  zod_gen_zPostApiConversationMemoryTraitGroupsBody as zPostApiConversationMemoryTraitGroupsBody,
5082
+ zod_gen_zPostApiConversationMemoryTraitGroupsResponse as zPostApiConversationMemoryTraitGroupsResponse,
2721
5083
  zod_gen_zPostApiConversationalIntelligenceOperatorBody as zPostApiConversationalIntelligenceOperatorBody,
2722
5084
  zod_gen_zPostApiConversationalIntelligenceOperatorQuery as zPostApiConversationalIntelligenceOperatorQuery,
5085
+ zod_gen_zPostApiConversationalIntelligenceOperatorResponse as zPostApiConversationalIntelligenceOperatorResponse,
2723
5086
  zod_gen_zPostApiConversationsSaveBody as zPostApiConversationsSaveBody,
5087
+ zod_gen_zPostApiConversationsSaveResponse as zPostApiConversationsSaveResponse,
2724
5088
  zod_gen_zPostApiConversationsShareBody as zPostApiConversationsShareBody,
5089
+ zod_gen_zPostApiConversationsShareResponse as zPostApiConversationsShareResponse,
2725
5090
  zod_gen_zPostApiCreateExternalFlexConnectionBody as zPostApiCreateExternalFlexConnectionBody,
5091
+ zod_gen_zPostApiCreateExternalFlexConnectionResponse as zPostApiCreateExternalFlexConnectionResponse,
2726
5092
  zod_gen_zPostApiEnhancePromptBody as zPostApiEnhancePromptBody,
5093
+ zod_gen_zPostApiEnhancePromptResponse as zPostApiEnhancePromptResponse,
2727
5094
  zod_gen_zPostApiGenerateTagsBody as zPostApiGenerateTagsBody,
5095
+ zod_gen_zPostApiGenerateTagsResponse as zPostApiGenerateTagsResponse,
2728
5096
  zod_gen_zPostApiIncrementViewCountBody as zPostApiIncrementViewCountBody,
5097
+ zod_gen_zPostApiIncrementViewCountResponse as zPostApiIncrementViewCountResponse,
2729
5098
  zod_gen_zPostApiIntelligenceConfigurationBody as zPostApiIntelligenceConfigurationBody,
5099
+ zod_gen_zPostApiIntelligenceConfigurationResponse as zPostApiIntelligenceConfigurationResponse,
2730
5100
  zod_gen_zPostApiLeadGenBody as zPostApiLeadGenBody,
5101
+ zod_gen_zPostApiLeadGenResponse as zPostApiLeadGenResponse,
2731
5102
  zod_gen_zPostApiLinkShortenerBody as zPostApiLinkShortenerBody,
2732
5103
  zod_gen_zPostApiLinkShortenerQuery as zPostApiLinkShortenerQuery,
5104
+ zod_gen_zPostApiLinkShortenerResponse as zPostApiLinkShortenerResponse,
2733
5105
  zod_gen_zPostApiOutboundCallBody as zPostApiOutboundCallBody,
5106
+ zod_gen_zPostApiOutboundCallResponse as zPostApiOutboundCallResponse,
2734
5107
  zod_gen_zPostApiOutboundCommunicationTextBody as zPostApiOutboundCommunicationTextBody,
5108
+ zod_gen_zPostApiOutboundCommunicationTextResponse as zPostApiOutboundCommunicationTextResponse,
2735
5109
  zod_gen_zPostApiSegmentIdentifyBody as zPostApiSegmentIdentifyBody,
5110
+ zod_gen_zPostApiSegmentIdentifyResponse as zPostApiSegmentIdentifyResponse,
2736
5111
  zod_gen_zPostApiSegmentProfileBody as zPostApiSegmentProfileBody,
5112
+ zod_gen_zPostApiSegmentProfileResponse as zPostApiSegmentProfileResponse,
2737
5113
  zod_gen_zPostApiTagsBody as zPostApiTagsBody,
5114
+ zod_gen_zPostApiTagsResponse as zPostApiTagsResponse,
2738
5115
  zod_gen_zPostApiTelemetryQuery as zPostApiTelemetryQuery,
5116
+ zod_gen_zPostApiTelemetryResponse as zPostApiTelemetryResponse,
2739
5117
  zod_gen_zPostApiTemplateAutogenBody as zPostApiTemplateAutogenBody,
5118
+ zod_gen_zPostApiTemplateAutogenResponse as zPostApiTemplateAutogenResponse,
2740
5119
  zod_gen_zPostApiVerifyCheckBody as zPostApiVerifyCheckBody,
5120
+ zod_gen_zPostApiVerifyCheckResponse as zPostApiVerifyCheckResponse,
2741
5121
  zod_gen_zPostApiVerifySendBody as zPostApiVerifySendBody,
5122
+ zod_gen_zPostApiVerifySendResponse as zPostApiVerifySendResponse,
5123
+ zod_gen_zPostApiWebchatChatBody as zPostApiWebchatChatBody,
5124
+ zod_gen_zPostApiWebchatChatResponse as zPostApiWebchatChatResponse,
5125
+ zod_gen_zPostApiWebchatConversationBody as zPostApiWebchatConversationBody,
5126
+ zod_gen_zPostApiWebchatConversationResponse as zPostApiWebchatConversationResponse,
5127
+ zod_gen_zPostApiWebchatConversationsTokenBody as zPostApiWebchatConversationsTokenBody,
5128
+ zod_gen_zPostApiWebchatConversationsTokenQuery as zPostApiWebchatConversationsTokenQuery,
5129
+ zod_gen_zPostApiWebchatConversationsTokenResponse as zPostApiWebchatConversationsTokenResponse,
5130
+ zod_gen_zPostApiWebchatEndChatBody as zPostApiWebchatEndChatBody,
5131
+ zod_gen_zPostApiWebchatEndChatResponse as zPostApiWebchatEndChatResponse,
5132
+ zod_gen_zPostApiWebchatLiveAgentWebchatConnectBody as zPostApiWebchatLiveAgentWebchatConnectBody,
5133
+ zod_gen_zPostApiWebchatLiveAgentWebchatConnectResponse as zPostApiWebchatLiveAgentWebchatConnectResponse,
5134
+ zod_gen_zPostApiWebchatLiveAgentWebchatEndBody as zPostApiWebchatLiveAgentWebchatEndBody,
5135
+ zod_gen_zPostApiWebchatLiveAgentWebchatEndResponse as zPostApiWebchatLiveAgentWebchatEndResponse,
5136
+ zod_gen_zPostApiWebchatUiConfigBody as zPostApiWebchatUiConfigBody,
5137
+ zod_gen_zPostApiWebchatUiConfigResponse as zPostApiWebchatUiConfigResponse,
5138
+ zod_gen_zPostApiWebchatWebchatSendBody as zPostApiWebchatWebchatSendBody,
5139
+ zod_gen_zPostApiWebchatWebchatSendResponse as zPostApiWebchatWebchatSendResponse,
2742
5140
  zod_gen_zPutApiConversationalIntelligenceOperatorBody as zPutApiConversationalIntelligenceOperatorBody,
2743
5141
  zod_gen_zPutApiConversationalIntelligenceOperatorQuery as zPutApiConversationalIntelligenceOperatorQuery,
5142
+ zod_gen_zPutApiConversationalIntelligenceOperatorResponse as zPutApiConversationalIntelligenceOperatorResponse,
2744
5143
  zod_gen_zPutApiIntelligenceConfigurationBody as zPutApiIntelligenceConfigurationBody,
5144
+ zod_gen_zPutApiIntelligenceConfigurationResponse as zPutApiIntelligenceConfigurationResponse,
5145
+ zod_gen_zSupportedRegion as zSupportedRegion,
2745
5146
  };
2746
5147
  }
2747
5148
 
2748
- export { createRampSiteClient, deleteApiConversationMemoryConversationSummaries, deleteApiConversationMemoryIdentifiers, deleteApiConversationMemoryObservations, deleteApiConversationMemoryProfiles, deleteApiConversationMemoryReset, deleteApiConversationalIntelligenceOperator, deleteApiConversationsDelete, deleteApiLeadGen, deleteApiLinkShortener, deleteApiLiveNumbers, deleteApiTemplate, getApiCampaign, getApiConversationMemoryConversationSummaries, getApiConversationMemoryIdentifiers, getApiConversationMemoryObservations, getApiConversationMemoryProfiles, getApiConversationMemoryTraitGroups, getApiConversationMemoryTraits, getApiConversationalIntelligenceOperator, getApiCountryConfigs, getApiIntelligenceConfiguration, getApiInternalNav, getApiIsvLogo, getApiLeadGen, getApiLinkShortener, getApiLiveNumbers, getApiPhoneLogsByPhoneNumber, getApiRecentlyActiveNumbers, getApiSession, getApiSupportedRegions, patchApiConversationMemoryConversationSummaries, patchApiConversationMemoryIdentifiers, patchApiConversationMemoryObservations, patchApiConversationMemoryProfiles, patchApiConversationMemoryTraitGroups, patchApiLeadGen, patchApiLinkShortener, postApiAlgoliaSecuredKey, postApiConversationMemoryConversationSummaries, postApiConversationMemoryIdentifiers, postApiConversationMemoryObservations, postApiConversationMemoryProfiles, postApiConversationMemoryProfilesLookup, postApiConversationMemoryRecall, postApiConversationMemoryTraitGroups, postApiConversationalIntelligenceOperator, postApiConversationsSave, postApiConversationsShare, postApiCreateExternalFlexConnection, postApiEnhancePrompt, postApiGenerateTags, postApiIncrementViewCount, postApiIntelligenceConfiguration, postApiLeadGen, postApiLinkShortener, postApiOutboundCall, postApiOutboundCommunicationText, postApiSegmentIdentify, postApiSegmentProfile, postApiTags, postApiTelemetry, postApiTemplateAutogen, postApiVerifyCheck, postApiVerifySend, putApiConversationalIntelligenceOperator, putApiIntelligenceConfiguration, zod_gen as schemas };
2749
- export type { Client, ClientOptions, Config, CreateRampSiteClientOptions, DeleteApiConversationMemoryConversationSummariesData, DeleteApiConversationMemoryConversationSummariesErrors, DeleteApiConversationMemoryConversationSummariesResponses, DeleteApiConversationMemoryIdentifiersData, DeleteApiConversationMemoryIdentifiersErrors, DeleteApiConversationMemoryIdentifiersResponses, DeleteApiConversationMemoryObservationsData, DeleteApiConversationMemoryObservationsErrors, DeleteApiConversationMemoryObservationsResponses, DeleteApiConversationMemoryProfilesData, DeleteApiConversationMemoryProfilesErrors, DeleteApiConversationMemoryProfilesResponses, DeleteApiConversationMemoryResetData, DeleteApiConversationMemoryResetErrors, DeleteApiConversationMemoryResetResponses, DeleteApiConversationalIntelligenceOperatorData, DeleteApiConversationalIntelligenceOperatorErrors, DeleteApiConversationalIntelligenceOperatorResponses, DeleteApiConversationsDeleteData, DeleteApiConversationsDeleteErrors, DeleteApiConversationsDeleteResponses, DeleteApiLeadGenData, DeleteApiLeadGenErrors, DeleteApiLeadGenResponses, DeleteApiLinkShortenerData, DeleteApiLinkShortenerErrors, DeleteApiLinkShortenerResponses, DeleteApiLiveNumbersData, DeleteApiLiveNumbersErrors, DeleteApiLiveNumbersResponses, DeleteApiTemplateData, DeleteApiTemplateErrors, DeleteApiTemplateResponses, GetApiCampaignData, GetApiCampaignErrors, GetApiCampaignResponses, GetApiConversationMemoryConversationSummariesData, GetApiConversationMemoryConversationSummariesErrors, GetApiConversationMemoryConversationSummariesResponses, GetApiConversationMemoryIdentifiersData, GetApiConversationMemoryIdentifiersErrors, GetApiConversationMemoryIdentifiersResponses, GetApiConversationMemoryObservationsData, GetApiConversationMemoryObservationsErrors, GetApiConversationMemoryObservationsResponses, GetApiConversationMemoryProfilesData, GetApiConversationMemoryProfilesErrors, GetApiConversationMemoryProfilesResponses, GetApiConversationMemoryTraitGroupsData, GetApiConversationMemoryTraitGroupsErrors, GetApiConversationMemoryTraitGroupsResponses, GetApiConversationMemoryTraitsData, GetApiConversationMemoryTraitsErrors, GetApiConversationMemoryTraitsResponses, GetApiConversationalIntelligenceOperatorData, GetApiConversationalIntelligenceOperatorErrors, GetApiConversationalIntelligenceOperatorResponses, GetApiCountryConfigsData, GetApiCountryConfigsErrors, GetApiCountryConfigsResponses, GetApiIntelligenceConfigurationData, GetApiIntelligenceConfigurationErrors, GetApiIntelligenceConfigurationResponses, GetApiInternalNavData, GetApiInternalNavErrors, GetApiInternalNavResponses, GetApiIsvLogoData, GetApiIsvLogoErrors, GetApiIsvLogoResponses, GetApiLeadGenData, GetApiLeadGenErrors, GetApiLeadGenResponses, GetApiLinkShortenerData, GetApiLinkShortenerErrors, GetApiLinkShortenerResponses, GetApiLiveNumbersData, GetApiLiveNumbersErrors, GetApiLiveNumbersResponses, GetApiPhoneLogsByPhoneNumberData, GetApiPhoneLogsByPhoneNumberErrors, GetApiPhoneLogsByPhoneNumberResponses, GetApiRecentlyActiveNumbersData, GetApiRecentlyActiveNumbersErrors, GetApiRecentlyActiveNumbersResponses, GetApiSessionData, GetApiSessionErrors, GetApiSessionResponses, GetApiSupportedRegionsData, GetApiSupportedRegionsErrors, GetApiSupportedRegionsResponses, Options, PatchApiConversationMemoryConversationSummariesData, PatchApiConversationMemoryConversationSummariesErrors, PatchApiConversationMemoryConversationSummariesResponses, PatchApiConversationMemoryIdentifiersData, PatchApiConversationMemoryIdentifiersErrors, PatchApiConversationMemoryIdentifiersResponses, PatchApiConversationMemoryObservationsData, PatchApiConversationMemoryObservationsErrors, PatchApiConversationMemoryObservationsResponses, PatchApiConversationMemoryProfilesData, PatchApiConversationMemoryProfilesErrors, PatchApiConversationMemoryProfilesResponses, PatchApiConversationMemoryTraitGroupsData, PatchApiConversationMemoryTraitGroupsErrors, PatchApiConversationMemoryTraitGroupsResponses, PatchApiLeadGenData, PatchApiLeadGenErrors, PatchApiLeadGenResponses, PatchApiLinkShortenerData, PatchApiLinkShortenerErrors, PatchApiLinkShortenerResponses, PostApiAlgoliaSecuredKeyData, PostApiAlgoliaSecuredKeyErrors, PostApiAlgoliaSecuredKeyResponses, PostApiConversationMemoryConversationSummariesData, PostApiConversationMemoryConversationSummariesErrors, PostApiConversationMemoryConversationSummariesResponses, PostApiConversationMemoryIdentifiersData, PostApiConversationMemoryIdentifiersErrors, PostApiConversationMemoryIdentifiersResponses, PostApiConversationMemoryObservationsData, PostApiConversationMemoryObservationsErrors, PostApiConversationMemoryObservationsResponses, PostApiConversationMemoryProfilesData, PostApiConversationMemoryProfilesErrors, PostApiConversationMemoryProfilesLookupData, PostApiConversationMemoryProfilesLookupErrors, PostApiConversationMemoryProfilesLookupResponses, PostApiConversationMemoryProfilesResponses, PostApiConversationMemoryRecallData, PostApiConversationMemoryRecallErrors, PostApiConversationMemoryRecallResponses, PostApiConversationMemoryTraitGroupsData, PostApiConversationMemoryTraitGroupsErrors, PostApiConversationMemoryTraitGroupsResponses, PostApiConversationalIntelligenceOperatorData, PostApiConversationalIntelligenceOperatorErrors, PostApiConversationalIntelligenceOperatorResponses, PostApiConversationsSaveData, PostApiConversationsSaveErrors, PostApiConversationsSaveResponses, PostApiConversationsShareData, PostApiConversationsShareErrors, PostApiConversationsShareResponses, PostApiCreateExternalFlexConnectionData, PostApiCreateExternalFlexConnectionErrors, PostApiCreateExternalFlexConnectionResponses, PostApiEnhancePromptData, PostApiEnhancePromptErrors, PostApiEnhancePromptResponses, PostApiGenerateTagsData, PostApiGenerateTagsErrors, PostApiGenerateTagsResponses, PostApiIncrementViewCountData, PostApiIncrementViewCountErrors, PostApiIncrementViewCountResponses, PostApiIntelligenceConfigurationData, PostApiIntelligenceConfigurationErrors, PostApiIntelligenceConfigurationResponses, PostApiLeadGenData, PostApiLeadGenErrors, PostApiLeadGenResponses, PostApiLinkShortenerData, PostApiLinkShortenerErrors, PostApiLinkShortenerResponses, PostApiOutboundCallData, PostApiOutboundCallErrors, PostApiOutboundCallResponses, PostApiOutboundCommunicationTextData, PostApiOutboundCommunicationTextErrors, PostApiOutboundCommunicationTextResponses, PostApiSegmentIdentifyData, PostApiSegmentIdentifyErrors, PostApiSegmentIdentifyResponses, PostApiSegmentProfileData, PostApiSegmentProfileErrors, PostApiSegmentProfileResponses, PostApiTagsData, PostApiTagsErrors, PostApiTagsResponses, PostApiTelemetryData, PostApiTelemetryErrors, PostApiTelemetryResponses, PostApiTemplateAutogenData, PostApiTemplateAutogenErrors, PostApiTemplateAutogenResponses, PostApiVerifyCheckData, PostApiVerifyCheckErrors, PostApiVerifyCheckResponses, PostApiVerifySendData, PostApiVerifySendErrors, PostApiVerifySendResponses, PutApiConversationalIntelligenceOperatorData, PutApiConversationalIntelligenceOperatorErrors, PutApiConversationalIntelligenceOperatorResponses, PutApiIntelligenceConfigurationData, PutApiIntelligenceConfigurationErrors, PutApiIntelligenceConfigurationResponses, RequestResult };
5149
+ export { createRampSiteClient, deleteApiConversationMemoryConversationSummaries, deleteApiConversationMemoryIdentifiers, deleteApiConversationMemoryObservations, deleteApiConversationMemoryProfiles, deleteApiConversationMemoryReset, deleteApiConversationalIntelligenceOperator, deleteApiConversationsDelete, deleteApiLeadGen, deleteApiLinkShortener, deleteApiLiveNumbers, deleteApiTemplate, getApiCampaign, getApiConversationMemoryConversationSummaries, getApiConversationMemoryIdentifiers, getApiConversationMemoryObservations, getApiConversationMemoryProfiles, getApiConversationMemoryTraitGroups, getApiConversationMemoryTraits, getApiConversationalIntelligenceOperator, getApiCountryConfigs, getApiIntelligenceConfiguration, getApiIsvLogo, getApiLeadGen, getApiLinkShortener, getApiLiveNumbers, getApiPhoneLogsByPhoneNumber, getApiRecentlyActiveNumbers, getApiSession, getApiSupportedRegions, getApiWebchatConversationsToken, getApiWebchatVoiceToken, patchApiConversationMemoryConversationSummaries, patchApiConversationMemoryIdentifiers, patchApiConversationMemoryObservations, patchApiConversationMemoryProfiles, patchApiConversationMemoryTraitGroups, patchApiLeadGen, patchApiLinkShortener, postApiAlgoliaSecuredKey, postApiConversationMemoryConversationSummaries, postApiConversationMemoryIdentifiers, postApiConversationMemoryObservations, postApiConversationMemoryProfiles, postApiConversationMemoryProfilesLookup, postApiConversationMemoryRecall, postApiConversationMemoryTraitGroups, postApiConversationalIntelligenceOperator, postApiConversationsSave, postApiConversationsShare, postApiCreateExternalFlexConnection, postApiEnhancePrompt, postApiGenerateTags, postApiIncrementViewCount, postApiIntelligenceConfiguration, postApiLeadGen, postApiLinkShortener, postApiOutboundCall, postApiOutboundCommunicationText, postApiSegmentIdentify, postApiSegmentProfile, postApiTags, postApiTelemetry, postApiTemplateAutogen, postApiVerifyCheck, postApiVerifySend, postApiWebchatChat, postApiWebchatConversation, postApiWebchatConversationsToken, postApiWebchatEndChat, postApiWebchatLiveAgentWebchatConnect, postApiWebchatLiveAgentWebchatEnd, postApiWebchatUiConfig, postApiWebchatWebchatSend, putApiConversationalIntelligenceOperator, putApiIntelligenceConfiguration, zod_gen as schemas };
5150
+ export type { CalledByData, Campaign, Client, ClientOptions, Config, ConversationMemoryRecallResponse, CreateRampSiteClientOptions, DeleteApiConversationMemoryConversationSummariesData, DeleteApiConversationMemoryConversationSummariesError, DeleteApiConversationMemoryConversationSummariesErrors, DeleteApiConversationMemoryConversationSummariesResponse, DeleteApiConversationMemoryConversationSummariesResponses, DeleteApiConversationMemoryIdentifiersData, DeleteApiConversationMemoryIdentifiersError, DeleteApiConversationMemoryIdentifiersErrors, DeleteApiConversationMemoryIdentifiersResponse, DeleteApiConversationMemoryIdentifiersResponses, DeleteApiConversationMemoryObservationsData, DeleteApiConversationMemoryObservationsError, DeleteApiConversationMemoryObservationsErrors, DeleteApiConversationMemoryObservationsResponse, DeleteApiConversationMemoryObservationsResponses, DeleteApiConversationMemoryProfilesData, DeleteApiConversationMemoryProfilesError, DeleteApiConversationMemoryProfilesErrors, DeleteApiConversationMemoryProfilesResponse, DeleteApiConversationMemoryProfilesResponses, DeleteApiConversationMemoryResetData, DeleteApiConversationMemoryResetError, DeleteApiConversationMemoryResetErrors, DeleteApiConversationMemoryResetResponse, DeleteApiConversationMemoryResetResponses, DeleteApiConversationalIntelligenceOperatorData, DeleteApiConversationalIntelligenceOperatorError, DeleteApiConversationalIntelligenceOperatorErrors, DeleteApiConversationalIntelligenceOperatorResponse, DeleteApiConversationalIntelligenceOperatorResponses, DeleteApiConversationsDeleteData, DeleteApiConversationsDeleteError, DeleteApiConversationsDeleteErrors, DeleteApiConversationsDeleteResponse, DeleteApiConversationsDeleteResponses, DeleteApiLeadGenData, DeleteApiLeadGenError, DeleteApiLeadGenErrors, DeleteApiLeadGenResponse, DeleteApiLeadGenResponses, DeleteApiLinkShortenerData, DeleteApiLinkShortenerError, DeleteApiLinkShortenerErrors, DeleteApiLinkShortenerResponse, DeleteApiLinkShortenerResponses, DeleteApiLiveNumbersData, DeleteApiLiveNumbersError, DeleteApiLiveNumbersErrors, DeleteApiLiveNumbersResponse, DeleteApiLiveNumbersResponses, DeleteApiTemplateData, DeleteApiTemplateError, DeleteApiTemplateErrors, DeleteApiTemplateResponse, DeleteApiTemplateResponses, ErrorResponse, GetApiCampaignData, GetApiCampaignError, GetApiCampaignErrors, GetApiCampaignResponse, GetApiCampaignResponses, GetApiConversationMemoryConversationSummariesData, GetApiConversationMemoryConversationSummariesError, GetApiConversationMemoryConversationSummariesErrors, GetApiConversationMemoryConversationSummariesResponse, GetApiConversationMemoryConversationSummariesResponses, GetApiConversationMemoryIdentifiersData, GetApiConversationMemoryIdentifiersError, GetApiConversationMemoryIdentifiersErrors, GetApiConversationMemoryIdentifiersResponse, GetApiConversationMemoryIdentifiersResponses, GetApiConversationMemoryObservationsData, GetApiConversationMemoryObservationsError, GetApiConversationMemoryObservationsErrors, GetApiConversationMemoryObservationsResponse, GetApiConversationMemoryObservationsResponses, GetApiConversationMemoryProfilesData, GetApiConversationMemoryProfilesError, GetApiConversationMemoryProfilesErrors, GetApiConversationMemoryProfilesResponse, GetApiConversationMemoryProfilesResponses, GetApiConversationMemoryTraitGroupsData, GetApiConversationMemoryTraitGroupsError, GetApiConversationMemoryTraitGroupsErrors, GetApiConversationMemoryTraitGroupsResponse, GetApiConversationMemoryTraitGroupsResponses, GetApiConversationMemoryTraitsData, GetApiConversationMemoryTraitsError, GetApiConversationMemoryTraitsErrors, GetApiConversationMemoryTraitsResponse, GetApiConversationMemoryTraitsResponses, GetApiConversationalIntelligenceOperatorData, GetApiConversationalIntelligenceOperatorError, GetApiConversationalIntelligenceOperatorErrors, GetApiConversationalIntelligenceOperatorResponse, GetApiConversationalIntelligenceOperatorResponses, GetApiCountryConfigsData, GetApiCountryConfigsError, GetApiCountryConfigsErrors, GetApiCountryConfigsResponse, GetApiCountryConfigsResponses, GetApiIntelligenceConfigurationData, GetApiIntelligenceConfigurationError, GetApiIntelligenceConfigurationErrors, GetApiIntelligenceConfigurationResponse, GetApiIntelligenceConfigurationResponses, GetApiIsvLogoData, GetApiIsvLogoError, GetApiIsvLogoErrors, GetApiIsvLogoResponse, GetApiIsvLogoResponses, GetApiLeadGenData, GetApiLeadGenError, GetApiLeadGenErrors, GetApiLeadGenResponse, GetApiLeadGenResponses, GetApiLinkShortenerData, GetApiLinkShortenerError, GetApiLinkShortenerErrors, GetApiLinkShortenerResponse, GetApiLinkShortenerResponses, GetApiLiveNumbersData, GetApiLiveNumbersError, GetApiLiveNumbersErrors, GetApiLiveNumbersResponse, GetApiLiveNumbersResponses, GetApiPhoneLogsByPhoneNumberData, GetApiPhoneLogsByPhoneNumberError, GetApiPhoneLogsByPhoneNumberErrors, GetApiPhoneLogsByPhoneNumberResponse, GetApiPhoneLogsByPhoneNumberResponses, GetApiRecentlyActiveNumbersData, GetApiRecentlyActiveNumbersError, GetApiRecentlyActiveNumbersErrors, GetApiRecentlyActiveNumbersResponse, GetApiRecentlyActiveNumbersResponses, GetApiSessionData, GetApiSessionError, GetApiSessionErrors, GetApiSessionResponse, GetApiSessionResponses, GetApiSupportedRegionsData, GetApiSupportedRegionsError, GetApiSupportedRegionsErrors, GetApiSupportedRegionsResponse, GetApiSupportedRegionsResponses, GetApiWebchatConversationsTokenData, GetApiWebchatConversationsTokenError, GetApiWebchatConversationsTokenErrors, GetApiWebchatConversationsTokenResponse, GetApiWebchatConversationsTokenResponses, GetApiWebchatVoiceTokenData, GetApiWebchatVoiceTokenError, GetApiWebchatVoiceTokenErrors, GetApiWebchatVoiceTokenResponse, GetApiWebchatVoiceTokenResponses, IntelligenceConfiguration, LockedTemplateData, Operator, Options, PatchApiConversationMemoryConversationSummariesData, PatchApiConversationMemoryConversationSummariesError, PatchApiConversationMemoryConversationSummariesErrors, PatchApiConversationMemoryConversationSummariesResponse, PatchApiConversationMemoryConversationSummariesResponses, PatchApiConversationMemoryIdentifiersData, PatchApiConversationMemoryIdentifiersError, PatchApiConversationMemoryIdentifiersErrors, PatchApiConversationMemoryIdentifiersResponse, PatchApiConversationMemoryIdentifiersResponses, PatchApiConversationMemoryObservationsData, PatchApiConversationMemoryObservationsError, PatchApiConversationMemoryObservationsErrors, PatchApiConversationMemoryObservationsResponse, PatchApiConversationMemoryObservationsResponses, PatchApiConversationMemoryProfilesData, PatchApiConversationMemoryProfilesError, PatchApiConversationMemoryProfilesErrors, PatchApiConversationMemoryProfilesResponse, PatchApiConversationMemoryProfilesResponses, PatchApiConversationMemoryTraitGroupsData, PatchApiConversationMemoryTraitGroupsError, PatchApiConversationMemoryTraitGroupsErrors, PatchApiConversationMemoryTraitGroupsResponse, PatchApiConversationMemoryTraitGroupsResponses, PatchApiLeadGenData, PatchApiLeadGenError, PatchApiLeadGenErrors, PatchApiLeadGenResponse, PatchApiLeadGenResponses, PatchApiLinkShortenerData, PatchApiLinkShortenerError, PatchApiLinkShortenerErrors, PatchApiLinkShortenerResponse, PatchApiLinkShortenerResponses, PostApiAlgoliaSecuredKeyData, PostApiAlgoliaSecuredKeyError, PostApiAlgoliaSecuredKeyErrors, PostApiAlgoliaSecuredKeyResponse, PostApiAlgoliaSecuredKeyResponses, PostApiConversationMemoryConversationSummariesData, PostApiConversationMemoryConversationSummariesError, PostApiConversationMemoryConversationSummariesErrors, PostApiConversationMemoryConversationSummariesResponse, PostApiConversationMemoryConversationSummariesResponses, PostApiConversationMemoryIdentifiersData, PostApiConversationMemoryIdentifiersError, PostApiConversationMemoryIdentifiersErrors, PostApiConversationMemoryIdentifiersResponse, PostApiConversationMemoryIdentifiersResponses, PostApiConversationMemoryObservationsData, PostApiConversationMemoryObservationsError, PostApiConversationMemoryObservationsErrors, PostApiConversationMemoryObservationsResponse, PostApiConversationMemoryObservationsResponses, PostApiConversationMemoryProfilesData, PostApiConversationMemoryProfilesError, PostApiConversationMemoryProfilesErrors, PostApiConversationMemoryProfilesLookupData, PostApiConversationMemoryProfilesLookupError, PostApiConversationMemoryProfilesLookupErrors, PostApiConversationMemoryProfilesLookupResponse, PostApiConversationMemoryProfilesLookupResponses, PostApiConversationMemoryProfilesResponse, PostApiConversationMemoryProfilesResponses, PostApiConversationMemoryRecallData, PostApiConversationMemoryRecallError, PostApiConversationMemoryRecallErrors, PostApiConversationMemoryRecallResponse, PostApiConversationMemoryRecallResponses, PostApiConversationMemoryTraitGroupsData, PostApiConversationMemoryTraitGroupsError, PostApiConversationMemoryTraitGroupsErrors, PostApiConversationMemoryTraitGroupsResponse, PostApiConversationMemoryTraitGroupsResponses, PostApiConversationalIntelligenceOperatorData, PostApiConversationalIntelligenceOperatorError, PostApiConversationalIntelligenceOperatorErrors, PostApiConversationalIntelligenceOperatorResponse, PostApiConversationalIntelligenceOperatorResponses, PostApiConversationsSaveData, PostApiConversationsSaveError, PostApiConversationsSaveErrors, PostApiConversationsSaveResponse, PostApiConversationsSaveResponses, PostApiConversationsShareData, PostApiConversationsShareError, PostApiConversationsShareErrors, PostApiConversationsShareResponse, PostApiConversationsShareResponses, PostApiCreateExternalFlexConnectionData, PostApiCreateExternalFlexConnectionError, PostApiCreateExternalFlexConnectionErrors, PostApiCreateExternalFlexConnectionResponse, PostApiCreateExternalFlexConnectionResponses, PostApiEnhancePromptData, PostApiEnhancePromptError, PostApiEnhancePromptErrors, PostApiEnhancePromptResponse, PostApiEnhancePromptResponses, PostApiGenerateTagsData, PostApiGenerateTagsErrors, PostApiGenerateTagsResponse, PostApiGenerateTagsResponses, PostApiIncrementViewCountData, PostApiIncrementViewCountError, PostApiIncrementViewCountErrors, PostApiIncrementViewCountResponse, PostApiIncrementViewCountResponses, PostApiIntelligenceConfigurationData, PostApiIntelligenceConfigurationError, PostApiIntelligenceConfigurationErrors, PostApiIntelligenceConfigurationResponse, PostApiIntelligenceConfigurationResponses, PostApiLeadGenData, PostApiLeadGenError, PostApiLeadGenErrors, PostApiLeadGenResponse, PostApiLeadGenResponses, PostApiLinkShortenerData, PostApiLinkShortenerError, PostApiLinkShortenerErrors, PostApiLinkShortenerResponse, PostApiLinkShortenerResponses, PostApiOutboundCallData, PostApiOutboundCallError, PostApiOutboundCallErrors, PostApiOutboundCallResponse, PostApiOutboundCallResponses, PostApiOutboundCommunicationTextData, PostApiOutboundCommunicationTextError, PostApiOutboundCommunicationTextErrors, PostApiOutboundCommunicationTextResponse, PostApiOutboundCommunicationTextResponses, PostApiSegmentIdentifyData, PostApiSegmentIdentifyError, PostApiSegmentIdentifyErrors, PostApiSegmentIdentifyResponse, PostApiSegmentIdentifyResponses, PostApiSegmentProfileData, PostApiSegmentProfileError, PostApiSegmentProfileErrors, PostApiSegmentProfileResponse, PostApiSegmentProfileResponses, PostApiTagsData, PostApiTagsError, PostApiTagsErrors, PostApiTagsResponse, PostApiTagsResponses, PostApiTelemetryData, PostApiTelemetryError, PostApiTelemetryErrors, PostApiTelemetryResponse, PostApiTelemetryResponses, PostApiTemplateAutogenData, PostApiTemplateAutogenError, PostApiTemplateAutogenErrors, PostApiTemplateAutogenResponse, PostApiTemplateAutogenResponses, PostApiVerifyCheckData, PostApiVerifyCheckError, PostApiVerifyCheckErrors, PostApiVerifyCheckResponse, PostApiVerifyCheckResponses, PostApiVerifySendData, PostApiVerifySendError, PostApiVerifySendErrors, PostApiVerifySendResponse, PostApiVerifySendResponses, PostApiWebchatChatData, PostApiWebchatChatError, PostApiWebchatChatErrors, PostApiWebchatChatResponse, PostApiWebchatChatResponses, PostApiWebchatConversationData, PostApiWebchatConversationError, PostApiWebchatConversationErrors, PostApiWebchatConversationResponse, PostApiWebchatConversationResponses, PostApiWebchatConversationsTokenData, PostApiWebchatConversationsTokenError, PostApiWebchatConversationsTokenErrors, PostApiWebchatConversationsTokenResponse, PostApiWebchatConversationsTokenResponses, PostApiWebchatEndChatData, PostApiWebchatEndChatError, PostApiWebchatEndChatErrors, PostApiWebchatEndChatResponse, PostApiWebchatEndChatResponses, PostApiWebchatLiveAgentWebchatConnectData, PostApiWebchatLiveAgentWebchatConnectError, PostApiWebchatLiveAgentWebchatConnectErrors, PostApiWebchatLiveAgentWebchatConnectResponse, PostApiWebchatLiveAgentWebchatConnectResponses, PostApiWebchatLiveAgentWebchatEndData, PostApiWebchatLiveAgentWebchatEndError, PostApiWebchatLiveAgentWebchatEndErrors, PostApiWebchatLiveAgentWebchatEndResponse, PostApiWebchatLiveAgentWebchatEndResponses, PostApiWebchatUiConfigData, PostApiWebchatUiConfigError, PostApiWebchatUiConfigErrors, PostApiWebchatUiConfigResponse, PostApiWebchatUiConfigResponses, PostApiWebchatWebchatSendData, PostApiWebchatWebchatSendError, PostApiWebchatWebchatSendErrors, PostApiWebchatWebchatSendResponse, PostApiWebchatWebchatSendResponses, PutApiConversationalIntelligenceOperatorData, PutApiConversationalIntelligenceOperatorError, PutApiConversationalIntelligenceOperatorErrors, PutApiConversationalIntelligenceOperatorResponse, PutApiConversationalIntelligenceOperatorResponses, PutApiIntelligenceConfigurationData, PutApiIntelligenceConfigurationError, PutApiIntelligenceConfigurationErrors, PutApiIntelligenceConfigurationResponse, PutApiIntelligenceConfigurationResponses, RequestResult, SupportedRegion };