@getsupervisor/agents-studio-sdk 1.41.0-patch.4 → 1.41.1-beta.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -4
- package/README.md +69 -20
- package/dist/index.cjs +598 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +562 -35
- package/dist/index.d.ts +562 -35
- package/dist/index.js +593 -98
- package/dist/index.js.map +1 -1
- package/package.json +11 -6
package/dist/index.d.cts
CHANGED
|
@@ -14,7 +14,7 @@ type components = {
|
|
|
14
14
|
agentType: 'chat' | 'voice';
|
|
15
15
|
workspaceId: string;
|
|
16
16
|
versionId?: string;
|
|
17
|
-
status: 'inactive' | 'training' | 'active' | 'archived';
|
|
17
|
+
status: 'inactive' | 'training' | 'active' | 'archived' | 'building' | 'failed';
|
|
18
18
|
description?: string | null;
|
|
19
19
|
avatarUrl?: string | null;
|
|
20
20
|
debounceDelayMs?: number | null;
|
|
@@ -35,6 +35,9 @@ type components = {
|
|
|
35
35
|
} | null;
|
|
36
36
|
createdAt: string;
|
|
37
37
|
updatedAt: string;
|
|
38
|
+
totalCalls: number;
|
|
39
|
+
totalOperationalDays: number;
|
|
40
|
+
goalAchievedPercentage: number;
|
|
38
41
|
metadata?: {
|
|
39
42
|
[key: string]: unknown;
|
|
40
43
|
};
|
|
@@ -51,8 +54,9 @@ type components = {
|
|
|
51
54
|
AgentSummary: {
|
|
52
55
|
agentId: string;
|
|
53
56
|
name: string;
|
|
57
|
+
description?: string | null;
|
|
54
58
|
agentType: 'chat' | 'voice';
|
|
55
|
-
status: 'inactive' | 'training' | 'active' | 'archived';
|
|
59
|
+
status: 'inactive' | 'training' | 'active' | 'archived' | 'building' | 'failed';
|
|
56
60
|
workspaceId: string;
|
|
57
61
|
createdAt: string;
|
|
58
62
|
updatedAt: string;
|
|
@@ -64,10 +68,12 @@ type components = {
|
|
|
64
68
|
CreateAgentRequest: {
|
|
65
69
|
name: string;
|
|
66
70
|
description?: string | null;
|
|
67
|
-
agentType: '
|
|
71
|
+
agentType: 'voice' | 'chat';
|
|
68
72
|
status?: 'inactive' | 'training' | 'active';
|
|
69
73
|
avatarUrl?: string | null;
|
|
70
74
|
debounceDelayMs?: number | null;
|
|
75
|
+
brief?: string | null;
|
|
76
|
+
researchUrl?: string | null;
|
|
71
77
|
metadata?: {
|
|
72
78
|
[key: string]: unknown;
|
|
73
79
|
};
|
|
@@ -81,7 +87,7 @@ type components = {
|
|
|
81
87
|
};
|
|
82
88
|
UpdateAgentRequest: {
|
|
83
89
|
name?: string;
|
|
84
|
-
status?: 'inactive' | 'training' | 'active' | 'archived';
|
|
90
|
+
status?: 'inactive' | 'training' | 'active' | 'archived' | 'building' | 'failed';
|
|
85
91
|
description?: string | null;
|
|
86
92
|
toneId?: string | null;
|
|
87
93
|
messageStyleId?: string | null;
|
|
@@ -405,10 +411,12 @@ type components = {
|
|
|
405
411
|
identifier: string;
|
|
406
412
|
description?: string | null;
|
|
407
413
|
enabled: boolean;
|
|
414
|
+
visible: boolean;
|
|
408
415
|
category?: string | null;
|
|
409
416
|
auth: 'none' | 'oauth2' | 'api_key' | 'custom';
|
|
410
417
|
requiresUserAuth: boolean;
|
|
411
418
|
configSchema?: components['schemas']['ToolConfigSchema'] | null;
|
|
419
|
+
catalogMetadata: components['schemas']['ToolCatalogMetadata'];
|
|
412
420
|
};
|
|
413
421
|
ToolListResponse: {
|
|
414
422
|
data: components['schemas']['ToolSummary'][];
|
|
@@ -457,6 +465,8 @@ type components = {
|
|
|
457
465
|
metadata?: {
|
|
458
466
|
[key: string]: unknown;
|
|
459
467
|
};
|
|
468
|
+
descriptionUsage?: string;
|
|
469
|
+
usageExample?: string;
|
|
460
470
|
auth?: components['schemas']['ToolConnectionAuth'];
|
|
461
471
|
};
|
|
462
472
|
ToolConnectionResponse: {
|
|
@@ -471,6 +481,8 @@ type components = {
|
|
|
471
481
|
metadata?: {
|
|
472
482
|
[key: string]: unknown;
|
|
473
483
|
};
|
|
484
|
+
descriptionUsage?: string | null;
|
|
485
|
+
usageExample?: string | null;
|
|
474
486
|
};
|
|
475
487
|
ToolConnectionAuth: {
|
|
476
488
|
type: 'none' | 'oauth2' | 'api_key' | 'custom';
|
|
@@ -534,9 +546,8 @@ type components = {
|
|
|
534
546
|
}, 'type' | 'scope' | 'name' | 'description' | 'metadata'>;
|
|
535
547
|
WorkspaceEnableRequest: {
|
|
536
548
|
apiKey: string;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
};
|
|
549
|
+
phone: string;
|
|
550
|
+
speechAnalyticsAgentId: string;
|
|
540
551
|
};
|
|
541
552
|
WorkspaceEnableResponse: {
|
|
542
553
|
status: 'enabled';
|
|
@@ -552,11 +563,31 @@ type components = {
|
|
|
552
563
|
[key: string]: unknown;
|
|
553
564
|
};
|
|
554
565
|
};
|
|
566
|
+
DocumentFileItem: {
|
|
567
|
+
filename: string;
|
|
568
|
+
contentType: string;
|
|
569
|
+
};
|
|
570
|
+
CreateDocumentSlotsRequest: {
|
|
571
|
+
files: components['schemas']['DocumentFileItem'][];
|
|
572
|
+
};
|
|
573
|
+
DocumentSlot: {
|
|
574
|
+
key: string;
|
|
575
|
+
uploadUrl: string;
|
|
576
|
+
filename: string;
|
|
577
|
+
};
|
|
578
|
+
CreateDocumentSlotsResponse: {
|
|
579
|
+
documents: components['schemas']['DocumentSlot'][];
|
|
580
|
+
};
|
|
581
|
+
DocumentRef: {
|
|
582
|
+
key: string;
|
|
583
|
+
description: string;
|
|
584
|
+
};
|
|
555
585
|
WebhookSummary: {
|
|
556
586
|
id: string;
|
|
557
587
|
url: string;
|
|
558
588
|
agentId?: string | null;
|
|
559
589
|
description?: string | null;
|
|
590
|
+
method?: 'GET' | 'POST';
|
|
560
591
|
isActive: boolean;
|
|
561
592
|
secretPreview?: string | null;
|
|
562
593
|
createdAt: string;
|
|
@@ -583,6 +614,7 @@ type components = {
|
|
|
583
614
|
[key: string]: string;
|
|
584
615
|
};
|
|
585
616
|
secret?: string;
|
|
617
|
+
method?: 'GET' | 'POST';
|
|
586
618
|
};
|
|
587
619
|
UpdateWebhookRequest: {
|
|
588
620
|
url?: string;
|
|
@@ -592,6 +624,7 @@ type components = {
|
|
|
592
624
|
headers?: {
|
|
593
625
|
[key: string]: string;
|
|
594
626
|
};
|
|
627
|
+
method?: 'GET' | 'POST';
|
|
595
628
|
};
|
|
596
629
|
EventSubscriptionSummary: {
|
|
597
630
|
id: string;
|
|
@@ -626,10 +659,19 @@ type components = {
|
|
|
626
659
|
processedRecords: number;
|
|
627
660
|
successfulRecords: number;
|
|
628
661
|
failedRecords: number;
|
|
662
|
+
connectedRecords: number;
|
|
663
|
+
goalAchievedRecords: number;
|
|
664
|
+
pendingRetriesCount: number;
|
|
665
|
+
terminalFailures: number;
|
|
666
|
+
pausedFromStatus?: components['schemas']['CampaignStatus'] | null;
|
|
667
|
+
nextRetryAt?: string | null;
|
|
668
|
+
createdBy: string;
|
|
629
669
|
createdAt: string;
|
|
630
670
|
updatedAt: string;
|
|
631
671
|
startedAt?: string | null;
|
|
632
672
|
completedAt?: string | null;
|
|
673
|
+
pausedAt?: string | null;
|
|
674
|
+
cancelledAt?: string | null;
|
|
633
675
|
};
|
|
634
676
|
CampaignListResponse: {
|
|
635
677
|
data: components['schemas']['Campaign'][];
|
|
@@ -638,20 +680,148 @@ type components = {
|
|
|
638
680
|
CampaignExecution: {
|
|
639
681
|
campaignExecutionId: string;
|
|
640
682
|
campaignId: string;
|
|
683
|
+
workspaceId: string;
|
|
641
684
|
rowNumber: number;
|
|
642
685
|
status: 'PENDING' | 'SUCCESS' | 'ERROR';
|
|
643
686
|
agentExecutionId?: string | null;
|
|
644
|
-
|
|
687
|
+
input: {
|
|
645
688
|
[key: string]: unknown;
|
|
646
689
|
};
|
|
647
|
-
|
|
690
|
+
error?: string | null;
|
|
691
|
+
lastDisconnectionReason?: string | null;
|
|
692
|
+
callDurationMs?: number | null;
|
|
693
|
+
lastCallId?: string | null;
|
|
694
|
+
callGoalAchieved?: boolean | null;
|
|
695
|
+
reasonRetryCount: number;
|
|
696
|
+
capacityRetryCount: number;
|
|
697
|
+
nextRetryAt?: string | null;
|
|
648
698
|
createdAt: string;
|
|
649
699
|
};
|
|
650
700
|
CampaignExecutionListResponse: {
|
|
651
701
|
data: components['schemas']['CampaignExecution'][];
|
|
652
702
|
meta: components['schemas']['PaginationMeta'];
|
|
653
703
|
};
|
|
654
|
-
CampaignStatus: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | '
|
|
704
|
+
CampaignStatus: 'PENDING' | 'PROCESSING' | 'RETRYING' | 'COMPLETED' | 'PARTIALLY_COMPLETED' | 'FAILED' | 'PAUSED' | 'CANCELLED';
|
|
705
|
+
Call: {
|
|
706
|
+
id: string;
|
|
707
|
+
title: string;
|
|
708
|
+
customerPhone: string | null;
|
|
709
|
+
durationSeconds: number | null;
|
|
710
|
+
supervisors: components['schemas']['CallSupervisors'];
|
|
711
|
+
goal: components['schemas']['CallGoal'];
|
|
712
|
+
startedAt: string;
|
|
713
|
+
recordingUrl: string | null;
|
|
714
|
+
agentBatchId: string | null;
|
|
715
|
+
agentId: string | null;
|
|
716
|
+
executionId: string | null;
|
|
717
|
+
};
|
|
718
|
+
CallGoal: {
|
|
719
|
+
achieved: boolean;
|
|
720
|
+
reason: string | null;
|
|
721
|
+
};
|
|
722
|
+
CallSupervisors: {
|
|
723
|
+
evaluations: number | null;
|
|
724
|
+
discoveries: number | null;
|
|
725
|
+
risks: number | null;
|
|
726
|
+
};
|
|
727
|
+
CallsListMeta: components['schemas']['PaginationMeta'] & {
|
|
728
|
+
sort: string[];
|
|
729
|
+
appliedFilters: string[];
|
|
730
|
+
};
|
|
731
|
+
CallsListResponse: {
|
|
732
|
+
data: components['schemas']['Call'][];
|
|
733
|
+
meta: components['schemas']['CallsListMeta'];
|
|
734
|
+
};
|
|
735
|
+
CallsStreamMeta: {
|
|
736
|
+
limit: number;
|
|
737
|
+
nextAfter: string | null;
|
|
738
|
+
};
|
|
739
|
+
CallsStreamResponse: {
|
|
740
|
+
data: components['schemas']['Call'][];
|
|
741
|
+
meta: components['schemas']['CallsStreamMeta'];
|
|
742
|
+
};
|
|
743
|
+
SipTrunk: {
|
|
744
|
+
id: string;
|
|
745
|
+
workspaceId: string;
|
|
746
|
+
name: string;
|
|
747
|
+
username: string;
|
|
748
|
+
domain: string;
|
|
749
|
+
carrierAddress: string;
|
|
750
|
+
carrierPort: number;
|
|
751
|
+
carrierTransport: 'udp' | 'tcp' | 'tls';
|
|
752
|
+
phoneNumbers: string[];
|
|
753
|
+
status: 'active' | 'inactive';
|
|
754
|
+
createdAt: string;
|
|
755
|
+
updatedAt: string;
|
|
756
|
+
};
|
|
757
|
+
SipTrunkWithPassword: components['schemas']['SipTrunk'] & {
|
|
758
|
+
password: string;
|
|
759
|
+
};
|
|
760
|
+
CreateSipTrunkRequest: {
|
|
761
|
+
name: string;
|
|
762
|
+
carrierAddress: string;
|
|
763
|
+
carrierPort?: number;
|
|
764
|
+
carrierTransport?: 'udp' | 'tcp' | 'tls';
|
|
765
|
+
phoneNumbers?: string[];
|
|
766
|
+
};
|
|
767
|
+
UpdateSipTrunkRequest: {
|
|
768
|
+
name?: string;
|
|
769
|
+
carrierAddress?: string;
|
|
770
|
+
carrierPort?: number;
|
|
771
|
+
carrierTransport?: 'udp' | 'tcp' | 'tls';
|
|
772
|
+
phoneNumbers?: string[];
|
|
773
|
+
status?: 'active' | 'inactive';
|
|
774
|
+
};
|
|
775
|
+
ResourceProjection: {
|
|
776
|
+
estimatedAtClose: number;
|
|
777
|
+
dailyBurnRate: number;
|
|
778
|
+
daysRemaining: number | null;
|
|
779
|
+
willExceed: boolean;
|
|
780
|
+
};
|
|
781
|
+
ResourceBalance: {
|
|
782
|
+
resource: string;
|
|
783
|
+
limit: number;
|
|
784
|
+
used: number;
|
|
785
|
+
remaining: number;
|
|
786
|
+
unit: string;
|
|
787
|
+
projection: components['schemas']['ResourceProjection'];
|
|
788
|
+
};
|
|
789
|
+
SubscriptionInfo: {
|
|
790
|
+
id: string;
|
|
791
|
+
status: 'active' | 'paused';
|
|
792
|
+
billingCycle: 'monthly' | 'yearly';
|
|
793
|
+
currentPeriodStart: string;
|
|
794
|
+
currentPeriodEnd: string;
|
|
795
|
+
};
|
|
796
|
+
BillingBalanceResponse: {
|
|
797
|
+
subscription: components['schemas']['SubscriptionInfo'];
|
|
798
|
+
resources: components['schemas']['ResourceBalance'][];
|
|
799
|
+
};
|
|
800
|
+
UsageAgentRow: {
|
|
801
|
+
agentId: string;
|
|
802
|
+
agentName: string | null;
|
|
803
|
+
status: 'inactive' | 'training' | 'active' | 'archived' | 'building' | 'failed' | null;
|
|
804
|
+
totalQuantity: number;
|
|
805
|
+
totalEvents: number;
|
|
806
|
+
percentOfTotal: number;
|
|
807
|
+
lastActivity: string;
|
|
808
|
+
};
|
|
809
|
+
UsageAgentsMeta: {
|
|
810
|
+
total: number;
|
|
811
|
+
page: number;
|
|
812
|
+
limit: number;
|
|
813
|
+
hasNext: boolean;
|
|
814
|
+
hasPrevious: boolean;
|
|
815
|
+
aggregations: components['schemas']['UsageAgentsAggregations'];
|
|
816
|
+
};
|
|
817
|
+
UsageAgentsAggregations: {
|
|
818
|
+
totalUsage: number;
|
|
819
|
+
planLimit: number | null;
|
|
820
|
+
};
|
|
821
|
+
UsageAgentsResponse: {
|
|
822
|
+
data: components['schemas']['UsageAgentRow'][];
|
|
823
|
+
meta: components['schemas']['UsageAgentsMeta'];
|
|
824
|
+
};
|
|
655
825
|
ForkAgentFromTemplateRequest: {
|
|
656
826
|
templateId: string;
|
|
657
827
|
templateVersionId?: string;
|
|
@@ -659,6 +829,16 @@ type components = {
|
|
|
659
829
|
description?: string | null;
|
|
660
830
|
status?: 'inactive' | 'training' | 'active';
|
|
661
831
|
debounceDelayMs?: number | null;
|
|
832
|
+
brief?: string | null;
|
|
833
|
+
researchUrl?: string | null;
|
|
834
|
+
documentRefs?: components['schemas']['DocumentRef'][] | null;
|
|
835
|
+
};
|
|
836
|
+
CloneAgentRequest: {
|
|
837
|
+
name: string;
|
|
838
|
+
description?: string | null;
|
|
839
|
+
status?: 'inactive' | 'training' | 'active';
|
|
840
|
+
versionId: string;
|
|
841
|
+
clone: ('instructions' | 'tools' | 'webhooks' | 'stages' | 'triggers' | 'businessHours' | 'businessHourExceptions')[];
|
|
662
842
|
};
|
|
663
843
|
AgentScheduleListResponse: {
|
|
664
844
|
data: components['schemas']['AgentSchedule'][];
|
|
@@ -727,6 +907,49 @@ type components = {
|
|
|
727
907
|
[key: string]: components['schemas']['ToolConfigSchemaAction'];
|
|
728
908
|
};
|
|
729
909
|
};
|
|
910
|
+
ToolCatalogAuthor: {
|
|
911
|
+
name: string;
|
|
912
|
+
url?: string | null;
|
|
913
|
+
};
|
|
914
|
+
ToolCatalogMedia: {
|
|
915
|
+
iconUrl: string | null;
|
|
916
|
+
coverImageUrl: string | null;
|
|
917
|
+
};
|
|
918
|
+
ToolCatalogDescription: {
|
|
919
|
+
short: string | null;
|
|
920
|
+
markdown: string | null;
|
|
921
|
+
};
|
|
922
|
+
ToolCatalogInstallation: {
|
|
923
|
+
requirements: string[];
|
|
924
|
+
permissions: string[];
|
|
925
|
+
steps: string[];
|
|
926
|
+
notes: string[];
|
|
927
|
+
};
|
|
928
|
+
ToolCatalogAppliesTo: {
|
|
929
|
+
chat: boolean | null;
|
|
930
|
+
voice: boolean | null;
|
|
931
|
+
};
|
|
932
|
+
ToolCatalogLinks: {
|
|
933
|
+
docsUrl: string | null;
|
|
934
|
+
privacyUrl: string | null;
|
|
935
|
+
termsUrl: string | null;
|
|
936
|
+
};
|
|
937
|
+
ToolCatalogCard: {
|
|
938
|
+
author: components['schemas']['ToolCatalogAuthor'];
|
|
939
|
+
media: components['schemas']['ToolCatalogMedia'];
|
|
940
|
+
description: components['schemas']['ToolCatalogDescription'];
|
|
941
|
+
features: string[];
|
|
942
|
+
useCases: string[];
|
|
943
|
+
installation: components['schemas']['ToolCatalogInstallation'];
|
|
944
|
+
appliesTo: components['schemas']['ToolCatalogAppliesTo'];
|
|
945
|
+
links: components['schemas']['ToolCatalogLinks'];
|
|
946
|
+
};
|
|
947
|
+
ToolCatalogMetadata: {
|
|
948
|
+
version: 1;
|
|
949
|
+
i18n: {
|
|
950
|
+
[key: string]: components['schemas']['ToolCatalogCard'];
|
|
951
|
+
};
|
|
952
|
+
};
|
|
730
953
|
ToolConnectionListItem: {
|
|
731
954
|
toolAgentConnectionId: string;
|
|
732
955
|
toolId: string;
|
|
@@ -749,6 +972,8 @@ type components = {
|
|
|
749
972
|
metadata?: {
|
|
750
973
|
[key: string]: unknown;
|
|
751
974
|
};
|
|
975
|
+
descriptionUsage?: string;
|
|
976
|
+
usageExample?: string;
|
|
752
977
|
auth?: components['schemas']['ToolConnectionAuth'];
|
|
753
978
|
};
|
|
754
979
|
ExecuteToolConnectionRequest: {
|
|
@@ -781,6 +1006,34 @@ type components = {
|
|
|
781
1006
|
provider?: string | null;
|
|
782
1007
|
previewUrl?: string | null;
|
|
783
1008
|
};
|
|
1009
|
+
WebhookDeliveryStatus: 'queued' | 'sending' | 'success' | 'failed';
|
|
1010
|
+
WebhookDeliverySummary: {
|
|
1011
|
+
id: string;
|
|
1012
|
+
webhookId: string;
|
|
1013
|
+
subscriptionId: string;
|
|
1014
|
+
eventKey: string;
|
|
1015
|
+
status: components['schemas']['WebhookDeliveryStatus'];
|
|
1016
|
+
attempts: number;
|
|
1017
|
+
nextAttemptAt?: string | null;
|
|
1018
|
+
lastError?: string | null;
|
|
1019
|
+
requestMethod: 'GET' | 'POST';
|
|
1020
|
+
responseStatus?: number | null;
|
|
1021
|
+
createdAt: string;
|
|
1022
|
+
updatedAt: string;
|
|
1023
|
+
};
|
|
1024
|
+
WebhookDeliveryListResponse: {
|
|
1025
|
+
data: components['schemas']['WebhookDeliverySummary'][];
|
|
1026
|
+
meta: components['schemas']['PaginationMeta'];
|
|
1027
|
+
};
|
|
1028
|
+
WebhookDeliveryDetail: components['schemas']['WebhookDeliverySummary'] & {
|
|
1029
|
+
requestHeaders?: {
|
|
1030
|
+
[key: string]: string;
|
|
1031
|
+
};
|
|
1032
|
+
requestBody?: {
|
|
1033
|
+
[key: string]: unknown;
|
|
1034
|
+
} | null;
|
|
1035
|
+
responseBody?: string | null;
|
|
1036
|
+
};
|
|
784
1037
|
};
|
|
785
1038
|
responses: never;
|
|
786
1039
|
parameters: {
|
|
@@ -809,12 +1062,28 @@ type components = {
|
|
|
809
1062
|
FilterParam?: components['schemas']['QueryFilters'];
|
|
810
1063
|
WebhookId: string;
|
|
811
1064
|
SubscriptionId: string;
|
|
1065
|
+
CallId: string;
|
|
1066
|
+
SipTrunkId: string;
|
|
1067
|
+
AgentBatchIdQuery?: string;
|
|
1068
|
+
AgentIdQuery?: string;
|
|
1069
|
+
ExecutionIdQuery?: string;
|
|
1070
|
+
RecordedAfterParam?: string;
|
|
1071
|
+
RecordedBeforeParam?: string;
|
|
1072
|
+
CallsAfterParam: string;
|
|
1073
|
+
CallsStreamLimitParam?: number;
|
|
1074
|
+
UsageResourceQuery?: string;
|
|
1075
|
+
UsageFromQuery?: string;
|
|
1076
|
+
UsageToQuery?: string;
|
|
812
1077
|
OrParam?: components['schemas']['QueryOrGroups'];
|
|
813
1078
|
ScheduleId: string;
|
|
814
1079
|
ApiKeyId: string;
|
|
815
1080
|
XCacheRefresh?: boolean;
|
|
816
1081
|
IdempotencyKey: string;
|
|
817
1082
|
XApiKey?: string;
|
|
1083
|
+
DurationBucketQuery?: 'short' | 'medium' | 'long';
|
|
1084
|
+
GoalStatusQuery?: 'achieved' | 'not_achieved';
|
|
1085
|
+
SearchQuery?: string;
|
|
1086
|
+
DeliveryId: string;
|
|
818
1087
|
};
|
|
819
1088
|
requestBodies: never;
|
|
820
1089
|
headers: never;
|
|
@@ -853,8 +1122,8 @@ type ClientConfig = {
|
|
|
853
1122
|
timeoutMs?: number;
|
|
854
1123
|
fetchImpl?: typeof fetch;
|
|
855
1124
|
logger?: {
|
|
856
|
-
debug?: (...a:
|
|
857
|
-
error?: (...a:
|
|
1125
|
+
debug?: (...a: unknown[]) => void;
|
|
1126
|
+
error?: (...a: unknown[]) => void;
|
|
858
1127
|
};
|
|
859
1128
|
workspaceId?: string;
|
|
860
1129
|
getWorkspaceId?: () => string | undefined;
|
|
@@ -866,9 +1135,75 @@ type ClientConfig = {
|
|
|
866
1135
|
type AgentDetail = components['schemas']['AgentDetail'];
|
|
867
1136
|
type AgentSummary = components['schemas']['AgentSummary'];
|
|
868
1137
|
type AgentListResponse = components['schemas']['AgentListResponse'];
|
|
869
|
-
type CreateAgentRequest = components['schemas']['CreateAgentRequest']
|
|
870
|
-
|
|
1138
|
+
type CreateAgentRequest = components['schemas']['CreateAgentRequest'] & {
|
|
1139
|
+
documentRefs?: DocumentRef[];
|
|
1140
|
+
};
|
|
1141
|
+
type CloneAgentRequest = components['schemas']['CloneAgentRequest'];
|
|
1142
|
+
type CloneAgentComponent = CloneAgentRequest['clone'][number];
|
|
1143
|
+
type CloneAgentSelection = CloneAgentComponent[] | Partial<Record<CloneAgentComponent, boolean>>;
|
|
1144
|
+
type CloneAgentPayload = Omit<CloneAgentRequest, 'clone'> & {
|
|
1145
|
+
clone?: CloneAgentSelection;
|
|
1146
|
+
};
|
|
1147
|
+
type ForkAgentFromTemplateRequest = components['schemas']['ForkAgentFromTemplateRequest'] & {
|
|
1148
|
+
documentRefs?: DocumentRef[];
|
|
1149
|
+
};
|
|
871
1150
|
type UpdateAgentRequest = components['schemas']['UpdateAgentRequest'];
|
|
1151
|
+
type RuntimeUsage = {
|
|
1152
|
+
totalCostUsd: number;
|
|
1153
|
+
inputTokens: number;
|
|
1154
|
+
outputTokens: number;
|
|
1155
|
+
cacheReadInputTokens: number;
|
|
1156
|
+
cacheCreationInputTokens: number;
|
|
1157
|
+
peakMemoryMb: number;
|
|
1158
|
+
};
|
|
1159
|
+
type PresignDocumentItem = {
|
|
1160
|
+
filename: string;
|
|
1161
|
+
contentType: string;
|
|
1162
|
+
};
|
|
1163
|
+
type PresignDocumentsRequest = {
|
|
1164
|
+
files: PresignDocumentItem[];
|
|
1165
|
+
};
|
|
1166
|
+
type PresignedDocument = {
|
|
1167
|
+
key: string;
|
|
1168
|
+
uploadUrl: string;
|
|
1169
|
+
filename: string;
|
|
1170
|
+
};
|
|
1171
|
+
type PresignDocumentsResponse = {
|
|
1172
|
+
documents: PresignedDocument[];
|
|
1173
|
+
};
|
|
1174
|
+
type DocumentRef = {
|
|
1175
|
+
key: string;
|
|
1176
|
+
description: string;
|
|
1177
|
+
};
|
|
1178
|
+
type RuntimeProgressEvent = {
|
|
1179
|
+
messageType: string;
|
|
1180
|
+
summary: string;
|
|
1181
|
+
};
|
|
1182
|
+
type RuntimeCompleteEvent = {
|
|
1183
|
+
success: boolean;
|
|
1184
|
+
durationMs: number;
|
|
1185
|
+
usage?: RuntimeUsage;
|
|
1186
|
+
};
|
|
1187
|
+
type RuntimeErrorEvent = {
|
|
1188
|
+
error: string;
|
|
1189
|
+
code?: number | null;
|
|
1190
|
+
};
|
|
1191
|
+
type RuntimeSseEvent = {
|
|
1192
|
+
event: 'agent-created';
|
|
1193
|
+
data: AgentDetail;
|
|
1194
|
+
} | {
|
|
1195
|
+
event: 'agent';
|
|
1196
|
+
data: AgentDetail;
|
|
1197
|
+
} | {
|
|
1198
|
+
event: 'runtime-progress';
|
|
1199
|
+
data: RuntimeProgressEvent;
|
|
1200
|
+
} | {
|
|
1201
|
+
event: 'runtime-complete';
|
|
1202
|
+
data: RuntimeCompleteEvent;
|
|
1203
|
+
} | {
|
|
1204
|
+
event: 'runtime-error';
|
|
1205
|
+
data: RuntimeErrorEvent;
|
|
1206
|
+
};
|
|
872
1207
|
type AgentTagRequest = components['schemas']['AgentTagRequest'];
|
|
873
1208
|
type AgentTagsResponse = components['schemas']['AgentTagsResponse'];
|
|
874
1209
|
type Instruction = components['schemas']['Instruction'];
|
|
@@ -990,6 +1325,13 @@ type AgentBlueprint = {
|
|
|
990
1325
|
contentHash: string | null;
|
|
991
1326
|
contentVariables: string[];
|
|
992
1327
|
variablesCache: string[];
|
|
1328
|
+
outputVariables: Array<{
|
|
1329
|
+
type: 'string' | 'enum' | 'boolean' | 'number';
|
|
1330
|
+
name: string;
|
|
1331
|
+
description: string;
|
|
1332
|
+
required: boolean;
|
|
1333
|
+
choices?: string[];
|
|
1334
|
+
}>;
|
|
993
1335
|
createdAt: string;
|
|
994
1336
|
updatedAt: string;
|
|
995
1337
|
};
|
|
@@ -1017,6 +1359,13 @@ type CreateAgentBlueprintRequest = {
|
|
|
1017
1359
|
criticalRules?: string[];
|
|
1018
1360
|
topicsAllowed?: string[];
|
|
1019
1361
|
topicsForbidden?: string[];
|
|
1362
|
+
outputVariables?: Array<{
|
|
1363
|
+
type: 'string' | 'text' | 'enum' | 'boolean' | 'number';
|
|
1364
|
+
name: string;
|
|
1365
|
+
description: string;
|
|
1366
|
+
required?: boolean;
|
|
1367
|
+
choices?: string[];
|
|
1368
|
+
}>;
|
|
1020
1369
|
};
|
|
1021
1370
|
type UpdateAgentBlueprintRequest = {
|
|
1022
1371
|
languageId?: string;
|
|
@@ -1032,6 +1381,13 @@ type UpdateAgentBlueprintRequest = {
|
|
|
1032
1381
|
criticalRules?: string[];
|
|
1033
1382
|
topicsAllowed?: string[];
|
|
1034
1383
|
topicsForbidden?: string[];
|
|
1384
|
+
outputVariables?: Array<{
|
|
1385
|
+
type: 'string' | 'text' | 'enum' | 'boolean' | 'number';
|
|
1386
|
+
name: string;
|
|
1387
|
+
description: string;
|
|
1388
|
+
required?: boolean;
|
|
1389
|
+
choices?: string[];
|
|
1390
|
+
}>;
|
|
1035
1391
|
};
|
|
1036
1392
|
type BlueprintStageSchema = components['schemas']['BlueprintStage'];
|
|
1037
1393
|
type BlueprintStage = Omit<BlueprintStageSchema, 'prompt'> & {
|
|
@@ -1076,14 +1432,34 @@ type ToolConnectionListItem = components['schemas']['ToolConnectionListItem'];
|
|
|
1076
1432
|
type ToolConnectionListResponse = components['schemas']['ToolConnectionListResponse'];
|
|
1077
1433
|
type ExecuteToolConnectionRequest = components['schemas']['ExecuteToolConnectionRequest'];
|
|
1078
1434
|
type ErrorResponse = components['schemas']['ErrorResponse'];
|
|
1435
|
+
type ResourceProjection = components['schemas']['ResourceProjection'];
|
|
1436
|
+
type ResourceBalance = components['schemas']['ResourceBalance'];
|
|
1437
|
+
type SubscriptionInfo = components['schemas']['SubscriptionInfo'];
|
|
1438
|
+
type BillingBalanceResponse = components['schemas']['BillingBalanceResponse'];
|
|
1439
|
+
type UsageAgentRow = components['schemas']['UsageAgentRow'];
|
|
1440
|
+
type UsageAgentsAggregations = components['schemas']['UsageAgentsAggregations'];
|
|
1441
|
+
type UsageAgentsMeta = components['schemas']['UsageAgentsMeta'];
|
|
1442
|
+
type UsageAgentsResponse = components['schemas']['UsageAgentsResponse'];
|
|
1443
|
+
type SipTrunk = components['schemas']['SipTrunk'];
|
|
1444
|
+
type SipTrunkWithPassword = components['schemas']['SipTrunkWithPassword'];
|
|
1445
|
+
type CreateSipTrunkRequest = components['schemas']['CreateSipTrunkRequest'];
|
|
1446
|
+
type UpdateSipTrunkRequest = components['schemas']['UpdateSipTrunkRequest'];
|
|
1079
1447
|
type CampaignStatus = components['schemas']['CampaignStatus'];
|
|
1080
1448
|
type Campaign = components['schemas']['Campaign'];
|
|
1081
1449
|
type CampaignListResponse = components['schemas']['CampaignListResponse'];
|
|
1082
1450
|
type CampaignExecution = components['schemas']['CampaignExecution'];
|
|
1083
1451
|
type CampaignExecutionListResponse = components['schemas']['CampaignExecutionListResponse'];
|
|
1452
|
+
type Call = components['schemas']['Call'];
|
|
1453
|
+
type CallsListMeta = components['schemas']['CallsListMeta'];
|
|
1454
|
+
type CallsListResponse = components['schemas']['CallsListResponse'];
|
|
1455
|
+
type CallsStreamMeta = components['schemas']['CallsStreamMeta'];
|
|
1456
|
+
type CallsStreamResponse = components['schemas']['CallsStreamResponse'];
|
|
1084
1457
|
type WebhookSummary = components['schemas']['WebhookSummary'];
|
|
1085
1458
|
type WebhookDetail = components['schemas']['WebhookDetail'];
|
|
1086
1459
|
type WebhookListResponse = components['schemas']['WebhookListResponse'];
|
|
1460
|
+
type WebhookDeliverySummary = components['schemas']['WebhookDeliverySummary'];
|
|
1461
|
+
type WebhookDeliveryDetail = components['schemas']['WebhookDeliveryDetail'];
|
|
1462
|
+
type WebhookDeliveryListResponse = components['schemas']['WebhookDeliveryListResponse'];
|
|
1087
1463
|
type CreateWebhookRequest = components['schemas']['CreateWebhookRequest'];
|
|
1088
1464
|
type UpdateWebhookRequest = components['schemas']['UpdateWebhookRequest'];
|
|
1089
1465
|
type EventSubscriptionSummary = components['schemas']['EventSubscriptionSummary'];
|
|
@@ -1180,7 +1556,7 @@ type AgentStagesApi$1 = {
|
|
|
1180
1556
|
list(agentId: string, blueprintId: string, options?: ListAgentStagesOptions): Promise<PaginatedResult<BlueprintStageListResponse, ListAgentStagesOptions>>;
|
|
1181
1557
|
get(agentId: string, blueprintId: string, stageId: string): Promise<BlueprintStage>;
|
|
1182
1558
|
create(agentId: string, blueprintId: string, payload: CreateBlueprintStageRequest): Promise<BlueprintStage>;
|
|
1183
|
-
update(agentId: string, blueprintId: string, stageId: string, payload: UpdateBlueprintStageRequest): Promise<BlueprintStage>;
|
|
1559
|
+
update(agentId: string, blueprintId: string, stageId: string, payload: Partial<UpdateBlueprintStageRequest>): Promise<BlueprintStage>;
|
|
1184
1560
|
delete(agentId: string, blueprintId: string, stageId: string): Promise<void>;
|
|
1185
1561
|
reorder(agentId: string, blueprintId: string, payload: BlueprintStageReorderRequest): Promise<BlueprintStageListResponse>;
|
|
1186
1562
|
};
|
|
@@ -1238,6 +1614,7 @@ interface AgentEntity extends AgentBase {
|
|
|
1238
1614
|
blueprints: AgentBlueprintsHelper;
|
|
1239
1615
|
stages: AgentStagesHelper;
|
|
1240
1616
|
save(patch: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1617
|
+
clone(payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1241
1618
|
delete(): Promise<void>;
|
|
1242
1619
|
refresh(): Promise<AgentEntity>;
|
|
1243
1620
|
}
|
|
@@ -1253,6 +1630,7 @@ type AgentEntityFactoryOptions = {
|
|
|
1253
1630
|
reload(agentId: string): Promise<AgentEntity>;
|
|
1254
1631
|
updateAgent(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1255
1632
|
deleteAgent(agentId: string): Promise<void>;
|
|
1633
|
+
cloneAgent(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1256
1634
|
};
|
|
1257
1635
|
declare const bindAgentStageTriggers: (api: AgentStageTriggersApi, agentId: string, blueprintId: string, stageId: string) => {
|
|
1258
1636
|
list(opts?: ListAgentStageTriggersOptions): Promise<PaginatedResult<{
|
|
@@ -1629,11 +2007,19 @@ type AgentEntityDependencies = {
|
|
|
1629
2007
|
stageTriggersApi: ReturnType<typeof createAgentStageTriggersApi>;
|
|
1630
2008
|
};
|
|
1631
2009
|
type ListAgentsOptions = Pick<ListQueryOptions, 'page' | 'limit' | 'filter'>;
|
|
2010
|
+
type SseCallbacks = {
|
|
2011
|
+
onAgentCreated?: (agent: AgentDetail) => void;
|
|
2012
|
+
onProgress?: (data: RuntimeProgressEvent) => void;
|
|
2013
|
+
onComplete?: (data: RuntimeCompleteEvent) => void;
|
|
2014
|
+
onError?: (data: RuntimeErrorEvent) => void;
|
|
2015
|
+
};
|
|
1632
2016
|
type AgentsApi = {
|
|
1633
2017
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<AgentListResponse, ListAgentsOptions>>;
|
|
1634
|
-
get(agentId: string): Promise<AgentDetail>;
|
|
1635
|
-
create(payload: CreateAgentRequest): Promise<AgentDetail>;
|
|
1636
|
-
|
|
2018
|
+
get(agentId: string, callbacks?: SseCallbacks): Promise<AgentDetail>;
|
|
2019
|
+
create(payload: CreateAgentRequest, callbacks?: SseCallbacks): Promise<AgentDetail>;
|
|
2020
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentDetail>;
|
|
2021
|
+
forkFromTemplate(payload: ForkAgentFromTemplateRequest, callbacks?: SseCallbacks): Promise<AgentDetail>;
|
|
2022
|
+
rebuild(agentId: string, callbacks?: SseCallbacks): Promise<AgentDetail>;
|
|
1637
2023
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentDetail>;
|
|
1638
2024
|
delete(agent: string | AgentEntity): Promise<void>;
|
|
1639
2025
|
};
|
|
@@ -1641,11 +2027,12 @@ type AgentListResponseWithEntities = {
|
|
|
1641
2027
|
data: AgentEntity[];
|
|
1642
2028
|
meta: AgentListResponse['meta'];
|
|
1643
2029
|
};
|
|
1644
|
-
type AgentsApiWithEntities = Omit<AgentsApi, 'get' | 'create' | 'update' | 'list' | 'forkFromTemplate'> & {
|
|
2030
|
+
type AgentsApiWithEntities = Omit<AgentsApi, 'get' | 'create' | 'clone' | 'update' | 'list' | 'forkFromTemplate'> & {
|
|
1645
2031
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<AgentListResponseWithEntities, ListAgentsOptions>>;
|
|
1646
|
-
get(agentId: string): Promise<AgentEntity>;
|
|
1647
|
-
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
1648
|
-
|
|
2032
|
+
get(agentId: string, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
2033
|
+
create(payload: CreateAgentRequest, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
2034
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
2035
|
+
forkFromTemplate(payload: ForkAgentFromTemplateRequest, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
1649
2036
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1650
2037
|
};
|
|
1651
2038
|
declare function createAgentsApi(cfg: ClientConfig & {
|
|
@@ -1662,8 +2049,42 @@ declare function createApiKeysApi(cfg: ClientConfig & {
|
|
|
1662
2049
|
retry?: RetryPolicy;
|
|
1663
2050
|
}): ApiKeysApi;
|
|
1664
2051
|
|
|
2052
|
+
declare function createBillingApi(cfg: ClientConfig & {
|
|
2053
|
+
retry?: RetryPolicy;
|
|
2054
|
+
}): {
|
|
2055
|
+
getBalance(): Promise<BillingBalanceResponse>;
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
type ListCallsOptions = ListQueryOptions & Partial<{
|
|
2059
|
+
agentBatchId: string;
|
|
2060
|
+
agentId: string;
|
|
2061
|
+
executionId: string;
|
|
2062
|
+
recordedAfter: string | Date;
|
|
2063
|
+
recordedBefore: string | Date;
|
|
2064
|
+
durationBucket: 'short' | 'medium' | 'long';
|
|
2065
|
+
goalStatus: 'achieved' | 'not_achieved';
|
|
2066
|
+
query: string;
|
|
2067
|
+
}>;
|
|
2068
|
+
type StreamCallsOptions = {
|
|
2069
|
+
after: string | Date;
|
|
2070
|
+
limit?: number;
|
|
2071
|
+
agentBatchId?: string;
|
|
2072
|
+
agentId?: string;
|
|
2073
|
+
executionId?: string;
|
|
2074
|
+
durationBucket?: 'short' | 'medium' | 'long';
|
|
2075
|
+
goalStatus?: 'achieved' | 'not_achieved';
|
|
2076
|
+
query?: string;
|
|
2077
|
+
};
|
|
2078
|
+
declare function createCallsApi(cfg: ClientConfig & {
|
|
2079
|
+
retry?: RetryPolicy;
|
|
2080
|
+
}): {
|
|
2081
|
+
list(options?: ListCallsOptions): Promise<PaginatedResult<CallsListResponse, ListCallsOptions>>;
|
|
2082
|
+
stream(options: StreamCallsOptions): Promise<CallsStreamResponse>;
|
|
2083
|
+
get(callId: string): Promise<Call>;
|
|
2084
|
+
};
|
|
2085
|
+
|
|
1665
2086
|
type ListCampaignsOptions = ListQueryOptions;
|
|
1666
|
-
type ListCampaignExecutionsOptions =
|
|
2087
|
+
type ListCampaignExecutionsOptions = ListQueryOptions;
|
|
1667
2088
|
type CreateCampaignPayload = {
|
|
1668
2089
|
name: string;
|
|
1669
2090
|
file: unknown;
|
|
@@ -1676,6 +2097,16 @@ declare function createCampaignsApi(cfg: ClientConfig & {
|
|
|
1676
2097
|
get(campaignId: string): Promise<Campaign>;
|
|
1677
2098
|
create(agentId: string, versionId: string, payload: CreateCampaignPayload): Promise<Campaign>;
|
|
1678
2099
|
listExecutions(campaignId: string, options?: ListCampaignExecutionsOptions): Promise<PaginatedResult<CampaignExecutionListResponse, ListCampaignExecutionsOptions>>;
|
|
2100
|
+
pause(campaignId: string): Promise<{
|
|
2101
|
+
status: "paused";
|
|
2102
|
+
}>;
|
|
2103
|
+
resume(campaignId: string): Promise<{
|
|
2104
|
+
status: "resumed";
|
|
2105
|
+
}>;
|
|
2106
|
+
cancel(campaignId: string): Promise<{
|
|
2107
|
+
status: "cancelled";
|
|
2108
|
+
}>;
|
|
2109
|
+
exportExecutions(campaignId: string): Promise<Blob>;
|
|
1679
2110
|
};
|
|
1680
2111
|
|
|
1681
2112
|
type ListCatalogTemplatesOptions = {
|
|
@@ -1699,6 +2130,23 @@ declare function createCatalogsApi(cfg: ClientConfig & {
|
|
|
1699
2130
|
remove(itemId: string): Promise<void>;
|
|
1700
2131
|
};
|
|
1701
2132
|
|
|
2133
|
+
type DocumentsApi = {
|
|
2134
|
+
create(files: PresignDocumentItem[]): Promise<PresignDocumentsResponse>;
|
|
2135
|
+
};
|
|
2136
|
+
declare function createDocumentsApi(cfg: ClientConfig & {
|
|
2137
|
+
retry?: RetryPolicy;
|
|
2138
|
+
}): DocumentsApi;
|
|
2139
|
+
|
|
2140
|
+
declare function createSipTrunksApi(cfg: ClientConfig & {
|
|
2141
|
+
retry?: RetryPolicy;
|
|
2142
|
+
}): {
|
|
2143
|
+
list(): Promise<SipTrunk[]>;
|
|
2144
|
+
get(trunkId: string): Promise<SipTrunk>;
|
|
2145
|
+
create(body: CreateSipTrunkRequest): Promise<SipTrunkWithPassword>;
|
|
2146
|
+
update(trunkId: string, body: UpdateSipTrunkRequest): Promise<SipTrunk>;
|
|
2147
|
+
delete(trunkId: string): Promise<void>;
|
|
2148
|
+
};
|
|
2149
|
+
|
|
1702
2150
|
type IdempotentRequestOptions = {
|
|
1703
2151
|
idempotencyKey?: string;
|
|
1704
2152
|
};
|
|
@@ -1735,6 +2183,17 @@ declare function createToolsApi(cfg: ClientConfig & {
|
|
|
1735
2183
|
executeConnection(toolAgentConnectionId: string, payload: ExecuteToolConnectionRequest, options?: IdempotentRequestOptions): Promise<ExecuteToolResponse>;
|
|
1736
2184
|
};
|
|
1737
2185
|
|
|
2186
|
+
type ListUsageAgentsOptions = ListQueryOptions & Partial<{
|
|
2187
|
+
resource: string;
|
|
2188
|
+
from: string;
|
|
2189
|
+
to: string;
|
|
2190
|
+
}>;
|
|
2191
|
+
declare function createUsageApi(cfg: ClientConfig & {
|
|
2192
|
+
retry?: RetryPolicy;
|
|
2193
|
+
}): {
|
|
2194
|
+
agents(options?: ListUsageAgentsOptions): Promise<PaginatedResult<UsageAgentsResponse, ListUsageAgentsOptions>>;
|
|
2195
|
+
};
|
|
2196
|
+
|
|
1738
2197
|
type ListVoicesOptions = ListQueryOptions & {
|
|
1739
2198
|
agentId?: string;
|
|
1740
2199
|
agentVersionId?: string;
|
|
@@ -1763,6 +2222,8 @@ declare function createWebhooksApi(cfg: ClientConfig & {
|
|
|
1763
2222
|
getSubscription(webhookId: string, subscriptionId: string): Promise<EventSubscriptionDetail>;
|
|
1764
2223
|
updateSubscription(webhookId: string, subscriptionId: string, payload: UpdateEventSubscriptionRequest): Promise<EventSubscriptionDetail>;
|
|
1765
2224
|
deleteSubscription(webhookId: string, subscriptionId: string): Promise<void>;
|
|
2225
|
+
listDeliveries(webhookId: string, options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookDeliveryListResponse, ListWebhooksOptions>>;
|
|
2226
|
+
getDelivery(webhookId: string, deliveryId: string): Promise<WebhookDeliveryDetail>;
|
|
1766
2227
|
};
|
|
1767
2228
|
|
|
1768
2229
|
type ListWorkspacePhonesOptions = ListQueryOptions & {
|
|
@@ -1776,7 +2237,7 @@ declare function createWorkspacesApi(cfg: ClientConfig & {
|
|
|
1776
2237
|
}): {
|
|
1777
2238
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
1778
2239
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
1779
|
-
enable(
|
|
2240
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
1780
2241
|
};
|
|
1781
2242
|
|
|
1782
2243
|
declare function createClient(initialCfg: ClientConfig & {
|
|
@@ -1859,19 +2320,21 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1859
2320
|
triggers: AgentStageTriggersApi$1 & ((agentId: string, blueprintId: string, stageId: string) => ReturnType<typeof bindAgentStageTriggers>);
|
|
1860
2321
|
};
|
|
1861
2322
|
delete: (agent: string | AgentEntity) => Promise<void>;
|
|
2323
|
+
rebuild: (agentId: string, callbacks?: SseCallbacks) => Promise<AgentDetail>;
|
|
1862
2324
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<{
|
|
1863
2325
|
data: AgentEntity[];
|
|
1864
2326
|
meta: AgentListResponse["meta"];
|
|
1865
2327
|
}, ListAgentsOptions>>;
|
|
1866
|
-
get(agentId: string): Promise<AgentEntity>;
|
|
1867
|
-
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
1868
|
-
|
|
2328
|
+
get(agentId: string, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
2329
|
+
create(payload: CreateAgentRequest, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
2330
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
2331
|
+
forkFromTemplate(payload: ForkAgentFromTemplateRequest, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
1869
2332
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1870
2333
|
};
|
|
1871
2334
|
workspaces: {
|
|
1872
2335
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
1873
2336
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
1874
|
-
enable(
|
|
2337
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
1875
2338
|
};
|
|
1876
2339
|
tools: {
|
|
1877
2340
|
connections: {
|
|
@@ -1930,16 +2393,45 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1930
2393
|
create(payload: CatalogItemCreateRequest): Promise<CatalogItemDetail>;
|
|
1931
2394
|
remove(itemId: string): Promise<void>;
|
|
1932
2395
|
};
|
|
2396
|
+
documents: DocumentsApi;
|
|
1933
2397
|
campaigns: {
|
|
1934
2398
|
list(options?: ListCampaignsOptions): Promise<PaginatedResult<CampaignListResponse, ListCampaignsOptions>>;
|
|
1935
2399
|
get(campaignId: string): Promise<Campaign>;
|
|
1936
2400
|
create(agentId: string, versionId: string, payload: CreateCampaignPayload): Promise<Campaign>;
|
|
1937
2401
|
listExecutions(campaignId: string, options?: ListCampaignExecutionsOptions): Promise<PaginatedResult<CampaignExecutionListResponse, ListCampaignExecutionsOptions>>;
|
|
2402
|
+
pause(campaignId: string): Promise<{
|
|
2403
|
+
status: "paused";
|
|
2404
|
+
}>;
|
|
2405
|
+
resume(campaignId: string): Promise<{
|
|
2406
|
+
status: "resumed";
|
|
2407
|
+
}>;
|
|
2408
|
+
cancel(campaignId: string): Promise<{
|
|
2409
|
+
status: "cancelled";
|
|
2410
|
+
}>;
|
|
2411
|
+
exportExecutions(campaignId: string): Promise<Blob>;
|
|
1938
2412
|
};
|
|
1939
2413
|
voices: {
|
|
1940
2414
|
list(options?: ListVoicesOptions): Promise<PaginatedResult<VoiceListResponse, ListVoicesOptions>>;
|
|
1941
2415
|
};
|
|
1942
2416
|
apiKeys: ApiKeysApi;
|
|
2417
|
+
billing: {
|
|
2418
|
+
getBalance(): Promise<BillingBalanceResponse>;
|
|
2419
|
+
};
|
|
2420
|
+
calls: {
|
|
2421
|
+
list(options?: ListCallsOptions): Promise<PaginatedResult<CallsListResponse, ListCallsOptions>>;
|
|
2422
|
+
stream(options: StreamCallsOptions): Promise<CallsStreamResponse>;
|
|
2423
|
+
get(callId: string): Promise<Call>;
|
|
2424
|
+
};
|
|
2425
|
+
usage: {
|
|
2426
|
+
agents(options?: ListUsageAgentsOptions): Promise<PaginatedResult<UsageAgentsResponse, ListUsageAgentsOptions>>;
|
|
2427
|
+
};
|
|
2428
|
+
sip: {
|
|
2429
|
+
list(): Promise<SipTrunk[]>;
|
|
2430
|
+
get(trunkId: string): Promise<SipTrunk>;
|
|
2431
|
+
create(body: CreateSipTrunkRequest): Promise<SipTrunkWithPassword>;
|
|
2432
|
+
update(trunkId: string, body: UpdateSipTrunkRequest): Promise<SipTrunk>;
|
|
2433
|
+
delete(trunkId: string): Promise<void>;
|
|
2434
|
+
};
|
|
1943
2435
|
webhooks: {
|
|
1944
2436
|
list(options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookListResponse, ListWebhooksOptions>>;
|
|
1945
2437
|
create(payload: CreateWebhookRequest): Promise<WebhookDetail>;
|
|
@@ -1951,6 +2443,8 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1951
2443
|
getSubscription(webhookId: string, subscriptionId: string): Promise<EventSubscriptionDetail>;
|
|
1952
2444
|
updateSubscription(webhookId: string, subscriptionId: string, payload: UpdateEventSubscriptionRequest): Promise<EventSubscriptionDetail>;
|
|
1953
2445
|
deleteSubscription(webhookId: string, subscriptionId: string): Promise<void>;
|
|
2446
|
+
listDeliveries(webhookId: string, options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookDeliveryListResponse, ListWebhooksOptions>>;
|
|
2447
|
+
getDelivery(webhookId: string, deliveryId: string): Promise<WebhookDeliveryDetail>;
|
|
1954
2448
|
};
|
|
1955
2449
|
};
|
|
1956
2450
|
};
|
|
@@ -1998,19 +2492,21 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1998
2492
|
triggers: AgentStageTriggersApi$1 & ((agentId: string, blueprintId: string, stageId: string) => ReturnType<typeof bindAgentStageTriggers>);
|
|
1999
2493
|
};
|
|
2000
2494
|
delete: (agent: string | AgentEntity) => Promise<void>;
|
|
2495
|
+
rebuild: (agentId: string, callbacks?: SseCallbacks) => Promise<AgentDetail>;
|
|
2001
2496
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<{
|
|
2002
2497
|
data: AgentEntity[];
|
|
2003
2498
|
meta: AgentListResponse["meta"];
|
|
2004
2499
|
}, ListAgentsOptions>>;
|
|
2005
|
-
get(agentId: string): Promise<AgentEntity>;
|
|
2006
|
-
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
2007
|
-
|
|
2500
|
+
get(agentId: string, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
2501
|
+
create(payload: CreateAgentRequest, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
2502
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
2503
|
+
forkFromTemplate(payload: ForkAgentFromTemplateRequest, callbacks?: SseCallbacks): Promise<AgentEntity>;
|
|
2008
2504
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
2009
2505
|
};
|
|
2010
2506
|
workspaces: {
|
|
2011
2507
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
2012
2508
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
2013
|
-
enable(
|
|
2509
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
2014
2510
|
};
|
|
2015
2511
|
tools: {
|
|
2016
2512
|
connections: {
|
|
@@ -2069,16 +2565,45 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2069
2565
|
create(payload: CatalogItemCreateRequest): Promise<CatalogItemDetail>;
|
|
2070
2566
|
remove(itemId: string): Promise<void>;
|
|
2071
2567
|
};
|
|
2568
|
+
documents: DocumentsApi;
|
|
2072
2569
|
campaigns: {
|
|
2073
2570
|
list(options?: ListCampaignsOptions): Promise<PaginatedResult<CampaignListResponse, ListCampaignsOptions>>;
|
|
2074
2571
|
get(campaignId: string): Promise<Campaign>;
|
|
2075
2572
|
create(agentId: string, versionId: string, payload: CreateCampaignPayload): Promise<Campaign>;
|
|
2076
2573
|
listExecutions(campaignId: string, options?: ListCampaignExecutionsOptions): Promise<PaginatedResult<CampaignExecutionListResponse, ListCampaignExecutionsOptions>>;
|
|
2574
|
+
pause(campaignId: string): Promise<{
|
|
2575
|
+
status: "paused";
|
|
2576
|
+
}>;
|
|
2577
|
+
resume(campaignId: string): Promise<{
|
|
2578
|
+
status: "resumed";
|
|
2579
|
+
}>;
|
|
2580
|
+
cancel(campaignId: string): Promise<{
|
|
2581
|
+
status: "cancelled";
|
|
2582
|
+
}>;
|
|
2583
|
+
exportExecutions(campaignId: string): Promise<Blob>;
|
|
2077
2584
|
};
|
|
2078
2585
|
voices: {
|
|
2079
2586
|
list(options?: ListVoicesOptions): Promise<PaginatedResult<VoiceListResponse, ListVoicesOptions>>;
|
|
2080
2587
|
};
|
|
2081
2588
|
apiKeys: ApiKeysApi;
|
|
2589
|
+
billing: {
|
|
2590
|
+
getBalance(): Promise<BillingBalanceResponse>;
|
|
2591
|
+
};
|
|
2592
|
+
calls: {
|
|
2593
|
+
list(options?: ListCallsOptions): Promise<PaginatedResult<CallsListResponse, ListCallsOptions>>;
|
|
2594
|
+
stream(options: StreamCallsOptions): Promise<CallsStreamResponse>;
|
|
2595
|
+
get(callId: string): Promise<Call>;
|
|
2596
|
+
};
|
|
2597
|
+
usage: {
|
|
2598
|
+
agents(options?: ListUsageAgentsOptions): Promise<PaginatedResult<UsageAgentsResponse, ListUsageAgentsOptions>>;
|
|
2599
|
+
};
|
|
2600
|
+
sip: {
|
|
2601
|
+
list(): Promise<SipTrunk[]>;
|
|
2602
|
+
get(trunkId: string): Promise<SipTrunk>;
|
|
2603
|
+
create(body: CreateSipTrunkRequest): Promise<SipTrunkWithPassword>;
|
|
2604
|
+
update(trunkId: string, body: UpdateSipTrunkRequest): Promise<SipTrunk>;
|
|
2605
|
+
delete(trunkId: string): Promise<void>;
|
|
2606
|
+
};
|
|
2082
2607
|
webhooks: {
|
|
2083
2608
|
list(options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookListResponse, ListWebhooksOptions>>;
|
|
2084
2609
|
create(payload: CreateWebhookRequest): Promise<WebhookDetail>;
|
|
@@ -2090,6 +2615,8 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2090
2615
|
getSubscription(webhookId: string, subscriptionId: string): Promise<EventSubscriptionDetail>;
|
|
2091
2616
|
updateSubscription(webhookId: string, subscriptionId: string, payload: UpdateEventSubscriptionRequest): Promise<EventSubscriptionDetail>;
|
|
2092
2617
|
deleteSubscription(webhookId: string, subscriptionId: string): Promise<void>;
|
|
2618
|
+
listDeliveries(webhookId: string, options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookDeliveryListResponse, ListWebhooksOptions>>;
|
|
2619
|
+
getDelivery(webhookId: string, deliveryId: string): Promise<WebhookDeliveryDetail>;
|
|
2093
2620
|
};
|
|
2094
2621
|
};
|
|
2095
2622
|
|
|
@@ -2105,8 +2632,8 @@ declare function createHttp(cfg: ClientConfig & {
|
|
|
2105
2632
|
base: string;
|
|
2106
2633
|
timeout: number;
|
|
2107
2634
|
log: {
|
|
2108
|
-
debug?: (...a:
|
|
2109
|
-
error?: (...a:
|
|
2635
|
+
debug?: (...a: unknown[]) => void;
|
|
2636
|
+
error?: (...a: unknown[]) => void;
|
|
2110
2637
|
};
|
|
2111
2638
|
retry: RetryPolicy;
|
|
2112
2639
|
doFetch: (url: string, init?: FetchOptions) => Promise<Response>;
|
|
@@ -2116,4 +2643,4 @@ declare function createHttp(cfg: ClientConfig & {
|
|
|
2116
2643
|
resolveAccessToken: () => string;
|
|
2117
2644
|
};
|
|
2118
2645
|
|
|
2119
|
-
export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleApi, type AgentScheduleException, type AgentScheduleExceptionListResponse, type AgentScheduleListResponse, type AgentStageTriggersApi$1 as AgentStageTriggersApi, type AgentStagesApi$1 as AgentStagesApi, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiErrorBody, type ApiHttpError, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, type Campaign, type CampaignExecution, type CampaignExecutionListResponse, type CampaignListResponse, type CampaignStatus, type CatalogItemCreateRequest, type CatalogItemDetail, type CatalogItemLinks, type CatalogItemListResponse, type CatalogItemSummary, type CatalogTemplateDetail, type CatalogTemplateListResponse, type CatalogTemplateSummary, type CatalogTemplateVisibility, type ClientConfig, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentScheduleExceptionRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBlueprintStageRequest, type CreateBlueprintStageTriggerRequest, type CreateCampaignPayload, type CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateToolConnectionRequest, type CreateWebhookRequest, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolConnectionRequest, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentSchedulesOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCampaignExecutionsOptions, type ListCampaignsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolConnectionsOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, type ListWorkspacesOptions, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type PublishAgentVersionRequest, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type RetryPolicy, TimeoutError, type ToolConnectionAuth, type ToolConnectionListItem, type ToolConnectionListResponse, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleExceptionRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionNotesRequest, type UpdateBlueprintStageRequest, type UpdateBlueprintStageTriggerRequest, type UpdateEventSubscriptionRequest, type UpdateInstructionRequest, type UpdateWebhookRequest, type VoiceListResponse, type VoiceSummary, type WebhookDetail, type WebhookListResponse, type WebhookSummary, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspaceListResponse, WorkspaceNotSelectedError, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, type WorkspaceSummary, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createCampaignsApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createHttp, createToolsApi, createVoicesApi, createWebhooksApi, createWorkspacesApi, isApiErrorBody, isApiHttpError };
|
|
2646
|
+
export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleApi, type AgentScheduleException, type AgentScheduleExceptionListResponse, type AgentScheduleListResponse, type AgentStageTriggersApi$1 as AgentStageTriggersApi, type AgentStagesApi$1 as AgentStagesApi, type AgentSummary, type AgentTagRequest, type AgentTagsResponse, type AgentVersionDetail, type AgentVersionListResponse, type AgentVersionSummary, type AgentsApi, type AgentsApiWithEntities, type ApiErrorBody, type ApiHttpError, type ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BillingBalanceResponse, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, type Call, type CallsListMeta, type CallsListResponse, type CallsStreamMeta, type CallsStreamResponse, type Campaign, type CampaignExecution, type CampaignExecutionListResponse, type CampaignListResponse, type CampaignStatus, type CatalogItemCreateRequest, type CatalogItemDetail, type CatalogItemLinks, type CatalogItemListResponse, type CatalogItemSummary, type CatalogTemplateDetail, type CatalogTemplateListResponse, type CatalogTemplateSummary, type CatalogTemplateVisibility, type ClientConfig, type CloneAgentComponent, type CloneAgentPayload, type CloneAgentRequest, type CloneAgentSelection, type ConnectPhoneRequest, type CreateAgentBlueprintRequest, type CreateAgentRequest, type CreateAgentScheduleExceptionRequest, type CreateAgentVersionRequest, type CreateApiKeyRequest, type CreateApiKeyResponse, type CreateBlueprintStageRequest, type CreateBlueprintStageTriggerRequest, type CreateCampaignPayload, type CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateSipTrunkRequest, type CreateToolConnectionRequest, type CreateWebhookRequest, type DocumentRef, type DocumentsApi, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolConnectionRequest, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentSchedulesOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCallsOptions, type ListCampaignExecutionsOptions, type ListCampaignsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolConnectionsOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListUsageAgentsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, type ListWorkspacesOptions, NetworkError, type PaginatedResult, type PaginationMeta, type PhoneAssignmentResponse, type PresignDocumentItem, type PresignDocumentsRequest, type PresignDocumentsResponse, type PresignedDocument, type PublishAgentVersionRequest, type QueryBuilderInput, type QueryBuilderSerializable, type QueryFilterOperators, type QueryFilters, type QueryOrGroups, type QueryValue, type ResourceBalance, type ResourceProjection, type RetryPolicy, type RuntimeCompleteEvent, type RuntimeErrorEvent, type RuntimeProgressEvent, type RuntimeSseEvent, type RuntimeUsage, type SipTrunk, type SipTrunkWithPassword, type SseCallbacks, type StreamCallsOptions, type SubscriptionInfo, TimeoutError, type ToolConnectionAuth, type ToolConnectionListItem, type ToolConnectionListResponse, type ToolConnectionRequest, type ToolConnectionResponse, type ToolListResponse, type ToolResourceListResponse, type ToolResourceReloadResponse, type ToolResourceSummary, type ToolResourceUploadRequest, type ToolResourceUploadResponse, type ToolSummary, type UpdateAgentBlueprintRequest, type UpdateAgentRequest, type UpdateAgentScheduleExceptionRequest, type UpdateAgentScheduleRequest, type UpdateAgentVersionNotesRequest, type UpdateBlueprintStageRequest, type UpdateBlueprintStageTriggerRequest, type UpdateEventSubscriptionRequest, type UpdateInstructionRequest, type UpdateSipTrunkRequest, type UpdateWebhookRequest, type UsageAgentRow, type UsageAgentsAggregations, type UsageAgentsMeta, type UsageAgentsResponse, type VoiceListResponse, type VoiceSummary, type WebhookDeliveryDetail, type WebhookDeliveryListResponse, type WebhookDeliverySummary, type WebhookDetail, type WebhookListResponse, type WebhookSummary, type WorkspaceEnableRequest, type WorkspaceEnableResponse, type WorkspaceListResponse, WorkspaceNotSelectedError, type WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, type WorkspaceSummary, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createBillingApi, createCallsApi, createCampaignsApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createDocumentsApi, createHttp, createSipTrunksApi, createToolsApi, createUsageApi, createVoicesApi, createWebhooksApi, createWorkspacesApi, isApiErrorBody, isApiHttpError };
|