@getsupervisor/agents-studio-sdk 1.41.1 → 1.41.2-patch.10
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 +30 -20
- package/dist/index.cjs +143 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +248 -53
- package/dist/index.d.ts +248 -53
- package/dist/index.js +142 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
type WithRequired<T, K extends keyof T> = T & {
|
|
2
|
-
[P in K]-?: T[P];
|
|
3
|
-
};
|
|
4
|
-
type Without<T, U> = {
|
|
5
|
-
[P in Exclude<keyof T, keyof U>]?: never;
|
|
6
|
-
};
|
|
7
|
-
type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
|
8
|
-
type OneOf<T extends any[]> = T extends [infer Only] ? Only : T extends [infer A, infer B, ...infer Rest] ? OneOf<[XOR<A, B>, ...Rest]> : never;
|
|
9
1
|
type components = {
|
|
10
2
|
schemas: {
|
|
11
3
|
AgentDetail: {
|
|
@@ -51,6 +43,7 @@ type components = {
|
|
|
51
43
|
AgentSummary: {
|
|
52
44
|
agentId: string;
|
|
53
45
|
name: string;
|
|
46
|
+
description?: string | null;
|
|
54
47
|
agentType: 'chat' | 'voice';
|
|
55
48
|
status: 'inactive' | 'training' | 'active' | 'archived';
|
|
56
49
|
workspaceId: string;
|
|
@@ -65,7 +58,7 @@ type components = {
|
|
|
65
58
|
name: string;
|
|
66
59
|
description?: string | null;
|
|
67
60
|
agentType: 'chat' | 'voice';
|
|
68
|
-
status?: 'inactive' | 'training' | 'active';
|
|
61
|
+
status?: 'inactive' | 'training' | 'active' | null;
|
|
69
62
|
avatarUrl?: string | null;
|
|
70
63
|
debounceDelayMs?: number | null;
|
|
71
64
|
metadata?: {
|
|
@@ -242,9 +235,9 @@ type components = {
|
|
|
242
235
|
voiceId?: string | null;
|
|
243
236
|
startSpeaker: 'user' | 'agent';
|
|
244
237
|
requiredData: string[];
|
|
245
|
-
criticalRules
|
|
246
|
-
topicsAllowed
|
|
247
|
-
topicsForbidden
|
|
238
|
+
criticalRules: string[];
|
|
239
|
+
topicsAllowed: string[];
|
|
240
|
+
topicsForbidden: string[];
|
|
248
241
|
contentHash: string | null;
|
|
249
242
|
contentVariables: string[];
|
|
250
243
|
variablesCache: string[];
|
|
@@ -319,7 +312,7 @@ type components = {
|
|
|
319
312
|
name: string;
|
|
320
313
|
title?: string | null;
|
|
321
314
|
goalPrompt: string;
|
|
322
|
-
promptInstructions
|
|
315
|
+
promptInstructions: string[];
|
|
323
316
|
order?: number | null;
|
|
324
317
|
triggers?: components['schemas']['BlueprintStageTriggerInput'][] | null;
|
|
325
318
|
metadata?: {
|
|
@@ -330,7 +323,7 @@ type components = {
|
|
|
330
323
|
name?: string;
|
|
331
324
|
title?: string | null;
|
|
332
325
|
goalPrompt?: string;
|
|
333
|
-
promptInstructions
|
|
326
|
+
promptInstructions: string[];
|
|
334
327
|
order?: number | null;
|
|
335
328
|
metadata?: {
|
|
336
329
|
[key: string]: unknown;
|
|
@@ -366,9 +359,9 @@ type components = {
|
|
|
366
359
|
name: string;
|
|
367
360
|
title?: string | null;
|
|
368
361
|
goalPrompt: string;
|
|
369
|
-
promptInstructions
|
|
362
|
+
promptInstructions: string[];
|
|
370
363
|
order?: number | null;
|
|
371
|
-
triggers
|
|
364
|
+
triggers: components['schemas']['BlueprintStageTriggerInput'][] | null;
|
|
372
365
|
metadata?: {
|
|
373
366
|
[key: string]: unknown;
|
|
374
367
|
} | null;
|
|
@@ -377,7 +370,7 @@ type components = {
|
|
|
377
370
|
agent_id: string;
|
|
378
371
|
phone_id: string;
|
|
379
372
|
test_phones?: string[];
|
|
380
|
-
allow_all
|
|
373
|
+
allow_all: boolean;
|
|
381
374
|
};
|
|
382
375
|
PhoneAssignmentResponse: {
|
|
383
376
|
agent_id: string;
|
|
@@ -390,7 +383,7 @@ type components = {
|
|
|
390
383
|
WorkspacePhone: {
|
|
391
384
|
id: string;
|
|
392
385
|
external_id: string;
|
|
393
|
-
channel?: 'voice';
|
|
386
|
+
channel?: 'voice' | null;
|
|
394
387
|
supports_outbound?: boolean | null;
|
|
395
388
|
assigned_to?: string | null;
|
|
396
389
|
last_used_at?: string | null;
|
|
@@ -405,10 +398,12 @@ type components = {
|
|
|
405
398
|
identifier: string;
|
|
406
399
|
description?: string | null;
|
|
407
400
|
enabled: boolean;
|
|
401
|
+
visible: boolean;
|
|
408
402
|
category?: string | null;
|
|
409
403
|
auth: 'none' | 'oauth2' | 'api_key' | 'custom';
|
|
410
404
|
requiresUserAuth: boolean;
|
|
411
405
|
configSchema?: components['schemas']['ToolConfigSchema'] | null;
|
|
406
|
+
catalogMetadata: components['schemas']['ToolCatalogMetadata'];
|
|
412
407
|
};
|
|
413
408
|
ToolListResponse: {
|
|
414
409
|
data: components['schemas']['ToolSummary'][];
|
|
@@ -457,6 +452,8 @@ type components = {
|
|
|
457
452
|
metadata?: {
|
|
458
453
|
[key: string]: unknown;
|
|
459
454
|
};
|
|
455
|
+
descriptionUsage?: string;
|
|
456
|
+
usageExample?: string;
|
|
460
457
|
auth?: components['schemas']['ToolConnectionAuth'];
|
|
461
458
|
};
|
|
462
459
|
ToolConnectionResponse: {
|
|
@@ -471,6 +468,8 @@ type components = {
|
|
|
471
468
|
metadata?: {
|
|
472
469
|
[key: string]: unknown;
|
|
473
470
|
};
|
|
471
|
+
descriptionUsage?: string | null;
|
|
472
|
+
usageExample?: string | null;
|
|
474
473
|
};
|
|
475
474
|
ToolConnectionAuth: {
|
|
476
475
|
type: 'none' | 'oauth2' | 'api_key' | 'custom';
|
|
@@ -503,7 +502,7 @@ type components = {
|
|
|
503
502
|
self: string;
|
|
504
503
|
catalog: string;
|
|
505
504
|
};
|
|
506
|
-
CatalogItemSummary:
|
|
505
|
+
CatalogItemSummary: {
|
|
507
506
|
id: string;
|
|
508
507
|
type: 'language' | 'message_style' | 'tone_style' | 'tag' | 'voice';
|
|
509
508
|
systemIdentifier: string;
|
|
@@ -516,13 +515,13 @@ type components = {
|
|
|
516
515
|
createdAt: string;
|
|
517
516
|
updatedAt: string;
|
|
518
517
|
links: components['schemas']['CatalogItemLinks'];
|
|
519
|
-
}
|
|
518
|
+
} & (unknown & unknown & unknown & unknown & unknown);
|
|
520
519
|
CatalogItemDetail: components['schemas']['CatalogItemSummary'];
|
|
521
520
|
CatalogItemListResponse: {
|
|
522
521
|
data: components['schemas']['CatalogItemSummary'][];
|
|
523
522
|
meta: components['schemas']['PaginationMeta'];
|
|
524
523
|
};
|
|
525
|
-
CatalogItemCreateRequest:
|
|
524
|
+
CatalogItemCreateRequest: {
|
|
526
525
|
type: 'language' | 'message_style' | 'tone_style' | 'tag' | 'voice';
|
|
527
526
|
scope: 'global' | 'workspace';
|
|
528
527
|
workspaceId?: string;
|
|
@@ -530,13 +529,12 @@ type components = {
|
|
|
530
529
|
description: string;
|
|
531
530
|
systemIdentifier?: string;
|
|
532
531
|
metadata: Record<string, never>;
|
|
533
|
-
isActive
|
|
534
|
-
}
|
|
532
|
+
isActive: boolean;
|
|
533
|
+
} & (unknown & unknown & unknown & unknown & unknown & unknown);
|
|
535
534
|
WorkspaceEnableRequest: {
|
|
536
535
|
apiKey: string;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
};
|
|
536
|
+
phone: string;
|
|
537
|
+
speechAnalyticsAgentId: string;
|
|
540
538
|
};
|
|
541
539
|
WorkspaceEnableResponse: {
|
|
542
540
|
status: 'enabled';
|
|
@@ -549,6 +547,7 @@ type components = {
|
|
|
549
547
|
details?: {
|
|
550
548
|
subcode?: string;
|
|
551
549
|
workspaceId?: string;
|
|
550
|
+
} & {
|
|
552
551
|
[key: string]: unknown;
|
|
553
552
|
};
|
|
554
553
|
};
|
|
@@ -557,6 +556,7 @@ type components = {
|
|
|
557
556
|
url: string;
|
|
558
557
|
agentId?: string | null;
|
|
559
558
|
description?: string | null;
|
|
559
|
+
method: 'GET' | 'POST';
|
|
560
560
|
isActive: boolean;
|
|
561
561
|
secretPreview?: string | null;
|
|
562
562
|
createdAt: string;
|
|
@@ -578,11 +578,12 @@ type components = {
|
|
|
578
578
|
url: string;
|
|
579
579
|
agentId?: string | null;
|
|
580
580
|
description?: string | null;
|
|
581
|
-
isActive
|
|
581
|
+
isActive: boolean;
|
|
582
582
|
headers?: {
|
|
583
583
|
[key: string]: string;
|
|
584
584
|
};
|
|
585
585
|
secret?: string;
|
|
586
|
+
method: 'GET' | 'POST';
|
|
586
587
|
};
|
|
587
588
|
UpdateWebhookRequest: {
|
|
588
589
|
url?: string;
|
|
@@ -592,6 +593,7 @@ type components = {
|
|
|
592
593
|
headers?: {
|
|
593
594
|
[key: string]: string;
|
|
594
595
|
};
|
|
596
|
+
method?: 'GET' | 'POST';
|
|
595
597
|
};
|
|
596
598
|
EventSubscriptionSummary: {
|
|
597
599
|
id: string;
|
|
@@ -608,7 +610,7 @@ type components = {
|
|
|
608
610
|
};
|
|
609
611
|
CreateEventSubscriptionRequest: {
|
|
610
612
|
eventKey: string;
|
|
611
|
-
isActive
|
|
613
|
+
isActive: boolean;
|
|
612
614
|
};
|
|
613
615
|
UpdateEventSubscriptionRequest: {
|
|
614
616
|
isActive?: boolean;
|
|
@@ -652,14 +654,59 @@ type components = {
|
|
|
652
654
|
meta: components['schemas']['PaginationMeta'];
|
|
653
655
|
};
|
|
654
656
|
CampaignStatus: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'PARTIALLY_COMPLETED';
|
|
657
|
+
Call: {
|
|
658
|
+
id: string;
|
|
659
|
+
title: string;
|
|
660
|
+
customerPhone: string | null;
|
|
661
|
+
durationSeconds: number | null;
|
|
662
|
+
supervisors: components['schemas']['CallSupervisors'];
|
|
663
|
+
goal: components['schemas']['CallGoal'];
|
|
664
|
+
startedAt: string;
|
|
665
|
+
recordingUrl: string | null;
|
|
666
|
+
agentBatchId: string | null;
|
|
667
|
+
agentId: string | null;
|
|
668
|
+
executionId: string | null;
|
|
669
|
+
};
|
|
670
|
+
CallGoal: {
|
|
671
|
+
achieved: boolean;
|
|
672
|
+
reason: string | null;
|
|
673
|
+
};
|
|
674
|
+
CallSupervisors: {
|
|
675
|
+
evaluations: number | null;
|
|
676
|
+
discoveries: number | null;
|
|
677
|
+
risks: number | null;
|
|
678
|
+
};
|
|
679
|
+
CallsListMeta: components['schemas']['PaginationMeta'] & {
|
|
680
|
+
sort: string[];
|
|
681
|
+
appliedFilters: string[];
|
|
682
|
+
};
|
|
683
|
+
CallsListResponse: {
|
|
684
|
+
data: components['schemas']['Call'][];
|
|
685
|
+
meta: components['schemas']['CallsListMeta'];
|
|
686
|
+
};
|
|
687
|
+
CallsStreamMeta: {
|
|
688
|
+
limit: number;
|
|
689
|
+
nextAfter: string | null;
|
|
690
|
+
};
|
|
691
|
+
CallsStreamResponse: {
|
|
692
|
+
data: components['schemas']['Call'][];
|
|
693
|
+
meta: components['schemas']['CallsStreamMeta'];
|
|
694
|
+
};
|
|
655
695
|
ForkAgentFromTemplateRequest: {
|
|
656
696
|
templateId: string;
|
|
657
697
|
templateVersionId?: string;
|
|
658
698
|
name?: string | null;
|
|
659
699
|
description?: string | null;
|
|
660
|
-
status?: 'inactive' | 'training' | 'active';
|
|
700
|
+
status?: 'inactive' | 'training' | 'active' | null;
|
|
661
701
|
debounceDelayMs?: number | null;
|
|
662
702
|
};
|
|
703
|
+
CloneAgentRequest: {
|
|
704
|
+
name: string;
|
|
705
|
+
description?: string | null;
|
|
706
|
+
status?: 'inactive' | 'training' | 'active' | null;
|
|
707
|
+
versionId: string;
|
|
708
|
+
clone: ('instructions' | 'tools' | 'webhooks' | 'stages' | 'triggers' | 'businessHours' | 'businessHourExceptions')[];
|
|
709
|
+
};
|
|
663
710
|
AgentScheduleListResponse: {
|
|
664
711
|
data: components['schemas']['AgentSchedule'][];
|
|
665
712
|
meta: components['schemas']['PaginationMeta'];
|
|
@@ -714,12 +761,9 @@ type components = {
|
|
|
714
761
|
description?: string;
|
|
715
762
|
notes?: string[];
|
|
716
763
|
prompts?: components['schemas']['ToolConfigSchemaActionPrompts'];
|
|
717
|
-
schema:
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
},
|
|
721
|
-
boolean
|
|
722
|
-
]>;
|
|
764
|
+
schema: {
|
|
765
|
+
[key: string]: unknown;
|
|
766
|
+
} | boolean;
|
|
723
767
|
};
|
|
724
768
|
ToolConfigSchema: {
|
|
725
769
|
schemaVersion: 'json-schema/2020-12';
|
|
@@ -727,6 +771,49 @@ type components = {
|
|
|
727
771
|
[key: string]: components['schemas']['ToolConfigSchemaAction'];
|
|
728
772
|
};
|
|
729
773
|
};
|
|
774
|
+
ToolCatalogAuthor: {
|
|
775
|
+
name: string;
|
|
776
|
+
url?: string | null;
|
|
777
|
+
};
|
|
778
|
+
ToolCatalogMedia: {
|
|
779
|
+
iconUrl: string | null;
|
|
780
|
+
coverImageUrl: string | null;
|
|
781
|
+
};
|
|
782
|
+
ToolCatalogDescription: {
|
|
783
|
+
short: string | null;
|
|
784
|
+
markdown: string | null;
|
|
785
|
+
};
|
|
786
|
+
ToolCatalogInstallation: {
|
|
787
|
+
requirements: string[];
|
|
788
|
+
permissions: string[];
|
|
789
|
+
steps: string[];
|
|
790
|
+
notes: string[];
|
|
791
|
+
};
|
|
792
|
+
ToolCatalogAppliesTo: {
|
|
793
|
+
chat: boolean | null;
|
|
794
|
+
voice: boolean | null;
|
|
795
|
+
};
|
|
796
|
+
ToolCatalogLinks: {
|
|
797
|
+
docsUrl: string | null;
|
|
798
|
+
privacyUrl: string | null;
|
|
799
|
+
termsUrl: string | null;
|
|
800
|
+
};
|
|
801
|
+
ToolCatalogCard: {
|
|
802
|
+
author: components['schemas']['ToolCatalogAuthor'];
|
|
803
|
+
media: components['schemas']['ToolCatalogMedia'];
|
|
804
|
+
description: components['schemas']['ToolCatalogDescription'];
|
|
805
|
+
features: string[];
|
|
806
|
+
useCases: string[];
|
|
807
|
+
installation: components['schemas']['ToolCatalogInstallation'];
|
|
808
|
+
appliesTo: components['schemas']['ToolCatalogAppliesTo'];
|
|
809
|
+
links: components['schemas']['ToolCatalogLinks'];
|
|
810
|
+
};
|
|
811
|
+
ToolCatalogMetadata: {
|
|
812
|
+
version: 1;
|
|
813
|
+
i18n: {
|
|
814
|
+
[key: string]: components['schemas']['ToolCatalogCard'];
|
|
815
|
+
};
|
|
816
|
+
};
|
|
730
817
|
ToolConnectionListItem: {
|
|
731
818
|
toolAgentConnectionId: string;
|
|
732
819
|
toolId: string;
|
|
@@ -749,6 +836,8 @@ type components = {
|
|
|
749
836
|
metadata?: {
|
|
750
837
|
[key: string]: unknown;
|
|
751
838
|
};
|
|
839
|
+
descriptionUsage?: string;
|
|
840
|
+
usageExample?: string;
|
|
752
841
|
auth?: components['schemas']['ToolConnectionAuth'];
|
|
753
842
|
};
|
|
754
843
|
ExecuteToolConnectionRequest: {
|
|
@@ -764,11 +853,13 @@ type components = {
|
|
|
764
853
|
CatalogItemMessageStyleMetadata: {
|
|
765
854
|
register?: string | null;
|
|
766
855
|
sample?: string | null;
|
|
856
|
+
} & {
|
|
767
857
|
[key: string]: unknown;
|
|
768
858
|
};
|
|
769
859
|
CatalogItemToneStyleMetadata: {
|
|
770
860
|
mood?: string | null;
|
|
771
861
|
intensity?: string | null;
|
|
862
|
+
} & {
|
|
772
863
|
[key: string]: unknown;
|
|
773
864
|
};
|
|
774
865
|
CatalogItemTagMetadata: {
|
|
@@ -781,6 +872,34 @@ type components = {
|
|
|
781
872
|
provider?: string | null;
|
|
782
873
|
previewUrl?: string | null;
|
|
783
874
|
};
|
|
875
|
+
WebhookDeliveryStatus: 'queued' | 'sending' | 'success' | 'failed';
|
|
876
|
+
WebhookDeliverySummary: {
|
|
877
|
+
id: string;
|
|
878
|
+
webhookId: string;
|
|
879
|
+
subscriptionId: string;
|
|
880
|
+
eventKey: string;
|
|
881
|
+
status: components['schemas']['WebhookDeliveryStatus'];
|
|
882
|
+
attempts: number;
|
|
883
|
+
nextAttemptAt?: string | null;
|
|
884
|
+
lastError?: string | null;
|
|
885
|
+
requestMethod: 'GET' | 'POST';
|
|
886
|
+
responseStatus?: number | null;
|
|
887
|
+
createdAt: string;
|
|
888
|
+
updatedAt: string;
|
|
889
|
+
};
|
|
890
|
+
WebhookDeliveryListResponse: {
|
|
891
|
+
data: components['schemas']['WebhookDeliverySummary'][];
|
|
892
|
+
meta: components['schemas']['PaginationMeta'];
|
|
893
|
+
};
|
|
894
|
+
WebhookDeliveryDetail: components['schemas']['WebhookDeliverySummary'] & {
|
|
895
|
+
requestHeaders?: {
|
|
896
|
+
[key: string]: string;
|
|
897
|
+
};
|
|
898
|
+
requestBody?: {
|
|
899
|
+
[key: string]: unknown;
|
|
900
|
+
} | null;
|
|
901
|
+
responseBody?: string | null;
|
|
902
|
+
};
|
|
784
903
|
};
|
|
785
904
|
responses: never;
|
|
786
905
|
parameters: {
|
|
@@ -798,23 +917,35 @@ type components = {
|
|
|
798
917
|
ToolId: string;
|
|
799
918
|
ResourceId: string;
|
|
800
919
|
CatalogItemId: string;
|
|
801
|
-
PageParam
|
|
802
|
-
LimitParam
|
|
803
|
-
Page
|
|
804
|
-
Limit
|
|
805
|
-
SortParam
|
|
806
|
-
FieldsParam
|
|
807
|
-
IncludeParam
|
|
808
|
-
SearchParam
|
|
809
|
-
FilterParam
|
|
920
|
+
PageParam: number;
|
|
921
|
+
LimitParam: number;
|
|
922
|
+
Page: number;
|
|
923
|
+
Limit: number;
|
|
924
|
+
SortParam: string;
|
|
925
|
+
FieldsParam: string;
|
|
926
|
+
IncludeParam: string;
|
|
927
|
+
SearchParam: string;
|
|
928
|
+
FilterParam: components['schemas']['QueryFilters'];
|
|
810
929
|
WebhookId: string;
|
|
811
930
|
SubscriptionId: string;
|
|
812
|
-
|
|
931
|
+
CallId: string;
|
|
932
|
+
AgentBatchIdQuery: string;
|
|
933
|
+
AgentIdQuery: string;
|
|
934
|
+
ExecutionIdQuery: string;
|
|
935
|
+
RecordedAfterParam: string;
|
|
936
|
+
RecordedBeforeParam: string;
|
|
937
|
+
CallsAfterParam: string;
|
|
938
|
+
CallsStreamLimitParam: number;
|
|
939
|
+
OrParam: components['schemas']['QueryOrGroups'];
|
|
813
940
|
ScheduleId: string;
|
|
814
941
|
ApiKeyId: string;
|
|
815
|
-
XCacheRefresh
|
|
942
|
+
XCacheRefresh: boolean;
|
|
816
943
|
IdempotencyKey: string;
|
|
817
|
-
XApiKey
|
|
944
|
+
XApiKey: string;
|
|
945
|
+
DurationBucketQuery: 'short' | 'medium' | 'long';
|
|
946
|
+
GoalStatusQuery: 'achieved' | 'not_achieved';
|
|
947
|
+
SearchQuery: string;
|
|
948
|
+
DeliveryId: string;
|
|
818
949
|
};
|
|
819
950
|
requestBodies: never;
|
|
820
951
|
headers: never;
|
|
@@ -867,6 +998,12 @@ type AgentDetail = components['schemas']['AgentDetail'];
|
|
|
867
998
|
type AgentSummary = components['schemas']['AgentSummary'];
|
|
868
999
|
type AgentListResponse = components['schemas']['AgentListResponse'];
|
|
869
1000
|
type CreateAgentRequest = components['schemas']['CreateAgentRequest'];
|
|
1001
|
+
type CloneAgentRequest = components['schemas']['CloneAgentRequest'];
|
|
1002
|
+
type CloneAgentComponent = CloneAgentRequest['clone'][number];
|
|
1003
|
+
type CloneAgentSelection = CloneAgentComponent[] | Partial<Record<CloneAgentComponent, boolean>>;
|
|
1004
|
+
type CloneAgentPayload = Omit<CloneAgentRequest, 'clone'> & {
|
|
1005
|
+
clone?: CloneAgentSelection;
|
|
1006
|
+
};
|
|
870
1007
|
type ForkAgentFromTemplateRequest = components['schemas']['ForkAgentFromTemplateRequest'];
|
|
871
1008
|
type UpdateAgentRequest = components['schemas']['UpdateAgentRequest'];
|
|
872
1009
|
type AgentTagRequest = components['schemas']['AgentTagRequest'];
|
|
@@ -1081,9 +1218,17 @@ type Campaign = components['schemas']['Campaign'];
|
|
|
1081
1218
|
type CampaignListResponse = components['schemas']['CampaignListResponse'];
|
|
1082
1219
|
type CampaignExecution = components['schemas']['CampaignExecution'];
|
|
1083
1220
|
type CampaignExecutionListResponse = components['schemas']['CampaignExecutionListResponse'];
|
|
1221
|
+
type Call = components['schemas']['Call'];
|
|
1222
|
+
type CallsListMeta = components['schemas']['CallsListMeta'];
|
|
1223
|
+
type CallsListResponse = components['schemas']['CallsListResponse'];
|
|
1224
|
+
type CallsStreamMeta = components['schemas']['CallsStreamMeta'];
|
|
1225
|
+
type CallsStreamResponse = components['schemas']['CallsStreamResponse'];
|
|
1084
1226
|
type WebhookSummary = components['schemas']['WebhookSummary'];
|
|
1085
1227
|
type WebhookDetail = components['schemas']['WebhookDetail'];
|
|
1086
1228
|
type WebhookListResponse = components['schemas']['WebhookListResponse'];
|
|
1229
|
+
type WebhookDeliverySummary = components['schemas']['WebhookDeliverySummary'];
|
|
1230
|
+
type WebhookDeliveryDetail = components['schemas']['WebhookDeliveryDetail'];
|
|
1231
|
+
type WebhookDeliveryListResponse = components['schemas']['WebhookDeliveryListResponse'];
|
|
1087
1232
|
type CreateWebhookRequest = components['schemas']['CreateWebhookRequest'];
|
|
1088
1233
|
type UpdateWebhookRequest = components['schemas']['UpdateWebhookRequest'];
|
|
1089
1234
|
type EventSubscriptionSummary = components['schemas']['EventSubscriptionSummary'];
|
|
@@ -1180,7 +1325,7 @@ type AgentStagesApi$1 = {
|
|
|
1180
1325
|
list(agentId: string, blueprintId: string, options?: ListAgentStagesOptions): Promise<PaginatedResult<BlueprintStageListResponse, ListAgentStagesOptions>>;
|
|
1181
1326
|
get(agentId: string, blueprintId: string, stageId: string): Promise<BlueprintStage>;
|
|
1182
1327
|
create(agentId: string, blueprintId: string, payload: CreateBlueprintStageRequest): Promise<BlueprintStage>;
|
|
1183
|
-
update(agentId: string, blueprintId: string, stageId: string, payload: UpdateBlueprintStageRequest): Promise<BlueprintStage>;
|
|
1328
|
+
update(agentId: string, blueprintId: string, stageId: string, payload: Partial<UpdateBlueprintStageRequest>): Promise<BlueprintStage>;
|
|
1184
1329
|
delete(agentId: string, blueprintId: string, stageId: string): Promise<void>;
|
|
1185
1330
|
reorder(agentId: string, blueprintId: string, payload: BlueprintStageReorderRequest): Promise<BlueprintStageListResponse>;
|
|
1186
1331
|
};
|
|
@@ -1238,6 +1383,7 @@ interface AgentEntity extends AgentBase {
|
|
|
1238
1383
|
blueprints: AgentBlueprintsHelper;
|
|
1239
1384
|
stages: AgentStagesHelper;
|
|
1240
1385
|
save(patch: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1386
|
+
clone(payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1241
1387
|
delete(): Promise<void>;
|
|
1242
1388
|
refresh(): Promise<AgentEntity>;
|
|
1243
1389
|
}
|
|
@@ -1253,6 +1399,7 @@ type AgentEntityFactoryOptions = {
|
|
|
1253
1399
|
reload(agentId: string): Promise<AgentEntity>;
|
|
1254
1400
|
updateAgent(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1255
1401
|
deleteAgent(agentId: string): Promise<void>;
|
|
1402
|
+
cloneAgent(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1256
1403
|
};
|
|
1257
1404
|
declare const bindAgentStageTriggers: (api: AgentStageTriggersApi, agentId: string, blueprintId: string, stageId: string) => {
|
|
1258
1405
|
list(opts?: ListAgentStageTriggersOptions): Promise<PaginatedResult<{
|
|
@@ -1633,6 +1780,7 @@ type AgentsApi = {
|
|
|
1633
1780
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<AgentListResponse, ListAgentsOptions>>;
|
|
1634
1781
|
get(agentId: string): Promise<AgentDetail>;
|
|
1635
1782
|
create(payload: CreateAgentRequest): Promise<AgentDetail>;
|
|
1783
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentDetail>;
|
|
1636
1784
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentDetail>;
|
|
1637
1785
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentDetail>;
|
|
1638
1786
|
delete(agent: string | AgentEntity): Promise<void>;
|
|
@@ -1641,10 +1789,11 @@ type AgentListResponseWithEntities = {
|
|
|
1641
1789
|
data: AgentEntity[];
|
|
1642
1790
|
meta: AgentListResponse['meta'];
|
|
1643
1791
|
};
|
|
1644
|
-
type AgentsApiWithEntities = Omit<AgentsApi, 'get' | 'create' | 'update' | 'list' | 'forkFromTemplate'> & {
|
|
1792
|
+
type AgentsApiWithEntities = Omit<AgentsApi, 'get' | 'create' | 'clone' | 'update' | 'list' | 'forkFromTemplate'> & {
|
|
1645
1793
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<AgentListResponseWithEntities, ListAgentsOptions>>;
|
|
1646
1794
|
get(agentId: string): Promise<AgentEntity>;
|
|
1647
1795
|
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
1796
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1648
1797
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentEntity>;
|
|
1649
1798
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1650
1799
|
};
|
|
@@ -1662,6 +1811,34 @@ declare function createApiKeysApi(cfg: ClientConfig & {
|
|
|
1662
1811
|
retry?: RetryPolicy;
|
|
1663
1812
|
}): ApiKeysApi;
|
|
1664
1813
|
|
|
1814
|
+
type ListCallsOptions = ListQueryOptions & Partial<{
|
|
1815
|
+
agentBatchId: string;
|
|
1816
|
+
agentId: string;
|
|
1817
|
+
executionId: string;
|
|
1818
|
+
recordedAfter: string | Date;
|
|
1819
|
+
recordedBefore: string | Date;
|
|
1820
|
+
durationBucket: 'short' | 'medium' | 'long';
|
|
1821
|
+
goalStatus: 'achieved' | 'not_achieved';
|
|
1822
|
+
query: string;
|
|
1823
|
+
}>;
|
|
1824
|
+
type StreamCallsOptions = {
|
|
1825
|
+
after: string | Date;
|
|
1826
|
+
limit?: number;
|
|
1827
|
+
agentBatchId?: string;
|
|
1828
|
+
agentId?: string;
|
|
1829
|
+
executionId?: string;
|
|
1830
|
+
durationBucket?: 'short' | 'medium' | 'long';
|
|
1831
|
+
goalStatus?: 'achieved' | 'not_achieved';
|
|
1832
|
+
query?: string;
|
|
1833
|
+
};
|
|
1834
|
+
declare function createCallsApi(cfg: ClientConfig & {
|
|
1835
|
+
retry?: RetryPolicy;
|
|
1836
|
+
}): {
|
|
1837
|
+
list(options?: ListCallsOptions): Promise<PaginatedResult<CallsListResponse, ListCallsOptions>>;
|
|
1838
|
+
stream(options: StreamCallsOptions): Promise<CallsStreamResponse>;
|
|
1839
|
+
get(callId: string): Promise<Call>;
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1665
1842
|
type ListCampaignsOptions = ListQueryOptions;
|
|
1666
1843
|
type ListCampaignExecutionsOptions = Pick<ListQueryOptions, 'page' | 'limit'>;
|
|
1667
1844
|
type CreateCampaignPayload = {
|
|
@@ -1763,6 +1940,8 @@ declare function createWebhooksApi(cfg: ClientConfig & {
|
|
|
1763
1940
|
getSubscription(webhookId: string, subscriptionId: string): Promise<EventSubscriptionDetail>;
|
|
1764
1941
|
updateSubscription(webhookId: string, subscriptionId: string, payload: UpdateEventSubscriptionRequest): Promise<EventSubscriptionDetail>;
|
|
1765
1942
|
deleteSubscription(webhookId: string, subscriptionId: string): Promise<void>;
|
|
1943
|
+
listDeliveries(webhookId: string, options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookDeliveryListResponse, ListWebhooksOptions>>;
|
|
1944
|
+
getDelivery(webhookId: string, deliveryId: string): Promise<WebhookDeliveryDetail>;
|
|
1766
1945
|
};
|
|
1767
1946
|
|
|
1768
1947
|
type ListWorkspacePhonesOptions = ListQueryOptions & {
|
|
@@ -1776,7 +1955,7 @@ declare function createWorkspacesApi(cfg: ClientConfig & {
|
|
|
1776
1955
|
}): {
|
|
1777
1956
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
1778
1957
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
1779
|
-
enable(
|
|
1958
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
1780
1959
|
};
|
|
1781
1960
|
|
|
1782
1961
|
declare function createClient(initialCfg: ClientConfig & {
|
|
@@ -1865,13 +2044,14 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1865
2044
|
}, ListAgentsOptions>>;
|
|
1866
2045
|
get(agentId: string): Promise<AgentEntity>;
|
|
1867
2046
|
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
2047
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1868
2048
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentEntity>;
|
|
1869
2049
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1870
2050
|
};
|
|
1871
2051
|
workspaces: {
|
|
1872
2052
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
1873
2053
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
1874
|
-
enable(
|
|
2054
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
1875
2055
|
};
|
|
1876
2056
|
tools: {
|
|
1877
2057
|
connections: {
|
|
@@ -1940,6 +2120,11 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1940
2120
|
list(options?: ListVoicesOptions): Promise<PaginatedResult<VoiceListResponse, ListVoicesOptions>>;
|
|
1941
2121
|
};
|
|
1942
2122
|
apiKeys: ApiKeysApi;
|
|
2123
|
+
calls: {
|
|
2124
|
+
list(options?: ListCallsOptions): Promise<PaginatedResult<CallsListResponse, ListCallsOptions>>;
|
|
2125
|
+
stream(options: StreamCallsOptions): Promise<CallsStreamResponse>;
|
|
2126
|
+
get(callId: string): Promise<Call>;
|
|
2127
|
+
};
|
|
1943
2128
|
webhooks: {
|
|
1944
2129
|
list(options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookListResponse, ListWebhooksOptions>>;
|
|
1945
2130
|
create(payload: CreateWebhookRequest): Promise<WebhookDetail>;
|
|
@@ -1951,6 +2136,8 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1951
2136
|
getSubscription(webhookId: string, subscriptionId: string): Promise<EventSubscriptionDetail>;
|
|
1952
2137
|
updateSubscription(webhookId: string, subscriptionId: string, payload: UpdateEventSubscriptionRequest): Promise<EventSubscriptionDetail>;
|
|
1953
2138
|
deleteSubscription(webhookId: string, subscriptionId: string): Promise<void>;
|
|
2139
|
+
listDeliveries(webhookId: string, options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookDeliveryListResponse, ListWebhooksOptions>>;
|
|
2140
|
+
getDelivery(webhookId: string, deliveryId: string): Promise<WebhookDeliveryDetail>;
|
|
1954
2141
|
};
|
|
1955
2142
|
};
|
|
1956
2143
|
};
|
|
@@ -2004,13 +2191,14 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2004
2191
|
}, ListAgentsOptions>>;
|
|
2005
2192
|
get(agentId: string): Promise<AgentEntity>;
|
|
2006
2193
|
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
2194
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
2007
2195
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentEntity>;
|
|
2008
2196
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
2009
2197
|
};
|
|
2010
2198
|
workspaces: {
|
|
2011
2199
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
2012
2200
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
2013
|
-
enable(
|
|
2201
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
2014
2202
|
};
|
|
2015
2203
|
tools: {
|
|
2016
2204
|
connections: {
|
|
@@ -2079,6 +2267,11 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2079
2267
|
list(options?: ListVoicesOptions): Promise<PaginatedResult<VoiceListResponse, ListVoicesOptions>>;
|
|
2080
2268
|
};
|
|
2081
2269
|
apiKeys: ApiKeysApi;
|
|
2270
|
+
calls: {
|
|
2271
|
+
list(options?: ListCallsOptions): Promise<PaginatedResult<CallsListResponse, ListCallsOptions>>;
|
|
2272
|
+
stream(options: StreamCallsOptions): Promise<CallsStreamResponse>;
|
|
2273
|
+
get(callId: string): Promise<Call>;
|
|
2274
|
+
};
|
|
2082
2275
|
webhooks: {
|
|
2083
2276
|
list(options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookListResponse, ListWebhooksOptions>>;
|
|
2084
2277
|
create(payload: CreateWebhookRequest): Promise<WebhookDetail>;
|
|
@@ -2090,6 +2283,8 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2090
2283
|
getSubscription(webhookId: string, subscriptionId: string): Promise<EventSubscriptionDetail>;
|
|
2091
2284
|
updateSubscription(webhookId: string, subscriptionId: string, payload: UpdateEventSubscriptionRequest): Promise<EventSubscriptionDetail>;
|
|
2092
2285
|
deleteSubscription(webhookId: string, subscriptionId: string): Promise<void>;
|
|
2286
|
+
listDeliveries(webhookId: string, options?: ListWebhooksOptions): Promise<PaginatedResult<WebhookDeliveryListResponse, ListWebhooksOptions>>;
|
|
2287
|
+
getDelivery(webhookId: string, deliveryId: string): Promise<WebhookDeliveryDetail>;
|
|
2093
2288
|
};
|
|
2094
2289
|
};
|
|
2095
2290
|
|
|
@@ -2116,4 +2311,4 @@ declare function createHttp(cfg: ClientConfig & {
|
|
|
2116
2311
|
resolveAccessToken: () => string;
|
|
2117
2312
|
};
|
|
2118
2313
|
|
|
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 };
|
|
2314
|
+
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 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 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 ListCallsOptions, 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, type StreamCallsOptions, 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 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, createCallsApi, createCampaignsApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createHttp, createToolsApi, createVoicesApi, createWebhooksApi, createWorkspacesApi, isApiErrorBody, isApiHttpError };
|