ultracart_rest_api_v2_typescript 4.0.43-RC → 4.0.44-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.43-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.44-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.43-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.44-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.44-RC | 07/28/2022 | conversation message upload keys property |
57
58
  | 4.0.43-RC | 07/26/2022 | conversations - queue statistics |
58
59
  | 4.0.42-RC | 07/25/2022 | conversation development |
59
60
  | 4.0.41-RC | 07/25/2022 | conversations bug fixes |
@@ -52,6 +52,12 @@ export interface ConversationMessage {
52
52
  * @memberof ConversationMessage
53
53
  */
54
54
  transport_statuses?: Array<ConversationMessageTransportStatus>;
55
+ /**
56
+ *
57
+ * @type {Array<string>}
58
+ * @memberof ConversationMessage
59
+ */
60
+ upload_keys?: Array<string>;
55
61
  }
56
62
  export declare function ConversationMessageFromJSON(json: any): ConversationMessage;
57
63
  export declare function ConversationMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationMessage;
@@ -31,6 +31,7 @@ function ConversationMessageFromJSONTyped(json, ignoreDiscriminator) {
31
31
  'media_urls': !(0, runtime_1.exists)(json, 'media_urls') ? undefined : json['media_urls'],
32
32
  'message_dts': !(0, runtime_1.exists)(json, 'message_dts') ? undefined : json['message_dts'],
33
33
  'transport_statuses': !(0, runtime_1.exists)(json, 'transport_statuses') ? undefined : (json['transport_statuses'].map(ConversationMessageTransportStatus_1.ConversationMessageTransportStatusFromJSON)),
34
+ 'upload_keys': !(0, runtime_1.exists)(json, 'upload_keys') ? undefined : json['upload_keys'],
34
35
  };
35
36
  }
36
37
  exports.ConversationMessageFromJSONTyped = ConversationMessageFromJSONTyped;
@@ -48,6 +49,7 @@ function ConversationMessageToJSON(value) {
48
49
  'media_urls': value.media_urls,
49
50
  'message_dts': value.message_dts,
50
51
  'transport_statuses': value.transport_statuses === undefined ? undefined : (value.transport_statuses.map(ConversationMessageTransportStatus_1.ConversationMessageTransportStatusToJSON)),
52
+ 'upload_keys': value.upload_keys,
51
53
  };
52
54
  }
53
55
  exports.ConversationMessageToJSON = ConversationMessageToJSON;
@@ -59,6 +59,24 @@ export interface ConversationWebchatQueueStatus {
59
59
  * @memberof ConversationWebchatQueueStatus
60
60
  */
61
61
  customer_active_count?: number;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof ConversationWebchatQueueStatus
66
+ */
67
+ customer_average_abandon_time_seconds?: number;
68
+ /**
69
+ *
70
+ * @type {number}
71
+ * @memberof ConversationWebchatQueueStatus
72
+ */
73
+ customer_average_chat_time_seconds?: number;
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof ConversationWebchatQueueStatus
78
+ */
79
+ customer_average_hold_time_seconds?: number;
62
80
  /**
63
81
  *
64
82
  * @type {number}
@@ -33,6 +33,9 @@ function ConversationWebchatQueueStatusFromJSONTyped(json, ignoreDiscriminator)
33
33
  'agents': !(0, runtime_1.exists)(json, 'agents') ? undefined : (json['agents'].map(ConversationWebchatQueueStatusAgent_1.ConversationWebchatQueueStatusAgentFromJSON)),
34
34
  'customer_abandon_count': !(0, runtime_1.exists)(json, 'customer_abandon_count') ? undefined : json['customer_abandon_count'],
35
35
  'customer_active_count': !(0, runtime_1.exists)(json, 'customer_active_count') ? undefined : json['customer_active_count'],
36
+ 'customer_average_abandon_time_seconds': !(0, runtime_1.exists)(json, 'customer_average_abandon_time_seconds') ? undefined : json['customer_average_abandon_time_seconds'],
37
+ 'customer_average_chat_time_seconds': !(0, runtime_1.exists)(json, 'customer_average_chat_time_seconds') ? undefined : json['customer_average_chat_time_seconds'],
38
+ 'customer_average_hold_time_seconds': !(0, runtime_1.exists)(json, 'customer_average_hold_time_seconds') ? undefined : json['customer_average_hold_time_seconds'],
36
39
  'customer_waiting_count': !(0, runtime_1.exists)(json, 'customer_waiting_count') ? undefined : json['customer_waiting_count'],
37
40
  'customer_waiting_join_dts': !(0, runtime_1.exists)(json, 'customer_waiting_join_dts') ? undefined : json['customer_waiting_join_dts'],
38
41
  'queue_entries': !(0, runtime_1.exists)(json, 'queue_entries') ? undefined : (json['queue_entries'].map(ConversationWebchatQueueStatusQueueEntry_1.ConversationWebchatQueueStatusQueueEntryFromJSON)),
@@ -55,6 +58,9 @@ function ConversationWebchatQueueStatusToJSON(value) {
55
58
  'agents': value.agents === undefined ? undefined : (value.agents.map(ConversationWebchatQueueStatusAgent_1.ConversationWebchatQueueStatusAgentToJSON)),
56
59
  'customer_abandon_count': value.customer_abandon_count,
57
60
  'customer_active_count': value.customer_active_count,
61
+ 'customer_average_abandon_time_seconds': value.customer_average_abandon_time_seconds,
62
+ 'customer_average_chat_time_seconds': value.customer_average_chat_time_seconds,
63
+ 'customer_average_hold_time_seconds': value.customer_average_hold_time_seconds,
58
64
  'customer_waiting_count': value.customer_waiting_count,
59
65
  'customer_waiting_join_dts': value.customer_waiting_join_dts,
60
66
  'queue_entries': value.queue_entries === undefined ? undefined : (value.queue_entries.map(ConversationWebchatQueueStatusQueueEntry_1.ConversationWebchatQueueStatusQueueEntryToJSON)),
@@ -39,6 +39,12 @@ export interface ConversationWebchatQueueStatusQueueEntry {
39
39
  * @memberof ConversationWebchatQueueStatusQueueEntry
40
40
  */
41
41
  join_dts?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ConversationWebchatQueueStatusQueueEntry
46
+ */
47
+ question?: string;
42
48
  }
