ultracart_rest_api_v2_typescript 4.0.51-RC → 4.0.52-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.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.52-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.52-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.52-RC | 08/05/2022 | conversation adjustments for ES integration |
|
|
57
58
|
| 4.0.51-RC | 08/05/2022 | conversations query by medium and stats fixes |
|
|
58
59
|
| 4.0.50-RC | 08/03/2022 | conversation summary participants |
|
|
59
60
|
| 4.0.49-RC | 08/03/2022 | more conversation events |
|
|
@@ -40,12 +40,24 @@ export interface ConversationMessage {
|
|
|
40
40
|
* @memberof ConversationMessage
|
|
41
41
|
*/
|
|
42
42
|
client_message_id?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ConversationMessage
|
|
47
|
+
*/
|
|
48
|
+
conversation_message_uuid?: string;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {Array<string>}
|
|
46
52
|
* @memberof ConversationMessage
|
|
47
53
|
*/
|
|
48
54
|
media_urls?: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ConversationMessage
|
|
59
|
+
*/
|
|
60
|
+
merchant_id?: string;
|
|
49
61
|
/**
|
|
50
62
|
* Message date/time
|
|
51
63
|
* @type {string}
|
|
@@ -36,7 +36,9 @@ function ConversationMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'author_conversation_participant_name': !(0, runtime_1.exists)(json, 'author_conversation_participant_name') ? undefined : json['author_conversation_participant_name'],
|
|
37
37
|
'body': !(0, runtime_1.exists)(json, 'body') ? undefined : json['body'],
|
|
38
38
|
'client_message_id': !(0, runtime_1.exists)(json, 'client_message_id') ? undefined : json['client_message_id'],
|
|
39
|
+
'conversation_message_uuid': !(0, runtime_1.exists)(json, 'conversation_message_uuid') ? undefined : json['conversation_message_uuid'],
|
|
39
40
|
'media_urls': !(0, runtime_1.exists)(json, 'media_urls') ? undefined : json['media_urls'],
|
|
41
|
+
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
40
42
|
'message_dts': !(0, runtime_1.exists)(json, 'message_dts') ? undefined : json['message_dts'],
|
|
41
43
|
'transport_statuses': !(0, runtime_1.exists)(json, 'transport_statuses') ? undefined : (json['transport_statuses'].map(ConversationMessageTransportStatus_1.ConversationMessageTransportStatusFromJSON)),
|
|
42
44
|
'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
|
|
@@ -56,7 +58,9 @@ function ConversationMessageToJSON(value) {
|
|
|
56
58
|
'author_conversation_participant_name': value.author_conversation_participant_name,
|
|
57
59
|
'body': value.body,
|
|
58
60
|
'client_message_id': value.client_message_id,
|
|
61
|
+
'conversation_message_uuid': value.conversation_message_uuid,
|
|
59
62
|
'media_urls': value.media_urls,
|
|
63
|
+
'merchant_id': value.merchant_id,
|
|
60
64
|
'message_dts': value.message_dts,
|
|
61
65
|
'transport_statuses': value.transport_statuses === undefined ? undefined : (value.transport_statuses.map(ConversationMessageTransportStatus_1.ConversationMessageTransportStatusToJSON)),
|
|
62
66
|
'type': value.type,
|
package/package.json
CHANGED
|
@@ -50,12 +50,24 @@ export interface ConversationMessage {
|
|
|
50
50
|
* @memberof ConversationMessage
|
|
51
51
|
*/
|
|
52
52
|
client_message_id?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ConversationMessage
|
|
57
|
+
*/
|
|
58
|
+
conversation_message_uuid?: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {Array<string>}
|
|
56
62
|
* @memberof ConversationMessage
|
|
57
63
|
*/
|
|
58
64
|
media_urls?: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ConversationMessage
|
|
69
|
+
*/
|
|
70
|
+
merchant_id?: string;
|
|
59
71
|
/**
|
|
60
72
|
* Message date/time
|
|
61
73
|
* @type {string}
|
|
@@ -107,7 +119,9 @@ export function ConversationMessageFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
107
119
|
'author_conversation_participant_name': !exists(json, 'author_conversation_participant_name') ? undefined : json['author_conversation_participant_name'],
|
|
108
120
|
'body': !exists(json, 'body') ? undefined : json['body'],
|
|
109
121
|
'client_message_id': !exists(json, 'client_message_id') ? undefined : json['client_message_id'],
|
|
122
|
+
'conversation_message_uuid': !exists(json, 'conversation_message_uuid') ? undefined : json['conversation_message_uuid'],
|
|
110
123
|
'media_urls': !exists(json, 'media_urls') ? undefined : json['media_urls'],
|
|
124
|
+
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
111
125
|
'message_dts': !exists(json, 'message_dts') ? undefined : json['message_dts'],
|
|
112
126
|
'transport_statuses': !exists(json, 'transport_statuses') ? undefined : ((json['transport_statuses'] as Array<any>).map(ConversationMessageTransportStatusFromJSON)),
|
|
113
127
|
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
@@ -128,7 +142,9 @@ export function ConversationMessageToJSON(value?: ConversationMessage | null): a
|
|
|
128
142
|
'author_conversation_participant_name': value.author_conversation_participant_name,
|
|
129
143
|
'body': value.body,
|
|
130
144
|
'client_message_id': value.client_message_id,
|
|
145
|
+
'conversation_message_uuid': value.conversation_message_uuid,
|
|
131
146
|
'media_urls': value.media_urls,
|
|
147
|
+
'merchant_id': value.merchant_id,
|
|
132
148
|
'message_dts': value.message_dts,
|
|
133
149
|
'transport_statuses': value.transport_statuses === undefined ? undefined : ((value.transport_statuses as Array<any>).map(ConversationMessageTransportStatusToJSON)),
|
|
134
150
|
'type': value.type,
|