ultracart_rest_api_v2_typescript 4.0.109-RC → 4.0.111-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.109-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.111-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.109-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.111-RC --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 4.0.111-RC | 01/11/2023 | conversations - adjust search results to return multiple convo summaries |
58
+ | 4.0.110-RC | 01/10/2023 | add method to query integration log record by oid |
57
59
  | 4.0.109-RC | 01/10/2023 | bug fix for typescript enum error due to apost |
58
60
  | 4.0.108-RC | 01/10/2023 | integration log tracking of associated auto order oids |
59
61
  | 4.0.107-RC | 01/06/2023 | conversation search response object bug fix |
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Conversation } from './Conversation';
12
+ import { ConversationSummary } from './ConversationSummary';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -30,10 +30,10 @@ export interface ConversationSearchResponse {
30
30
  range_end?: number;
31
31
  /**
32
32
  *
33
- * @type {Array<Conversation>}
33
+ * @type {Array<ConversationSummary>}
34
34
  * @memberof ConversationSearchResponse
35
35
  */
36
- records?: Array<Conversation>;
36
+ records?: Array<ConversationSummary>;
37
37
  /**
38
38
  *
39
39
  * @type {number}
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ConversationSearchResponseToJSON = exports.ConversationSearchResponseFromJSONTyped = exports.ConversationSearchResponseFromJSON = void 0;
17
17
  var runtime_1 = require("../runtime");
18
- var Conversation_1 = require("./Conversation");
18
+ var ConversationSummary_1 = require("./ConversationSummary");
19
19
  function ConversationSearchResponseFromJSON(json) {
20
20
  return ConversationSearchResponseFromJSONTyped(json, false);
21
21
  }
@@ -27,7 +27,7 @@ function ConversationSearchResponseFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'range_begin': !(0, runtime_1.exists)(json, 'range_begin') ? undefined : json['range_begin'],
29
29
  'range_end': !(0, runtime_1.exists)(json, 'range_end') ? undefined : json['range_end'],
30
- 'records': !(0, runtime_1.exists)(json, 'records') ? undefined : (json['records'].map(Conversation_1.ConversationFromJSON)),
30
+ 'records': !(0, runtime_1.exists)(json, 'records') ? undefined : (json['records'].map(ConversationSummary_1.ConversationSummaryFromJSON)),
31
31
  'total': !(0, runtime_1.exists)(json, 'total') ? undefined : json['total'],
32
32
  };
33
33
  }
@@ -42,7 +42,7 @@ function ConversationSearchResponseToJSON(value) {
42
42
  return {
43
43
  'range_begin': value.range_begin,
44
44
  'range_end': value.range_end,
45
- 'records': value.records === undefined ? undefined : (value.records.map(Conversation_1.ConversationToJSON)),
45
+ 'records': value.records === undefined ? undefined : (value.records.map(ConversationSummary_1.ConversationSummaryToJSON)),
46
46
  'total': value.total,
47
47
  };
48
48
  }
@@ -51,6 +51,12 @@ export interface IntegrationLogQueryRequest {
51
51
  * @memberof IntegrationLogQueryRequest
52
52
  */
53
53
  file_names?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof IntegrationLogQueryRequest
58
+ */
59
+ integration_log_oid?: number;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -30,6 +30,7 @@ function IntegrationLogQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'direction': !(0, runtime_1.exists)(json, 'direction') ? undefined : json['direction'],
31
31
  'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
32
32
  'file_names': !(0, runtime_1.exists)(json, 'file_names') ? undefined : json['file_names'],
33
+ 'integration_log_oid': !(0, runtime_1.exists)(json, 'integration_log_oid') ? undefined : json['integration_log_oid'],
33
34
  'item_id': !(0, runtime_1.exists)(json, 'item_id') ? undefined : json['item_id'],
34
35
  'item_ipn_oid': !(0, runtime_1.exists)(json, 'item_ipn_oid') ? undefined : json['item_ipn_oid'],
35
36
  'log_dts_begin': !(0, runtime_1.exists)(json, 'log_dts_begin') ? undefined : json['log_dts_begin'],
@@ -56,6 +57,7 @@ function IntegrationLogQueryRequestToJSON(value) {
56
57
  'direction': value.direction,
57
58
  'email': value.email,
58
59
  'file_names': value.file_names,
60
+ 'integration_log_oid': value.integration_log_oid,
59
61
  'item_id': value.item_id,
60
62
  'item_ipn_oid': value.item_ipn_oid,
61
63
  'log_dts_begin': value.log_dts_begin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.109-RC",
3
+ "version": "4.0.111-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -14,11 +14,11 @@
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
16
  import {
17
- Conversation,
18
- ConversationFromJSON,
19
- ConversationFromJSONTyped,
20
- ConversationToJSON,
21
- } from './Conversation';
17
+ ConversationSummary,
18
+ ConversationSummaryFromJSON,
19
+ ConversationSummaryFromJSONTyped,
20
+ ConversationSummaryToJSON,
21
+ } from './ConversationSummary';
22
22
 
23
23
  /**
24
24
  *
@@ -40,10 +40,10 @@ export interface ConversationSearchResponse {
40
40
  range_end?: number;
41
41
  /**
42
42
  *
43
- * @type {Array<Conversation>}
43
+ * @type {Array<ConversationSummary>}
44
44
  * @memberof ConversationSearchResponse
45
45
  */
46
- records?: Array<Conversation>;
46
+ records?: Array<ConversationSummary>;
47
47
  /**
48
48
  *
49
49
  * @type {number}
@@ -64,7 +64,7 @@ export function ConversationSearchResponseFromJSONTyped(json: any, ignoreDiscrim
64
64
 
65
65
  'range_begin': !exists(json, 'range_begin') ? undefined : json['range_begin'],
66
66
  'range_end': !exists(json, 'range_end') ? undefined : json['range_end'],
67
- 'records': !exists(json, 'records') ? undefined : ((json['records'] as Array<any>).map(ConversationFromJSON)),
67
+ 'records': !exists(json, 'records') ? undefined : ((json['records'] as Array<any>).map(ConversationSummaryFromJSON)),
68
68
  'total': !exists(json, 'total') ? undefined : json['total'],
69
69
  };
70
70
  }
@@ -80,7 +80,7 @@ export function ConversationSearchResponseToJSON(value?: ConversationSearchRespo
80
80
 
81
81
  'range_begin': value.range_begin,
82
82
  'range_end': value.range_end,
83
- 'records': value.records === undefined ? undefined : ((value.records as Array<any>).map(ConversationToJSON)),
83
+ 'records': value.records === undefined ? undefined : ((value.records as Array<any>).map(ConversationSummaryToJSON)),
84
84
  'total': value.total,
85
85
  };
86
86
  }
@@ -55,6 +55,12 @@ export interface IntegrationLogQueryRequest {
55
55
  * @memberof IntegrationLogQueryRequest
56
56
  */
57
57
  file_names?: Array<string>;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof IntegrationLogQueryRequest
62
+ */
63
+ integration_log_oid?: number;
58
64
  /**
59
65
  *
60
66
  * @type {string}
@@ -127,6 +133,7 @@ export function IntegrationLogQueryRequestFromJSONTyped(json: any, ignoreDiscrim
127
133
  'direction': !exists(json, 'direction') ? undefined : json['direction'],
128
134
  'email': !exists(json, 'email') ? undefined : json['email'],
129
135
  'file_names': !exists(json, 'file_names') ? undefined : json['file_names'],
136
+ 'integration_log_oid': !exists(json, 'integration_log_oid') ? undefined : json['integration_log_oid'],
130
137
  'item_id': !exists(json, 'item_id') ? undefined : json['item_id'],
131
138
  'item_ipn_oid': !exists(json, 'item_ipn_oid') ? undefined : json['item_ipn_oid'],
132
139
  'log_dts_begin': !exists(json, 'log_dts_begin') ? undefined : json['log_dts_begin'],
@@ -154,6 +161,7 @@ export function IntegrationLogQueryRequestToJSON(value?: IntegrationLogQueryRequ
154
161
  'direction': value.direction,
155
162
  'email': value.email,
156
163
  'file_names': value.file_names,
164
+ 'integration_log_oid': value.integration_log_oid,
157
165
  'item_id': value.item_id,
158
166
  'item_ipn_oid': value.item_ipn_oid,
159
167
  'log_dts_begin': value.log_dts_begin,