ultracart_rest_api_v2_typescript 4.1.32 → 4.1.33
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.
|
|
2
|
+
## ultracart_rest_api_v2_typescript@4.1.33
|
|
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.
|
|
9
|
+
npm install ultracart_rest_api_v2_typescript@4.1.33 --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.33 | 11/26/2025 | conversation - AI agent profile fields |
|
|
88
89
|
| 4.1.32 | 11/20/2025 | conversion api bug fix on incorrect signature |
|
|
89
90
|
| 4.1.31 | 11/20/2025 | conversation - AI agent mcp server tools function |
|
|
90
91
|
| 4.1.30 | 11/19/2025 | conversation - AI agent MCP server configuration methods |
|
|
@@ -39,6 +39,12 @@ export interface ConversationAgentProfile {
|
|
|
39
39
|
* @memberof ConversationAgentProfile
|
|
40
40
|
*/
|
|
41
41
|
ai_sms_instructions?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Additional instructions for this AI when handling ticket draft replies
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ConversationAgentProfile
|
|
46
|
+
*/
|
|
47
|
+
ai_ticket_instructions?: string;
|
|
42
48
|
/**
|
|
43
49
|
* The number of engagement chats that can be pushed on them at any given time.
|
|
44
50
|
* @type {number}
|
|
@@ -87,6 +93,18 @@ export interface ConversationAgentProfile {
|
|
|
87
93
|
* @memberof ConversationAgentProfile
|
|
88
94
|
*/
|
|
89
95
|
user_id?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Restrict this agent to drafting replies only to tickets with these classifications
|
|
98
|
+
* @type {Array<string>}
|
|
99
|
+
* @memberof ConversationAgentProfile
|
|
100
|
+
*/
|
|
101
|
+
zohodesk_classifications?: Array<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Restrict this agent to drafting replies only to these department ids
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof ConversationAgentProfile
|
|
106
|
+
*/
|
|
107
|
+
zohodesk_departments?: Array<string>;
|
|
90
108
|
}
|
|
91
109
|
/**
|
|
92
110
|
* @export
|
|
@@ -44,6 +44,7 @@ function ConversationAgentProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'ai_chat_instructions': !(0, runtime_1.exists)(json, 'ai_chat_instructions') ? undefined : json['ai_chat_instructions'],
|
|
45
45
|
'ai_persona': !(0, runtime_1.exists)(json, 'ai_persona') ? undefined : json['ai_persona'],
|
|
46
46
|
'ai_sms_instructions': !(0, runtime_1.exists)(json, 'ai_sms_instructions') ? undefined : json['ai_sms_instructions'],
|
|
47
|
+
'ai_ticket_instructions': !(0, runtime_1.exists)(json, 'ai_ticket_instructions') ? undefined : json['ai_ticket_instructions'],
|
|
47
48
|
'chat_limit': !(0, runtime_1.exists)(json, 'chat_limit') ? undefined : json['chat_limit'],
|
|
48
49
|
'default_language_iso_code': !(0, runtime_1.exists)(json, 'default_language_iso_code') ? undefined : json['default_language_iso_code'],
|
|
49
50
|
'default_status': !(0, runtime_1.exists)(json, 'default_status') ? undefined : json['default_status'],
|
|
@@ -52,6 +53,8 @@ function ConversationAgentProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
53
|
'profile_image_upload_key': !(0, runtime_1.exists)(json, 'profile_image_upload_key') ? undefined : json['profile_image_upload_key'],
|
|
53
54
|
'profile_image_url': !(0, runtime_1.exists)(json, 'profile_image_url') ? undefined : json['profile_image_url'],
|
|
54
55
|
'user_id': !(0, runtime_1.exists)(json, 'user_id') ? undefined : json['user_id'],
|
|
56
|
+
'zohodesk_classifications': !(0, runtime_1.exists)(json, 'zohodesk_classifications') ? undefined : json['zohodesk_classifications'],
|
|
57
|
+
'zohodesk_departments': !(0, runtime_1.exists)(json, 'zohodesk_departments') ? undefined : json['zohodesk_departments'],
|
|
55
58
|
};
|
|
56
59
|
}
|
|
57
60
|
exports.ConversationAgentProfileFromJSONTyped = ConversationAgentProfileFromJSONTyped;
|
|
@@ -67,6 +70,7 @@ function ConversationAgentProfileToJSON(value) {
|
|
|
67
70
|
'ai_chat_instructions': value.ai_chat_instructions,
|
|
68
71
|
'ai_persona': value.ai_persona,
|
|
69
72
|
'ai_sms_instructions': value.ai_sms_instructions,
|
|
73
|
+
'ai_ticket_instructions': value.ai_ticket_instructions,
|
|
70
74
|
'chat_limit': value.chat_limit,
|
|
71
75
|
'default_language_iso_code': value.default_language_iso_code,
|
|
72
76
|
'default_status': value.default_status,
|
|
@@ -75,6 +79,8 @@ function ConversationAgentProfileToJSON(value) {
|
|
|
75
79
|
'profile_image_upload_key': value.profile_image_upload_key,
|
|
76
80
|
'profile_image_url': value.profile_image_url,
|
|
77
81
|
'user_id': value.user_id,
|
|
82
|
+
'zohodesk_classifications': value.zohodesk_classifications,
|
|
83
|
+
'zohodesk_departments': value.zohodesk_departments,
|
|
78
84
|
};
|
|
79
85
|
}
|
|
80
86
|
exports.ConversationAgentProfileToJSON = ConversationAgentProfileToJSON;
|
package/package.json
CHANGED
|
@@ -43,6 +43,12 @@ export interface ConversationAgentProfile {
|
|
|
43
43
|
* @memberof ConversationAgentProfile
|
|
44
44
|
*/
|
|
45
45
|
ai_sms_instructions?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Additional instructions for this AI when handling ticket draft replies
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ConversationAgentProfile
|
|
50
|
+
*/
|
|
51
|
+
ai_ticket_instructions?: string;
|
|
46
52
|
/**
|
|
47
53
|
* The number of engagement chats that can be pushed on them at any given time.
|
|
48
54
|
* @type {number}
|
|
@@ -91,6 +97,18 @@ export interface ConversationAgentProfile {
|
|
|
91
97
|
* @memberof ConversationAgentProfile
|
|
92
98
|
*/
|
|
93
99
|
user_id?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Restrict this agent to drafting replies only to tickets with these classifications
|
|
102
|
+
* @type {Array<string>}
|
|
103
|
+
* @memberof ConversationAgentProfile
|
|
104
|
+
*/
|
|
105
|
+
zohodesk_classifications?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Restrict this agent to drafting replies only to these department ids
|
|
108
|
+
* @type {Array<string>}
|
|
109
|
+
* @memberof ConversationAgentProfile
|
|
110
|
+
*/
|
|
111
|
+
zohodesk_departments?: Array<string>;
|
|
94
112
|
}
|
|
95
113
|
|
|
96
114
|
|
|
@@ -129,6 +147,7 @@ export function ConversationAgentProfileFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
129
147
|
'ai_chat_instructions': !exists(json, 'ai_chat_instructions') ? undefined : json['ai_chat_instructions'],
|
|
130
148
|
'ai_persona': !exists(json, 'ai_persona') ? undefined : json['ai_persona'],
|
|
131
149
|
'ai_sms_instructions': !exists(json, 'ai_sms_instructions') ? undefined : json['ai_sms_instructions'],
|
|
150
|
+
'ai_ticket_instructions': !exists(json, 'ai_ticket_instructions') ? undefined : json['ai_ticket_instructions'],
|
|
132
151
|
'chat_limit': !exists(json, 'chat_limit') ? undefined : json['chat_limit'],
|
|
133
152
|
'default_language_iso_code': !exists(json, 'default_language_iso_code') ? undefined : json['default_language_iso_code'],
|
|
134
153
|
'default_status': !exists(json, 'default_status') ? undefined : json['default_status'],
|
|
@@ -137,6 +156,8 @@ export function ConversationAgentProfileFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
137
156
|
'profile_image_upload_key': !exists(json, 'profile_image_upload_key') ? undefined : json['profile_image_upload_key'],
|
|
138
157
|
'profile_image_url': !exists(json, 'profile_image_url') ? undefined : json['profile_image_url'],
|
|
139
158
|
'user_id': !exists(json, 'user_id') ? undefined : json['user_id'],
|
|
159
|
+
'zohodesk_classifications': !exists(json, 'zohodesk_classifications') ? undefined : json['zohodesk_classifications'],
|
|
160
|
+
'zohodesk_departments': !exists(json, 'zohodesk_departments') ? undefined : json['zohodesk_departments'],
|
|
140
161
|
};
|
|
141
162
|
}
|
|
142
163
|
|
|
@@ -153,6 +174,7 @@ export function ConversationAgentProfileToJSON(value?: ConversationAgentProfile
|
|
|
153
174
|
'ai_chat_instructions': value.ai_chat_instructions,
|
|
154
175
|
'ai_persona': value.ai_persona,
|
|
155
176
|
'ai_sms_instructions': value.ai_sms_instructions,
|
|
177
|
+
'ai_ticket_instructions': value.ai_ticket_instructions,
|
|
156
178
|
'chat_limit': value.chat_limit,
|
|
157
179
|
'default_language_iso_code': value.default_language_iso_code,
|
|
158
180
|
'default_status': value.default_status,
|
|
@@ -161,6 +183,8 @@ export function ConversationAgentProfileToJSON(value?: ConversationAgentProfile
|
|
|
161
183
|
'profile_image_upload_key': value.profile_image_upload_key,
|
|
162
184
|
'profile_image_url': value.profile_image_url,
|
|
163
185
|
'user_id': value.user_id,
|
|
186
|
+
'zohodesk_classifications': value.zohodesk_classifications,
|
|
187
|
+
'zohodesk_departments': value.zohodesk_departments,
|
|
164
188
|
};
|
|
165
189
|
}
|
|
166
190
|
|