Skip to content

Commit b035220

Browse files
author
GithubActions
committed
Update generated TypeScript client
1 parent 698ec06 commit b035220

File tree

3 files changed

+14
-28
lines changed

3 files changed

+14
-28
lines changed

src/models/CityMetrics.ts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@
1313
*/
1414

1515
import { mapValues } from '../runtime';
16-
import type { OtherMetrics } from './OtherMetrics';
17-
import {
18-
OtherMetricsFromJSON,
19-
OtherMetricsFromJSONTyped,
20-
OtherMetricsToJSON,
21-
OtherMetricsToJSONTyped,
22-
} from './OtherMetrics';
2316
import type { CityMetric } from './CityMetric';
2417
import {
2518
CityMetricFromJSON,
@@ -66,10 +59,10 @@ export interface CityMetrics {
6659
metrics?: Array<CityMetric>;
6760
/**
6861
*
69-
* @type {OtherMetrics}
62+
* @type {object}
7063
* @memberof CityMetrics
7164
*/
72-
other_metrics?: OtherMetrics;
65+
other_metrics?: object;
7366
}
7467

7568
/**
@@ -110,7 +103,7 @@ export function CityMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean
110103
'facet': json['facet'] == null ? undefined : json['facet'],
111104
'unit_reference': json['unit_reference'] == null ? undefined : json['unit_reference'],
112105
'metrics': json['metrics'] == null ? undefined : ((json['metrics'] as Array<any>).map(CityMetricFromJSON)),
113-
'other_metrics': json['other_metrics'] == null ? undefined : OtherMetricsFromJSON(json['other_metrics']),
106+
'other_metrics': json['other_metrics'] == null ? undefined : json['other_metrics'],
114107
};
115108
}
116109

@@ -130,7 +123,7 @@ export function CityMetricsToJSONTyped(value?: CityMetrics | null, ignoreDiscrim
130123
'facet': value['facet'],
131124
'unit_reference': value['unit_reference'],
132125
'metrics': value['metrics'] == null ? undefined : ((value['metrics'] as Array<any>).map(CityMetricToJSON)),
133-
'other_metrics': OtherMetricsToJSON(value['other_metrics']),
126+
'other_metrics': value['other_metrics'],
134127
};
135128
}
136129

src/models/CityScanMetrics.ts

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@
1313
*/
1414

1515
import { mapValues } from '../runtime';
16-
import type { OtherScanMetrics } from './OtherScanMetrics';
17-
import {
18-
OtherScanMetricsFromJSON,
19-
OtherScanMetricsFromJSONTyped,
20-
OtherScanMetricsToJSON,
21-
OtherScanMetricsToJSONTyped,
22-
} from './OtherScanMetrics';
2316
import type { CityScanMetric } from './CityScanMetric';
2417
import {
2518
CityScanMetricFromJSON,
@@ -66,10 +59,10 @@ export interface CityScanMetrics {
6659
metrics?: Array<CityScanMetric>;
6760
/**
6861
*
69-
* @type {OtherScanMetrics}
62+
* @type {object}
7063
* @memberof CityScanMetrics
7164
*/
72-
other_metrics?: OtherScanMetrics;
65+
other_metrics?: object;
7366
}
7467

7568
/**
@@ -106,7 +99,7 @@ export function CityScanMetricsFromJSONTyped(json: any, ignoreDiscriminator: boo
10699
'facet': json['facet'] == null ? undefined : json['facet'],
107100
'unit_reference': json['unit_reference'] == null ? undefined : json['unit_reference'],
108101
'metrics': json['metrics'] == null ? undefined : ((json['metrics'] as Array<any>).map(CityScanMetricFromJSON)),
109-
'other_metrics': json['other_metrics'] == null ? undefined : OtherScanMetricsFromJSON(json['other_metrics']),
102+
'other_metrics': json['other_metrics'] == null ? undefined : json['other_metrics'],
110103
};
111104
}
112105

@@ -126,7 +119,7 @@ export function CityScanMetricsToJSONTyped(value?: CityScanMetrics | null, ignor
126119
'facet': value['facet'],
127120
'unit_reference': value['unit_reference'],
128121
'metrics': value['metrics'] == null ? undefined : ((value['metrics'] as Array<any>).map(CityScanMetricToJSON)),
129-
'other_metrics': OtherScanMetricsToJSON(value['other_metrics']),
122+
'other_metrics': value['other_metrics'],
130123
};
131124
}
132125

src/models/QRCodeText.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ export function QRCodeTextFromJSONTyped(json: any, ignoreDiscriminator: boolean)
6464
}
6565
return {
6666

67-
'center': json['center'] == null ? undefined : TextFromJSON(json['center']),
68-
'top': json['top'] == null ? undefined : TextFromJSON(json['top']),
69-
'bottom': json['bottom'] == null ? undefined : TextFromJSON(json['bottom']),
67+
'center': json['center'] == null ? undefined : json['center'],
68+
'top': json['top'] == null ? undefined : json['top'],
69+
'bottom': json['bottom'] == null ? undefined : json['bottom'],
7070
};
7171
}
7272

@@ -81,9 +81,9 @@ export function QRCodeTextToJSONTyped(value?: QRCodeText | null, ignoreDiscrimin
8181

8282
return {
8383

84-
'center': TextToJSON(value['center']),
85-
'top': TextToJSON(value['top']),
86-
'bottom': TextToJSON(value['bottom']),
84+
'center': value['center'],
85+
'top': value['top'],
86+
'bottom': value['bottom'],
8787
};
8888
}
8989

0 commit comments

Comments
 (0)