@amigo-ai/sdk 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,7 @@ import { PlatformSessionResource } from './resources/sessions';
15
15
  import { SkillResource } from './resources/skills';
16
16
  import { WorkspaceResource } from './resources/workspaces';
17
17
  import type { WorkspaceId } from './core/branded-types';
18
+ import type { components as PlatformComponents } from '../generated/platform-api-types';
18
19
  export interface PlatformClientConfig {
19
20
  /** Platform API key or JWT. */
20
21
  apiKey: string;
@@ -55,5 +56,20 @@ export type { PlatformFetch, PlatformWebSocketConstructor };
55
56
  export type { ServerSentEvent } from '../core/utils';
56
57
  export { AmigoError, BadRequestError, AuthenticationError, PermissionError, NotFoundError, ConflictError, RateLimitError, ServerError, ServiceUnavailableError, ConfigurationError, ValidationError, NetworkError, ParseError, isAmigoError, } from '../core/errors';
57
58
  export type { components, operations, paths } from '../generated/platform-api-types';
59
+ export type CallSummary = PlatformComponents['schemas']['CallSummary'];
60
+ export type CallDetail = PlatformComponents['schemas']['CallDetailResponse'];
61
+ export type CallTurn = PlatformComponents['schemas']['Turn'];
62
+ export type CallToolCall = PlatformComponents['schemas']['ToolCall'];
63
+ export type PlaybackTimeline = PlatformComponents['schemas']['PlaybackTimeline'];
64
+ export type TimelineActor = PlatformComponents['schemas']['TimelineActor'];
65
+ export type TimelineLaneDefinition = PlatformComponents['schemas']['TimelineLaneDefinition'];
66
+ export type TimelineSegment = PlatformComponents['schemas']['TimelineSegment'];
67
+ export type TimelineTimebase = PlatformComponents['schemas']['TimelineTimebase'];
68
+ export type TurnTimeline = PlatformComponents['schemas']['TurnTimeline'];
69
+ export type TimelineSegmentType = TimelineSegment['type'];
70
+ export type TimelineLane = TimelineSegment['lane'];
71
+ export type TimelineTrack = NonNullable<TimelineSegment['track']>;
72
+ export type TimelineActorKind = TimelineActor['kind'];
73
+ export type TimelineActorRole = TimelineActor['role'];
58
74
  export type { CallSid, ContextGraphId, DataSourceId, EntityId, IntegrationId, MonitorConceptId, OperatorId, PhoneNumberId, PlatformAgentId, PlatformApiKeyId, PlatformConversationId, PlatformServiceId, ReviewItemId, SkillId, TaskId, UnificationRuleId, WorkspaceId, } from './core/branded-types';
59
75
  export { callSid, contextGraphId, dataSourceId, entityId, integrationId, monitorConceptId, operatorId, phoneNumberId, platformAgentId, platformApiKeyId, platformConversationId, platformServiceId, reviewItemId, skillId, taskId, unificationRuleId, workspaceId, } from './core/branded-types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Official TypeScript SDK for the Amigo classic and Platform APIs",
5
5
  "keywords": [
6
6
  "amigo",