ultracart_rest_api_v2_typescript 4.0.166 → 4.0.167

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.166
1
+ ## ultracart_rest_api_v2_typescript@4.0.167
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.166 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.167 --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.167 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
57
58
  | 4.0.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
58
59
  | 4.0.165 | 07/03/2023 | chart constant for dw report tool |
59
60
  | 4.0.164 | 06/23/2023 | gauge constant for page visualization library |
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.166",
3
+ "version": "4.0.167",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -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,