ultracart_rest_api_v2_typescript 4.1.41 → 4.1.42

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.41
2
+ ## ultracart_rest_api_v2_typescript@4.1.42
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.41 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.42 --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.42 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
88
89
  | 4.1.41 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
89
90
  | 4.1.40 | 01/07/2026 | convseration - AI agent profile voice settings |
90
91
  | 4.1.39 | 12/31/2025 | conversations AI - queue AI settings |
@@ -75,6 +75,12 @@ export interface ConversationPbxAddress {
75
75
  * @memberof ConversationPbxAddress
76
76
  */
77
77
  street?: string;
78
+ /**
79
+ * Whether the address is valid (validated or verified)
80
+ * @type {boolean}
81
+ * @memberof ConversationPbxAddress
82
+ */
83
+ valid?: boolean;
78
84
  /**
79
85
  * Whether the address has been validated by Twilio
80
86
  * @type {boolean}
@@ -42,6 +42,7 @@ function ConversationPbxAddressFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'postal_code': !(0, runtime_1.exists)(json, 'postal_code') ? undefined : json['postal_code'],
43
43
  'region': !(0, runtime_1.exists)(json, 'region') ? undefined : json['region'],
44
44
  'street': !(0, runtime_1.exists)(json, 'street') ? undefined : json['street'],
45
+ 'valid': !(0, runtime_1.exists)(json, 'valid') ? undefined : json['valid'],
45
46
  'validated': !(0, runtime_1.exists)(json, 'validated') ? undefined : json['validated'],
46
47
  'verified': !(0, runtime_1.exists)(json, 'verified') ? undefined : json['verified'],
47
48
  };
@@ -65,6 +66,7 @@ function ConversationPbxAddressToJSON(value) {
65
66
  'postal_code': value.postal_code,
66
67
  'region': value.region,
67
68
  'street': value.street,
69
+ 'valid': value.valid,
68
70
  'validated': value.validated,
69
71
  'verified': value.verified,
70
72
  };
@@ -45,6 +45,12 @@ export interface ConversationPbxAvailablePhoneNumber {
45
45
  * @memberof ConversationPbxAvailablePhoneNumber
46
46
  */
47
47
  mms?: boolean;
48
+ /**
49
+ * Monthly cost for this phone number
50
+ * @type {number}
51
+ * @memberof ConversationPbxAvailablePhoneNumber
52
+ */
53
+ monthly_cost?: number;
48
54
  /**
49
55
  * Phone number in E.164 format
50
56
  * @type {string}
@@ -46,6 +46,7 @@ function ConversationPbxAvailablePhoneNumberFromJSONTyped(json, ignoreDiscrimina
46
46
  'friendly_name': !(0, runtime_1.exists)(json, 'friendly_name') ? undefined : json['friendly_name'],
47
47
  'locality': !(0, runtime_1.exists)(json, 'locality') ? undefined : json['locality'],
48
48
  'mms': !(0, runtime_1.exists)(json, 'mms') ? undefined : json['mms'],
49
+ 'monthly_cost': !(0, runtime_1.exists)(json, 'monthly_cost') ? undefined : json['monthly_cost'],
49
50
  'phone_number': !(0, runtime_1.exists)(json, 'phone_number') ? undefined : json['phone_number'],
50
51
  'region': !(0, runtime_1.exists)(json, 'region') ? undefined : json['region'],
51
52
  'sms': !(0, runtime_1.exists)(json, 'sms') ? undefined : json['sms'],
@@ -66,6 +67,7 @@ function ConversationPbxAvailablePhoneNumberToJSON(value) {
66
67
  'friendly_name': value.friendly_name,
67
68
  'locality': value.locality,
68
69
  'mms': value.mms,
70
+ 'monthly_cost': value.monthly_cost,
69
71
  'phone_number': value.phone_number,
70
72
  'region': value.region,
71
73
  'sms': value.sms,
@@ -27,6 +27,12 @@ export interface ConversationPbxPhoneNumber {
27
27
  * @memberof ConversationPbxPhoneNumber
28
28
  */
29
29
  action_target?: string;
30
+ /**
31
+ * Twilio Address SID linked to this phone number for regulatory compliance
32
+ * @type {string}
33
+ * @memberof ConversationPbxPhoneNumber
34
+ */
35
+ address_sid?: string;
30
36
  /**
31
37
  * Conversation Pbx Phone Number UUID
32
38
  * @type {string}
@@ -44,6 +44,7 @@ function ConversationPbxPhoneNumberFromJSONTyped(json, ignoreDiscriminator) {
44
44
  return {
45
45
  'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
46
46
  'action_target': !(0, runtime_1.exists)(json, 'action_target') ? undefined : json['action_target'],
47
+ 'address_sid': !(0, runtime_1.exists)(json, 'address_sid') ? undefined : json['address_sid'],
47
48
  'conversation_pbx_phone_number_uuid': !(0, runtime_1.exists)(json, 'conversation_pbx_phone_number_uuid') ? undefined : json['conversation_pbx_phone_number_uuid'],
48
49
  'deletion_protected': !(0, runtime_1.exists)(json, 'deletion_protected') ? undefined : json['deletion_protected'],
49
50
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -61,6 +62,7 @@ function ConversationPbxPhoneNumberToJSON(value) {
61
62
  return {
62
63
  'action': value.action,
63
64
  'action_target': value.action_target,
65
+ 'address_sid': value.address_sid,
64
66
  'conversation_pbx_phone_number_uuid': value.conversation_pbx_phone_number_uuid,
65
67
  'deletion_protected': value.deletion_protected,
66
68
  'merchant_id': value.merchant_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.41",
3
+ "version": "4.1.42",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -79,6 +79,12 @@ export interface ConversationPbxAddress {
79
79
  * @memberof ConversationPbxAddress
80
80
  */
81
81
  street?: string;
82
+ /**
83
+ * Whether the address is valid (validated or verified)
84
+ * @type {boolean}
85
+ * @memberof ConversationPbxAddress
86
+ */
87
+ valid?: boolean;
82
88
  /**
83
89
  * Whether the address has been validated by Twilio
84
90
  * @type {boolean}
@@ -124,6 +130,7 @@ export function ConversationPbxAddressFromJSONTyped(json: any, ignoreDiscriminat
124
130
  'postal_code': !exists(json, 'postal_code') ? undefined : json['postal_code'],
125
131
  'region': !exists(json, 'region') ? undefined : json['region'],
126
132
  'street': !exists(json, 'street') ? undefined : json['street'],
133
+ 'valid': !exists(json, 'valid') ? undefined : json['valid'],
127
134
  'validated': !exists(json, 'validated') ? undefined : json['validated'],
128
135
  'verified': !exists(json, 'verified') ? undefined : json['verified'],
129
136
  };
@@ -148,6 +155,7 @@ export function ConversationPbxAddressToJSON(value?: ConversationPbxAddress | nu
148
155
  'postal_code': value.postal_code,
149
156
  'region': value.region,
150
157
  'street': value.street,
158
+ 'valid': value.valid,
151
159
  'validated': value.validated,
152
160
  'verified': value.verified,
153
161
  };
@@ -49,6 +49,12 @@ export interface ConversationPbxAvailablePhoneNumber {
49
49
  * @memberof ConversationPbxAvailablePhoneNumber
50
50
  */
51
51
  mms?: boolean;
52
+ /**
53
+ * Monthly cost for this phone number
54
+ * @type {number}
55
+ * @memberof ConversationPbxAvailablePhoneNumber
56
+ */
57
+ monthly_cost?: number;
52
58
  /**
53
59
  * Phone number in E.164 format
54
60
  * @type {string}
@@ -113,6 +119,7 @@ export function ConversationPbxAvailablePhoneNumberFromJSONTyped(json: any, igno
113
119
  'friendly_name': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
114
120
  'locality': !exists(json, 'locality') ? undefined : json['locality'],
115
121
  'mms': !exists(json, 'mms') ? undefined : json['mms'],
122
+ 'monthly_cost': !exists(json, 'monthly_cost') ? undefined : json['monthly_cost'],
116
123
  'phone_number': !exists(json, 'phone_number') ? undefined : json['phone_number'],
117
124
  'region': !exists(json, 'region') ? undefined : json['region'],
118
125
  'sms': !exists(json, 'sms') ? undefined : json['sms'],
@@ -134,6 +141,7 @@ export function ConversationPbxAvailablePhoneNumberToJSON(value?: ConversationPb
134
141
  'friendly_name': value.friendly_name,
135
142
  'locality': value.locality,
136
143
  'mms': value.mms,
144
+ 'monthly_cost': value.monthly_cost,
137
145
  'phone_number': value.phone_number,
138
146
  'region': value.region,
139
147
  'sms': value.sms,
@@ -31,6 +31,12 @@ export interface ConversationPbxPhoneNumber {
31
31
  * @memberof ConversationPbxPhoneNumber
32
32
  */
33
33
  action_target?: string;
34
+ /**
35
+ * Twilio Address SID linked to this phone number for regulatory compliance
36
+ * @type {string}
37
+ * @memberof ConversationPbxPhoneNumber
38
+ */
39
+ address_sid?: string;
34
40
  /**
35
41
  * Conversation Pbx Phone Number UUID
36
42
  * @type {string}
@@ -93,6 +99,7 @@ export function ConversationPbxPhoneNumberFromJSONTyped(json: any, ignoreDiscrim
93
99
 
94
100
  'action': !exists(json, 'action') ? undefined : json['action'],
95
101
  'action_target': !exists(json, 'action_target') ? undefined : json['action_target'],
102
+ 'address_sid': !exists(json, 'address_sid') ? undefined : json['address_sid'],
96
103
  'conversation_pbx_phone_number_uuid': !exists(json, 'conversation_pbx_phone_number_uuid') ? undefined : json['conversation_pbx_phone_number_uuid'],
97
104
  'deletion_protected': !exists(json, 'deletion_protected') ? undefined : json['deletion_protected'],
98
105
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -111,6 +118,7 @@ export function ConversationPbxPhoneNumberToJSON(value?: ConversationPbxPhoneNum
111
118
 
112
119
  'action': value.action,
113
120
  'action_target': value.action_target,
121
+ 'address_sid': value.address_sid,
114
122
  'conversation_pbx_phone_number_uuid': value.conversation_pbx_phone_number_uuid,
115
123
  'deletion_protected': value.deletion_protected,
116
124
  'merchant_id': value.merchant_id,