ultracart_rest_api_v2_typescript 4.1.46 → 4.1.47
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.47
|
|
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.47 --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.47 | 01/26/2026 | conversation - agent auth object chat admin/user properties |
|
|
88
89
|
| 4.1.46 | 01/26/2026 | cart - expose utm array for use in abandon webhook only |
|
|
89
90
|
| 4.1.45 | 01/26/2026 | added multimedia file size to ItemContentMultimedia object |
|
|
90
91
|
| 4.1.44 | 01/26/2026 | conversations - ConversationDepartmentMember expose a flag for if the agent is AI |
|
|
@@ -16,6 +16,18 @@ import { ConversationTwilioAccount } from './ConversationTwilioAccount';
|
|
|
16
16
|
* @interface ConversationAgentAuth
|
|
17
17
|
*/
|
|
18
18
|
export interface ConversationAgentAuth {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ConversationAgentAuth
|
|
23
|
+
*/
|
|
24
|
+
chat_admin?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof ConversationAgentAuth
|
|
29
|
+
*/
|
|
30
|
+
chat_user?: boolean;
|
|
19
31
|
/**
|
|
20
32
|
*
|
|
21
33
|
* @type {string}
|
|
@@ -33,6 +33,8 @@ function ConversationAgentAuthFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
+
'chat_admin': !(0, runtime_1.exists)(json, 'chat_admin') ? undefined : json['chat_admin'],
|
|
37
|
+
'chat_user': !(0, runtime_1.exists)(json, 'chat_user') ? undefined : json['chat_user'],
|
|
36
38
|
'conversation_participant_arn': !(0, runtime_1.exists)(json, 'conversation_participant_arn') ? undefined : json['conversation_participant_arn'],
|
|
37
39
|
'conversation_participant_name': !(0, runtime_1.exists)(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
|
|
38
40
|
'group_ids': !(0, runtime_1.exists)(json, 'group_ids') ? undefined : json['group_ids'],
|
|
@@ -60,6 +62,8 @@ function ConversationAgentAuthToJSON(value) {
|
|
|
60
62
|
return null;
|
|
61
63
|
}
|
|
62
64
|
return {
|
|
65
|
+
'chat_admin': value.chat_admin,
|
|
66
|
+
'chat_user': value.chat_user,
|
|
63
67
|
'conversation_participant_arn': value.conversation_participant_arn,
|
|
64
68
|
'conversation_participant_name': value.conversation_participant_name,
|
|
65
69
|
'group_ids': value.group_ids,
|
package/package.json
CHANGED
|
@@ -26,6 +26,18 @@ import {
|
|
|
26
26
|
* @interface ConversationAgentAuth
|
|
27
27
|
*/
|
|
28
28
|
export interface ConversationAgentAuth {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof ConversationAgentAuth
|
|
33
|
+
*/
|
|
34
|
+
chat_admin?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof ConversationAgentAuth
|
|
39
|
+
*/
|
|
40
|
+
chat_user?: boolean;
|
|
29
41
|
/**
|
|
30
42
|
*
|
|
31
43
|
* @type {string}
|
|
@@ -145,6 +157,8 @@ export function ConversationAgentAuthFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
145
157
|
}
|
|
146
158
|
return {
|
|
147
159
|
|
|
160
|
+
'chat_admin': !exists(json, 'chat_admin') ? undefined : json['chat_admin'],
|
|
161
|
+
'chat_user': !exists(json, 'chat_user') ? undefined : json['chat_user'],
|
|
148
162
|
'conversation_participant_arn': !exists(json, 'conversation_participant_arn') ? undefined : json['conversation_participant_arn'],
|
|
149
163
|
'conversation_participant_name': !exists(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
|
|
150
164
|
'group_ids': !exists(json, 'group_ids') ? undefined : json['group_ids'],
|
|
@@ -173,6 +187,8 @@ export function ConversationAgentAuthToJSON(value?: ConversationAgentAuth | null
|
|
|
173
187
|
}
|
|
174
188
|
return {
|
|
175
189
|
|
|
190
|
+
'chat_admin': value.chat_admin,
|
|
191
|
+
'chat_user': value.chat_user,
|
|
176
192
|
'conversation_participant_arn': value.conversation_participant_arn,
|
|
177
193
|
'conversation_participant_name': value.conversation_participant_name,
|
|
178
194
|
'group_ids': value.group_ids,
|