ultracart_rest_api_v2_typescript 4.1.37 → 4.1.38
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.38
|
|
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.38 --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.38 | 12/29/2025 | conversations - AI agent level capabilities |
|
|
88
89
|
| 4.1.37 | 12/29/2025 | conversations - pbx agent AI flag |
|
|
89
90
|
| 4.1.36 | 12/22/2025 | conversation - agent auth worker token v2 |
|
|
90
91
|
| 4.1.35 | 12/02/2025 | caching option added to getCustomers, created new method searchCustomers |
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ConversationVirtualAgentCapabilities } from './ConversationVirtualAgentCapabilities';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -21,6 +22,12 @@ export interface ConversationAgentProfile {
|
|
|
21
22
|
* @memberof ConversationAgentProfile
|
|
22
23
|
*/
|
|
23
24
|
ai?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ConversationVirtualAgentCapabilities}
|
|
28
|
+
* @memberof ConversationAgentProfile
|
|
29
|
+
*/
|
|
30
|
+
ai_capabilities?: ConversationVirtualAgentCapabilities;
|
|
24
31
|
/**
|
|
25
32
|
* Additional instructions for this AI when handle web chats
|
|
26
33
|
* @type {string}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ConversationAgentProfileToJSON = exports.ConversationAgentProfileFromJSONTyped = exports.ConversationAgentProfileFromJSON = exports.instanceOfConversationAgentProfile = exports.ConversationAgentProfileDefaultStatusEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
+
var ConversationVirtualAgentCapabilities_1 = require("./ConversationVirtualAgentCapabilities");
|
|
18
19
|
/**
|
|
19
20
|
* @export
|
|
20
21
|
*/
|
|
@@ -41,6 +42,7 @@ function ConversationAgentProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
}
|
|
42
43
|
return {
|
|
43
44
|
'ai': !(0, runtime_1.exists)(json, 'ai') ? undefined : json['ai'],
|
|
45
|
+
'ai_capabilities': !(0, runtime_1.exists)(json, 'ai_capabilities') ? undefined : (0, ConversationVirtualAgentCapabilities_1.ConversationVirtualAgentCapabilitiesFromJSON)(json['ai_capabilities']),
|
|
44
46
|
'ai_chat_instructions': !(0, runtime_1.exists)(json, 'ai_chat_instructions') ? undefined : json['ai_chat_instructions'],
|
|
45
47
|
'ai_persona': !(0, runtime_1.exists)(json, 'ai_persona') ? undefined : json['ai_persona'],
|
|
46
48
|
'ai_sms_instructions': !(0, runtime_1.exists)(json, 'ai_sms_instructions') ? undefined : json['ai_sms_instructions'],
|
|
@@ -67,6 +69,7 @@ function ConversationAgentProfileToJSON(value) {
|
|
|
67
69
|
}
|
|
68
70
|
return {
|
|
69
71
|
'ai': value.ai,
|
|
72
|
+
'ai_capabilities': (0, ConversationVirtualAgentCapabilities_1.ConversationVirtualAgentCapabilitiesToJSON)(value.ai_capabilities),
|
|
70
73
|
'ai_chat_instructions': value.ai_chat_instructions,
|
|
71
74
|
'ai_persona': value.ai_persona,
|
|
72
75
|
'ai_sms_instructions': value.ai_sms_instructions,
|
package/package.json
CHANGED
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
ConversationVirtualAgentCapabilities,
|
|
18
|
+
ConversationVirtualAgentCapabilitiesFromJSON,
|
|
19
|
+
ConversationVirtualAgentCapabilitiesFromJSONTyped,
|
|
20
|
+
ConversationVirtualAgentCapabilitiesToJSON,
|
|
21
|
+
} from './ConversationVirtualAgentCapabilities';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -25,6 +32,12 @@ export interface ConversationAgentProfile {
|
|
|
25
32
|
* @memberof ConversationAgentProfile
|
|
26
33
|
*/
|
|
27
34
|
ai?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {ConversationVirtualAgentCapabilities}
|
|
38
|
+
* @memberof ConversationAgentProfile
|
|
39
|
+
*/
|
|
40
|
+
ai_capabilities?: ConversationVirtualAgentCapabilities;
|
|
28
41
|
/**
|
|
29
42
|
* Additional instructions for this AI when handle web chats
|
|
30
43
|
* @type {string}
|
|
@@ -144,6 +157,7 @@ export function ConversationAgentProfileFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
144
157
|
return {
|
|
145
158
|
|
|
146
159
|
'ai': !exists(json, 'ai') ? undefined : json['ai'],
|
|
160
|
+
'ai_capabilities': !exists(json, 'ai_capabilities') ? undefined : ConversationVirtualAgentCapabilitiesFromJSON(json['ai_capabilities']),
|
|
147
161
|
'ai_chat_instructions': !exists(json, 'ai_chat_instructions') ? undefined : json['ai_chat_instructions'],
|
|
148
162
|
'ai_persona': !exists(json, 'ai_persona') ? undefined : json['ai_persona'],
|
|
149
163
|
'ai_sms_instructions': !exists(json, 'ai_sms_instructions') ? undefined : json['ai_sms_instructions'],
|
|
@@ -171,6 +185,7 @@ export function ConversationAgentProfileToJSON(value?: ConversationAgentProfile
|
|
|
171
185
|
return {
|
|
172
186
|
|
|
173
187
|
'ai': value.ai,
|
|
188
|
+
'ai_capabilities': ConversationVirtualAgentCapabilitiesToJSON(value.ai_capabilities),
|
|
174
189
|
'ai_chat_instructions': value.ai_chat_instructions,
|
|
175
190
|
'ai_persona': value.ai_persona,
|
|
176
191
|
'ai_sms_instructions': value.ai_sms_instructions,
|