ultracart_rest_api_v2_typescript 4.0.48-RC → 4.0.49-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.
@@ -145,6 +145,7 @@ src/models/ConversationAgentAuth.ts
145
145
  src/models/ConversationAgentAuthResponse.ts
146
146
  src/models/ConversationEventQueuePosition.ts
147
147
  src/models/ConversationEventRRWeb.ts
148
+ src/models/ConversationEventTyping.ts
148
149
  src/models/ConversationMessage.ts
149
150
  src/models/ConversationMessageTransportStatus.ts
150
151
  src/models/ConversationMultimediaUploadUrl.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.48-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.49-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.48-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.49-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.49-RC | 08/03/2022 | more conversation events |
57
58
  | 4.0.48-RC | 08/02/2022 | storefront communication sequence test method |
58
59
  | 4.0.47-RC | 08/01/2022 | conversation event refinement |
59
60
  | 4.0.46-RC | 07/29/2022 | conversation development |
@@ -0,0 +1,39 @@
1
+ /**
2
+ * UltraCart Rest API V2
3
+ * UltraCart REST API Version 2
4
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: support@ultracart.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ConversationEventTyping
16
+ */
17
+ export interface ConversationEventTyping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ConversationEventTyping
22
+ */
23
+ author_conversation_participant_arn?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ConversationEventTyping
28
+ */
29
+ author_conversation_participant_name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ConversationEventTyping
34
+ */
35
+ value?: string;
36
+ }
37
+ export declare function ConversationEventTypingFromJSON(json: any): ConversationEventTyping;
38
+ export declare function ConversationEventTypingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationEventTyping;
39
+ export declare function ConversationEventTypingToJSON(value?: ConversationEventTyping | null): any;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UltraCart Rest API V2
6
+ * UltraCart REST API Version 2
7
+ *
8
+ * The version of the OpenAPI document: 2.0.0
9
+ * Contact: support@ultracart.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ConversationEventTypingToJSON = exports.ConversationEventTypingFromJSONTyped = exports.ConversationEventTypingFromJSON = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ function ConversationEventTypingFromJSON(json) {
19
+ return ConversationEventTypingFromJSONTyped(json, false);
20
+ }
21
+ exports.ConversationEventTypingFromJSON = ConversationEventTypingFromJSON;
22
+ function ConversationEventTypingFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'author_conversation_participant_arn': !(0, runtime_1.exists)(json, 'author_conversation_participant_arn') ? undefined : json['author_conversation_participant_arn'],
28
+ 'author_conversation_participant_name': !(0, runtime_1.exists)(json, 'author_conversation_participant_name') ? undefined : json['author_conversation_participant_name'],
29
+ 'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
30
+ };
31
+ }
32
+ exports.ConversationEventTypingFromJSONTyped = ConversationEventTypingFromJSONTyped;
33
+ function ConversationEventTypingToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'author_conversation_participant_arn': value.author_conversation_participant_arn,
42
+ 'author_conversation_participant_name': value.author_conversation_participant_name,
43
+ 'value': value.value,
44
+ };
45
+ }
46
+ exports.ConversationEventTypingToJSON = ConversationEventTypingToJSON;
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ConversationEventQueuePosition } from './ConversationEventQueuePosition';
13
13
  import { ConversationEventRRWeb } from './ConversationEventRRWeb';
14
+ import { ConversationEventTyping } from './ConversationEventTyping';
14
15
  import { ConversationMessage } from './ConversationMessage';
15
16
  import { ConversationSummary } from './ConversationSummary';
16
17
  import { ConversationWebchatQueueStatus } from './ConversationWebchatQueueStatus';
