ultracart_rest_api_v2_typescript 4.0.90-RC → 4.0.91-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 +3 -2
- package/dist/models/Conversation.d.ts +6 -0
- package/dist/models/Conversation.js +2 -0
- package/dist/models/ConversationSummary.d.ts +6 -0
- package/dist/models/ConversationSummary.js +2 -0
- package/package.json +1 -1
- package/src/models/Conversation.ts +8 -0
- package/src/models/ConversationSummary.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.91-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.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.91-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.91-RC | 12/02/2022 | conversations - customer last unresponded dts |
|
|
57
58
|
| 4.0.90-RC | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
|
58
59
|
| 4.0.89-RC | 11/30/2022 | order item - addl fields for linking kits to kit components |
|
|
59
60
|
| 4.0.88-RC | 11/29/2022 | converstation marked convo read method |
|
|
@@ -41,6 +41,12 @@ export interface Conversation {
|
|
|
41
41
|
* @memberof Conversation
|
|
42
42
|
*/
|
|
43
43
|
conversation_uuid?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Date/time of the first customer message that is unresponded to.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof Conversation
|
|
48
|
+
*/
|
|
49
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {string}
|
|
@@ -37,6 +37,7 @@ function ConversationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'closed': !(0, runtime_1.exists)(json, 'closed') ? undefined : json['closed'],
|
|
38
38
|
'conversation_arn': !(0, runtime_1.exists)(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
39
39
|
'conversation_uuid': !(0, runtime_1.exists)(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
40
|
+
'customer_first_message_unresponded_to_dts': !(0, runtime_1.exists)(json, 'customer_first_message_unresponded_to_dts') ? undefined : json['customer_first_message_unresponded_to_dts'],
|
|
40
41
|
'last_conversation_message_body': !(0, runtime_1.exists)(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
|
|
41
42
|
'last_conversation_participant_arn': !(0, runtime_1.exists)(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
|
|
42
43
|
'last_conversation_participant_name': !(0, runtime_1.exists)(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
|
|
@@ -65,6 +66,7 @@ function ConversationToJSON(value) {
|
|
|
65
66
|
'closed': value.closed,
|
|
66
67
|
'conversation_arn': value.conversation_arn,
|
|
67
68
|
'conversation_uuid': value.conversation_uuid,
|
|
69
|
+
'customer_first_message_unresponded_to_dts': value.customer_first_message_unresponded_to_dts,
|
|
68
70
|
'last_conversation_message_body': value.last_conversation_message_body,
|
|
69
71
|
'last_conversation_participant_arn': value.last_conversation_participant_arn,
|
|
70
72
|
'last_conversation_participant_name': value.last_conversation_participant_name,
|
|
@@ -34,6 +34,12 @@ export interface ConversationSummary {
|
|
|
34
34
|
* @memberof ConversationSummary
|
|
35
35
|
*/
|
|
36
36
|
conversation_uuid?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Date/time of the first customer message that is unresponded to.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ConversationSummary
|
|
41
|
+
*/
|
|
42
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
@@ -35,6 +35,7 @@ function ConversationSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'closed': !(0, runtime_1.exists)(json, 'closed') ? undefined : json['closed'],
|
|
36
36
|
'conversation_arn': !(0, runtime_1.exists)(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
37
37
|
'conversation_uuid': !(0, runtime_1.exists)(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
38
|
+
'customer_first_message_unresponded_to_dts': !(0, runtime_1.exists)(json, 'customer_first_message_unresponded_to_dts') ? undefined : json['customer_first_message_unresponded_to_dts'],
|
|
38
39
|
'last_conversation_message_body': !(0, runtime_1.exists)(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
|
|
39
40
|
'last_conversation_participant_arn': !(0, runtime_1.exists)(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
|
|
40
41
|
'last_conversation_participant_name': !(0, runtime_1.exists)(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
|
|
@@ -61,6 +62,7 @@ function ConversationSummaryToJSON(value) {
|
|
|
61
62
|
'closed': value.closed,
|
|
62
63
|
'conversation_arn': value.conversation_arn,
|
|
63
64
|
'conversation_uuid': value.conversation_uuid,
|
|
65
|
+
'customer_first_message_unresponded_to_dts': value.customer_first_message_unresponded_to_dts,
|
|
64
66
|
'last_conversation_message_body': value.last_conversation_message_body,
|
|
65
67
|
'last_conversation_participant_arn': value.last_conversation_participant_arn,
|
|
66
68
|
'last_conversation_participant_name': value.last_conversation_participant_name,
|
package/package.json
CHANGED
|
@@ -56,6 +56,12 @@ export interface Conversation {
|
|
|
56
56
|
* @memberof Conversation
|
|
57
57
|
*/
|
|
58
58
|
conversation_uuid?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Date/time of the first customer message that is unresponded to.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Conversation
|
|
63
|
+
*/
|
|
64
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
67
|
* @type {string}
|
|
@@ -161,6 +167,7 @@ export function ConversationFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
161
167
|
'closed': !exists(json, 'closed') ? undefined : json['closed'],
|
|
162
168
|
'conversation_arn': !exists(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
163
169
|
'conversation_uuid': !exists(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
170
|
+
'customer_first_message_unresponded_to_dts': !exists(json, 'customer_first_message_unresponded_to_dts') ? undefined : json['customer_first_message_unresponded_to_dts'],
|
|
164
171
|
'last_conversation_message_body': !exists(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
|
|
165
172
|
'last_conversation_participant_arn': !exists(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
|
|
166
173
|
'last_conversation_participant_name': !exists(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
|
|
@@ -190,6 +197,7 @@ export function ConversationToJSON(value?: Conversation | null): any {
|
|
|
190
197
|
'closed': value.closed,
|
|
191
198
|
'conversation_arn': value.conversation_arn,
|
|
192
199
|
'conversation_uuid': value.conversation_uuid,
|
|
200
|
+
'customer_first_message_unresponded_to_dts': value.customer_first_message_unresponded_to_dts,
|
|
193
201
|
'last_conversation_message_body': value.last_conversation_message_body,
|
|
194
202
|
'last_conversation_participant_arn': value.last_conversation_participant_arn,
|
|
195
203
|
'last_conversation_participant_name': value.last_conversation_participant_name,
|
|
@@ -44,6 +44,12 @@ export interface ConversationSummary {
|
|
|
44
44
|
* @memberof ConversationSummary
|
|
45
45
|
*/
|
|
46
46
|
conversation_uuid?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Date/time of the first customer message that is unresponded to.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ConversationSummary
|
|
51
|
+
*/
|
|
52
|
+
customer_first_message_unresponded_to_dts?: string;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
@@ -142,6 +148,7 @@ export function ConversationSummaryFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
142
148
|
'closed': !exists(json, 'closed') ? undefined : json['closed'],
|
|
143
149
|
'conversation_arn': !exists(json, 'conversation_arn') ? undefined : json['conversation_arn'],
|
|
144
150
|
'conversation_uuid': !exists(json, 'conversation_uuid') ? undefined : json['conversation_uuid'],
|
|
151
|
+
'customer_first_message_unresponded_to_dts': !exists(json, 'customer_first_message_unresponded_to_dts') ? undefined : json['customer_first_message_unresponded_to_dts'],
|
|
145
152
|
'last_conversation_message_body': !exists(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
|
|
146
153
|
'last_conversation_participant_arn': !exists(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
|
|
147
154
|
'last_conversation_participant_name': !exists(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
|
|
@@ -169,6 +176,7 @@ export function ConversationSummaryToJSON(value?: ConversationSummary | null): a
|
|
|
169
176
|
'closed': value.closed,
|
|
170
177
|
'conversation_arn': value.conversation_arn,
|
|
171
178
|
'conversation_uuid': value.conversation_uuid,
|
|
179
|
+
'customer_first_message_unresponded_to_dts': value.customer_first_message_unresponded_to_dts,
|
|
172
180
|
'last_conversation_message_body': value.last_conversation_message_body,
|
|
173
181
|
'last_conversation_participant_arn': value.last_conversation_participant_arn,
|
|
174
182
|
'last_conversation_participant_name': value.last_conversation_participant_name,
|