ultracart_rest_api_v2_typescript 4.0.44-RC → 4.0.45-RC

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.44-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.45-RC
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.44-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.45-RC --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.45-RC | 07/28/2022 | conversation bug fixes |
57
58
  | 4.0.44-RC | 07/28/2022 | conversation message upload keys property |
58
59
  | 4.0.43-RC | 07/26/2022 | conversations - queue statistics |
59
60
  | 4.0.42-RC | 07/25/2022 | conversation development |
@@ -77,6 +77,12 @@ export interface ConversationWebchatQueueStatus {
77
77
  * @memberof ConversationWebchatQueueStatus
78
78
  */
79
79
  customer_average_hold_time_seconds?: number;
80
+ /**
81
+ *
82
+ * @type {number}
83
+ * @memberof ConversationWebchatQueueStatus
84
+ */
85
+ customer_chat_count?: number;
80
86
  /**
81
87
  *
82
88
  * @type {number}
@@ -36,6 +36,7 @@ function ConversationWebchatQueueStatusFromJSONTyped(json, ignoreDiscriminator)
36
36
  'customer_average_abandon_time_seconds': !(0, runtime_1.exists)(json, 'customer_average_abandon_time_seconds') ? undefined : json['customer_average_abandon_time_seconds'],
37
37
  'customer_average_chat_time_seconds': !(0, runtime_1.exists)(json, 'customer_average_chat_time_seconds') ? undefined : json['customer_average_chat_time_seconds'],
38
38
  'customer_average_hold_time_seconds': !(0, runtime_1.exists)(json, 'customer_average_hold_time_seconds') ? undefined : json['customer_average_hold_time_seconds'],
39
+ 'customer_chat_count': !(0, runtime_1.exists)(json, 'customer_chat_count') ? undefined : json['customer_chat_count'],
39
40
  'customer_waiting_count': !(0, runtime_1.exists)(json, 'customer_waiting_count') ? undefined : json['customer_waiting_count'],
40
41
  'customer_waiting_join_dts': !(0, runtime_1.exists)(json, 'customer_waiting_join_dts') ? undefined : json['customer_waiting_join_dts'],
41
42
  'queue_entries': !(0, runtime_1.exists)(json, 'queue_entries') ? undefined : (json['queue_entries'].map(ConversationWebchatQueueStatusQueueEntry_1.ConversationWebchatQueueStatusQueueEntryFromJSON)),
@@ -61,6 +62,7 @@ function ConversationWebchatQueueStatusToJSON(value) {
61
62
  'customer_average_abandon_time_seconds': value.customer_average_abandon_time_seconds,
62
63
  'customer_average_chat_time_seconds': value.customer_average_chat_time_seconds,
63
64
  'customer_average_hold_time_seconds': value.customer_average_hold_time_seconds,
65
+ 'customer_chat_count': value.customer_chat_count,
64
66
  'customer_waiting_count': value.customer_waiting_count,
65
67
  'customer_waiting_join_dts': value.customer_waiting_join_dts,
66
68
  'queue_entries': value.queue_entries === undefined ? undefined : (value.queue_entries.map(ConversationWebchatQueueStatusQueueEntry_1.ConversationWebchatQueueStatusQueueEntryToJSON)),
@@ -33,6 +33,12 @@ export interface ConversationWebchatQueueStatusQueueEntry {
33
33
  * @memberof ConversationWebchatQueueStatusQueueEntry
34
34
  */
35
35
  conversation_webchat_queue_uuid?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ConversationWebchatQueueStatusQueueEntry
40
+ */
41
+ email?: string;
36
42
  /**
37
43
  * Date/time the customer joined the queue
38
44
  * @type {string}
@@ -27,6 +27,7 @@ function ConversationWebchatQueueStatusQueueEntryFromJSONTyped(json, ignoreDiscr
27
27
  'conversation_participant_arn': !(0, runtime_1.exists)(json, 'conversation_participant_arn') ? undefined : json['conversation_participant_arn'],
28
28
  'conversation_participant_name': !(0, runtime_1.exists)(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
29
29
  'conversation_webchat_queue_uuid': !(0, runtime_1.exists)(json, 'conversation_webchat_queue_uuid') ? undefined : json['conversation_webchat_queue_uuid'],
30
+ 'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
30
31
  'join_dts': !(0, runtime_1.exists)(json, 'join_dts') ? undefined : json['join_dts'],
31
32
  'question': !(0, runtime_1.exists)(json, 'question') ? undefined : json['question'],
32
33
  };
@@ -43,6 +44,7 @@ function ConversationWebchatQueueStatusQueueEntryToJSON(value) {
43
44
  'conversation_participant_arn': value.conversation_participant_arn,
44
45
  'conversation_participant_name': value.conversation_participant_name,
45
46
  'conversation_webchat_queue_uuid': value.conversation_webchat_queue_uuid,
47
+ 'email': value.email,
46
48
  'join_dts': value.join_dts,
47
49
  'question': value.question,
48
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.44-RC",
3
+ "version": "4.0.45-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -92,6 +92,12 @@ export interface ConversationWebchatQueueStatus {
92
92
  * @memberof ConversationWebchatQueueStatus
93
93
  */
94
94
  customer_average_hold_time_seconds?: number;
95
+ /**
96
+ *
97
+ * @type {number}
98
+ * @memberof ConversationWebchatQueueStatus
99
+ */
100
+ customer_chat_count?: number;
95
101
  /**
96
102
  *
97
103
  * @type {number}
@@ -138,6 +144,7 @@ export function ConversationWebchatQueueStatusFromJSONTyped(json: any, ignoreDis
138
144
  'customer_average_abandon_time_seconds': !exists(json, 'customer_average_abandon_time_seconds') ? undefined : json['customer_average_abandon_time_seconds'],
139
145
  'customer_average_chat_time_seconds': !exists(json, 'customer_average_chat_time_seconds') ? undefined : json['customer_average_chat_time_seconds'],
140
146
  'customer_average_hold_time_seconds': !exists(json, 'customer_average_hold_time_seconds') ? undefined : json['customer_average_hold_time_seconds'],
147
+ 'customer_chat_count': !exists(json, 'customer_chat_count') ? undefined : json['customer_chat_count'],
141
148
  'customer_waiting_count': !exists(json, 'customer_waiting_count') ? undefined : json['customer_waiting_count'],
142
149
  'customer_waiting_join_dts': !exists(json, 'customer_waiting_join_dts') ? undefined : json['customer_waiting_join_dts'],
143
150
  'queue_entries': !exists(json, 'queue_entries') ? undefined : ((json['queue_entries'] as Array<any>).map(ConversationWebchatQueueStatusQueueEntryFromJSON)),
@@ -164,6 +171,7 @@ export function ConversationWebchatQueueStatusToJSON(value?: ConversationWebchat
164
171
  'customer_average_abandon_time_seconds': value.customer_average_abandon_time_seconds,
165
172
  'customer_average_chat_time_seconds': value.customer_average_chat_time_seconds,
166
173
  'customer_average_hold_time_seconds': value.customer_average_hold_time_seconds,
174
+ 'customer_chat_count': value.customer_chat_count,
167
175
  'customer_waiting_count': value.customer_waiting_count,
168
176
  'customer_waiting_join_dts': value.customer_waiting_join_dts,
169
177
  'queue_entries': value.queue_entries === undefined ? undefined : ((value.queue_entries as Array<any>).map(ConversationWebchatQueueStatusQueueEntryToJSON)),
@@ -37,6 +37,12 @@ export interface ConversationWebchatQueueStatusQueueEntry {
37
37
  * @memberof ConversationWebchatQueueStatusQueueEntry
38
38
  */
39
39
  conversation_webchat_queue_uuid?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ConversationWebchatQueueStatusQueueEntry
44
+ */
45
+ email?: string;
40
46
  /**
41
47
  * Date/time the customer joined the queue
42
48
  * @type {string}
@@ -64,6 +70,7 @@ export function ConversationWebchatQueueStatusQueueEntryFromJSONTyped(json: any,
64
70
  'conversation_participant_arn': !exists(json, 'conversation_participant_arn') ? undefined : json['conversation_participant_arn'],
65
71
  'conversation_participant_name': !exists(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
66
72
  'conversation_webchat_queue_uuid': !exists(json, 'conversation_webchat_queue_uuid') ? undefined : json['conversation_webchat_queue_uuid'],
73
+ 'email': !exists(json, 'email') ? undefined : json['email'],
67
74
  'join_dts': !exists(json, 'join_dts') ? undefined : json['join_dts'],
68
75
  'question': !exists(json, 'question') ? undefined : json['question'],
69
76
  };
@@ -81,6 +88,7 @@ export function ConversationWebchatQueueStatusQueueEntryToJSON(value?: Conversat
81
88
  'conversation_participant_arn': value.conversation_participant_arn,
82
89
  'conversation_participant_name': value.conversation_participant_name,
83
90
  'conversation_webchat_queue_uuid': value.conversation_webchat_queue_uuid,
91
+ 'email': value.email,
84
92
  'join_dts': value.join_dts,
85
93
  'question': value.question,
86
94
  };