ultracart_rest_api_v2_typescript 4.1.134 → 4.1.135

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.134
2
+ ## ultracart_rest_api_v2_typescript@4.1.135
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.134 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.135 --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.135 | 08/21/2026 | conversation pbx - support send text operation as a menu item froma different phone number |
88
89
  | 4.1.134 | 08/21/2026 | conversation - pbx menu mapping for send text |
89
90
  | 4.1.133 | 08/20/2026 | conversations - pbx agent setting for creating tickets in zoho desk for outgoing calls |
90
91
  | 4.1.132 | 08/18/2026 | customer activity bug fix |
@@ -33,6 +33,12 @@ export interface ConversationPbxMenuMapping {
33
33
  * @memberof ConversationPbxMenuMapping
34
34
  */
35
35
  digits?: number;
36
+ /**
37
+ * Optional phone number to send the text message from. Must be a phone number configured on this merchant account and SMS enabled. Defaults to the number the caller dialed. Only used when the action is 'send text'.
38
+ * @type {string}
39
+ * @memberof ConversationPbxMenuMapping
40
+ */
41
+ sms_from_number?: string;
36
42
  /**
37
43
  * Speech
38
44
  * @type {string}
@@ -46,6 +46,7 @@ function ConversationPbxMenuMappingFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
47
47
  'action_target': !(0, runtime_1.exists)(json, 'action_target') ? undefined : json['action_target'],
48
48
  'digits': !(0, runtime_1.exists)(json, 'digits') ? undefined : json['digits'],
49
+ 'sms_from_number': !(0, runtime_1.exists)(json, 'sms_from_number') ? undefined : json['sms_from_number'],
49
50
  'speech': !(0, runtime_1.exists)(json, 'speech') ? undefined : json['speech'],
50
51
  'text_message': !(0, runtime_1.exists)(json, 'text_message') ? undefined : json['text_message'],
51
52
  };
@@ -62,6 +63,7 @@ function ConversationPbxMenuMappingToJSON(value) {
62
63
  'action': value.action,
63
64
  'action_target': value.action_target,
64
65
  'digits': value.digits,
66
+ 'sms_from_number': value.sms_from_number,
65
67
  'speech': value.speech,
66
68
  'text_message': value.text_message,
67
69
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.134",
3
+ "version": "4.1.135",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -37,6 +37,12 @@ export interface ConversationPbxMenuMapping {
37
37
  * @memberof ConversationPbxMenuMapping
38
38
  */
39
39
  digits?: number;
40
+ /**
41
+ * Optional phone number to send the text message from. Must be a phone number configured on this merchant account and SMS enabled. Defaults to the number the caller dialed. Only used when the action is 'send text'.
42
+ * @type {string}
43
+ * @memberof ConversationPbxMenuMapping
44
+ */
45
+ sms_from_number?: string;
40
46
  /**
41
47
  * Speech
42
48
  * @type {string}
@@ -89,6 +95,7 @@ export function ConversationPbxMenuMappingFromJSONTyped(json: any, ignoreDiscrim
89
95
  'action': !exists(json, 'action') ? undefined : json['action'],
90
96
  'action_target': !exists(json, 'action_target') ? undefined : json['action_target'],
91
97
  'digits': !exists(json, 'digits') ? undefined : json['digits'],
98
+ 'sms_from_number': !exists(json, 'sms_from_number') ? undefined : json['sms_from_number'],
92
99
  'speech': !exists(json, 'speech') ? undefined : json['speech'],
93
100
  'text_message': !exists(json, 'text_message') ? undefined : json['text_message'],
94
101
  };
@@ -106,6 +113,7 @@ export function ConversationPbxMenuMappingToJSON(value?: ConversationPbxMenuMapp
106
113
  'action': value.action,
107
114
  'action_target': value.action_target,
108
115
  'digits': value.digits,
116
+ 'sms_from_number': value.sms_from_number,
109
117
  'speech': value.speech,
110
118
  'text_message': value.text_message,
111
119
  };