ultracart_rest_api_v2_typescript 4.1.133 → 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.133
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.133 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.135 --save
10
10
  ```
11
11
 
12
12
  ```typescript
@@ -85,6 +85,8 @@ 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 |
89
+ | 4.1.134 | 08/21/2026 | conversation - pbx menu mapping for send text |
88
90
  | 4.1.133 | 08/20/2026 | conversations - pbx agent setting for creating tickets in zoho desk for outgoing calls |
89
91
  | 4.1.132 | 08/18/2026 | customer activity bug fix |
90
92
  | 4.1.131 | 08/18/2026 | customer activity now returns the SF communications active flag and last_activity_dts |
@@ -33,12 +33,24 @@ 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}
39
45
  * @memberof ConversationPbxMenuMapping
40
46
  */
41
47
  speech?: string;
48
+ /**
49
+ * Text message body sent to the caller when the action is 'send text'. Ignored for all other actions.
50
+ * @type {string}
51
+ * @memberof ConversationPbxMenuMapping
52
+ */
53
+ text_message?: string;
42
54
  }
43
55
  /**
44
56
  * @export
@@ -49,6 +61,7 @@ export declare const ConversationPbxMenuMappingActionEnum: {
49
61
  readonly Queue: "queue";
50
62
  readonly Voicemail: "voicemail";
51
63
  readonly Agent: "agent";
64
+ readonly SendText: "send text";
52
65
  };
53
66
  export type ConversationPbxMenuMappingActionEnum = typeof ConversationPbxMenuMappingActionEnum[keyof typeof ConversationPbxMenuMappingActionEnum];
54
67
  /**
@@ -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.
@@ -45,7 +46,9 @@ function ConversationPbxMenuMappingFromJSONTyped(json, ignoreDiscriminator) {
45
46
  'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
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'],
49
+ 'sms_from_number': !(0, runtime_1.exists)(json, 'sms_from_number') ? undefined : json['sms_from_number'],
48
50
  'speech': !(0, runtime_1.exists)(json, 'speech') ? undefined : json['speech'],
51
+ 'text_message': !(0, runtime_1.exists)(json, 'text_message') ? undefined : json['text_message'],
49
52
  };
50
53
  }
51
54
  exports.ConversationPbxMenuMappingFromJSONTyped = ConversationPbxMenuMappingFromJSONTyped;
@@ -60,7 +63,9 @@ function ConversationPbxMenuMappingToJSON(value) {
60
63
  'action': value.action,
61
64
  'action_target': value.action_target,
62
65
  'digits': value.digits,
66
+ 'sms_from_number': value.sms_from_number,
63
67
  'speech': value.speech,
68
+ 'text_message': value.text_message,
64
69
  };
65
70
  }
66
71
  exports.ConversationPbxMenuMappingToJSON = ConversationPbxMenuMappingToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.133",
3
+ "version": "4.1.135",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -37,12 +37,24 @@ 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}
43
49
  * @memberof ConversationPbxMenuMapping
44
50
  */
45
51
  speech?: string;
52
+ /**
53
+ * Text message body sent to the caller when the action is 'send text'. Ignored for all other actions.
54
+ * @type {string}
55
+ * @memberof ConversationPbxMenuMapping
56
+ */
57
+ text_message?: string;
46
58
  }
47
59
 
48
60
 
@@ -55,7 +67,8 @@ export const ConversationPbxMenuMappingActionEnum = {
55
67
  Menu: 'menu',
56
68
  Queue: 'queue',
57
69
  Voicemail: 'voicemail',
58
- Agent: 'agent'
70
+ Agent: 'agent',
71
+ SendText: 'send text'
59
72
  } as const;
60
73
  export type ConversationPbxMenuMappingActionEnum = typeof ConversationPbxMenuMappingActionEnum[keyof typeof ConversationPbxMenuMappingActionEnum];
61
74
 
@@ -82,7 +95,9 @@ export function ConversationPbxMenuMappingFromJSONTyped(json: any, ignoreDiscrim
82
95
  'action': !exists(json, 'action') ? undefined : json['action'],
83
96
  'action_target': !exists(json, 'action_target') ? undefined : json['action_target'],
84
97
  'digits': !exists(json, 'digits') ? undefined : json['digits'],
98
+ 'sms_from_number': !exists(json, 'sms_from_number') ? undefined : json['sms_from_number'],
85
99
  'speech': !exists(json, 'speech') ? undefined : json['speech'],
100
+ 'text_message': !exists(json, 'text_message') ? undefined : json['text_message'],
86
101
  };
87
102
  }
88
103
 
@@ -98,7 +113,9 @@ export function ConversationPbxMenuMappingToJSON(value?: ConversationPbxMenuMapp
98
113
  'action': value.action,
99
114
  'action_target': value.action_target,
100
115
  'digits': value.digits,
116
+ 'sms_from_number': value.sms_from_number,
101
117
  'speech': value.speech,
118
+ 'text_message': value.text_message,
102
119
  };
103
120
  }
104
121