43
49
  export declare function ConversationWebchatQueueStatusQueueEntryFromJSON(json: any): ConversationWebchatQueueStatusQueueEntry;
44
50
  export declare function ConversationWebchatQueueStatusQueueEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationWebchatQueueStatusQueueEntry;
@@ -28,6 +28,7 @@ function ConversationWebchatQueueStatusQueueEntryFromJSONTyped(json, ignoreDiscr
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
30
  'join_dts': !(0, runtime_1.exists)(json, 'join_dts') ? undefined : json['join_dts'],
31
+ 'question': !(0, runtime_1.exists)(json, 'question') ? undefined : json['question'],
31
32
  };
32
33
  }
33
34
  exports.ConversationWebchatQueueStatusQueueEntryFromJSONTyped = ConversationWebchatQueueStatusQueueEntryFromJSONTyped;
@@ -43,6 +44,7 @@ function ConversationWebchatQueueStatusQueueEntryToJSON(value) {
43
44
  'conversation_participant_name': value.conversation_participant_name,
44
45
  'conversation_webchat_queue_uuid': value.conversation_webchat_queue_uuid,
45
46
  'join_dts': value.join_dts,
47
+ 'question': value.question,
46
48
  };
47
49
  }
48
50
  exports.ConversationWebchatQueueStatusQueueEntryToJSON = ConversationWebchatQueueStatusQueueEntryToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.43-RC",
3
+ "version": "4.0.44-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -62,6 +62,12 @@ export interface ConversationMessage {
62
62
  * @memberof ConversationMessage
63
63
  */
64
64
  transport_statuses?: Array<ConversationMessageTransportStatus>;
65
+ /**
66
+ *
67
+ * @type {Array<string>}
68
+ * @memberof ConversationMessage
69
+ */
70
+ upload_keys?: Array<string>;
65
71
  }
66
72
 
67
73
  export function ConversationMessageFromJSON(json: any): ConversationMessage {
@@ -80,6 +86,7 @@ export function ConversationMessageFromJSONTyped(json: any, ignoreDiscriminator:
80
86
  'media_urls': !exists(json, 'media_urls') ? undefined : json['media_urls'],
81
87
  'message_dts': !exists(json, 'message_dts') ? undefined : json['message_dts'],
82
88
  'transport_statuses': !exists(json, 'transport_statuses') ? undefined : ((json['transport_statuses'] as Array<any>).map(ConversationMessageTransportStatusFromJSON)),
89
+ 'upload_keys': !exists(json, 'upload_keys') ? undefined : json['upload_keys'],
83
90
  };
84
91
  }
85
92
 
@@ -98,6 +105,7 @@ export function ConversationMessageToJSON(value?: ConversationMessage | null): a
98
105
  'media_urls': value.media_urls,
99
106
  'message_dts': value.message_dts,
100
107
  'transport_statuses': value.transport_statuses === undefined ? undefined : ((value.transport_statuses as Array<any>).map(ConversationMessageTransportStatusToJSON)),
108
+ 'upload_keys': value.upload_keys,
101
109
  };
102
110
  }
103
111
 
