@thisispamela/sdk 1.0.2 → 1.0.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.
package/README.md CHANGED
@@ -25,6 +25,9 @@ const call = await client.createCall({
25
25
  to: '+1234567890',
26
26
  task: 'Order a large pizza for delivery',
27
27
  locale: 'en-US',
28
+ voice: 'female',
29
+ agent_name: 'Pamela',
30
+ caller_name: 'John from Acme',
28
31
  });
29
32
 
30
33
  console.log('Call created:', call.id);
package/dist/index.d.ts CHANGED
@@ -13,6 +13,9 @@ export interface CreateCallRequest {
13
13
  locale?: string;
14
14
  task: string;
15
15
  instructions?: string;
16
+ voice?: 'male' | 'female' | 'auto';
17
+ agent_name?: string;
18
+ caller_name?: string;
16
19
  end_user_id?: string;
17
20
  metadata?: Record<string, any>;
18
21
  tools?: Array<Record<string, any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisispamela/sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Pamela Enterprise Voice API SDK for JavaScript/TypeScript",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -24,6 +24,9 @@ export interface CreateCallRequest {
24
24
  locale?: string;
25
25
  task: string;
26
26
  instructions?: string;
27
+ voice?: 'male' | 'female' | 'auto';
28
+ agent_name?: string;
29
+ caller_name?: string;
27
30
  end_user_id?: string;
28
31
  metadata?: Record<string, any>;
29
32
  tools?: Array<Record<string, any>>;