ultracart_rest_api_v2_typescript 4.0.106-RC → 4.0.108-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.106-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.108-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.106-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.108-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.108-RC | 01/10/2023 | integration log tracking of associated auto order oids |
58
+ | 4.0.107-RC | 01/06/2023 | conversation search response object bug fix |
57
59
  | 4.0.106-RC | 01/05/2023 | communications - added maximum_enrolled flag on flow object |
58
60
  | 4.0.105-RC | 01/03/2023 | conversation events for party leave and join |
59
61
  | 4.0.104-RC | 01/03/2023 | order point of sale details |
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { Conversation } from './Conversation';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -27,6 +28,12 @@ export interface ConversationSearchResponse {
27
28
  * @memberof ConversationSearchResponse
28
29
  */
29
30
  range_end?: number;
31
+ /**
32
+ *
33
+ * @type {Array<Conversation>}
34
+ * @memberof ConversationSearchResponse
35
+ */
36
+ records?: Array<Conversation>;
30
37
  /**
31
38
  *
32
39
  * @type {number}
@@ -15,6 +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
19
  function ConversationSearchResponseFromJSON(json) {
19
20
  return ConversationSearchResponseFromJSONTyped(json, false);
20
21
  }
@@ -26,6 +27,7 @@ function ConversationSearchResponseFromJSONTyped(json, ignoreDiscriminator) {
26
27
  return {
27
28
  'range_begin': !(0, runtime_1.exists)(json, 'range_begin') ? undefined : json['range_begin'],
28
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)),
29
31
  'total': !(0, runtime_1.exists)(json, 'total') ? undefined : json['total'],
30
32
  };
31
33
  }
@@ -40,6 +42,7 @@ function ConversationSearchResponseToJSON(value) {
40
42
  return {
41
43
  'range_begin': value.range_begin,
42
44
  'range_end': value.range_end,
45
+ 'records': value.records === undefined ? undefined : (value.records.map(Conversation_1.ConversationToJSON)),
43
46
  'total': value.total,
44
47
  };
45
48
  }
@@ -23,6 +23,12 @@ export interface IntegrationLog {
23
23
  * @memberof IntegrationLog
24
24
  */
25
25
  action?: string;
26
+ /**
27
+ *
28
+ * @type {Array<number>}
29
+ * @memberof IntegrationLog
30
+ */
31
+ auto_order_oids?: Array<number>;
26
32
  /**
27
33
  *
28
34
  * @type {string}
@@ -27,6 +27,7 @@ function IntegrationLogFromJSONTyped(json, ignoreDiscriminator) {
27
27
  }
28
28
  return {
29
29
  'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
30
+ 'auto_order_oids': !(0, runtime_1.exists)(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
30
31
  'direction': !(0, runtime_1.exists)(json, 'direction') ? undefined : json['direction'],
31
32
  'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
32
33
  'files': !(0, runtime_1.exists)(json, 'files') ? undefined : (json['files'].map(IntegrationLogFile_1.IntegrationLogFileFromJSON)),
@@ -56,6 +57,7 @@ function IntegrationLogToJSON(value) {
56
57
  }
57
58
  return {
58
59
  'action': value.action,
60
+ 'auto_order_oids': value.auto_order_oids,
59
61
  'direction': value.direction,
60
62
  'email': value.email,
61
63
  'files': value.files === undefined ? undefined : (value.files.map(IntegrationLogFile_1.IntegrationLogFileToJSON)),
@@ -21,6 +21,18 @@ export interface IntegrationLogQueryRequest {
21
21
  * @memberof IntegrationLogQueryRequest
22
22
  */
23
23
  action?: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof IntegrationLogQueryRequest
28
+ */
29
+ auto_order_ids?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {Array<number>}
33
+ * @memberof IntegrationLogQueryRequest
34
+ */
35
+ auto_order_oids?: Array<number>;
24
36
  /**
25
37
  *
26
38
  * @type {string}
@@ -25,6 +25,8 @@ function IntegrationLogQueryRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  }
26
26
  return {
27
27
  'action': !(0, runtime_1.exists)(json, 'action') ? undefined : json['action'],
28
+ 'auto_order_ids': !(0, runtime_1.exists)(json, 'auto_order_ids') ? undefined : json['auto_order_ids'],
29
+ 'auto_order_oids': !(0, runtime_1.exists)(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
28
30
  'direction': !(0, runtime_1.exists)(json, 'direction') ? undefined : json['direction'],
29
31
  'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
30
32
  'file_names': !(0, runtime_1.exists)(json, 'file_names') ? undefined : json['file_names'],
@@ -49,6 +51,8 @@ function IntegrationLogQueryRequestToJSON(value) {
49
51
  }
50
52
  return {
51
53
  'action': value.action,
54
+ 'auto_order_ids': value.auto_order_ids,
55
+ 'auto_order_oids': value.auto_order_oids,
52
56
  'direction': value.direction,
53
57
  'email': value.email,
54
58
  'file_names': value.file_names,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.106-RC",
3
+ "version": "4.0.108-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import {
17
+ Conversation,
18
+ ConversationFromJSON,
19
+ ConversationFromJSONTyped,
20
+ ConversationToJSON,
21
+ } from './Conversation';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
@@ -31,6 +38,12 @@ export interface ConversationSearchResponse {
31
38
  * @memberof ConversationSearchResponse
32
39
  */
33
40
  range_end?: number;
41
+ /**
42
+ *
43
+ * @type {Array<Conversation>}
44
+ * @memberof ConversationSearchResponse
45
+ */
46
+ records?: Array<Conversation>;
34
47
  /**
35
48
  *
36
49
  * @type {number}
@@ -51,6 +64,7 @@ export function ConversationSearchResponseFromJSONTyped(json: any, ignoreDiscrim
51
64
 
52
65
  'range_begin': !exists(json, 'range_begin') ? undefined : json['range_begin'],
53
66
  'range_end': !exists(json, 'range_end') ? undefined : json['range_end'],
67
+ 'records': !exists(json, 'records') ? undefined : ((json['records'] as Array<any>).map(ConversationFromJSON)),
54
68
  'total': !exists(json, 'total') ? undefined : json['total'],
55
69
  };
56
70
  }
@@ -66,6 +80,7 @@ export function ConversationSearchResponseToJSON(value?: ConversationSearchRespo
66
80
 
67
81
  'range_begin': value.range_begin,
68
82
  'range_end': value.range_end,
83
+ 'records': value.records === undefined ? undefined : ((value.records as Array<any>).map(ConversationToJSON)),
69
84
  'total': value.total,
70
85
  };
71
86
  }
@@ -38,6 +38,12 @@ export interface IntegrationLog {
38
38
  * @memberof IntegrationLog
39
39
  */
40
40
  action?: string;
41
+ /**
42
+ *
43
+ * @type {Array<number>}
44
+ * @memberof IntegrationLog
45
+ */
46
+ auto_order_oids?: Array<number>;
41
47
  /**
42
48
  *
43
49
  * @type {string}
@@ -153,6 +159,7 @@ export function IntegrationLogFromJSONTyped(json: any, ignoreDiscriminator: bool
153
159
  return {
154
160
 
155
161
  'action': !exists(json, 'action') ? undefined : json['action'],
162
+ 'auto_order_oids': !exists(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
156
163
  'direction': !exists(json, 'direction') ? undefined : json['direction'],
157
164
  'email': !exists(json, 'email') ? undefined : json['email'],
158
165
  'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(IntegrationLogFileFromJSON)),
@@ -183,6 +190,7 @@ export function IntegrationLogToJSON(value?: IntegrationLog | null): any {
183
190
  return {
184
191
 
185
192
  'action': value.action,
193
+ 'auto_order_oids': value.auto_order_oids,
186
194
  'direction': value.direction,
187
195
  'email': value.email,
188
196
  'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(IntegrationLogFileToJSON)),
@@ -25,6 +25,18 @@ export interface IntegrationLogQueryRequest {
25
25
  * @memberof IntegrationLogQueryRequest
26
26
  */
27
27
  action?: string;
28
+ /**
29
+ *
30
+ * @type {Array<string>}
31
+ * @memberof IntegrationLogQueryRequest
32
+ */
33
+ auto_order_ids?: Array<string>;
34
+ /**
35
+ *
36
+ * @type {Array<number>}
37
+ * @memberof IntegrationLogQueryRequest
38
+ */
39
+ auto_order_oids?: Array<number>;
28
40
  /**
29
41
  *
30
42
  * @type {string}
@@ -110,6 +122,8 @@ export function IntegrationLogQueryRequestFromJSONTyped(json: any, ignoreDiscrim
110
122
  return {
111
123
 
112
124
  'action': !exists(json, 'action') ? undefined : json['action'],
125
+ 'auto_order_ids': !exists(json, 'auto_order_ids') ? undefined : json['auto_order_ids'],
126
+ 'auto_order_oids': !exists(json, 'auto_order_oids') ? undefined : json['auto_order_oids'],
113
127
  'direction': !exists(json, 'direction') ? undefined : json['direction'],
114
128
  'email': !exists(json, 'email') ? undefined : json['email'],
115
129
  'file_names': !exists(json, 'file_names') ? undefined : json['file_names'],
@@ -135,6 +149,8 @@ export function IntegrationLogQueryRequestToJSON(value?: IntegrationLogQueryRequ
135
149
  return {
136
150
 
137
151
  'action': value.action,
152
+ 'auto_order_ids': value.auto_order_ids,
153
+ 'auto_order_oids': value.auto_order_oids,
138
154
  'direction': value.direction,
139
155
  'email': value.email,
140
156
  'file_names': value.file_names,