ultracart_rest_api_v2_typescript 4.0.127 → 4.0.128

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.127
1
+ ## ultracart_rest_api_v2_typescript@4.0.128
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.127 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.128 --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.128 | 01/27/2023 | convo - added event_engage_customer property to message |
57
58
  | 4.0.127 | 01/27/2023 | conversations - getLocationsForEngagement method |
58
59
  | 4.0.126-RC | 01/26/2023 | typo in ConversationWebsocketMessage |
59
60
  | 4.0.125-RC | 01/26/2023 | conversation - added message type of engagement prompt |
@@ -20,6 +20,7 @@ import { ConversationMessage } from './ConversationMessage';
20
20
  import { ConversationParticipant } from './ConversationParticipant';
21
21
  import { ConversationSummary } from './ConversationSummary';
22
22
  import { ConversationWebchatQueueStatus } from './ConversationWebchatQueueStatus';
23
+ import { ConversationWebchatQueueStatusQueueEntry } from './ConversationWebchatQueueStatusQueueEntry';
23
24
  /**
24
25
  *
25
26
  * @export
@@ -50,6 +51,12 @@ export interface ConversationWebsocketMessage {
50
51
  * @memberof ConversationWebsocketMessage
51
52
  */
52
53
  event_conversation_closed?: ConversationSummary;
54
+ /**
55
+ *
56
+ * @type {ConversationWebchatQueueStatusQueueEntry}
57
+ * @memberof ConversationWebsocketMessage
58
+ */
59
+ event_engage_customer?: ConversationWebchatQueueStatusQueueEntry;
53
60
  /**
54
61
  *
55
62
  * @type {ConversationSummary}
@@ -26,6 +26,7 @@ var ConversationMessage_1 = require("./ConversationMessage");
26
26
  var ConversationParticipant_1 = require("./ConversationParticipant");
27
27
  var ConversationSummary_1 = require("./ConversationSummary");
28
28
  var ConversationWebchatQueueStatus_1 = require("./ConversationWebchatQueueStatus");
29
+ var ConversationWebchatQueueStatusQueueEntry_1 = require("./ConversationWebchatQueueStatusQueueEntry");
29
30
  /**
30
31
  * @export
31
32
  */
