ultracart_rest_api_v2_typescript 4.0.166 → 4.0.168
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 +4 -2
- package/dist/models/ReportFilterConnection.d.ts +6 -0
- package/dist/models/ReportFilterConnection.js +2 -0
- package/dist/models/ReportPageVisualization.d.ts +6 -0
- package/dist/models/ReportPageVisualization.js +2 -0
- package/package.json +1 -1
- package/src/models/ReportFilterConnection.ts +8 -0
- package/src/models/ReportPageVisualization.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.168
|
|
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.168 --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.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
|
|
58
|
+
| 4.0.167 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
|
|
57
59
|
| 4.0.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
|
|
58
60
|
| 4.0.165 | 07/03/2023 | chart constant for dw report tool |
|
|
59
61
|
| 4.0.164 | 06/23/2023 | gauge constant for page visualization library |
|
|
@@ -27,6 +27,12 @@ export interface ReportFilterConnection {
|
|
|
27
27
|
* @memberof ReportFilterConnection
|
|
28
28
|
*/
|
|
29
29
|
data_source_name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A unique identifier assigned to the data source.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReportFilterConnection
|
|
34
|
+
*/
|
|
35
|
+
data_source_uuid?: string;
|
|
30
36
|
}
|
|
31
37
|
export declare function ReportFilterConnectionFromJSON(json: any): ReportFilterConnection;
|
|
32
38
|
export declare function ReportFilterConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportFilterConnection;
|
|
@@ -26,6 +26,7 @@ function ReportFilterConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return {
|
|
27
27
|
'column': !(0, runtime_1.exists)(json, 'column') ? undefined : json['column'],
|
|
28
28
|
'data_source_name': !(0, runtime_1.exists)(json, 'data_source_name') ? undefined : json['data_source_name'],
|
|
29
|
+
'data_source_uuid': !(0, runtime_1.exists)(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
exports.ReportFilterConnectionFromJSONTyped = ReportFilterConnectionFromJSONTyped;
|
|
@@ -39,6 +40,7 @@ function ReportFilterConnectionToJSON(value) {
|
|
|
39
40
|
return {
|
|
40
41
|
'column': value.column,
|
|
41
42
|
'data_source_name': value.data_source_name,
|
|
43
|
+
'data_source_uuid': value.data_source_uuid,
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
exports.ReportFilterConnectionToJSON = ReportFilterConnectionToJSON;
|
|
@@ -29,6 +29,12 @@ export interface ReportPageVisualization {
|
|
|
29
29
|
* @memberof ReportPageVisualization
|
|
30
30
|
*/
|
|
31
31
|
data_source_name?: string;
|
|
32
|
+
/**
|
|
33
|
+
* A unique identifier assigned to the data source.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ReportPageVisualization
|
|
36
|
+
*/
|
|
37
|
+
data_source_uuid?: string;
|
|
32
38
|
/**
|
|
33
39
|
*
|
|
34
40
|
* @type {Array<ReportPageVisualizationDimension>}
|
|
@@ -40,6 +40,7 @@ function ReportPageVisualizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
return {
|
|
41
41
|
'config': !(0, runtime_1.exists)(json, 'config') ? undefined : json['config'],
|
|
42
42
|
'data_source_name': !(0, runtime_1.exists)(json, 'data_source_name') ? undefined : json['data_source_name'],
|
|
43
|
+
'data_source_uuid': !(0, runtime_1.exists)(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
43
44
|
'dimensions': !(0, runtime_1.exists)(json, 'dimensions') ? undefined : (json['dimensions'].map(ReportPageVisualizationDimension_1.ReportPageVisualizationDimensionFromJSON)),
|
|
44
45
|
'metrics': !(0, runtime_1.exists)(json, 'metrics') ? undefined : (json['metrics'].map(ReportPageVisualizationMetric_1.ReportPageVisualizationMetricFromJSON)),
|
|
45
46
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
@@ -60,6 +61,7 @@ function ReportPageVisualizationToJSON(value) {
|
|
|
60
61
|
return {
|
|
61
62
|
'config': value.config,
|
|
62
63
|
'data_source_name': value.data_source_name,
|
|
64
|
+
'data_source_uuid': value.data_source_uuid,
|
|
63
65
|
'dimensions': value.dimensions === undefined ? undefined : (value.dimensions.map(ReportPageVisualizationDimension_1.ReportPageVisualizationDimensionToJSON)),
|
|
64
66
|
'metrics': value.metrics === undefined ? undefined : (value.metrics.map(ReportPageVisualizationMetric_1.ReportPageVisualizationMetricToJSON)),
|
|
65
67
|
'name': value.name,
|
package/package.json
CHANGED
|
@@ -31,6 +31,12 @@ export interface ReportFilterConnection {
|
|
|
31
31
|
* @memberof ReportFilterConnection
|
|
32
32
|
*/
|
|
33
33
|
data_source_name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A unique identifier assigned to the data source.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ReportFilterConnection
|
|
38
|
+
*/
|
|
39
|
+
data_source_uuid?: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
export function ReportFilterConnectionFromJSON(json: any): ReportFilterConnection {
|
|
@@ -45,6 +51,7 @@ export function ReportFilterConnectionFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
45
51
|
|
|
46
52
|
'column': !exists(json, 'column') ? undefined : json['column'],
|
|
47
53
|
'data_source_name': !exists(json, 'data_source_name') ? undefined : json['data_source_name'],
|
|
54
|
+
'data_source_uuid': !exists(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
48
55
|
};
|
|
49
56
|
}
|
|
50
57
|
|
|
@@ -59,6 +66,7 @@ export function ReportFilterConnectionToJSON(value?: ReportFilterConnection | nu
|
|
|
59
66
|
|
|
60
67
|
'column': value.column,
|
|
61
68
|
'data_source_name': value.data_source_name,
|
|
69
|
+
'data_source_uuid': value.data_source_uuid,
|
|
62
70
|
};
|
|
63
71
|
}
|
|
64
72
|
|
|
@@ -44,6 +44,12 @@ export interface ReportPageVisualization {
|
|
|
44
44
|
* @memberof ReportPageVisualization
|
|
45
45
|
*/
|
|
46
46
|
data_source_name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* A unique identifier assigned to the data source.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ReportPageVisualization
|
|
51
|
+
*/
|
|
52
|
+
data_source_uuid?: string;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {Array<ReportPageVisualizationDimension>}
|
|
@@ -116,6 +122,7 @@ export function ReportPageVisualizationFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
116
122
|
|
|
117
123
|
'config': !exists(json, 'config') ? undefined : json['config'],
|
|
118
124
|
'data_source_name': !exists(json, 'data_source_name') ? undefined : json['data_source_name'],
|
|
125
|
+
'data_source_uuid': !exists(json, 'data_source_uuid') ? undefined : json['data_source_uuid'],
|
|
119
126
|
'dimensions': !exists(json, 'dimensions') ? undefined : ((json['dimensions'] as Array<any>).map(ReportPageVisualizationDimensionFromJSON)),
|
|
120
127
|
'metrics': !exists(json, 'metrics') ? undefined : ((json['metrics'] as Array<any>).map(ReportPageVisualizationMetricFromJSON)),
|
|
121
128
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
@@ -137,6 +144,7 @@ export function ReportPageVisualizationToJSON(value?: ReportPageVisualization |
|
|
|
137
144
|
|
|
138
145
|
'config': value.config,
|
|
139
146
|
'data_source_name': value.data_source_name,
|
|
147
|
+
'data_source_uuid': value.data_source_uuid,
|
|
140
148
|
'dimensions': value.dimensions === undefined ? undefined : ((value.dimensions as Array<any>).map(ReportPageVisualizationDimensionToJSON)),
|
|
141
149
|
'metrics': value.metrics === undefined ? undefined : ((value.metrics as Array<any>).map(ReportPageVisualizationMetricToJSON)),
|
|
142
150
|
'name': value.name,
|