ultracart_rest_api_v2_typescript 4.0.106-RC → 4.0.107-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.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.107-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.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.107-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.107-RC | 01/06/2023 | conversation search response object bug fix |
|
|
57
58
|
| 4.0.106-RC | 01/05/2023 | communications - added maximum_enrolled flag on flow object |
|
|
58
59
|
| 4.0.105-RC | 01/03/2023 | conversation events for party leave and join |
|
|
59
60
|
| 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
|
}
|
package/package.json
CHANGED
|
@@ -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
|
}
|