ultracart_rest_api_v2_typescript 4.1.35 → 4.1.36

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.35
2
+ ## ultracart_rest_api_v2_typescript@4.1.36
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.35 --save
9
+ npm install ultracart_rest_api_v2_typescript@4.1.36 --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.36 | 12/22/2025 | conversation - agent auth worker token v2 |
88
89
  | 4.1.35 | 12/02/2025 | caching option added to getCustomers, created new method searchCustomers |
89
90
  | 4.1.34 | 12/02/2025 | coupons - added optional free specific shipping method to two coupons |
90
91
  | 4.1.33 | 11/26/2025 | conversation - AI agent profile fields |
@@ -88,6 +88,12 @@ export interface ConversationAgentAuth {
88
88
  * @memberof ConversationAgentAuth
89
89
  */
90
90
  pbx_worker_token?: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof ConversationAgentAuth
95
+ */
96
+ pbx_worker_token_v2?: string;
91
97
  /**
92
98
  *
93
99
  * @type {Array<ConversationTwilioAccount>}
@@ -45,6 +45,7 @@ function ConversationAgentAuthFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'pbx_voice_identity': !(0, runtime_1.exists)(json, 'pbx_voice_identity') ? undefined : json['pbx_voice_identity'],
46
46
  'pbx_voice_token': !(0, runtime_1.exists)(json, 'pbx_voice_token') ? undefined : json['pbx_voice_token'],
47
47
  'pbx_worker_token': !(0, runtime_1.exists)(json, 'pbx_worker_token') ? undefined : json['pbx_worker_token'],
48
+ 'pbx_worker_token_v2': !(0, runtime_1.exists)(json, 'pbx_worker_token_v2') ? undefined : json['pbx_worker_token_v2'],
48
49
  'twilio_accounts': !(0, runtime_1.exists)(json, 'twilio_accounts') ? undefined : (json['twilio_accounts'].map(ConversationTwilioAccount_1.ConversationTwilioAccountFromJSON)),
49
50
  'user_id': !(0, runtime_1.exists)(json, 'user_id') ? undefined : json['user_id'],
50
51
  'websocket_url': !(0, runtime_1.exists)(json, 'websocket_url') ? undefined : json['websocket_url'],
@@ -71,6 +72,7 @@ function ConversationAgentAuthToJSON(value) {
71
72
  'pbx_voice_identity': value.pbx_voice_identity,
72
73
  'pbx_voice_token': value.pbx_voice_token,
73
74
  'pbx_worker_token': value.pbx_worker_token,
75
+ 'pbx_worker_token_v2': value.pbx_worker_token_v2,
74
76
  'twilio_accounts': value.twilio_accounts === undefined ? undefined : (value.twilio_accounts.map(ConversationTwilioAccount_1.ConversationTwilioAccountToJSON)),
75
77
  'user_id': value.user_id,
76
78
  'websocket_url': value.websocket_url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.1.35",
3
+ "version": "4.1.36",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -98,6 +98,12 @@ export interface ConversationAgentAuth {
98
98
  * @memberof ConversationAgentAuth
99
99
  */
100
100
  pbx_worker_token?: string;
101
+ /**
102
+ *
103
+ * @type {string}
104
+ * @memberof ConversationAgentAuth
105
+ */
106
+ pbx_worker_token_v2?: string;
101
107
  /**
102
108
  *
103
109
  * @type {Array<ConversationTwilioAccount>}
@@ -151,6 +157,7 @@ export function ConversationAgentAuthFromJSONTyped(json: any, ignoreDiscriminato
151
157
  'pbx_voice_identity': !exists(json, 'pbx_voice_identity') ? undefined : json['pbx_voice_identity'],
152
158
  'pbx_voice_token': !exists(json, 'pbx_voice_token') ? undefined : json['pbx_voice_token'],
153
159
  'pbx_worker_token': !exists(json, 'pbx_worker_token') ? undefined : json['pbx_worker_token'],
160
+ 'pbx_worker_token_v2': !exists(json, 'pbx_worker_token_v2') ? undefined : json['pbx_worker_token_v2'],
154
161
  'twilio_accounts': !exists(json, 'twilio_accounts') ? undefined : ((json['twilio_accounts'] as Array<any>).map(ConversationTwilioAccountFromJSON)),
155
162
  'user_id': !exists(json, 'user_id') ? undefined : json['user_id'],
156
163
  'websocket_url': !exists(json, 'websocket_url') ? undefined : json['websocket_url'],
@@ -178,6 +185,7 @@ export function ConversationAgentAuthToJSON(value?: ConversationAgentAuth | null
178
185
  'pbx_voice_identity': value.pbx_voice_identity,
179
186
  'pbx_voice_token': value.pbx_voice_token,
180
187
  'pbx_worker_token': value.pbx_worker_token,
188
+ 'pbx_worker_token_v2': value.pbx_worker_token_v2,
181
189
  'twilio_accounts': value.twilio_accounts === undefined ? undefined : ((value.twilio_accounts as Array<any>).map(ConversationTwilioAccountToJSON)),
182
190
  'user_id': value.user_id,
183
191
  'websocket_url': value.websocket_url,