@gtmi/ramp-api-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,55 @@ declare const createRampApiClient: ({ baseUrl, getAuthToken, ...config }: Create
341
341
  type ClientOptions = {
342
342
  baseUrl: `${string}://${string}` | (string & {});
343
343
  };
344
+ type ErrorResponse = {
345
+ error?: string;
346
+ details?: string;
347
+ };
348
+ type Conversation = {
349
+ accountId?: string;
350
+ configuration?: string;
351
+ configurationId?: string;
352
+ createdAt?: string;
353
+ id?: string;
354
+ name?: string;
355
+ status?: string;
356
+ updatedAt?: string;
357
+ };
358
+ type Participant = {
359
+ id?: string;
360
+ conversationId?: string;
361
+ accountId?: string;
362
+ name?: string;
363
+ type?: string;
364
+ addresses?: string;
365
+ createdAt?: string;
366
+ updatedAt?: string;
367
+ profileId?: string;
368
+ };
369
+ type Operator = {
370
+ id?: string;
371
+ displayName?: string;
372
+ description?: string;
373
+ version?: string;
374
+ availability?: string;
375
+ author?: string;
376
+ prompt?: string;
377
+ outputFormat?: string;
378
+ outputSchema?: string;
379
+ trainingExamples?: string;
380
+ context?: string;
381
+ parameters?: string;
382
+ };
383
+ type IntelligenceConfiguration = {
384
+ accountId?: string;
385
+ dateCreated?: string;
386
+ dateUpdated?: string;
387
+ description?: string;
388
+ displayName?: string;
389
+ id?: string;
390
+ rules?: string;
391
+ version?: string;
392
+ };
344
393
  type AutogenRequest = {
345
394
  email?: string;
346
395
  company?: string;
@@ -354,6 +403,38 @@ type AutogenRequest = {
354
403
  logoFull?: string;
355
404
  websiteUrl?: string;
356
405
  };
406
+ type TemplateData = {
407
+ objectID?: string;
408
+ title?: string;
409
+ img?: string;
410
+ associatedNumbers?: string;
411
+ author?: string;
412
+ createdAt?: string;
413
+ createdAtUnix?: string;
414
+ lastUpdatedAtUnix?: string;
415
+ lastUpdated?: string;
416
+ lastUpdatedBy?: string;
417
+ prompt?: string;
418
+ data?: string;
419
+ content?: string;
420
+ };
421
+ type CalledByData = {
422
+ phoneNumber?: string;
423
+ timestamp?: number;
424
+ direction?: string;
425
+ objectId?: string;
426
+ };
427
+ type Campaign = {
428
+ email?: string;
429
+ companyName?: string;
430
+ objectID?: string;
431
+ encryptedObjectId?: string;
432
+ agentNumber?: string;
433
+ tag?: string;
434
+ createdAt?: string;
435
+ numCalls?: string;
436
+ shortLink?: string;
437
+ };
357
438
  type SupportedRegion = {
358
439
  isoCountry?: string;
359
440
  numberType?: string;
@@ -381,8 +462,14 @@ type GetHealthResponses = {
381
462
  /**
382
463
  * Success
383
464
  */
384
- 200: unknown;
465
+ 200: {
466
+ /**
467
+ * "ok"
468
+ */
469
+ status: string;
470
+ };
385
471
  };
472
+ type GetHealthResponse = GetHealthResponses[keyof GetHealthResponses];
386
473
  type PostConversationsTokenData = {
387
474
  body: {
388
475
  [key: string]: unknown;
@@ -393,16 +480,35 @@ type PostConversationsTokenData = {
393
480
  };
394
481
  type PostConversationsTokenErrors = {
395
482
  /**
396
- * Internal server error
483
+ * identity is required, or service could not be resolved
397
484
  */
398
- 500: unknown;
485
+ 400: ErrorResponse;
486
+ /**
487
+ * Server misconfiguration
488
+ */
489
+ 500: ErrorResponse;
490
+ /**
491
+ * Service temporarily unavailable
492
+ */
493
+ 503: ErrorResponse;
399
494
  };
495
+ type PostConversationsTokenError = PostConversationsTokenErrors[keyof PostConversationsTokenErrors];
400
496
  type PostConversationsTokenResponses = {
401
497
  /**
402
498
  * Success
403
499
  */
404
- 200: unknown;
500
+ 200: {
501
+ /**
502
+ * The resolved identity used in the token
503
+ */
504
+ identity: string;
505
+ /**
506
+ * Twilio access token JWT
507
+ */
508
+ token: string;
509
+ };
405
510
  };
511
+ type PostConversationsTokenResponse = PostConversationsTokenResponses[keyof PostConversationsTokenResponses];
406
512
  type GetSyncTokenData = {
407
513
  body?: never;
408
514
  path?: never;
@@ -417,16 +523,31 @@ type GetSyncTokenErrors = {
417
523
  */
418
524
  401: unknown;
419
525
  /**
420
- * Internal server error
526
+ * Server misconfiguration
421
527
  */
422
- 500: unknown;
528
+ 500: ErrorResponse;
529
+ /**
530
+ * Service temporarily unavailable
531
+ */
532
+ 503: ErrorResponse;
423
533
  };
534
+ type GetSyncTokenError = GetSyncTokenErrors[keyof GetSyncTokenErrors];
424
535
  type GetSyncTokenResponses = {
425
536
  /**
426
537
  * Success
427
538
  */
428
- 200: unknown;
539
+ 200: {
540
+ /**
541
+ * The resolved identity used in the token
542
+ */
543
+ identity: string;
544
+ /**
545
+ * Twilio access token JWT
546
+ */
547
+ token: string;
548
+ };
429
549
  };
550
+ type GetSyncTokenResponse = GetSyncTokenResponses[keyof GetSyncTokenResponses];
430
551
  type GetVoiceTokenData = {
431
552
  body?: never;
432
553
  path?: never;
@@ -437,16 +558,31 @@ type GetVoiceTokenData = {
437
558
  };
438
559
  type GetVoiceTokenErrors = {
439
560
  /**
440
- * Internal server error
561
+ * Server misconfiguration
441
562
  */
442
- 500: unknown;
563
+ 500: ErrorResponse;
564
+ /**
565
+ * Service temporarily unavailable
566
+ */
567
+ 503: ErrorResponse;
443
568
  };
569
+ type GetVoiceTokenError = GetVoiceTokenErrors[keyof GetVoiceTokenErrors];
444
570
  type GetVoiceTokenResponses = {
445
571
  /**
446
572
  * Success
447
573
  */
448
- 200: unknown;
574
+ 200: {
575
+ /**
576
+ * The resolved identity used in the token
577
+ */
578
+ identity: string;
579
+ /**
580
+ * Twilio access token JWT
581
+ */
582
+ token: string;
583
+ };
449
584
  };
585
+ type GetVoiceTokenResponse = GetVoiceTokenResponses[keyof GetVoiceTokenResponses];
450
586
  type PostUiConfigData = {
451
587
  body: {
452
588
  [key: string]: unknown;
@@ -456,17 +592,68 @@ type PostUiConfigData = {
456
592
  url: '/ui-config';
457
593
  };
458
594
  type PostUiConfigErrors = {
595
+ /**
596
+ * Bad Request
597
+ */
598
+ 400: {
599
+ /**
600
+ * Error code ("provide_customerNumber_or_objectID" or "missing_customerNumber_or_objectID")
601
+ */
602
+ error: string;
603
+ };
459
604
  /**
460
605
  * Internal server error
461
606
  */
462
- 500: unknown;
607
+ 500: {
608
+ /**
609
+ * Error code ("ui_config_error")
610
+ */
611
+ error: string;
612
+ };
463
613
  };
614
+ type PostUiConfigError = PostUiConfigErrors[keyof PostUiConfigErrors];
464
615
  type PostUiConfigResponses = {
465
616
  /**
466
617
  * Success
467
618
  */
468
- 200: unknown;
619
+ 200: {
620
+ /**
621
+ * Webchat UI configuration for the resolved template
622
+ */
623
+ ui: {
624
+ [key: string]: unknown;
625
+ };
626
+ /**
627
+ * Webchat link map configuration
628
+ */
629
+ linkMap: {
630
+ [key: string]: unknown;
631
+ };
632
+ /**
633
+ * Whether the chat link should be hidden
634
+ */
635
+ hideChatLink: boolean;
636
+ /**
637
+ * Title of the resolved template
638
+ */
639
+ templateTitle: string;
640
+ /**
641
+ * Dialog display configuration
642
+ */
643
+ dialogConfig: {
644
+ [key: string]: unknown;
645
+ };
646
+ /**
647
+ * Algolia objectID of the resolved template
648
+ */
649
+ templateObjectId: string;
650
+ /**
651
+ * Resolved customer number, present when looked up by objectID
652
+ */
653
+ resolvedCustomerNumber: string;
654
+ };
469
655
  };
656
+ type PostUiConfigResponse = PostUiConfigResponses[keyof PostUiConfigResponses];
470
657
  type PostCreateExternalFlexConnectionData = {
471
658
  body: {
472
659
  /**
@@ -487,6 +674,21 @@ type PostCreateExternalFlexConnectionData = {
487
674
  url: '/create-external-flex-connection';
488
675
  };
489
676
  type PostCreateExternalFlexConnectionErrors = {
677
+ /**
678
+ * Bad Request
679
+ */
680
+ 400: {
681
+ /**
682
+ * Error code ("missing_required_params")
683
+ */
684
+ error: string;
685
+ /**
686
+ * Details about which parameters are missing
687
+ */
688
+ details: {
689
+ [key: string]: unknown;
690
+ };
691
+ };
490
692
  /**
491
693
  * Unauthorized — requires Bearer token
492
694
  */
@@ -494,14 +696,27 @@ type PostCreateExternalFlexConnectionErrors = {
494
696
  /**
495
697
  * Internal server error
496
698
  */
497
- 500: unknown;
699
+ 500: {
700
+ /**
701
+ * Error code ("setup_failed")
702
+ */
703
+ error: string;
704
+ /**
705
+ * Detailed error information
706
+ */
707
+ details: string;
708
+ };
498
709
  };
710
+ type PostCreateExternalFlexConnectionError = PostCreateExternalFlexConnectionErrors[keyof PostCreateExternalFlexConnectionErrors];
499
711
  type PostCreateExternalFlexConnectionResponses = {
500
712
  /**
501
- * Success
713
+ * Studio Flow, TwiML App, and RAMP integration configuration
502
714
  */
503
- 200: unknown;
715
+ 200: {
716
+ [key: string]: unknown;
717
+ };
504
718
  };
719
+ type PostCreateExternalFlexConnectionResponse = PostCreateExternalFlexConnectionResponses[keyof PostCreateExternalFlexConnectionResponses];
505
720
  type PostInstallFlexPluginData = {
506
721
  body: {
507
722
  /**
@@ -526,6 +741,21 @@ type PostInstallFlexPluginData = {
526
741
  url: '/install-flex-plugin';
527
742
  };
528
743
  type PostInstallFlexPluginErrors = {
744
+ /**
745
+ * Bad Request
746
+ */
747
+ 400: {
748
+ /**
749
+ * Error code ("missing_required_params", "unsupported_node", or "unknown_plugin")
750
+ */
751
+ error: string;
752
+ /**
753
+ * Error details
754
+ */
755
+ details: {
756
+ [key: string]: unknown;
757
+ };
758
+ };
529
759
  /**
530
760
  * Unauthorized — requires Bearer token
531
761
  */
@@ -533,14 +763,46 @@ type PostInstallFlexPluginErrors = {
533
763
  /**
534
764
  * Internal server error
535
765
  */
536
- 500: unknown;
766
+ 500: {
767
+ /**
768
+ * Error code ("clone_failed" or "install_failed")
769
+ */
770
+ error: string;
771
+ /**
772
+ * Detailed error information
773
+ */
774
+ details: string;
775
+ };
537
776
  };
777
+ type PostInstallFlexPluginError = PostInstallFlexPluginErrors[keyof PostInstallFlexPluginErrors];
538
778
  type PostInstallFlexPluginResponses = {
539
779
  /**
540
780
  * Success
541
781
  */
542
- 200: unknown;
782
+ 200: {
783
+ /**
784
+ * Always true on success
785
+ */
786
+ success: boolean;
787
+ /**
788
+ * Plugin information (name)
789
+ */
790
+ plugin: {
791
+ [key: string]: unknown;
792
+ };
793
+ /**
794
+ * Deployed version SID, if determinable
795
+ */
796
+ deployedVersion: string;
797
+ /**
798
+ * Release information, if determinable
799
+ */
800
+ release: {
801
+ [key: string]: unknown;
802
+ };
803
+ };
543
804
  };
805
+ type PostInstallFlexPluginResponse = PostInstallFlexPluginResponses[keyof PostInstallFlexPluginResponses];
544
806
  type PostLiveAgentWebchatConnectData = {
545
807
  body: {
546
808
  [key: string]: unknown;
@@ -550,17 +812,68 @@ type PostLiveAgentWebchatConnectData = {
550
812
  url: '/live-agent-webchat-connect';
551
813
  };
552
814
  type PostLiveAgentWebchatConnectErrors = {
815
+ /**
816
+ * Bad Request
817
+ */
818
+ 400: {
819
+ /**
820
+ * Error code ("service_not_found")
821
+ */
822
+ error: string;
823
+ /**
824
+ * Details about the resolution failure
825
+ */
826
+ details: string;
827
+ };
553
828
  /**
554
829
  * Internal server error
555
830
  */
556
- 500: unknown;
831
+ 500: {
832
+ /**
833
+ * Missing Twilio credentials, missing workflow, or failed to create interaction
834
+ */
835
+ error: string;
836
+ /**
837
+ * Detailed error information
838
+ */
839
+ details: {
840
+ [key: string]: unknown;
841
+ };
842
+ };
557
843
  };
844
+ type PostLiveAgentWebchatConnectError = PostLiveAgentWebchatConnectErrors[keyof PostLiveAgentWebchatConnectErrors];
558
845
  type PostLiveAgentWebchatConnectResponses = {
559
846
  /**
560
847
  * Success
561
848
  */
562
849
  200: unknown;
850
+ /**
851
+ * Created
852
+ */
853
+ 201: {
854
+ /**
855
+ * Twilio Conversation SID (CH...)
856
+ */
857
+ conversationSid: string;
858
+ /**
859
+ * Flex Interaction SID (IN...)
860
+ */
861
+ interactionSid: string;
862
+ /**
863
+ * Interaction Channel SID (UO...)
864
+ */
865
+ interactionChannelSid: string;
866
+ /**
867
+ * The customer identity used in the conversation
868
+ */
869
+ identity: string;
870
+ /**
871
+ * Conversations service SID used
872
+ */
873
+ serviceSid: string;
874
+ };
563
875
  };
876
+ type PostLiveAgentWebchatConnectResponse = PostLiveAgentWebchatConnectResponses[keyof PostLiveAgentWebchatConnectResponses];
564
877
  type PostLiveAgentWebchatSendData = {
565
878
  body: {
566
879
  /**
@@ -581,21 +894,64 @@ type PostLiveAgentWebchatSendData = {
581
894
  url: '/live-agent-webchat-send';
582
895
  };
583
896
  type PostLiveAgentWebchatSendErrors = {
897
+ /**
898
+ * conversationSid, identity, and message are required, or invalid conversationSid
899
+ */
900
+ 400: ErrorResponse;
584
901
  /**
585
902
  * Unauthorized — requires Bearer token
586
903
  */
587
904
  401: unknown;
905
+ /**
906
+ * Conflict
907
+ */
908
+ 409: {
909
+ /**
910
+ * Conversation is closed
911
+ */
912
+ error: string;
913
+ /**
914
+ * conversationSid and state
915
+ */
916
+ details: {
917
+ [key: string]: unknown;
918
+ };
919
+ };
588
920
  /**
589
921
  * Internal server error
590
922
  */
591
- 500: unknown;
923
+ 500: {
924
+ /**
925
+ * Missing Twilio credentials, or failed to send message
926
+ */
927
+ error: string;
928
+ /**
929
+ * Detailed error information
930
+ */
931
+ details: {
932
+ [key: string]: unknown;
933
+ };
934
+ };
592
935
  };
936
+ type PostLiveAgentWebchatSendError = PostLiveAgentWebchatSendErrors[keyof PostLiveAgentWebchatSendErrors];
593
937
  type PostLiveAgentWebchatSendResponses = {
594
938
  /**
595
939
  * Success
596
940
  */
597
941
  200: unknown;
942
+ /**
943
+ * Created
944
+ */
945
+ 201: {
946
+ /**
947
+ * The created message object from Twilio
948
+ */
949
+ message: {
950
+ [key: string]: unknown;
951
+ };
952
+ };
598
953
  };
954
+ type PostLiveAgentWebchatSendResponse = PostLiveAgentWebchatSendResponses[keyof PostLiveAgentWebchatSendResponses];
599
955
  type PostLiveAgentWebchatEndData = {
600
956
  body: {
601
957
  [key: string]: unknown;
@@ -608,14 +964,26 @@ type PostLiveAgentWebchatEndErrors = {
608
964
  /**
609
965
  * Internal server error
610
966
  */
611
- 500: unknown;
967
+ 500: {
968
+ /**
969
+ * Missing Twilio credentials, or failed to end live agent webchat
970
+ */
971
+ error: string;
972
+ };
612
973
  };
974
+ type PostLiveAgentWebchatEndError = PostLiveAgentWebchatEndErrors[keyof PostLiveAgentWebchatEndErrors];
613
975
  type PostLiveAgentWebchatEndResponses = {
614
976
  /**
615
977
  * Success
616
978
  */
617
- 200: unknown;
979
+ 200: {
980
+ /**
981
+ * Always true on success
982
+ */
983
+ success: boolean;
984
+ };
618
985
  };
986
+ type PostLiveAgentWebchatEndResponse = PostLiveAgentWebchatEndResponses[keyof PostLiveAgentWebchatEndResponses];
619
987
  type DeleteLeadGenData = {
620
988
  body?: never;
621
989
  path?: never;
@@ -623,21 +991,32 @@ type DeleteLeadGenData = {
623
991
  url: '/lead-gen';
624
992
  };
625
993
  type DeleteLeadGenErrors = {
994
+ /**
995
+ * Object ID and/or agent number are required, or agent number not found
996
+ */
997
+ 400: ErrorResponse;
626
998
  /**
627
999
  * Unauthorized — requires Bearer token
628
1000
  */
629
1001
  401: unknown;
630
1002
  /**
631
- * Internal server error
1003
+ * Failed to delete lead gen
632
1004
  */
633
- 500: unknown;
1005
+ 500: ErrorResponse;
634
1006
  };
1007
+ type DeleteLeadGenError = DeleteLeadGenErrors[keyof DeleteLeadGenErrors];
635
1008
  type DeleteLeadGenResponses = {
636
1009
  /**
637
1010
  * Success
638
1011
  */
639
- 200: unknown;
1012
+ 200: {
1013
+ /**
1014
+ * Success message
1015
+ */
1016
+ message: string;
1017
+ };
640
1018
  };
1019
+ type DeleteLeadGenResponse = DeleteLeadGenResponses[keyof DeleteLeadGenResponses];
641
1020
  type PatchLeadGenData = {
642
1021
  body: {
643
1022
  [key: string]: unknown;
@@ -647,21 +1026,44 @@ type PatchLeadGenData = {
647
1026
  url: '/lead-gen';
648
1027
  };
649
1028
  type PatchLeadGenErrors = {
1029
+ /**
1030
+ * Either agentNumber or objectID is required
1031
+ */
1032
+ 400: ErrorResponse;
650
1033
  /**
651
1034
  * Unauthorized — requires Bearer token
652
1035
  */
653
1036
  401: unknown;
654
1037
  /**
655
- * Internal server error
1038
+ * Template not found
656
1039
  */
657
- 500: unknown;
1040
+ 404: ErrorResponse;
1041
+ /**
1042
+ * Internal server error (raw error payload)
1043
+ */
1044
+ 500: {
1045
+ [key: string]: unknown;
1046
+ };
658
1047
  };
1048
+ type PatchLeadGenError = PatchLeadGenErrors[keyof PatchLeadGenErrors];
659
1049
  type PatchLeadGenResponses = {
660
1050
  /**
661
1051
  * Success
662
1052
  */
663
- 200: unknown;
1053
+ 200: {
1054
+ /**
1055
+ * Success message
1056
+ */
1057
+ message: string;
1058
+ /**
1059
+ * Updated expiration information (objectID, agentNumber, daysOut, newExpirationDate, newExpirationDateISO)
1060
+ */
1061
+ data: {
1062
+ [key: string]: unknown;
1063
+ };
1064
+ };
664
1065
  };
1066
+ type PatchLeadGenResponse = PatchLeadGenResponses[keyof PatchLeadGenResponses];
665
1067
  type PostLeadGenData = {
666
1068
  body: {
667
1069
  /**
@@ -678,6 +1080,15 @@ type PostLeadGenData = {
678
1080
  url: '/lead-gen';
679
1081
  };
680
1082
  type PostLeadGenErrors = {
1083
+ /**
1084
+ * Bad Request
1085
+ */
1086
+ 400: {
1087
+ /**
1088
+ * Error message ("Object ID is required" or "User email is required")
1089
+ */
1090
+ error: string;
1091
+ };
681
1092
  /**
682
1093
  * Unauthorized — requires Bearer token
683
1094
  */
@@ -685,14 +1096,26 @@ type PostLeadGenErrors = {
685
1096
  /**
686
1097
  * Internal server error
687
1098
  */
688
- 500: unknown;
1099
+ 500: {
1100
+ /**
1101
+ * Error message (e.g., "No toll-free numbers available" or "Failed to generate lead gen")
1102
+ */
1103
+ error: string;
1104
+ };
689
1105
  };
1106
+ type PostLeadGenError = PostLeadGenErrors[keyof PostLeadGenErrors];
690
1107
  type PostLeadGenResponses = {
691
1108
  /**
692
1109
  * Success
693
1110
  */
694
- 200: unknown;
1111
+ 200: {
1112
+ /**
1113
+ * The purchased phone number in E.164 format
1114
+ */
1115
+ agentNumber: string;
1116
+ };
695
1117
  };
1118
+ type PostLeadGenResponse = PostLeadGenResponses[keyof PostLeadGenResponses];
696
1119
  type PostLeadGenMonitorData = {
697
1120
  body?: never;
698
1121
  path?: never;
@@ -705,26 +1128,45 @@ type PostLeadGenMonitorErrors = {
705
1128
  */
706
1129
  401: unknown;
707
1130
  /**
708
- * Internal server error
1131
+ * Internal server error (raw error payload)
709
1132
  */
710
- 500: unknown;
1133
+ 500: {
1134
+ [key: string]: unknown;
1135
+ };
711
1136
  };
1137
+ type PostLeadGenMonitorError = PostLeadGenMonitorErrors[keyof PostLeadGenMonitorErrors];
712
1138
  type PostLeadGenMonitorResponses = {
713
1139
  /**
714
1140
  * Success
715
1141
  */
716
- 200: unknown;
1142
+ 200: {
1143
+ /**
1144
+ * Success message
1145
+ */
1146
+ message: string;
1147
+ /**
1148
+ * Summary of deleted/extended templates (or empty array when none expired)
1149
+ */
1150
+ data: {
1151
+ [key: string]: unknown;
1152
+ };
1153
+ };
717
1154
  };
1155
+ type PostLeadGenMonitorResponse = PostLeadGenMonitorResponses[keyof PostLeadGenMonitorResponses];
718
1156
  type PostConversationsCommunicationsByConversationIdData = {
719
1157
  body: {
720
1158
  /**
721
1159
  * Author of the communication (required)
722
1160
  */
723
- author: string;
1161
+ author: {
1162
+ [key: string]: unknown;
1163
+ };
724
1164
  /**
725
1165
  * Content of the communication (required)
726
1166
  */
727
- content: string;
1167
+ content: {
1168
+ [key: string]: unknown;
1169
+ };
728
1170
  /**
729
1171
  * Recipients of the communication (required, non-empty)
730
1172
  */
@@ -737,6 +1179,10 @@ type PostConversationsCommunicationsByConversationIdData = {
737
1179
  url: '/conversations-communications/{conversationId}';
738
1180
  };
739
1181
  type PostConversationsCommunicationsByConversationIdErrors = {
1182
+ /**
1183
+ * Invalid request parameters
1184
+ */
1185
+ 400: ErrorResponse;
740
1186
  /**
741
1187
  * Unauthorized — requires Bearer token
742
1188
  */
@@ -744,14 +1190,22 @@ type PostConversationsCommunicationsByConversationIdErrors = {
744
1190
  /**
745
1191
  * Internal server error
746
1192
  */
747
- 500: unknown;
1193
+ 500: ErrorResponse;
748
1194
  };
1195
+ type PostConversationsCommunicationsByConversationIdError = PostConversationsCommunicationsByConversationIdErrors[keyof PostConversationsCommunicationsByConversationIdErrors];
749
1196
  type PostConversationsCommunicationsByConversationIdResponses = {
750
1197
  /**
751
1198
  * Success
752
1199
  */
753
1200
  200: unknown;
1201
+ /**
1202
+ * The created Communication object from Twilio
1203
+ */
1204
+ 201: {
1205
+ [key: string]: unknown;
1206
+ };
754
1207
  };
1208
+ type PostConversationsCommunicationsByConversationIdResponse = PostConversationsCommunicationsByConversationIdResponses[keyof PostConversationsCommunicationsByConversationIdResponses];
755
1209
  type GetConversationsFetchData = {
756
1210
  body?: never;
757
1211
  path?: never;
@@ -769,14 +1223,18 @@ type GetConversationsFetchErrors = {
769
1223
  /**
770
1224
  * Internal server error
771
1225
  */
772
- 500: unknown;
1226
+ 500: ErrorResponse;
773
1227
  };
1228
+ type GetConversationsFetchError = GetConversationsFetchErrors[keyof GetConversationsFetchErrors];
774
1229
  type GetConversationsFetchResponses = {
775
1230
  /**
776
- * Success
1231
+ * A single Conversation (when conversationId is provided) or a paginated conversations list
777
1232
  */
778
- 200: unknown;
1233
+ 200: {
1234
+ [key: string]: unknown;
1235
+ };
779
1236
  };
1237
+ type GetConversationsFetchResponse = GetConversationsFetchResponses[keyof GetConversationsFetchResponses];
780
1238
  type PostConversationsData = {
781
1239
  body: {
782
1240
  /**
@@ -789,6 +1247,10 @@ type PostConversationsData = {
789
1247
  url: '/conversations';
790
1248
  };
791
1249
  type PostConversationsErrors = {
1250
+ /**
1251
+ * Invalid request parameters
1252
+ */
1253
+ 400: ErrorResponse;
792
1254
  /**
793
1255
  * Unauthorized — requires Bearer token
794
1256
  */
@@ -796,14 +1258,16 @@ type PostConversationsErrors = {
796
1258
  /**
797
1259
  * Internal server error
798
1260
  */
799
- 500: unknown;
1261
+ 500: ErrorResponse;
800
1262
  };
1263
+ type PostConversationsError = PostConversationsErrors[keyof PostConversationsErrors];
801
1264
  type PostConversationsResponses = {
802
1265
  /**
803
- * Success
1266
+ * The created conversation
804
1267
  */
805
- 200: unknown;
1268
+ 200: Conversation;
806
1269
  };
1270
+ type PostConversationsResponse = PostConversationsResponses[keyof PostConversationsResponses];
807
1271
  type PutConversationsData = {
808
1272
  body: {
809
1273
  /**
@@ -820,6 +1284,10 @@ type PutConversationsData = {
820
1284
  url: '/conversations';
821
1285
  };
822
1286
  type PutConversationsErrors = {
1287
+ /**
1288
+ * Invalid request parameters or invalid status value
1289
+ */
1290
+ 400: ErrorResponse;
823
1291
  /**
824
1292
  * Unauthorized — requires Bearer token
825
1293
  */
@@ -827,14 +1295,16 @@ type PutConversationsErrors = {
827
1295
  /**
828
1296
  * Internal server error
829
1297
  */
830
- 500: unknown;
1298
+ 500: ErrorResponse;
831
1299
  };
1300
+ type PutConversationsError = PutConversationsErrors[keyof PutConversationsErrors];
832
1301
  type PutConversationsResponses = {
833
1302
  /**
834
- * Success
1303
+ * The updated conversation object
835
1304
  */
836
- 200: unknown;
1305
+ 200: Conversation;
837
1306
  };
1307
+ type PutConversationsResponse = PutConversationsResponses[keyof PutConversationsResponses];
838
1308
  type GetParticipantsData = {
839
1309
  body?: never;
840
1310
  path?: never;
@@ -845,6 +1315,10 @@ type GetParticipantsData = {
845
1315
  url: '/participants';
846
1316
  };
847
1317
  type GetParticipantsErrors = {
1318
+ /**
1319
+ * Invalid request parameters
1320
+ */
1321
+ 400: ErrorResponse;
848
1322
  /**
849
1323
  * Unauthorized — requires Bearer token
850
1324
  */
@@ -852,14 +1326,21 @@ type GetParticipantsErrors = {
852
1326
  /**
853
1327
  * Internal server error
854
1328
  */
855
- 500: unknown;
1329
+ 500: ErrorResponse;
856
1330
  };
1331
+ type GetParticipantsError = GetParticipantsErrors[keyof GetParticipantsErrors];
857
1332
  type GetParticipantsResponses = {
858
1333
  /**
859
1334
  * Success
860
1335
  */
861
- 200: unknown;
1336
+ 200: {
1337
+ /**
1338
+ * Participants in the conversation
1339
+ */
1340
+ participants: Array<Participant>;
1341
+ };
862
1342
  };
1343
+ type GetParticipantsResponse = GetParticipantsResponses[keyof GetParticipantsResponses];
863
1344
  type PostParticipantsData = {
864
1345
  body: {
865
1346
  /**
@@ -880,6 +1361,10 @@ type PostParticipantsData = {
880
1361
  url: '/participants';
881
1362
  };
882
1363
  type PostParticipantsErrors = {
1364
+ /**
1365
+ * Invalid request parameters or invalid participant type
1366
+ */
1367
+ 400: ErrorResponse;
883
1368
  /**
884
1369
  * Unauthorized — requires Bearer token
885
1370
  */
@@ -887,14 +1372,18 @@ type PostParticipantsErrors = {
887
1372
  /**
888
1373
  * Internal server error
889
1374
  */
890
- 500: unknown;
1375
+ 500: ErrorResponse;
891
1376
  };
1377
+ type PostParticipantsError = PostParticipantsErrors[keyof PostParticipantsErrors];
892
1378
  type PostParticipantsResponses = {
893
1379
  /**
894
- * Success
1380
+ * The created participant object from Twilio
895
1381
  */
896
- 200: unknown;
1382
+ 200: {
1383
+ [key: string]: unknown;
1384
+ };
897
1385
  };
1386
+ type PostParticipantsResponse = PostParticipantsResponses[keyof PostParticipantsResponses];
898
1387
  type PutParticipantsData = {
899
1388
  body: {
900
1389
  /**
@@ -911,6 +1400,10 @@ type PutParticipantsData = {
911
1400
  url: '/participants';
912
1401
  };
913
1402
  type PutParticipantsErrors = {
1403
+ /**
1404
+ * Invalid request parameters
1405
+ */
1406
+ 400: ErrorResponse;
914
1407
  /**
915
1408
  * Unauthorized — requires Bearer token
916
1409
  */
@@ -918,14 +1411,18 @@ type PutParticipantsErrors = {
918
1411
  /**
919
1412
  * Internal server error
920
1413
  */
921
- 500: unknown;
1414
+ 500: ErrorResponse;
922
1415
  };
1416
+ type PutParticipantsError = PutParticipantsErrors[keyof PutParticipantsErrors];
923
1417
  type PutParticipantsResponses = {
924
1418
  /**
925
- * Success
1419
+ * The updated participant object from Twilio
926
1420
  */
927
- 200: unknown;
1421
+ 200: {
1422
+ [key: string]: unknown;
1423
+ };
928
1424
  };
1425
+ type PutParticipantsResponse = PutParticipantsResponses[keyof PutParticipantsResponses];
929
1426
  type DeleteConversationalIntelligenceOperatorData = {
930
1427
  body: {
931
1428
  /**
@@ -938,21 +1435,32 @@ type DeleteConversationalIntelligenceOperatorData = {
938
1435
  url: '/conversational-intelligence-operator';
939
1436
  };
940
1437
  type DeleteConversationalIntelligenceOperatorErrors = {
1438
+ /**
1439
+ * Missing request parameters
1440
+ */
1441
+ 400: ErrorResponse;
941
1442
  /**
942
1443
  * Unauthorized — requires Bearer token
943
1444
  */
944
1445
  401: unknown;
945
1446
  /**
946
- * Internal server error
1447
+ * Operator api error, or internal server error
947
1448
  */
948
- 500: unknown;
1449
+ 500: ErrorResponse;
949
1450
  };
1451
+ type DeleteConversationalIntelligenceOperatorError = DeleteConversationalIntelligenceOperatorErrors[keyof DeleteConversationalIntelligenceOperatorErrors];
950
1452
  type DeleteConversationalIntelligenceOperatorResponses = {
951
1453
  /**
952
1454
  * Success
953
1455
  */
954
- 200: unknown;
1456
+ 200: {
1457
+ /**
1458
+ * Always true on successful deletion
1459
+ */
1460
+ success: boolean;
1461
+ };
955
1462
  };
1463
+ type DeleteConversationalIntelligenceOperatorResponse = DeleteConversationalIntelligenceOperatorResponses[keyof DeleteConversationalIntelligenceOperatorResponses];
956
1464
  type GetConversationalIntelligenceOperatorData = {
957
1465
  body?: never;
958
1466
  path?: never;
@@ -963,6 +1471,10 @@ type GetConversationalIntelligenceOperatorData = {
963
1471
  url: '/conversational-intelligence-operator';
964
1472
  };
965
1473
  type GetConversationalIntelligenceOperatorErrors = {
1474
+ /**
1475
+ * pageToken should not be provided together with intelligenceOperatorId
1476
+ */
1477
+ 400: ErrorResponse;
966
1478
  /**
967
1479
  * Unauthorized — requires Bearer token
968
1480
  */
@@ -970,14 +1482,18 @@ type GetConversationalIntelligenceOperatorErrors = {
970
1482
  /**
971
1483
  * Internal server error
972
1484
  */
973
- 500: unknown;
1485
+ 500: ErrorResponse;
974
1486
  };
1487
+ type GetConversationalIntelligenceOperatorError = GetConversationalIntelligenceOperatorErrors[keyof GetConversationalIntelligenceOperatorErrors];
975
1488
  type GetConversationalIntelligenceOperatorResponses = {
976
1489
  /**
977
- * Success
1490
+ * A single Operator (when intelligenceOperatorId is provided) or an OperatorList (paginated)
978
1491
  */
979
- 200: unknown;
1492
+ 200: {
1493
+ [key: string]: unknown;
1494
+ };
980
1495
  };
1496
+ type GetConversationalIntelligenceOperatorResponse = GetConversationalIntelligenceOperatorResponses[keyof GetConversationalIntelligenceOperatorResponses];
981
1497
  type PostConversationalIntelligenceOperatorData = {
982
1498
  body: {
983
1499
  /**
@@ -1010,6 +1526,10 @@ type PostConversationalIntelligenceOperatorData = {
1010
1526
  url: '/conversational-intelligence-operator';
1011
1527
  };
1012
1528
  type PostConversationalIntelligenceOperatorErrors = {
1529
+ /**
1530
+ * Missing or invalid request parameters
1531
+ */
1532
+ 400: ErrorResponse;
1013
1533
  /**
1014
1534
  * Unauthorized — requires Bearer token
1015
1535
  */
@@ -1017,14 +1537,16 @@ type PostConversationalIntelligenceOperatorErrors = {
1017
1537
  /**
1018
1538
  * Internal server error
1019
1539
  */
1020
- 500: unknown;
1540
+ 500: ErrorResponse;
1021
1541
  };
1542
+ type PostConversationalIntelligenceOperatorError = PostConversationalIntelligenceOperatorErrors[keyof PostConversationalIntelligenceOperatorErrors];
1022
1543
  type PostConversationalIntelligenceOperatorResponses = {
1023
1544
  /**
1024
- * Success
1545
+ * The created operator object
1025
1546
  */
1026
- 200: unknown;
1547
+ 200: Operator;
1027
1548
  };
1549
+ type PostConversationalIntelligenceOperatorResponse = PostConversationalIntelligenceOperatorResponses[keyof PostConversationalIntelligenceOperatorResponses];
1028
1550
  type PutConversationalIntelligenceOperatorData = {
1029
1551
  body: {
1030
1552
  /**
@@ -1057,6 +1579,10 @@ type PutConversationalIntelligenceOperatorData = {
1057
1579
  url: '/conversational-intelligence-operator';
1058
1580
  };
1059
1581
  type PutConversationalIntelligenceOperatorErrors = {
1582
+ /**
1583
+ * Missing or invalid request parameters
1584
+ */
1585
+ 400: ErrorResponse;
1060
1586
  /**
1061
1587
  * Unauthorized — requires Bearer token
1062
1588
  */
@@ -1064,14 +1590,16 @@ type PutConversationalIntelligenceOperatorErrors = {
1064
1590
  /**
1065
1591
  * Internal server error
1066
1592
  */
1067
- 500: unknown;
1593
+ 500: ErrorResponse;
1068
1594
  };
1595
+ type PutConversationalIntelligenceOperatorError = PutConversationalIntelligenceOperatorErrors[keyof PutConversationalIntelligenceOperatorErrors];
1069
1596
  type PutConversationalIntelligenceOperatorResponses = {
1070
1597
  /**
1071
- * Success
1598
+ * The updated operator object
1072
1599
  */
1073
- 200: unknown;
1600
+ 200: Operator;
1074
1601
  };
1602
+ type PutConversationalIntelligenceOperatorResponse = PutConversationalIntelligenceOperatorResponses[keyof PutConversationalIntelligenceOperatorResponses];
1075
1603
  type GetIntelligenceConfigurationData = {
1076
1604
  body?: never;
1077
1605
  path?: never;
@@ -1082,6 +1610,10 @@ type GetIntelligenceConfigurationData = {
1082
1610
  url: '/intelligence-configuration';
1083
1611
  };
1084
1612
  type GetIntelligenceConfigurationErrors = {
1613
+ /**
1614
+ * pageToken should not be provided together with intelligenceConfigurationId
1615
+ */
1616
+ 400: ErrorResponse;
1085
1617
  /**
1086
1618
  * Unauthorized — requires Bearer token
1087
1619
  */
@@ -1089,14 +1621,18 @@ type GetIntelligenceConfigurationErrors = {
1089
1621
  /**
1090
1622
  * Internal server error
1091
1623
  */
1092
- 500: unknown;
1624
+ 500: ErrorResponse;
1093
1625
  };
1626
+ type GetIntelligenceConfigurationError = GetIntelligenceConfigurationErrors[keyof GetIntelligenceConfigurationErrors];
1094
1627
  type GetIntelligenceConfigurationResponses = {
1095
1628
  /**
1096
- * Success
1629
+ * A single IntelligenceConfiguration (when intelligenceConfigurationId is provided) or an IntelligenceConfigurationList (paginated)
1097
1630
  */
1098
- 200: unknown;
1631
+ 200: {
1632
+ [key: string]: unknown;
1633
+ };
1099
1634
  };
1635
+ type GetIntelligenceConfigurationResponse = GetIntelligenceConfigurationResponses[keyof GetIntelligenceConfigurationResponses];
1100
1636
  type PostIntelligenceConfigurationData = {
1101
1637
  body: {
1102
1638
  [key: string]: unknown;
@@ -1106,6 +1642,10 @@ type PostIntelligenceConfigurationData = {
1106
1642
  url: '/intelligence-configuration';
1107
1643
  };
1108
1644
  type PostIntelligenceConfigurationErrors = {
1645
+ /**
1646
+ * Missing request parameters
1647
+ */
1648
+ 400: ErrorResponse;
1109
1649
  /**
1110
1650
  * Unauthorized — requires Bearer token
1111
1651
  */
@@ -1113,14 +1653,16 @@ type PostIntelligenceConfigurationErrors = {
1113
1653
  /**
1114
1654
  * Internal server error
1115
1655
  */
1116
- 500: unknown;
1656
+ 500: ErrorResponse;
1117
1657
  };
1658
+ type PostIntelligenceConfigurationError = PostIntelligenceConfigurationErrors[keyof PostIntelligenceConfigurationErrors];
1118
1659
  type PostIntelligenceConfigurationResponses = {
1119
1660
  /**
1120
- * Success
1661
+ * The created configuration
1121
1662
  */
1122
- 200: unknown;
1663
+ 200: IntelligenceConfiguration;
1123
1664
  };
1665
+ type PostIntelligenceConfigurationResponse = PostIntelligenceConfigurationResponses[keyof PostIntelligenceConfigurationResponses];
1124
1666
  type PutIntelligenceConfigurationData = {
1125
1667
  body: {
1126
1668
  /**
@@ -1133,6 +1675,10 @@ type PutIntelligenceConfigurationData = {
1133
1675
  url: '/intelligence-configuration';
1134
1676
  };
1135
1677
  type PutIntelligenceConfigurationErrors = {
1678
+ /**
1679
+ * Missing or invalid request parameters
1680
+ */
1681
+ 400: ErrorResponse;
1136
1682
  /**
1137
1683
  * Unauthorized — requires Bearer token
1138
1684
  */
@@ -1140,14 +1686,16 @@ type PutIntelligenceConfigurationErrors = {
1140
1686
  /**
1141
1687
  * Internal server error
1142
1688
  */
1143
- 500: unknown;
1689
+ 500: ErrorResponse;
1144
1690
  };
1691
+ type PutIntelligenceConfigurationError = PutIntelligenceConfigurationErrors[keyof PutIntelligenceConfigurationErrors];
1145
1692
  type PutIntelligenceConfigurationResponses = {
1146
1693
  /**
1147
- * Success
1694
+ * The updated configuration
1148
1695
  */
1149
- 200: unknown;
1696
+ 200: IntelligenceConfiguration;
1150
1697
  };
1698
+ type PutIntelligenceConfigurationResponse = PutIntelligenceConfigurationResponses[keyof PutIntelligenceConfigurationResponses];
1151
1699
  type DeleteConversationMemoryProfilesData = {
1152
1700
  body?: never;
1153
1701
  path?: never;
@@ -1158,6 +1706,10 @@ type DeleteConversationMemoryProfilesData = {
1158
1706
  url: '/conversation-memory-profiles';
1159
1707
  };
1160
1708
  type DeleteConversationMemoryProfilesErrors = {
1709
+ /**
1710
+ * Invalid request parameters
1711
+ */
1712
+ 400: ErrorResponse;
1161
1713
  /**
1162
1714
  * Unauthorized — requires Bearer token
1163
1715
  */
@@ -1165,14 +1717,22 @@ type DeleteConversationMemoryProfilesErrors = {
1165
1717
  /**
1166
1718
  * Internal server error
1167
1719
  */
1168
- 500: unknown;
1720
+ 500: ErrorResponse;
1169
1721
  };
1722
+ type DeleteConversationMemoryProfilesError = DeleteConversationMemoryProfilesErrors[keyof DeleteConversationMemoryProfilesErrors];
1170
1723
  type DeleteConversationMemoryProfilesResponses = {
1171
1724
  /**
1172
1725
  * Success
1173
1726
  */
1174
1727
  200: unknown;
1728
+ /**
1729
+ * Upstream confirmation payload from the Conversation Memory API
1730
+ */
1731
+ 202: {
1732
+ [key: string]: unknown;
1733
+ };
1175
1734
  };
1735
+ type DeleteConversationMemoryProfilesResponse = DeleteConversationMemoryProfilesResponses[keyof DeleteConversationMemoryProfilesResponses];
1176
1736
  type GetConversationMemoryProfilesData = {
1177
1737
  body?: never;
1178
1738
  path?: never;
@@ -1187,6 +1747,10 @@ type GetConversationMemoryProfilesData = {
1187
1747
  url: '/conversation-memory-profiles';
1188
1748
  };
1189
1749
  type GetConversationMemoryProfilesErrors = {
1750
+ /**
1751
+ * Invalid request parameters
1752
+ */
1753
+ 400: ErrorResponse;
1190
1754
  /**
1191
1755
  * Unauthorized — requires Bearer token
1192
1756
  */
@@ -1194,14 +1758,18 @@ type GetConversationMemoryProfilesErrors = {
1194
1758
  /**
1195
1759
  * Internal server error
1196
1760
  */
1197
- 500: unknown;
1761
+ 500: ErrorResponse;
1198
1762
  };
1763
+ type GetConversationMemoryProfilesError = GetConversationMemoryProfilesErrors[keyof GetConversationMemoryProfilesErrors];
1199
1764
  type GetConversationMemoryProfilesResponses = {
1200
1765
  /**
1201
- * Success
1766
+ * Upstream profile data (single profile or paginated list) from the Conversation Memory API
1202
1767
  */
1203
- 200: unknown;
1768
+ 200: {
1769
+ [key: string]: unknown;
1770
+ };
1204
1771
  };
1772
+ type GetConversationMemoryProfilesResponse = GetConversationMemoryProfilesResponses[keyof GetConversationMemoryProfilesResponses];
1205
1773
  type PatchConversationMemoryProfilesData = {
1206
1774
  body: {
1207
1775
  /**
@@ -1215,13 +1783,19 @@ type PatchConversationMemoryProfilesData = {
1215
1783
  /**
1216
1784
  * Trait groups with key-value pairs to merge (required)
1217
1785
  */
1218
- traits: string;
1786
+ traits: {
1787
+ [key: string]: unknown;
1788
+ };
1219
1789
  };
1220
1790
  path?: never;
1221
1791
  query?: never;
1222
1792
  url: '/conversation-memory-profiles';
1223
1793
  };
1224
1794
  type PatchConversationMemoryProfilesErrors = {
1795
+ /**
1796
+ * Invalid request parameters
1797
+ */
1798
+ 400: ErrorResponse;
1225
1799
  /**
1226
1800
  * Unauthorized — requires Bearer token
1227
1801
  */
@@ -1229,14 +1803,22 @@ type PatchConversationMemoryProfilesErrors = {
1229
1803
  /**
1230
1804
  * Internal server error
1231
1805
  */
1232
- 500: unknown;
1806
+ 500: ErrorResponse;
1233
1807
  };
1808
+ type PatchConversationMemoryProfilesError = PatchConversationMemoryProfilesErrors[keyof PatchConversationMemoryProfilesErrors];
1234
1809
  type PatchConversationMemoryProfilesResponses = {
1235
1810
  /**
1236
1811
  * Success
1237
1812
  */
1238
1813
  200: unknown;
1814
+ /**
1815
+ * Upstream confirmation payload from the Conversation Memory API
1816
+ */
1817
+ 202: {
1818
+ [key: string]: unknown;
1819
+ };
1239
1820
  };
1821
+ type PatchConversationMemoryProfilesResponse = PatchConversationMemoryProfilesResponses[keyof PatchConversationMemoryProfilesResponses];
1240
1822
  type PostConversationMemoryProfilesData = {
1241
1823
  body: {
1242
1824
  /**
@@ -1246,13 +1828,19 @@ type PostConversationMemoryProfilesData = {
1246
1828
  /**
1247
1829
  * Trait groups with key-value pairs (required)
1248
1830
  */
1249
- traits: string;
1831
+ traits: {
1832
+ [key: string]: unknown;
1833
+ };
1250
1834
  };
1251
1835
  path?: never;
1252
1836
  query?: never;
1253
1837
  url: '/conversation-memory-profiles';
1254
1838
  };
1255
1839
  type PostConversationMemoryProfilesErrors = {
1840
+ /**
1841
+ * Invalid request parameters
1842
+ */
1843
+ 400: ErrorResponse;
1256
1844
  /**
1257
1845
  * Unauthorized — requires Bearer token
1258
1846
  */
@@ -1260,14 +1848,22 @@ type PostConversationMemoryProfilesErrors = {
1260
1848
  /**
1261
1849
  * Internal server error
1262
1850
  */
1263
- 500: unknown;
1851
+ 500: ErrorResponse;
1264
1852
  };
1853
+ type PostConversationMemoryProfilesError = PostConversationMemoryProfilesErrors[keyof PostConversationMemoryProfilesErrors];
1265
1854
  type PostConversationMemoryProfilesResponses = {
1266
1855
  /**
1267
1856
  * Success
1268
1857
  */
1269
1858
  200: unknown;
1859
+ /**
1860
+ * Upstream confirmation payload from the Conversation Memory API
1861
+ */
1862
+ 202: {
1863
+ [key: string]: unknown;
1864
+ };
1270
1865
  };
1866
+ type PostConversationMemoryProfilesResponse = PostConversationMemoryProfilesResponses[keyof PostConversationMemoryProfilesResponses];
1271
1867
  type PostConversationMemoryProfilesLookupData = {
1272
1868
  body: {
1273
1869
  /**
@@ -1288,6 +1884,10 @@ type PostConversationMemoryProfilesLookupData = {
1288
1884
  url: '/conversation-memory-profiles-lookup';
1289
1885
  };
1290
1886
  type PostConversationMemoryProfilesLookupErrors = {
1887
+ /**
1888
+ * Invalid request parameters
1889
+ */
1890
+ 400: ErrorResponse;
1291
1891
  /**
1292
1892
  * Unauthorized — requires Bearer token
1293
1893
  */
@@ -1295,14 +1895,18 @@ type PostConversationMemoryProfilesLookupErrors = {
1295
1895
  /**
1296
1896
  * Internal server error
1297
1897
  */
1298
- 500: unknown;
1898
+ 500: ErrorResponse;
1299
1899
  };
1900
+ type PostConversationMemoryProfilesLookupError = PostConversationMemoryProfilesLookupErrors[keyof PostConversationMemoryProfilesLookupErrors];
1300
1901
  type PostConversationMemoryProfilesLookupResponses = {
1301
1902
  /**
1302
- * Success
1903
+ * Upstream matching profiles payload from the Conversation Memory API
1303
1904
  */
1304
- 200: unknown;
1905
+ 200: {
1906
+ [key: string]: unknown;
1907
+ };
1305
1908
  };
1909
+ type PostConversationMemoryProfilesLookupResponse = PostConversationMemoryProfilesLookupResponses[keyof PostConversationMemoryProfilesLookupResponses];
1306
1910
  type PostConversationMemoryRecallData = {
1307
1911
  body: {
1308
1912
  /**
@@ -1319,6 +1923,10 @@ type PostConversationMemoryRecallData = {
1319
1923
  url: '/conversation-memory-recall';
1320
1924
  };
1321
1925
  type PostConversationMemoryRecallErrors = {
1926
+ /**
1927
+ * Invalid request parameters
1928
+ */
1929
+ 400: ErrorResponse;
1322
1930
  /**
1323
1931
  * Unauthorized — requires Bearer token
1324
1932
  */
@@ -1326,14 +1934,18 @@ type PostConversationMemoryRecallErrors = {
1326
1934
  /**
1327
1935
  * Internal server error
1328
1936
  */
1329
- 500: unknown;
1937
+ 500: ErrorResponse;
1330
1938
  };
1939
+ type PostConversationMemoryRecallError = PostConversationMemoryRecallErrors[keyof PostConversationMemoryRecallErrors];
1331
1940
  type PostConversationMemoryRecallResponses = {
1332
1941
  /**
1333
- * Success
1942
+ * Upstream memory retrieval results from the Conversation Memory API
1334
1943
  */
1335
- 200: unknown;
1944
+ 200: {
1945
+ [key: string]: unknown;
1946
+ };
1336
1947
  };
1948
+ type PostConversationMemoryRecallResponse = PostConversationMemoryRecallResponses[keyof PostConversationMemoryRecallResponses];
1337
1949
  type DeleteConversationMemoryIdentifiersData = {
1338
1950
  body?: never;
1339
1951
  path?: never;
@@ -1346,6 +1958,10 @@ type DeleteConversationMemoryIdentifiersData = {
1346
1958
  url: '/conversation-memory-identifiers';
1347
1959
  };
1348
1960
  type DeleteConversationMemoryIdentifiersErrors = {
1961
+ /**
1962
+ * Invalid request parameters
1963
+ */
1964
+ 400: ErrorResponse;
1349
1965
  /**
1350
1966
  * Unauthorized — requires Bearer token
1351
1967
  */
@@ -1353,14 +1969,22 @@ type DeleteConversationMemoryIdentifiersErrors = {
1353
1969
  /**
1354
1970
  * Internal server error
1355
1971
  */
1356
- 500: unknown;
1972
+ 500: ErrorResponse;
1357
1973
  };
1974
+ type DeleteConversationMemoryIdentifiersError = DeleteConversationMemoryIdentifiersErrors[keyof DeleteConversationMemoryIdentifiersErrors];
1358
1975
  type DeleteConversationMemoryIdentifiersResponses = {
1359
1976
  /**
1360
1977
  * Success
1361
1978
  */
1362
1979
  200: unknown;
1980
+ /**
1981
+ * Upstream confirmation payload from the Conversation Memory API
1982
+ */
1983
+ 202: {
1984
+ [key: string]: unknown;
1985
+ };
1363
1986
  };
1987
+ type DeleteConversationMemoryIdentifiersResponse = DeleteConversationMemoryIdentifiersResponses[keyof DeleteConversationMemoryIdentifiersResponses];
1364
1988
  type GetConversationMemoryIdentifiersData = {
1365
1989
  body?: never;
1366
1990
  path?: never;
@@ -1372,6 +1996,10 @@ type GetConversationMemoryIdentifiersData = {
1372
1996
  url: '/conversation-memory-identifiers';
1373
1997
  };
1374
1998
  type GetConversationMemoryIdentifiersErrors = {
1999
+ /**
2000
+ * Invalid request parameters
2001
+ */
2002
+ 400: ErrorResponse;
1375
2003
  /**
1376
2004
  * Unauthorized — requires Bearer token
1377
2005
  */
@@ -1379,14 +2007,18 @@ type GetConversationMemoryIdentifiersErrors = {
1379
2007
  /**
1380
2008
  * Internal server error
1381
2009
  */
1382
- 500: unknown;
2010
+ 500: ErrorResponse;
1383
2011
  };
2012
+ type GetConversationMemoryIdentifiersError = GetConversationMemoryIdentifiersErrors[keyof GetConversationMemoryIdentifiersErrors];
1384
2013
  type GetConversationMemoryIdentifiersResponses = {
1385
2014
  /**
1386
- * Success
2015
+ * Upstream identifier data from the Conversation Memory API
1387
2016
  */
1388
- 200: unknown;
2017
+ 200: {
2018
+ [key: string]: unknown;
2019
+ };
1389
2020
  };
2021
+ type GetConversationMemoryIdentifiersResponse = GetConversationMemoryIdentifiersResponses[keyof GetConversationMemoryIdentifiersResponses];
1390
2022
  type PatchConversationMemoryIdentifiersData = {
1391
2023
  body: {
1392
2024
  /**
@@ -1415,6 +2047,10 @@ type PatchConversationMemoryIdentifiersData = {
1415
2047
  url: '/conversation-memory-identifiers';
1416
2048
  };
1417
2049
  type PatchConversationMemoryIdentifiersErrors = {
2050
+ /**
2051
+ * Invalid request parameters
2052
+ */
2053
+ 400: ErrorResponse;
1418
2054
  /**
1419
2055
  * Unauthorized — requires Bearer token
1420
2056
  */
@@ -1422,14 +2058,22 @@ type PatchConversationMemoryIdentifiersErrors = {
1422
2058
  /**
1423
2059
  * Internal server error
1424
2060
  */
1425
- 500: unknown;
2061
+ 500: ErrorResponse;
1426
2062
  };
2063
+ type PatchConversationMemoryIdentifiersError = PatchConversationMemoryIdentifiersErrors[keyof PatchConversationMemoryIdentifiersErrors];
1427
2064
  type PatchConversationMemoryIdentifiersResponses = {
1428
2065
  /**
1429
2066
  * Success
1430
2067
  */
1431
2068
  200: unknown;
2069
+ /**
2070
+ * Upstream confirmation payload from the Conversation Memory API
2071
+ */
2072
+ 202: {
2073
+ [key: string]: unknown;
2074
+ };
1432
2075
  };
2076
+ type PatchConversationMemoryIdentifiersResponse = PatchConversationMemoryIdentifiersResponses[keyof PatchConversationMemoryIdentifiersResponses];
1433
2077
  type PostConversationMemoryIdentifiersData = {
1434
2078
  body: {
1435
2079
  /**
@@ -1454,6 +2098,10 @@ type PostConversationMemoryIdentifiersData = {
1454
2098
  url: '/conversation-memory-identifiers';
1455
2099
  };
1456
2100
  type PostConversationMemoryIdentifiersErrors = {
2101
+ /**
2102
+ * Invalid request parameters
2103
+ */
2104
+ 400: ErrorResponse;
1457
2105
  /**
1458
2106
  * Unauthorized — requires Bearer token
1459
2107
  */
@@ -1461,14 +2109,22 @@ type PostConversationMemoryIdentifiersErrors = {
1461
2109
  /**
1462
2110
  * Internal server error
1463
2111
  */
1464
- 500: unknown;
2112
+ 500: ErrorResponse;
1465
2113
  };
2114
+ type PostConversationMemoryIdentifiersError = PostConversationMemoryIdentifiersErrors[keyof PostConversationMemoryIdentifiersErrors];
1466
2115
  type PostConversationMemoryIdentifiersResponses = {
1467
2116
  /**
1468
2117
  * Success
1469
2118
  */
1470
2119
  200: unknown;
2120
+ /**
2121
+ * Upstream confirmation payload from the Conversation Memory API
2122
+ */
2123
+ 202: {
2124
+ [key: string]: unknown;
2125
+ };
1471
2126
  };
2127
+ type PostConversationMemoryIdentifiersResponse = PostConversationMemoryIdentifiersResponses[keyof PostConversationMemoryIdentifiersResponses];
1472
2128
  type DeleteConversationMemoryTraitGroupsData = {
1473
2129
  body?: never;
1474
2130
  path?: never;
@@ -1479,6 +2135,10 @@ type DeleteConversationMemoryTraitGroupsData = {
1479
2135
  url: '/conversation-memory-trait-groups';
1480
2136
  };
1481
2137
  type DeleteConversationMemoryTraitGroupsErrors = {
2138
+ /**
2139
+ * Invalid request parameters
2140
+ */
2141
+ 400: ErrorResponse;
1482
2142
  /**
1483
2143
  * Unauthorized — requires Bearer token
1484
2144
  */
@@ -1486,14 +2146,22 @@ type DeleteConversationMemoryTraitGroupsErrors = {
1486
2146
  /**
1487
2147
  * Internal server error
1488
2148
  */
1489
- 500: unknown;
2149
+ 500: ErrorResponse;
1490
2150
  };
2151
+ type DeleteConversationMemoryTraitGroupsError = DeleteConversationMemoryTraitGroupsErrors[keyof DeleteConversationMemoryTraitGroupsErrors];
1491
2152
  type DeleteConversationMemoryTraitGroupsResponses = {
1492
2153
  /**
1493
2154
  * Success
1494
2155
  */
1495
2156
  200: unknown;
2157
+ /**
2158
+ * Upstream confirmation payload from the Conversation Memory API
2159
+ */
2160
+ 202: {
2161
+ [key: string]: unknown;
2162
+ };
1496
2163
  };
2164
+ type DeleteConversationMemoryTraitGroupsResponse = DeleteConversationMemoryTraitGroupsResponses[keyof DeleteConversationMemoryTraitGroupsResponses];
1497
2165
  type GetConversationMemoryTraitGroupsData = {
1498
2166
  body?: never;
1499
2167
  path?: never;
@@ -1508,6 +2176,10 @@ type GetConversationMemoryTraitGroupsData = {
1508
2176
  url: '/conversation-memory-trait-groups';
1509
2177
  };
1510
2178
  type GetConversationMemoryTraitGroupsErrors = {
2179
+ /**
2180
+ * Invalid request parameters
2181
+ */
2182
+ 400: ErrorResponse;
1511
2183
  /**
1512
2184
  * Unauthorized — requires Bearer token
1513
2185
  */
@@ -1515,14 +2187,18 @@ type GetConversationMemoryTraitGroupsErrors = {
1515
2187
  /**
1516
2188
  * Internal server error
1517
2189
  */
1518
- 500: unknown;
2190
+ 500: ErrorResponse;
1519
2191
  };
2192
+ type GetConversationMemoryTraitGroupsError = GetConversationMemoryTraitGroupsErrors[keyof GetConversationMemoryTraitGroupsErrors];
1520
2193
  type GetConversationMemoryTraitGroupsResponses = {
1521
2194
  /**
1522
- * Success
2195
+ * Upstream Trait Group data (single group or paginated list) from the Conversation Memory API
1523
2196
  */
1524
- 200: unknown;
2197
+ 200: {
2198
+ [key: string]: unknown;
2199
+ };
1525
2200
  };
2201
+ type GetConversationMemoryTraitGroupsResponse = GetConversationMemoryTraitGroupsResponses[keyof GetConversationMemoryTraitGroupsResponses];
1526
2202
  type PatchConversationMemoryTraitGroupsData = {
1527
2203
  body: {
1528
2204
  /**
@@ -1539,6 +2215,10 @@ type PatchConversationMemoryTraitGroupsData = {
1539
2215
  url: '/conversation-memory-trait-groups';
1540
2216
  };
1541
2217
  type PatchConversationMemoryTraitGroupsErrors = {
2218
+ /**
2219
+ * Invalid request parameters
2220
+ */
2221
+ 400: ErrorResponse;
1542
2222
  /**
1543
2223
  * Unauthorized — requires Bearer token
1544
2224
  */
@@ -1546,14 +2226,22 @@ type PatchConversationMemoryTraitGroupsErrors = {
1546
2226
  /**
1547
2227
  * Internal server error
1548
2228
  */
1549
- 500: unknown;
2229
+ 500: ErrorResponse;
1550
2230
  };
2231
+ type PatchConversationMemoryTraitGroupsError = PatchConversationMemoryTraitGroupsErrors[keyof PatchConversationMemoryTraitGroupsErrors];
1551
2232
  type PatchConversationMemoryTraitGroupsResponses = {
1552
2233
  /**
1553
2234
  * Success
1554
2235
  */
1555
2236
  200: unknown;
2237
+ /**
2238
+ * Upstream updated Trait Group from the Conversation Memory API
2239
+ */
2240
+ 202: {
2241
+ [key: string]: unknown;
2242
+ };
1556
2243
  };
2244
+ type PatchConversationMemoryTraitGroupsResponse = PatchConversationMemoryTraitGroupsResponses[keyof PatchConversationMemoryTraitGroupsResponses];
1557
2245
  type PostConversationMemoryTraitGroupsData = {
1558
2246
  body: {
1559
2247
  /**
@@ -1570,6 +2258,10 @@ type PostConversationMemoryTraitGroupsData = {
1570
2258
  url: '/conversation-memory-trait-groups';
1571
2259
  };
1572
2260
  type PostConversationMemoryTraitGroupsErrors = {
2261
+ /**
2262
+ * Invalid request parameters
2263
+ */
2264
+ 400: ErrorResponse;
1573
2265
  /**
1574
2266
  * Unauthorized — requires Bearer token
1575
2267
  */
@@ -1577,14 +2269,22 @@ type PostConversationMemoryTraitGroupsErrors = {
1577
2269
  /**
1578
2270
  * Internal server error
1579
2271
  */
1580
- 500: unknown;
2272
+ 500: ErrorResponse;
1581
2273
  };
2274
+ type PostConversationMemoryTraitGroupsError = PostConversationMemoryTraitGroupsErrors[keyof PostConversationMemoryTraitGroupsErrors];
1582
2275
  type PostConversationMemoryTraitGroupsResponses = {
1583
2276
  /**
1584
2277
  * Success
1585
2278
  */
1586
2279
  200: unknown;
2280
+ /**
2281
+ * Upstream created Trait Group from the Conversation Memory API
2282
+ */
2283
+ 202: {
2284
+ [key: string]: unknown;
2285
+ };
1587
2286
  };
2287
+ type PostConversationMemoryTraitGroupsResponse = PostConversationMemoryTraitGroupsResponses[keyof PostConversationMemoryTraitGroupsResponses];
1588
2288
  type GetConversationMemoryTraitsData = {
1589
2289
  body?: never;
1590
2290
  path?: never;
@@ -1599,6 +2299,10 @@ type GetConversationMemoryTraitsData = {
1599
2299
  url: '/conversation-memory-traits';
1600
2300
  };
1601
2301
  type GetConversationMemoryTraitsErrors = {
2302
+ /**
2303
+ * Invalid request parameters
2304
+ */
2305
+ 400: ErrorResponse;
1602
2306
  /**
1603
2307
  * Unauthorized — requires Bearer token
1604
2308
  */
@@ -1606,14 +2310,18 @@ type GetConversationMemoryTraitsErrors = {
1606
2310
  /**
1607
2311
  * Internal server error
1608
2312
  */
1609
- 500: unknown;
2313
+ 500: ErrorResponse;
1610
2314
  };
2315
+ type GetConversationMemoryTraitsError = GetConversationMemoryTraitsErrors[keyof GetConversationMemoryTraitsErrors];
1611
2316
  type GetConversationMemoryTraitsResponses = {
1612
2317
  /**
1613
- * Success
2318
+ * Upstream paginated traits list from the Conversation Memory API
1614
2319
  */
1615
- 200: unknown;
2320
+ 200: {
2321
+ [key: string]: unknown;
2322
+ };
1616
2323
  };
2324
+ type GetConversationMemoryTraitsResponse = GetConversationMemoryTraitsResponses[keyof GetConversationMemoryTraitsResponses];
1617
2325
  type DeleteConversationMemoryObservationsData = {
1618
2326
  body?: never;
1619
2327
  path?: never;
@@ -1625,6 +2333,10 @@ type DeleteConversationMemoryObservationsData = {
1625
2333
  url: '/conversation-memory-observations';
1626
2334
  };
1627
2335
  type DeleteConversationMemoryObservationsErrors = {
2336
+ /**
2337
+ * Invalid request parameters
2338
+ */
2339
+ 400: ErrorResponse;
1628
2340
  /**
1629
2341
  * Unauthorized — requires Bearer token
1630
2342
  */
@@ -1632,14 +2344,22 @@ type DeleteConversationMemoryObservationsErrors = {
1632
2344
  /**
1633
2345
  * Internal server error
1634
2346
  */
1635
- 500: unknown;
2347
+ 500: ErrorResponse;
1636
2348
  };
2349
+ type DeleteConversationMemoryObservationsError = DeleteConversationMemoryObservationsErrors[keyof DeleteConversationMemoryObservationsErrors];
1637
2350
  type DeleteConversationMemoryObservationsResponses = {
1638
2351
  /**
1639
2352
  * Success
1640
2353
  */
1641
2354
  200: unknown;
2355
+ /**
2356
+ * Upstream confirmation payload from the Conversation Memory API
2357
+ */
2358
+ 202: {
2359
+ [key: string]: unknown;
2360
+ };
1642
2361
  };
2362
+ type DeleteConversationMemoryObservationsResponse = DeleteConversationMemoryObservationsResponses[keyof DeleteConversationMemoryObservationsResponses];
1643
2363
  type GetConversationMemoryObservationsData = {
1644
2364
  body?: never;
1645
2365
  path?: never;
@@ -1657,6 +2377,10 @@ type GetConversationMemoryObservationsData = {
1657
2377
  url: '/conversation-memory-observations';
1658
2378
  };
1659
2379
  type GetConversationMemoryObservationsErrors = {
2380
+ /**
2381
+ * Invalid request parameters
2382
+ */
2383
+ 400: ErrorResponse;
1660
2384
  /**
1661
2385
  * Unauthorized — requires Bearer token
1662
2386
  */
@@ -1664,14 +2388,18 @@ type GetConversationMemoryObservationsErrors = {
1664
2388
  /**
1665
2389
  * Internal server error
1666
2390
  */
1667
- 500: unknown;
2391
+ 500: ErrorResponse;
1668
2392
  };
2393
+ type GetConversationMemoryObservationsError = GetConversationMemoryObservationsErrors[keyof GetConversationMemoryObservationsErrors];
1669
2394
  type GetConversationMemoryObservationsResponses = {
1670
2395
  /**
1671
- * Success
2396
+ * Upstream observation data (single observation or paginated list) from the Conversation Memory API
1672
2397
  */
1673
- 200: unknown;
2398
+ 200: {
2399
+ [key: string]: unknown;
2400
+ };
1674
2401
  };
2402
+ type GetConversationMemoryObservationsResponse = GetConversationMemoryObservationsResponses[keyof GetConversationMemoryObservationsResponses];
1675
2403
  type PatchConversationMemoryObservationsData = {
1676
2404
  body: {
1677
2405
  /**
@@ -1704,6 +2432,10 @@ type PatchConversationMemoryObservationsData = {
1704
2432
  url: '/conversation-memory-observations';
1705
2433
  };
1706
2434
  type PatchConversationMemoryObservationsErrors = {
2435
+ /**
2436
+ * Invalid request parameters
2437
+ */
2438
+ 400: ErrorResponse;
1707
2439
  /**
1708
2440
  * Unauthorized — requires Bearer token
1709
2441
  */
@@ -1711,14 +2443,22 @@ type PatchConversationMemoryObservationsErrors = {
1711
2443
  /**
1712
2444
  * Internal server error
1713
2445
  */
1714
- 500: unknown;
2446
+ 500: ErrorResponse;
1715
2447
  };
2448
+ type PatchConversationMemoryObservationsError = PatchConversationMemoryObservationsErrors[keyof PatchConversationMemoryObservationsErrors];
1716
2449
  type PatchConversationMemoryObservationsResponses = {
1717
2450
  /**
1718
2451
  * Success
1719
2452
  */
1720
2453
  200: unknown;
2454
+ /**
2455
+ * Upstream confirmation payload from the Conversation Memory API
2456
+ */
2457
+ 202: {
2458
+ [key: string]: unknown;
2459
+ };
1721
2460
  };
2461
+ type PatchConversationMemoryObservationsResponse = PatchConversationMemoryObservationsResponses[keyof PatchConversationMemoryObservationsResponses];
1722
2462
  type PostConversationMemoryObservationsData = {
1723
2463
  body: {
1724
2464
  /**
@@ -1736,6 +2476,10 @@ type PostConversationMemoryObservationsData = {
1736
2476
  url: '/conversation-memory-observations';
1737
2477
  };
1738
2478
  type PostConversationMemoryObservationsErrors = {
2479
+ /**
2480
+ * Invalid request parameters
2481
+ */
2482
+ 400: ErrorResponse;
1739
2483
  /**
1740
2484
  * Unauthorized — requires Bearer token
1741
2485
  */
@@ -1743,14 +2487,22 @@ type PostConversationMemoryObservationsErrors = {
1743
2487
  /**
1744
2488
  * Internal server error
1745
2489
  */
1746
- 500: unknown;
2490
+ 500: ErrorResponse;
1747
2491
  };
2492
+ type PostConversationMemoryObservationsError = PostConversationMemoryObservationsErrors[keyof PostConversationMemoryObservationsErrors];
1748
2493
  type PostConversationMemoryObservationsResponses = {
1749
2494
  /**
1750
2495
  * Success
1751
2496
  */
1752
2497
  200: unknown;
2498
+ /**
2499
+ * Upstream confirmation payload from the Conversation Memory API
2500
+ */
2501
+ 202: {
2502
+ [key: string]: unknown;
2503
+ };
1753
2504
  };
2505
+ type PostConversationMemoryObservationsResponse = PostConversationMemoryObservationsResponses[keyof PostConversationMemoryObservationsResponses];
1754
2506
  type DeleteConversationMemoryConversationSummariesData = {
1755
2507
  body?: never;
1756
2508
  path?: never;
@@ -1762,6 +2514,10 @@ type DeleteConversationMemoryConversationSummariesData = {
1762
2514
  url: '/conversation-memory-conversation-summaries';
1763
2515
  };
1764
2516
  type DeleteConversationMemoryConversationSummariesErrors = {
2517
+ /**
2518
+ * Invalid request parameters
2519
+ */
2520
+ 400: ErrorResponse;
1765
2521
  /**
1766
2522
  * Unauthorized — requires Bearer token
1767
2523
  */
@@ -1769,14 +2525,22 @@ type DeleteConversationMemoryConversationSummariesErrors = {
1769
2525
  /**
1770
2526
  * Internal server error
1771
2527
  */
1772
- 500: unknown;
2528
+ 500: ErrorResponse;
1773
2529
  };
2530
+ type DeleteConversationMemoryConversationSummariesError = DeleteConversationMemoryConversationSummariesErrors[keyof DeleteConversationMemoryConversationSummariesErrors];
1774
2531
  type DeleteConversationMemoryConversationSummariesResponses = {
1775
2532
  /**
1776
2533
  * Success
1777
2534
  */
1778
2535
  200: unknown;
2536
+ /**
2537
+ * Upstream confirmation payload from the Conversation Memory API
2538
+ */
2539
+ 202: {
2540
+ [key: string]: unknown;
2541
+ };
1779
2542
  };
2543
+ type DeleteConversationMemoryConversationSummariesResponse = DeleteConversationMemoryConversationSummariesResponses[keyof DeleteConversationMemoryConversationSummariesResponses];
1780
2544
  type GetConversationMemoryConversationSummariesData = {
1781
2545
  body?: never;
1782
2546
  path?: never;
@@ -1790,6 +2554,10 @@ type GetConversationMemoryConversationSummariesData = {
1790
2554
  url: '/conversation-memory-conversation-summaries';
1791
2555
  };
1792
2556
  type GetConversationMemoryConversationSummariesErrors = {
2557
+ /**
2558
+ * Invalid request parameters
2559
+ */
2560
+ 400: ErrorResponse;
1793
2561
  /**
1794
2562
  * Unauthorized — requires Bearer token
1795
2563
  */
@@ -1797,14 +2565,18 @@ type GetConversationMemoryConversationSummariesErrors = {
1797
2565
  /**
1798
2566
  * Internal server error
1799
2567
  */
1800
- 500: unknown;
2568
+ 500: ErrorResponse;
1801
2569
  };
2570
+ type GetConversationMemoryConversationSummariesError = GetConversationMemoryConversationSummariesErrors[keyof GetConversationMemoryConversationSummariesErrors];
1802
2571
  type GetConversationMemoryConversationSummariesResponses = {
1803
2572
  /**
1804
- * Success
2573
+ * Upstream summary data (single summary or paginated list) from the Conversation Memory API
1805
2574
  */
1806
- 200: unknown;
2575
+ 200: {
2576
+ [key: string]: unknown;
2577
+ };
1807
2578
  };
2579
+ type GetConversationMemoryConversationSummariesResponse = GetConversationMemoryConversationSummariesResponses[keyof GetConversationMemoryConversationSummariesResponses];
1808
2580
  type PatchConversationMemoryConversationSummariesData = {
1809
2581
  body: {
1810
2582
  /**
@@ -1825,6 +2597,10 @@ type PatchConversationMemoryConversationSummariesData = {
1825
2597
  url: '/conversation-memory-conversation-summaries';
1826
2598
  };
1827
2599
  type PatchConversationMemoryConversationSummariesErrors = {
2600
+ /**
2601
+ * Invalid request parameters, or no field to update was provided
2602
+ */
2603
+ 400: ErrorResponse;
1828
2604
  /**
1829
2605
  * Unauthorized — requires Bearer token
1830
2606
  */
@@ -1832,14 +2608,22 @@ type PatchConversationMemoryConversationSummariesErrors = {
1832
2608
  /**
1833
2609
  * Internal server error
1834
2610
  */
1835
- 500: unknown;
2611
+ 500: ErrorResponse;
1836
2612
  };
2613
+ type PatchConversationMemoryConversationSummariesError = PatchConversationMemoryConversationSummariesErrors[keyof PatchConversationMemoryConversationSummariesErrors];
1837
2614
  type PatchConversationMemoryConversationSummariesResponses = {
1838
2615
  /**
1839
2616
  * Success
1840
2617
  */
1841
2618
  200: unknown;
2619
+ /**
2620
+ * Upstream confirmation payload from the Conversation Memory API
2621
+ */
2622
+ 202: {
2623
+ [key: string]: unknown;
2624
+ };
1842
2625
  };
2626
+ type PatchConversationMemoryConversationSummariesResponse = PatchConversationMemoryConversationSummariesResponses[keyof PatchConversationMemoryConversationSummariesResponses];
1843
2627
  type PostConversationMemoryConversationSummariesData = {
1844
2628
  body: {
1845
2629
  /**
@@ -1857,6 +2641,10 @@ type PostConversationMemoryConversationSummariesData = {
1857
2641
  url: '/conversation-memory-conversation-summaries';
1858
2642
  };
1859
2643
  type PostConversationMemoryConversationSummariesErrors = {
2644
+ /**
2645
+ * Invalid request parameters
2646
+ */
2647
+ 400: ErrorResponse;
1860
2648
  /**
1861
2649
  * Unauthorized — requires Bearer token
1862
2650
  */
@@ -1864,14 +2652,22 @@ type PostConversationMemoryConversationSummariesErrors = {
1864
2652
  /**
1865
2653
  * Internal server error
1866
2654
  */
1867
- 500: unknown;
2655
+ 500: ErrorResponse;
1868
2656
  };
2657
+ type PostConversationMemoryConversationSummariesError = PostConversationMemoryConversationSummariesErrors[keyof PostConversationMemoryConversationSummariesErrors];
1869
2658
  type PostConversationMemoryConversationSummariesResponses = {
1870
2659
  /**
1871
2660
  * Success
1872
2661
  */
1873
2662
  200: unknown;
2663
+ /**
2664
+ * Upstream confirmation payload from the Conversation Memory API
2665
+ */
2666
+ 202: {
2667
+ [key: string]: unknown;
2668
+ };
1874
2669
  };
2670
+ type PostConversationMemoryConversationSummariesResponse = PostConversationMemoryConversationSummariesResponses[keyof PostConversationMemoryConversationSummariesResponses];
1875
2671
  type DeleteConversationMemoryResetData = {
1876
2672
  body?: never;
1877
2673
  path?: never;
@@ -1879,6 +2675,10 @@ type DeleteConversationMemoryResetData = {
1879
2675
  url: '/conversation-memory-reset';
1880
2676
  };
1881
2677
  type DeleteConversationMemoryResetErrors = {
2678
+ /**
2679
+ * storeId and profileId are required
2680
+ */
2681
+ 400: ErrorResponse;
1882
2682
  /**
1883
2683
  * Unauthorized — requires Bearer token
1884
2684
  */
@@ -1886,14 +2686,25 @@ type DeleteConversationMemoryResetErrors = {
1886
2686
  /**
1887
2687
  * Internal server error
1888
2688
  */
1889
- 500: unknown;
2689
+ 500: ErrorResponse;
1890
2690
  };
2691
+ type DeleteConversationMemoryResetError = DeleteConversationMemoryResetErrors[keyof DeleteConversationMemoryResetErrors];
1891
2692
  type DeleteConversationMemoryResetResponses = {
1892
2693
  /**
1893
2694
  * Success
1894
2695
  */
1895
- 200: unknown;
2696
+ 200: {
2697
+ /**
2698
+ * Count of observations deleted
2699
+ */
2700
+ deletedObservations: number;
2701
+ /**
2702
+ * Count of conversation summaries deleted
2703
+ */
2704
+ deletedSummaries: number;
2705
+ };
1896
2706
  };
2707
+ type DeleteConversationMemoryResetResponse = DeleteConversationMemoryResetResponses[keyof DeleteConversationMemoryResetResponses];
1897
2708
  type PostAssignDemoData = {
1898
2709
  body: {
1899
2710
  /**
@@ -1910,21 +2721,52 @@ type PostAssignDemoData = {
1910
2721
  url: '/assign-demo';
1911
2722
  };
1912
2723
  type PostAssignDemoErrors = {
2724
+ /**
2725
+ * phoneNumber and targetObjectID are required
2726
+ */
2727
+ 400: ErrorResponse;
1913
2728
  /**
1914
2729
  * Unauthorized — requires Bearer token
1915
2730
  */
1916
2731
  401: unknown;
1917
2732
  /**
1918
- * Internal server error
2733
+ * Target template not found
1919
2734
  */
1920
- 500: unknown;
2735
+ 404: ErrorResponse;
2736
+ /**
2737
+ * Failed to assign demo
2738
+ */
2739
+ 500: ErrorResponse;
1921
2740
  };
2741
+ type PostAssignDemoError = PostAssignDemoErrors[keyof PostAssignDemoErrors];
1922
2742
  type PostAssignDemoResponses = {
1923
2743
  /**
1924
2744
  * Success
1925
2745
  */
1926
- 200: unknown;
2746
+ 200: {
2747
+ /**
2748
+ * Whether the number was newly added to the target template
2749
+ */
2750
+ addedToTarget: boolean;
2751
+ /**
2752
+ * Confirmation message
2753
+ */
2754
+ message: string;
2755
+ /**
2756
+ * The normalized phone number that was assigned
2757
+ */
2758
+ phoneNumber: string;
2759
+ /**
2760
+ * objectIDs the number was removed from
2761
+ */
2762
+ removedFrom: Array<string>;
2763
+ /**
2764
+ * The Algolia objectID of the target template
2765
+ */
2766
+ targetObjectID: string;
2767
+ };
1927
2768
  };
2769
+ type PostAssignDemoResponse = PostAssignDemoResponses[keyof PostAssignDemoResponses];
1928
2770
  type GetLookupDemoData = {
1929
2771
  body?: never;
1930
2772
  path?: never;
@@ -1934,21 +2776,38 @@ type GetLookupDemoData = {
1934
2776
  url: '/lookup-demo';
1935
2777
  };
1936
2778
  type GetLookupDemoErrors = {
2779
+ /**
2780
+ * phoneNumber query parameter is required
2781
+ */
2782
+ 400: ErrorResponse;
1937
2783
  /**
1938
2784
  * Unauthorized — requires Bearer token
1939
2785
  */
1940
2786
  401: unknown;
1941
2787
  /**
1942
- * Internal server error
2788
+ * Failed to look up demo
1943
2789
  */
1944
- 500: unknown;
2790
+ 500: ErrorResponse;
1945
2791
  };
2792
+ type GetLookupDemoError = GetLookupDemoErrors[keyof GetLookupDemoErrors];
1946
2793
  type GetLookupDemoResponses = {
1947
2794
  /**
1948
2795
  * Success
1949
2796
  */
1950
- 200: unknown;
2797
+ 200: {
2798
+ /**
2799
+ * The normalized phone number that was looked up
2800
+ */
2801
+ phoneNumber: string;
2802
+ /**
2803
+ * Matching templates, each `{ objectID, title, author }`
2804
+ */
2805
+ templates: Array<{
2806
+ [key: string]: unknown;
2807
+ }>;
2808
+ };
1951
2809
  };
2810
+ type GetLookupDemoResponse = GetLookupDemoResponses[keyof GetLookupDemoResponses];
1952
2811
  type PostTemplateAutogenData = {
1953
2812
  body: {
1954
2813
  /**
@@ -1981,21 +2840,36 @@ type PostTemplateAutogenData = {
1981
2840
  url: '/template-autogen';
1982
2841
  };
1983
2842
  type PostTemplateAutogenErrors = {
2843
+ /**
2844
+ * No valid requests, or email/company must be defined
2845
+ */
2846
+ 400: ErrorResponse;
1984
2847
  /**
1985
2848
  * Unauthorized — requires Bearer token
1986
2849
  */
1987
2850
  401: unknown;
1988
2851
  /**
1989
- * Internal server error
2852
+ * All template generations failed
2853
+ */
2854
+ 500: ErrorResponse;
2855
+ /**
2856
+ * Service temporarily unavailable
1990
2857
  */
1991
- 500: unknown;
2858
+ 503: ErrorResponse;
1992
2859
  };
2860
+ type PostTemplateAutogenError = PostTemplateAutogenErrors[keyof PostTemplateAutogenErrors];
1993
2861
  type PostTemplateAutogenResponses = {
1994
2862
  /**
1995
2863
  * Success
1996
2864
  */
1997
- 200: unknown;
2865
+ 200: {
2866
+ /**
2867
+ * The generated (and optionally saved) templates
2868
+ */
2869
+ templates: Array<TemplateData>;
2870
+ };
1998
2871
  };
2872
+ type PostTemplateAutogenResponse = PostTemplateAutogenResponses[keyof PostTemplateAutogenResponses];
1999
2873
  type DeleteTemplateData = {
2000
2874
  body?: never;
2001
2875
  path?: never;
@@ -2005,6 +2879,10 @@ type DeleteTemplateData = {
2005
2879
  url: '/template';
2006
2880
  };
2007
2881
  type DeleteTemplateErrors = {
2882
+ /**
2883
+ * Missing ids query parameter
2884
+ */
2885
+ 400: ErrorResponse;
2008
2886
  /**
2009
2887
  * Unauthorized — requires Bearer token
2010
2888
  */
@@ -2013,13 +2891,24 @@ type DeleteTemplateErrors = {
2013
2891
  * Internal server error
2014
2892
  */
2015
2893
  500: unknown;
2894
+ /**
2895
+ * Service temporarily unavailable
2896
+ */
2897
+ 503: ErrorResponse;
2016
2898
  };
2899
+ type DeleteTemplateError = DeleteTemplateErrors[keyof DeleteTemplateErrors];
2017
2900
  type DeleteTemplateResponses = {
2018
2901
  /**
2019
2902
  * Success
2020
2903
  */
2021
- 200: unknown;
2904
+ 200: {
2905
+ /**
2906
+ * IDs of the deleted templates/campaigns
2907
+ */
2908
+ deleted: Array<string>;
2909
+ };
2022
2910
  };
2911
+ type DeleteTemplateResponse = DeleteTemplateResponses[keyof DeleteTemplateResponses];
2023
2912
  type PostTemplateData = {
2024
2913
  body: {
2025
2914
  [key: string]: unknown;
@@ -2037,13 +2926,24 @@ type PostTemplateErrors = {
2037
2926
  * Internal server error
2038
2927
  */
2039
2928
  500: unknown;
2929
+ /**
2930
+ * Service temporarily unavailable
2931
+ */
2932
+ 503: ErrorResponse;
2040
2933
  };
2934
+ type PostTemplateError = PostTemplateErrors[keyof PostTemplateErrors];
2041
2935
  type PostTemplateResponses = {
2042
2936
  /**
2043
2937
  * Success
2044
2938
  */
2045
- 200: unknown;
2939
+ 200: {
2940
+ /**
2941
+ * Success message
2942
+ */
2943
+ message: string;
2944
+ };
2046
2945
  };
2946
+ type PostTemplateResponse = PostTemplateResponses[keyof PostTemplateResponses];
2047
2947
  type GetCampaignData = {
2048
2948
  body?: never;
2049
2949
  path?: never;
@@ -2064,16 +2964,31 @@ type GetCampaignErrors = {
2064
2964
  */
2065
2965
  401: unknown;
2066
2966
  /**
2067
- * Internal server error
2967
+ * Failed to fetch campaigns
2068
2968
  */
2069
- 500: unknown;
2969
+ 500: ErrorResponse;
2070
2970
  };
2971
+ type GetCampaignError = GetCampaignErrors[keyof GetCampaignErrors];
2071
2972
  type GetCampaignResponses = {
2072
2973
  /**
2073
2974
  * Success
2074
2975
  */
2075
- 200: unknown;
2976
+ 200: {
2977
+ /**
2978
+ * Call history data, present when includeCalledBy is set
2979
+ */
2980
+ calledByData: Array<CalledByData>;
2981
+ /**
2982
+ * Matching campaign templates
2983
+ */
2984
+ campaigns: Array<Campaign>;
2985
+ /**
2986
+ * Total number of matching campaigns
2987
+ */
2988
+ total: number;
2989
+ };
2076
2990
  };
2991
+ type GetCampaignResponse = GetCampaignResponses[keyof GetCampaignResponses];
2077
2992
  type GetSupportedRegionsData = {
2078
2993
  body?: never;
2079
2994
  path?: never;
@@ -2089,7 +3004,12 @@ type GetSupportedRegionsErrors = {
2089
3004
  * Internal server error
2090
3005
  */
2091
3006
  500: unknown;
3007
+ /**
3008
+ * Service temporarily unavailable
3009
+ */
3010
+ 503: ErrorResponse;
2092
3011
  };
3012
+ type GetSupportedRegionsError = GetSupportedRegionsErrors[keyof GetSupportedRegionsErrors];
2093
3013
  type GetSupportedRegionsResponses = {
2094
3014
  /**
2095
3015
  * Success
@@ -2114,16 +3034,25 @@ type GetLinkShortenerErrors = {
2114
3034
  */
2115
3035
  401: unknown;
2116
3036
  /**
2117
- * Internal server error
3037
+ * Failed to fetch links
2118
3038
  */
2119
- 500: unknown;
3039
+ 500: ErrorResponse;
2120
3040
  };
3041
+ type GetLinkShortenerError = GetLinkShortenerErrors[keyof GetLinkShortenerErrors];
2121
3042
  type GetLinkShortenerResponses = {
2122
3043
  /**
2123
3044
  * Success
2124
3045
  */
2125
- 200: unknown;
3046
+ 200: {
3047
+ /**
3048
+ * Array of all short links, each `{ code, shortUrl, url, createdAt }`
3049
+ */
3050
+ links: Array<{
3051
+ [key: string]: unknown;
3052
+ }>;
3053
+ };
2126
3054
  };
3055
+ type GetLinkShortenerResponse = GetLinkShortenerResponses[keyof GetLinkShortenerResponses];
2127
3056
  type PatchLinkShortenerData = {
2128
3057
  body: {
2129
3058
  /**
@@ -2140,21 +3069,32 @@ type PatchLinkShortenerData = {
2140
3069
  url: '/link-shortener';
2141
3070
  };
2142
3071
  type PatchLinkShortenerErrors = {
3072
+ /**
3073
+ * objectID and shortLink are required
3074
+ */
3075
+ 400: ErrorResponse;
2143
3076
  /**
2144
3077
  * Unauthorized — requires Bearer token
2145
3078
  */
2146
3079
  401: unknown;
2147
3080
  /**
2148
- * Internal server error
3081
+ * Failed to persist short link
2149
3082
  */
2150
- 500: unknown;
3083
+ 500: ErrorResponse;
2151
3084
  };
3085
+ type PatchLinkShortenerError = PatchLinkShortenerErrors[keyof PatchLinkShortenerErrors];
2152
3086
  type PatchLinkShortenerResponses = {
2153
3087
  /**
2154
3088
  * Success
2155
3089
  */
2156
- 200: unknown;
3090
+ 200: {
3091
+ /**
3092
+ * Always true
3093
+ */
3094
+ ok: boolean;
3095
+ };
2157
3096
  };
3097
+ type PatchLinkShortenerResponse = PatchLinkShortenerResponses[keyof PatchLinkShortenerResponses];
2158
3098
  type PostLinkShortenerData = {
2159
3099
  body: {
2160
3100
  /**
@@ -2167,21 +3107,53 @@ type PostLinkShortenerData = {
2167
3107
  url: '/link-shortener';
2168
3108
  };
2169
3109
  type PostLinkShortenerErrors = {
3110
+ /**
3111
+ * urls must be a non-empty array
3112
+ */
3113
+ 400: ErrorResponse;
2170
3114
  /**
2171
3115
  * Unauthorized — requires Bearer token
2172
3116
  */
2173
3117
  401: unknown;
2174
3118
  /**
2175
- * Internal server error
3119
+ * Conflict
2176
3120
  */
2177
- 500: unknown;
3121
+ 409: {
3122
+ /**
3123
+ * "Alias already taken"
3124
+ */
3125
+ error: string;
3126
+ /**
3127
+ * Array of results (same shape as 201)
3128
+ */
3129
+ results: Array<{
3130
+ [key: string]: unknown;
3131
+ }>;
3132
+ };
3133
+ /**
3134
+ * Failed to shorten URLs
3135
+ */
3136
+ 500: ErrorResponse;
2178
3137
  };
3138
+ type PostLinkShortenerError = PostLinkShortenerErrors[keyof PostLinkShortenerErrors];
2179
3139
  type PostLinkShortenerResponses = {
2180
3140
  /**
2181
3141
  * Success
2182
3142
  */
2183
3143
  200: unknown;
3144
+ /**
3145
+ * Created
3146
+ */
3147
+ 201: {
3148
+ /**
3149
+ * Array of results in the same order as the input (`{ code, shortUrl, url }`, or `error` on per-item failure)
3150
+ */
3151
+ results: Array<{
3152
+ [key: string]: unknown;
3153
+ }>;
3154
+ };
2184
3155
  };
3156
+ type PostLinkShortenerResponse = PostLinkShortenerResponses[keyof PostLinkShortenerResponses];
2185
3157
  type DeleteLinkShortenerByCodeData = {
2186
3158
  body?: never;
2187
3159
  path: {
@@ -2191,21 +3163,40 @@ type DeleteLinkShortenerByCodeData = {
2191
3163
  url: '/link-shortener/{code}';
2192
3164
  };
2193
3165
  type DeleteLinkShortenerByCodeErrors = {
3166
+ /**
3167
+ * code is required
3168
+ */
3169
+ 400: ErrorResponse;
2194
3170
  /**
2195
3171
  * Unauthorized — requires Bearer token
2196
3172
  */
2197
3173
  401: unknown;
2198
3174
  /**
2199
- * Internal server error
3175
+ * Link not found
2200
3176
  */
2201
- 500: unknown;
3177
+ 404: ErrorResponse;
3178
+ /**
3179
+ * Failed to delete link
3180
+ */
3181
+ 500: ErrorResponse;
2202
3182
  };
3183
+ type DeleteLinkShortenerByCodeError = DeleteLinkShortenerByCodeErrors[keyof DeleteLinkShortenerByCodeErrors];
2203
3184
  type DeleteLinkShortenerByCodeResponses = {
2204
3185
  /**
2205
3186
  * Success
2206
3187
  */
2207
- 200: unknown;
3188
+ 200: {
3189
+ /**
3190
+ * The deleted code
3191
+ */
3192
+ code: string;
3193
+ /**
3194
+ * Always true
3195
+ */
3196
+ ok: boolean;
3197
+ };
2208
3198
  };
3199
+ type DeleteLinkShortenerByCodeResponse = DeleteLinkShortenerByCodeResponses[keyof DeleteLinkShortenerByCodeResponses];
2209
3200
  type GetDocsOpenapiJsonData = {
2210
3201
  body?: never;
2211
3202
  path?: never;
@@ -2217,17 +3208,25 @@ type GetDocsOpenapiJsonErrors = {
2217
3208
  * Unauthorized — requires Bearer token
2218
3209
  */
2219
3210
  401: unknown;
3211
+ /**
3212
+ * OpenAPI spec not found
3213
+ */
3214
+ 404: ErrorResponse;
2220
3215
  /**
2221
3216
  * Internal server error
2222
3217
  */
2223
3218
  500: unknown;
2224
3219
  };
3220
+ type GetDocsOpenapiJsonError = GetDocsOpenapiJsonErrors[keyof GetDocsOpenapiJsonErrors];
2225
3221
  type GetDocsOpenapiJsonResponses = {
2226
3222
  /**
2227
- * Success
3223
+ * The raw OpenAPI 3.1 spec JSON document
2228
3224
  */
2229
- 200: unknown;
3225
+ 200: {
3226
+ [key: string]: unknown;
3227
+ };
2230
3228
  };
3229
+ type GetDocsOpenapiJsonResponse = GetDocsOpenapiJsonResponses[keyof GetDocsOpenapiJsonResponses];
2231
3230
 
2232
3231
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
2233
3232
  /**
@@ -2258,14 +3257,14 @@ declare const postConversationsToken: <ThrowOnError extends boolean = false>(opt
2258
3257
  * GET /sync/token
2259
3258
  *
2260
3259
  * Generates a Twilio Access Token with a SyncGrant so frontends
2261
- * can subscribe to Sync Streams via the twilio-sync JS SDK.
3260
+ * can subscribe to Sync Streams via the twilio-sync JS SDK
2262
3261
  */
2263
3262
  declare const getSyncToken: <ThrowOnError extends boolean = false>(options?: Options<GetSyncTokenData, ThrowOnError>) => RequestResult<GetSyncTokenResponses, GetSyncTokenErrors, ThrowOnError>;
2264
3263
  /**
2265
3264
  * GET /voice/token
2266
3265
  *
2267
3266
  * Generates a Twilio Access Token with a VoiceGrant so browser clients
2268
- * can place outbound calls via the Twilio Voice SDK (WebRTC).
3267
+ * can place outbound calls via the Twilio Voice SDK (WebRTC)
2269
3268
  */
2270
3269
  declare const getVoiceToken: <ThrowOnError extends boolean = false>(options?: Options<GetVoiceTokenData, ThrowOnError>) => RequestResult<GetVoiceTokenResponses, GetVoiceTokenErrors, ThrowOnError>;
2271
3270
  /**
@@ -2408,7 +3407,7 @@ declare const getIntelligenceConfiguration: <ThrowOnError extends boolean = fals
2408
3407
  /**
2409
3408
  * POST /intelligence-configuration
2410
3409
  *
2411
- * Twilio Conversational Intelligence Operators API endpoint.
3410
+ * POST handler for creating a Twilio Intelligence Configuration
2412
3411
  */
2413
3412
  declare const postIntelligenceConfiguration: <ThrowOnError extends boolean = false>(options: Options<PostIntelligenceConfigurationData, ThrowOnError>) => RequestResult<PostIntelligenceConfigurationResponses, PostIntelligenceConfigurationErrors, ThrowOnError>;
2414
3413
  /**
@@ -2637,6 +3636,143 @@ declare const deleteLinkShortenerByCode: <ThrowOnError extends boolean = false>(
2637
3636
  */
2638
3637
  declare const getDocsOpenapiJson: <ThrowOnError extends boolean = false>(options?: Options<GetDocsOpenapiJsonData, ThrowOnError>) => RequestResult<GetDocsOpenapiJsonResponses, GetDocsOpenapiJsonErrors, ThrowOnError>;
2639
3638
 
3639
+ declare const zErrorResponse: z.ZodObject<{
3640
+ error: z.ZodOptional<z.ZodString>;
3641
+ details: z.ZodOptional<z.ZodString>;
3642
+ }, "strip", z.ZodTypeAny, {
3643
+ error?: string | undefined;
3644
+ details?: string | undefined;
3645
+ }, {
3646
+ error?: string | undefined;
3647
+ details?: string | undefined;
3648
+ }>;
3649
+ declare const zConversation: z.ZodObject<{
3650
+ accountId: z.ZodOptional<z.ZodString>;
3651
+ configuration: z.ZodOptional<z.ZodString>;
3652
+ configurationId: z.ZodOptional<z.ZodString>;
3653
+ createdAt: z.ZodOptional<z.ZodString>;
3654
+ id: z.ZodOptional<z.ZodString>;
3655
+ name: z.ZodOptional<z.ZodString>;
3656
+ status: z.ZodOptional<z.ZodString>;
3657
+ updatedAt: z.ZodOptional<z.ZodString>;
3658
+ }, "strip", z.ZodTypeAny, {
3659
+ status?: string | undefined;
3660
+ accountId?: string | undefined;
3661
+ configuration?: string | undefined;
3662
+ configurationId?: string | undefined;
3663
+ createdAt?: string | undefined;
3664
+ id?: string | undefined;
3665
+ name?: string | undefined;
3666
+ updatedAt?: string | undefined;
3667
+ }, {
3668
+ status?: string | undefined;
3669
+ accountId?: string | undefined;
3670
+ configuration?: string | undefined;
3671
+ configurationId?: string | undefined;
3672
+ createdAt?: string | undefined;
3673
+ id?: string | undefined;
3674
+ name?: string | undefined;
3675
+ updatedAt?: string | undefined;
3676
+ }>;
3677
+ declare const zParticipant: z.ZodObject<{
3678
+ id: z.ZodOptional<z.ZodString>;
3679
+ conversationId: z.ZodOptional<z.ZodString>;
3680
+ accountId: z.ZodOptional<z.ZodString>;
3681
+ name: z.ZodOptional<z.ZodString>;
3682
+ type: z.ZodOptional<z.ZodString>;
3683
+ addresses: z.ZodOptional<z.ZodString>;
3684
+ createdAt: z.ZodOptional<z.ZodString>;
3685
+ updatedAt: z.ZodOptional<z.ZodString>;
3686
+ profileId: z.ZodOptional<z.ZodString>;
3687
+ }, "strip", z.ZodTypeAny, {
3688
+ type?: string | undefined;
3689
+ accountId?: string | undefined;
3690
+ createdAt?: string | undefined;
3691
+ id?: string | undefined;
3692
+ name?: string | undefined;
3693
+ updatedAt?: string | undefined;
3694
+ conversationId?: string | undefined;
3695
+ addresses?: string | undefined;
3696
+ profileId?: string | undefined;
3697
+ }, {
3698
+ type?: string | undefined;
3699
+ accountId?: string | undefined;
3700
+ createdAt?: string | undefined;
3701
+ id?: string | undefined;
3702
+ name?: string | undefined;
3703
+ updatedAt?: string | undefined;
3704
+ conversationId?: string | undefined;
3705
+ addresses?: string | undefined;
3706
+ profileId?: string | undefined;
3707
+ }>;
3708
+ declare const zOperator: z.ZodObject<{
3709
+ id: z.ZodOptional<z.ZodString>;
3710
+ displayName: z.ZodOptional<z.ZodString>;
3711
+ description: z.ZodOptional<z.ZodString>;
3712
+ version: z.ZodOptional<z.ZodString>;
3713
+ availability: z.ZodOptional<z.ZodString>;
3714
+ author: z.ZodOptional<z.ZodString>;
3715
+ prompt: z.ZodOptional<z.ZodString>;
3716
+ outputFormat: z.ZodOptional<z.ZodString>;
3717
+ outputSchema: z.ZodOptional<z.ZodString>;
3718
+ trainingExamples: z.ZodOptional<z.ZodString>;
3719
+ context: z.ZodOptional<z.ZodString>;
3720
+ parameters: z.ZodOptional<z.ZodString>;
3721
+ }, "strip", z.ZodTypeAny, {
3722
+ id?: string | undefined;
3723
+ displayName?: string | undefined;
3724
+ description?: string | undefined;
3725
+ version?: string | undefined;
3726
+ availability?: string | undefined;
3727
+ author?: string | undefined;
3728
+ prompt?: string | undefined;
3729
+ outputFormat?: string | undefined;
3730
+ outputSchema?: string | undefined;
3731
+ trainingExamples?: string | undefined;
3732
+ context?: string | undefined;
3733
+ parameters?: string | undefined;
3734
+ }, {
3735
+ id?: string | undefined;
3736
+ displayName?: string | undefined;
3737
+ description?: string | undefined;
3738
+ version?: string | undefined;
3739
+ availability?: string | undefined;
3740
+ author?: string | undefined;
3741
+ prompt?: string | undefined;
3742
+ outputFormat?: string | undefined;
3743
+ outputSchema?: string | undefined;
3744
+ trainingExamples?: string | undefined;
3745
+ context?: string | undefined;
3746
+ parameters?: string | undefined;
3747
+ }>;
3748
+ declare const zIntelligenceConfiguration: z.ZodObject<{
3749
+ accountId: z.ZodOptional<z.ZodString>;
3750
+ dateCreated: z.ZodOptional<z.ZodString>;
3751
+ dateUpdated: z.ZodOptional<z.ZodString>;
3752
+ description: z.ZodOptional<z.ZodString>;
3753
+ displayName: z.ZodOptional<z.ZodString>;
3754
+ id: z.ZodOptional<z.ZodString>;
3755
+ rules: z.ZodOptional<z.ZodString>;
3756
+ version: z.ZodOptional<z.ZodString>;
3757
+ }, "strip", z.ZodTypeAny, {
3758
+ accountId?: string | undefined;
3759
+ id?: string | undefined;
3760
+ displayName?: string | undefined;
3761
+ description?: string | undefined;
3762
+ version?: string | undefined;
3763
+ dateCreated?: string | undefined;
3764
+ dateUpdated?: string | undefined;
3765
+ rules?: string | undefined;
3766
+ }, {
3767
+ accountId?: string | undefined;
3768
+ id?: string | undefined;
3769
+ displayName?: string | undefined;
3770
+ description?: string | undefined;
3771
+ version?: string | undefined;
3772
+ dateCreated?: string | undefined;
3773
+ dateUpdated?: string | undefined;
3774
+ rules?: string | undefined;
3775
+ }>;
2640
3776
  declare const zAutogenRequest: z.ZodObject<{
2641
3777
  email: z.ZodOptional<z.ZodString>;
2642
3778
  company: z.ZodOptional<z.ZodString>;
@@ -2674,6 +3810,96 @@ declare const zAutogenRequest: z.ZodObject<{
2674
3810
  logoFull?: string | undefined;
2675
3811
  websiteUrl?: string | undefined;
2676
3812
  }>;
3813
+ declare const zTemplateData: z.ZodObject<{
3814
+ objectID: z.ZodOptional<z.ZodString>;
3815
+ title: z.ZodOptional<z.ZodString>;
3816
+ img: z.ZodOptional<z.ZodString>;
3817
+ associatedNumbers: z.ZodOptional<z.ZodString>;
3818
+ author: z.ZodOptional<z.ZodString>;
3819
+ createdAt: z.ZodOptional<z.ZodString>;
3820
+ createdAtUnix: z.ZodOptional<z.ZodString>;
3821
+ lastUpdatedAtUnix: z.ZodOptional<z.ZodString>;
3822
+ lastUpdated: z.ZodOptional<z.ZodString>;
3823
+ lastUpdatedBy: z.ZodOptional<z.ZodString>;
3824
+ prompt: z.ZodOptional<z.ZodString>;
3825
+ data: z.ZodOptional<z.ZodString>;
3826
+ content: z.ZodOptional<z.ZodString>;
3827
+ }, "strip", z.ZodTypeAny, {
3828
+ createdAt?: string | undefined;
3829
+ author?: string | undefined;
3830
+ prompt?: string | undefined;
3831
+ objectID?: string | undefined;
3832
+ title?: string | undefined;
3833
+ img?: string | undefined;
3834
+ associatedNumbers?: string | undefined;
3835
+ createdAtUnix?: string | undefined;
3836
+ lastUpdatedAtUnix?: string | undefined;
3837
+ lastUpdated?: string | undefined;
3838
+ lastUpdatedBy?: string | undefined;
3839
+ data?: string | undefined;
3840
+ content?: string | undefined;
3841
+ }, {
3842
+ createdAt?: string | undefined;
3843
+ author?: string | undefined;
3844
+ prompt?: string | undefined;
3845
+ objectID?: string | undefined;
3846
+ title?: string | undefined;
3847
+ img?: string | undefined;
3848
+ associatedNumbers?: string | undefined;
3849
+ createdAtUnix?: string | undefined;
3850
+ lastUpdatedAtUnix?: string | undefined;
3851
+ lastUpdated?: string | undefined;
3852
+ lastUpdatedBy?: string | undefined;
3853
+ data?: string | undefined;
3854
+ content?: string | undefined;
3855
+ }>;
3856
+ declare const zCalledByData: z.ZodObject<{
3857
+ phoneNumber: z.ZodOptional<z.ZodString>;
3858
+ timestamp: z.ZodOptional<z.ZodNumber>;
3859
+ direction: z.ZodOptional<z.ZodString>;
3860
+ objectId: z.ZodOptional<z.ZodString>;
3861
+ }, "strip", z.ZodTypeAny, {
3862
+ phoneNumber?: string | undefined;
3863
+ timestamp?: number | undefined;
3864
+ direction?: string | undefined;
3865
+ objectId?: string | undefined;
3866
+ }, {
3867
+ phoneNumber?: string | undefined;
3868
+ timestamp?: number | undefined;
3869
+ direction?: string | undefined;
3870
+ objectId?: string | undefined;
3871
+ }>;
3872
+ declare const zCampaign: z.ZodObject<{
3873
+ email: z.ZodOptional<z.ZodString>;
3874
+ companyName: z.ZodOptional<z.ZodString>;
3875
+ objectID: z.ZodOptional<z.ZodString>;
3876
+ encryptedObjectId: z.ZodOptional<z.ZodString>;
3877
+ agentNumber: z.ZodOptional<z.ZodString>;
3878
+ tag: z.ZodOptional<z.ZodString>;
3879
+ createdAt: z.ZodOptional<z.ZodString>;
3880
+ numCalls: z.ZodOptional<z.ZodString>;
3881
+ shortLink: z.ZodOptional<z.ZodString>;
3882
+ }, "strip", z.ZodTypeAny, {
3883
+ createdAt?: string | undefined;
3884
+ email?: string | undefined;
3885
+ objectID?: string | undefined;
3886
+ companyName?: string | undefined;
3887
+ encryptedObjectId?: string | undefined;
3888
+ agentNumber?: string | undefined;
3889
+ tag?: string | undefined;
3890
+ numCalls?: string | undefined;
3891
+ shortLink?: string | undefined;
3892
+ }, {
3893
+ createdAt?: string | undefined;
3894
+ email?: string | undefined;
3895
+ objectID?: string | undefined;
3896
+ companyName?: string | undefined;
3897
+ encryptedObjectId?: string | undefined;
3898
+ agentNumber?: string | undefined;
3899
+ tag?: string | undefined;
3900
+ numCalls?: string | undefined;
3901
+ shortLink?: string | undefined;
3902
+ }>;
2677
3903
  declare const zSupportedRegion: z.ZodObject<{
2678
3904
  isoCountry: z.ZodOptional<z.ZodString>;
2679
3905
  numberType: z.ZodOptional<z.ZodString>;
@@ -2697,7 +3923,30 @@ declare const zSupportedRegion: z.ZodObject<{
2697
3923
  capabilities?: string | undefined;
2698
3924
  }>;
2699
3925
  declare const zShortenUrlInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3926
+ /**
3927
+ * Success
3928
+ */
3929
+ declare const zGetHealthResponse: z.ZodObject<{
3930
+ status: z.ZodString;
3931
+ }, "strip", z.ZodTypeAny, {
3932
+ status: string;
3933
+ }, {
3934
+ status: string;
3935
+ }>;
2700
3936
  declare const zPostConversationsTokenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3937
+ /**
3938
+ * Success
3939
+ */
3940
+ declare const zPostConversationsTokenResponse: z.ZodObject<{
3941
+ identity: z.ZodString;
3942
+ token: z.ZodString;
3943
+ }, "strip", z.ZodTypeAny, {
3944
+ identity: string;
3945
+ token: string;
3946
+ }, {
3947
+ identity: string;
3948
+ token: string;
3949
+ }>;
2701
3950
  declare const zGetSyncTokenQuery: z.ZodObject<{
2702
3951
  identity: z.ZodOptional<z.ZodString>;
2703
3952
  }, "strip", z.ZodTypeAny, {
@@ -2705,6 +3954,19 @@ declare const zGetSyncTokenQuery: z.ZodObject<{
2705
3954
  }, {
2706
3955
  identity?: string | undefined;
2707
3956
  }>;
3957
+ /**
3958
+ * Success
3959
+ */
3960
+ declare const zGetSyncTokenResponse: z.ZodObject<{
3961
+ identity: z.ZodString;
3962
+ token: z.ZodString;
3963
+ }, "strip", z.ZodTypeAny, {
3964
+ identity: string;
3965
+ token: string;
3966
+ }, {
3967
+ identity: string;
3968
+ token: string;
3969
+ }>;
2708
3970
  declare const zGetVoiceTokenQuery: z.ZodObject<{
2709
3971
  identity: z.ZodOptional<z.ZodString>;
2710
3972
  }, "strip", z.ZodTypeAny, {
@@ -2712,7 +3974,48 @@ declare const zGetVoiceTokenQuery: z.ZodObject<{
2712
3974
  }, {
2713
3975
  identity?: string | undefined;
2714
3976
  }>;
3977
+ /**
3978
+ * Success
3979
+ */
3980
+ declare const zGetVoiceTokenResponse: z.ZodObject<{
3981
+ identity: z.ZodString;
3982
+ token: z.ZodString;
3983
+ }, "strip", z.ZodTypeAny, {
3984
+ identity: string;
3985
+ token: string;
3986
+ }, {
3987
+ identity: string;
3988
+ token: string;
3989
+ }>;
2715
3990
  declare const zPostUiConfigBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3991
+ /**
3992
+ * Success
3993
+ */
3994
+ declare const zPostUiConfigResponse: z.ZodObject<{
3995
+ ui: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3996
+ linkMap: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3997
+ hideChatLink: z.ZodBoolean;
3998
+ templateTitle: z.ZodString;
3999
+ dialogConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4000
+ templateObjectId: z.ZodString;
4001
+ resolvedCustomerNumber: z.ZodString;
4002
+ }, "strip", z.ZodTypeAny, {
4003
+ ui: Record<string, unknown>;
4004
+ linkMap: Record<string, unknown>;
4005
+ hideChatLink: boolean;
4006
+ templateTitle: string;
4007
+ dialogConfig: Record<string, unknown>;
4008
+ templateObjectId: string;
4009
+ resolvedCustomerNumber: string;
4010
+ }, {
4011
+ ui: Record<string, unknown>;
4012
+ linkMap: Record<string, unknown>;
4013
+ hideChatLink: boolean;
4014
+ templateTitle: string;
4015
+ dialogConfig: Record<string, unknown>;
4016
+ templateObjectId: string;
4017
+ resolvedCustomerNumber: string;
4018
+ }>;
2716
4019
  declare const zPostCreateExternalFlexConnectionBody: z.ZodObject<{
2717
4020
  seAccountSid: z.ZodString;
2718
4021
  seApiKeySid: z.ZodString;
@@ -2726,6 +4029,10 @@ declare const zPostCreateExternalFlexConnectionBody: z.ZodObject<{
2726
4029
  seApiKeySid: string;
2727
4030
  seApiKeySecret: string;
2728
4031
  }>;
4032
+ /**
4033
+ * Studio Flow, TwiML App, and RAMP integration configuration
4034
+ */
4035
+ declare const zPostCreateExternalFlexConnectionResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2729
4036
  declare const zPostInstallFlexPluginBody: z.ZodObject<{
2730
4037
  seAccountSid: z.ZodString;
2731
4038
  seApiKeySid: z.ZodString;
@@ -2742,7 +4049,45 @@ declare const zPostInstallFlexPluginBody: z.ZodObject<{
2742
4049
  seApiKeySecret: string;
2743
4050
  pluginName: string;
2744
4051
  }>;
4052
+ /**
4053
+ * Success
4054
+ */
4055
+ declare const zPostInstallFlexPluginResponse: z.ZodObject<{
4056
+ success: z.ZodBoolean;
4057
+ plugin: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4058
+ deployedVersion: z.ZodString;
4059
+ release: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4060
+ }, "strip", z.ZodTypeAny, {
4061
+ success: boolean;
4062
+ plugin: Record<string, unknown>;
4063
+ deployedVersion: string;
4064
+ release: Record<string, unknown>;
4065
+ }, {
4066
+ success: boolean;
4067
+ plugin: Record<string, unknown>;
4068
+ deployedVersion: string;
4069
+ release: Record<string, unknown>;
4070
+ }>;
2745
4071
  declare const zPostLiveAgentWebchatConnectBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4072
+ declare const zPostLiveAgentWebchatConnectResponse: z.ZodUnion<[z.ZodUnknown, z.ZodObject<{
4073
+ conversationSid: z.ZodString;
4074
+ interactionSid: z.ZodString;
4075
+ interactionChannelSid: z.ZodString;
4076
+ identity: z.ZodString;
4077
+ serviceSid: z.ZodString;
4078
+ }, "strip", z.ZodTypeAny, {
4079
+ identity: string;
4080
+ conversationSid: string;
4081
+ interactionSid: string;
4082
+ interactionChannelSid: string;
4083
+ serviceSid: string;
4084
+ }, {
4085
+ identity: string;
4086
+ conversationSid: string;
4087
+ interactionSid: string;
4088
+ interactionChannelSid: string;
4089
+ serviceSid: string;
4090
+ }>]>;
2746
4091
  declare const zPostLiveAgentWebchatSendBody: z.ZodObject<{
2747
4092
  conversationSid: z.ZodString;
2748
4093
  identity: z.ZodString;
@@ -2756,8 +4101,48 @@ declare const zPostLiveAgentWebchatSendBody: z.ZodObject<{
2756
4101
  identity: string;
2757
4102
  conversationSid: string;
2758
4103
  }>;
4104
+ declare const zPostLiveAgentWebchatSendResponse: z.ZodUnion<[z.ZodUnknown, z.ZodObject<{
4105
+ message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4106
+ }, "strip", z.ZodTypeAny, {
4107
+ message: Record<string, unknown>;
4108
+ }, {
4109
+ message: Record<string, unknown>;
4110
+ }>]>;
2759
4111
  declare const zPostLiveAgentWebchatEndBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4112
+ /**
4113
+ * Success
4114
+ */
4115
+ declare const zPostLiveAgentWebchatEndResponse: z.ZodObject<{
4116
+ success: z.ZodBoolean;
4117
+ }, "strip", z.ZodTypeAny, {
4118
+ success: boolean;
4119
+ }, {
4120
+ success: boolean;
4121
+ }>;
4122
+ /**
4123
+ * Success
4124
+ */
4125
+ declare const zDeleteLeadGenResponse: z.ZodObject<{
4126
+ message: z.ZodString;
4127
+ }, "strip", z.ZodTypeAny, {
4128
+ message: string;
4129
+ }, {
4130
+ message: string;
4131
+ }>;
2760
4132
  declare const zPatchLeadGenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4133
+ /**
4134
+ * Success
4135
+ */
4136
+ declare const zPatchLeadGenResponse: z.ZodObject<{
4137
+ message: z.ZodString;
4138
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4139
+ }, "strip", z.ZodTypeAny, {
4140
+ message: string;
4141
+ data: Record<string, unknown>;
4142
+ }, {
4143
+ message: string;
4144
+ data: Record<string, unknown>;
4145
+ }>;
2761
4146
  declare const zPostLeadGenBody: z.ZodObject<{
2762
4147
  objectID: z.ZodString;
2763
4148
  userEmail: z.ZodString;
@@ -2768,17 +4153,40 @@ declare const zPostLeadGenBody: z.ZodObject<{
2768
4153
  objectID: string;
2769
4154
  userEmail: string;
2770
4155
  }>;
4156
+ /**
4157
+ * Success
4158
+ */
4159
+ declare const zPostLeadGenResponse: z.ZodObject<{
4160
+ agentNumber: z.ZodString;
4161
+ }, "strip", z.ZodTypeAny, {
4162
+ agentNumber: string;
4163
+ }, {
4164
+ agentNumber: string;
4165
+ }>;
4166
+ /**
4167
+ * Success
4168
+ */
4169
+ declare const zPostLeadGenMonitorResponse: z.ZodObject<{
4170
+ message: z.ZodString;
4171
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4172
+ }, "strip", z.ZodTypeAny, {
4173
+ message: string;
4174
+ data: Record<string, unknown>;
4175
+ }, {
4176
+ message: string;
4177
+ data: Record<string, unknown>;
4178
+ }>;
2771
4179
  declare const zPostConversationsCommunicationsByConversationIdBody: z.ZodObject<{
2772
- author: z.ZodString;
2773
- content: z.ZodString;
4180
+ author: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4181
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2774
4182
  recipients: z.ZodString;
2775
4183
  }, "strip", z.ZodTypeAny, {
2776
- author: string;
2777
- content: string;
4184
+ author: Record<string, unknown>;
4185
+ content: Record<string, unknown>;
2778
4186
  recipients: string;
2779
4187
  }, {
2780
- author: string;
2781
- content: string;
4188
+ author: Record<string, unknown>;
4189
+ content: Record<string, unknown>;
2782
4190
  recipients: string;
2783
4191
  }>;
2784
4192
  declare const zPostConversationsCommunicationsByConversationIdPath: z.ZodObject<{
@@ -2788,6 +4196,7 @@ declare const zPostConversationsCommunicationsByConversationIdPath: z.ZodObject<
2788
4196
  }, {
2789
4197
  conversationId: string;
2790
4198
  }>;
4199
+ declare const zPostConversationsCommunicationsByConversationIdResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2791
4200
  declare const zGetConversationsFetchQuery: z.ZodObject<{
2792
4201
  conversationId: z.ZodOptional<z.ZodString>;
2793
4202
  status: z.ZodOptional<z.ZodString>;
@@ -2798,6 +4207,10 @@ declare const zGetConversationsFetchQuery: z.ZodObject<{
2798
4207
  status?: string | undefined;
2799
4208
  conversationId?: string | undefined;
2800
4209
  }>;
4210
+ /**
4211
+ * A single Conversation (when conversationId is provided) or a paginated conversations list
4212
+ */
4213
+ declare const zGetConversationsFetchResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2801
4214
  declare const zPostConversationsBody: z.ZodObject<{
2802
4215
  configurationId: z.ZodString;
2803
4216
  }, "strip", z.ZodTypeAny, {
@@ -2805,6 +4218,37 @@ declare const zPostConversationsBody: z.ZodObject<{
2805
4218
  }, {
2806
4219
  configurationId: string;
2807
4220
  }>;
4221
+ /**
4222
+ * The created conversation
4223
+ */
4224
+ declare const zPostConversationsResponse: z.ZodObject<{
4225
+ accountId: z.ZodOptional<z.ZodString>;
4226
+ configuration: z.ZodOptional<z.ZodString>;
4227
+ configurationId: z.ZodOptional<z.ZodString>;
4228
+ createdAt: z.ZodOptional<z.ZodString>;
4229
+ id: z.ZodOptional<z.ZodString>;
4230
+ name: z.ZodOptional<z.ZodString>;
4231
+ status: z.ZodOptional<z.ZodString>;
4232
+ updatedAt: z.ZodOptional<z.ZodString>;
4233
+ }, "strip", z.ZodTypeAny, {
4234
+ status?: string | undefined;
4235
+ accountId?: string | undefined;
4236
+ configuration?: string | undefined;
4237
+ configurationId?: string | undefined;
4238
+ createdAt?: string | undefined;
4239
+ id?: string | undefined;
4240
+ name?: string | undefined;
4241
+ updatedAt?: string | undefined;
4242
+ }, {
4243
+ status?: string | undefined;
4244
+ accountId?: string | undefined;
4245
+ configuration?: string | undefined;
4246
+ configurationId?: string | undefined;
4247
+ createdAt?: string | undefined;
4248
+ id?: string | undefined;
4249
+ name?: string | undefined;
4250
+ updatedAt?: string | undefined;
4251
+ }>;
2808
4252
  declare const zPutConversationsBody: z.ZodObject<{
2809
4253
  conversationsId: z.ZodString;
2810
4254
  status: z.ZodString;
@@ -2812,8 +4256,39 @@ declare const zPutConversationsBody: z.ZodObject<{
2812
4256
  status: string;
2813
4257
  conversationsId: string;
2814
4258
  }, {
2815
- status: string;
2816
- conversationsId: string;
4259
+ status: string;
4260
+ conversationsId: string;
4261
+ }>;
4262
+ /**
4263
+ * The updated conversation object
4264
+ */
4265
+ declare const zPutConversationsResponse: z.ZodObject<{
4266
+ accountId: z.ZodOptional<z.ZodString>;
4267
+ configuration: z.ZodOptional<z.ZodString>;
4268
+ configurationId: z.ZodOptional<z.ZodString>;
4269
+ createdAt: z.ZodOptional<z.ZodString>;
4270
+ id: z.ZodOptional<z.ZodString>;
4271
+ name: z.ZodOptional<z.ZodString>;
4272
+ status: z.ZodOptional<z.ZodString>;
4273
+ updatedAt: z.ZodOptional<z.ZodString>;
4274
+ }, "strip", z.ZodTypeAny, {
4275
+ status?: string | undefined;
4276
+ accountId?: string | undefined;
4277
+ configuration?: string | undefined;
4278
+ configurationId?: string | undefined;
4279
+ createdAt?: string | undefined;
4280
+ id?: string | undefined;
4281
+ name?: string | undefined;
4282
+ updatedAt?: string | undefined;
4283
+ }, {
4284
+ status?: string | undefined;
4285
+ accountId?: string | undefined;
4286
+ configuration?: string | undefined;
4287
+ configurationId?: string | undefined;
4288
+ createdAt?: string | undefined;
4289
+ id?: string | undefined;
4290
+ name?: string | undefined;
4291
+ updatedAt?: string | undefined;
2817
4292
  }>;
2818
4293
  declare const zGetParticipantsQuery: z.ZodObject<{
2819
4294
  conversationId: z.ZodOptional<z.ZodString>;
@@ -2825,19 +4300,83 @@ declare const zGetParticipantsQuery: z.ZodObject<{
2825
4300
  conversationId?: string | undefined;
2826
4301
  participantId?: string | undefined;
2827
4302
  }>;
4303
+ /**
4304
+ * Success
4305
+ */
4306
+ declare const zGetParticipantsResponse: z.ZodObject<{
4307
+ participants: z.ZodArray<z.ZodObject<{
4308
+ id: z.ZodOptional<z.ZodString>;
4309
+ conversationId: z.ZodOptional<z.ZodString>;
4310
+ accountId: z.ZodOptional<z.ZodString>;
4311
+ name: z.ZodOptional<z.ZodString>;
4312
+ type: z.ZodOptional<z.ZodString>;
4313
+ addresses: z.ZodOptional<z.ZodString>;
4314
+ createdAt: z.ZodOptional<z.ZodString>;
4315
+ updatedAt: z.ZodOptional<z.ZodString>;
4316
+ profileId: z.ZodOptional<z.ZodString>;
4317
+ }, "strip", z.ZodTypeAny, {
4318
+ type?: string | undefined;
4319
+ accountId?: string | undefined;
4320
+ createdAt?: string | undefined;
4321
+ id?: string | undefined;
4322
+ name?: string | undefined;
4323
+ updatedAt?: string | undefined;
4324
+ conversationId?: string | undefined;
4325
+ addresses?: string | undefined;
4326
+ profileId?: string | undefined;
4327
+ }, {
4328
+ type?: string | undefined;
4329
+ accountId?: string | undefined;
4330
+ createdAt?: string | undefined;
4331
+ id?: string | undefined;
4332
+ name?: string | undefined;
4333
+ updatedAt?: string | undefined;
4334
+ conversationId?: string | undefined;
4335
+ addresses?: string | undefined;
4336
+ profileId?: string | undefined;
4337
+ }>, "many">;
4338
+ }, "strip", z.ZodTypeAny, {
4339
+ participants: {
4340
+ type?: string | undefined;
4341
+ accountId?: string | undefined;
4342
+ createdAt?: string | undefined;
4343
+ id?: string | undefined;
4344
+ name?: string | undefined;
4345
+ updatedAt?: string | undefined;
4346
+ conversationId?: string | undefined;
4347
+ addresses?: string | undefined;
4348
+ profileId?: string | undefined;
4349
+ }[];
4350
+ }, {
4351
+ participants: {
4352
+ type?: string | undefined;
4353
+ accountId?: string | undefined;
4354
+ createdAt?: string | undefined;
4355
+ id?: string | undefined;
4356
+ name?: string | undefined;
4357
+ updatedAt?: string | undefined;
4358
+ conversationId?: string | undefined;
4359
+ addresses?: string | undefined;
4360
+ profileId?: string | undefined;
4361
+ }[];
4362
+ }>;
2828
4363
  declare const zPostParticipantsBody: z.ZodObject<{
2829
4364
  conversationId: z.ZodString;
2830
4365
  participantType: z.ZodString;
2831
4366
  addresses: z.ZodString;
2832
4367
  }, "strip", z.ZodTypeAny, {
2833
4368
  conversationId: string;
2834
- participantType: string;
2835
4369
  addresses: string;
4370
+ participantType: string;
2836
4371
  }, {
2837
4372
  conversationId: string;
2838
- participantType: string;
2839
4373
  addresses: string;
4374
+ participantType: string;
2840
4375
  }>;
4376
+ /**
4377
+ * The created participant object from Twilio
4378
+ */
4379
+ declare const zPostParticipantsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2841
4380
  declare const zPutParticipantsBody: z.ZodObject<{
2842
4381
  conversationId: z.ZodString;
2843
4382
  participantId: z.ZodString;
@@ -2848,6 +4387,10 @@ declare const zPutParticipantsBody: z.ZodObject<{
2848
4387
  conversationId: string;
2849
4388
  participantId: string;
2850
4389
  }>;
4390
+ /**
4391
+ * The updated participant object from Twilio
4392
+ */
4393
+ declare const zPutParticipantsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2851
4394
  declare const zDeleteConversationalIntelligenceOperatorBody: z.ZodObject<{
2852
4395
  intelligenceOperatorId: z.ZodString;
2853
4396
  }, "strip", z.ZodTypeAny, {
@@ -2855,6 +4398,16 @@ declare const zDeleteConversationalIntelligenceOperatorBody: z.ZodObject<{
2855
4398
  }, {
2856
4399
  intelligenceOperatorId: string;
2857
4400
  }>;
4401
+ /**
4402
+ * Success
4403
+ */
4404
+ declare const zDeleteConversationalIntelligenceOperatorResponse: z.ZodObject<{
4405
+ success: z.ZodBoolean;
4406
+ }, "strip", z.ZodTypeAny, {
4407
+ success: boolean;
4408
+ }, {
4409
+ success: boolean;
4410
+ }>;
2858
4411
  declare const zGetConversationalIntelligenceOperatorQuery: z.ZodObject<{
2859
4412
  intelligenceOperatorId: z.ZodOptional<z.ZodString>;
2860
4413
  pageToken: z.ZodOptional<z.ZodString>;
@@ -2865,6 +4418,10 @@ declare const zGetConversationalIntelligenceOperatorQuery: z.ZodObject<{
2865
4418
  intelligenceOperatorId?: string | undefined;
2866
4419
  pageToken?: string | undefined;
2867
4420
  }>;
4421
+ /**
4422
+ * A single Operator (when intelligenceOperatorId is provided) or an OperatorList (paginated)
4423
+ */
4424
+ declare const zGetConversationalIntelligenceOperatorResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2868
4425
  declare const zPostConversationalIntelligenceOperatorBody: z.ZodObject<{
2869
4426
  author: z.ZodString;
2870
4427
  displayName: z.ZodString;
@@ -2873,20 +4430,63 @@ declare const zPostConversationalIntelligenceOperatorBody: z.ZodObject<{
2873
4430
  valueType: z.ZodString;
2874
4431
  uiType: z.ZodString;
2875
4432
  }, "strip", z.ZodTypeAny, {
2876
- author: string;
2877
4433
  displayName: string;
2878
4434
  description: string;
4435
+ author: string;
2879
4436
  prompt: string;
2880
4437
  valueType: string;
2881
4438
  uiType: string;
2882
4439
  }, {
2883
- author: string;
2884
4440
  displayName: string;
2885
4441
  description: string;
4442
+ author: string;
2886
4443
  prompt: string;
2887
4444
  valueType: string;
2888
4445
  uiType: string;
2889
4446
  }>;
4447
+ /**
4448
+ * The created operator object
4449
+ */
4450
+ declare const zPostConversationalIntelligenceOperatorResponse: z.ZodObject<{
4451
+ id: z.ZodOptional<z.ZodString>;
4452
+ displayName: z.ZodOptional<z.ZodString>;
4453
+ description: z.ZodOptional<z.ZodString>;
4454
+ version: z.ZodOptional<z.ZodString>;
4455
+ availability: z.ZodOptional<z.ZodString>;
4456
+ author: z.ZodOptional<z.ZodString>;
4457
+ prompt: z.ZodOptional<z.ZodString>;
4458
+ outputFormat: z.ZodOptional<z.ZodString>;
4459
+ outputSchema: z.ZodOptional<z.ZodString>;
4460
+ trainingExamples: z.ZodOptional<z.ZodString>;
4461
+ context: z.ZodOptional<z.ZodString>;
4462
+ parameters: z.ZodOptional<z.ZodString>;
4463
+ }, "strip", z.ZodTypeAny, {
4464
+ id?: string | undefined;
4465
+ displayName?: string | undefined;
4466
+ description?: string | undefined;
4467
+ version?: string | undefined;
4468
+ availability?: string | undefined;
4469
+ author?: string | undefined;
4470
+ prompt?: string | undefined;
4471
+ outputFormat?: string | undefined;
4472
+ outputSchema?: string | undefined;
4473
+ trainingExamples?: string | undefined;
4474
+ context?: string | undefined;
4475
+ parameters?: string | undefined;
4476
+ }, {
4477
+ id?: string | undefined;
4478
+ displayName?: string | undefined;
4479
+ description?: string | undefined;
4480
+ version?: string | undefined;
4481
+ availability?: string | undefined;
4482
+ author?: string | undefined;
4483
+ prompt?: string | undefined;
4484
+ outputFormat?: string | undefined;
4485
+ outputSchema?: string | undefined;
4486
+ trainingExamples?: string | undefined;
4487
+ context?: string | undefined;
4488
+ parameters?: string | undefined;
4489
+ }>;
2890
4490
  declare const zPutConversationalIntelligenceOperatorBody: z.ZodObject<{
2891
4491
  displayName: z.ZodString;
2892
4492
  description: z.ZodString;
@@ -2895,20 +4495,63 @@ declare const zPutConversationalIntelligenceOperatorBody: z.ZodObject<{
2895
4495
  uiType: z.ZodString;
2896
4496
  intelligenceOperatorId: z.ZodString;
2897
4497
  }, "strip", z.ZodTypeAny, {
2898
- intelligenceOperatorId: string;
2899
4498
  displayName: string;
2900
4499
  description: string;
2901
4500
  prompt: string;
4501
+ intelligenceOperatorId: string;
2902
4502
  valueType: string;
2903
4503
  uiType: string;
2904
4504
  }, {
2905
- intelligenceOperatorId: string;
2906
4505
  displayName: string;
2907
4506
  description: string;
2908
4507
  prompt: string;
4508
+ intelligenceOperatorId: string;
2909
4509
  valueType: string;
2910
4510
  uiType: string;
2911
4511
  }>;
4512
+ /**
4513
+ * The updated operator object
4514
+ */
4515
+ declare const zPutConversationalIntelligenceOperatorResponse: z.ZodObject<{
4516
+ id: z.ZodOptional<z.ZodString>;
4517
+ displayName: z.ZodOptional<z.ZodString>;
4518
+ description: z.ZodOptional<z.ZodString>;
4519
+ version: z.ZodOptional<z.ZodString>;
4520
+ availability: z.ZodOptional<z.ZodString>;
4521
+ author: z.ZodOptional<z.ZodString>;
4522
+ prompt: z.ZodOptional<z.ZodString>;
4523
+ outputFormat: z.ZodOptional<z.ZodString>;
4524
+ outputSchema: z.ZodOptional<z.ZodString>;
4525
+ trainingExamples: z.ZodOptional<z.ZodString>;
4526
+ context: z.ZodOptional<z.ZodString>;
4527
+ parameters: z.ZodOptional<z.ZodString>;
4528
+ }, "strip", z.ZodTypeAny, {
4529
+ id?: string | undefined;
4530
+ displayName?: string | undefined;
4531
+ description?: string | undefined;
4532
+ version?: string | undefined;
4533
+ availability?: string | undefined;
4534
+ author?: string | undefined;
4535
+ prompt?: string | undefined;
4536
+ outputFormat?: string | undefined;
4537
+ outputSchema?: string | undefined;
4538
+ trainingExamples?: string | undefined;
4539
+ context?: string | undefined;
4540
+ parameters?: string | undefined;
4541
+ }, {
4542
+ id?: string | undefined;
4543
+ displayName?: string | undefined;
4544
+ description?: string | undefined;
4545
+ version?: string | undefined;
4546
+ availability?: string | undefined;
4547
+ author?: string | undefined;
4548
+ prompt?: string | undefined;
4549
+ outputFormat?: string | undefined;
4550
+ outputSchema?: string | undefined;
4551
+ trainingExamples?: string | undefined;
4552
+ context?: string | undefined;
4553
+ parameters?: string | undefined;
4554
+ }>;
2912
4555
  declare const zGetIntelligenceConfigurationQuery: z.ZodObject<{
2913
4556
  intelligenceConfigurationId: z.ZodOptional<z.ZodString>;
2914
4557
  pageToken: z.ZodOptional<z.ZodString>;
@@ -2919,7 +4562,42 @@ declare const zGetIntelligenceConfigurationQuery: z.ZodObject<{
2919
4562
  pageToken?: string | undefined;
2920
4563
  intelligenceConfigurationId?: string | undefined;
2921
4564
  }>;
4565
+ /**
4566
+ * A single IntelligenceConfiguration (when intelligenceConfigurationId is provided) or an IntelligenceConfigurationList (paginated)
4567
+ */
4568
+ declare const zGetIntelligenceConfigurationResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2922
4569
  declare const zPostIntelligenceConfigurationBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4570
+ /**
4571
+ * The created configuration
4572
+ */
4573
+ declare const zPostIntelligenceConfigurationResponse: z.ZodObject<{
4574
+ accountId: z.ZodOptional<z.ZodString>;
4575
+ dateCreated: z.ZodOptional<z.ZodString>;
4576
+ dateUpdated: z.ZodOptional<z.ZodString>;
4577
+ description: z.ZodOptional<z.ZodString>;
4578
+ displayName: z.ZodOptional<z.ZodString>;
4579
+ id: z.ZodOptional<z.ZodString>;
4580
+ rules: z.ZodOptional<z.ZodString>;
4581
+ version: z.ZodOptional<z.ZodString>;
4582
+ }, "strip", z.ZodTypeAny, {
4583
+ accountId?: string | undefined;
4584
+ id?: string | undefined;
4585
+ displayName?: string | undefined;
4586
+ description?: string | undefined;
4587
+ version?: string | undefined;
4588
+ dateCreated?: string | undefined;
4589
+ dateUpdated?: string | undefined;
4590
+ rules?: string | undefined;
4591
+ }, {
4592
+ accountId?: string | undefined;
4593
+ id?: string | undefined;
4594
+ displayName?: string | undefined;
4595
+ description?: string | undefined;
4596
+ version?: string | undefined;
4597
+ dateCreated?: string | undefined;
4598
+ dateUpdated?: string | undefined;
4599
+ rules?: string | undefined;
4600
+ }>;
2923
4601
  declare const zPutIntelligenceConfigurationBody: z.ZodObject<{
2924
4602
  intelligenceConfigurationId: z.ZodString;
2925
4603
  }, "strip", z.ZodTypeAny, {
@@ -2927,16 +4605,48 @@ declare const zPutIntelligenceConfigurationBody: z.ZodObject<{
2927
4605
  }, {
2928
4606
  intelligenceConfigurationId: string;
2929
4607
  }>;
4608
+ /**
4609
+ * The updated configuration
4610
+ */
4611
+ declare const zPutIntelligenceConfigurationResponse: z.ZodObject<{
4612
+ accountId: z.ZodOptional<z.ZodString>;
4613
+ dateCreated: z.ZodOptional<z.ZodString>;
4614
+ dateUpdated: z.ZodOptional<z.ZodString>;
4615
+ description: z.ZodOptional<z.ZodString>;
4616
+ displayName: z.ZodOptional<z.ZodString>;
4617
+ id: z.ZodOptional<z.ZodString>;
4618
+ rules: z.ZodOptional<z.ZodString>;
4619
+ version: z.ZodOptional<z.ZodString>;
4620
+ }, "strip", z.ZodTypeAny, {
4621
+ accountId?: string | undefined;
4622
+ id?: string | undefined;
4623
+ displayName?: string | undefined;
4624
+ description?: string | undefined;
4625
+ version?: string | undefined;
4626
+ dateCreated?: string | undefined;
4627
+ dateUpdated?: string | undefined;
4628
+ rules?: string | undefined;
4629
+ }, {
4630
+ accountId?: string | undefined;
4631
+ id?: string | undefined;
4632
+ displayName?: string | undefined;
4633
+ description?: string | undefined;
4634
+ version?: string | undefined;
4635
+ dateCreated?: string | undefined;
4636
+ dateUpdated?: string | undefined;
4637
+ rules?: string | undefined;
4638
+ }>;
2930
4639
  declare const zDeleteConversationMemoryProfilesQuery: z.ZodObject<{
2931
4640
  storeId: z.ZodOptional<z.ZodString>;
2932
4641
  profileId: z.ZodOptional<z.ZodString>;
2933
4642
  }, "strip", z.ZodTypeAny, {
2934
- storeId?: string | undefined;
2935
4643
  profileId?: string | undefined;
2936
- }, {
2937
4644
  storeId?: string | undefined;
4645
+ }, {
2938
4646
  profileId?: string | undefined;
4647
+ storeId?: string | undefined;
2939
4648
  }>;
4649
+ declare const zDeleteConversationMemoryProfilesResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2940
4650
  declare const zGetConversationMemoryProfilesQuery: z.ZodObject<{
2941
4651
  storeId: z.ZodOptional<z.ZodString>;
2942
4652
  profileId: z.ZodOptional<z.ZodString>;
@@ -2945,43 +4655,49 @@ declare const zGetConversationMemoryProfilesQuery: z.ZodObject<{
2945
4655
  pageToken: z.ZodOptional<z.ZodString>;
2946
4656
  orderBy: z.ZodOptional<z.ZodString>;
2947
4657
  }, "strip", z.ZodTypeAny, {
4658
+ profileId?: string | undefined;
2948
4659
  pageToken?: string | undefined;
2949
4660
  storeId?: string | undefined;
2950
- profileId?: string | undefined;
2951
4661
  traitGroups?: string | undefined;
2952
4662
  pageSize?: string | undefined;
2953
4663
  orderBy?: string | undefined;
2954
4664
  }, {
4665
+ profileId?: string | undefined;
2955
4666
  pageToken?: string | undefined;
2956
4667
  storeId?: string | undefined;
2957
- profileId?: string | undefined;
2958
4668
  traitGroups?: string | undefined;
2959
4669
  pageSize?: string | undefined;
2960
4670
  orderBy?: string | undefined;
2961
4671
  }>;
4672
+ /**
4673
+ * Upstream profile data (single profile or paginated list) from the Conversation Memory API
4674
+ */
4675
+ declare const zGetConversationMemoryProfilesResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2962
4676
  declare const zPatchConversationMemoryProfilesBody: z.ZodObject<{
2963
4677
  storeId: z.ZodString;
2964
4678
  profileId: z.ZodString;
2965
- traits: z.ZodString;
4679
+ traits: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2966
4680
  }, "strip", z.ZodTypeAny, {
2967
- storeId: string;
2968
4681
  profileId: string;
2969
- traits: string;
2970
- }, {
2971
4682
  storeId: string;
4683
+ traits: Record<string, unknown>;
4684
+ }, {
2972
4685
  profileId: string;
2973
- traits: string;
4686
+ storeId: string;
4687
+ traits: Record<string, unknown>;
2974
4688
  }>;
4689
+ declare const zPatchConversationMemoryProfilesResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2975
4690
  declare const zPostConversationMemoryProfilesBody: z.ZodObject<{
2976
4691
  storeId: z.ZodString;
2977
- traits: z.ZodString;
4692
+ traits: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2978
4693
  }, "strip", z.ZodTypeAny, {
2979
4694
  storeId: string;
2980
- traits: string;
4695
+ traits: Record<string, unknown>;
2981
4696
  }, {
2982
4697
  storeId: string;
2983
- traits: string;
4698
+ traits: Record<string, unknown>;
2984
4699
  }>;
4700
+ declare const zPostConversationMemoryProfilesResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2985
4701
  declare const zPostConversationMemoryProfilesLookupBody: z.ZodObject<{
2986
4702
  storeId: z.ZodString;
2987
4703
  idType: z.ZodString;
@@ -2995,45 +4711,58 @@ declare const zPostConversationMemoryProfilesLookupBody: z.ZodObject<{
2995
4711
  storeId: string;
2996
4712
  idType: string;
2997
4713
  }>;
4714
+ /**
4715
+ * Upstream matching profiles payload from the Conversation Memory API
4716
+ */
4717
+ declare const zPostConversationMemoryProfilesLookupResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2998
4718
  declare const zPostConversationMemoryRecallBody: z.ZodObject<{
2999
4719
  storeId: z.ZodString;
3000
4720
  profileId: z.ZodString;
3001
4721
  }, "strip", z.ZodTypeAny, {
3002
- storeId: string;
3003
4722
  profileId: string;
3004
- }, {
3005
4723
  storeId: string;
4724
+ }, {
3006
4725
  profileId: string;
4726
+ storeId: string;
3007
4727
  }>;
4728
+ /**
4729
+ * Upstream memory retrieval results from the Conversation Memory API
4730
+ */
4731
+ declare const zPostConversationMemoryRecallResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3008
4732
  declare const zDeleteConversationMemoryIdentifiersQuery: z.ZodObject<{
3009
4733
  storeId: z.ZodOptional<z.ZodString>;
3010
4734
  profileId: z.ZodOptional<z.ZodString>;
3011
4735
  idType: z.ZodOptional<z.ZodString>;
3012
4736
  removeAll: z.ZodOptional<z.ZodString>;
3013
4737
  }, "strip", z.ZodTypeAny, {
3014
- storeId?: string | undefined;
3015
4738
  profileId?: string | undefined;
4739
+ storeId?: string | undefined;
3016
4740
  idType?: string | undefined;
3017
4741
  removeAll?: string | undefined;
3018
4742
  }, {
3019
- storeId?: string | undefined;
3020
4743
  profileId?: string | undefined;
4744
+ storeId?: string | undefined;
3021
4745
  idType?: string | undefined;
3022
4746
  removeAll?: string | undefined;
3023
4747
  }>;
4748
+ declare const zDeleteConversationMemoryIdentifiersResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3024
4749
  declare const zGetConversationMemoryIdentifiersQuery: z.ZodObject<{
3025
4750
  storeId: z.ZodOptional<z.ZodString>;
3026
4751
  profileId: z.ZodOptional<z.ZodString>;
3027
4752
  idType: z.ZodOptional<z.ZodString>;
3028
4753
  }, "strip", z.ZodTypeAny, {
3029
- storeId?: string | undefined;
3030
4754
  profileId?: string | undefined;
4755
+ storeId?: string | undefined;
3031
4756
  idType?: string | undefined;
3032
4757
  }, {
3033
- storeId?: string | undefined;
3034
4758
  profileId?: string | undefined;
4759
+ storeId?: string | undefined;
3035
4760
  idType?: string | undefined;
3036
4761
  }>;
4762
+ /**
4763
+ * Upstream identifier data from the Conversation Memory API
4764
+ */
4765
+ declare const zGetConversationMemoryIdentifiersResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3037
4766
  declare const zPatchConversationMemoryIdentifiersBody: z.ZodObject<{
3038
4767
  storeId: z.ZodString;
3039
4768
  profileId: z.ZodString;
@@ -3041,18 +4770,19 @@ declare const zPatchConversationMemoryIdentifiersBody: z.ZodObject<{
3041
4770
  oldValue: z.ZodString;
3042
4771
  newValue: z.ZodString;
3043
4772
  }, "strip", z.ZodTypeAny, {
3044
- storeId: string;
3045
4773
  profileId: string;
4774
+ storeId: string;
3046
4775
  idType: string;
3047
4776
  oldValue: string;
3048
4777
  newValue: string;
3049
4778
  }, {
3050
- storeId: string;
3051
4779
  profileId: string;
4780
+ storeId: string;
3052
4781
  idType: string;
3053
4782
  oldValue: string;
3054
4783
  newValue: string;
3055
4784
  }>;
4785
+ declare const zPatchConversationMemoryIdentifiersResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3056
4786
  declare const zPostConversationMemoryIdentifiersBody: z.ZodObject<{
3057
4787
  storeId: z.ZodString;
3058
4788
  profileId: z.ZodString;
@@ -3060,15 +4790,16 @@ declare const zPostConversationMemoryIdentifiersBody: z.ZodObject<{
3060
4790
  value: z.ZodString;
3061
4791
  }, "strip", z.ZodTypeAny, {
3062
4792
  value: string;
3063
- storeId: string;
3064
4793
  profileId: string;
4794
+ storeId: string;
3065
4795
  idType: string;
3066
4796
  }, {
3067
4797
  value: string;
3068
- storeId: string;
3069
4798
  profileId: string;
4799
+ storeId: string;
3070
4800
  idType: string;
3071
4801
  }>;
4802
+ declare const zPostConversationMemoryIdentifiersResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3072
4803
  declare const zDeleteConversationMemoryTraitGroupsQuery: z.ZodObject<{
3073
4804
  storeId: z.ZodOptional<z.ZodString>;
3074
4805
  traitGroupName: z.ZodOptional<z.ZodString>;
@@ -3079,6 +4810,7 @@ declare const zDeleteConversationMemoryTraitGroupsQuery: z.ZodObject<{
3079
4810
  storeId?: string | undefined;
3080
4811
  traitGroupName?: string | undefined;
3081
4812
  }>;
4813
+ declare const zDeleteConversationMemoryTraitGroupsResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3082
4814
  declare const zGetConversationMemoryTraitGroupsQuery: z.ZodObject<{
3083
4815
  storeId: z.ZodOptional<z.ZodString>;
3084
4816
  traitGroupName: z.ZodOptional<z.ZodString>;
@@ -3101,6 +4833,10 @@ declare const zGetConversationMemoryTraitGroupsQuery: z.ZodObject<{
3101
4833
  traitGroupName?: string | undefined;
3102
4834
  includeTraits?: string | undefined;
3103
4835
  }>;
4836
+ /**
4837
+ * Upstream Trait Group data (single group or paginated list) from the Conversation Memory API
4838
+ */
4839
+ declare const zGetConversationMemoryTraitGroupsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3104
4840
  declare const zPatchConversationMemoryTraitGroupsBody: z.ZodObject<{
3105
4841
  storeId: z.ZodString;
3106
4842
  traitGroupName: z.ZodString;
@@ -3111,6 +4847,7 @@ declare const zPatchConversationMemoryTraitGroupsBody: z.ZodObject<{
3111
4847
  storeId: string;
3112
4848
  traitGroupName: string;
3113
4849
  }>;
4850
+ declare const zPatchConversationMemoryTraitGroupsResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3114
4851
  declare const zPostConversationMemoryTraitGroupsBody: z.ZodObject<{
3115
4852
  storeId: z.ZodString;
3116
4853
  displayName: z.ZodString;
@@ -3121,6 +4858,7 @@ declare const zPostConversationMemoryTraitGroupsBody: z.ZodObject<{
3121
4858
  displayName: string;
3122
4859
  storeId: string;
3123
4860
  }>;
4861
+ declare const zPostConversationMemoryTraitGroupsResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3124
4862
  declare const zGetConversationMemoryTraitsQuery: z.ZodObject<{
3125
4863
  storeId: z.ZodOptional<z.ZodString>;
3126
4864
  profileId: z.ZodOptional<z.ZodString>;
@@ -3129,33 +4867,38 @@ declare const zGetConversationMemoryTraitsQuery: z.ZodObject<{
3129
4867
  orderBy: z.ZodOptional<z.ZodString>;
3130
4868
  traitGroups: z.ZodOptional<z.ZodString>;
3131
4869
  }, "strip", z.ZodTypeAny, {
4870
+ profileId?: string | undefined;
3132
4871
  pageToken?: string | undefined;
3133
4872
  storeId?: string | undefined;
3134
- profileId?: string | undefined;
3135
4873
  traitGroups?: string | undefined;
3136
4874
  pageSize?: string | undefined;
3137
4875
  orderBy?: string | undefined;
3138
4876
  }, {
4877
+ profileId?: string | undefined;
3139
4878
  pageToken?: string | undefined;
3140
4879
  storeId?: string | undefined;
3141
- profileId?: string | undefined;
3142
4880
  traitGroups?: string | undefined;
3143
4881
  pageSize?: string | undefined;
3144
4882
  orderBy?: string | undefined;
3145
4883
  }>;
4884
+ /**
4885
+ * Upstream paginated traits list from the Conversation Memory API
4886
+ */
4887
+ declare const zGetConversationMemoryTraitsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3146
4888
  declare const zDeleteConversationMemoryObservationsQuery: z.ZodObject<{
3147
4889
  storeId: z.ZodOptional<z.ZodString>;
3148
4890
  profileId: z.ZodOptional<z.ZodString>;
3149
4891
  observationId: z.ZodOptional<z.ZodString>;
3150
4892
  }, "strip", z.ZodTypeAny, {
3151
- storeId?: string | undefined;
3152
4893
  profileId?: string | undefined;
4894
+ storeId?: string | undefined;
3153
4895
  observationId?: string | undefined;
3154
4896
  }, {
3155
- storeId?: string | undefined;
3156
4897
  profileId?: string | undefined;
4898
+ storeId?: string | undefined;
3157
4899
  observationId?: string | undefined;
3158
4900
  }>;
4901
+ declare const zDeleteConversationMemoryObservationsResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3159
4902
  declare const zGetConversationMemoryObservationsQuery: z.ZodObject<{
3160
4903
  storeId: z.ZodOptional<z.ZodString>;
3161
4904
  profileId: z.ZodOptional<z.ZodString>;
@@ -3167,9 +4910,9 @@ declare const zGetConversationMemoryObservationsQuery: z.ZodObject<{
3167
4910
  createdAfter: z.ZodOptional<z.ZodString>;
3168
4911
  createdBefore: z.ZodOptional<z.ZodString>;
3169
4912
  }, "strip", z.ZodTypeAny, {
4913
+ profileId?: string | undefined;
3170
4914
  pageToken?: string | undefined;
3171
4915
  storeId?: string | undefined;
3172
- profileId?: string | undefined;
3173
4916
  pageSize?: string | undefined;
3174
4917
  orderBy?: string | undefined;
3175
4918
  observationId?: string | undefined;
@@ -3177,9 +4920,9 @@ declare const zGetConversationMemoryObservationsQuery: z.ZodObject<{
3177
4920
  createdAfter?: string | undefined;
3178
4921
  createdBefore?: string | undefined;
3179
4922
  }, {
4923
+ profileId?: string | undefined;
3180
4924
  pageToken?: string | undefined;
3181
4925
  storeId?: string | undefined;
3182
- profileId?: string | undefined;
3183
4926
  pageSize?: string | undefined;
3184
4927
  orderBy?: string | undefined;
3185
4928
  observationId?: string | undefined;
@@ -3187,6 +4930,10 @@ declare const zGetConversationMemoryObservationsQuery: z.ZodObject<{
3187
4930
  createdAfter?: string | undefined;
3188
4931
  createdBefore?: string | undefined;
3189
4932
  }>;
4933
+ /**
4934
+ * Upstream observation data (single observation or paginated list) from the Conversation Memory API
4935
+ */
4936
+ declare const zGetConversationMemoryObservationsResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3190
4937
  declare const zPatchConversationMemoryObservationsBody: z.ZodObject<{
3191
4938
  storeId: z.ZodString;
3192
4939
  profileId: z.ZodString;
@@ -3195,46 +4942,49 @@ declare const zPatchConversationMemoryObservationsBody: z.ZodObject<{
3195
4942
  source: z.ZodString;
3196
4943
  occurredAt: z.ZodString;
3197
4944
  }, "strip", z.ZodTypeAny, {
4945
+ profileId: string;
3198
4946
  content: string;
3199
4947
  storeId: string;
3200
- profileId: string;
3201
4948
  observationId: string;
3202
4949
  source: string;
3203
4950
  occurredAt: string;
3204
4951
  }, {
4952
+ profileId: string;
3205
4953
  content: string;
3206
4954
  storeId: string;
3207
- profileId: string;
3208
4955
  observationId: string;
3209
4956
  source: string;
3210
4957
  occurredAt: string;
3211
4958
  }>;
4959
+ declare const zPatchConversationMemoryObservationsResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3212
4960
  declare const zPostConversationMemoryObservationsBody: z.ZodObject<{
3213
4961
  storeId: z.ZodString;
3214
4962
  profileId: z.ZodString;
3215
4963
  observations: z.ZodString;
3216
4964
  }, "strip", z.ZodTypeAny, {
3217
- storeId: string;
3218
4965
  profileId: string;
4966
+ storeId: string;
3219
4967
  observations: string;
3220
4968
  }, {
3221
- storeId: string;
3222
4969
  profileId: string;
4970
+ storeId: string;
3223
4971
  observations: string;
3224
4972
  }>;
4973
+ declare const zPostConversationMemoryObservationsResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3225
4974
  declare const zDeleteConversationMemoryConversationSummariesQuery: z.ZodObject<{
3226
4975
  storeId: z.ZodOptional<z.ZodString>;
3227
4976
  profileId: z.ZodOptional<z.ZodString>;
3228
4977
  summaryId: z.ZodOptional<z.ZodString>;
3229
4978
  }, "strip", z.ZodTypeAny, {
3230
- storeId?: string | undefined;
3231
4979
  profileId?: string | undefined;
4980
+ storeId?: string | undefined;
3232
4981
  summaryId?: string | undefined;
3233
4982
  }, {
3234
- storeId?: string | undefined;
3235
4983
  profileId?: string | undefined;
4984
+ storeId?: string | undefined;
3236
4985
  summaryId?: string | undefined;
3237
4986
  }>;
4987
+ declare const zDeleteConversationMemoryConversationSummariesResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3238
4988
  declare const zGetConversationMemoryConversationSummariesQuery: z.ZodObject<{
3239
4989
  storeId: z.ZodOptional<z.ZodString>;
3240
4990
  profileId: z.ZodOptional<z.ZodString>;
@@ -3242,44 +4992,63 @@ declare const zGetConversationMemoryConversationSummariesQuery: z.ZodObject<{
3242
4992
  pageSize: z.ZodOptional<z.ZodString>;
3243
4993
  pageToken: z.ZodOptional<z.ZodString>;
3244
4994
  }, "strip", z.ZodTypeAny, {
4995
+ profileId?: string | undefined;
3245
4996
  pageToken?: string | undefined;
3246
4997
  storeId?: string | undefined;
3247
- profileId?: string | undefined;
3248
4998
  pageSize?: string | undefined;
3249
4999
  summaryId?: string | undefined;
3250
5000
  }, {
5001
+ profileId?: string | undefined;
3251
5002
  pageToken?: string | undefined;
3252
5003
  storeId?: string | undefined;
3253
- profileId?: string | undefined;
3254
5004
  pageSize?: string | undefined;
3255
5005
  summaryId?: string | undefined;
3256
5006
  }>;
5007
+ /**
5008
+ * Upstream summary data (single summary or paginated list) from the Conversation Memory API
5009
+ */
5010
+ declare const zGetConversationMemoryConversationSummariesResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3257
5011
  declare const zPatchConversationMemoryConversationSummariesBody: z.ZodObject<{
3258
5012
  storeId: z.ZodString;
3259
5013
  profileId: z.ZodString;
3260
5014
  summaryId: z.ZodString;
3261
5015
  }, "strip", z.ZodTypeAny, {
3262
- storeId: string;
3263
5016
  profileId: string;
5017
+ storeId: string;
3264
5018
  summaryId: string;
3265
5019
  }, {
3266
- storeId: string;
3267
5020
  profileId: string;
5021
+ storeId: string;
3268
5022
  summaryId: string;
3269
5023
  }>;
5024
+ declare const zPatchConversationMemoryConversationSummariesResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
3270
5025
  declare const zPostConversationMemoryConversationSummariesBody: z.ZodObject<{
3271
5026
  storeId: z.ZodString;
3272
5027
  profileId: z.ZodString;
3273
5028
  summaries: z.ZodString;
3274
5029
  }, "strip", z.ZodTypeAny, {
3275
- storeId: string;
3276
5030
  profileId: string;
5031
+ storeId: string;
3277
5032
  summaries: string;
3278
5033
  }, {
3279
- storeId: string;
3280
5034
  profileId: string;
5035
+ storeId: string;
3281
5036
  summaries: string;
3282
5037
  }>;
5038
+ declare const zPostConversationMemoryConversationSummariesResponse: z.ZodUnion<[z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
5039
+ /**
5040
+ * Success
5041
+ */
5042
+ declare const zDeleteConversationMemoryResetResponse: z.ZodObject<{
5043
+ deletedObservations: z.ZodNumber;
5044
+ deletedSummaries: z.ZodNumber;
5045
+ }, "strip", z.ZodTypeAny, {
5046
+ deletedObservations: number;
5047
+ deletedSummaries: number;
5048
+ }, {
5049
+ deletedObservations: number;
5050
+ deletedSummaries: number;
5051
+ }>;
3283
5052
  declare const zPostAssignDemoBody: z.ZodObject<{
3284
5053
  phoneNumber: z.ZodString;
3285
5054
  targetObjectID: z.ZodString;
@@ -3290,6 +5059,28 @@ declare const zPostAssignDemoBody: z.ZodObject<{
3290
5059
  phoneNumber: string;
3291
5060
  targetObjectID: string;
3292
5061
  }>;
5062
+ /**
5063
+ * Success
5064
+ */
5065
+ declare const zPostAssignDemoResponse: z.ZodObject<{
5066
+ addedToTarget: z.ZodBoolean;
5067
+ message: z.ZodString;
5068
+ phoneNumber: z.ZodString;
5069
+ removedFrom: z.ZodArray<z.ZodString, "many">;
5070
+ targetObjectID: z.ZodString;
5071
+ }, "strip", z.ZodTypeAny, {
5072
+ message: string;
5073
+ phoneNumber: string;
5074
+ targetObjectID: string;
5075
+ addedToTarget: boolean;
5076
+ removedFrom: string[];
5077
+ }, {
5078
+ message: string;
5079
+ phoneNumber: string;
5080
+ targetObjectID: string;
5081
+ addedToTarget: boolean;
5082
+ removedFrom: string[];
5083
+ }>;
3293
5084
  declare const zGetLookupDemoQuery: z.ZodObject<{
3294
5085
  phoneNumber: z.ZodOptional<z.ZodString>;
3295
5086
  }, "strip", z.ZodTypeAny, {
@@ -3297,6 +5088,19 @@ declare const zGetLookupDemoQuery: z.ZodObject<{
3297
5088
  }, {
3298
5089
  phoneNumber?: string | undefined;
3299
5090
  }>;
5091
+ /**
5092
+ * Success
5093
+ */
5094
+ declare const zGetLookupDemoResponse: z.ZodObject<{
5095
+ phoneNumber: z.ZodString;
5096
+ templates: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
5097
+ }, "strip", z.ZodTypeAny, {
5098
+ phoneNumber: string;
5099
+ templates: Record<string, unknown>[];
5100
+ }, {
5101
+ phoneNumber: string;
5102
+ templates: Record<string, unknown>[];
5103
+ }>;
3300
5104
  declare const zPostTemplateAutogenBody: z.ZodObject<{
3301
5105
  requests: z.ZodArray<z.ZodObject<{
3302
5106
  email: z.ZodOptional<z.ZodString>;
@@ -3379,6 +5183,86 @@ declare const zPostTemplateAutogenBody: z.ZodObject<{
3379
5183
  countryCode: string;
3380
5184
  tools: string[];
3381
5185
  }>;
5186
+ /**
5187
+ * Success
5188
+ */
5189
+ declare const zPostTemplateAutogenResponse: z.ZodObject<{
5190
+ templates: z.ZodArray<z.ZodObject<{
5191
+ objectID: z.ZodOptional<z.ZodString>;
5192
+ title: z.ZodOptional<z.ZodString>;
5193
+ img: z.ZodOptional<z.ZodString>;
5194
+ associatedNumbers: z.ZodOptional<z.ZodString>;
5195
+ author: z.ZodOptional<z.ZodString>;
5196
+ createdAt: z.ZodOptional<z.ZodString>;
5197
+ createdAtUnix: z.ZodOptional<z.ZodString>;
5198
+ lastUpdatedAtUnix: z.ZodOptional<z.ZodString>;
5199
+ lastUpdated: z.ZodOptional<z.ZodString>;
5200
+ lastUpdatedBy: z.ZodOptional<z.ZodString>;
5201
+ prompt: z.ZodOptional<z.ZodString>;
5202
+ data: z.ZodOptional<z.ZodString>;
5203
+ content: z.ZodOptional<z.ZodString>;
5204
+ }, "strip", z.ZodTypeAny, {
5205
+ createdAt?: string | undefined;
5206
+ author?: string | undefined;
5207
+ prompt?: string | undefined;
5208
+ objectID?: string | undefined;
5209
+ title?: string | undefined;
5210
+ img?: string | undefined;
5211
+ associatedNumbers?: string | undefined;
5212
+ createdAtUnix?: string | undefined;
5213
+ lastUpdatedAtUnix?: string | undefined;
5214
+ lastUpdated?: string | undefined;
5215
+ lastUpdatedBy?: string | undefined;
5216
+ data?: string | undefined;
5217
+ content?: string | undefined;
5218
+ }, {
5219
+ createdAt?: string | undefined;
5220
+ author?: string | undefined;
5221
+ prompt?: string | undefined;
5222
+ objectID?: string | undefined;
5223
+ title?: string | undefined;
5224
+ img?: string | undefined;
5225
+ associatedNumbers?: string | undefined;
5226
+ createdAtUnix?: string | undefined;
5227
+ lastUpdatedAtUnix?: string | undefined;
5228
+ lastUpdated?: string | undefined;
5229
+ lastUpdatedBy?: string | undefined;
5230
+ data?: string | undefined;
5231
+ content?: string | undefined;
5232
+ }>, "many">;
5233
+ }, "strip", z.ZodTypeAny, {
5234
+ templates: {
5235
+ createdAt?: string | undefined;
5236
+ author?: string | undefined;
5237
+ prompt?: string | undefined;
5238
+ objectID?: string | undefined;
5239
+ title?: string | undefined;
5240
+ img?: string | undefined;
5241
+ associatedNumbers?: string | undefined;
5242
+ createdAtUnix?: string | undefined;
5243
+ lastUpdatedAtUnix?: string | undefined;
5244
+ lastUpdated?: string | undefined;
5245
+ lastUpdatedBy?: string | undefined;
5246
+ data?: string | undefined;
5247
+ content?: string | undefined;
5248
+ }[];
5249
+ }, {
5250
+ templates: {
5251
+ createdAt?: string | undefined;
5252
+ author?: string | undefined;
5253
+ prompt?: string | undefined;
5254
+ objectID?: string | undefined;
5255
+ title?: string | undefined;
5256
+ img?: string | undefined;
5257
+ associatedNumbers?: string | undefined;
5258
+ createdAtUnix?: string | undefined;
5259
+ lastUpdatedAtUnix?: string | undefined;
5260
+ lastUpdated?: string | undefined;
5261
+ lastUpdatedBy?: string | undefined;
5262
+ data?: string | undefined;
5263
+ content?: string | undefined;
5264
+ }[];
5265
+ }>;
3382
5266
  declare const zDeleteTemplateQuery: z.ZodObject<{
3383
5267
  campaign: z.ZodOptional<z.ZodString>;
3384
5268
  }, "strip", z.ZodTypeAny, {
@@ -3386,7 +5270,27 @@ declare const zDeleteTemplateQuery: z.ZodObject<{
3386
5270
  }, {
3387
5271
  campaign?: string | undefined;
3388
5272
  }>;
5273
+ /**
5274
+ * Success
5275
+ */
5276
+ declare const zDeleteTemplateResponse: z.ZodObject<{
5277
+ deleted: z.ZodArray<z.ZodString, "many">;
5278
+ }, "strip", z.ZodTypeAny, {
5279
+ deleted: string[];
5280
+ }, {
5281
+ deleted: string[];
5282
+ }>;
3389
5283
  declare const zPostTemplateBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5284
+ /**
5285
+ * Success
5286
+ */
5287
+ declare const zPostTemplateResponse: z.ZodObject<{
5288
+ message: z.ZodString;
5289
+ }, "strip", z.ZodTypeAny, {
5290
+ message: string;
5291
+ }, {
5292
+ message: string;
5293
+ }>;
3390
5294
  declare const zGetCampaignQuery: z.ZodObject<{
3391
5295
  limit: z.ZodOptional<z.ZodString>;
3392
5296
  offset: z.ZodOptional<z.ZodString>;
@@ -3397,21 +5301,112 @@ declare const zGetCampaignQuery: z.ZodObject<{
3397
5301
  includeCalledBy: z.ZodOptional<z.ZodString>;
3398
5302
  }, "strip", z.ZodTypeAny, {
3399
5303
  company?: string | undefined;
5304
+ objectId?: string | undefined;
5305
+ tag?: string | undefined;
3400
5306
  limit?: string | undefined;
3401
5307
  offset?: string | undefined;
3402
5308
  page?: string | undefined;
3403
- tag?: string | undefined;
3404
- objectId?: string | undefined;
3405
5309
  includeCalledBy?: string | undefined;
3406
5310
  }, {
3407
5311
  company?: string | undefined;
5312
+ objectId?: string | undefined;
5313
+ tag?: string | undefined;
3408
5314
  limit?: string | undefined;
3409
5315
  offset?: string | undefined;
3410
5316
  page?: string | undefined;
3411
- tag?: string | undefined;
3412
- objectId?: string | undefined;
3413
5317
  includeCalledBy?: string | undefined;
3414
5318
  }>;
5319
+ /**
5320
+ * Success
5321
+ */
5322
+ declare const zGetCampaignResponse: z.ZodObject<{
5323
+ calledByData: z.ZodArray<z.ZodObject<{
5324
+ phoneNumber: z.ZodOptional<z.ZodString>;
5325
+ timestamp: z.ZodOptional<z.ZodNumber>;
5326
+ direction: z.ZodOptional<z.ZodString>;
5327
+ objectId: z.ZodOptional<z.ZodString>;
5328
+ }, "strip", z.ZodTypeAny, {
5329
+ phoneNumber?: string | undefined;
5330
+ timestamp?: number | undefined;
5331
+ direction?: string | undefined;
5332
+ objectId?: string | undefined;
5333
+ }, {
5334
+ phoneNumber?: string | undefined;
5335
+ timestamp?: number | undefined;
5336
+ direction?: string | undefined;
5337
+ objectId?: string | undefined;
5338
+ }>, "many">;
5339
+ campaigns: z.ZodArray<z.ZodObject<{
5340
+ email: z.ZodOptional<z.ZodString>;
5341
+ companyName: z.ZodOptional<z.ZodString>;
5342
+ objectID: z.ZodOptional<z.ZodString>;
5343
+ encryptedObjectId: z.ZodOptional<z.ZodString>;
5344
+ agentNumber: z.ZodOptional<z.ZodString>;
5345
+ tag: z.ZodOptional<z.ZodString>;
5346
+ createdAt: z.ZodOptional<z.ZodString>;
5347
+ numCalls: z.ZodOptional<z.ZodString>;
5348
+ shortLink: z.ZodOptional<z.ZodString>;
5349
+ }, "strip", z.ZodTypeAny, {
5350
+ createdAt?: string | undefined;
5351
+ email?: string | undefined;
5352
+ objectID?: string | undefined;
5353
+ companyName?: string | undefined;
5354
+ encryptedObjectId?: string | undefined;
5355
+ agentNumber?: string | undefined;
5356
+ tag?: string | undefined;
5357
+ numCalls?: string | undefined;
5358
+ shortLink?: string | undefined;
5359
+ }, {
5360
+ createdAt?: string | undefined;
5361
+ email?: string | undefined;
5362
+ objectID?: string | undefined;
5363
+ companyName?: string | undefined;
5364
+ encryptedObjectId?: string | undefined;
5365
+ agentNumber?: string | undefined;
5366
+ tag?: string | undefined;
5367
+ numCalls?: string | undefined;
5368
+ shortLink?: string | undefined;
5369
+ }>, "many">;
5370
+ total: z.ZodNumber;
5371
+ }, "strip", z.ZodTypeAny, {
5372
+ calledByData: {
5373
+ phoneNumber?: string | undefined;
5374
+ timestamp?: number | undefined;
5375
+ direction?: string | undefined;
5376
+ objectId?: string | undefined;
5377
+ }[];
5378
+ campaigns: {
5379
+ createdAt?: string | undefined;
5380
+ email?: string | undefined;
5381
+ objectID?: string | undefined;
5382
+ companyName?: string | undefined;
5383
+ encryptedObjectId?: string | undefined;
5384
+ agentNumber?: string | undefined;
5385
+ tag?: string | undefined;
5386
+ numCalls?: string | undefined;
5387
+ shortLink?: string | undefined;
5388
+ }[];
5389
+ total: number;
5390
+ }, {
5391
+ calledByData: {
5392
+ phoneNumber?: string | undefined;
5393
+ timestamp?: number | undefined;
5394
+ direction?: string | undefined;
5395
+ objectId?: string | undefined;
5396
+ }[];
5397
+ campaigns: {
5398
+ createdAt?: string | undefined;
5399
+ email?: string | undefined;
5400
+ objectID?: string | undefined;
5401
+ companyName?: string | undefined;
5402
+ encryptedObjectId?: string | undefined;
5403
+ agentNumber?: string | undefined;
5404
+ tag?: string | undefined;
5405
+ numCalls?: string | undefined;
5406
+ shortLink?: string | undefined;
5407
+ }[];
5408
+ total: number;
5409
+ }>;
3415
5410
  /**
3416
5411
  * Success
3417
5412
  */
@@ -3457,6 +5452,16 @@ declare const zGetSupportedRegionsResponse: z.ZodObject<{
3457
5452
  capabilities?: string | undefined;
3458
5453
  }[];
3459
5454
  }>;
5455
+ /**
5456
+ * Success
5457
+ */
5458
+ declare const zGetLinkShortenerResponse: z.ZodObject<{
5459
+ links: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
5460
+ }, "strip", z.ZodTypeAny, {
5461
+ links: Record<string, unknown>[];
5462
+ }, {
5463
+ links: Record<string, unknown>[];
5464
+ }>;
3460
5465
  declare const zPatchLinkShortenerBody: z.ZodObject<{
3461
5466
  objectID: z.ZodString;
3462
5467
  shortLink: z.ZodString;
@@ -3467,6 +5472,16 @@ declare const zPatchLinkShortenerBody: z.ZodObject<{
3467
5472
  objectID: string;
3468
5473
  shortLink: string;
3469
5474
  }>;
5475
+ /**
5476
+ * Success
5477
+ */
5478
+ declare const zPatchLinkShortenerResponse: z.ZodObject<{
5479
+ ok: z.ZodBoolean;
5480
+ }, "strip", z.ZodTypeAny, {
5481
+ ok: boolean;
5482
+ }, {
5483
+ ok: boolean;
5484
+ }>;
3470
5485
  declare const zPostLinkShortenerBody: z.ZodObject<{
3471
5486
  urls: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
3472
5487
  }, "strip", z.ZodTypeAny, {
@@ -3474,6 +5489,13 @@ declare const zPostLinkShortenerBody: z.ZodObject<{
3474
5489
  }, {
3475
5490
  urls: Record<string, unknown>[];
3476
5491
  }>;
5492
+ declare const zPostLinkShortenerResponse: z.ZodUnion<[z.ZodUnknown, z.ZodObject<{
5493
+ results: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
5494
+ }, "strip", z.ZodTypeAny, {
5495
+ results: Record<string, unknown>[];
5496
+ }, {
5497
+ results: Record<string, unknown>[];
5498
+ }>]>;
3477
5499
  declare const zDeleteLinkShortenerByCodePath: z.ZodObject<{
3478
5500
  code: z.ZodString;
3479
5501
  }, "strip", z.ZodTypeAny, {
@@ -3481,135 +5503,294 @@ declare const zDeleteLinkShortenerByCodePath: z.ZodObject<{
3481
5503
  }, {
3482
5504
  code: string;
3483
5505
  }>;
5506
+ /**
5507
+ * Success
5508
+ */
5509
+ declare const zDeleteLinkShortenerByCodeResponse: z.ZodObject<{
5510
+ code: z.ZodString;
5511
+ ok: z.ZodBoolean;
5512
+ }, "strip", z.ZodTypeAny, {
5513
+ code: string;
5514
+ ok: boolean;
5515
+ }, {
5516
+ code: string;
5517
+ ok: boolean;
5518
+ }>;
5519
+ /**
5520
+ * The raw OpenAPI 3.1 spec JSON document
5521
+ */
5522
+ declare const zGetDocsOpenapiJsonResponse: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3484
5523
 
3485
5524
  declare const zod_gen_zAutogenRequest: typeof zAutogenRequest;
5525
+ declare const zod_gen_zCalledByData: typeof zCalledByData;
5526
+ declare const zod_gen_zCampaign: typeof zCampaign;
5527
+ declare const zod_gen_zConversation: typeof zConversation;
3486
5528
  declare const zod_gen_zDeleteConversationMemoryConversationSummariesQuery: typeof zDeleteConversationMemoryConversationSummariesQuery;
5529
+ declare const zod_gen_zDeleteConversationMemoryConversationSummariesResponse: typeof zDeleteConversationMemoryConversationSummariesResponse;
3487
5530
  declare const zod_gen_zDeleteConversationMemoryIdentifiersQuery: typeof zDeleteConversationMemoryIdentifiersQuery;
5531
+ declare const zod_gen_zDeleteConversationMemoryIdentifiersResponse: typeof zDeleteConversationMemoryIdentifiersResponse;
3488
5532
  declare const zod_gen_zDeleteConversationMemoryObservationsQuery: typeof zDeleteConversationMemoryObservationsQuery;
5533
+ declare const zod_gen_zDeleteConversationMemoryObservationsResponse: typeof zDeleteConversationMemoryObservationsResponse;
3489
5534
  declare const zod_gen_zDeleteConversationMemoryProfilesQuery: typeof zDeleteConversationMemoryProfilesQuery;
5535
+ declare const zod_gen_zDeleteConversationMemoryProfilesResponse: typeof zDeleteConversationMemoryProfilesResponse;
5536
+ declare const zod_gen_zDeleteConversationMemoryResetResponse: typeof zDeleteConversationMemoryResetResponse;
3490
5537
  declare const zod_gen_zDeleteConversationMemoryTraitGroupsQuery: typeof zDeleteConversationMemoryTraitGroupsQuery;
5538
+ declare const zod_gen_zDeleteConversationMemoryTraitGroupsResponse: typeof zDeleteConversationMemoryTraitGroupsResponse;
3491
5539
  declare const zod_gen_zDeleteConversationalIntelligenceOperatorBody: typeof zDeleteConversationalIntelligenceOperatorBody;
5540
+ declare const zod_gen_zDeleteConversationalIntelligenceOperatorResponse: typeof zDeleteConversationalIntelligenceOperatorResponse;
5541
+ declare const zod_gen_zDeleteLeadGenResponse: typeof zDeleteLeadGenResponse;
3492
5542
  declare const zod_gen_zDeleteLinkShortenerByCodePath: typeof zDeleteLinkShortenerByCodePath;
5543
+ declare const zod_gen_zDeleteLinkShortenerByCodeResponse: typeof zDeleteLinkShortenerByCodeResponse;
3493
5544
  declare const zod_gen_zDeleteTemplateQuery: typeof zDeleteTemplateQuery;
5545
+ declare const zod_gen_zDeleteTemplateResponse: typeof zDeleteTemplateResponse;
5546
+ declare const zod_gen_zErrorResponse: typeof zErrorResponse;
3494
5547
  declare const zod_gen_zGetCampaignQuery: typeof zGetCampaignQuery;
5548
+ declare const zod_gen_zGetCampaignResponse: typeof zGetCampaignResponse;
3495
5549
  declare const zod_gen_zGetConversationMemoryConversationSummariesQuery: typeof zGetConversationMemoryConversationSummariesQuery;
5550
+ declare const zod_gen_zGetConversationMemoryConversationSummariesResponse: typeof zGetConversationMemoryConversationSummariesResponse;
3496
5551
  declare const zod_gen_zGetConversationMemoryIdentifiersQuery: typeof zGetConversationMemoryIdentifiersQuery;
5552
+ declare const zod_gen_zGetConversationMemoryIdentifiersResponse: typeof zGetConversationMemoryIdentifiersResponse;
3497
5553
  declare const zod_gen_zGetConversationMemoryObservationsQuery: typeof zGetConversationMemoryObservationsQuery;
5554
+ declare const zod_gen_zGetConversationMemoryObservationsResponse: typeof zGetConversationMemoryObservationsResponse;
3498
5555
  declare const zod_gen_zGetConversationMemoryProfilesQuery: typeof zGetConversationMemoryProfilesQuery;
5556
+ declare const zod_gen_zGetConversationMemoryProfilesResponse: typeof zGetConversationMemoryProfilesResponse;
3499
5557
  declare const zod_gen_zGetConversationMemoryTraitGroupsQuery: typeof zGetConversationMemoryTraitGroupsQuery;
5558
+ declare const zod_gen_zGetConversationMemoryTraitGroupsResponse: typeof zGetConversationMemoryTraitGroupsResponse;
3500
5559
  declare const zod_gen_zGetConversationMemoryTraitsQuery: typeof zGetConversationMemoryTraitsQuery;
5560
+ declare const zod_gen_zGetConversationMemoryTraitsResponse: typeof zGetConversationMemoryTraitsResponse;
3501
5561
  declare const zod_gen_zGetConversationalIntelligenceOperatorQuery: typeof zGetConversationalIntelligenceOperatorQuery;
5562
+ declare const zod_gen_zGetConversationalIntelligenceOperatorResponse: typeof zGetConversationalIntelligenceOperatorResponse;
3502
5563
  declare const zod_gen_zGetConversationsFetchQuery: typeof zGetConversationsFetchQuery;
5564
+ declare const zod_gen_zGetConversationsFetchResponse: typeof zGetConversationsFetchResponse;
5565
+ declare const zod_gen_zGetDocsOpenapiJsonResponse: typeof zGetDocsOpenapiJsonResponse;
5566
+ declare const zod_gen_zGetHealthResponse: typeof zGetHealthResponse;
3503
5567
  declare const zod_gen_zGetIntelligenceConfigurationQuery: typeof zGetIntelligenceConfigurationQuery;
5568
+ declare const zod_gen_zGetIntelligenceConfigurationResponse: typeof zGetIntelligenceConfigurationResponse;
5569
+ declare const zod_gen_zGetLinkShortenerResponse: typeof zGetLinkShortenerResponse;
3504
5570
  declare const zod_gen_zGetLookupDemoQuery: typeof zGetLookupDemoQuery;
5571
+ declare const zod_gen_zGetLookupDemoResponse: typeof zGetLookupDemoResponse;
3505
5572
  declare const zod_gen_zGetParticipantsQuery: typeof zGetParticipantsQuery;
5573
+ declare const zod_gen_zGetParticipantsResponse: typeof zGetParticipantsResponse;
3506
5574
  declare const zod_gen_zGetSupportedRegionsResponse: typeof zGetSupportedRegionsResponse;
3507
5575
  declare const zod_gen_zGetSyncTokenQuery: typeof zGetSyncTokenQuery;
5576
+ declare const zod_gen_zGetSyncTokenResponse: typeof zGetSyncTokenResponse;
3508
5577
  declare const zod_gen_zGetVoiceTokenQuery: typeof zGetVoiceTokenQuery;
5578
+ declare const zod_gen_zGetVoiceTokenResponse: typeof zGetVoiceTokenResponse;
5579
+ declare const zod_gen_zIntelligenceConfiguration: typeof zIntelligenceConfiguration;
5580
+ declare const zod_gen_zOperator: typeof zOperator;
5581
+ declare const zod_gen_zParticipant: typeof zParticipant;
3509
5582
  declare const zod_gen_zPatchConversationMemoryConversationSummariesBody: typeof zPatchConversationMemoryConversationSummariesBody;
5583
+ declare const zod_gen_zPatchConversationMemoryConversationSummariesResponse: typeof zPatchConversationMemoryConversationSummariesResponse;
3510
5584
  declare const zod_gen_zPatchConversationMemoryIdentifiersBody: typeof zPatchConversationMemoryIdentifiersBody;
5585
+ declare const zod_gen_zPatchConversationMemoryIdentifiersResponse: typeof zPatchConversationMemoryIdentifiersResponse;
3511
5586
  declare const zod_gen_zPatchConversationMemoryObservationsBody: typeof zPatchConversationMemoryObservationsBody;
5587
+ declare const zod_gen_zPatchConversationMemoryObservationsResponse: typeof zPatchConversationMemoryObservationsResponse;
3512
5588
  declare const zod_gen_zPatchConversationMemoryProfilesBody: typeof zPatchConversationMemoryProfilesBody;
5589
+ declare const zod_gen_zPatchConversationMemoryProfilesResponse: typeof zPatchConversationMemoryProfilesResponse;
3513
5590
  declare const zod_gen_zPatchConversationMemoryTraitGroupsBody: typeof zPatchConversationMemoryTraitGroupsBody;
5591
+ declare const zod_gen_zPatchConversationMemoryTraitGroupsResponse: typeof zPatchConversationMemoryTraitGroupsResponse;
3514
5592
  declare const zod_gen_zPatchLeadGenBody: typeof zPatchLeadGenBody;
5593
+ declare const zod_gen_zPatchLeadGenResponse: typeof zPatchLeadGenResponse;
3515
5594
  declare const zod_gen_zPatchLinkShortenerBody: typeof zPatchLinkShortenerBody;
5595
+ declare const zod_gen_zPatchLinkShortenerResponse: typeof zPatchLinkShortenerResponse;
3516
5596
  declare const zod_gen_zPostAssignDemoBody: typeof zPostAssignDemoBody;
5597
+ declare const zod_gen_zPostAssignDemoResponse: typeof zPostAssignDemoResponse;
3517
5598
  declare const zod_gen_zPostConversationMemoryConversationSummariesBody: typeof zPostConversationMemoryConversationSummariesBody;
5599
+ declare const zod_gen_zPostConversationMemoryConversationSummariesResponse: typeof zPostConversationMemoryConversationSummariesResponse;
3518
5600
  declare const zod_gen_zPostConversationMemoryIdentifiersBody: typeof zPostConversationMemoryIdentifiersBody;
5601
+ declare const zod_gen_zPostConversationMemoryIdentifiersResponse: typeof zPostConversationMemoryIdentifiersResponse;
3519
5602
  declare const zod_gen_zPostConversationMemoryObservationsBody: typeof zPostConversationMemoryObservationsBody;
5603
+ declare const zod_gen_zPostConversationMemoryObservationsResponse: typeof zPostConversationMemoryObservationsResponse;
3520
5604
  declare const zod_gen_zPostConversationMemoryProfilesBody: typeof zPostConversationMemoryProfilesBody;
3521
5605
  declare const zod_gen_zPostConversationMemoryProfilesLookupBody: typeof zPostConversationMemoryProfilesLookupBody;
5606
+ declare const zod_gen_zPostConversationMemoryProfilesLookupResponse: typeof zPostConversationMemoryProfilesLookupResponse;
5607
+ declare const zod_gen_zPostConversationMemoryProfilesResponse: typeof zPostConversationMemoryProfilesResponse;
3522
5608
  declare const zod_gen_zPostConversationMemoryRecallBody: typeof zPostConversationMemoryRecallBody;
5609
+ declare const zod_gen_zPostConversationMemoryRecallResponse: typeof zPostConversationMemoryRecallResponse;
3523
5610
  declare const zod_gen_zPostConversationMemoryTraitGroupsBody: typeof zPostConversationMemoryTraitGroupsBody;
5611
+ declare const zod_gen_zPostConversationMemoryTraitGroupsResponse: typeof zPostConversationMemoryTraitGroupsResponse;
3524
5612
  declare const zod_gen_zPostConversationalIntelligenceOperatorBody: typeof zPostConversationalIntelligenceOperatorBody;
5613
+ declare const zod_gen_zPostConversationalIntelligenceOperatorResponse: typeof zPostConversationalIntelligenceOperatorResponse;
3525
5614
  declare const zod_gen_zPostConversationsBody: typeof zPostConversationsBody;
3526
5615
  declare const zod_gen_zPostConversationsCommunicationsByConversationIdBody: typeof zPostConversationsCommunicationsByConversationIdBody;
3527
5616
  declare const zod_gen_zPostConversationsCommunicationsByConversationIdPath: typeof zPostConversationsCommunicationsByConversationIdPath;
5617
+ declare const zod_gen_zPostConversationsCommunicationsByConversationIdResponse: typeof zPostConversationsCommunicationsByConversationIdResponse;
5618
+ declare const zod_gen_zPostConversationsResponse: typeof zPostConversationsResponse;
3528
5619
  declare const zod_gen_zPostConversationsTokenBody: typeof zPostConversationsTokenBody;
5620
+ declare const zod_gen_zPostConversationsTokenResponse: typeof zPostConversationsTokenResponse;
3529
5621
  declare const zod_gen_zPostCreateExternalFlexConnectionBody: typeof zPostCreateExternalFlexConnectionBody;
5622
+ declare const zod_gen_zPostCreateExternalFlexConnectionResponse: typeof zPostCreateExternalFlexConnectionResponse;
3530
5623
  declare const zod_gen_zPostInstallFlexPluginBody: typeof zPostInstallFlexPluginBody;
5624
+ declare const zod_gen_zPostInstallFlexPluginResponse: typeof zPostInstallFlexPluginResponse;
3531
5625
  declare const zod_gen_zPostIntelligenceConfigurationBody: typeof zPostIntelligenceConfigurationBody;
5626
+ declare const zod_gen_zPostIntelligenceConfigurationResponse: typeof zPostIntelligenceConfigurationResponse;
3532
5627
  declare const zod_gen_zPostLeadGenBody: typeof zPostLeadGenBody;
5628
+ declare const zod_gen_zPostLeadGenMonitorResponse: typeof zPostLeadGenMonitorResponse;
5629
+ declare const zod_gen_zPostLeadGenResponse: typeof zPostLeadGenResponse;
3533
5630
  declare const zod_gen_zPostLinkShortenerBody: typeof zPostLinkShortenerBody;
5631
+ declare const zod_gen_zPostLinkShortenerResponse: typeof zPostLinkShortenerResponse;
3534
5632
  declare const zod_gen_zPostLiveAgentWebchatConnectBody: typeof zPostLiveAgentWebchatConnectBody;
5633
+ declare const zod_gen_zPostLiveAgentWebchatConnectResponse: typeof zPostLiveAgentWebchatConnectResponse;
3535
5634
  declare const zod_gen_zPostLiveAgentWebchatEndBody: typeof zPostLiveAgentWebchatEndBody;
5635
+ declare const zod_gen_zPostLiveAgentWebchatEndResponse: typeof zPostLiveAgentWebchatEndResponse;
3536
5636
  declare const zod_gen_zPostLiveAgentWebchatSendBody: typeof zPostLiveAgentWebchatSendBody;
5637
+ declare const zod_gen_zPostLiveAgentWebchatSendResponse: typeof zPostLiveAgentWebchatSendResponse;
3537
5638
  declare const zod_gen_zPostParticipantsBody: typeof zPostParticipantsBody;
5639
+ declare const zod_gen_zPostParticipantsResponse: typeof zPostParticipantsResponse;
3538
5640
  declare const zod_gen_zPostTemplateAutogenBody: typeof zPostTemplateAutogenBody;
5641
+ declare const zod_gen_zPostTemplateAutogenResponse: typeof zPostTemplateAutogenResponse;
3539
5642
  declare const zod_gen_zPostTemplateBody: typeof zPostTemplateBody;
5643
+ declare const zod_gen_zPostTemplateResponse: typeof zPostTemplateResponse;
3540
5644
  declare const zod_gen_zPostUiConfigBody: typeof zPostUiConfigBody;
5645
+ declare const zod_gen_zPostUiConfigResponse: typeof zPostUiConfigResponse;
3541
5646
  declare const zod_gen_zPutConversationalIntelligenceOperatorBody: typeof zPutConversationalIntelligenceOperatorBody;
5647
+ declare const zod_gen_zPutConversationalIntelligenceOperatorResponse: typeof zPutConversationalIntelligenceOperatorResponse;
3542
5648
  declare const zod_gen_zPutConversationsBody: typeof zPutConversationsBody;
5649
+ declare const zod_gen_zPutConversationsResponse: typeof zPutConversationsResponse;
3543
5650
  declare const zod_gen_zPutIntelligenceConfigurationBody: typeof zPutIntelligenceConfigurationBody;
5651
+ declare const zod_gen_zPutIntelligenceConfigurationResponse: typeof zPutIntelligenceConfigurationResponse;
3544
5652
  declare const zod_gen_zPutParticipantsBody: typeof zPutParticipantsBody;
5653
+ declare const zod_gen_zPutParticipantsResponse: typeof zPutParticipantsResponse;
3545
5654
  declare const zod_gen_zShortenUrlInput: typeof zShortenUrlInput;
3546
5655
  declare const zod_gen_zSupportedRegion: typeof zSupportedRegion;
5656
+ declare const zod_gen_zTemplateData: typeof zTemplateData;
3547
5657
  declare namespace zod_gen {
3548
5658
  export {
3549
5659
  zod_gen_zAutogenRequest as zAutogenRequest,
5660
+ zod_gen_zCalledByData as zCalledByData,
5661
+ zod_gen_zCampaign as zCampaign,
5662
+ zod_gen_zConversation as zConversation,
3550
5663
  zod_gen_zDeleteConversationMemoryConversationSummariesQuery as zDeleteConversationMemoryConversationSummariesQuery,
5664
+ zod_gen_zDeleteConversationMemoryConversationSummariesResponse as zDeleteConversationMemoryConversationSummariesResponse,
3551
5665
  zod_gen_zDeleteConversationMemoryIdentifiersQuery as zDeleteConversationMemoryIdentifiersQuery,
5666
+ zod_gen_zDeleteConversationMemoryIdentifiersResponse as zDeleteConversationMemoryIdentifiersResponse,
3552
5667
  zod_gen_zDeleteConversationMemoryObservationsQuery as zDeleteConversationMemoryObservationsQuery,
5668
+ zod_gen_zDeleteConversationMemoryObservationsResponse as zDeleteConversationMemoryObservationsResponse,
3553
5669
  zod_gen_zDeleteConversationMemoryProfilesQuery as zDeleteConversationMemoryProfilesQuery,
5670
+ zod_gen_zDeleteConversationMemoryProfilesResponse as zDeleteConversationMemoryProfilesResponse,
5671
+ zod_gen_zDeleteConversationMemoryResetResponse as zDeleteConversationMemoryResetResponse,
3554
5672
  zod_gen_zDeleteConversationMemoryTraitGroupsQuery as zDeleteConversationMemoryTraitGroupsQuery,
5673
+ zod_gen_zDeleteConversationMemoryTraitGroupsResponse as zDeleteConversationMemoryTraitGroupsResponse,
3555
5674
  zod_gen_zDeleteConversationalIntelligenceOperatorBody as zDeleteConversationalIntelligenceOperatorBody,
5675
+ zod_gen_zDeleteConversationalIntelligenceOperatorResponse as zDeleteConversationalIntelligenceOperatorResponse,
5676
+ zod_gen_zDeleteLeadGenResponse as zDeleteLeadGenResponse,
3556
5677
  zod_gen_zDeleteLinkShortenerByCodePath as zDeleteLinkShortenerByCodePath,
5678
+ zod_gen_zDeleteLinkShortenerByCodeResponse as zDeleteLinkShortenerByCodeResponse,
3557
5679
  zod_gen_zDeleteTemplateQuery as zDeleteTemplateQuery,
5680
+ zod_gen_zDeleteTemplateResponse as zDeleteTemplateResponse,
5681
+ zod_gen_zErrorResponse as zErrorResponse,
3558
5682
  zod_gen_zGetCampaignQuery as zGetCampaignQuery,
5683
+ zod_gen_zGetCampaignResponse as zGetCampaignResponse,
3559
5684
  zod_gen_zGetConversationMemoryConversationSummariesQuery as zGetConversationMemoryConversationSummariesQuery,
5685
+ zod_gen_zGetConversationMemoryConversationSummariesResponse as zGetConversationMemoryConversationSummariesResponse,
3560
5686
  zod_gen_zGetConversationMemoryIdentifiersQuery as zGetConversationMemoryIdentifiersQuery,
5687
+ zod_gen_zGetConversationMemoryIdentifiersResponse as zGetConversationMemoryIdentifiersResponse,
3561
5688
  zod_gen_zGetConversationMemoryObservationsQuery as zGetConversationMemoryObservationsQuery,
5689
+ zod_gen_zGetConversationMemoryObservationsResponse as zGetConversationMemoryObservationsResponse,
3562
5690
  zod_gen_zGetConversationMemoryProfilesQuery as zGetConversationMemoryProfilesQuery,
5691
+ zod_gen_zGetConversationMemoryProfilesResponse as zGetConversationMemoryProfilesResponse,
3563
5692
  zod_gen_zGetConversationMemoryTraitGroupsQuery as zGetConversationMemoryTraitGroupsQuery,
5693
+ zod_gen_zGetConversationMemoryTraitGroupsResponse as zGetConversationMemoryTraitGroupsResponse,
3564
5694
  zod_gen_zGetConversationMemoryTraitsQuery as zGetConversationMemoryTraitsQuery,
5695
+ zod_gen_zGetConversationMemoryTraitsResponse as zGetConversationMemoryTraitsResponse,
3565
5696
  zod_gen_zGetConversationalIntelligenceOperatorQuery as zGetConversationalIntelligenceOperatorQuery,
5697
+ zod_gen_zGetConversationalIntelligenceOperatorResponse as zGetConversationalIntelligenceOperatorResponse,
3566
5698
  zod_gen_zGetConversationsFetchQuery as zGetConversationsFetchQuery,
5699
+ zod_gen_zGetConversationsFetchResponse as zGetConversationsFetchResponse,
5700
+ zod_gen_zGetDocsOpenapiJsonResponse as zGetDocsOpenapiJsonResponse,
5701
+ zod_gen_zGetHealthResponse as zGetHealthResponse,
3567
5702
  zod_gen_zGetIntelligenceConfigurationQuery as zGetIntelligenceConfigurationQuery,
5703
+ zod_gen_zGetIntelligenceConfigurationResponse as zGetIntelligenceConfigurationResponse,
5704
+ zod_gen_zGetLinkShortenerResponse as zGetLinkShortenerResponse,
3568
5705
  zod_gen_zGetLookupDemoQuery as zGetLookupDemoQuery,
5706
+ zod_gen_zGetLookupDemoResponse as zGetLookupDemoResponse,
3569
5707
  zod_gen_zGetParticipantsQuery as zGetParticipantsQuery,
5708
+ zod_gen_zGetParticipantsResponse as zGetParticipantsResponse,
3570
5709
  zod_gen_zGetSupportedRegionsResponse as zGetSupportedRegionsResponse,
3571
5710
  zod_gen_zGetSyncTokenQuery as zGetSyncTokenQuery,
5711
+ zod_gen_zGetSyncTokenResponse as zGetSyncTokenResponse,
3572
5712
  zod_gen_zGetVoiceTokenQuery as zGetVoiceTokenQuery,
5713
+ zod_gen_zGetVoiceTokenResponse as zGetVoiceTokenResponse,
5714
+ zod_gen_zIntelligenceConfiguration as zIntelligenceConfiguration,
5715
+ zod_gen_zOperator as zOperator,
5716
+ zod_gen_zParticipant as zParticipant,
3573
5717
  zod_gen_zPatchConversationMemoryConversationSummariesBody as zPatchConversationMemoryConversationSummariesBody,
5718
+ zod_gen_zPatchConversationMemoryConversationSummariesResponse as zPatchConversationMemoryConversationSummariesResponse,
3574
5719
  zod_gen_zPatchConversationMemoryIdentifiersBody as zPatchConversationMemoryIdentifiersBody,
5720
+ zod_gen_zPatchConversationMemoryIdentifiersResponse as zPatchConversationMemoryIdentifiersResponse,
3575
5721
  zod_gen_zPatchConversationMemoryObservationsBody as zPatchConversationMemoryObservationsBody,
5722
+ zod_gen_zPatchConversationMemoryObservationsResponse as zPatchConversationMemoryObservationsResponse,
3576
5723
  zod_gen_zPatchConversationMemoryProfilesBody as zPatchConversationMemoryProfilesBody,
5724
+ zod_gen_zPatchConversationMemoryProfilesResponse as zPatchConversationMemoryProfilesResponse,
3577
5725
  zod_gen_zPatchConversationMemoryTraitGroupsBody as zPatchConversationMemoryTraitGroupsBody,
5726
+ zod_gen_zPatchConversationMemoryTraitGroupsResponse as zPatchConversationMemoryTraitGroupsResponse,
3578
5727
  zod_gen_zPatchLeadGenBody as zPatchLeadGenBody,
5728
+ zod_gen_zPatchLeadGenResponse as zPatchLeadGenResponse,
3579
5729
  zod_gen_zPatchLinkShortenerBody as zPatchLinkShortenerBody,
5730
+ zod_gen_zPatchLinkShortenerResponse as zPatchLinkShortenerResponse,
3580
5731
  zod_gen_zPostAssignDemoBody as zPostAssignDemoBody,
5732
+ zod_gen_zPostAssignDemoResponse as zPostAssignDemoResponse,
3581
5733
  zod_gen_zPostConversationMemoryConversationSummariesBody as zPostConversationMemoryConversationSummariesBody,
5734
+ zod_gen_zPostConversationMemoryConversationSummariesResponse as zPostConversationMemoryConversationSummariesResponse,
3582
5735
  zod_gen_zPostConversationMemoryIdentifiersBody as zPostConversationMemoryIdentifiersBody,
5736
+ zod_gen_zPostConversationMemoryIdentifiersResponse as zPostConversationMemoryIdentifiersResponse,
3583
5737
  zod_gen_zPostConversationMemoryObservationsBody as zPostConversationMemoryObservationsBody,
5738
+ zod_gen_zPostConversationMemoryObservationsResponse as zPostConversationMemoryObservationsResponse,
3584
5739
  zod_gen_zPostConversationMemoryProfilesBody as zPostConversationMemoryProfilesBody,
3585
5740
  zod_gen_zPostConversationMemoryProfilesLookupBody as zPostConversationMemoryProfilesLookupBody,
5741
+ zod_gen_zPostConversationMemoryProfilesLookupResponse as zPostConversationMemoryProfilesLookupResponse,
5742
+ zod_gen_zPostConversationMemoryProfilesResponse as zPostConversationMemoryProfilesResponse,
3586
5743
  zod_gen_zPostConversationMemoryRecallBody as zPostConversationMemoryRecallBody,
5744
+ zod_gen_zPostConversationMemoryRecallResponse as zPostConversationMemoryRecallResponse,
3587
5745
  zod_gen_zPostConversationMemoryTraitGroupsBody as zPostConversationMemoryTraitGroupsBody,
5746
+ zod_gen_zPostConversationMemoryTraitGroupsResponse as zPostConversationMemoryTraitGroupsResponse,
3588
5747
  zod_gen_zPostConversationalIntelligenceOperatorBody as zPostConversationalIntelligenceOperatorBody,
5748
+ zod_gen_zPostConversationalIntelligenceOperatorResponse as zPostConversationalIntelligenceOperatorResponse,
3589
5749
  zod_gen_zPostConversationsBody as zPostConversationsBody,
3590
5750
  zod_gen_zPostConversationsCommunicationsByConversationIdBody as zPostConversationsCommunicationsByConversationIdBody,
3591
5751
  zod_gen_zPostConversationsCommunicationsByConversationIdPath as zPostConversationsCommunicationsByConversationIdPath,
5752
+ zod_gen_zPostConversationsCommunicationsByConversationIdResponse as zPostConversationsCommunicationsByConversationIdResponse,
5753
+ zod_gen_zPostConversationsResponse as zPostConversationsResponse,
3592
5754
  zod_gen_zPostConversationsTokenBody as zPostConversationsTokenBody,
5755
+ zod_gen_zPostConversationsTokenResponse as zPostConversationsTokenResponse,
3593
5756
  zod_gen_zPostCreateExternalFlexConnectionBody as zPostCreateExternalFlexConnectionBody,
5757
+ zod_gen_zPostCreateExternalFlexConnectionResponse as zPostCreateExternalFlexConnectionResponse,
3594
5758
  zod_gen_zPostInstallFlexPluginBody as zPostInstallFlexPluginBody,
5759
+ zod_gen_zPostInstallFlexPluginResponse as zPostInstallFlexPluginResponse,
3595
5760
  zod_gen_zPostIntelligenceConfigurationBody as zPostIntelligenceConfigurationBody,
5761
+ zod_gen_zPostIntelligenceConfigurationResponse as zPostIntelligenceConfigurationResponse,
3596
5762
  zod_gen_zPostLeadGenBody as zPostLeadGenBody,
5763
+ zod_gen_zPostLeadGenMonitorResponse as zPostLeadGenMonitorResponse,
5764
+ zod_gen_zPostLeadGenResponse as zPostLeadGenResponse,
3597
5765
  zod_gen_zPostLinkShortenerBody as zPostLinkShortenerBody,
5766
+ zod_gen_zPostLinkShortenerResponse as zPostLinkShortenerResponse,
3598
5767
  zod_gen_zPostLiveAgentWebchatConnectBody as zPostLiveAgentWebchatConnectBody,
5768
+ zod_gen_zPostLiveAgentWebchatConnectResponse as zPostLiveAgentWebchatConnectResponse,
3599
5769
  zod_gen_zPostLiveAgentWebchatEndBody as zPostLiveAgentWebchatEndBody,
5770
+ zod_gen_zPostLiveAgentWebchatEndResponse as zPostLiveAgentWebchatEndResponse,
3600
5771
  zod_gen_zPostLiveAgentWebchatSendBody as zPostLiveAgentWebchatSendBody,
5772
+ zod_gen_zPostLiveAgentWebchatSendResponse as zPostLiveAgentWebchatSendResponse,
3601
5773
  zod_gen_zPostParticipantsBody as zPostParticipantsBody,
5774
+ zod_gen_zPostParticipantsResponse as zPostParticipantsResponse,
3602
5775
  zod_gen_zPostTemplateAutogenBody as zPostTemplateAutogenBody,
5776
+ zod_gen_zPostTemplateAutogenResponse as zPostTemplateAutogenResponse,
3603
5777
  zod_gen_zPostTemplateBody as zPostTemplateBody,
5778
+ zod_gen_zPostTemplateResponse as zPostTemplateResponse,
3604
5779
  zod_gen_zPostUiConfigBody as zPostUiConfigBody,
5780
+ zod_gen_zPostUiConfigResponse as zPostUiConfigResponse,
3605
5781
  zod_gen_zPutConversationalIntelligenceOperatorBody as zPutConversationalIntelligenceOperatorBody,
5782
+ zod_gen_zPutConversationalIntelligenceOperatorResponse as zPutConversationalIntelligenceOperatorResponse,
3606
5783
  zod_gen_zPutConversationsBody as zPutConversationsBody,
5784
+ zod_gen_zPutConversationsResponse as zPutConversationsResponse,
3607
5785
  zod_gen_zPutIntelligenceConfigurationBody as zPutIntelligenceConfigurationBody,
5786
+ zod_gen_zPutIntelligenceConfigurationResponse as zPutIntelligenceConfigurationResponse,
3608
5787
  zod_gen_zPutParticipantsBody as zPutParticipantsBody,
5788
+ zod_gen_zPutParticipantsResponse as zPutParticipantsResponse,
3609
5789
  zod_gen_zShortenUrlInput as zShortenUrlInput,
3610
5790
  zod_gen_zSupportedRegion as zSupportedRegion,
5791
+ zod_gen_zTemplateData as zTemplateData,
3611
5792
  };
3612
5793
  }
3613
5794
 
3614
5795
  export { createRampApiClient, deleteConversationMemoryConversationSummaries, deleteConversationMemoryIdentifiers, deleteConversationMemoryObservations, deleteConversationMemoryProfiles, deleteConversationMemoryReset, deleteConversationMemoryTraitGroups, deleteConversationalIntelligenceOperator, deleteLeadGen, deleteLinkShortenerByCode, deleteTemplate, getCampaign, getConversationMemoryConversationSummaries, getConversationMemoryIdentifiers, getConversationMemoryObservations, getConversationMemoryProfiles, getConversationMemoryTraitGroups, getConversationMemoryTraits, getConversationalIntelligenceOperator, getConversationsFetch, getDocsOpenapiJson, getHealth, getIntelligenceConfiguration, getLinkShortener, getLookupDemo, getParticipants, getSupportedRegions, getSyncToken, getVoiceToken, patchConversationMemoryConversationSummaries, patchConversationMemoryIdentifiers, patchConversationMemoryObservations, patchConversationMemoryProfiles, patchConversationMemoryTraitGroups, patchLeadGen, patchLinkShortener, postAssignDemo, postConversationMemoryConversationSummaries, postConversationMemoryIdentifiers, postConversationMemoryObservations, postConversationMemoryProfiles, postConversationMemoryProfilesLookup, postConversationMemoryRecall, postConversationMemoryTraitGroups, postConversationalIntelligenceOperator, postConversations, postConversationsCommunicationsByConversationId, postConversationsToken, postCreateExternalFlexConnection, postInstallFlexPlugin, postIntelligenceConfiguration, postLeadGen, postLeadGenMonitor, postLinkShortener, postLiveAgentWebchatConnect, postLiveAgentWebchatEnd, postLiveAgentWebchatSend, postParticipants, postTemplate, postTemplateAutogen, postUiConfig, putConversationalIntelligenceOperator, putConversations, putIntelligenceConfiguration, putParticipants, zod_gen as schemas };
3615
- export type { AutogenRequest, Client, ClientOptions, Config, CreateRampApiClientOptions, DeleteConversationMemoryConversationSummariesData, DeleteConversationMemoryConversationSummariesErrors, DeleteConversationMemoryConversationSummariesResponses, DeleteConversationMemoryIdentifiersData, DeleteConversationMemoryIdentifiersErrors, DeleteConversationMemoryIdentifiersResponses, DeleteConversationMemoryObservationsData, DeleteConversationMemoryObservationsErrors, DeleteConversationMemoryObservationsResponses, DeleteConversationMemoryProfilesData, DeleteConversationMemoryProfilesErrors, DeleteConversationMemoryProfilesResponses, DeleteConversationMemoryResetData, DeleteConversationMemoryResetErrors, DeleteConversationMemoryResetResponses, DeleteConversationMemoryTraitGroupsData, DeleteConversationMemoryTraitGroupsErrors, DeleteConversationMemoryTraitGroupsResponses, DeleteConversationalIntelligenceOperatorData, DeleteConversationalIntelligenceOperatorErrors, DeleteConversationalIntelligenceOperatorResponses, DeleteLeadGenData, DeleteLeadGenErrors, DeleteLeadGenResponses, DeleteLinkShortenerByCodeData, DeleteLinkShortenerByCodeErrors, DeleteLinkShortenerByCodeResponses, DeleteTemplateData, DeleteTemplateErrors, DeleteTemplateResponses, GetCampaignData, GetCampaignErrors, GetCampaignResponses, GetConversationMemoryConversationSummariesData, GetConversationMemoryConversationSummariesErrors, GetConversationMemoryConversationSummariesResponses, GetConversationMemoryIdentifiersData, GetConversationMemoryIdentifiersErrors, GetConversationMemoryIdentifiersResponses, GetConversationMemoryObservationsData, GetConversationMemoryObservationsErrors, GetConversationMemoryObservationsResponses, GetConversationMemoryProfilesData, GetConversationMemoryProfilesErrors, GetConversationMemoryProfilesResponses, GetConversationMemoryTraitGroupsData, GetConversationMemoryTraitGroupsErrors, GetConversationMemoryTraitGroupsResponses, GetConversationMemoryTraitsData, GetConversationMemoryTraitsErrors, GetConversationMemoryTraitsResponses, GetConversationalIntelligenceOperatorData, GetConversationalIntelligenceOperatorErrors, GetConversationalIntelligenceOperatorResponses, GetConversationsFetchData, GetConversationsFetchErrors, GetConversationsFetchResponses, GetDocsOpenapiJsonData, GetDocsOpenapiJsonErrors, GetDocsOpenapiJsonResponses, GetHealthData, GetHealthErrors, GetHealthResponses, GetIntelligenceConfigurationData, GetIntelligenceConfigurationErrors, GetIntelligenceConfigurationResponses, GetLinkShortenerData, GetLinkShortenerErrors, GetLinkShortenerResponses, GetLookupDemoData, GetLookupDemoErrors, GetLookupDemoResponses, GetParticipantsData, GetParticipantsErrors, GetParticipantsResponses, GetSupportedRegionsData, GetSupportedRegionsErrors, GetSupportedRegionsResponse, GetSupportedRegionsResponses, GetSyncTokenData, GetSyncTokenErrors, GetSyncTokenResponses, GetVoiceTokenData, GetVoiceTokenErrors, GetVoiceTokenResponses, Options, PatchConversationMemoryConversationSummariesData, PatchConversationMemoryConversationSummariesErrors, PatchConversationMemoryConversationSummariesResponses, PatchConversationMemoryIdentifiersData, PatchConversationMemoryIdentifiersErrors, PatchConversationMemoryIdentifiersResponses, PatchConversationMemoryObservationsData, PatchConversationMemoryObservationsErrors, PatchConversationMemoryObservationsResponses, PatchConversationMemoryProfilesData, PatchConversationMemoryProfilesErrors, PatchConversationMemoryProfilesResponses, PatchConversationMemoryTraitGroupsData, PatchConversationMemoryTraitGroupsErrors, PatchConversationMemoryTraitGroupsResponses, PatchLeadGenData, PatchLeadGenErrors, PatchLeadGenResponses, PatchLinkShortenerData, PatchLinkShortenerErrors, PatchLinkShortenerResponses, PostAssignDemoData, PostAssignDemoErrors, PostAssignDemoResponses, PostConversationMemoryConversationSummariesData, PostConversationMemoryConversationSummariesErrors, PostConversationMemoryConversationSummariesResponses, PostConversationMemoryIdentifiersData, PostConversationMemoryIdentifiersErrors, PostConversationMemoryIdentifiersResponses, PostConversationMemoryObservationsData, PostConversationMemoryObservationsErrors, PostConversationMemoryObservationsResponses, PostConversationMemoryProfilesData, PostConversationMemoryProfilesErrors, PostConversationMemoryProfilesLookupData, PostConversationMemoryProfilesLookupErrors, PostConversationMemoryProfilesLookupResponses, PostConversationMemoryProfilesResponses, PostConversationMemoryRecallData, PostConversationMemoryRecallErrors, PostConversationMemoryRecallResponses, PostConversationMemoryTraitGroupsData, PostConversationMemoryTraitGroupsErrors, PostConversationMemoryTraitGroupsResponses, PostConversationalIntelligenceOperatorData, PostConversationalIntelligenceOperatorErrors, PostConversationalIntelligenceOperatorResponses, PostConversationsCommunicationsByConversationIdData, PostConversationsCommunicationsByConversationIdErrors, PostConversationsCommunicationsByConversationIdResponses, PostConversationsData, PostConversationsErrors, PostConversationsResponses, PostConversationsTokenData, PostConversationsTokenErrors, PostConversationsTokenResponses, PostCreateExternalFlexConnectionData, PostCreateExternalFlexConnectionErrors, PostCreateExternalFlexConnectionResponses, PostInstallFlexPluginData, PostInstallFlexPluginErrors, PostInstallFlexPluginResponses, PostIntelligenceConfigurationData, PostIntelligenceConfigurationErrors, PostIntelligenceConfigurationResponses, PostLeadGenData, PostLeadGenErrors, PostLeadGenMonitorData, PostLeadGenMonitorErrors, PostLeadGenMonitorResponses, PostLeadGenResponses, PostLinkShortenerData, PostLinkShortenerErrors, PostLinkShortenerResponses, PostLiveAgentWebchatConnectData, PostLiveAgentWebchatConnectErrors, PostLiveAgentWebchatConnectResponses, PostLiveAgentWebchatEndData, PostLiveAgentWebchatEndErrors, PostLiveAgentWebchatEndResponses, PostLiveAgentWebchatSendData, PostLiveAgentWebchatSendErrors, PostLiveAgentWebchatSendResponses, PostParticipantsData, PostParticipantsErrors, PostParticipantsResponses, PostTemplateAutogenData, PostTemplateAutogenErrors, PostTemplateAutogenResponses, PostTemplateData, PostTemplateErrors, PostTemplateResponses, PostUiConfigData, PostUiConfigErrors, PostUiConfigResponses, PutConversationalIntelligenceOperatorData, PutConversationalIntelligenceOperatorErrors, PutConversationalIntelligenceOperatorResponses, PutConversationsData, PutConversationsErrors, PutConversationsResponses, PutIntelligenceConfigurationData, PutIntelligenceConfigurationErrors, PutIntelligenceConfigurationResponses, PutParticipantsData, PutParticipantsErrors, PutParticipantsResponses, RequestResult, ShortenUrlInput, SupportedRegion };
5796
+ export type { AutogenRequest, CalledByData, Campaign, Client, ClientOptions, Config, Conversation, CreateRampApiClientOptions, DeleteConversationMemoryConversationSummariesData, DeleteConversationMemoryConversationSummariesError, DeleteConversationMemoryConversationSummariesErrors, DeleteConversationMemoryConversationSummariesResponse, DeleteConversationMemoryConversationSummariesResponses, DeleteConversationMemoryIdentifiersData, DeleteConversationMemoryIdentifiersError, DeleteConversationMemoryIdentifiersErrors, DeleteConversationMemoryIdentifiersResponse, DeleteConversationMemoryIdentifiersResponses, DeleteConversationMemoryObservationsData, DeleteConversationMemoryObservationsError, DeleteConversationMemoryObservationsErrors, DeleteConversationMemoryObservationsResponse, DeleteConversationMemoryObservationsResponses, DeleteConversationMemoryProfilesData, DeleteConversationMemoryProfilesError, DeleteConversationMemoryProfilesErrors, DeleteConversationMemoryProfilesResponse, DeleteConversationMemoryProfilesResponses, DeleteConversationMemoryResetData, DeleteConversationMemoryResetError, DeleteConversationMemoryResetErrors, DeleteConversationMemoryResetResponse, DeleteConversationMemoryResetResponses, DeleteConversationMemoryTraitGroupsData, DeleteConversationMemoryTraitGroupsError, DeleteConversationMemoryTraitGroupsErrors, DeleteConversationMemoryTraitGroupsResponse, DeleteConversationMemoryTraitGroupsResponses, DeleteConversationalIntelligenceOperatorData, DeleteConversationalIntelligenceOperatorError, DeleteConversationalIntelligenceOperatorErrors, DeleteConversationalIntelligenceOperatorResponse, DeleteConversationalIntelligenceOperatorResponses, DeleteLeadGenData, DeleteLeadGenError, DeleteLeadGenErrors, DeleteLeadGenResponse, DeleteLeadGenResponses, DeleteLinkShortenerByCodeData, DeleteLinkShortenerByCodeError, DeleteLinkShortenerByCodeErrors, DeleteLinkShortenerByCodeResponse, DeleteLinkShortenerByCodeResponses, DeleteTemplateData, DeleteTemplateError, DeleteTemplateErrors, DeleteTemplateResponse, DeleteTemplateResponses, ErrorResponse, GetCampaignData, GetCampaignError, GetCampaignErrors, GetCampaignResponse, GetCampaignResponses, GetConversationMemoryConversationSummariesData, GetConversationMemoryConversationSummariesError, GetConversationMemoryConversationSummariesErrors, GetConversationMemoryConversationSummariesResponse, GetConversationMemoryConversationSummariesResponses, GetConversationMemoryIdentifiersData, GetConversationMemoryIdentifiersError, GetConversationMemoryIdentifiersErrors, GetConversationMemoryIdentifiersResponse, GetConversationMemoryIdentifiersResponses, GetConversationMemoryObservationsData, GetConversationMemoryObservationsError, GetConversationMemoryObservationsErrors, GetConversationMemoryObservationsResponse, GetConversationMemoryObservationsResponses, GetConversationMemoryProfilesData, GetConversationMemoryProfilesError, GetConversationMemoryProfilesErrors, GetConversationMemoryProfilesResponse, GetConversationMemoryProfilesResponses, GetConversationMemoryTraitGroupsData, GetConversationMemoryTraitGroupsError, GetConversationMemoryTraitGroupsErrors, GetConversationMemoryTraitGroupsResponse, GetConversationMemoryTraitGroupsResponses, GetConversationMemoryTraitsData, GetConversationMemoryTraitsError, GetConversationMemoryTraitsErrors, GetConversationMemoryTraitsResponse, GetConversationMemoryTraitsResponses, GetConversationalIntelligenceOperatorData, GetConversationalIntelligenceOperatorError, GetConversationalIntelligenceOperatorErrors, GetConversationalIntelligenceOperatorResponse, GetConversationalIntelligenceOperatorResponses, GetConversationsFetchData, GetConversationsFetchError, GetConversationsFetchErrors, GetConversationsFetchResponse, GetConversationsFetchResponses, GetDocsOpenapiJsonData, GetDocsOpenapiJsonError, GetDocsOpenapiJsonErrors, GetDocsOpenapiJsonResponse, GetDocsOpenapiJsonResponses, GetHealthData, GetHealthErrors, GetHealthResponse, GetHealthResponses, GetIntelligenceConfigurationData, GetIntelligenceConfigurationError, GetIntelligenceConfigurationErrors, GetIntelligenceConfigurationResponse, GetIntelligenceConfigurationResponses, GetLinkShortenerData, GetLinkShortenerError, GetLinkShortenerErrors, GetLinkShortenerResponse, GetLinkShortenerResponses, GetLookupDemoData, GetLookupDemoError, GetLookupDemoErrors, GetLookupDemoResponse, GetLookupDemoResponses, GetParticipantsData, GetParticipantsError, GetParticipantsErrors, GetParticipantsResponse, GetParticipantsResponses, GetSupportedRegionsData, GetSupportedRegionsError, GetSupportedRegionsErrors, GetSupportedRegionsResponse, GetSupportedRegionsResponses, GetSyncTokenData, GetSyncTokenError, GetSyncTokenErrors, GetSyncTokenResponse, GetSyncTokenResponses, GetVoiceTokenData, GetVoiceTokenError, GetVoiceTokenErrors, GetVoiceTokenResponse, GetVoiceTokenResponses, IntelligenceConfiguration, Operator, Options, Participant, PatchConversationMemoryConversationSummariesData, PatchConversationMemoryConversationSummariesError, PatchConversationMemoryConversationSummariesErrors, PatchConversationMemoryConversationSummariesResponse, PatchConversationMemoryConversationSummariesResponses, PatchConversationMemoryIdentifiersData, PatchConversationMemoryIdentifiersError, PatchConversationMemoryIdentifiersErrors, PatchConversationMemoryIdentifiersResponse, PatchConversationMemoryIdentifiersResponses, PatchConversationMemoryObservationsData, PatchConversationMemoryObservationsError, PatchConversationMemoryObservationsErrors, PatchConversationMemoryObservationsResponse, PatchConversationMemoryObservationsResponses, PatchConversationMemoryProfilesData, PatchConversationMemoryProfilesError, PatchConversationMemoryProfilesErrors, PatchConversationMemoryProfilesResponse, PatchConversationMemoryProfilesResponses, PatchConversationMemoryTraitGroupsData, PatchConversationMemoryTraitGroupsError, PatchConversationMemoryTraitGroupsErrors, PatchConversationMemoryTraitGroupsResponse, PatchConversationMemoryTraitGroupsResponses, PatchLeadGenData, PatchLeadGenError, PatchLeadGenErrors, PatchLeadGenResponse, PatchLeadGenResponses, PatchLinkShortenerData, PatchLinkShortenerError, PatchLinkShortenerErrors, PatchLinkShortenerResponse, PatchLinkShortenerResponses, PostAssignDemoData, PostAssignDemoError, PostAssignDemoErrors, PostAssignDemoResponse, PostAssignDemoResponses, PostConversationMemoryConversationSummariesData, PostConversationMemoryConversationSummariesError, PostConversationMemoryConversationSummariesErrors, PostConversationMemoryConversationSummariesResponse, PostConversationMemoryConversationSummariesResponses, PostConversationMemoryIdentifiersData, PostConversationMemoryIdentifiersError, PostConversationMemoryIdentifiersErrors, PostConversationMemoryIdentifiersResponse, PostConversationMemoryIdentifiersResponses, PostConversationMemoryObservationsData, PostConversationMemoryObservationsError, PostConversationMemoryObservationsErrors, PostConversationMemoryObservationsResponse, PostConversationMemoryObservationsResponses, PostConversationMemoryProfilesData, PostConversationMemoryProfilesError, PostConversationMemoryProfilesErrors, PostConversationMemoryProfilesLookupData, PostConversationMemoryProfilesLookupError, PostConversationMemoryProfilesLookupErrors, PostConversationMemoryProfilesLookupResponse, PostConversationMemoryProfilesLookupResponses, PostConversationMemoryProfilesResponse, PostConversationMemoryProfilesResponses, PostConversationMemoryRecallData, PostConversationMemoryRecallError, PostConversationMemoryRecallErrors, PostConversationMemoryRecallResponse, PostConversationMemoryRecallResponses, PostConversationMemoryTraitGroupsData, PostConversationMemoryTraitGroupsError, PostConversationMemoryTraitGroupsErrors, PostConversationMemoryTraitGroupsResponse, PostConversationMemoryTraitGroupsResponses, PostConversationalIntelligenceOperatorData, PostConversationalIntelligenceOperatorError, PostConversationalIntelligenceOperatorErrors, PostConversationalIntelligenceOperatorResponse, PostConversationalIntelligenceOperatorResponses, PostConversationsCommunicationsByConversationIdData, PostConversationsCommunicationsByConversationIdError, PostConversationsCommunicationsByConversationIdErrors, PostConversationsCommunicationsByConversationIdResponse, PostConversationsCommunicationsByConversationIdResponses, PostConversationsData, PostConversationsError, PostConversationsErrors, PostConversationsResponse, PostConversationsResponses, PostConversationsTokenData, PostConversationsTokenError, PostConversationsTokenErrors, PostConversationsTokenResponse, PostConversationsTokenResponses, PostCreateExternalFlexConnectionData, PostCreateExternalFlexConnectionError, PostCreateExternalFlexConnectionErrors, PostCreateExternalFlexConnectionResponse, PostCreateExternalFlexConnectionResponses, PostInstallFlexPluginData, PostInstallFlexPluginError, PostInstallFlexPluginErrors, PostInstallFlexPluginResponse, PostInstallFlexPluginResponses, PostIntelligenceConfigurationData, PostIntelligenceConfigurationError, PostIntelligenceConfigurationErrors, PostIntelligenceConfigurationResponse, PostIntelligenceConfigurationResponses, PostLeadGenData, PostLeadGenError, PostLeadGenErrors, PostLeadGenMonitorData, PostLeadGenMonitorError, PostLeadGenMonitorErrors, PostLeadGenMonitorResponse, PostLeadGenMonitorResponses, PostLeadGenResponse, PostLeadGenResponses, PostLinkShortenerData, PostLinkShortenerError, PostLinkShortenerErrors, PostLinkShortenerResponse, PostLinkShortenerResponses, PostLiveAgentWebchatConnectData, PostLiveAgentWebchatConnectError, PostLiveAgentWebchatConnectErrors, PostLiveAgentWebchatConnectResponse, PostLiveAgentWebchatConnectResponses, PostLiveAgentWebchatEndData, PostLiveAgentWebchatEndError, PostLiveAgentWebchatEndErrors, PostLiveAgentWebchatEndResponse, PostLiveAgentWebchatEndResponses, PostLiveAgentWebchatSendData, PostLiveAgentWebchatSendError, PostLiveAgentWebchatSendErrors, PostLiveAgentWebchatSendResponse, PostLiveAgentWebchatSendResponses, PostParticipantsData, PostParticipantsError, PostParticipantsErrors, PostParticipantsResponse, PostParticipantsResponses, PostTemplateAutogenData, PostTemplateAutogenError, PostTemplateAutogenErrors, PostTemplateAutogenResponse, PostTemplateAutogenResponses, PostTemplateData, PostTemplateError, PostTemplateErrors, PostTemplateResponse, PostTemplateResponses, PostUiConfigData, PostUiConfigError, PostUiConfigErrors, PostUiConfigResponse, PostUiConfigResponses, PutConversationalIntelligenceOperatorData, PutConversationalIntelligenceOperatorError, PutConversationalIntelligenceOperatorErrors, PutConversationalIntelligenceOperatorResponse, PutConversationalIntelligenceOperatorResponses, PutConversationsData, PutConversationsError, PutConversationsErrors, PutConversationsResponse, PutConversationsResponses, PutIntelligenceConfigurationData, PutIntelligenceConfigurationError, PutIntelligenceConfigurationErrors, PutIntelligenceConfigurationResponse, PutIntelligenceConfigurationResponses, PutParticipantsData, PutParticipantsError, PutParticipantsErrors, PutParticipantsResponse, PutParticipantsResponses, RequestResult, ShortenUrlInput, SupportedRegion, TemplateData };