@getsupervisor/agents-studio-sdk 1.36.1 → 1.38.0

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.d.cts CHANGED
@@ -142,6 +142,7 @@ type components = {
142
142
  slot?: components['schemas']['AgentScheduleSlot'] | null;
143
143
  };
144
144
  AgentSchedule: {
145
+ id: string;
145
146
  agentId: string;
146
147
  isEnabled: boolean;
147
148
  timezone: string;
@@ -238,6 +239,7 @@ type components = {
238
239
  personalityInitialGreeting: string;
239
240
  personalityMessageStyleId: string;
240
241
  personalityToneStyleId: string;
242
+ voiceId?: string | null;
241
243
  startSpeaker: 'user' | 'agent';
242
244
  requiredData: string[];
243
245
  criticalRules?: string[];
@@ -265,6 +267,7 @@ type components = {
265
267
  personalityInitialGreeting: string;
266
268
  personalityMessageStyleId: string;
267
269
  personalityToneStyleId: string;
270
+ voiceId?: string | null;
268
271
  startSpeaker: 'user' | 'agent';
269
272
  requiredData?: string[];
270
273
  criticalRules?: string[];
@@ -280,6 +283,7 @@ type components = {
280
283
  personalityInitialGreeting?: string;
281
284
  personalityMessageStyleId?: string;
282
285
  personalityToneStyleId?: string;
286
+ voiceId?: string | null;
283
287
  startSpeaker?: 'user' | 'agent';
284
288
  requiredData?: string[];
285
289
  criticalRules?: string[];
@@ -469,7 +473,6 @@ type components = {
469
473
  };
470
474
  };
471
475
  ExecuteToolRequest: {
472
- workspaceId: string;
473
476
  agentId: string;
474
477
  action: string;
475
478
  args?: {
@@ -609,6 +612,10 @@ type components = {
609
612
  status?: 'inactive' | 'training' | 'active';
610
613
  debounceDelayMs?: number | null;
611
614
  };
615
+ AgentScheduleListResponse: {
616
+ data: components['schemas']['AgentSchedule'][];
617
+ meta: components['schemas']['PaginationMeta'];
618
+ };
612
619
  BlueprintStageTriggerCondition: {
613
620
  type: 'intent' | 'rule' | 'expression';
614
621
  value: string;
@@ -715,6 +722,8 @@ type components = {
715
722
  FilterParam?: components['schemas']['QueryFilters'];
716
723
  WebhookId: string;
717
724
  SubscriptionId: string;
725
+ OrParam?: components['schemas']['QueryOrGroups'];
726
+ ScheduleId: string;
718
727
  ApiKeyId: string;
719
728
  IdempotencyKey: string;
720
729
  };
@@ -844,7 +853,14 @@ type CreateApiKeyRequest = {
844
853
  type CreateApiKeyResponse = ApiKeySummary & {
845
854
  key: string;
846
855
  };
847
- type AgentSchedule = components['schemas']['AgentSchedule'];
856
+ type AgentScheduleSchema = components['schemas']['AgentSchedule'];
857
+ type AgentSchedule = AgentScheduleSchema & {
858
+ id: string;
859
+ };
860
+ type AgentScheduleListResponse = {
861
+ data: AgentSchedule[];
862
+ meta: PaginationMeta;
863
+ };
848
864
  type UpdateAgentScheduleRequest = components['schemas']['UpdateAgentScheduleRequest'];
849
865
  type AgentScheduleException = components['schemas']['AgentScheduleException'];
850
866
  type AgentScheduleExceptionListResponse = components['schemas']['AgentScheduleExceptionListResponse'];
@@ -1023,13 +1039,16 @@ declare function createAgentScheduleExceptionsApi(cfg: ClientConfig & {
1023
1039
  delete(agentId: string, exceptionId: string): Promise<void>;
1024
1040
  };
1025
1041
 
1026
- declare function createAgentScheduleApi(cfg: ClientConfig & {
1027
- retry?: RetryPolicy;
1028
- }): {
1029
- get(agentId: string): Promise<AgentSchedule>;
1042
+ type ListAgentSchedulesOptions = ListQueryOptions;
1043
+ type AgentScheduleApi = {
1044
+ list(agentId: string, options?: ListAgentSchedulesOptions): Promise<PaginatedResult<AgentScheduleListResponse, ListAgentSchedulesOptions>>;
1045
+ get(agentId: string, scheduleId: string): Promise<AgentSchedule>;
1030
1046
  create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1031
- update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1047
+ update(agentId: string, scheduleId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1032
1048
  };
1049
+ declare function createAgentScheduleApi(cfg: ClientConfig & {
1050
+ retry?: RetryPolicy;
1051
+ }): AgentScheduleApi;
1033
1052
 
1034
1053
  type ListAgentStageTriggersOptions = ListQueryOptions;
1035
1054
  type AgentStageTriggersApi$1 = {
@@ -1082,15 +1101,15 @@ declare function createAgentVersionsApi(cfg: ClientConfig & {
1082
1101
 
1083
1102
  type AgentTagsApi = ReturnType<typeof createAgentTagsApi>;
1084
1103
  type AgentPhonesApi = ReturnType<typeof createAgentPhonesApi>;
1085
- type AgentScheduleApi = ReturnType<typeof createAgentScheduleApi>;
1086
1104
  type AgentScheduleExceptionsApi = ReturnType<typeof createAgentScheduleExceptionsApi>;
1105
+ type AgentSchedulesApi = AgentScheduleApi;
1087
1106
  type AgentVersionsApi = ReturnType<typeof createAgentVersionsApi>;
1088
1107
  type AgentBlueprintsApi = ReturnType<typeof createAgentBlueprintsApi>;
1089
1108
  type AgentStagesApi = ReturnType<typeof createAgentStagesApi>;
1090
1109
  type AgentStageTriggersApi = ReturnType<typeof createAgentStageTriggersApi>;
1091
1110
  type AgentTagsHelper = ReturnType<typeof bindAgentTags>;
1092
1111
  type AgentPhonesHelper = ReturnType<typeof bindAgentPhones>;
1093
- type AgentScheduleHelper = ReturnType<typeof bindAgentSchedule>;
1112
+ type AgentSchedulesHelper = ReturnType<typeof bindAgentSchedules>;
1094
1113
  type AgentVersionsHelper = ReturnType<typeof bindAgentVersions>;
1095
1114
  type AgentBlueprintsHelper = ReturnType<typeof bindAgentBlueprints>;
1096
1115
  type AgentStageTriggersHelper = ReturnType<typeof bindAgentStageTriggers>;
@@ -1100,7 +1119,8 @@ interface AgentEntity extends AgentBase {
1100
1119
  agentId: string;
1101
1120
  tagAssignments: AgentTagsHelper;
1102
1121
  phones: AgentPhonesHelper;
1103
- schedule: AgentScheduleHelper;
1122
+ schedule: AgentSchedulesHelper;
1123
+ schedules: AgentSchedulesHelper;
1104
1124
  versions: AgentVersionsHelper;
1105
1125
  blueprints: AgentBlueprintsHelper;
1106
1126
  stages: AgentStagesHelper;
@@ -1111,7 +1131,7 @@ interface AgentEntity extends AgentBase {
1111
1131
  type AgentEntityFactoryOptions = {
1112
1132
  tagsApi: AgentTagsApi;
1113
1133
  phonesApi: AgentPhonesApi;
1114
- scheduleApi: AgentScheduleApi;
1134
+ scheduleApi: AgentSchedulesApi;
1115
1135
  scheduleExceptionsApi: AgentScheduleExceptionsApi;
1116
1136
  versionsApi: AgentVersionsApi;
1117
1137
  blueprintsApi: AgentBlueprintsApi;
@@ -1252,46 +1272,81 @@ declare const bindAgentScheduleExceptions: (api: AgentScheduleExceptionsApi, age
1252
1272
  }>;
1253
1273
  delete(exceptionId: string): Promise<void>;
1254
1274
  };
1255
- declare const bindAgentSchedule: (scheduleApi: AgentScheduleApi, exceptionsApi: AgentScheduleExceptionsApi, agentId: string) => {
1256
- get(): Promise<{
1257
- agentId: string;
1258
- isEnabled: boolean;
1259
- timezone: string;
1260
- outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
1261
- outOfHoursMessage?: string | null;
1262
- rules: components["schemas"]["AgentScheduleRule"][];
1263
- metadata?: {
1264
- [key: string]: unknown;
1265
- };
1266
- createdAt: string;
1267
- updatedAt: string;
1268
- }>;
1269
- create(payload: UpdateAgentScheduleRequest): Promise<{
1270
- agentId: string;
1271
- isEnabled: boolean;
1272
- timezone: string;
1273
- outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
1274
- outOfHoursMessage?: string | null;
1275
- rules: components["schemas"]["AgentScheduleRule"][];
1276
- metadata?: {
1277
- [key: string]: unknown;
1278
- };
1279
- createdAt: string;
1280
- updatedAt: string;
1281
- }>;
1282
- update(payload: UpdateAgentScheduleRequest): Promise<{
1283
- agentId: string;
1284
- isEnabled: boolean;
1285
- timezone: string;
1286
- outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
1287
- outOfHoursMessage?: string | null;
1288
- rules: components["schemas"]["AgentScheduleRule"][];
1289
- metadata?: {
1290
- [key: string]: unknown;
1291
- };
1292
- createdAt: string;
1293
- updatedAt: string;
1294
- }>;
1275
+ declare const bindAgentSchedules: (scheduleApi: AgentSchedulesApi, exceptionsApi: AgentScheduleExceptionsApi, agentId: string) => {
1276
+ list(options?: ListAgentSchedulesOptions): Promise<PaginatedResult<AgentScheduleListResponse, Partial<{
1277
+ page: number;
1278
+ limit: number;
1279
+ sort: string | string[];
1280
+ fields: string | string[];
1281
+ include: string | string[];
1282
+ search: string;
1283
+ filter: QueryFilters | QueryBuilderInput;
1284
+ or: QueryOrGroups | QueryBuilderInput;
1285
+ }>>>;
1286
+ get(scheduleId: string): Promise<AgentSchedule>;
1287
+ create(payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1288
+ update(scheduleId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1289
+ exceptions: {
1290
+ list(opts?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<{
1291
+ data: components["schemas"]["AgentScheduleException"][];
1292
+ meta: components["schemas"]["PaginationMeta"];
1293
+ }, Partial<{
1294
+ page: number;
1295
+ limit: number;
1296
+ sort: string | string[];
1297
+ fields: string | string[];
1298
+ include: string | string[];
1299
+ search: string;
1300
+ filter: QueryFilters | QueryBuilderInput;
1301
+ or: QueryOrGroups | QueryBuilderInput;
1302
+ }>>>;
1303
+ get(exceptionId: string): Promise<{
1304
+ id: string;
1305
+ agentId: string;
1306
+ exceptionDate: string;
1307
+ isClosed: boolean;
1308
+ startTime?: string | null;
1309
+ endTime?: string | null;
1310
+ reason?: string | null;
1311
+ createdAt: string;
1312
+ }>;
1313
+ create(payload: CreateAgentScheduleExceptionRequest): Promise<{
1314
+ id: string;
1315
+ agentId: string;
1316
+ exceptionDate: string;
1317
+ isClosed: boolean;
1318
+ startTime?: string | null;
1319
+ endTime?: string | null;
1320
+ reason?: string | null;
1321
+ createdAt: string;
1322
+ }>;
1323
+ update(exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<{
1324
+ id: string;
1325
+ agentId: string;
1326
+ exceptionDate: string;
1327
+ isClosed: boolean;
1328
+ startTime?: string | null;
1329
+ endTime?: string | null;
1330
+ reason?: string | null;
1331
+ createdAt: string;
1332
+ }>;
1333
+ delete(exceptionId: string): Promise<void>;
1334
+ };
1335
+ };
1336
+ declare const bindAgentSchedule: (scheduleApi: AgentSchedulesApi, exceptionsApi: AgentScheduleExceptionsApi, agentId: string) => {
1337
+ list(options?: ListAgentSchedulesOptions): Promise<PaginatedResult<AgentScheduleListResponse, Partial<{
1338
+ page: number;
1339
+ limit: number;
1340
+ sort: string | string[];
1341
+ fields: string | string[];
1342
+ include: string | string[];
1343
+ search: string;
1344
+ filter: QueryFilters | QueryBuilderInput;
1345
+ or: QueryOrGroups | QueryBuilderInput;
1346
+ }>>>;
1347
+ get(scheduleId: string): Promise<AgentSchedule>;
1348
+ create(payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1349
+ update(scheduleId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1295
1350
  exceptions: {
1296
1351
  list(opts?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<{
1297
1352
  data: components["schemas"]["AgentScheduleException"][];
@@ -1624,11 +1679,16 @@ declare function createClient(initialCfg: ClientConfig & {
1624
1679
  connect(agentId: string, payload: ConnectPhoneRequest): Promise<PhoneAssignmentResponse>;
1625
1680
  disconnect(agentId: string, phoneId: string): Promise<void>;
1626
1681
  } & ((agentId: string) => ReturnType<typeof bindAgentPhones>);
1627
- schedule: {
1628
- get(agentId: string): Promise<AgentSchedule>;
1629
- create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1630
- update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1631
- } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>) & {
1682
+ schedule: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1683
+ exceptions: {
1684
+ list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1685
+ get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
1686
+ create(agentId: string, payload: CreateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1687
+ update(agentId: string, exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1688
+ delete(agentId: string, exceptionId: string): Promise<void>;
1689
+ } & ((agentId: string) => ReturnType<typeof bindAgentScheduleExceptions>);
1690
+ };
1691
+ schedules: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1632
1692
  exceptions: {
1633
1693
  list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1634
1694
  get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
@@ -1726,11 +1786,16 @@ declare function createClient(initialCfg: ClientConfig & {
1726
1786
  connect(agentId: string, payload: ConnectPhoneRequest): Promise<PhoneAssignmentResponse>;
1727
1787
  disconnect(agentId: string, phoneId: string): Promise<void>;
1728
1788
  } & ((agentId: string) => ReturnType<typeof bindAgentPhones>);
1729
- schedule: {
1730
- get(agentId: string): Promise<AgentSchedule>;
1731
- create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1732
- update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1733
- } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>) & {
1789
+ schedule: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1790
+ exceptions: {
1791
+ list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1792
+ get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
1793
+ create(agentId: string, payload: CreateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1794
+ update(agentId: string, exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1795
+ delete(agentId: string, exceptionId: string): Promise<void>;
1796
+ } & ((agentId: string) => ReturnType<typeof bindAgentScheduleExceptions>);
1797
+ };
1798
+ schedules: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1734
1799
  exceptions: {
1735
1800
  list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1736
1801
  get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
@@ -1842,4 +1907,4 @@ declare function createHttp(cfg: ClientConfig & {
1842
1907
  resolveAccessToken: () => string;
1843
1908
  };
1844
1909
 
1845
- export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleException, type AgentScheduleExceptionListResponse, 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 ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, 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 CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateWebhookRequest, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, 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 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 WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createHttp, createToolsApi, createVoicesApi, createWebhooksApi, createWorkspacesApi };
1910
+ 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 ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, 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 CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateWebhookRequest, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, 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 ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, 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 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 WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createHttp, createToolsApi, createVoicesApi, createWebhooksApi, createWorkspacesApi };
package/dist/index.d.ts CHANGED
@@ -142,6 +142,7 @@ type components = {
142
142
  slot?: components['schemas']['AgentScheduleSlot'] | null;
143
143
  };
144
144
  AgentSchedule: {
145
+ id: string;
145
146
  agentId: string;
146
147
  isEnabled: boolean;
147
148
  timezone: string;
@@ -238,6 +239,7 @@ type components = {
238
239
  personalityInitialGreeting: string;
239
240
  personalityMessageStyleId: string;
240
241
  personalityToneStyleId: string;
242
+ voiceId?: string | null;
241
243
  startSpeaker: 'user' | 'agent';
242
244
  requiredData: string[];
243
245
  criticalRules?: string[];
@@ -265,6 +267,7 @@ type components = {
265
267
  personalityInitialGreeting: string;
266
268
  personalityMessageStyleId: string;
267
269
  personalityToneStyleId: string;
270
+ voiceId?: string | null;
268
271
  startSpeaker: 'user' | 'agent';
269
272
  requiredData?: string[];
270
273
  criticalRules?: string[];
@@ -280,6 +283,7 @@ type components = {
280
283
  personalityInitialGreeting?: string;
281
284
  personalityMessageStyleId?: string;
282
285
  personalityToneStyleId?: string;
286
+ voiceId?: string | null;
283
287
  startSpeaker?: 'user' | 'agent';
284
288
  requiredData?: string[];
285
289
  criticalRules?: string[];
@@ -469,7 +473,6 @@ type components = {
469
473
  };
470
474
  };
471
475
  ExecuteToolRequest: {
472
- workspaceId: string;
473
476
  agentId: string;
474
477
  action: string;
475
478
  args?: {
@@ -609,6 +612,10 @@ type components = {
609
612
  status?: 'inactive' | 'training' | 'active';
610
613
  debounceDelayMs?: number | null;
611
614
  };
615
+ AgentScheduleListResponse: {
616
+ data: components['schemas']['AgentSchedule'][];
617
+ meta: components['schemas']['PaginationMeta'];
618
+ };
612
619
  BlueprintStageTriggerCondition: {
613
620
  type: 'intent' | 'rule' | 'expression';
614
621
  value: string;
@@ -715,6 +722,8 @@ type components = {
715
722
  FilterParam?: components['schemas']['QueryFilters'];
716
723
  WebhookId: string;
717
724
  SubscriptionId: string;
725
+ OrParam?: components['schemas']['QueryOrGroups'];
726
+ ScheduleId: string;
718
727
  ApiKeyId: string;
719
728
  IdempotencyKey: string;
720
729
  };
@@ -844,7 +853,14 @@ type CreateApiKeyRequest = {
844
853
  type CreateApiKeyResponse = ApiKeySummary & {
845
854
  key: string;
846
855
  };
847
- type AgentSchedule = components['schemas']['AgentSchedule'];
856
+ type AgentScheduleSchema = components['schemas']['AgentSchedule'];
857
+ type AgentSchedule = AgentScheduleSchema & {
858
+ id: string;
859
+ };
860
+ type AgentScheduleListResponse = {
861
+ data: AgentSchedule[];
862
+ meta: PaginationMeta;
863
+ };
848
864
  type UpdateAgentScheduleRequest = components['schemas']['UpdateAgentScheduleRequest'];
849
865
  type AgentScheduleException = components['schemas']['AgentScheduleException'];
850
866
  type AgentScheduleExceptionListResponse = components['schemas']['AgentScheduleExceptionListResponse'];
@@ -1023,13 +1039,16 @@ declare function createAgentScheduleExceptionsApi(cfg: ClientConfig & {
1023
1039
  delete(agentId: string, exceptionId: string): Promise<void>;
1024
1040
  };
1025
1041
 
1026
- declare function createAgentScheduleApi(cfg: ClientConfig & {
1027
- retry?: RetryPolicy;
1028
- }): {
1029
- get(agentId: string): Promise<AgentSchedule>;
1042
+ type ListAgentSchedulesOptions = ListQueryOptions;
1043
+ type AgentScheduleApi = {
1044
+ list(agentId: string, options?: ListAgentSchedulesOptions): Promise<PaginatedResult<AgentScheduleListResponse, ListAgentSchedulesOptions>>;
1045
+ get(agentId: string, scheduleId: string): Promise<AgentSchedule>;
1030
1046
  create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1031
- update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1047
+ update(agentId: string, scheduleId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1032
1048
  };
1049
+ declare function createAgentScheduleApi(cfg: ClientConfig & {
1050
+ retry?: RetryPolicy;
1051
+ }): AgentScheduleApi;
1033
1052
 
1034
1053
  type ListAgentStageTriggersOptions = ListQueryOptions;
1035
1054
  type AgentStageTriggersApi$1 = {
@@ -1082,15 +1101,15 @@ declare function createAgentVersionsApi(cfg: ClientConfig & {
1082
1101
 
1083
1102
  type AgentTagsApi = ReturnType<typeof createAgentTagsApi>;
1084
1103
  type AgentPhonesApi = ReturnType<typeof createAgentPhonesApi>;
1085
- type AgentScheduleApi = ReturnType<typeof createAgentScheduleApi>;
1086
1104
  type AgentScheduleExceptionsApi = ReturnType<typeof createAgentScheduleExceptionsApi>;
1105
+ type AgentSchedulesApi = AgentScheduleApi;
1087
1106
  type AgentVersionsApi = ReturnType<typeof createAgentVersionsApi>;
1088
1107
  type AgentBlueprintsApi = ReturnType<typeof createAgentBlueprintsApi>;
1089
1108
  type AgentStagesApi = ReturnType<typeof createAgentStagesApi>;
1090
1109
  type AgentStageTriggersApi = ReturnType<typeof createAgentStageTriggersApi>;
1091
1110
  type AgentTagsHelper = ReturnType<typeof bindAgentTags>;
1092
1111
  type AgentPhonesHelper = ReturnType<typeof bindAgentPhones>;
1093
- type AgentScheduleHelper = ReturnType<typeof bindAgentSchedule>;
1112
+ type AgentSchedulesHelper = ReturnType<typeof bindAgentSchedules>;
1094
1113
  type AgentVersionsHelper = ReturnType<typeof bindAgentVersions>;
1095
1114
  type AgentBlueprintsHelper = ReturnType<typeof bindAgentBlueprints>;
1096
1115
  type AgentStageTriggersHelper = ReturnType<typeof bindAgentStageTriggers>;
@@ -1100,7 +1119,8 @@ interface AgentEntity extends AgentBase {
1100
1119
  agentId: string;
1101
1120
  tagAssignments: AgentTagsHelper;
1102
1121
  phones: AgentPhonesHelper;
1103
- schedule: AgentScheduleHelper;
1122
+ schedule: AgentSchedulesHelper;
1123
+ schedules: AgentSchedulesHelper;
1104
1124
  versions: AgentVersionsHelper;
1105
1125
  blueprints: AgentBlueprintsHelper;
1106
1126
  stages: AgentStagesHelper;
@@ -1111,7 +1131,7 @@ interface AgentEntity extends AgentBase {
1111
1131
  type AgentEntityFactoryOptions = {
1112
1132
  tagsApi: AgentTagsApi;
1113
1133
  phonesApi: AgentPhonesApi;
1114
- scheduleApi: AgentScheduleApi;
1134
+ scheduleApi: AgentSchedulesApi;
1115
1135
  scheduleExceptionsApi: AgentScheduleExceptionsApi;
1116
1136
  versionsApi: AgentVersionsApi;
1117
1137
  blueprintsApi: AgentBlueprintsApi;
@@ -1252,46 +1272,81 @@ declare const bindAgentScheduleExceptions: (api: AgentScheduleExceptionsApi, age
1252
1272
  }>;
1253
1273
  delete(exceptionId: string): Promise<void>;
1254
1274
  };
1255
- declare const bindAgentSchedule: (scheduleApi: AgentScheduleApi, exceptionsApi: AgentScheduleExceptionsApi, agentId: string) => {
1256
- get(): Promise<{
1257
- agentId: string;
1258
- isEnabled: boolean;
1259
- timezone: string;
1260
- outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
1261
- outOfHoursMessage?: string | null;
1262
- rules: components["schemas"]["AgentScheduleRule"][];
1263
- metadata?: {
1264
- [key: string]: unknown;
1265
- };
1266
- createdAt: string;
1267
- updatedAt: string;
1268
- }>;
1269
- create(payload: UpdateAgentScheduleRequest): Promise<{
1270
- agentId: string;
1271
- isEnabled: boolean;
1272
- timezone: string;
1273
- outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
1274
- outOfHoursMessage?: string | null;
1275
- rules: components["schemas"]["AgentScheduleRule"][];
1276
- metadata?: {
1277
- [key: string]: unknown;
1278
- };
1279
- createdAt: string;
1280
- updatedAt: string;
1281
- }>;
1282
- update(payload: UpdateAgentScheduleRequest): Promise<{
1283
- agentId: string;
1284
- isEnabled: boolean;
1285
- timezone: string;
1286
- outOfHoursBehavior: "offline" | "limited-service" | "auto-message";
1287
- outOfHoursMessage?: string | null;
1288
- rules: components["schemas"]["AgentScheduleRule"][];
1289
- metadata?: {
1290
- [key: string]: unknown;
1291
- };
1292
- createdAt: string;
1293
- updatedAt: string;
1294
- }>;
1275
+ declare const bindAgentSchedules: (scheduleApi: AgentSchedulesApi, exceptionsApi: AgentScheduleExceptionsApi, agentId: string) => {
1276
+ list(options?: ListAgentSchedulesOptions): Promise<PaginatedResult<AgentScheduleListResponse, Partial<{
1277
+ page: number;
1278
+ limit: number;
1279
+ sort: string | string[];
1280
+ fields: string | string[];
1281
+ include: string | string[];
1282
+ search: string;
1283
+ filter: QueryFilters | QueryBuilderInput;
1284
+ or: QueryOrGroups | QueryBuilderInput;
1285
+ }>>>;
1286
+ get(scheduleId: string): Promise<AgentSchedule>;
1287
+ create(payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1288
+ update(scheduleId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1289
+ exceptions: {
1290
+ list(opts?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<{
1291
+ data: components["schemas"]["AgentScheduleException"][];
1292
+ meta: components["schemas"]["PaginationMeta"];
1293
+ }, Partial<{
1294
+ page: number;
1295
+ limit: number;
1296
+ sort: string | string[];
1297
+ fields: string | string[];
1298
+ include: string | string[];
1299
+ search: string;
1300
+ filter: QueryFilters | QueryBuilderInput;
1301
+ or: QueryOrGroups | QueryBuilderInput;
1302
+ }>>>;
1303
+ get(exceptionId: string): Promise<{
1304
+ id: string;
1305
+ agentId: string;
1306
+ exceptionDate: string;
1307
+ isClosed: boolean;
1308
+ startTime?: string | null;
1309
+ endTime?: string | null;
1310
+ reason?: string | null;
1311
+ createdAt: string;
1312
+ }>;
1313
+ create(payload: CreateAgentScheduleExceptionRequest): Promise<{
1314
+ id: string;
1315
+ agentId: string;
1316
+ exceptionDate: string;
1317
+ isClosed: boolean;
1318
+ startTime?: string | null;
1319
+ endTime?: string | null;
1320
+ reason?: string | null;
1321
+ createdAt: string;
1322
+ }>;
1323
+ update(exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<{
1324
+ id: string;
1325
+ agentId: string;
1326
+ exceptionDate: string;
1327
+ isClosed: boolean;
1328
+ startTime?: string | null;
1329
+ endTime?: string | null;
1330
+ reason?: string | null;
1331
+ createdAt: string;
1332
+ }>;
1333
+ delete(exceptionId: string): Promise<void>;
1334
+ };
1335
+ };
1336
+ declare const bindAgentSchedule: (scheduleApi: AgentSchedulesApi, exceptionsApi: AgentScheduleExceptionsApi, agentId: string) => {
1337
+ list(options?: ListAgentSchedulesOptions): Promise<PaginatedResult<AgentScheduleListResponse, Partial<{
1338
+ page: number;
1339
+ limit: number;
1340
+ sort: string | string[];
1341
+ fields: string | string[];
1342
+ include: string | string[];
1343
+ search: string;
1344
+ filter: QueryFilters | QueryBuilderInput;
1345
+ or: QueryOrGroups | QueryBuilderInput;
1346
+ }>>>;
1347
+ get(scheduleId: string): Promise<AgentSchedule>;
1348
+ create(payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1349
+ update(scheduleId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1295
1350
  exceptions: {
1296
1351
  list(opts?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<{
1297
1352
  data: components["schemas"]["AgentScheduleException"][];
@@ -1624,11 +1679,16 @@ declare function createClient(initialCfg: ClientConfig & {
1624
1679
  connect(agentId: string, payload: ConnectPhoneRequest): Promise<PhoneAssignmentResponse>;
1625
1680
  disconnect(agentId: string, phoneId: string): Promise<void>;
1626
1681
  } & ((agentId: string) => ReturnType<typeof bindAgentPhones>);
1627
- schedule: {
1628
- get(agentId: string): Promise<AgentSchedule>;
1629
- create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1630
- update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1631
- } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>) & {
1682
+ schedule: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1683
+ exceptions: {
1684
+ list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1685
+ get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
1686
+ create(agentId: string, payload: CreateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1687
+ update(agentId: string, exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1688
+ delete(agentId: string, exceptionId: string): Promise<void>;
1689
+ } & ((agentId: string) => ReturnType<typeof bindAgentScheduleExceptions>);
1690
+ };
1691
+ schedules: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1632
1692
  exceptions: {
1633
1693
  list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1634
1694
  get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
@@ -1726,11 +1786,16 @@ declare function createClient(initialCfg: ClientConfig & {
1726
1786
  connect(agentId: string, payload: ConnectPhoneRequest): Promise<PhoneAssignmentResponse>;
1727
1787
  disconnect(agentId: string, phoneId: string): Promise<void>;
1728
1788
  } & ((agentId: string) => ReturnType<typeof bindAgentPhones>);
1729
- schedule: {
1730
- get(agentId: string): Promise<AgentSchedule>;
1731
- create(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1732
- update(agentId: string, payload: UpdateAgentScheduleRequest): Promise<AgentSchedule>;
1733
- } & ((agentId: string) => ReturnType<typeof bindAgentSchedule>) & {
1789
+ schedule: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1790
+ exceptions: {
1791
+ list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1792
+ get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
1793
+ create(agentId: string, payload: CreateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1794
+ update(agentId: string, exceptionId: string, payload: UpdateAgentScheduleExceptionRequest): Promise<AgentScheduleException>;
1795
+ delete(agentId: string, exceptionId: string): Promise<void>;
1796
+ } & ((agentId: string) => ReturnType<typeof bindAgentScheduleExceptions>);
1797
+ };
1798
+ schedules: AgentScheduleApi & ((agentId: string) => ReturnType<typeof bindAgentSchedules>) & {
1734
1799
  exceptions: {
1735
1800
  list(agentId: string, options?: ListAgentScheduleExceptionsOptions): Promise<PaginatedResult<AgentScheduleExceptionListResponse, ListAgentScheduleExceptionsOptions>>;
1736
1801
  get(agentId: string, exceptionId: string): Promise<AgentScheduleException>;
@@ -1842,4 +1907,4 @@ declare function createHttp(cfg: ClientConfig & {
1842
1907
  resolveAccessToken: () => string;
1843
1908
  };
1844
1909
 
1845
- export { type AgentBlueprint, type AgentBlueprintListItem, type AgentBlueprintListResponse, type AgentBlueprintsApi$1 as AgentBlueprintsApi, type AgentDetail, type AgentEntity, type AgentEntityFactoryOptions, type AgentListResponse, type AgentSchedule, type AgentScheduleException, type AgentScheduleExceptionListResponse, 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 ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, 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 CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateWebhookRequest, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, type ExecuteToolRequest, type ExecuteToolResponse, type ForkAgentFromTemplateRequest, HttpError, type Instruction, type InstructionCreatedResponse, type InstructionListResponse, type ListAgentBlueprintsOptions, type ListAgentScheduleExceptionsOptions, type ListAgentStageTriggersOptions, type ListAgentStagesOptions, type ListAgentVersionInstructionsOptions, type ListAgentVersionsOptions, type ListAgentsOptions, type ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, 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 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 WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createHttp, createToolsApi, createVoicesApi, createWebhooksApi, createWorkspacesApi };
1910
+ 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 ApiKeyListResponse, type ApiKeySummary, type ApiKeysApi, type BlueprintStage, type BlueprintStageListResponse, type BlueprintStageReorderRequest, type BlueprintStageTrigger, type BlueprintStageTriggerListResponse, 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 CreateEventSubscriptionRequest, type CreateInstructionRequest, type CreateWebhookRequest, type ErrorResponse, type EventSubscriptionDetail, type EventSubscriptionListResponse, type EventSubscriptionSummary, 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 ListCatalogItemsOptions, type ListCatalogTemplatesOptions, type ListQueryOptions, type ListToolResourcesOptions, type ListToolsOptions, type ListVoicesOptions, type ListWebhooksOptions, type ListWorkspacePhonesOptions, 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 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 WorkspacePhone, type WorkspacePhoneChannel, type WorkspacePhonesResponse, bindAgentBlueprints, bindAgentPhones, bindAgentSchedule, bindAgentScheduleExceptions, bindAgentSchedules, bindAgentStageTriggers, bindAgentStages, bindAgentTags, bindAgentVersions, createAgentBlueprintsApi, createAgentEntity, createAgentPhonesApi, createAgentScheduleApi, createAgentScheduleExceptionsApi, createAgentStageTriggersApi, createAgentStagesApi, createAgentTagsApi, createAgentVersionsApi, createAgentsApi, createApiKeysApi, createCatalogTemplatesApi, createCatalogsApi, createClient, createHttp, createToolsApi, createVoicesApi, createWebhooksApi, createWorkspacesApi };