@jrojaspin/security-map-api-cli 9.6.0 → 9.8.0

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.
Files changed (109) hide show
  1. package/dist/apis/ReportApi.d.ts +32 -1
  2. package/dist/apis/ReportApi.js +156 -1
  3. package/dist/apis/ReportApi.js.map +1 -1
  4. package/dist/index.cjs +1482 -151
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.ts +496 -9
  7. package/dist/index.mjs +1319 -147
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/models/AxisGrid.d.ts +8 -0
  10. package/dist/models/AxisGrid.js +28 -0
  11. package/dist/models/AxisGrid.js.map +1 -0
  12. package/dist/models/ChartDataset.d.ts +1 -0
  13. package/dist/models/ChartDataset.js +2 -0
  14. package/dist/models/ChartDataset.js.map +1 -1
  15. package/dist/models/ChartScales.d.ts +1 -0
  16. package/dist/models/ChartScales.js +2 -0
  17. package/dist/models/ChartScales.js.map +1 -1
  18. package/dist/models/Def227.d.ts +8 -0
  19. package/dist/models/Def227.js +16 -0
  20. package/dist/models/{Def200.js.map → Def227.js.map} +1 -1
  21. package/dist/models/ReportAllItemsListOutput.d.ts +2 -2
  22. package/dist/models/ReportAllItemsListOutput.js +3 -3
  23. package/dist/models/ReportQueryAxis.d.ts +10 -0
  24. package/dist/models/ReportQueryAxis.js +27 -0
  25. package/dist/models/ReportQueryAxis.js.map +1 -0
  26. package/dist/models/ReportQueryCatalogField.d.ts +70 -0
  27. package/dist/models/ReportQueryCatalogField.js +108 -0
  28. package/dist/models/ReportQueryCatalogField.js.map +1 -0
  29. package/dist/models/ReportQueryCatalogOutput.d.ts +9 -0
  30. package/dist/models/ReportQueryCatalogOutput.js +29 -0
  31. package/dist/models/ReportQueryCatalogOutput.js.map +1 -0
  32. package/dist/models/ReportQueryChart.d.ts +13 -0
  33. package/dist/models/ReportQueryChart.js +30 -0
  34. package/dist/models/ReportQueryChart.js.map +1 -0
  35. package/dist/models/ReportQueryDataDto.d.ts +11 -0
  36. package/dist/models/ReportQueryDataDto.js +34 -0
  37. package/dist/models/ReportQueryDataDto.js.map +1 -0
  38. package/dist/models/ReportQueryDataOutput.d.ts +9 -0
  39. package/dist/models/ReportQueryDataOutput.js +29 -0
  40. package/dist/models/ReportQueryDataOutput.js.map +1 -0
  41. package/dist/models/ReportQueryDateBucket.d.ts +13 -0
  42. package/dist/models/ReportQueryDateBucket.js +30 -0
  43. package/dist/models/ReportQueryDateBucket.js.map +1 -0
  44. package/dist/models/ReportQueryDefinition.d.ts +37 -0
  45. package/dist/models/ReportQueryDefinition.js +64 -0
  46. package/dist/models/ReportQueryDefinition.js.map +1 -0
  47. package/dist/models/ReportQueryDimension.d.ts +25 -0
  48. package/dist/models/ReportQueryDimension.js +46 -0
  49. package/dist/models/ReportQueryDimension.js.map +1 -0
  50. package/dist/models/ReportQueryDto.d.ts +11 -0
  51. package/dist/models/ReportQueryDto.js +35 -0
  52. package/dist/models/ReportQueryDto.js.map +1 -0
  53. package/dist/models/ReportQueryFieldType.d.ts +13 -0
  54. package/dist/models/ReportQueryFieldType.js +30 -0
  55. package/dist/models/ReportQueryFieldType.js.map +1 -0
  56. package/dist/models/ReportQueryFilter.d.ts +25 -0
  57. package/dist/models/ReportQueryFilter.js +50 -0
  58. package/dist/models/ReportQueryFilter.js.map +1 -0
  59. package/dist/models/ReportQueryFilterOperator.d.ts +20 -0
  60. package/dist/models/ReportQueryFilterOperator.js +37 -0
  61. package/dist/models/ReportQueryFilterOperator.js.map +1 -0
  62. package/dist/models/ReportQueryInput.d.ts +10 -0
  63. package/dist/models/ReportQueryInput.js +33 -0
  64. package/dist/models/ReportQueryInput.js.map +1 -0
  65. package/dist/models/ReportQueryListOutput.d.ts +9 -0
  66. package/dist/models/ReportQueryListOutput.js +29 -0
  67. package/dist/models/ReportQueryListOutput.js.map +1 -0
  68. package/dist/models/ReportQueryMetric.d.ts +19 -0
  69. package/dist/models/ReportQueryMetric.js +40 -0
  70. package/dist/models/ReportQueryMetric.js.map +1 -0
  71. package/dist/models/ReportQueryMetricOperation.d.ts +14 -0
  72. package/dist/models/ReportQueryMetricOperation.js +31 -0
  73. package/dist/models/ReportQueryMetricOperation.js.map +1 -0
  74. package/dist/models/ReportQueryNormalize.d.ts +11 -0
  75. package/dist/models/ReportQueryNormalize.js +28 -0
  76. package/dist/models/ReportQueryNormalize.js.map +1 -0
  77. package/dist/models/ReportQueryOutput.d.ts +9 -0
  78. package/dist/models/ReportQueryOutput.js +29 -0
  79. package/dist/models/ReportQueryOutput.js.map +1 -0
  80. package/dist/models/ReportQueryPreviewInput.d.ts +11 -0
  81. package/dist/models/ReportQueryPreviewInput.js +37 -0
  82. package/dist/models/ReportQueryPreviewInput.js.map +1 -0
  83. package/dist/models/ReportQueryResult.d.ts +11 -0
  84. package/dist/models/ReportQueryResult.js +34 -0
  85. package/dist/models/ReportQueryResult.js.map +1 -0
  86. package/dist/models/ReportQueryResultColumn.d.ts +9 -0
  87. package/dist/models/ReportQueryResultColumn.js +32 -0
  88. package/dist/models/ReportQueryResultColumn.js.map +1 -0
  89. package/dist/models/ReportQueryResultRow.d.ts +10 -0
  90. package/dist/models/ReportQueryResultRow.js +36 -0
  91. package/dist/models/ReportQueryResultRow.js.map +1 -0
  92. package/dist/models/ReportQuerySeries.d.ts +35 -0
  93. package/dist/models/ReportQuerySeries.js +66 -0
  94. package/dist/models/ReportQuerySeries.js.map +1 -0
  95. package/dist/models/ReportQuerySeriesChart.d.ts +10 -0
  96. package/dist/models/ReportQuerySeriesChart.js +27 -0
  97. package/dist/models/ReportQuerySeriesChart.js.map +1 -0
  98. package/dist/models/ReportQuerySource.d.ts +11 -0
  99. package/dist/models/ReportQuerySource.js +28 -0
  100. package/dist/models/ReportQuerySource.js.map +1 -0
  101. package/dist/models/YAxisOptions.d.ts +3 -0
  102. package/dist/models/YAxisOptions.js +5 -0
  103. package/dist/models/YAxisOptions.js.map +1 -1
  104. package/dist/models/index.d.ts +28 -1
  105. package/dist/models/index.js +28 -1
  106. package/dist/models/index.js.map +1 -1
  107. package/package.json +1 -1
  108. package/dist/models/Def200.d.ts +0 -8
  109. package/dist/models/Def200.js +0 -16
