ultracart_rest_api_v2_typescript 4.0.129 → 4.0.130
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,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.130
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.130 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.130 | 02/06/2023 | convo - add conversation_arn to ConversationWebsocketMessage |
|
|
57
58
|
| 4.0.129 | 02/01/2023 | convo - agent profile get/update methods |
|
|
58
59
|
| 4.0.128 | 01/27/2023 | convo - added event_engage_customer property to message |
|
|
59
60
|
| 4.0.127 | 01/27/2023 | conversations - getLocationsForEngagement method |
|
|
@@ -27,6 +27,12 @@ import { ConversationWebchatQueueStatusQueueEntry } from './ConversationWebchatQ
|
|
|
27
27
|
* @interface ConversationWebsocketMessage
|
|
28
28
|
*/
|
|
29
29
|
export interface ConversationWebsocketMessage {
|
|
30
|
+
/**
|
|
31
|
+
* Conversation ARN
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ConversationWebsocketMessage
|
|
34
|
+
*/
|
|
35
|
+
conversation_arn?: string;
|
|
30
36
|
/**
|
|
31
37
|
* Conversation UUID if the websocket message is tied to a specific conversation
|
|
32
38
|
* @type {string}
|
|
@@ -67,6 +67,7 @@ function ConversationWebsocketMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
67
67
|
return json;
|
|
68
68
|
}
|
|
69
69
|
return {
|
|
70
|
+
'conversation_arn': !(0, runtime_1.exists)(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
70
71
|
'conversation_uuid': !(0, runtime_1.exists)(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
71
72
|
'event_add_coupon': !(0, runtime_1.exists)(json, 'event_add_coupon') ? undefined : (0, ConversationEventAddCoupon_1.ConversationEventAddCouponFromJSON)(json['event_add_coupon']),
|
|
72
73
|
'event_add_item': !(0, runtime_1.exists)(json, 'event_add_item') ? undefined : (0, ConversationEventAddItem_1.ConversationEventAddItemFromJSON)(json['event_add_item']),
|
|
@@ -100,6 +101,7 @@ function ConversationWebsocketMessageToJSON(value) {
|
|
|
100
101
|
return null;
|
|
101
102
|
}
|
|
102
103
|
return {
|
|
104
|
+
'conversation_arn': value.conversation_arn,
|
|
103
105
|
'conversation_uuid': value.conversation_uuid,
|
|
104
106
|
'event_add_coupon': (0, ConversationEventAddCoupon_1.ConversationEventAddCouponToJSON)(value.event_add_coupon),
|
|
105
107
|
'event_add_item': (0, ConversationEventAddItem_1.ConversationEventAddItemToJSON)(value.event_add_item),
|
package/package.json
CHANGED
|
@@ -92,6 +92,12 @@ import {
|
|
|
92
92
|
* @interface ConversationWebsocketMessage
|
|
93
93
|
*/
|
|
94
94
|
export interface ConversationWebsocketMessage {
|
|
95
|
+
/**
|
|
96
|
+
* Conversation ARN
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof ConversationWebsocketMessage
|
|
99
|
+
*/
|
|
100
|
+
conversation_arn?: string;
|
|
95
101
|
/**
|
|
96
102
|
* Conversation UUID if the websocket message is tied to a specific conversation
|
|
97
103
|
* @type {string}
|
|
@@ -273,6 +279,7 @@ export function ConversationWebsocketMessageFromJSONTyped(json: any, ignoreDiscr
|
|
|
273
279
|
}
|
|
274
280
|
return {
|
|
275
281
|
|
|
282
|
+
'conversation_arn': !exists(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
276
283
|
'conversation_uuid': !exists(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
277
284
|
'event_add_coupon': !exists(json, 'event_add_coupon') ? undefined : ConversationEventAddCouponFromJSON(json['event_add_coupon']),
|
|
278
285
|
'event_add_item': !exists(json, 'event_add_item') ? undefined : ConversationEventAddItemFromJSON(json['event_add_item']),
|
|
@@ -307,6 +314,7 @@ export function ConversationWebsocketMessageToJSON(value?: ConversationWebsocket
|
|
|
307
314
|
}
|
|
308
315
|
return {
|
|
309
316
|
|
|
317
|
+
'conversation_arn': value.conversation_arn,
|
|
310
318
|
'conversation_uuid': value.conversation_uuid,
|
|
311
319
|
'event_add_coupon': ConversationEventAddCouponToJSON(value.event_add_coupon),
|
|
312
320
|
'event_add_item': ConversationEventAddItemToJSON(value.event_add_item),
|