@@ -70,6 +71,7 @@ function ConversationWebsocketMessageFromJSONTyped(json, ignoreDiscriminator) {
70
71
  'event_add_coupon': !(0, runtime_1.exists)(json, 'event_add_coupon') ? undefined : (0, ConversationEventAddCoupon_1.ConversationEventAddCouponFromJSON)(json['event_add_coupon']),
71
72
  'event_add_item': !(0, runtime_1.exists)(json, 'event_add_item') ? undefined : (0, ConversationEventAddItem_1.ConversationEventAddItemFromJSON)(json['event_add_item']),
72
73
  'event_conversation_closed': !(0, runtime_1.exists)(json, 'event_conversation_closed') ? undefined : (0, ConversationSummary_1.ConversationSummaryFromJSON)(json['event_conversation_closed']),
74
+ 'event_engage_customer': !(0, runtime_1.exists)(json, 'event_engage_customer') ? undefined : (0, ConversationWebchatQueueStatusQueueEntry_1.ConversationWebchatQueueStatusQueueEntryFromJSON)(json['event_engage_customer']),
73
75
  'event_new_conversation': !(0, runtime_1.exists)(json, 'event_new_conversation') ? undefined : (0, ConversationSummary_1.ConversationSummaryFromJSON)(json['event_new_conversation']),
74
76
  'event_new_message': !(0, runtime_1.exists)(json, 'event_new_message') ? undefined : (0, ConversationSummary_1.ConversationSummaryFromJSON)(json['event_new_message']),
75
77
  'event_participant_join': !(0, runtime_1.exists)(json, 'event_participant_join') ? undefined : (0, ConversationSummary_1.ConversationSummaryFromJSON)(json['event_participant_join']),
@@ -102,6 +104,7 @@ function ConversationWebsocketMessageToJSON(value) {
102
104
  'event_add_coupon': (0, ConversationEventAddCoupon_1.ConversationEventAddCouponToJSON)(value.event_add_coupon),
103
105
  'event_add_item': (0, ConversationEventAddItem_1.ConversationEventAddItemToJSON)(value.event_add_item),
104
106
  'event_conversation_closed': (0, ConversationSummary_1.ConversationSummaryToJSON)(value.event_conversation_closed),
107
+ 'event_engage_customer': (0, ConversationWebchatQueueStatusQueueEntry_1.ConversationWebchatQueueStatusQueueEntryToJSON)(value.event_engage_customer),
105
108
  'event_new_conversation': (0, ConversationSummary_1.ConversationSummaryToJSON)(value.event_new_conversation),
106
109
  'event_new_message': (0, ConversationSummary_1.ConversationSummaryToJSON)(value.event_new_message),
107
110
  'event_participant_join': (0, ConversationSummary_1.ConversationSummaryToJSON)(value.event_participant_join),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.127",
3
+ "version": "4.0.128",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -79,6 +79,12 @@ import {
79
79
  ConversationWebchatQueueStatusFromJSONTyped,
80
80
  ConversationWebchatQueueStatusToJSON,
81
81
  } from './ConversationWebchatQueueStatus';
82
+ import {
83
+ ConversationWebchatQueueStatusQueueEntry,
84
+ ConversationWebchatQueueStatusQueueEntryFromJSON,
85
+ ConversationWebchatQueueStatusQueueEntryFromJSONTyped,
86
+ ConversationWebchatQueueStatusQueueEntryToJSON,
87
+ } from './ConversationWebchatQueueStatusQueueEntry';
82
88
 
83
89
  /**
84
90
  *
@@ -110,6 +116,12 @@ export interface ConversationWebsocketMessage {
110
116
  * @memberof ConversationWebsocketMessage
111
117
  */
112
118
  event_conversation_closed?: ConversationSummary;
119
+ /**
120
+ *
121
+ * @type {ConversationWebchatQueueStatusQueueEntry}
122
+ * @memberof ConversationWebsocketMessage
123
+ */
124
+ event_engage_customer?: ConversationWebchatQueueStatusQueueEntry;
113
125
  /**
114
126
  *
115
127
  * @type {ConversationSummary}
@@ -265,6 +277,7 @@ export function ConversationWebsocketMessageFromJSONTyped(json: any, ignoreDiscr
265
277
  'event_add_coupon': !exists(json, 'event_add_coupon') ? undefined : ConversationEventAddCouponFromJSON(json['event_add_coupon']),
266
278
  'event_add_item': !exists(json, 'event_add_item') ? undefined : ConversationEventAddItemFromJSON(json['event_add_item']),
267
279
  'event_conversation_closed': !exists(json, 'event_conversation_closed') ? undefined : ConversationSummaryFromJSON(json['event_conversation_closed']),
280
+ 'event_engage_customer': !exists(json, 'event_engage_customer') ? undefined : ConversationWebchatQueueStatusQueueEntryFromJSON(json['event_engage_customer']),
268
281
  'event_new_conversation': !exists(json, 'event_new_conversation') ? undefined : ConversationSummaryFromJSON(json['event_new_conversation']),
269
282
  'event_new_message': !exists(json, 'event_new_message') ? undefined : ConversationSummaryFromJSON(json['event_new_message']),
270
283
  'event_participant_join': !exists(json, 'event_participant_join') ? undefined : ConversationSummaryFromJSON(json['event_participant_join']),
@@ -298,6 +311,7 @@ export function ConversationWebsocketMessageToJSON(value?: ConversationWebsocket
298
311
  'event_add_coupon': ConversationEventAddCouponToJSON(value.event_add_coupon),
299
312
  'event_add_item': ConversationEventAddItemToJSON(value.event_add_item),
300
313
  'event_conversation_closed': ConversationSummaryToJSON(value.event_conversation_closed),
314
+ 'event_engage_customer': ConversationWebchatQueueStatusQueueEntryToJSON(value.event_engage_customer),
301
315
  'event_new_conversation': ConversationSummaryToJSON(value.event_new_conversation),
302
316
  'event_new_message': ConversationSummaryToJSON(value.event_new_message),
303
317
  'event_participant_join': ConversationSummaryToJSON(value.event_participant_join),