@@ -0,0 +1,14 @@
1
+ export declare const ReportQueryMetricOperation: {
2
+ readonly Count: "count";
3
+ readonly CountDistinct: "count_distinct";
4
+ readonly Sum: "sum";
5
+ readonly Avg: "avg";
6
+ readonly Min: "min";
7
+ readonly Max: "max";
8
+ };
9
+ export type ReportQueryMetricOperation = typeof ReportQueryMetricOperation[keyof typeof ReportQueryMetricOperation];
10
+ export declare function instanceOfReportQueryMetricOperation(value: any): boolean;
11
+ export declare function ReportQueryMetricOperationFromJSON(json: any): ReportQueryMetricOperation;
12
+ export declare function ReportQueryMetricOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQueryMetricOperation;
13
+ export declare function ReportQueryMetricOperationToJSON(value?: ReportQueryMetricOperation | null): any;
14
+ export declare function ReportQueryMetricOperationToJSONTyped(value: any, ignoreDiscriminator: boolean): ReportQueryMetricOperation;
@@ -0,0 +1,31 @@
1
+ export const ReportQueryMetricOperation = {
2
+ Count: 'count',
3
+ CountDistinct: 'count_distinct',
4
+ Sum: 'sum',
5
+ Avg: 'avg',
6
+ Min: 'min',
7
+ Max: 'max'
8
+ };
9
+ export function instanceOfReportQueryMetricOperation(value) {
10
+ for (const key in ReportQueryMetricOperation) {
11
+ if (Object.prototype.hasOwnProperty.call(ReportQueryMetricOperation, key)) {
12
+ if (ReportQueryMetricOperation[key] === value) {
13
+ return true;
14
+ }
15
+ }
16
+ }
17
+ return false;
18
+ }
19
+ export function ReportQueryMetricOperationFromJSON(json) {
20
+ return ReportQueryMetricOperationFromJSONTyped(json, false);
21
+ }
22
+ export function ReportQueryMetricOperationFromJSONTyped(json, ignoreDiscriminator) {
23
+ return json;
24
+ }
25
+ export function ReportQueryMetricOperationToJSON(value) {
26
+ return value;
27
+ }
28
+ export function ReportQueryMetricOperationToJSONTyped(value, ignoreDiscriminator) {
29
+ return value;
30
+ }
31
+ //# sourceMappingURL=ReportQueryMetricOperation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQueryMetricOperation.js","sourceRoot":"","sources":["../../src/models/ReportQueryMetricOperation.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,gBAAgB;IAC/B,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC;AAIX,MAAM,UAAU,oCAAoC,CAAC,KAAU;IAC3D,KAAK,MAAM,GAAG,IAAI,0BAA0B,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,0BAA0B,EAAE,GAAG,CAAC,EAAE,CAAC;YACxE,IAAI,0BAA0B,CAAC,GAA8C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACvF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,OAAO,IAAkC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,KAAyC;IACtF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,KAAU,EAAE,mBAA4B;IAC1F,OAAO,KAAmC,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const ReportQueryNormalize: {
2
+ readonly None: "none";
3
+ readonly TrimCase: "trim_case";
4
+ readonly Ipp: "ipp";
5
+ };
6
+ export type ReportQueryNormalize = typeof ReportQueryNormalize[keyof typeof ReportQueryNormalize];
7
+ export declare function instanceOfReportQueryNormalize(value: any): boolean;
8
+ export declare function ReportQueryNormalizeFromJSON(json: any): ReportQueryNormalize;
9
+ export declare function ReportQueryNormalizeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQueryNormalize;
10
+ export declare function ReportQueryNormalizeToJSON(value?: ReportQueryNormalize | null): any;
11
+ export declare function ReportQueryNormalizeToJSONTyped(value: any, ignoreDiscriminator: boolean): ReportQueryNormalize;
@@ -0,0 +1,28 @@
1
+ export const ReportQueryNormalize = {
2
+ None: 'none',
3
+ TrimCase: 'trim_case',
4
+ Ipp: 'ipp'
5
+ };
6
+ export function instanceOfReportQueryNormalize(value) {
7
+ for (const key in ReportQueryNormalize) {
8
+ if (Object.prototype.hasOwnProperty.call(ReportQueryNormalize, key)) {
9
+ if (ReportQueryNormalize[key] === value) {
10
+ return true;
11
+ }
12
+ }
13
+ }
14
+ return false;
15
+ }
16
+ export function ReportQueryNormalizeFromJSON(json) {
17
+ return ReportQueryNormalizeFromJSONTyped(json, false);
18
+ }
19
+ export function ReportQueryNormalizeFromJSONTyped(json, ignoreDiscriminator) {
20
+ return json;
21
+ }
22
+ export function ReportQueryNormalizeToJSON(value) {
23
+ return value;
24
+ }
25
+ export function ReportQueryNormalizeToJSONTyped(value, ignoreDiscriminator) {
26
+ return value;
27
+ }
28
+ //# sourceMappingURL=ReportQueryNormalize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQueryNormalize.js","sourceRoot":"","sources":["../../src/models/ReportQueryNormalize.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,WAAW;IACrB,GAAG,EAAE,KAAK;CACJ,CAAC;AAIX,MAAM,UAAU,8BAA8B,CAAC,KAAU;IACrD,KAAK,MAAM,GAAG,IAAI,oBAAoB,EAAE,CAAC;QACrC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,oBAAoB,EAAE,GAAG,CAAC,EAAE,CAAC;YAClE,IAAI,oBAAoB,CAAC,GAAwC,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC3E,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,OAAO,IAA4B,CAAC;AACxC,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,KAAmC;IAC1E,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,KAAU,EAAE,mBAA4B;IACpF,OAAO,KAA6B,CAAC;AACzC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { ReportQueryDto } from './ReportQueryDto.js';
2
+ export interface ReportQueryOutput {
3
+ data: ReportQueryDto;
4
+ }
5
+ export declare function instanceOfReportQueryOutput(value: object): value is ReportQueryOutput;
6
+ export declare function ReportQueryOutputFromJSON(json: any): ReportQueryOutput;
7
+ export declare function ReportQueryOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQueryOutput;
8
+ export declare function ReportQueryOutputToJSON(json: any): ReportQueryOutput;
9
+ export declare function ReportQueryOutputToJSONTyped(value?: ReportQueryOutput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,29 @@
1
+ import { ReportQueryDtoFromJSON, ReportQueryDtoToJSON, } from './ReportQueryDto.js';
2
+ export function instanceOfReportQueryOutput(value) {
3
+ if (!('data' in value) || value['data'] === undefined)
4
+ return false;
5
+ return true;
6
+ }
7
+ export function ReportQueryOutputFromJSON(json) {
8
+ return ReportQueryOutputFromJSONTyped(json, false);
9
+ }
10
+ export function ReportQueryOutputFromJSONTyped(json, ignoreDiscriminator) {
11
+ if (json == null) {
12
+ return json;
13
+ }
14
+ return {
15
+ 'data': ReportQueryDtoFromJSON(json['data']),
16
+ };
17
+ }
18
+ export function ReportQueryOutputToJSON(json) {
19
+ return ReportQueryOutputToJSONTyped(json, false);
20
+ }
21
+ export function ReportQueryOutputToJSONTyped(value, ignoreDiscriminator = false) {
22
+ if (value == null) {
23
+ return value;
24
+ }
25
+ return {
26
+ 'data': ReportQueryDtoToJSON(value['data']),
27
+ };
28
+ }
29
+ //# sourceMappingURL=ReportQueryOutput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQueryOutput.js","sourceRoot":"","sources":["../../src/models/ReportQueryOutput.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,sBAAsB,EAEtB,oBAAoB,GAEvB,MAAM,qBAAqB,CAAC;AAmB7B,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACrD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC/C,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,oBAAoB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC9C,CAAC;AACN,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ReportQueryDefinition } from './ReportQueryDefinition.js';
2
+ export interface ReportQueryPreviewInput {
3
+ definition: ReportQueryDefinition;
4
+ startDate: string;
5
+ endDate: string;
6
+ }
7
+ export declare function instanceOfReportQueryPreviewInput(value: object): value is ReportQueryPreviewInput;
8
+ export declare function ReportQueryPreviewInputFromJSON(json: any): ReportQueryPreviewInput;
9
+ export declare function ReportQueryPreviewInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQueryPreviewInput;
10
+ export declare function ReportQueryPreviewInputToJSON(json: any): ReportQueryPreviewInput;
11
+ export declare function ReportQueryPreviewInputToJSONTyped(value?: ReportQueryPreviewInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,37 @@
1
+ import { ReportQueryDefinitionFromJSON, ReportQueryDefinitionToJSON, } from './ReportQueryDefinition.js';
2
+ export function instanceOfReportQueryPreviewInput(value) {
3
+ if (!('definition' in value) || value['definition'] === undefined)
4
+ return false;
5
+ if (!('startDate' in value) || value['startDate'] === undefined)
6
+ return false;
7
+ if (!('endDate' in value) || value['endDate'] === undefined)
8
+ return false;
9
+ return true;
10
+ }
11
+ export function ReportQueryPreviewInputFromJSON(json) {
12
+ return ReportQueryPreviewInputFromJSONTyped(json, false);
13
+ }
14
+ export function ReportQueryPreviewInputFromJSONTyped(json, ignoreDiscriminator) {
15
+ if (json == null) {
16
+ return json;
17
+ }
18
+ return {
19
+ 'definition': ReportQueryDefinitionFromJSON(json['definition']),
20
+ 'startDate': json['startDate'],
21
+ 'endDate': json['endDate'],
22
+ };
23
+ }
24
+ export function ReportQueryPreviewInputToJSON(json) {
25
+ return ReportQueryPreviewInputToJSONTyped(json, false);
26
+ }
27
+ export function ReportQueryPreviewInputToJSONTyped(value, ignoreDiscriminator = false) {
28
+ if (value == null) {
29
+ return value;
30
+ }
31
+ return {
32
+ 'definition': ReportQueryDefinitionToJSON(value['definition']),
33
+ 'startDate': value['startDate'],
34
+ 'endDate': value['endDate'],
35
+ };
36
+ }
37
+ //# sourceMappingURL=ReportQueryPreviewInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQueryPreviewInput.js","sourceRoot":"","sources":["../../src/models/ReportQueryPreviewInput.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,6BAA6B,EAE7B,2BAA2B,GAE9B,MAAM,4BAA4B,CAAC;AA+BpC,MAAM,UAAU,iCAAiC,CAAC,KAAa;IAC3D,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,6BAA6B,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/D,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,2BAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QAC9D,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { ReportQueryResultRow } from './ReportQueryResultRow.js';
2
+ import type { ReportQueryResultColumn } from './ReportQueryResultColumn.js';
3
+ export interface ReportQueryResult {
4
+ columns: Array<ReportQueryResultColumn>;
5
+ rows: Array<ReportQueryResultRow>;
6
+ }
7
+ export declare function instanceOfReportQueryResult(value: object): value is ReportQueryResult;
8
+ export declare function ReportQueryResultFromJSON(json: any): ReportQueryResult;
9
+ export declare function ReportQueryResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQueryResult;
10
+ export declare function ReportQueryResultToJSON(json: any): ReportQueryResult;
11
+ export declare function ReportQueryResultToJSONTyped(value?: ReportQueryResult | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,34 @@
1
+ import { ReportQueryResultRowFromJSON, ReportQueryResultRowToJSON, } from './ReportQueryResultRow.js';
2
+ import { ReportQueryResultColumnFromJSON, ReportQueryResultColumnToJSON, } from './ReportQueryResultColumn.js';
3
+ export function instanceOfReportQueryResult(value) {
4
+ if (!('columns' in value) || value['columns'] === undefined)
5
+ return false;
6
+ if (!('rows' in value) || value['rows'] === undefined)
7
+ return false;
8
+ return true;
9
+ }
10
+ export function ReportQueryResultFromJSON(json) {
11
+ return ReportQueryResultFromJSONTyped(json, false);
12
+ }
13
+ export function ReportQueryResultFromJSONTyped(json, ignoreDiscriminator) {
14
+ if (json == null) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'columns': (json['columns'].map(ReportQueryResultColumnFromJSON)),
19
+ 'rows': (json['rows'].map(ReportQueryResultRowFromJSON)),
20
+ };
21
+ }
22
+ export function ReportQueryResultToJSON(json) {
23
+ return ReportQueryResultToJSONTyped(json, false);
24
+ }
25
+ export function ReportQueryResultToJSONTyped(value, ignoreDiscriminator = false) {
26
+ if (value == null) {
27
+ return value;
28
+ }
29
+ return {
30
+ 'columns': (value['columns'].map(ReportQueryResultColumnToJSON)),
31
+ 'rows': (value['rows'].map(ReportQueryResultRowToJSON)),
32
+ };
33
+ }
34
+ //# sourceMappingURL=ReportQueryResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQueryResult.js","sourceRoot":"","sources":["../../src/models/ReportQueryResult.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,4BAA4B,EAE5B,0BAA0B,GAE7B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACH,+BAA+B,EAE/B,6BAA6B,GAEhC,MAAM,8BAA8B,CAAC;AAyBtC,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACrD,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,CAAE,IAAI,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;QACjF,MAAM,EAAE,CAAE,IAAI,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;KAC3E,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,CAAE,KAAK,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;QAChF,MAAM,EAAE,CAAE,KAAK,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;KAC1E,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ export interface ReportQueryResultColumn {
2
+ label: string;
3
+ kind: string;
4
+ }
5
+ export declare function instanceOfReportQueryResultColumn(value: object): value is ReportQueryResultColumn;
6
+ export declare function ReportQueryResultColumnFromJSON(json: any): ReportQueryResultColumn;
7
+ export declare function ReportQueryResultColumnFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQueryResultColumn;
8
+ export declare function ReportQueryResultColumnToJSON(json: any): ReportQueryResultColumn;
9
+ export declare function ReportQueryResultColumnToJSONTyped(value?: ReportQueryResultColumn | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,32 @@
1
+ export function instanceOfReportQueryResultColumn(value) {
2
+ if (!('label' in value) || value['label'] === undefined)
3
+ return false;
4
+ if (!('kind' in value) || value['kind'] === undefined)
5
+ return false;
6
+ return true;
7
+ }
8
+ export function ReportQueryResultColumnFromJSON(json) {
9
+ return ReportQueryResultColumnFromJSONTyped(json, false);
10
+ }
11
+ export function ReportQueryResultColumnFromJSONTyped(json, ignoreDiscriminator) {
12
+ if (json == null) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'label': json['label'],
17
+ 'kind': json['kind'],
18
+ };
19
+ }
20
+ export function ReportQueryResultColumnToJSON(json) {
21
+ return ReportQueryResultColumnToJSONTyped(json, false);
22
+ }
23
+ export function ReportQueryResultColumnToJSONTyped(value, ignoreDiscriminator = false) {
24
+ if (value == null) {
25
+ return value;
26
+ }
27
+ return {
28
+ 'label': value['label'],
29
+ 'kind': value['kind'],
30
+ };
31
+ }
32
+ //# sourceMappingURL=ReportQueryResultColumn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQueryResultColumn.js","sourceRoot":"","sources":["../../src/models/ReportQueryResultColumn.ts"],"names":[],"mappings":"AAsCA,MAAM,UAAU,iCAAiC,CAAC,KAAa;IAC3D,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,10 @@
1
+ export interface ReportQueryResultRow {
2
+ keys: Array<string>;
3
+ labels: Array<string>;
4
+ values: Array<number>;
5
+ }
6
+ export declare function instanceOfReportQueryResultRow(value: object): value is ReportQueryResultRow;
7
+ export declare function ReportQueryResultRowFromJSON(json: any): ReportQueryResultRow;
8
+ export declare function ReportQueryResultRowFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQueryResultRow;
9
+ export declare function ReportQueryResultRowToJSON(json: any): ReportQueryResultRow;
10
+ export declare function ReportQueryResultRowToJSONTyped(value?: ReportQueryResultRow | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,36 @@
1
+ export function instanceOfReportQueryResultRow(value) {
2
+ if (!('keys' in value) || value['keys'] === undefined)
3
+ return false;
4
+ if (!('labels' in value) || value['labels'] === undefined)
5
+ return false;
6
+ if (!('values' in value) || value['values'] === undefined)
7
+ return false;
8
+ return true;
9
+ }
10
+ export function ReportQueryResultRowFromJSON(json) {
11
+ return ReportQueryResultRowFromJSONTyped(json, false);
12
+ }
13
+ export function ReportQueryResultRowFromJSONTyped(json, ignoreDiscriminator) {
14
+ if (json == null) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'keys': json['keys'],
19
+ 'labels': json['labels'],
20
+ 'values': json['values'],
21
+ };
22
+ }
23
+ export function ReportQueryResultRowToJSON(json) {
24
+ return ReportQueryResultRowToJSONTyped(json, false);
25
+ }
26
+ export function ReportQueryResultRowToJSONTyped(value, ignoreDiscriminator = false) {
27
+ if (value == null) {
28
+ return value;
29
+ }
30
+ return {
31
+ 'keys': value['keys'],
32
+ 'labels': value['labels'],
33
+ 'values': value['values'],
34
+ };
35
+ }
36
+ //# sourceMappingURL=ReportQueryResultRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQueryResultRow.js","sourceRoot":"","sources":["../../src/models/ReportQueryResultRow.ts"],"names":[],"mappings":"AA4CA,MAAM,UAAU,8BAA8B,CAAC,KAAa;IACxD,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,KAAmC,EAAE,sBAA+B,KAAK;IACrH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { ReportQueryMetric } from './ReportQueryMetric.js';
2
+ import type { ReportQueryFilter } from './ReportQueryFilter.js';
3
+ import type { ReportQueryDimension } from './ReportQueryDimension.js';
4
+ export interface ReportQuerySeries {
5
+ label?: string;
6
+ source: ReportQuerySeriesSourceEnum;
7
+ itemTypeIds: Array<number>;
8
+ filters: Array<ReportQueryFilter>;
9
+ metric: ReportQueryMetric;
10
+ splitBy?: ReportQueryDimension;
11
+ chart?: ReportQuerySeriesChartEnum;
12
+ color?: string;
13
+ axis?: ReportQuerySeriesAxisEnum;
14
+ }
15
+ export declare const ReportQuerySeriesSourceEnum: {
16
+ readonly Items: "items";
17
+ readonly Articles: "articles";
18
+ readonly StateHistory: "state_history";
19
+ };
20
+ export type ReportQuerySeriesSourceEnum = typeof ReportQuerySeriesSourceEnum[keyof typeof ReportQuerySeriesSourceEnum];
21
+ export declare const ReportQuerySeriesChartEnum: {
22
+ readonly Bar: "bar";
23
+ readonly Line: "line";
24
+ };
25
+ export type ReportQuerySeriesChartEnum = typeof ReportQuerySeriesChartEnum[keyof typeof ReportQuerySeriesChartEnum];
26
+ export declare const ReportQuerySeriesAxisEnum: {
27
+ readonly Y: "y";
28
+ readonly Y2: "y2";
29
+ };
30
+ export type ReportQuerySeriesAxisEnum = typeof ReportQuerySeriesAxisEnum[keyof typeof ReportQuerySeriesAxisEnum];
31
+ export declare function instanceOfReportQuerySeries(value: object): value is ReportQuerySeries;
32
+ export declare function ReportQuerySeriesFromJSON(json: any): ReportQuerySeries;
33
+ export declare function ReportQuerySeriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQuerySeries;
34
+ export declare function ReportQuerySeriesToJSON(json: any): ReportQuerySeries;
35
+ export declare function ReportQuerySeriesToJSONTyped(value?: ReportQuerySeries | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
1
+ import { ReportQueryMetricFromJSON, ReportQueryMetricToJSON, } from './ReportQueryMetric.js';
2
+ import { ReportQueryFilterFromJSON, ReportQueryFilterToJSON, } from './ReportQueryFilter.js';
3
+ import { ReportQueryDimensionFromJSON, ReportQueryDimensionToJSON, } from './ReportQueryDimension.js';
4
+ export const ReportQuerySeriesSourceEnum = {
5
+ Items: 'items',
6
+ Articles: 'articles',
7
+ StateHistory: 'state_history'
8
+ };
9
+ export const ReportQuerySeriesChartEnum = {
10
+ Bar: 'bar',
11
+ Line: 'line'
12
+ };
13
+ export const ReportQuerySeriesAxisEnum = {
14
+ Y: 'y',
15
+ Y2: 'y2'
16
+ };
17
+ export function instanceOfReportQuerySeries(value) {
18
+ if (!('source' in value) || value['source'] === undefined)
19
+ return false;
20
+ if (!('itemTypeIds' in value) || value['itemTypeIds'] === undefined)
21
+ return false;
22
+ if (!('filters' in value) || value['filters'] === undefined)
23
+ return false;
24
+ if (!('metric' in value) || value['metric'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function ReportQuerySeriesFromJSON(json) {
29
+ return ReportQuerySeriesFromJSONTyped(json, false);
30
+ }
31
+ export function ReportQuerySeriesFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'label': json['label'] == null ? undefined : json['label'],
37
+ 'source': json['source'],
38
+ 'itemTypeIds': json['itemTypeIds'],
39
+ 'filters': (json['filters'].map(ReportQueryFilterFromJSON)),
40
+ 'metric': ReportQueryMetricFromJSON(json['metric']),
41
+ 'splitBy': json['splitBy'] == null ? undefined : ReportQueryDimensionFromJSON(json['splitBy']),
42
+ 'chart': json['chart'] == null ? undefined : json['chart'],
43
+ 'color': json['color'] == null ? undefined : json['color'],
44
+ 'axis': json['axis'] == null ? undefined : json['axis'],
45
+ };
46
+ }
47
+ export function ReportQuerySeriesToJSON(json) {
48
+ return ReportQuerySeriesToJSONTyped(json, false);
49
+ }
50
+ export function ReportQuerySeriesToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'label': value['label'],
56
+ 'source': value['source'],
57
+ 'itemTypeIds': value['itemTypeIds'],
58
+ 'filters': (value['filters'].map(ReportQueryFilterToJSON)),
59
+ 'metric': ReportQueryMetricToJSON(value['metric']),
60
+ 'splitBy': ReportQueryDimensionToJSON(value['splitBy']),
61
+ 'chart': value['chart'],
62
+ 'color': value['color'],
63
+ 'axis': value['axis'],
64
+ };
65
+ }
66
+ //# sourceMappingURL=ReportQuerySeries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQuerySeries.js","sourceRoot":"","sources":["../../src/models/ReportQuerySeries.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,yBAAyB,EAEzB,uBAAuB,GAE1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACH,yBAAyB,EAEzB,uBAAuB,GAE1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACH,4BAA4B,EAE5B,0BAA0B,GAE7B,MAAM,2BAA2B,CAAC;AAoEnC,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACvC,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,eAAe;CACvB,CAAC;AAMX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACN,CAAC;AAMX,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;CACF,CAAC;AAOX,MAAM,UAAU,2BAA2B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"bar";
3
+ readonly Line: "line";
4
+ };
5
+ export type ReportQuerySeriesChart = typeof ReportQuerySeriesChart[keyof typeof ReportQuerySeriesChart];
6
+ export declare function instanceOfReportQuerySeriesChart(value: any): boolean;
7
+ export declare function ReportQuerySeriesChartFromJSON(json: any): ReportQuerySeriesChart;
8
+ export declare function ReportQuerySeriesChartFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQuerySeriesChart;
9
+ export declare function ReportQuerySeriesChartToJSON(value?: ReportQuerySeriesChart | null): any;
10
+ export declare function ReportQuerySeriesChartToJSONTyped(value: any, ignoreDiscriminator: boolean): ReportQuerySeriesChart;
@@ -0,0 +1,27 @@
1
+ export const ReportQuerySeriesChart = {
2
+ Bar: 'bar',
3
+ Line: 'line'
4
+ };
5
+ export function instanceOfReportQuerySeriesChart(value) {
6
+ for (const key in ReportQuerySeriesChart) {
7
+ if (Object.prototype.hasOwnProperty.call(ReportQuerySeriesChart, key)) {
8
+ if (ReportQuerySeriesChart[key] === value) {
9
+ return true;
10
+ }
11
+ }
12
+ }
13
+ return false;
14
+ }
15
+ export function ReportQuerySeriesChartFromJSON(json) {
16
+ return ReportQuerySeriesChartFromJSONTyped(json, false);
17
+ }
18
+ export function ReportQuerySeriesChartFromJSONTyped(json, ignoreDiscriminator) {
19
+ return json;
20
+ }
21
+ export function ReportQuerySeriesChartToJSON(value) {
22
+ return value;
23
+ }
24
+ export function ReportQuerySeriesChartToJSONTyped(value, ignoreDiscriminator) {
25
+ return value;
26
+ }
27
+ //# sourceMappingURL=ReportQuerySeriesChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQuerySeriesChart.js","sourceRoot":"","sources":["../../src/models/ReportQuerySeriesChart.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,sBAAsB,GAAG;IAClC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACN,CAAC;AAIX,MAAM,UAAU,gCAAgC,CAAC,KAAU;IACvD,KAAK,MAAM,GAAG,IAAI,sBAAsB,EAAE,CAAC;QACvC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,sBAAsB,EAAE,GAAG,CAAC,EAAE,CAAC;YACpE,IAAI,sBAAsB,CAAC,GAA0C,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/E,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,OAAO,IAA8B,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,KAAqC;IAC9E,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,KAAU,EAAE,mBAA4B;IACtF,OAAO,KAA+B,CAAC;AAC3C,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const ReportQuerySource: {
2
+ readonly Items: "items";
3
+ readonly Articles: "articles";
4
+ readonly StateHistory: "state_history";
5
+ };
6
+ export type ReportQuerySource = typeof ReportQuerySource[keyof typeof ReportQuerySource];
7
+ export declare function instanceOfReportQuerySource(value: any): boolean;
8
+ export declare function ReportQuerySourceFromJSON(json: any): ReportQuerySource;
9
+ export declare function ReportQuerySourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportQuerySource;
10
+ export declare function ReportQuerySourceToJSON(value?: ReportQuerySource | null): any;
11
+ export declare function ReportQuerySourceToJSONTyped(value: any, ignoreDiscriminator: boolean): ReportQuerySource;
@@ -0,0 +1,28 @@
1
+ export const ReportQuerySource = {
2
+ Items: 'items',
3
+ Articles: 'articles',
4
+ StateHistory: 'state_history'
5
+ };
6
+ export function instanceOfReportQuerySource(value) {
7
+ for (const key in ReportQuerySource) {
8
+ if (Object.prototype.hasOwnProperty.call(ReportQuerySource, key)) {
9
+ if (ReportQuerySource[key] === value) {
10
+ return true;
11
+ }
12
+ }
13
+ }
14
+ return false;
15
+ }
16
+ export function ReportQuerySourceFromJSON(json) {
17
+ return ReportQuerySourceFromJSONTyped(json, false);
18
+ }
19
+ export function ReportQuerySourceFromJSONTyped(json, ignoreDiscriminator) {
20
+ return json;
21
+ }
22
+ export function ReportQuerySourceToJSON(value) {
23
+ return value;
24
+ }
25
+ export function ReportQuerySourceToJSONTyped(value, ignoreDiscriminator) {
26
+ return value;
27
+ }
28
+ //# sourceMappingURL=ReportQuerySource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportQuerySource.js","sourceRoot":"","sources":["../../src/models/ReportQuerySource.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,eAAe;CACvB,CAAC;AAIX,MAAM,UAAU,2BAA2B,CAAC,KAAU;IAClD,KAAK,MAAM,GAAG,IAAI,iBAAiB,EAAE,CAAC;QAClC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,iBAAiB,EAAE,GAAG,CAAC,EAAE,CAAC;YAC/D,IAAI,iBAAiB,CAAC,GAAqC,CAAC,KAAK,KAAK,EAAE,CAAC;gBACrE,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,OAAO,IAAyB,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,KAAgC;IACpE,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,KAAU,EAAE,mBAA4B;IACjF,OAAO,KAA0B,CAAC;AACtC,CAAC"}
@@ -1,7 +1,10 @@
1
+ import type { AxisGrid } from './AxisGrid.js';
1
2
  import type { AxisTitle } from './AxisTitle.js';
