@getsupervisor/agents-studio-sdk 1.41.2-patch.6 → 1.41.2-patch.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +46 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81 -59
- package/dist/index.d.ts +81 -59
- package/dist/index.js +46 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
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: {
|
|
@@ -66,7 +58,7 @@ type components = {
|
|
|
66
58
|
name: string;
|
|
67
59
|
description?: string | null;
|
|
68
60
|
agentType: 'chat' | 'voice';
|
|
69
|
-
status?: 'inactive' | 'training' | 'active';
|
|
61
|
+
status?: 'inactive' | 'training' | 'active' | null;
|
|
70
62
|
avatarUrl?: string | null;
|
|
71
63
|
debounceDelayMs?: number | null;
|
|
72
64
|
metadata?: {
|
|
@@ -243,9 +235,9 @@ type components = {
|
|
|
243
235
|
voiceId?: string | null;
|
|
244
236
|
startSpeaker: 'user' | 'agent';
|
|
245
237
|
requiredData: string[];
|
|
246
|
-
criticalRules
|
|
247
|
-
topicsAllowed
|
|
248
|
-
topicsForbidden
|
|
238
|
+
criticalRules: string[];
|
|
239
|
+
topicsAllowed: string[];
|
|
240
|
+
topicsForbidden: string[];
|
|
249
241
|
contentHash: string | null;
|
|
250
242
|
contentVariables: string[];
|
|
251
243
|
variablesCache: string[];
|
|
@@ -320,7 +312,7 @@ type components = {
|
|
|
320
312
|
name: string;
|
|
321
313
|
title?: string | null;
|
|
322
314
|
goalPrompt: string;
|
|
323
|
-
promptInstructions
|
|
315
|
+
promptInstructions: string[];
|
|
324
316
|
order?: number | null;
|
|
325
317
|
triggers?: components['schemas']['BlueprintStageTriggerInput'][] | null;
|
|
326
318
|
metadata?: {
|
|
@@ -331,7 +323,7 @@ type components = {
|
|
|
331
323
|
name?: string;
|
|
332
324
|
title?: string | null;
|
|
333
325
|
goalPrompt?: string;
|
|
334
|
-
promptInstructions
|
|
326
|
+
promptInstructions: string[];
|
|
335
327
|
order?: number | null;
|
|
336
328
|
metadata?: {
|
|
337
329
|
[key: string]: unknown;
|
|
@@ -367,9 +359,9 @@ type components = {
|
|
|
367
359
|
name: string;
|
|
368
360
|
title?: string | null;
|
|
369
361
|
goalPrompt: string;
|
|
370
|
-
promptInstructions
|
|
362
|
+
promptInstructions: string[];
|
|
371
363
|
order?: number | null;
|
|
372
|
-
triggers
|
|
364
|
+
triggers: components['schemas']['BlueprintStageTriggerInput'][] | null;
|
|
373
365
|
metadata?: {
|
|
374
366
|
[key: string]: unknown;
|
|
375
367
|
} | null;
|
|
@@ -378,7 +370,7 @@ type components = {
|
|
|
378
370
|
agent_id: string;
|
|
379
371
|
phone_id: string;
|
|
380
372
|
test_phones?: string[];
|
|
381
|
-
allow_all
|
|
373
|
+
allow_all: boolean;
|
|
382
374
|
};
|
|
383
375
|
PhoneAssignmentResponse: {
|
|
384
376
|
agent_id: string;
|
|
@@ -391,7 +383,7 @@ type components = {
|
|
|
391
383
|
WorkspacePhone: {
|
|
392
384
|
id: string;
|
|
393
385
|
external_id: string;
|
|
394
|
-
channel?: 'voice';
|
|
386
|
+
channel?: 'voice' | null;
|
|
395
387
|
supports_outbound?: boolean | null;
|
|
396
388
|
assigned_to?: string | null;
|
|
397
389
|
last_used_at?: string | null;
|
|
@@ -460,6 +452,8 @@ type components = {
|
|
|
460
452
|
metadata?: {
|
|
461
453
|
[key: string]: unknown;
|
|
462
454
|
};
|
|
455
|
+
descriptionUsage?: string;
|
|
456
|
+
usageExample?: string;
|
|
463
457
|
auth?: components['schemas']['ToolConnectionAuth'];
|
|
464
458
|
};
|
|
465
459
|
ToolConnectionResponse: {
|
|
@@ -474,6 +468,8 @@ type components = {
|
|
|
474
468
|
metadata?: {
|
|
475
469
|
[key: string]: unknown;
|
|
476
470
|
};
|
|
471
|
+
descriptionUsage?: string | null;
|
|
472
|
+
usageExample?: string | null;
|
|
477
473
|
};
|
|
478
474
|
ToolConnectionAuth: {
|
|
479
475
|
type: 'none' | 'oauth2' | 'api_key' | 'custom';
|
|
@@ -506,7 +502,7 @@ type components = {
|
|
|
506
502
|
self: string;
|
|
507
503
|
catalog: string;
|
|
508
504
|
};
|
|
509
|
-
CatalogItemSummary:
|
|
505
|
+
CatalogItemSummary: {
|
|
510
506
|
id: string;
|
|
511
507
|
type: 'language' | 'message_style' | 'tone_style' | 'tag' | 'voice';
|
|
512
508
|
systemIdentifier: string;
|
|
@@ -519,13 +515,13 @@ type components = {
|
|
|
519
515
|
createdAt: string;
|
|
520
516
|
updatedAt: string;
|
|
521
517
|
links: components['schemas']['CatalogItemLinks'];
|
|
522
|
-
}
|
|
518
|
+
} & (unknown & unknown & unknown & unknown & unknown);
|
|
523
519
|
CatalogItemDetail: components['schemas']['CatalogItemSummary'];
|
|
524
520
|
CatalogItemListResponse: {
|
|
525
521
|
data: components['schemas']['CatalogItemSummary'][];
|
|
526
522
|
meta: components['schemas']['PaginationMeta'];
|
|
527
523
|
};
|
|
528
|
-
CatalogItemCreateRequest:
|
|
524
|
+
CatalogItemCreateRequest: {
|
|
529
525
|
type: 'language' | 'message_style' | 'tone_style' | 'tag' | 'voice';
|
|
530
526
|
scope: 'global' | 'workspace';
|
|
531
527
|
workspaceId?: string;
|
|
@@ -533,13 +529,12 @@ type components = {
|
|
|
533
529
|
description: string;
|
|
534
530
|
systemIdentifier?: string;
|
|
535
531
|
metadata: Record<string, never>;
|
|
536
|
-
isActive
|
|
537
|
-
}
|
|
532
|
+
isActive: boolean;
|
|
533
|
+
} & (unknown & unknown & unknown & unknown & unknown & unknown);
|
|
538
534
|
WorkspaceEnableRequest: {
|
|
539
535
|
apiKey: string;
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
};
|
|
536
|
+
phone: string;
|
|
537
|
+
speechAnalyticsAgentId: string;
|
|
543
538
|
};
|
|
544
539
|
WorkspaceEnableResponse: {
|
|
545
540
|
status: 'enabled';
|
|
@@ -552,6 +547,7 @@ type components = {
|
|
|
552
547
|
details?: {
|
|
553
548
|
subcode?: string;
|
|
554
549
|
workspaceId?: string;
|
|
550
|
+
} & {
|
|
555
551
|
[key: string]: unknown;
|
|
556
552
|
};
|
|
557
553
|
};
|
|
@@ -581,7 +577,7 @@ type components = {
|
|
|
581
577
|
url: string;
|
|
582
578
|
agentId?: string | null;
|
|
583
579
|
description?: string | null;
|
|
584
|
-
isActive
|
|
580
|
+
isActive: boolean;
|
|
585
581
|
headers?: {
|
|
586
582
|
[key: string]: string;
|
|
587
583
|
};
|
|
@@ -611,7 +607,7 @@ type components = {
|
|
|
611
607
|
};
|
|
612
608
|
CreateEventSubscriptionRequest: {
|
|
613
609
|
eventKey: string;
|
|
614
|
-
isActive
|
|
610
|
+
isActive: boolean;
|
|
615
611
|
};
|
|
616
612
|
UpdateEventSubscriptionRequest: {
|
|
617
613
|
isActive?: boolean;
|
|
@@ -698,9 +694,16 @@ type components = {
|
|
|
698
694
|
templateVersionId?: string;
|
|
699
695
|
name?: string | null;
|
|
700
696
|
description?: string | null;
|
|
701
|
-
status?: 'inactive' | 'training' | 'active';
|
|
697
|
+
status?: 'inactive' | 'training' | 'active' | null;
|
|
702
698
|
debounceDelayMs?: number | null;
|
|
703
699
|
};
|
|
700
|
+
CloneAgentRequest: {
|
|
701
|
+
name: string;
|
|
702
|
+
description?: string | null;
|
|
703
|
+
status?: 'inactive' | 'training' | 'active' | null;
|
|
704
|
+
versionId: string;
|
|
705
|
+
clone: ('instructions' | 'tools' | 'webhooks' | 'stages' | 'triggers' | 'businessHours' | 'businessHourExceptions')[];
|
|
706
|
+
};
|
|
704
707
|
AgentScheduleListResponse: {
|
|
705
708
|
data: components['schemas']['AgentSchedule'][];
|
|
706
709
|
meta: components['schemas']['PaginationMeta'];
|
|
@@ -755,12 +758,9 @@ type components = {
|
|
|
755
758
|
description?: string;
|
|
756
759
|
notes?: string[];
|
|
757
760
|
prompts?: components['schemas']['ToolConfigSchemaActionPrompts'];
|
|
758
|
-
schema:
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
},
|
|
762
|
-
boolean
|
|
763
|
-
]>;
|
|
761
|
+
schema: {
|
|
762
|
+
[key: string]: unknown;
|
|
763
|
+
} | boolean;
|
|
764
764
|
};
|
|
765
765
|
ToolConfigSchema: {
|
|
766
766
|
schemaVersion: 'json-schema/2020-12';
|
|
@@ -833,6 +833,8 @@ type components = {
|
|
|
833
833
|
metadata?: {
|
|
834
834
|
[key: string]: unknown;
|
|
835
835
|
};
|
|
836
|
+
descriptionUsage?: string;
|
|
837
|
+
usageExample?: string;
|
|
836
838
|
auth?: components['schemas']['ToolConnectionAuth'];
|
|
837
839
|
};
|
|
838
840
|
ExecuteToolConnectionRequest: {
|
|
@@ -848,11 +850,13 @@ type components = {
|
|
|
848
850
|
CatalogItemMessageStyleMetadata: {
|
|
849
851
|
register?: string | null;
|
|
850
852
|
sample?: string | null;
|
|
853
|
+
} & {
|
|
851
854
|
[key: string]: unknown;
|
|
852
855
|
};
|
|
853
856
|
CatalogItemToneStyleMetadata: {
|
|
854
857
|
mood?: string | null;
|
|
855
858
|
intensity?: string | null;
|
|
859
|
+
} & {
|
|
856
860
|
[key: string]: unknown;
|
|
857
861
|
};
|
|
858
862
|
CatalogItemTagMetadata: {
|
|
@@ -882,31 +886,34 @@ type components = {
|
|
|
882
886
|
ToolId: string;
|
|
883
887
|
ResourceId: string;
|
|
884
888
|
CatalogItemId: string;
|
|
885
|
-
PageParam
|
|
886
|
-
LimitParam
|
|
887
|
-
Page
|
|
888
|
-
Limit
|
|
889
|
-
SortParam
|
|
890
|
-
FieldsParam
|
|
891
|
-
IncludeParam
|
|
892
|
-
SearchParam
|
|
893
|
-
FilterParam
|
|
889
|
+
PageParam: number;
|
|
890
|
+
LimitParam: number;
|
|
891
|
+
Page: number;
|
|
892
|
+
Limit: number;
|
|
893
|
+
SortParam: string;
|
|
894
|
+
FieldsParam: string;
|
|
895
|
+
IncludeParam: string;
|
|
896
|
+
SearchParam: string;
|
|
897
|
+
FilterParam: components['schemas']['QueryFilters'];
|
|
894
898
|
WebhookId: string;
|
|
895
899
|
SubscriptionId: string;
|
|
896
900
|
CallId: string;
|
|
897
|
-
AgentBatchIdQuery
|
|
898
|
-
AgentIdQuery
|
|
899
|
-
ExecutionIdQuery
|
|
900
|
-
RecordedAfterParam
|
|
901
|
-
RecordedBeforeParam
|
|
901
|
+
AgentBatchIdQuery: string;
|
|
902
|
+
AgentIdQuery: string;
|
|
903
|
+
ExecutionIdQuery: string;
|
|
904
|
+
RecordedAfterParam: string;
|
|
905
|
+
RecordedBeforeParam: string;
|
|
902
906
|
CallsAfterParam: string;
|
|
903
|
-
CallsStreamLimitParam
|
|
904
|
-
OrParam
|
|
907
|
+
CallsStreamLimitParam: number;
|
|
908
|
+
OrParam: components['schemas']['QueryOrGroups'];
|
|
905
909
|
ScheduleId: string;
|
|
906
910
|
ApiKeyId: string;
|
|
907
|
-
XCacheRefresh
|
|
911
|
+
XCacheRefresh: boolean;
|
|
908
912
|
IdempotencyKey: string;
|
|
909
|
-
XApiKey
|
|
913
|
+
XApiKey: string;
|
|
914
|
+
DurationBucketQuery: 'short' | 'medium' | 'long';
|
|
915
|
+
GoalStatusQuery: 'achieved' | 'not_achieved';
|
|
916
|
+
SearchQuery: string;
|
|
910
917
|
};
|
|
911
918
|
requestBodies: never;
|
|
912
919
|
headers: never;
|
|
@@ -959,6 +966,12 @@ type AgentDetail = components['schemas']['AgentDetail'];
|
|
|
959
966
|
type AgentSummary = components['schemas']['AgentSummary'];
|
|
960
967
|
type AgentListResponse = components['schemas']['AgentListResponse'];
|
|
961
968
|
type CreateAgentRequest = components['schemas']['CreateAgentRequest'];
|
|
969
|
+
type CloneAgentRequest = components['schemas']['CloneAgentRequest'];
|
|
970
|
+
type CloneAgentComponent = CloneAgentRequest['clone'][number];
|
|
971
|
+
type CloneAgentSelection = CloneAgentComponent[] | Partial<Record<CloneAgentComponent, boolean>>;
|
|
972
|
+
type CloneAgentPayload = Omit<CloneAgentRequest, 'clone'> & {
|
|
973
|
+
clone?: CloneAgentSelection;
|
|
974
|
+
};
|
|
962
975
|
type ForkAgentFromTemplateRequest = components['schemas']['ForkAgentFromTemplateRequest'];
|
|
963
976
|
type UpdateAgentRequest = components['schemas']['UpdateAgentRequest'];
|
|
964
977
|
type AgentTagRequest = components['schemas']['AgentTagRequest'];
|
|
@@ -1277,7 +1290,7 @@ type AgentStagesApi$1 = {
|
|
|
1277
1290
|
list(agentId: string, blueprintId: string, options?: ListAgentStagesOptions): Promise<PaginatedResult<BlueprintStageListResponse, ListAgentStagesOptions>>;
|
|
1278
1291
|
get(agentId: string, blueprintId: string, stageId: string): Promise<BlueprintStage>;
|
|
1279
1292
|
create(agentId: string, blueprintId: string, payload: CreateBlueprintStageRequest): Promise<BlueprintStage>;
|
|
1280
|
-
update(agentId: string, blueprintId: string, stageId: string, payload: UpdateBlueprintStageRequest): Promise<BlueprintStage>;
|
|
1293
|
+
update(agentId: string, blueprintId: string, stageId: string, payload: Partial<UpdateBlueprintStageRequest>): Promise<BlueprintStage>;
|
|
1281
1294
|
delete(agentId: string, blueprintId: string, stageId: string): Promise<void>;
|
|
1282
1295
|
reorder(agentId: string, blueprintId: string, payload: BlueprintStageReorderRequest): Promise<BlueprintStageListResponse>;
|
|
1283
1296
|
};
|
|
@@ -1335,6 +1348,7 @@ interface AgentEntity extends AgentBase {
|
|
|
1335
1348
|
blueprints: AgentBlueprintsHelper;
|
|
1336
1349
|
stages: AgentStagesHelper;
|
|
1337
1350
|
save(patch: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1351
|
+
clone(payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1338
1352
|
delete(): Promise<void>;
|
|
1339
1353
|
refresh(): Promise<AgentEntity>;
|
|
1340
1354
|
}
|
|
@@ -1350,6 +1364,7 @@ type AgentEntityFactoryOptions = {
|
|
|
1350
1364
|
reload(agentId: string): Promise<AgentEntity>;
|
|
1351
1365
|
updateAgent(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1352
1366
|
deleteAgent(agentId: string): Promise<void>;
|
|
1367
|
+
cloneAgent(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1353
1368
|
};
|
|
1354
1369
|
declare const bindAgentStageTriggers: (api: AgentStageTriggersApi, agentId: string, blueprintId: string, stageId: string) => {
|
|
1355
1370
|
list(opts?: ListAgentStageTriggersOptions): Promise<PaginatedResult<{
|
|
@@ -1730,6 +1745,7 @@ type AgentsApi = {
|
|
|
1730
1745
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<AgentListResponse, ListAgentsOptions>>;
|
|
1731
1746
|
get(agentId: string): Promise<AgentDetail>;
|
|
1732
1747
|
create(payload: CreateAgentRequest): Promise<AgentDetail>;
|
|
1748
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentDetail>;
|
|
1733
1749
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentDetail>;
|
|
1734
1750
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentDetail>;
|
|
1735
1751
|
delete(agent: string | AgentEntity): Promise<void>;
|
|
@@ -1738,10 +1754,11 @@ type AgentListResponseWithEntities = {
|
|
|
1738
1754
|
data: AgentEntity[];
|
|
1739
1755
|
meta: AgentListResponse['meta'];
|
|
1740
1756
|
};
|
|
1741
|
-
type AgentsApiWithEntities = Omit<AgentsApi, 'get' | 'create' | 'update' | 'list' | 'forkFromTemplate'> & {
|
|
1757
|
+
type AgentsApiWithEntities = Omit<AgentsApi, 'get' | 'create' | 'clone' | 'update' | 'list' | 'forkFromTemplate'> & {
|
|
1742
1758
|
list(options?: ListAgentsOptions): Promise<PaginatedResult<AgentListResponseWithEntities, ListAgentsOptions>>;
|
|
1743
1759
|
get(agentId: string): Promise<AgentEntity>;
|
|
1744
1760
|
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
1761
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1745
1762
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentEntity>;
|
|
1746
1763
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1747
1764
|
};
|
|
@@ -1775,6 +1792,9 @@ type StreamCallsOptions = {
|
|
|
1775
1792
|
agentBatchId?: string;
|
|
1776
1793
|
agentId?: string;
|
|
1777
1794
|
executionId?: string;
|
|
1795
|
+
durationBucket?: 'short' | 'medium' | 'long';
|
|
1796
|
+
goalStatus?: 'achieved' | 'not_achieved';
|
|
1797
|
+
query?: string;
|
|
1778
1798
|
};
|
|
1779
1799
|
declare function createCallsApi(cfg: ClientConfig & {
|
|
1780
1800
|
retry?: RetryPolicy;
|
|
@@ -1898,7 +1918,7 @@ declare function createWorkspacesApi(cfg: ClientConfig & {
|
|
|
1898
1918
|
}): {
|
|
1899
1919
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
1900
1920
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
1901
|
-
enable(
|
|
1921
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
1902
1922
|
};
|
|
1903
1923
|
|
|
1904
1924
|
declare function createClient(initialCfg: ClientConfig & {
|
|
@@ -1987,13 +2007,14 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
1987
2007
|
}, ListAgentsOptions>>;
|
|
1988
2008
|
get(agentId: string): Promise<AgentEntity>;
|
|
1989
2009
|
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
2010
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
1990
2011
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentEntity>;
|
|
1991
2012
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
1992
2013
|
};
|
|
1993
2014
|
workspaces: {
|
|
1994
2015
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
1995
2016
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
1996
|
-
enable(
|
|
2017
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
1997
2018
|
};
|
|
1998
2019
|
tools: {
|
|
1999
2020
|
connections: {
|
|
@@ -2131,13 +2152,14 @@ declare function createClient(initialCfg: ClientConfig & {
|
|
|
2131
2152
|
}, ListAgentsOptions>>;
|
|
2132
2153
|
get(agentId: string): Promise<AgentEntity>;
|
|
2133
2154
|
create(payload: CreateAgentRequest): Promise<AgentEntity>;
|
|
2155
|
+
clone(agentId: string, payload: CloneAgentPayload): Promise<AgentEntity>;
|
|
2134
2156
|
forkFromTemplate(payload: ForkAgentFromTemplateRequest): Promise<AgentEntity>;
|
|
2135
2157
|
update(agentId: string, payload: UpdateAgentRequest): Promise<AgentEntity>;
|
|
2136
2158
|
};
|
|
2137
2159
|
workspaces: {
|
|
2138
2160
|
list(options?: ListWorkspacesOptions): Promise<PaginatedResult<WorkspaceListResponse, ListWorkspacesOptions>>;
|
|
2139
2161
|
listPhones(workspaceId: string, opts?: ListWorkspacePhonesOptions): Promise<PaginatedResult<WorkspacePhonesResponse, ListWorkspacePhonesOptions>>;
|
|
2140
|
-
enable(
|
|
2162
|
+
enable(payload: WorkspaceEnableRequest): Promise<WorkspaceEnableResponse>;
|
|
2141
2163
|
};
|
|
2142
2164
|
tools: {
|
|
2143
2165
|
connections: {
|
|
@@ -2248,4 +2270,4 @@ declare function createHttp(cfg: ClientConfig & {
|
|
|
2248
2270
|
resolveAccessToken: () => string;
|
|
2249
2271
|
};
|
|
2250
2272
|
|
|
2251
|
-
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 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 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 };
|
|
2273
|
+
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 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 };
|