@@ -68,6 +69,12 @@ export interface ConversationWebsocketMessage {
68
69
  * @memberof ConversationWebsocketMessage
69
70
  */
70
71
  event_type?: ConversationWebsocketMessageEventTypeEnum;
72
+ /**
73
+ *
74
+ * @type {ConversationEventTyping}
75
+ * @memberof ConversationWebsocketMessage
76
+ */
77
+ event_typing?: ConversationEventTyping;
71
78
  /**
72
79
  *
73
80
  * @type {ConversationMessage}
@@ -17,6 +17,7 @@ exports.ConversationWebsocketMessageToJSON = exports.ConversationWebsocketMessag
17
17
  var runtime_1 = require("../runtime");
18
18
  var ConversationEventQueuePosition_1 = require("./ConversationEventQueuePosition");
19
19
  var ConversationEventRRWeb_1 = require("./ConversationEventRRWeb");
20
+ var ConversationEventTyping_1 = require("./ConversationEventTyping");
20
21
  var ConversationMessage_1 = require("./ConversationMessage");
21
22
  var ConversationSummary_1 = require("./ConversationSummary");
22
23
  var ConversationWebchatQueueStatus_1 = require("./ConversationWebchatQueueStatus");
@@ -59,6 +60,7 @@ function ConversationWebsocketMessageFromJSONTyped(json, ignoreDiscriminator) {
59
60
  'event_queue_status_update': !(0, runtime_1.exists)(json, 'event_queue_status_update') ? undefined : (0, ConversationWebchatQueueStatus_1.ConversationWebchatQueueStatusFromJSON)(json['event_queue_status_update']),
60
61
  'event_rrweb': !(0, runtime_1.exists)(json, 'event_rrweb') ? undefined : (0, ConversationEventRRWeb_1.ConversationEventRRWebFromJSON)(json['event_rrweb']),
61
62
  'event_type': !(0, runtime_1.exists)(json, 'event_type') ? undefined : json['event_type'],
63
+ 'event_typing': !(0, runtime_1.exists)(json, 'event_typing') ? undefined : (0, ConversationEventTyping_1.ConversationEventTypingFromJSON)(json['event_typing']),
62
64
  'event_updated_message': !(0, runtime_1.exists)(json, 'event_updated_message') ? undefined : (0, ConversationMessage_1.ConversationMessageFromJSON)(json['event_updated_message']),
63
65
  'message': !(0, runtime_1.exists)(json, 'message') ? undefined : (0, ConversationMessage_1.ConversationMessageFromJSON)(json['message']),
64
66
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
@@ -81,6 +83,7 @@ function ConversationWebsocketMessageToJSON(value) {
81
83
  'event_queue_status_update': (0, ConversationWebchatQueueStatus_1.ConversationWebchatQueueStatusToJSON)(value.event_queue_status_update),
82
84
  'event_rrweb': (0, ConversationEventRRWeb_1.ConversationEventRRWebToJSON)(value.event_rrweb),
83
85
  'event_type': value.event_type,
86
+ 'event_typing': (0, ConversationEventTyping_1.ConversationEventTypingToJSON)(value.event_typing),
84
87
  'event_updated_message': (0, ConversationMessage_1.ConversationMessageToJSON)(value.event_updated_message),
85
88
  'message': (0, ConversationMessage_1.ConversationMessageToJSON)(value.message),
86
89
  'type': value.type,
@@ -120,6 +120,7 @@ export * from './ConversationAgentAuth';
120
120
  export * from './ConversationAgentAuthResponse';
121
121
  export * from './ConversationEventQueuePosition';
122
122
  export * from './ConversationEventRRWeb';
123
+ export * from './ConversationEventTyping';
123
124
  export * from './ConversationMessage';
124
125
  export * from './ConversationMessageTransportStatus';
125
126
  export * from './ConversationMultimediaUploadUrl';
@@ -138,6 +138,7 @@ __exportStar(require("./ConversationAgentAuth"), exports);
138
138
  __exportStar(require("./ConversationAgentAuthResponse"), exports);
139
139
  __exportStar(require("./ConversationEventQueuePosition"), exports);
140
140
  __exportStar(require("./ConversationEventRRWeb"), exports);
141
+ __exportStar(require("./ConversationEventTyping"), exports);
141
142
  __exportStar(require("./ConversationMessage"), exports);
142
143
  __exportStar(require("./ConversationMessageTransportStatus"), exports);
143
144
  __exportStar(require("./ConversationMultimediaUploadUrl"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.48-RC",
3
+ "version": "4.0.49-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * UltraCart Rest API V2
5
+ * UltraCart REST API Version 2
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ * Contact: support@ultracart.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ConversationEventTyping
20
+ */
21
+ export interface ConversationEventTyping {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ConversationEventTyping
26
+ */
27
+ author_conversation_participant_arn?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ConversationEventTyping
32
+ */
33
+ author_conversation_participant_name?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ConversationEventTyping
38
+ */
39
+ value?: string;
40
+ }
41
+
42
+ export function ConversationEventTypingFromJSON(json: any): ConversationEventTyping {
43
+ return ConversationEventTypingFromJSONTyped(json, false);
44
+ }
45
+
46
+ export function ConversationEventTypingFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationEventTyping {
47
+ if ((json === undefined) || (json === null)) {
48
+ return json;
49
+ }
50
+ return {
51
+
52
+ 'author_conversation_participant_arn': !exists(json, 'author_conversation_participant_arn') ? undefined : json['author_conversation_participant_arn'],
53
+ 'author_conversation_participant_name': !exists(json, 'author_conversation_participant_name') ? undefined : json['author_conversation_participant_name'],
54
+ 'value': !exists(json, 'value') ? undefined : json['value'],
55
+ };
56
+ }
57
+
58
+ export function ConversationEventTypingToJSON(value?: ConversationEventTyping | null): any {
59
+ if (value === undefined) {
60
+ return undefined;
61
+ }
62
+ if (value === null) {
63
+ return null;
64
+ }
65
+ return {
66
+
67
+ 'author_conversation_participant_arn': value.author_conversation_participant_arn,
68
+ 'author_conversation_participant_name': value.author_conversation_participant_name,
69
+ 'value': value.value,
70
+ };
71
+ }
72
+
@@ -25,6 +25,12 @@ import {
25
25
  ConversationEventRRWebFromJSONTyped,
26
26
  ConversationEventRRWebToJSON,
27
27
  } from './ConversationEventRRWeb';
28
+ import {
29
+ ConversationEventTyping,
30
+ ConversationEventTypingFromJSON,
31
+ ConversationEventTypingFromJSONTyped,
32
+ ConversationEventTypingToJSON,
33
+ } from './ConversationEventTyping';
28
34
  import {
29
35
  ConversationMessage,
30
36
  ConversationMessageFromJSON,
@@ -98,6 +104,12 @@ export interface ConversationWebsocketMessage {
98
104
  * @memberof ConversationWebsocketMessage
99
105
  */
100
106
  event_type?: ConversationWebsocketMessageEventTypeEnum;
107
+ /**
108
+ *
109
+ * @type {ConversationEventTyping}
110
+ * @memberof ConversationWebsocketMessage
111
+ */
112
+ event_typing?: ConversationEventTyping;
101
113
  /**
102
114
  *
103
115
  * @type {ConversationMessage}
@@ -164,6 +176,7 @@ export function ConversationWebsocketMessageFromJSONTyped(json: any, ignoreDiscr
164
176
  'event_queue_status_update': !exists(json, 'event_queue_status_update') ? undefined : ConversationWebchatQueueStatusFromJSON(json['event_queue_status_update']),
165
177
  'event_rrweb': !exists(json, 'event_rrweb') ? undefined : ConversationEventRRWebFromJSON(json['event_rrweb']),
166
178
  'event_type': !exists(json, 'event_type') ? undefined : json['event_type'],
179
+ 'event_typing': !exists(json, 'event_typing') ? undefined : ConversationEventTypingFromJSON(json['event_typing']),
167
180
  'event_updated_message': !exists(json, 'event_updated_message') ? undefined : ConversationMessageFromJSON(json['event_updated_message']),
168
181
  'message': !exists(json, 'message') ? undefined : ConversationMessageFromJSON(json['message']),
169
182
  'type': !exists(json, 'type') ? undefined : json['type'],
@@ -187,6 +200,7 @@ export function ConversationWebsocketMessageToJSON(value?: ConversationWebsocket
187
200
  'event_queue_status_update': ConversationWebchatQueueStatusToJSON(value.event_queue_status_update),
188
201
  'event_rrweb': ConversationEventRRWebToJSON(value.event_rrweb),
189
202
  'event_type': value.event_type,
203
+ 'event_typing': ConversationEventTypingToJSON(value.event_typing),
190
204
  'event_updated_message': ConversationMessageToJSON(value.event_updated_message),
191
205
  'message': ConversationMessageToJSON(value.message),
192
206
  'type': value.type,
@@ -122,6 +122,7 @@ export * from './ConversationAgentAuth';
122
122
  export * from './ConversationAgentAuthResponse';
123
123
  export * from './ConversationEventQueuePosition';
124
124
  export * from './ConversationEventRRWeb';
125
+ export * from './ConversationEventTyping';
125
126
  export * from './ConversationMessage';
126
127
  export * from './ConversationMessageTransportStatus';
127
128
  export * from './ConversationMultimediaUploadUrl';