@amigo-ai/sdk 1.1.2 → 1.1.3

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.
@@ -5458,7 +5458,7 @@ export interface components {
5458
5458
  "StrippedNonemptyString_a-z-_____a-z-____0_2____": string;
5459
5459
  "StrippedNonemptyString_a-z0-9______": string;
5460
5460
  "StrippedNonemptyString_a-z___a-z0-9_______": string;
5461
- "StrippedNonemptyString_a-z___a-z0-9___lambda__at_0xffff7b2fd0c0__": string;
5461
+ "StrippedNonemptyString_a-z___a-z0-9___lambda__at_0xffff79b98f60__": string;
5462
5462
  /** SucceededInvocationResult */
5463
5463
  SucceededInvocationResult: {
5464
5464
  /**
@@ -19681,6 +19681,11 @@ export interface components {
19681
19681
  * @default
19682
19682
  */
19683
19683
  caller_id?: string;
19684
+ /**
19685
+ * Caller Phone
19686
+ * @description Caller phone number alias for console clients
19687
+ */
19688
+ caller_phone?: string | null;
19684
19689
  /** Current Emotion */
19685
19690
  current_emotion?: string | null;
19686
19691
  /**
@@ -19704,13 +19709,15 @@ export interface components {
19704
19709
  * @default false
19705
19710
  */
19706
19711
  escalation_active?: boolean;
19712
+ /** Priority Reasons */
19713
+ priority_reasons?: ("high_risk" | "long_wait" | "negative_emotion" | "safety_concern" | "looping")[];
19707
19714
  /**
19708
- * Priority Reasons
19709
- * @default []
19715
+ * Priority Score
19716
+ * @description Priority score normalized to 0.0-1.0
19710
19717
  */
19711
- priority_reasons?: ("high_risk" | "long_wait" | "negative_emotion" | "safety_concern" | "looping")[];
19712
- /** Priority Score */
19713
19718
  priority_score: number;
19719
+ /** Risk Level */
19720
+ risk_level?: string | null;
19714
19721
  /** Risk Score */
19715
19722
  risk_score?: number | null;
19716
19723
  /**
@@ -19719,6 +19726,16 @@ export interface components {
19719
19726
  * @default
19720
19727
  */
19721
19728
  service_id?: string;
19729
+ /**
19730
+ * Service Name
19731
+ * @description Human-readable service name when available
19732
+ */
19733
+ service_name?: string | null;
19734
+ /**
19735
+ * Started At
19736
+ * @description ISO-8601 timestamp when the active call started
19737
+ */
19738
+ started_at?: string | null;
19722
19739
  /**
19723
19740
  * Turn Count
19724
19741
  * @default 0
@@ -35815,6 +35832,10 @@ export interface operations {
35815
35832
  "list-audit-log": {
35816
35833
  parameters: {
35817
35834
  query?: {
35835
+ /** @description Filter by operator entity ID. */
35836
+ operator_id?: string | null;
35837
+ /** @description Filter by exact audit event type. */
35838
+ action?: string | null;
35818
35839
  limit?: number;
35819
35840
  continuation_token?: number;
35820
35841
  };
@@ -71,5 +71,5 @@ export type TimelineLane = TimelineSegment['lane'];
71
71
  export type TimelineTrack = NonNullable<TimelineSegment['track']>;
72
72
  export type TimelineActorKind = TimelineActor['kind'];
73
73
  export type TimelineActorRole = TimelineActor['role'];
74
- export type { CallSid, ContextGraphId, DataSourceId, EntityId, IntegrationId, MonitorConceptId, OperatorId, PhoneNumberId, PlatformAgentId, PlatformApiKeyId, PlatformConversationId, PlatformServiceId, ReviewItemId, SkillId, TaskId, UnificationRuleId, WorkspaceId, } from './core/branded-types';
75
- export { callSid, contextGraphId, dataSourceId, entityId, integrationId, monitorConceptId, operatorId, phoneNumberId, platformAgentId, platformApiKeyId, platformConversationId, platformServiceId, reviewItemId, skillId, taskId, unificationRuleId, workspaceId, } from './core/branded-types';
74
+ export type { CallSid, ContextGraphId, DataSourceId, EntityId, HsmId, IntegrationId, MonitorConceptId, OperatorId, PhoneNumberId, PlatformAgentId, PlatformApiKeyId, PlatformConversationId, PlatformServiceId, ReviewItemId, SkillId, TaskId, UnificationRuleId, WorkspaceId, } from './core/branded-types';
75
+ export { callSid, contextGraphId, dataSourceId, entityId, hsmId, 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.2",
3
+ "version": "1.1.3",
4
4
  "description": "Official TypeScript SDK for the Amigo classic and Platform APIs",
5
5
  "keywords": [
6
6
  "amigo",
@@ -18,6 +18,7 @@
18
18
  "module": "./dist/index.mjs",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "files": [
21
+ "assets",
21
22
  "dist",
22
23
  "README.md",
23
24
  "LICENSE"
@@ -26,6 +27,7 @@
26
27
  "gen-types": "node scripts/gen-all.mjs",
27
28
  "gen-types:classic": "node scripts/gen-classic.mjs",
28
29
  "gen-types:platform": "node scripts/gen-platform.mjs",
30
+ "openapi:sync": "node scripts/sync-openapi.mjs",
29
31
  "test": "vitest run --project unit",
30
32
  "test:dist": "vitest run --project dist",
31
33
  "test:integration": "vitest run --project integration",
@@ -104,5 +106,8 @@
104
106
  },
105
107
  "dependencies": {
106
108
  "openapi-fetch": "^0.14.0"
109
+ },
110
+ "optionalDependencies": {
111
+ "@rollup/rollup-darwin-arm64": "^4.59.0"
107
112
  }
108
113
  }