@@ -74,6 +74,24 @@ export interface ConversationWebchatQueueStatus {
74
74
  * @memberof ConversationWebchatQueueStatus
75
75
  */
76
76
  customer_active_count?: number;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof ConversationWebchatQueueStatus
81
+ */
82
+ customer_average_abandon_time_seconds?: number;
83
+ /**
84
+ *
85
+ * @type {number}
86
+ * @memberof ConversationWebchatQueueStatus
87
+ */
88
+ customer_average_chat_time_seconds?: number;
89
+ /**
90
+ *
91
+ * @type {number}
92
+ * @memberof ConversationWebchatQueueStatus
93
+ */
94
+ customer_average_hold_time_seconds?: number;
77
95
  /**
78
96
  *
79
97
  * @type {number}
@@ -117,6 +135,9 @@ export function ConversationWebchatQueueStatusFromJSONTyped(json: any, ignoreDis
117
135
  'agents': !exists(json, 'agents') ? undefined : ((json['agents'] as Array<any>).map(ConversationWebchatQueueStatusAgentFromJSON)),
118
136
  'customer_abandon_count': !exists(json, 'customer_abandon_count') ? undefined : json['customer_abandon_count'],
119
137
  'customer_active_count': !exists(json, 'customer_active_count') ? undefined : json['customer_active_count'],
138
+ 'customer_average_abandon_time_seconds': !exists(json, 'customer_average_abandon_time_seconds') ? undefined : json['customer_average_abandon_time_seconds'],
139
+ 'customer_average_chat_time_seconds': !exists(json, 'customer_average_chat_time_seconds') ? undefined : json['customer_average_chat_time_seconds'],
140
+ 'customer_average_hold_time_seconds': !exists(json, 'customer_average_hold_time_seconds') ? undefined : json['customer_average_hold_time_seconds'],
120
141
  'customer_waiting_count': !exists(json, 'customer_waiting_count') ? undefined : json['customer_waiting_count'],
121
142
  'customer_waiting_join_dts': !exists(json, 'customer_waiting_join_dts') ? undefined : json['customer_waiting_join_dts'],
122
143
  'queue_entries': !exists(json, 'queue_entries') ? undefined : ((json['queue_entries'] as Array<any>).map(ConversationWebchatQueueStatusQueueEntryFromJSON)),
@@ -140,6 +161,9 @@ export function ConversationWebchatQueueStatusToJSON(value?: ConversationWebchat
140
161
  'agents': value.agents === undefined ? undefined : ((value.agents as Array<any>).map(ConversationWebchatQueueStatusAgentToJSON)),
141
162
  'customer_abandon_count': value.customer_abandon_count,
142
163
  'customer_active_count': value.customer_active_count,
164
+ 'customer_average_abandon_time_seconds': value.customer_average_abandon_time_seconds,
165
+ 'customer_average_chat_time_seconds': value.customer_average_chat_time_seconds,
166
+ 'customer_average_hold_time_seconds': value.customer_average_hold_time_seconds,
143
167
  'customer_waiting_count': value.customer_waiting_count,
144
168
  'customer_waiting_join_dts': value.customer_waiting_join_dts,
145
169
  'queue_entries': value.queue_entries === undefined ? undefined : ((value.queue_entries as Array<any>).map(ConversationWebchatQueueStatusQueueEntryToJSON)),
@@ -43,6 +43,12 @@ export interface ConversationWebchatQueueStatusQueueEntry {
43
43
  * @memberof ConversationWebchatQueueStatusQueueEntry
44
44
  */
45
45
  join_dts?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ConversationWebchatQueueStatusQueueEntry
50
+ */
51
+ question?: string;
46
52
  }
47
53
 
48
54
  export function ConversationWebchatQueueStatusQueueEntryFromJSON(json: any): ConversationWebchatQueueStatusQueueEntry {
@@ -59,6 +65,7 @@ export function ConversationWebchatQueueStatusQueueEntryFromJSONTyped(json: any,
59
65
  'conversation_participant_name': !exists(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
60
66
  'conversation_webchat_queue_uuid': !exists(json, 'conversation_webchat_queue_uuid') ? undefined : json['conversation_webchat_queue_uuid'],
61
67
  'join_dts': !exists(json, 'join_dts') ? undefined : json['join_dts'],
68
+ 'question': !exists(json, 'question') ? undefined : json['question'],
62
69
  };
63
70
  }
64
71
 
@@ -75,6 +82,7 @@ export function ConversationWebchatQueueStatusQueueEntryToJSON(value?: Conversat
75
82
  'conversation_participant_name': value.conversation_participant_name,
76
83
  'conversation_webchat_queue_uuid': value.conversation_webchat_queue_uuid,
77
84
  'join_dts': value.join_dts,
85
+ 'question': value.question,
78
86
  };
79
87
  }
80
88