ultracart_rest_api_v2_typescript 4.1.39 → 4.1.40

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
@@ -1,12 +1,12 @@
1
1
  # UltraCart Typescript SDK
2
- ## ultracart_rest_api_v2_typescript@4.1.39
2
+ ## ultracart_rest_api_v2_typescript@4.1.40
3
3
 
4
4
  Every API method call has a sample for every language SDK. See https://github.com/UltraCart/sdk_samples
5
5
 
6
6
  Installation
7
7
 
8
8
  ```
9
- npm install ultracart_rest_api_v2_typescript@4.1.39 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.40 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -85,6 +85,7 @@ Not every change is committed to every SDK.
85
85
 
86
86
  | Version | Date | Comments |
87
87
  | --: | :-: | --- |
88
+ | 4.1.40 | 01/07/2026 | convseration - AI agent profile voice settings |
88
89
  | 4.1.39 | 12/31/2025 | conversations AI - queue AI settings |
89
90
  | 4.1.38 | 12/29/2025 | conversations - AI agent level capabilities |
90
91
  | 4.1.37 | 12/29/2025 | conversations - pbx agent AI flag |
@@ -52,6 +52,18 @@ export interface ConversationAgentProfile {
52
52
  * @memberof ConversationAgentProfile
53
53
  */
54
54
  ai_ticket_instructions?: string;
55
+ /**
56
+ * Additional voice instructions for this AI when handling voice calls
57
+ * @type {string}
58
+ * @memberof ConversationAgentProfile
59
+ */
60
+ ai_voice_instructions?: string;
61
+ /**
62
+ * Which AI voice personality to use when handling the call.
63
+ * @type {string}
64
+ * @memberof ConversationAgentProfile
65
+ */
66
+ ai_voice_personality?: ConversationAgentProfileAiVoicePersonalityEnum;
55
67
  /**
56
68
  * The number of engagement chats that can be pushed on them at any given time.
57
69
  * @type {number}
@@ -113,6 +125,17 @@ export interface ConversationAgentProfile {
113
125
  */
114
126
  zohodesk_departments?: Array<string>;
115
127
  }
128
+ /**
129
+ * @export
130
+ */
131
+ export declare const ConversationAgentProfileAiVoicePersonalityEnum: {
132
+ readonly Ara: "Ara";
133
+ readonly Rex: "Rex";
134
+ readonly Sal: "Sal";
135
+ readonly Eve: "Eve";
136
+ readonly Leo: "Leo";
137
+ };
138
+ export type ConversationAgentProfileAiVoicePersonalityEnum = typeof ConversationAgentProfileAiVoicePersonalityEnum[keyof typeof ConversationAgentProfileAiVoicePersonalityEnum];
116
139
  /**
117
140
  * @export
118
141
  */
@@ -13,9 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ConversationAgentProfileToJSON = exports.ConversationAgentProfileFromJSONTyped = exports.ConversationAgentProfileFromJSON = exports.instanceOfConversationAgentProfile = exports.ConversationAgentProfileDefaultStatusEnum = void 0;
16
+ exports.ConversationAgentProfileToJSON = exports.ConversationAgentProfileFromJSONTyped = exports.ConversationAgentProfileFromJSON = exports.instanceOfConversationAgentProfile = exports.ConversationAgentProfileDefaultStatusEnum = exports.ConversationAgentProfileAiVoicePersonalityEnum = void 0;
17
17
  var runtime_1 = require("../runtime");
18
18
  var ConversationVirtualAgentCapabilities_1 = require("./ConversationVirtualAgentCapabilities");
19
+ /**
20
+ * @export
21
+ */
22
+ exports.ConversationAgentProfileAiVoicePersonalityEnum = {
23
+ Ara: 'Ara',
24
+ Rex: 'Rex',
25
+ Sal: 'Sal',
26
+ Eve: 'Eve',
27
+ Leo: 'Leo'
28
+ };
19
29
  /**
20
30
  * @export
21
31
  */
@@ -47,6 +57,8 @@ function ConversationAgentProfileFromJSONTyped(json, ignoreDiscriminator) {
47
57
  'ai_persona': !(0, runtime_1.exists)(json, 'ai_persona') ? undefined : json['ai_persona'],
48
58
  'ai_sms_instructions': !(0, runtime_1.exists)(json, 'ai_sms_instructions') ? undefined : json['ai_sms_instructions'],
49
59
  'ai_ticket_instructions': !(0, runtime_1.exists)(json, 'ai_ticket_instructions') ? undefined : json['ai_ticket_instructions'],
60
+ 'ai_voice_instructions': !(0, runtime_1.exists)(json, 'ai_voice_instructions') ? undefined : json['ai_voice_instructions'],
61
+ 'ai_voice_personality': !(0, runtime_1.exists)(json, 'ai_voice_personality') ? undefined : json['ai_voice_personality'],
50
62
  'chat_limit': !(0, runtime_1.exists)(json, 'chat_limit') ? undefined : json['chat_limit'],
51
63
  'default_language_iso_code': !(0, runtime_1.exists)(json, 'default_language_iso_code') ? undefined : json['default_language_iso_code'],
52
64
  'default_status': !(0, runtime_1.exists)(json, 'default_status') ? undefined : json['default_status'],
@@ -74,6 +86,8 @@ function ConversationAgentProfileToJSON(value) {
74
86
  'ai_persona': value.ai_persona,
75
87
  'ai_sms_instructions': value.ai_sms_instructions,
76
88
  'ai_ticket_instructions': value.ai_ticket_instructions,
89
+ 'ai_voice_instructions': value.ai_voice_instructions,
90
+ 'ai_voice_personality': value.ai_voice_personality,
77
91
  'chat_limit': value.chat_limit,
78
92
  'default_language_iso_code': value.default_language_iso_code,
79
93
  'default_status': value.default_status,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.39",
3
+ "version": "4.1.40",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -62,6 +62,18 @@ export interface ConversationAgentProfile {
62
62
  * @memberof ConversationAgentProfile
63
63
  */
64
64
  ai_ticket_instructions?: string;
65
+ /**
66
+ * Additional voice instructions for this AI when handling voice calls
67
+ * @type {string}
68
+ * @memberof ConversationAgentProfile
69
+ */
70
+ ai_voice_instructions?: string;
71
+ /**
72
+ * Which AI voice personality to use when handling the call.
73
+ * @type {string}
74
+ * @memberof ConversationAgentProfile
75
+ */
76
+ ai_voice_personality?: ConversationAgentProfileAiVoicePersonalityEnum;
65
77
  /**
66
78
  * The number of engagement chats that can be pushed on them at any given time.
67
79
  * @type {number}
@@ -126,6 +138,18 @@ export interface ConversationAgentProfile {
126
138
 
127
139
 
128
140
 
141
+ /**
142
+ * @export
143
+ */
144
+ export const ConversationAgentProfileAiVoicePersonalityEnum = {
145
+ Ara: 'Ara',
146
+ Rex: 'Rex',
147
+ Sal: 'Sal',
148
+ Eve: 'Eve',
149
+ Leo: 'Leo'
150
+ } as const;
151
+ export type ConversationAgentProfileAiVoicePersonalityEnum = typeof ConversationAgentProfileAiVoicePersonalityEnum[keyof typeof ConversationAgentProfileAiVoicePersonalityEnum];
152
+
129
153
  /**
130
154
  * @export
131
155
  */
@@ -162,6 +186,8 @@ export function ConversationAgentProfileFromJSONTyped(json: any, ignoreDiscrimin
162
186
  'ai_persona': !exists(json, 'ai_persona') ? undefined : json['ai_persona'],
163
187
  'ai_sms_instructions': !exists(json, 'ai_sms_instructions') ? undefined : json['ai_sms_instructions'],
164
188
  'ai_ticket_instructions': !exists(json, 'ai_ticket_instructions') ? undefined : json['ai_ticket_instructions'],
189
+ 'ai_voice_instructions': !exists(json, 'ai_voice_instructions') ? undefined : json['ai_voice_instructions'],
190
+ 'ai_voice_personality': !exists(json, 'ai_voice_personality') ? undefined : json['ai_voice_personality'],
165
191
  'chat_limit': !exists(json, 'chat_limit') ? undefined : json['chat_limit'],
166
192
  'default_language_iso_code': !exists(json, 'default_language_iso_code') ? undefined : json['default_language_iso_code'],
167
193
  'default_status': !exists(json, 'default_status') ? undefined : json['default_status'],
@@ -190,6 +216,8 @@ export function ConversationAgentProfileToJSON(value?: ConversationAgentProfile
190
216
  'ai_persona': value.ai_persona,
191
217
  'ai_sms_instructions': value.ai_sms_instructions,
192
218
  'ai_ticket_instructions': value.ai_ticket_instructions,
219
+ 'ai_voice_instructions': value.ai_voice_instructions,
220
+ 'ai_voice_personality': value.ai_voice_personality,
193
221
  'chat_limit': value.chat_limit,
194
222
  'default_language_iso_code': value.default_language_iso_code,
195
223
  'default_status': value.default_status,