2
3
  export interface YAxisOptions {
3
4
  beginAtZero: boolean;
4
5
  title: AxisTitle;
6
+ position?: string;
7
+ grid?: AxisGrid;
5
8
  }
6
9
  export declare function instanceOfYAxisOptions(value: object): value is YAxisOptions;
7
10
  export declare function YAxisOptionsFromJSON(json: any): YAxisOptions;
@@ -1,3 +1,4 @@
1
+ import { AxisGridFromJSON, AxisGridToJSON, } from './AxisGrid.js';
1
2
  import { AxisTitleFromJSON, AxisTitleToJSON, } from './AxisTitle.js';
2
3
  export function instanceOfYAxisOptions(value) {
3
4
  if (!('beginAtZero' in value) || value['beginAtZero'] === undefined)
@@ -16,6 +17,8 @@ export function YAxisOptionsFromJSONTyped(json, ignoreDiscriminator) {
16
17
  return {
17
18
  'beginAtZero': json['beginAtZero'],
18
19
  'title': AxisTitleFromJSON(json['title']),
20
+ 'position': json['position'] == null ? undefined : json['position'],
21
+ 'grid': json['grid'] == null ? undefined : AxisGridFromJSON(json['grid']),
19
22
  };
20
23
  }
21
24
  export function YAxisOptionsToJSON(json) {
@@ -28,6 +31,8 @@ export function YAxisOptionsToJSONTyped(value, ignoreDiscriminator = false) {
28
31
  return {
29
32
  'beginAtZero': value['beginAtZero'],
30
33
  'title': AxisTitleToJSON(value['title']),
34
+ 'position': value['position'],
35
+ 'grid': AxisGridToJSON(value['grid']),
31
36
  };
32
37
  }
33
38
  //# sourceMappingURL=YAxisOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"YAxisOptions.js","sourceRoot":"","sources":["../../src/models/YAxisOptions.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,iBAAiB,EAEjB,eAAe,GAElB,MAAM,gBAAgB,CAAC;AAyBxB,MAAM,UAAU,sBAAsB,CAAC,KAA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