ultracart_rest_api_v2_typescript 4.0.73-RC → 4.0.74-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.73-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.74-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.73-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.74-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.74-RC | 10/17/2022 | conversations - add last_interactive_message_dts |
57
58
  | 4.0.73-RC | 10/07/2022 | bug fix for digital items response |
58
59
  | 4.0.72-RC | 10/05/2022 | storefront rest file cdn icon urls |
59
60
  | 4.0.71-RC | 10/04/2022 | bug fix for new storefront file mgr |
@@ -25,6 +25,7 @@ export interface GetConversationMultimediaUploadUrlRequest {
25
25
  }
26
26
  export interface GetConversationsRequest {
27
27
  medium?: string;
28
+ before?: string;
28
29
  limit?: number;
29
30
  offset?: number;
30
31
  }
@@ -136,6 +137,7 @@ export interface ConversationApiInterface {
136
137
  * Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
137
138
  * @summary Retrieve a list of conversation summaries newest to oldest
138
139
  * @param {string} [medium]
140
+ * @param {string} [before]
139
141
  * @param {number} [limit] The maximum number of records to return on this one API call. (Max 200)
140
142
  * @param {number} [offset] Pagination of the record set. Offset is a zero based index.
141
143
  * @param {*} [options] Override http request option.
@@ -441,6 +441,9 @@ var ConversationApi = /** @class */ (function (_super) {
441
441
  if (requestParameters.medium !== undefined) {
442
442
  queryParameters['medium'] = requestParameters.medium;
443
443
  }
444
+ if (requestParameters.before !== undefined) {
445
+ queryParameters['before'] = requestParameters.before;
446
+ }
444
447
  if (requestParameters.limit !== undefined) {
445
448
  queryParameters['_limit'] = requestParameters.limit;
446
449
  }
@@ -53,6 +53,12 @@ export interface Conversation {
53
53
  * @memberof Conversation
54
54
  */
55
55
  last_conversation_participant_name?: string;
56
+ /**
57
+ * Last interactive message date/time
58
+ * @type {string}
59
+ * @memberof Conversation
60
+ */
61
+ last_interactive_message_dts?: string;
56
62
  /**
57
63
  * Last message date/time
58
64
  * @type {string}
@@ -39,6 +39,7 @@ function ConversationFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'last_conversation_message_body': !(0, runtime_1.exists)(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
40
40
  'last_conversation_participant_arn': !(0, runtime_1.exists)(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
41
41
  'last_conversation_participant_name': !(0, runtime_1.exists)(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
42
+ 'last_interactive_message_dts': !(0, runtime_1.exists)(json, 'last_interactive_message_dts') ? undefined : json['last_interactive_message_dts'],
42
43
  'last_message_dts': !(0, runtime_1.exists)(json, 'last_message_dts') ? undefined : json['last_message_dts'],
43
44
  'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
44
45
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -65,6 +66,7 @@ function ConversationToJSON(value) {
65
66
  'last_conversation_message_body': value.last_conversation_message_body,
66
67
  'last_conversation_participant_arn': value.last_conversation_participant_arn,
67
68
  'last_conversation_participant_name': value.last_conversation_participant_name,
69
+ 'last_interactive_message_dts': value.last_interactive_message_dts,
68
70
  'last_message_dts': value.last_message_dts,
69
71
  'medium': value.medium,
70
72
  'merchant_id': value.merchant_id,
@@ -52,6 +52,12 @@ export interface ConversationSummary {
52
52
  * @memberof ConversationSummary
53
53
  */
54
54
  last_conversation_participant_name?: string;
55
+ /**
56
+ * Last interactive message date/time
57
+ * @type {string}
58
+ * @memberof ConversationSummary
59
+ */
60
+ last_interactive_message_dts?: string;
55
61
  /**
56
62
  * Last message date/time
57
63
  * @type {string}
@@ -38,6 +38,7 @@ function ConversationSummaryFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'last_conversation_message_body': !(0, runtime_1.exists)(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
39
39
  'last_conversation_participant_arn': !(0, runtime_1.exists)(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
40
40
  'last_conversation_participant_name': !(0, runtime_1.exists)(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
41
+ 'last_interactive_message_dts': !(0, runtime_1.exists)(json, 'last_interactive_message_dts') ? undefined : json['last_interactive_message_dts'],
41
42
  'last_message_dts': !(0, runtime_1.exists)(json, 'last_message_dts') ? undefined : json['last_message_dts'],
42
43
  'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
43
44
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -63,6 +64,7 @@ function ConversationSummaryToJSON(value) {
63
64
  'last_conversation_message_body': value.last_conversation_message_body,
64
65
  'last_conversation_participant_arn': value.last_conversation_participant_arn,
65
66
  'last_conversation_participant_name': value.last_conversation_participant_name,
67
+ 'last_interactive_message_dts': value.last_interactive_message_dts,
66
68
  'last_message_dts': value.last_message_dts,
67
69
  'medium': value.medium,
68
70
  'merchant_id': value.merchant_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.73-RC",
3
+ "version": "4.0.74-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -64,6 +64,7 @@ export interface GetConversationMultimediaUploadUrlRequest {
64
64
 
65
65
  export interface GetConversationsRequest {
66
66
  medium?: string;
67
+ before?: string;
67
68
  limit?: number;
68
69
  offset?: number;
69
70
  }
@@ -192,6 +193,7 @@ export interface ConversationApiInterface {
192
193
  * Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
193
194
  * @summary Retrieve a list of conversation summaries newest to oldest
194
195
  * @param {string} [medium]
196
+ * @param {string} [before]
195
197
  * @param {number} [limit] The maximum number of records to return on this one API call. (Max 200)
196
198
  * @param {number} [offset] Pagination of the record set. Offset is a zero based index.
197
199
  * @param {*} [options] Override http request option.
@@ -534,6 +536,10 @@ export class ConversationApi extends runtime.BaseAPI implements ConversationApiI
534
536
  queryParameters['medium'] = requestParameters.medium;
535
537
  }
536
538
 
539
+ if (requestParameters.before !== undefined) {
540
+ queryParameters['before'] = requestParameters.before;
541
+ }
542
+
537
543
  if (requestParameters.limit !== undefined) {
538
544
  queryParameters['_limit'] = requestParameters.limit;
539
545
  }
@@ -68,6 +68,12 @@ export interface Conversation {
68
68
  * @memberof Conversation
69
69
  */
70
70
  last_conversation_participant_name?: string;
71
+ /**
72
+ * Last interactive message date/time
73
+ * @type {string}
74
+ * @memberof Conversation
75
+ */
76
+ last_interactive_message_dts?: string;
71
77
  /**
72
78
  * Last message date/time
73
79
  * @type {string}
@@ -151,6 +157,7 @@ export function ConversationFromJSONTyped(json: any, ignoreDiscriminator: boolea
151
157
  'last_conversation_message_body': !exists(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
152
158
  'last_conversation_participant_arn': !exists(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
153
159
  'last_conversation_participant_name': !exists(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
160
+ 'last_interactive_message_dts': !exists(json, 'last_interactive_message_dts') ? undefined : json['last_interactive_message_dts'],
154
161
  'last_message_dts': !exists(json, 'last_message_dts') ? undefined : json['last_message_dts'],
155
162
  'medium': !exists(json, 'medium') ? undefined : json['medium'],
156
163
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -178,6 +185,7 @@ export function ConversationToJSON(value?: Conversation | null): any {
178
185
  'last_conversation_message_body': value.last_conversation_message_body,
179
186
  'last_conversation_participant_arn': value.last_conversation_participant_arn,
180
187
  'last_conversation_participant_name': value.last_conversation_participant_name,
188
+ 'last_interactive_message_dts': value.last_interactive_message_dts,
181
189
  'last_message_dts': value.last_message_dts,
182
190
  'medium': value.medium,
183
191
  'merchant_id': value.merchant_id,
@@ -62,6 +62,12 @@ export interface ConversationSummary {
62
62
  * @memberof ConversationSummary
63
63
  */
64
64
  last_conversation_participant_name?: string;
65
+ /**
66
+ * Last interactive message date/time
67
+ * @type {string}
68
+ * @memberof ConversationSummary
69
+ */
70
+ last_interactive_message_dts?: string;
65
71
  /**
66
72
  * Last message date/time
67
73
  * @type {string}
@@ -139,6 +145,7 @@ export function ConversationSummaryFromJSONTyped(json: any, ignoreDiscriminator:
139
145
  'last_conversation_message_body': !exists(json, 'last_conversation_message_body') ? undefined : json['last_conversation_message_body'],
140
146
  'last_conversation_participant_arn': !exists(json, 'last_conversation_participant_arn') ? undefined : json['last_conversation_participant_arn'],
141
147
  'last_conversation_participant_name': !exists(json, 'last_conversation_participant_name') ? undefined : json['last_conversation_participant_name'],
148
+ 'last_interactive_message_dts': !exists(json, 'last_interactive_message_dts') ? undefined : json['last_interactive_message_dts'],
142
149
  'last_message_dts': !exists(json, 'last_message_dts') ? undefined : json['last_message_dts'],
143
150
  'medium': !exists(json, 'medium') ? undefined : json['medium'],
144
151
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -165,6 +172,7 @@ export function ConversationSummaryToJSON(value?: ConversationSummary | null): a
165
172
  'last_conversation_message_body': value.last_conversation_message_body,
166
173
  'last_conversation_participant_arn': value.last_conversation_participant_arn,
167
174
  'last_conversation_participant_name': value.last_conversation_participant_name,
175
+ 'last_interactive_message_dts': value.last_interactive_message_dts,
168
176
  'last_message_dts': value.last_message_dts,
169
177
  'medium': value.medium,
170
178
  'merchant_id': value.merchant_id,