ultracart_rest_api_v2_typescript 4.1.133 → 4.1.134
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.134
|
|
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.134 --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.134 | 08/21/2026 | conversation - pbx menu mapping for send text |
|
|
88
89
|
| 4.1.133 | 08/20/2026 | conversations - pbx agent setting for creating tickets in zoho desk for outgoing calls |
|
|
89
90
|
| 4.1.132 | 08/18/2026 | customer activity bug fix |
|
|
90
91
|
| 4.1.131 | 08/18/2026 | customer activity now returns the SF communications active flag and last_activity_dts |
|
|
@@ -39,6 +39,12 @@ export interface ConversationPbxMenuMapping {
|
|
|
39
39
|
* @memberof ConversationPbxMenuMapping
|
|
40
40
|
*/
|
|
41
41
|
speech?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Text message body sent to the caller when the action is 'send text'. Ignored for all other actions.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ConversationPbxMenuMapping
|
|
46
|
+
*/
|
|
47
|
+
text_message?: string;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* @export
|
|
@@ -49,6 +55,7 @@ export declare const ConversationPbxMenuMappingActionEnum: {
|
|
|
49
55
|
readonly Queue: "queue";
|
|
50
56
|
readonly Voicemail: "voicemail";
|
|
51
57
|
readonly Agent: "agent";
|
|
58
|
+
readonly SendText: "send text";
|
|
52
59
|
};
|
|
53
60
|
export type ConversationPbxMenuMappingActionEnum = typeof ConversationPbxMenuMappingActionEnum[keyof typeof ConversationPbxMenuMappingActionEnum];
|
|
54
61
|
/**
|
|
@@ -23,7 +23,8 @@ exports.ConversationPbxMenuMappingActionEnum = {
|
|
|
23
23
|
Menu: 'menu',
|
|
24
24
|
Queue: 'queue',
|
|
25
25
|
Voicemail: 'voicemail',
|
|
26
|
-
Agent: 'agent'
|
|
26
|
+
Agent: 'agent',
|
|
27
|
+
SendText: 'send text'
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
29
30
|
* Check if a given object implements the ConversationPbxMenuMapping interface.
|
|
@@ -46,6 +47,7 @@ function ConversationPbxMenuMappingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
'action_target': !(0, runtime_1.exists)(json, 'action_target') ? undefined : json['action_target'],
|
|
47
48
|
'digits': !(0, runtime_1.exists)(json, 'digits') ? undefined : json['digits'],
|
|
48
49
|
'speech': !(0, runtime_1.exists)(json, 'speech') ? undefined : json['speech'],
|
|
50
|
+
'text_message': !(0, runtime_1.exists)(json, 'text_message') ? undefined : json['text_message'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
exports.ConversationPbxMenuMappingFromJSONTyped = ConversationPbxMenuMappingFromJSONTyped;
|
|
@@ -61,6 +63,7 @@ function ConversationPbxMenuMappingToJSON(value) {
|
|
|
61
63
|
'action_target': value.action_target,
|
|
62
64
|
'digits': value.digits,
|
|
63
65
|
'speech': value.speech,
|
|
66
|
+
'text_message': value.text_message,
|
|
64
67
|
};
|
|
65
68
|
}
|
|
66
69
|
exports.ConversationPbxMenuMappingToJSON = ConversationPbxMenuMappingToJSON;
|
package/package.json
CHANGED
|
@@ -43,6 +43,12 @@ export interface ConversationPbxMenuMapping {
|
|
|
43
43
|
* @memberof ConversationPbxMenuMapping
|
|
44
44
|
*/
|
|
45
45
|
speech?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Text message body sent to the caller when the action is 'send text'. Ignored for all other actions.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ConversationPbxMenuMapping
|
|
50
|
+
*/
|
|
51
|
+
text_message?: string;
|
|
46
52
|
}
|
|
47
53
|
|
|
48
54
|
|
|
@@ -55,7 +61,8 @@ export const ConversationPbxMenuMappingActionEnum = {
|
|
|
55
61
|
Menu: 'menu',
|
|
56
62
|
Queue: 'queue',
|
|
57
63
|
Voicemail: 'voicemail',
|
|
58
|
-
Agent: 'agent'
|
|
64
|
+
Agent: 'agent',
|
|
65
|
+
SendText: 'send text'
|
|
59
66
|
} as const;
|
|
60
67
|
export type ConversationPbxMenuMappingActionEnum = typeof ConversationPbxMenuMappingActionEnum[keyof typeof ConversationPbxMenuMappingActionEnum];
|
|
61
68
|
|
|
@@ -83,6 +90,7 @@ export function ConversationPbxMenuMappingFromJSONTyped(json: any, ignoreDiscrim
|
|
|
83
90
|
'action_target': !exists(json, 'action_target') ? undefined : json['action_target'],
|
|
84
91
|
'digits': !exists(json, 'digits') ? undefined : json['digits'],
|
|
85
92
|
'speech': !exists(json, 'speech') ? undefined : json['speech'],
|
|
93
|
+
'text_message': !exists(json, 'text_message') ? undefined : json['text_message'],
|
|
86
94
|
};
|
|
87
95
|
}
|
|
88
96
|
|
|
@@ -99,6 +107,7 @@ export function ConversationPbxMenuMappingToJSON(value?: ConversationPbxMenuMapp
|
|
|
99
107
|
'action_target': value.action_target,
|
|
100
108
|
'digits': value.digits,
|
|
101
109
|
'speech': value.speech,
|
|
110
|
+
'text_message': value.text_message,
|
|
102
111
|
};
|
|
103
112
|
}
|
|
104
113
|
|