uapi-browser-sdk 0.1.4 → 0.1.11
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/.github/workflows/release.yml +7 -11
- package/README.md +55 -55
- package/dist/index.d.ts +4 -0
- package/dist/index.js +88 -2
- package/internal/.openapi-generator/FILES +689 -563
- package/internal/docs/ConvertApi.md +4 -4
- package/internal/docs/DailyApi.md +2 -2
- package/internal/docs/DefaultApi.md +6 -6
- package/internal/docs/EndpointsAggregate.md +1 -1
- package/internal/docs/GameApi.md +21 -18
- package/internal/docs/GetAiTranslateLanguages200Response.md +0 -2
- package/internal/docs/GetAnswerbookAsk200Response.md +0 -2
- package/internal/docs/GetConvertUnixtime200Response.md +0 -2
- package/internal/docs/GetGameEpicFree200Response.md +0 -2
- package/internal/docs/GetGameMinecraftHistoryid200Response.md +12 -7
- package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInner.md +40 -0
- package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.md +36 -0
- package/internal/docs/GetGameMinecraftHistoryid400Response.md +1 -1
- package/internal/docs/GetGameMinecraftHistoryid502Response.md +1 -1
- package/internal/docs/GetGameMinecraftServerstatus200Response.md +0 -2
- package/internal/docs/GetGameMinecraftUserinfo200Response.md +0 -2
- package/internal/docs/GetGameMinecraftUserinfo502Response.md +38 -0
- package/internal/docs/GetGameSteamSummary200Response.md +0 -2
- package/internal/docs/GetGithubRepo200Response.md +2 -0
- package/internal/docs/GetGithubRepo200ResponseLatestRelease.md +45 -0
- package/internal/docs/GetHistoryProgrammer200Response.md +0 -2
- package/internal/docs/GetHistoryProgrammerToday200Response.md +0 -2
- package/internal/docs/GetImageTobase64200Response.md +0 -2
- package/internal/docs/GetMiscDistrict200Response.md +36 -0
- package/internal/docs/GetMiscDistrict200ResponseResultsInner.md +58 -0
- package/internal/docs/GetMiscDistrict200ResponseResultsInnerCenter.md +37 -0
- package/internal/docs/GetMiscDistrict400Response.md +36 -0
- package/internal/docs/GetMiscHolidayCalendar200Response.md +38 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseData.md +44 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataDaysInner.md +76 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataHolidaysInner.md +40 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearby.md +37 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.md +38 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.md +38 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataQuery.md +47 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataSummary.md +47 -0
- package/internal/docs/GetMiscHolidayCalendar400Response.md +36 -0
- package/internal/docs/GetMiscHotboard200Response.md +10 -0
- package/internal/docs/GetMiscHotboard200ResponseListInner.md +2 -0
- package/internal/docs/GetMiscHotboard200ResponseResultsInner.md +38 -0
- package/internal/docs/GetMiscLunartime200Response.md +38 -0
- package/internal/docs/GetMiscLunartime200ResponseData.md +77 -0
- package/internal/docs/GetMiscLunartime400Response.md +36 -0
- package/internal/docs/GetMiscWeather200Response.md +47 -13
- package/internal/docs/GetMiscWeather200ResponseAirPollutants.md +45 -0
- package/internal/docs/GetMiscWeather200ResponseForecastInner.md +66 -0
- package/internal/docs/GetMiscWeather200ResponseHourlyForecastInner.md +62 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndices.md +69 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirConditioner.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirPurifier.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesAllergy.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesBeer.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesCarWash.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesClothing.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesColdRisk.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesComfort.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesDrying.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesExercise.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesFishing.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesMood.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesPollen.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesSunscreen.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesTraffic.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesTravel.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesUmbrella.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesUv.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseMinutelyPrecip.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseMinutelyPrecipDataInner.md +38 -0
- package/internal/docs/GetMiscWeather400Response.md +2 -4
- package/internal/docs/GetMiscWeather404Response.md +36 -0
- package/internal/docs/GetMiscWeather500Response.md +1 -3
- package/internal/docs/GetMiscWeather503Response.md +36 -0
- package/internal/docs/GetNetworkDns200Response.md +0 -2
- package/internal/docs/GetNetworkIpinfo200Response.md +12 -28
- package/internal/docs/GetNetworkIpinfo500Response.md +1 -1
- package/internal/docs/GetNetworkMyip200Response.md +52 -0
- package/internal/docs/GetNetworkPing200Response.md +0 -2
- package/internal/docs/GetNetworkPingmyip200Response.md +0 -2
- package/internal/docs/GetNetworkPortscan200Response.md +0 -2
- package/internal/docs/GetNetworkUrlstatus200Response.md +2 -4
- package/internal/docs/GetNetworkUrlstatus200ResponseOneOf.md +37 -0
- package/internal/docs/GetNetworkUrlstatus200ResponseOneOf1.md +37 -0
- package/internal/docs/GetNetworkWhois200Response.md +0 -2
- package/internal/docs/GetNetworkWhois200ResponseOneOf.md +0 -2
- package/internal/docs/GetNetworkWhois200ResponseOneOf1.md +0 -2
- package/internal/docs/GetRandomString200Response.md +0 -2
- package/internal/docs/GetSearchEngines200Response.md +1 -1
- package/internal/docs/GetSearchEngines200ResponseEngine.md +1 -1
- package/internal/docs/GetSocialQqGroupinfo200Response.md +22 -0
- package/internal/docs/GetSocialQqGroupinfo404Response.md +2 -6
- package/internal/docs/GetStatusUsage200Response.md +2 -2
- package/internal/docs/GetStatusUsage200ResponseAnyOf.md +37 -0
- package/internal/docs/GetStatusUsage200ResponseAnyOf1.md +37 -0
- package/internal/docs/GetStatusUsage200ResponseAnyOfEndpointsInner.md +36 -0
- package/internal/docs/GetStatusUsage200ResponseAnyOfUnaggregated.md +36 -0
- package/internal/docs/GetStatusUsage404Response.md +1 -3
- package/internal/docs/ImageApi.md +101 -18
- package/internal/docs/MiscApi.md +388 -34
- package/internal/docs/NetworkApi.md +19 -19
- package/internal/docs/PoemApi.md +2 -2
- package/internal/docs/PostAiTranslate200Response.md +0 -2
- package/internal/docs/PostAnswerbookAsk200Response.md +0 -2
- package/internal/docs/PostConvertJson200Response.md +0 -2
- package/internal/docs/PostImageFrombase64200Response.md +0 -2
- package/internal/docs/PostImageNsfw200Response.md +48 -0
- package/internal/docs/PostImageNsfw400Response.md +36 -0
- package/internal/docs/PostImageNsfw413Response.md +36 -0
- package/internal/docs/PostImageNsfw500Response.md +36 -0
- package/internal/docs/PostMiscDateDiff200Response.md +44 -0
- package/internal/docs/PostMiscDateDiff400Response.md +38 -0
- package/internal/docs/PostMiscDateDiffRequest.md +38 -0
- package/internal/docs/PostSearchAggregateRequest.md +4 -0
- package/internal/docs/PostSensitiveWordAnalyze200ResponseResultsInner.md +6 -10
- package/internal/docs/PostTextAesDecryptAdvanced200Response.md +34 -0
- package/internal/docs/PostTextAesDecryptAdvanced400Response.md +34 -0
- package/internal/docs/PostTextAesDecryptAdvancedRequest.md +42 -0
- package/internal/docs/PostTextAesEncryptAdvanced200Response.md +40 -0
- package/internal/docs/PostTextAesEncryptAdvanced400Response.md +34 -0
- package/internal/docs/PostTextAesEncryptAdvancedRequest.md +44 -0
- package/internal/docs/PostTextConvert200Response.md +42 -0
- package/internal/docs/PostTextConvert400Response.md +38 -0
- package/internal/docs/PostTextConvertRequest.md +40 -0
- package/internal/docs/RandomApi.md +14 -15
- package/internal/docs/SocialApi.md +22 -23
- package/internal/docs/StatusApi.md +4 -6
- package/internal/docs/TextApi.md +223 -16
- package/internal/docs/TranslateApi.md +7 -7
- package/internal/docs/WebParseApi.md +12 -12
- package/internal/src/apis/ConvertApi.ts +4 -4
- package/internal/src/apis/DailyApi.ts +2 -2
- package/internal/src/apis/DefaultApi.ts +8 -8
- package/internal/src/apis/GameApi.ts +22 -21
- package/internal/src/apis/ImageApi.ts +104 -16
- package/internal/src/apis/MiscApi.ts +380 -29
- package/internal/src/apis/NetworkApi.ts +22 -19
- package/internal/src/apis/PoemApi.ts +2 -2
- package/internal/src/apis/RandomApi.ts +23 -24
- package/internal/src/apis/SocialApi.ts +38 -24
- package/internal/src/apis/StatusApi.ts +2 -5
- package/internal/src/apis/TextApi.ts +178 -16
- package/internal/src/apis/TranslateApi.ts +8 -8
- package/internal/src/apis/WebParseApi.ts +16 -16
- package/internal/src/models/GetAiTranslateLanguages200Response.ts +0 -8
- package/internal/src/models/GetAnswerbookAsk200Response.ts +0 -8
- package/internal/src/models/GetConvertUnixtime200Response.ts +0 -8
- package/internal/src/models/GetGameEpicFree200Response.ts +0 -8
- package/internal/src/models/GetGameMinecraftHistoryid200Response.ts +40 -17
- package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInner.ts +97 -0
- package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.ts +73 -0
- package/internal/src/models/GetGameMinecraftServerstatus200Response.ts +0 -8
- package/internal/src/models/GetGameMinecraftUserinfo200Response.ts +0 -8
- package/internal/src/models/GetGameMinecraftUserinfo502Response.ts +81 -0
- package/internal/src/models/GetGameSteamSummary200Response.ts +0 -8
- package/internal/src/models/GetGithubRepo200Response.ts +15 -0
- package/internal/src/models/GetGithubRepo200ResponseLatestRelease.ts +105 -0
- package/internal/src/models/GetHistoryProgrammer200Response.ts +0 -8
- package/internal/src/models/GetHistoryProgrammerToday200Response.ts +0 -8
- package/internal/src/models/GetImageTobase64200Response.ts +0 -8
- package/internal/src/models/GetMiscDistrict200Response.ts +81 -0
- package/internal/src/models/GetMiscDistrict200ResponseResultsInner.ts +169 -0
- package/internal/src/models/GetMiscDistrict200ResponseResultsInnerCenter.ts +73 -0
- package/internal/src/models/GetMiscDistrict400Response.ts +73 -0
- package/internal/src/models/GetMiscHolidayCalendar200Response.ts +89 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseData.ts +141 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataDaysInner.ts +233 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataHolidaysInner.ts +103 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearby.ts +88 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.ts +81 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.ts +81 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataQuery.ts +113 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataSummary.ts +113 -0
- package/internal/src/models/GetMiscHolidayCalendar400Response.ts +73 -0
- package/internal/src/models/GetMiscHotboard200Response.ts +47 -0
- package/internal/src/models/GetMiscHotboard200ResponseListInner.ts +8 -0
- package/internal/src/models/GetMiscHotboard200ResponseResultsInner.ts +81 -0
- package/internal/src/models/GetMiscLunartime200Response.ts +89 -0
- package/internal/src/models/GetMiscLunartime200ResponseData.ts +233 -0
- package/internal/src/models/GetMiscLunartime400Response.ts +73 -0
- package/internal/src/models/GetMiscWeather200Response.ts +198 -26
- package/internal/src/models/GetMiscWeather200ResponseAirPollutants.ts +105 -0
- package/internal/src/models/GetMiscWeather200ResponseForecastInner.ts +193 -0
- package/internal/src/models/GetMiscWeather200ResponseHourlyForecastInner.ts +177 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndices.ts +328 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirConditioner.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirPurifier.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAllergy.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesBeer.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesCarWash.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesClothing.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesColdRisk.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesComfort.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesDrying.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesExercise.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesFishing.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesMood.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesPollen.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesSunscreen.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTraffic.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTravel.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUmbrella.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUv.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecip.ts +89 -0
- package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecipDataInner.ts +81 -0
- package/internal/src/models/GetMiscWeather400Response.ts +0 -8
- package/internal/src/models/GetMiscWeather404Response.ts +73 -0
- package/internal/src/models/GetMiscWeather500Response.ts +0 -8
- package/internal/src/models/GetMiscWeather503Response.ts +73 -0
- package/internal/src/models/GetNetworkDns200Response.ts +0 -8
- package/internal/src/models/GetNetworkIpinfo200Response.ts +28 -92
- package/internal/src/models/GetNetworkMyip200Response.ts +137 -0
- package/internal/src/models/GetNetworkPing200Response.ts +0 -8
- package/internal/src/models/GetNetworkPingmyip200Response.ts +0 -8
- package/internal/src/models/GetNetworkPortscan200Response.ts +0 -8
- package/internal/src/models/GetNetworkUrlstatus200Response.ts +38 -43
- package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf.ts +73 -0
- package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf1.ts +73 -0
- package/internal/src/models/GetNetworkWhois200ResponseOneOf.ts +0 -8
- package/internal/src/models/GetNetworkWhois200ResponseOneOf1.ts +0 -8
- package/internal/src/models/GetRandomString200Response.ts +0 -8
- package/internal/src/models/GetSocialQqGroupinfo200Response.ts +88 -0
- package/internal/src/models/GetSocialQqGroupinfo404Response.ts +3 -19
- package/internal/src/models/GetStatusUsage200Response.ts +32 -32
- package/internal/src/models/GetStatusUsage200ResponseAnyOf.ts +88 -0
- package/internal/src/models/GetStatusUsage200ResponseAnyOf1.ts +73 -0
- package/internal/src/models/GetStatusUsage200ResponseAnyOfEndpointsInner.ts +73 -0
- package/internal/src/models/GetStatusUsage200ResponseAnyOfUnaggregated.ts +73 -0
- package/internal/src/models/GetStatusUsage404Response.ts +0 -8
- package/internal/src/models/PostAiTranslate200Response.ts +0 -8
- package/internal/src/models/PostAnswerbookAsk200Response.ts +0 -8
- package/internal/src/models/PostConvertJson200Response.ts +0 -8
- package/internal/src/models/PostImageFrombase64200Response.ts +0 -8
- package/internal/src/models/PostImageNsfw200Response.ts +121 -0
- package/internal/src/models/PostImageNsfw400Response.ts +73 -0
- package/internal/src/models/PostImageNsfw413Response.ts +73 -0
- package/internal/src/models/PostImageNsfw500Response.ts +73 -0
- package/internal/src/models/PostMiscDateDiff200Response.ts +105 -0
- package/internal/src/models/PostMiscDateDiff400Response.ts +81 -0
- package/internal/src/models/PostMiscDateDiffRequest.ts +83 -0
- package/internal/src/models/PostSearchAggregate200Response.ts +1 -1
- package/internal/src/models/PostSearchAggregateRequest.ts +38 -0
- package/internal/src/models/PostSensitiveWordAnalyze200ResponseResultsInner.ts +34 -27
- package/internal/src/models/PostTextAesDecryptAdvanced200Response.ts +65 -0
- package/internal/src/models/PostTextAesDecryptAdvanced400Response.ts +65 -0
- package/internal/src/models/PostTextAesDecryptAdvancedRequest.ts +125 -0
- package/internal/src/models/PostTextAesDecryptRequest.ts +1 -1
- package/internal/src/models/PostTextAesEncryptAdvanced200Response.ts +89 -0
- package/internal/src/models/PostTextAesEncryptAdvanced400Response.ts +65 -0
- package/internal/src/models/PostTextAesEncryptAdvancedRequest.ts +141 -0
- package/internal/src/models/PostTextConvert200Response.ts +97 -0
- package/internal/src/models/PostTextConvert400Response.ts +81 -0
- package/internal/src/models/PostTextConvertRequest.ts +130 -0
- package/internal/src/models/index.ts +71 -8
- package/package.json +15 -11
- package/src/index.ts +806 -751
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UAPI
|
|
5
|
+
* UAPI 官方接口文档
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
import type { GetMiscWeather200ResponseLifeIndicesClothing } from './GetMiscWeather200ResponseLifeIndicesClothing';
|
|
17
|
+
import {
|
|
18
|
+
GetMiscWeather200ResponseLifeIndicesClothingFromJSON,
|
|
19
|
+
GetMiscWeather200ResponseLifeIndicesClothingFromJSONTyped,
|
|
20
|
+
GetMiscWeather200ResponseLifeIndicesClothingToJSON,
|
|
21
|
+
GetMiscWeather200ResponseLifeIndicesClothingToJSONTyped,
|
|
22
|
+
} from './GetMiscWeather200ResponseLifeIndicesClothing';
|
|
23
|
+
import type { GetMiscWeather200ResponseLifeIndicesTraffic } from './GetMiscWeather200ResponseLifeIndicesTraffic';
|
|
24
|
+
import {
|
|
25
|
+
GetMiscWeather200ResponseLifeIndicesTrafficFromJSON,
|
|
26
|
+
GetMiscWeather200ResponseLifeIndicesTrafficFromJSONTyped,
|
|
27
|
+
GetMiscWeather200ResponseLifeIndicesTrafficToJSON,
|
|
28
|
+
GetMiscWeather200ResponseLifeIndicesTrafficToJSONTyped,
|
|
29
|
+
} from './GetMiscWeather200ResponseLifeIndicesTraffic';
|
|
30
|
+
import type { GetMiscWeather200ResponseLifeIndicesBeer } from './GetMiscWeather200ResponseLifeIndicesBeer';
|
|
31
|
+
import {
|
|
32
|
+
GetMiscWeather200ResponseLifeIndicesBeerFromJSON,
|
|
33
|
+
GetMiscWeather200ResponseLifeIndicesBeerFromJSONTyped,
|
|
34
|
+
GetMiscWeather200ResponseLifeIndicesBeerToJSON,
|
|
35
|
+
GetMiscWeather200ResponseLifeIndicesBeerToJSONTyped,
|
|
36
|
+
} from './GetMiscWeather200ResponseLifeIndicesBeer';
|
|
37
|
+
import type { GetMiscWeather200ResponseLifeIndicesCarWash } from './GetMiscWeather200ResponseLifeIndicesCarWash';
|
|
38
|
+
import {
|
|
39
|
+
GetMiscWeather200ResponseLifeIndicesCarWashFromJSON,
|
|
40
|
+
GetMiscWeather200ResponseLifeIndicesCarWashFromJSONTyped,
|
|
41
|
+
GetMiscWeather200ResponseLifeIndicesCarWashToJSON,
|
|
42
|
+
GetMiscWeather200ResponseLifeIndicesCarWashToJSONTyped,
|
|
43
|
+
} from './GetMiscWeather200ResponseLifeIndicesCarWash';
|
|
44
|
+
import type { GetMiscWeather200ResponseLifeIndicesColdRisk } from './GetMiscWeather200ResponseLifeIndicesColdRisk';
|
|
45
|
+
import {
|
|
46
|
+
GetMiscWeather200ResponseLifeIndicesColdRiskFromJSON,
|
|
47
|
+
GetMiscWeather200ResponseLifeIndicesColdRiskFromJSONTyped,
|
|
48
|
+
GetMiscWeather200ResponseLifeIndicesColdRiskToJSON,
|
|
49
|
+
GetMiscWeather200ResponseLifeIndicesColdRiskToJSONTyped,
|
|
50
|
+
} from './GetMiscWeather200ResponseLifeIndicesColdRisk';
|
|
51
|
+
import type { GetMiscWeather200ResponseLifeIndicesSunscreen } from './GetMiscWeather200ResponseLifeIndicesSunscreen';
|
|
52
|
+
import {
|
|
53
|
+
GetMiscWeather200ResponseLifeIndicesSunscreenFromJSON,
|
|
54
|
+
GetMiscWeather200ResponseLifeIndicesSunscreenFromJSONTyped,
|
|
55
|
+
GetMiscWeather200ResponseLifeIndicesSunscreenToJSON,
|
|
56
|
+
GetMiscWeather200ResponseLifeIndicesSunscreenToJSONTyped,
|
|
57
|
+
} from './GetMiscWeather200ResponseLifeIndicesSunscreen';
|
|
58
|
+
import type { GetMiscWeather200ResponseLifeIndicesUv } from './GetMiscWeather200ResponseLifeIndicesUv';
|
|
59
|
+
import {
|
|
60
|
+
GetMiscWeather200ResponseLifeIndicesUvFromJSON,
|
|
61
|
+
GetMiscWeather200ResponseLifeIndicesUvFromJSONTyped,
|
|
62
|
+
GetMiscWeather200ResponseLifeIndicesUvToJSON,
|
|
63
|
+
GetMiscWeather200ResponseLifeIndicesUvToJSONTyped,
|
|
64
|
+
} from './GetMiscWeather200ResponseLifeIndicesUv';
|
|
65
|
+
import type { GetMiscWeather200ResponseLifeIndicesUmbrella } from './GetMiscWeather200ResponseLifeIndicesUmbrella';
|
|
66
|
+
import {
|
|
67
|
+
GetMiscWeather200ResponseLifeIndicesUmbrellaFromJSON,
|
|
68
|
+
GetMiscWeather200ResponseLifeIndicesUmbrellaFromJSONTyped,
|
|
69
|
+
GetMiscWeather200ResponseLifeIndicesUmbrellaToJSON,
|
|
70
|
+
GetMiscWeather200ResponseLifeIndicesUmbrellaToJSONTyped,
|
|
71
|
+
} from './GetMiscWeather200ResponseLifeIndicesUmbrella';
|
|
72
|
+
import type { GetMiscWeather200ResponseLifeIndicesAllergy } from './GetMiscWeather200ResponseLifeIndicesAllergy';
|
|
73
|
+
import {
|
|
74
|
+
GetMiscWeather200ResponseLifeIndicesAllergyFromJSON,
|
|
75
|
+
GetMiscWeather200ResponseLifeIndicesAllergyFromJSONTyped,
|
|
76
|
+
GetMiscWeather200ResponseLifeIndicesAllergyToJSON,
|
|
77
|
+
GetMiscWeather200ResponseLifeIndicesAllergyToJSONTyped,
|
|
78
|
+
} from './GetMiscWeather200ResponseLifeIndicesAllergy';
|
|
79
|
+
import type { GetMiscWeather200ResponseLifeIndicesAirPurifier } from './GetMiscWeather200ResponseLifeIndicesAirPurifier';
|
|
80
|
+
import {
|
|
81
|
+
GetMiscWeather200ResponseLifeIndicesAirPurifierFromJSON,
|
|
82
|
+
GetMiscWeather200ResponseLifeIndicesAirPurifierFromJSONTyped,
|
|
83
|
+
GetMiscWeather200ResponseLifeIndicesAirPurifierToJSON,
|
|
84
|
+
GetMiscWeather200ResponseLifeIndicesAirPurifierToJSONTyped,
|
|
85
|
+
} from './GetMiscWeather200ResponseLifeIndicesAirPurifier';
|
|
86
|
+
import type { GetMiscWeather200ResponseLifeIndicesComfort } from './GetMiscWeather200ResponseLifeIndicesComfort';
|
|
87
|
+
import {
|
|
88
|
+
GetMiscWeather200ResponseLifeIndicesComfortFromJSON,
|
|
89
|
+
GetMiscWeather200ResponseLifeIndicesComfortFromJSONTyped,
|
|
90
|
+
GetMiscWeather200ResponseLifeIndicesComfortToJSON,
|
|
91
|
+
GetMiscWeather200ResponseLifeIndicesComfortToJSONTyped,
|
|
92
|
+
} from './GetMiscWeather200ResponseLifeIndicesComfort';
|
|
93
|
+
import type { GetMiscWeather200ResponseLifeIndicesExercise } from './GetMiscWeather200ResponseLifeIndicesExercise';
|
|
94
|
+
import {
|
|
95
|
+
GetMiscWeather200ResponseLifeIndicesExerciseFromJSON,
|
|
96
|
+
GetMiscWeather200ResponseLifeIndicesExerciseFromJSONTyped,
|
|
97
|
+
GetMiscWeather200ResponseLifeIndicesExerciseToJSON,
|
|
98
|
+
GetMiscWeather200ResponseLifeIndicesExerciseToJSONTyped,
|
|
99
|
+
} from './GetMiscWeather200ResponseLifeIndicesExercise';
|
|
100
|
+
import type { GetMiscWeather200ResponseLifeIndicesPollen } from './GetMiscWeather200ResponseLifeIndicesPollen';
|
|
101
|
+
import {
|
|
102
|
+
GetMiscWeather200ResponseLifeIndicesPollenFromJSON,
|
|
103
|
+
GetMiscWeather200ResponseLifeIndicesPollenFromJSONTyped,
|
|
104
|
+
GetMiscWeather200ResponseLifeIndicesPollenToJSON,
|
|
105
|
+
GetMiscWeather200ResponseLifeIndicesPollenToJSONTyped,
|
|
106
|
+
} from './GetMiscWeather200ResponseLifeIndicesPollen';
|
|
107
|
+
import type { GetMiscWeather200ResponseLifeIndicesDrying } from './GetMiscWeather200ResponseLifeIndicesDrying';
|
|
108
|
+
import {
|
|
109
|
+
GetMiscWeather200ResponseLifeIndicesDryingFromJSON,
|
|
110
|
+
GetMiscWeather200ResponseLifeIndicesDryingFromJSONTyped,
|
|
111
|
+
GetMiscWeather200ResponseLifeIndicesDryingToJSON,
|
|
112
|
+
GetMiscWeather200ResponseLifeIndicesDryingToJSONTyped,
|
|
113
|
+
} from './GetMiscWeather200ResponseLifeIndicesDrying';
|
|
114
|
+
import type { GetMiscWeather200ResponseLifeIndicesTravel } from './GetMiscWeather200ResponseLifeIndicesTravel';
|
|
115
|
+
import {
|
|
116
|
+
GetMiscWeather200ResponseLifeIndicesTravelFromJSON,
|
|
117
|
+
GetMiscWeather200ResponseLifeIndicesTravelFromJSONTyped,
|
|
118
|
+
GetMiscWeather200ResponseLifeIndicesTravelToJSON,
|
|
119
|
+
GetMiscWeather200ResponseLifeIndicesTravelToJSONTyped,
|
|
120
|
+
} from './GetMiscWeather200ResponseLifeIndicesTravel';
|
|
121
|
+
import type { GetMiscWeather200ResponseLifeIndicesFishing } from './GetMiscWeather200ResponseLifeIndicesFishing';
|
|
122
|
+
import {
|
|
123
|
+
GetMiscWeather200ResponseLifeIndicesFishingFromJSON,
|
|
124
|
+
GetMiscWeather200ResponseLifeIndicesFishingFromJSONTyped,
|
|
125
|
+
GetMiscWeather200ResponseLifeIndicesFishingToJSON,
|
|
126
|
+
GetMiscWeather200ResponseLifeIndicesFishingToJSONTyped,
|
|
127
|
+
} from './GetMiscWeather200ResponseLifeIndicesFishing';
|
|
128
|
+
import type { GetMiscWeather200ResponseLifeIndicesAirConditioner } from './GetMiscWeather200ResponseLifeIndicesAirConditioner';
|
|
129
|
+
import {
|
|
130
|
+
GetMiscWeather200ResponseLifeIndicesAirConditionerFromJSON,
|
|
131
|
+
GetMiscWeather200ResponseLifeIndicesAirConditionerFromJSONTyped,
|
|
132
|
+
GetMiscWeather200ResponseLifeIndicesAirConditionerToJSON,
|
|
133
|
+
GetMiscWeather200ResponseLifeIndicesAirConditionerToJSONTyped,
|
|
134
|
+
} from './GetMiscWeather200ResponseLifeIndicesAirConditioner';
|
|
135
|
+
import type { GetMiscWeather200ResponseLifeIndicesMood } from './GetMiscWeather200ResponseLifeIndicesMood';
|
|
136
|
+
import {
|
|
137
|
+
GetMiscWeather200ResponseLifeIndicesMoodFromJSON,
|
|
138
|
+
GetMiscWeather200ResponseLifeIndicesMoodFromJSONTyped,
|
|
139
|
+
GetMiscWeather200ResponseLifeIndicesMoodToJSON,
|
|
140
|
+
GetMiscWeather200ResponseLifeIndicesMoodToJSONTyped,
|
|
141
|
+
} from './GetMiscWeather200ResponseLifeIndicesMood';
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* 18项生活指数(indices=true 时返回),每项包含 level(等级名称)、brief(简短描述)、advice(详细建议)
|
|
145
|
+
* @export
|
|
146
|
+
* @interface GetMiscWeather200ResponseLifeIndices
|
|
147
|
+
*/
|
|
148
|
+
export interface GetMiscWeather200ResponseLifeIndices {
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {GetMiscWeather200ResponseLifeIndicesClothing}
|
|
152
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
153
|
+
*/
|
|
154
|
+
clothing?: GetMiscWeather200ResponseLifeIndicesClothing;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {GetMiscWeather200ResponseLifeIndicesUv}
|
|
158
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
159
|
+
*/
|
|
160
|
+
uv?: GetMiscWeather200ResponseLifeIndicesUv;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {GetMiscWeather200ResponseLifeIndicesCarWash}
|
|
164
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
165
|
+
*/
|
|
166
|
+
carWash?: GetMiscWeather200ResponseLifeIndicesCarWash;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {GetMiscWeather200ResponseLifeIndicesDrying}
|
|
170
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
171
|
+
*/
|
|
172
|
+
drying?: GetMiscWeather200ResponseLifeIndicesDrying;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {GetMiscWeather200ResponseLifeIndicesAirConditioner}
|
|
176
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
177
|
+
*/
|
|
178
|
+
airConditioner?: GetMiscWeather200ResponseLifeIndicesAirConditioner;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {GetMiscWeather200ResponseLifeIndicesColdRisk}
|
|
182
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
183
|
+
*/
|
|
184
|
+
coldRisk?: GetMiscWeather200ResponseLifeIndicesColdRisk;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {GetMiscWeather200ResponseLifeIndicesExercise}
|
|
188
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
189
|
+
*/
|
|
190
|
+
exercise?: GetMiscWeather200ResponseLifeIndicesExercise;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {GetMiscWeather200ResponseLifeIndicesComfort}
|
|
194
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
195
|
+
*/
|
|
196
|
+
comfort?: GetMiscWeather200ResponseLifeIndicesComfort;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {GetMiscWeather200ResponseLifeIndicesTravel}
|
|
200
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
201
|
+
*/
|
|
202
|
+
travel?: GetMiscWeather200ResponseLifeIndicesTravel;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {GetMiscWeather200ResponseLifeIndicesFishing}
|
|
206
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
207
|
+
*/
|
|
208
|
+
fishing?: GetMiscWeather200ResponseLifeIndicesFishing;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @type {GetMiscWeather200ResponseLifeIndicesAllergy}
|
|
212
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
213
|
+
*/
|
|
214
|
+
allergy?: GetMiscWeather200ResponseLifeIndicesAllergy;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @type {GetMiscWeather200ResponseLifeIndicesSunscreen}
|
|
218
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
219
|
+
*/
|
|
220
|
+
sunscreen?: GetMiscWeather200ResponseLifeIndicesSunscreen;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @type {GetMiscWeather200ResponseLifeIndicesMood}
|
|
224
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
225
|
+
*/
|
|
226
|
+
mood?: GetMiscWeather200ResponseLifeIndicesMood;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @type {GetMiscWeather200ResponseLifeIndicesBeer}
|
|
230
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
231
|
+
*/
|
|
232
|
+
beer?: GetMiscWeather200ResponseLifeIndicesBeer;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {GetMiscWeather200ResponseLifeIndicesUmbrella}
|
|
236
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
237
|
+
*/
|
|
238
|
+
umbrella?: GetMiscWeather200ResponseLifeIndicesUmbrella;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {GetMiscWeather200ResponseLifeIndicesTraffic}
|
|
242
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
243
|
+
*/
|
|
244
|
+
traffic?: GetMiscWeather200ResponseLifeIndicesTraffic;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {GetMiscWeather200ResponseLifeIndicesAirPurifier}
|
|
248
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
249
|
+
*/
|
|
250
|
+
airPurifier?: GetMiscWeather200ResponseLifeIndicesAirPurifier;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {GetMiscWeather200ResponseLifeIndicesPollen}
|
|
254
|
+
* @memberof GetMiscWeather200ResponseLifeIndices
|
|
255
|
+
*/
|
|
256
|
+
pollen?: GetMiscWeather200ResponseLifeIndicesPollen;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Check if a given object implements the GetMiscWeather200ResponseLifeIndices interface.
|
|
261
|
+
*/
|
|
262
|
+
export function instanceOfGetMiscWeather200ResponseLifeIndices(value: object): value is GetMiscWeather200ResponseLifeIndices {
|
|
263
|
+
return true;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export function GetMiscWeather200ResponseLifeIndicesFromJSON(json: any): GetMiscWeather200ResponseLifeIndices {
|
|
267
|
+
return GetMiscWeather200ResponseLifeIndicesFromJSONTyped(json, false);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export function GetMiscWeather200ResponseLifeIndicesFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndices {
|
|
271
|
+
if (json == null) {
|
|
272
|
+
return json;
|
|
273
|
+
}
|
|
274
|
+
return {
|
|
275
|
+
|
|
276
|
+
'clothing': json['clothing'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesClothingFromJSON(json['clothing']),
|
|
277
|
+
'uv': json['uv'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesUvFromJSON(json['uv']),
|
|
278
|
+
'carWash': json['car_wash'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesCarWashFromJSON(json['car_wash']),
|
|
279
|
+
'drying': json['drying'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesDryingFromJSON(json['drying']),
|
|
280
|
+
'airConditioner': json['air_conditioner'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesAirConditionerFromJSON(json['air_conditioner']),
|
|
281
|
+
'coldRisk': json['cold_risk'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesColdRiskFromJSON(json['cold_risk']),
|
|
282
|
+
'exercise': json['exercise'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesExerciseFromJSON(json['exercise']),
|
|
283
|
+
'comfort': json['comfort'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesComfortFromJSON(json['comfort']),
|
|
284
|
+
'travel': json['travel'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesTravelFromJSON(json['travel']),
|
|
285
|
+
'fishing': json['fishing'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesFishingFromJSON(json['fishing']),
|
|
286
|
+
'allergy': json['allergy'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesAllergyFromJSON(json['allergy']),
|
|
287
|
+
'sunscreen': json['sunscreen'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesSunscreenFromJSON(json['sunscreen']),
|
|
288
|
+
'mood': json['mood'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesMoodFromJSON(json['mood']),
|
|
289
|
+
'beer': json['beer'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesBeerFromJSON(json['beer']),
|
|
290
|
+
'umbrella': json['umbrella'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesUmbrellaFromJSON(json['umbrella']),
|
|
291
|
+
'traffic': json['traffic'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesTrafficFromJSON(json['traffic']),
|
|
292
|
+
'airPurifier': json['air_purifier'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesAirPurifierFromJSON(json['air_purifier']),
|
|
293
|
+
'pollen': json['pollen'] == null ? undefined : GetMiscWeather200ResponseLifeIndicesPollenFromJSON(json['pollen']),
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export function GetMiscWeather200ResponseLifeIndicesToJSON(json: any): GetMiscWeather200ResponseLifeIndices {
|
|
298
|
+
return GetMiscWeather200ResponseLifeIndicesToJSONTyped(json, false);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export function GetMiscWeather200ResponseLifeIndicesToJSONTyped(value?: GetMiscWeather200ResponseLifeIndices | null, ignoreDiscriminator: boolean = false): any {
|
|
302
|
+
if (value == null) {
|
|
303
|
+
return value;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
return {
|
|
307
|
+
|
|
308
|
+
'clothing': GetMiscWeather200ResponseLifeIndicesClothingToJSON(value['clothing']),
|
|
309
|
+
'uv': GetMiscWeather200ResponseLifeIndicesUvToJSON(value['uv']),
|
|
310
|
+
'car_wash': GetMiscWeather200ResponseLifeIndicesCarWashToJSON(value['carWash']),
|
|
311
|
+
'drying': GetMiscWeather200ResponseLifeIndicesDryingToJSON(value['drying']),
|
|
312
|
+
'air_conditioner': GetMiscWeather200ResponseLifeIndicesAirConditionerToJSON(value['airConditioner']),
|
|
313
|
+
'cold_risk': GetMiscWeather200ResponseLifeIndicesColdRiskToJSON(value['coldRisk']),
|
|
314
|
+
'exercise': GetMiscWeather200ResponseLifeIndicesExerciseToJSON(value['exercise']),
|
|
315
|
+
'comfort': GetMiscWeather200ResponseLifeIndicesComfortToJSON(value['comfort']),
|
|
316
|
+
'travel': GetMiscWeather200ResponseLifeIndicesTravelToJSON(value['travel']),
|
|
317
|
+
'fishing': GetMiscWeather200ResponseLifeIndicesFishingToJSON(value['fishing']),
|
|
318
|
+
'allergy': GetMiscWeather200ResponseLifeIndicesAllergyToJSON(value['allergy']),
|
|
319
|
+
'sunscreen': GetMiscWeather200ResponseLifeIndicesSunscreenToJSON(value['sunscreen']),
|
|
320
|
+
'mood': GetMiscWeather200ResponseLifeIndicesMoodToJSON(value['mood']),
|
|
321
|
+
'beer': GetMiscWeather200ResponseLifeIndicesBeerToJSON(value['beer']),
|
|
322
|
+
'umbrella': GetMiscWeather200ResponseLifeIndicesUmbrellaToJSON(value['umbrella']),
|
|
323
|
+
'traffic': GetMiscWeather200ResponseLifeIndicesTrafficToJSON(value['traffic']),
|
|
324
|
+
'air_purifier': GetMiscWeather200ResponseLifeIndicesAirPurifierToJSON(value['airPurifier']),
|
|
325
|
+
'pollen': GetMiscWeather200ResponseLifeIndicesPollenToJSON(value['pollen']),
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UAPI
|
|
5
|
+
* UAPI 官方接口文档
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* 空调开启指数
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetMiscWeather200ResponseLifeIndicesAirConditioner
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMiscWeather200ResponseLifeIndicesAirConditioner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAirConditioner
|
|
26
|
+
*/
|
|
27
|
+
level?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAirConditioner
|
|
32
|
+
*/
|
|
33
|
+
brief?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAirConditioner
|
|
38
|
+
*/
|
|
39
|
+
advice?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GetMiscWeather200ResponseLifeIndicesAirConditioner interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGetMiscWeather200ResponseLifeIndicesAirConditioner(value: object): value is GetMiscWeather200ResponseLifeIndicesAirConditioner {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function GetMiscWeather200ResponseLifeIndicesAirConditionerFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesAirConditioner {
|
|
50
|
+
return GetMiscWeather200ResponseLifeIndicesAirConditionerFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function GetMiscWeather200ResponseLifeIndicesAirConditionerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesAirConditioner {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'level': json['level'] == null ? undefined : json['level'],
|
|
60
|
+
'brief': json['brief'] == null ? undefined : json['brief'],
|
|
61
|
+
'advice': json['advice'] == null ? undefined : json['advice'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function GetMiscWeather200ResponseLifeIndicesAirConditionerToJSON(json: any): GetMiscWeather200ResponseLifeIndicesAirConditioner {
|
|
66
|
+
return GetMiscWeather200ResponseLifeIndicesAirConditionerToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function GetMiscWeather200ResponseLifeIndicesAirConditionerToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesAirConditioner | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'level': value['level'],
|
|
77
|
+
'brief': value['brief'],
|
|
78
|
+
'advice': value['advice'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UAPI
|
|
5
|
+
* UAPI 官方接口文档
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* 空气净化器指数
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetMiscWeather200ResponseLifeIndicesAirPurifier
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMiscWeather200ResponseLifeIndicesAirPurifier {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAirPurifier
|
|
26
|
+
*/
|
|
27
|
+
level?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAirPurifier
|
|
32
|
+
*/
|
|
33
|
+
brief?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAirPurifier
|
|
38
|
+
*/
|
|
39
|
+
advice?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GetMiscWeather200ResponseLifeIndicesAirPurifier interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGetMiscWeather200ResponseLifeIndicesAirPurifier(value: object): value is GetMiscWeather200ResponseLifeIndicesAirPurifier {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function GetMiscWeather200ResponseLifeIndicesAirPurifierFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesAirPurifier {
|
|
50
|
+
return GetMiscWeather200ResponseLifeIndicesAirPurifierFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function GetMiscWeather200ResponseLifeIndicesAirPurifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesAirPurifier {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'level': json['level'] == null ? undefined : json['level'],
|
|
60
|
+
'brief': json['brief'] == null ? undefined : json['brief'],
|
|
61
|
+
'advice': json['advice'] == null ? undefined : json['advice'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function GetMiscWeather200ResponseLifeIndicesAirPurifierToJSON(json: any): GetMiscWeather200ResponseLifeIndicesAirPurifier {
|
|
66
|
+
return GetMiscWeather200ResponseLifeIndicesAirPurifierToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function GetMiscWeather200ResponseLifeIndicesAirPurifierToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesAirPurifier | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'level': value['level'],
|
|
77
|
+
'brief': value['brief'],
|
|
78
|
+
'advice': value['advice'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UAPI
|
|
5
|
+
* UAPI 官方接口文档
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* 过敏指数
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetMiscWeather200ResponseLifeIndicesAllergy
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMiscWeather200ResponseLifeIndicesAllergy {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAllergy
|
|
26
|
+
*/
|
|
27
|
+
level?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAllergy
|
|
32
|
+
*/
|
|
33
|
+
brief?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesAllergy
|
|
38
|
+
*/
|
|
39
|
+
advice?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GetMiscWeather200ResponseLifeIndicesAllergy interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGetMiscWeather200ResponseLifeIndicesAllergy(value: object): value is GetMiscWeather200ResponseLifeIndicesAllergy {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function GetMiscWeather200ResponseLifeIndicesAllergyFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesAllergy {
|
|
50
|
+
return GetMiscWeather200ResponseLifeIndicesAllergyFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function GetMiscWeather200ResponseLifeIndicesAllergyFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesAllergy {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'level': json['level'] == null ? undefined : json['level'],
|
|
60
|
+
'brief': json['brief'] == null ? undefined : json['brief'],
|
|
61
|
+
'advice': json['advice'] == null ? undefined : json['advice'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function GetMiscWeather200ResponseLifeIndicesAllergyToJSON(json: any): GetMiscWeather200ResponseLifeIndicesAllergy {
|
|
66
|
+
return GetMiscWeather200ResponseLifeIndicesAllergyToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function GetMiscWeather200ResponseLifeIndicesAllergyToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesAllergy | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'level': value['level'],
|
|
77
|
+
'brief': value['brief'],
|
|
78
|
+
'advice': value['advice'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UAPI
|
|
5
|
+
* UAPI 官方接口文档
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* 啤酒指数
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetMiscWeather200ResponseLifeIndicesBeer
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMiscWeather200ResponseLifeIndicesBeer {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesBeer
|
|
26
|
+
*/
|
|
27
|
+
level?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesBeer
|
|
32
|
+
*/
|
|
33
|
+
brief?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GetMiscWeather200ResponseLifeIndicesBeer
|
|
38
|
+
*/
|
|
39
|
+
advice?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the GetMiscWeather200ResponseLifeIndicesBeer interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfGetMiscWeather200ResponseLifeIndicesBeer(value: object): value is GetMiscWeather200ResponseLifeIndicesBeer {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function GetMiscWeather200ResponseLifeIndicesBeerFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesBeer {
|
|
50
|
+
return GetMiscWeather200ResponseLifeIndicesBeerFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function GetMiscWeather200ResponseLifeIndicesBeerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesBeer {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'level': json['level'] == null ? undefined : json['level'],
|
|
60
|
+
'brief': json['brief'] == null ? undefined : json['brief'],
|
|
61
|
+
'advice': json['advice'] == null ? undefined : json['advice'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function GetMiscWeather200ResponseLifeIndicesBeerToJSON(json: any): GetMiscWeather200ResponseLifeIndicesBeer {
|
|
66
|
+
return GetMiscWeather200ResponseLifeIndicesBeerToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function GetMiscWeather200ResponseLifeIndicesBeerToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesBeer | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'level': value['level'],
|
|
77
|
+
'brief': value['brief'],
|
|
78
|
+
'advice': value['advice'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|