ultracart_rest_api_v2_typescript 4.0.148 → 4.0.149
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/.openapi-generator/FILES +1 -0
- package/README.md +3 -2
- package/dist/models/Report.d.ts +7 -0
- package/dist/models/Report.js +3 -0
- package/dist/models/ReportPage.d.ts +3 -3
- package/dist/models/ReportPage.js +3 -3
- package/dist/models/ReportPageFilter.d.ts +45 -0
- package/dist/models/ReportPageFilter.js +48 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/Report.ts +14 -0
- package/src/models/ReportPage.ts +9 -9
- package/src/models/ReportPageFilter.ts +80 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -668,6 +668,7 @@ src/models/ReportExecuteQueriesRequest.ts
|
|
|
668
668
|
src/models/ReportFilter.ts
|
|
669
669
|
src/models/ReportFilterConnection.ts
|
|
670
670
|
src/models/ReportPage.ts
|
|
671
|
+
src/models/ReportPageFilter.ts
|
|
671
672
|
src/models/ReportPageVisualization.ts
|
|
672
673
|
src/models/ReportPageVisualizationDimension.ts
|
|
673
674
|
src/models/ReportPageVisualizationMetric.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.149
|
|
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.149 --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.149 | 04/19/2023 | internal development - data warehouse |
|
|
57
58
|
| 4.0.148 | 04/19/2023 | internal dev - data warehouse |
|
|
58
59
|
| 4.0.147 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
|
59
60
|
| 4.0.146 | 04/11/2023 | missing sezzle payment constant |
|
package/dist/models/Report.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ReportDataSource } from './ReportDataSource';
|
|
13
|
+
import { ReportFilter } from './ReportFilter';
|
|
13
14
|
import { ReportPage } from './ReportPage';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -41,6 +42,12 @@ export interface Report {
|
|
|
41
42
|
* @memberof Report
|
|
42
43
|
*/
|
|
43
44
|
default_project_id?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<ReportFilter>}
|
|
48
|
+
* @memberof Report
|
|
49
|
+
*/
|
|
50
|
+
filters?: Array<ReportFilter>;
|
|
44
51
|
/**
|
|
45
52
|
*
|
|
46
53
|
* @type {string}
|
package/dist/models/Report.js
CHANGED
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ReportToJSON = exports.ReportFromJSONTyped = exports.ReportFromJSON = exports.ReportSecurityLevelEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var ReportDataSource_1 = require("./ReportDataSource");
|
|
19
|
+
var ReportFilter_1 = require("./ReportFilter");
|
|
19
20
|
var ReportPage_1 = require("./ReportPage");
|
|
20
21
|
/**
|
|
21
22
|
* @export
|
|
@@ -39,6 +40,7 @@ function ReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
40
|
'data_sources': !(0, runtime_1.exists)(json, 'data_sources') ? undefined : (json['data_sources'].map(ReportDataSource_1.ReportDataSourceFromJSON)),
|
|
40
41
|
'default_dataset_id': !(0, runtime_1.exists)(json, 'default_dataset_id') ? undefined : json['default_dataset_id'],
|
|
41
42
|
'default_project_id': !(0, runtime_1.exists)(json, 'default_project_id') ? undefined : json['default_project_id'],
|
|
43
|
+
'filters': !(0, runtime_1.exists)(json, 'filters') ? undefined : (json['filters'].map(ReportFilter_1.ReportFilterFromJSON)),
|
|
42
44
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
43
45
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
44
46
|
'pages': !(0, runtime_1.exists)(json, 'pages') ? undefined : (json['pages'].map(ReportPage_1.ReportPageFromJSON)),
|
|
@@ -59,6 +61,7 @@ function ReportToJSON(value) {
|
|
|
59
61
|
'data_sources': value.data_sources === undefined ? undefined : (value.data_sources.map(ReportDataSource_1.ReportDataSourceToJSON)),
|
|
60
62
|
'default_dataset_id': value.default_dataset_id,
|
|
61
63
|
'default_project_id': value.default_project_id,
|
|
64
|
+
'filters': value.filters === undefined ? undefined : (value.filters.map(ReportFilter_1.ReportFilterToJSON)),
|
|
62
65
|
'merchant_id': value.merchant_id,
|
|
63
66
|
'name': value.name,
|
|
64
67
|
'pages': value.pages === undefined ? undefined : (value.pages.map(ReportPage_1.ReportPageToJSON)),
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ReportPageFilter } from './ReportPageFilter';
|
|
13
13
|
import { ReportPageVisualization } from './ReportPageVisualization';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -19,10 +19,10 @@ import { ReportPageVisualization } from './ReportPageVisualization';
|
|
|
19
19
|
export interface ReportPage {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {Array<
|
|
22
|
+
* @type {Array<ReportPageFilter>}
|
|
23
23
|
* @memberof ReportPage
|
|
24
24
|
*/
|
|
25
|
-
filters?: Array<
|
|
25
|
+
filters?: Array<ReportPageFilter>;
|
|
26
26
|
/**
|
|
27
27
|
* Height of the report page in inches
|
|
28
28
|
* @type {number}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ReportPageToJSON = exports.ReportPageFromJSONTyped = exports.ReportPageFromJSON = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
-
var
|
|
18
|
+
var ReportPageFilter_1 = require("./ReportPageFilter");
|
|
19
19
|
var ReportPageVisualization_1 = require("./ReportPageVisualization");
|
|
20
20
|
function ReportPageFromJSON(json) {
|
|
21
21
|
return ReportPageFromJSONTyped(json, false);
|
|
@@ -26,7 +26,7 @@ function ReportPageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
return json;
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
|
-
'filters': !(0, runtime_1.exists)(json, 'filters') ? undefined : (json['filters'].map(
|
|
29
|
+
'filters': !(0, runtime_1.exists)(json, 'filters') ? undefined : (json['filters'].map(ReportPageFilter_1.ReportPageFilterFromJSON)),
|
|
30
30
|
'height': !(0, runtime_1.exists)(json, 'height') ? undefined : json['height'],
|
|
31
31
|
'title': !(0, runtime_1.exists)(json, 'title') ? undefined : json['title'],
|
|
32
32
|
'visualizations': !(0, runtime_1.exists)(json, 'visualizations') ? undefined : (json['visualizations'].map(ReportPageVisualization_1.ReportPageVisualizationFromJSON)),
|
|
@@ -42,7 +42,7 @@ function ReportPageToJSON(value) {
|
|
|
42
42
|
return null;
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
|
-
'filters': value.filters === undefined ? undefined : (value.filters.map(
|
|
45
|
+
'filters': value.filters === undefined ? undefined : (value.filters.map(ReportPageFilter_1.ReportPageFilterToJSON)),
|
|
46
46
|
'height': value.height,
|
|
47
47
|
'title': value.title,
|
|
48
48
|
'visualizations': value.visualizations === undefined ? undefined : (value.visualizations.map(ReportPageVisualization_1.ReportPageVisualizationToJSON)),
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UltraCart Rest API V2
|
|
3
|
+
* UltraCart REST API Version 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
* Contact: support@ultracart.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReportPageFilter
|
|
16
|
+
*/
|
|
17
|
+
export interface ReportPageFilter {
|
|
18
|
+
/**
|
|
19
|
+
* A JSON representation of the configuration for this visualization
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReportPageFilter
|
|
22
|
+
*/
|
|
23
|
+
config?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ReportPageFilter
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A JSON representation of the style configuration for this visualization
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ReportPageFilter
|
|
34
|
+
*/
|
|
35
|
+
styles?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique UUID assigned to the filter. Assists when returning values that the filter can use.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ReportPageFilter
|
|
40
|
+
*/
|
|
41
|
+
uuid?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function ReportPageFilterFromJSON(json: any): ReportPageFilter;
|
|
44
|
+
export declare function ReportPageFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportPageFilter;
|
|
45
|
+
export declare function ReportPageFilterToJSON(value?: ReportPageFilter | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UltraCart Rest API V2
|
|
6
|
+
* UltraCart REST API Version 2
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
* Contact: support@ultracart.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ReportPageFilterToJSON = exports.ReportPageFilterFromJSONTyped = exports.ReportPageFilterFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
function ReportPageFilterFromJSON(json) {
|
|
19
|
+
return ReportPageFilterFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.ReportPageFilterFromJSON = ReportPageFilterFromJSON;
|
|
22
|
+
function ReportPageFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'config': !(0, runtime_1.exists)(json, 'config') ? undefined : json['config'],
|
|
28
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
29
|
+
'styles': !(0, runtime_1.exists)(json, 'styles') ? undefined : json['styles'],
|
|
30
|
+
'uuid': !(0, runtime_1.exists)(json, 'uuid') ? undefined : json['uuid'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.ReportPageFilterFromJSONTyped = ReportPageFilterFromJSONTyped;
|
|
34
|
+
function ReportPageFilterToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'config': value.config,
|
|
43
|
+
'name': value.name,
|
|
44
|
+
'styles': value.styles,
|
|
45
|
+
'uuid': value.uuid,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.ReportPageFilterToJSON = ReportPageFilterToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -642,6 +642,7 @@ export * from './ReportExecuteQueriesRequest';
|
|
|
642
642
|
export * from './ReportFilter';
|
|
643
643
|
export * from './ReportFilterConnection';
|
|
644
644
|
export * from './ReportPage';
|
|
645
|
+
export * from './ReportPageFilter';
|
|
645
646
|
export * from './ReportPageVisualization';
|
|
646
647
|
export * from './ReportPageVisualizationDimension';
|
|
647
648
|
export * from './ReportPageVisualizationMetric';
|
package/dist/models/index.js
CHANGED
|
@@ -660,6 +660,7 @@ __exportStar(require("./ReportExecuteQueriesRequest"), exports);
|
|
|
660
660
|
__exportStar(require("./ReportFilter"), exports);
|
|
661
661
|
__exportStar(require("./ReportFilterConnection"), exports);
|
|
662
662
|
__exportStar(require("./ReportPage"), exports);
|
|
663
|
+
__exportStar(require("./ReportPageFilter"), exports);
|
|
663
664
|
__exportStar(require("./ReportPageVisualization"), exports);
|
|
664
665
|
__exportStar(require("./ReportPageVisualizationDimension"), exports);
|
|
665
666
|
__exportStar(require("./ReportPageVisualizationMetric"), exports);
|
package/package.json
CHANGED
package/src/models/Report.ts
CHANGED
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
ReportDataSourceFromJSONTyped,
|
|
20
20
|
ReportDataSourceToJSON,
|
|
21
21
|
} from './ReportDataSource';
|
|
22
|
+
import {
|
|
23
|
+
ReportFilter,
|
|
24
|
+
ReportFilterFromJSON,
|
|
25
|
+
ReportFilterFromJSONTyped,
|
|
26
|
+
ReportFilterToJSON,
|
|
27
|
+
} from './ReportFilter';
|
|
22
28
|
import {
|
|
23
29
|
ReportPage,
|
|
24
30
|
ReportPageFromJSON,
|
|
@@ -56,6 +62,12 @@ export interface Report {
|
|
|
56
62
|
* @memberof Report
|
|
57
63
|
*/
|
|
58
64
|
default_project_id?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<ReportFilter>}
|
|
68
|
+
* @memberof Report
|
|
69
|
+
*/
|
|
70
|
+
filters?: Array<ReportFilter>;
|
|
59
71
|
/**
|
|
60
72
|
*
|
|
61
73
|
* @type {string}
|
|
@@ -115,6 +127,7 @@ export function ReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): Re
|
|
|
115
127
|
'data_sources': !exists(json, 'data_sources') ? undefined : ((json['data_sources'] as Array<any>).map(ReportDataSourceFromJSON)),
|
|
116
128
|
'default_dataset_id': !exists(json, 'default_dataset_id') ? undefined : json['default_dataset_id'],
|
|
117
129
|
'default_project_id': !exists(json, 'default_project_id') ? undefined : json['default_project_id'],
|
|
130
|
+
'filters': !exists(json, 'filters') ? undefined : ((json['filters'] as Array<any>).map(ReportFilterFromJSON)),
|
|
118
131
|
'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
119
132
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
120
133
|
'pages': !exists(json, 'pages') ? undefined : ((json['pages'] as Array<any>).map(ReportPageFromJSON)),
|
|
@@ -136,6 +149,7 @@ export function ReportToJSON(value?: Report | null): any {
|
|
|
136
149
|
'data_sources': value.data_sources === undefined ? undefined : ((value.data_sources as Array<any>).map(ReportDataSourceToJSON)),
|
|
137
150
|
'default_dataset_id': value.default_dataset_id,
|
|
138
151
|
'default_project_id': value.default_project_id,
|
|
152
|
+
'filters': value.filters === undefined ? undefined : ((value.filters as Array<any>).map(ReportFilterToJSON)),
|
|
139
153
|
'merchant_id': value.merchant_id,
|
|
140
154
|
'name': value.name,
|
|
141
155
|
'pages': value.pages === undefined ? undefined : ((value.pages as Array<any>).map(ReportPageToJSON)),
|
package/src/models/ReportPage.ts
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
17
|
+
ReportPageFilter,
|
|
18
|
+
ReportPageFilterFromJSON,
|
|
19
|
+
ReportPageFilterFromJSONTyped,
|
|
20
|
+
ReportPageFilterToJSON,
|
|
21
|
+
} from './ReportPageFilter';
|
|
22
22
|
import {
|
|
23
23
|
ReportPageVisualization,
|
|
24
24
|
ReportPageVisualizationFromJSON,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
export interface ReportPage {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {Array<
|
|
37
|
+
* @type {Array<ReportPageFilter>}
|
|
38
38
|
* @memberof ReportPage
|
|
39
39
|
*/
|
|
40
|
-
filters?: Array<
|
|
40
|
+
filters?: Array<ReportPageFilter>;
|
|
41
41
|
/**
|
|
42
42
|
* Height of the report page in inches
|
|
43
43
|
* @type {number}
|
|
@@ -74,7 +74,7 @@ export function ReportPageFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
74
74
|
}
|
|
75
75
|
return {
|
|
76
76
|
|
|
77
|
-
'filters': !exists(json, 'filters') ? undefined : ((json['filters'] as Array<any>).map(
|
|
77
|
+
'filters': !exists(json, 'filters') ? undefined : ((json['filters'] as Array<any>).map(ReportPageFilterFromJSON)),
|
|
78
78
|
'height': !exists(json, 'height') ? undefined : json['height'],
|
|
79
79
|
'title': !exists(json, 'title') ? undefined : json['title'],
|
|
80
80
|
'visualizations': !exists(json, 'visualizations') ? undefined : ((json['visualizations'] as Array<any>).map(ReportPageVisualizationFromJSON)),
|
|
@@ -91,7 +91,7 @@ export function ReportPageToJSON(value?: ReportPage | null): any {
|
|
|
91
91
|
}
|
|
92
92
|
return {
|
|
93
93
|
|
|
94
|
-
'filters': value.filters === undefined ? undefined : ((value.filters as Array<any>).map(
|
|
94
|
+
'filters': value.filters === undefined ? undefined : ((value.filters as Array<any>).map(ReportPageFilterToJSON)),
|
|
95
95
|
'height': value.height,
|
|
96
96
|
'title': value.title,
|
|
97
97
|
'visualizations': value.visualizations === undefined ? undefined : ((value.visualizations as Array<any>).map(ReportPageVisualizationToJSON)),
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UltraCart Rest API V2
|
|
5
|
+
* UltraCart REST API Version 2
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
|
8
|
+
* Contact: support@ultracart.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ReportPageFilter
|
|
20
|
+
*/
|
|
21
|
+
export interface ReportPageFilter {
|
|
22
|
+
/**
|
|
23
|
+
* A JSON representation of the configuration for this visualization
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ReportPageFilter
|
|
26
|
+
*/
|
|
27
|
+
config?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ReportPageFilter
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A JSON representation of the style configuration for this visualization
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ReportPageFilter
|
|
38
|
+
*/
|
|
39
|
+
styles?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Unique UUID assigned to the filter. Assists when returning values that the filter can use.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ReportPageFilter
|
|
44
|
+
*/
|
|
45
|
+
uuid?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function ReportPageFilterFromJSON(json: any): ReportPageFilter {
|
|
49
|
+
return ReportPageFilterFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ReportPageFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportPageFilter {
|
|
53
|
+
if ((json === undefined) || (json === null)) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
|
|
58
|
+
'config': !exists(json, 'config') ? undefined : json['config'],
|
|
59
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
60
|
+
'styles': !exists(json, 'styles') ? undefined : json['styles'],
|
|
61
|
+
'uuid': !exists(json, 'uuid') ? undefined : json['uuid'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ReportPageFilterToJSON(value?: ReportPageFilter | null): any {
|
|
66
|
+
if (value === undefined) {
|
|
67
|
+
return undefined;
|
|
68
|
+
}
|
|
69
|
+
if (value === null) {
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'config': value.config,
|
|
75
|
+
'name': value.name,
|
|
76
|
+
'styles': value.styles,
|
|
77
|
+
'uuid': value.uuid,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -644,6 +644,7 @@ export * from './ReportExecuteQueriesRequest';
|
|
|
644
644
|
export * from './ReportFilter';
|
|
645
645
|
export * from './ReportFilterConnection';
|
|
646
646
|
export * from './ReportPage';
|
|
647
|
+
export * from './ReportPageFilter';
|
|
647
648
|
export * from './ReportPageVisualization';
|
|
648
649
|
export * from './ReportPageVisualizationDimension';
|
|
649
650
|
export * from './ReportPageVisualizationMetric';
|