uapi-browser-sdk 0.1.3 → 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.
Files changed (258) hide show
  1. package/.github/workflows/release.yml +7 -11
  2. package/dist/index.d.ts +8 -0
  3. package/dist/index.js +400 -78
  4. package/internal/.openapi-generator/FILES +142 -16
  5. package/internal/docs/ConvertApi.md +4 -4
  6. package/internal/docs/DailyApi.md +2 -2
  7. package/internal/docs/DefaultApi.md +6 -6
  8. package/internal/docs/EndpointsAggregate.md +1 -1
  9. package/internal/docs/GameApi.md +21 -18
  10. package/internal/docs/GetAiTranslateLanguages200Response.md +0 -2
  11. package/internal/docs/GetAnswerbookAsk200Response.md +0 -2
  12. package/internal/docs/GetConvertUnixtime200Response.md +0 -2
  13. package/internal/docs/GetGameEpicFree200Response.md +0 -2
  14. package/internal/docs/GetGameMinecraftHistoryid200Response.md +12 -7
  15. package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInner.md +40 -0
  16. package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.md +36 -0
  17. package/internal/docs/GetGameMinecraftHistoryid400Response.md +1 -1
  18. package/internal/docs/GetGameMinecraftHistoryid502Response.md +1 -1
  19. package/internal/docs/GetGameMinecraftServerstatus200Response.md +0 -2
  20. package/internal/docs/GetGameMinecraftUserinfo200Response.md +0 -2
  21. package/internal/docs/GetGameMinecraftUserinfo502Response.md +38 -0
  22. package/internal/docs/GetGameSteamSummary200Response.md +0 -2
  23. package/internal/docs/GetGithubRepo200Response.md +2 -0
  24. package/internal/docs/GetGithubRepo200ResponseLatestRelease.md +45 -0
  25. package/internal/docs/GetHistoryProgrammer200Response.md +0 -2
  26. package/internal/docs/GetHistoryProgrammerToday200Response.md +0 -2
  27. package/internal/docs/GetImageTobase64200Response.md +0 -2
  28. package/internal/docs/GetMiscDistrict200Response.md +36 -0
  29. package/internal/docs/GetMiscDistrict200ResponseResultsInner.md +58 -0
  30. package/internal/docs/GetMiscDistrict200ResponseResultsInnerCenter.md +37 -0
  31. package/internal/docs/GetMiscDistrict400Response.md +36 -0
  32. package/internal/docs/GetMiscHolidayCalendar200Response.md +38 -0
  33. package/internal/docs/GetMiscHolidayCalendar200ResponseData.md +44 -0
  34. package/internal/docs/GetMiscHolidayCalendar200ResponseDataDaysInner.md +76 -0
  35. package/internal/docs/GetMiscHolidayCalendar200ResponseDataHolidaysInner.md +40 -0
  36. package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearby.md +37 -0
  37. package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.md +38 -0
  38. package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.md +38 -0
  39. package/internal/docs/GetMiscHolidayCalendar200ResponseDataQuery.md +47 -0
  40. package/internal/docs/GetMiscHolidayCalendar200ResponseDataSummary.md +47 -0
  41. package/internal/docs/GetMiscHolidayCalendar400Response.md +36 -0
  42. package/internal/docs/GetMiscHotboard200Response.md +10 -0
  43. package/internal/docs/GetMiscHotboard200ResponseListInner.md +2 -0
  44. package/internal/docs/GetMiscHotboard200ResponseResultsInner.md +38 -0
  45. package/internal/docs/GetMiscLunartime200Response.md +38 -0
  46. package/internal/docs/GetMiscLunartime200ResponseData.md +77 -0
  47. package/internal/docs/GetMiscLunartime400Response.md +36 -0
  48. package/internal/docs/GetMiscWeather200Response.md +47 -13
  49. package/internal/docs/GetMiscWeather200ResponseAirPollutants.md +45 -0
  50. package/internal/docs/GetMiscWeather200ResponseForecastInner.md +66 -0
  51. package/internal/docs/GetMiscWeather200ResponseHourlyForecastInner.md +62 -0
  52. package/internal/docs/GetMiscWeather200ResponseLifeIndices.md +69 -0
  53. package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirConditioner.md +39 -0
  54. package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirPurifier.md +39 -0
  55. package/internal/docs/GetMiscWeather200ResponseLifeIndicesAllergy.md +39 -0
  56. package/internal/docs/GetMiscWeather200ResponseLifeIndicesBeer.md +39 -0
  57. package/internal/docs/GetMiscWeather200ResponseLifeIndicesCarWash.md +39 -0
  58. package/internal/docs/GetMiscWeather200ResponseLifeIndicesClothing.md +39 -0
  59. package/internal/docs/GetMiscWeather200ResponseLifeIndicesColdRisk.md +39 -0
  60. package/internal/docs/GetMiscWeather200ResponseLifeIndicesComfort.md +39 -0
  61. package/internal/docs/GetMiscWeather200ResponseLifeIndicesDrying.md +39 -0
  62. package/internal/docs/GetMiscWeather200ResponseLifeIndicesExercise.md +39 -0
  63. package/internal/docs/GetMiscWeather200ResponseLifeIndicesFishing.md +39 -0
  64. package/internal/docs/GetMiscWeather200ResponseLifeIndicesMood.md +39 -0
  65. package/internal/docs/GetMiscWeather200ResponseLifeIndicesPollen.md +39 -0
  66. package/internal/docs/GetMiscWeather200ResponseLifeIndicesSunscreen.md +39 -0
  67. package/internal/docs/GetMiscWeather200ResponseLifeIndicesTraffic.md +39 -0
  68. package/internal/docs/GetMiscWeather200ResponseLifeIndicesTravel.md +39 -0
  69. package/internal/docs/GetMiscWeather200ResponseLifeIndicesUmbrella.md +39 -0
  70. package/internal/docs/GetMiscWeather200ResponseLifeIndicesUv.md +39 -0
  71. package/internal/docs/GetMiscWeather200ResponseMinutelyPrecip.md +39 -0
  72. package/internal/docs/GetMiscWeather200ResponseMinutelyPrecipDataInner.md +38 -0
  73. package/internal/docs/GetMiscWeather400Response.md +2 -4
  74. package/internal/docs/GetMiscWeather404Response.md +36 -0
  75. package/internal/docs/GetMiscWeather500Response.md +1 -3
  76. package/internal/docs/GetMiscWeather503Response.md +36 -0
  77. package/internal/docs/GetNetworkDns200Response.md +0 -2
  78. package/internal/docs/GetNetworkIpinfo200Response.md +12 -28
  79. package/internal/docs/GetNetworkIpinfo500Response.md +1 -1
  80. package/internal/docs/GetNetworkMyip200Response.md +52 -0
  81. package/internal/docs/GetNetworkPing200Response.md +0 -2
  82. package/internal/docs/GetNetworkPingmyip200Response.md +0 -2
  83. package/internal/docs/GetNetworkPortscan200Response.md +0 -2
  84. package/internal/docs/GetNetworkUrlstatus200Response.md +2 -4
  85. package/internal/docs/GetNetworkUrlstatus200ResponseOneOf.md +37 -0
  86. package/internal/docs/GetNetworkUrlstatus200ResponseOneOf1.md +37 -0
  87. package/internal/docs/GetNetworkWhois200Response.md +0 -2
  88. package/internal/docs/GetNetworkWhois200ResponseOneOf.md +0 -2
  89. package/internal/docs/GetNetworkWhois200ResponseOneOf1.md +0 -2
  90. package/internal/docs/GetRandomString200Response.md +0 -2
  91. package/internal/docs/GetSearchEngines200Response.md +1 -1
  92. package/internal/docs/GetSearchEngines200ResponseEngine.md +1 -1
  93. package/internal/docs/GetSocialQqGroupinfo200Response.md +22 -0
  94. package/internal/docs/GetSocialQqGroupinfo404Response.md +2 -6
  95. package/internal/docs/GetStatusUsage200Response.md +2 -2
  96. package/internal/docs/GetStatusUsage200ResponseAnyOf.md +37 -0
  97. package/internal/docs/GetStatusUsage200ResponseAnyOf1.md +37 -0
  98. package/internal/docs/GetStatusUsage200ResponseAnyOfEndpointsInner.md +36 -0
  99. package/internal/docs/GetStatusUsage200ResponseAnyOfUnaggregated.md +36 -0
  100. package/internal/docs/GetStatusUsage404Response.md +1 -3
  101. package/internal/docs/ImageApi.md +101 -18
  102. package/internal/docs/MiscApi.md +388 -34
  103. package/internal/docs/NetworkApi.md +19 -19
  104. package/internal/docs/PoemApi.md +2 -2
  105. package/internal/docs/PostAiTranslate200Response.md +0 -2
  106. package/internal/docs/PostAnswerbookAsk200Response.md +0 -2
  107. package/internal/docs/PostConvertJson200Response.md +0 -2
  108. package/internal/docs/PostImageFrombase64200Response.md +0 -2
  109. package/internal/docs/PostImageNsfw200Response.md +48 -0
  110. package/internal/docs/PostImageNsfw400Response.md +36 -0
  111. package/internal/docs/PostImageNsfw413Response.md +36 -0
  112. package/internal/docs/PostImageNsfw500Response.md +36 -0
  113. package/internal/docs/PostMiscDateDiff200Response.md +44 -0
  114. package/internal/docs/PostMiscDateDiff400Response.md +38 -0
  115. package/internal/docs/PostMiscDateDiffRequest.md +38 -0
  116. package/internal/docs/PostSearchAggregateRequest.md +4 -0
  117. package/internal/docs/PostSensitiveWordAnalyze200ResponseResultsInner.md +6 -10
  118. package/internal/docs/PostTextAesDecryptAdvanced200Response.md +34 -0
  119. package/internal/docs/PostTextAesDecryptAdvanced400Response.md +34 -0
  120. package/internal/docs/PostTextAesDecryptAdvancedRequest.md +42 -0
  121. package/internal/docs/PostTextAesEncryptAdvanced200Response.md +40 -0
  122. package/internal/docs/PostTextAesEncryptAdvanced400Response.md +34 -0
  123. package/internal/docs/PostTextAesEncryptAdvancedRequest.md +44 -0
  124. package/internal/docs/PostTextConvert200Response.md +42 -0
  125. package/internal/docs/PostTextConvert400Response.md +38 -0
  126. package/internal/docs/PostTextConvertRequest.md +40 -0
  127. package/internal/docs/RandomApi.md +14 -15
  128. package/internal/docs/SocialApi.md +22 -23
  129. package/internal/docs/StatusApi.md +4 -6
  130. package/internal/docs/TextApi.md +223 -16
  131. package/internal/docs/TranslateApi.md +7 -7
  132. package/internal/docs/WebParseApi.md +12 -12
  133. package/internal/src/apis/ConvertApi.ts +4 -4
  134. package/internal/src/apis/DailyApi.ts +2 -2
  135. package/internal/src/apis/DefaultApi.ts +8 -8
  136. package/internal/src/apis/GameApi.ts +22 -21
  137. package/internal/src/apis/ImageApi.ts +104 -16
  138. package/internal/src/apis/MiscApi.ts +380 -29
  139. package/internal/src/apis/NetworkApi.ts +22 -19
  140. package/internal/src/apis/PoemApi.ts +2 -2
  141. package/internal/src/apis/RandomApi.ts +23 -24
  142. package/internal/src/apis/SocialApi.ts +38 -24
  143. package/internal/src/apis/StatusApi.ts +2 -5
  144. package/internal/src/apis/TextApi.ts +178 -16
  145. package/internal/src/apis/TranslateApi.ts +8 -8
  146. package/internal/src/apis/WebParseApi.ts +16 -16
  147. package/internal/src/models/GetAiTranslateLanguages200Response.ts +0 -8
  148. package/internal/src/models/GetAnswerbookAsk200Response.ts +0 -8
  149. package/internal/src/models/GetConvertUnixtime200Response.ts +0 -8
  150. package/internal/src/models/GetGameEpicFree200Response.ts +0 -8
  151. package/internal/src/models/GetGameMinecraftHistoryid200Response.ts +40 -17
  152. package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInner.ts +97 -0
  153. package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.ts +73 -0
  154. package/internal/src/models/GetGameMinecraftServerstatus200Response.ts +0 -8
  155. package/internal/src/models/GetGameMinecraftUserinfo200Response.ts +0 -8
  156. package/internal/src/models/GetGameMinecraftUserinfo502Response.ts +81 -0
  157. package/internal/src/models/GetGameSteamSummary200Response.ts +0 -8
  158. package/internal/src/models/GetGithubRepo200Response.ts +15 -0
  159. package/internal/src/models/GetGithubRepo200ResponseLatestRelease.ts +105 -0
  160. package/internal/src/models/GetHistoryProgrammer200Response.ts +0 -8
  161. package/internal/src/models/GetHistoryProgrammerToday200Response.ts +0 -8
  162. package/internal/src/models/GetImageTobase64200Response.ts +0 -8
  163. package/internal/src/models/GetMiscDistrict200Response.ts +81 -0
  164. package/internal/src/models/GetMiscDistrict200ResponseResultsInner.ts +169 -0
  165. package/internal/src/models/GetMiscDistrict200ResponseResultsInnerCenter.ts +73 -0
  166. package/internal/src/models/GetMiscDistrict400Response.ts +73 -0
  167. package/internal/src/models/GetMiscHolidayCalendar200Response.ts +89 -0
  168. package/internal/src/models/GetMiscHolidayCalendar200ResponseData.ts +141 -0
  169. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataDaysInner.ts +233 -0
  170. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataHolidaysInner.ts +103 -0
  171. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearby.ts +88 -0
  172. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.ts +81 -0
  173. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.ts +81 -0
  174. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataQuery.ts +113 -0
  175. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataSummary.ts +113 -0
  176. package/internal/src/models/GetMiscHolidayCalendar400Response.ts +73 -0
  177. package/internal/src/models/GetMiscHotboard200Response.ts +47 -0
  178. package/internal/src/models/GetMiscHotboard200ResponseListInner.ts +8 -0
  179. package/internal/src/models/GetMiscHotboard200ResponseResultsInner.ts +81 -0
  180. package/internal/src/models/GetMiscLunartime200Response.ts +89 -0
  181. package/internal/src/models/GetMiscLunartime200ResponseData.ts +233 -0
  182. package/internal/src/models/GetMiscLunartime400Response.ts +73 -0
  183. package/internal/src/models/GetMiscWeather200Response.ts +198 -26
  184. package/internal/src/models/GetMiscWeather200ResponseAirPollutants.ts +105 -0
  185. package/internal/src/models/GetMiscWeather200ResponseForecastInner.ts +193 -0
  186. package/internal/src/models/GetMiscWeather200ResponseHourlyForecastInner.ts +177 -0
  187. package/internal/src/models/GetMiscWeather200ResponseLifeIndices.ts +328 -0
  188. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirConditioner.ts +81 -0
  189. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirPurifier.ts +81 -0
  190. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAllergy.ts +81 -0
  191. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesBeer.ts +81 -0
  192. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesCarWash.ts +81 -0
  193. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesClothing.ts +81 -0
  194. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesColdRisk.ts +81 -0
  195. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesComfort.ts +81 -0
  196. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesDrying.ts +81 -0
  197. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesExercise.ts +81 -0
  198. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesFishing.ts +81 -0
  199. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesMood.ts +81 -0
  200. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesPollen.ts +81 -0
  201. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesSunscreen.ts +81 -0
  202. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTraffic.ts +81 -0
  203. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTravel.ts +81 -0
  204. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUmbrella.ts +81 -0
  205. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUv.ts +81 -0
  206. package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecip.ts +89 -0
  207. package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecipDataInner.ts +81 -0
  208. package/internal/src/models/GetMiscWeather400Response.ts +0 -8
  209. package/internal/src/models/GetMiscWeather404Response.ts +73 -0
  210. package/internal/src/models/GetMiscWeather500Response.ts +0 -8
  211. package/internal/src/models/GetMiscWeather503Response.ts +73 -0
  212. package/internal/src/models/GetNetworkDns200Response.ts +0 -8
  213. package/internal/src/models/GetNetworkIpinfo200Response.ts +28 -92
  214. package/internal/src/models/GetNetworkMyip200Response.ts +137 -0
  215. package/internal/src/models/GetNetworkPing200Response.ts +0 -8
  216. package/internal/src/models/GetNetworkPingmyip200Response.ts +0 -8
  217. package/internal/src/models/GetNetworkPortscan200Response.ts +0 -8
  218. package/internal/src/models/GetNetworkUrlstatus200Response.ts +38 -43
  219. package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf.ts +73 -0
  220. package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf1.ts +73 -0
  221. package/internal/src/models/GetNetworkWhois200ResponseOneOf.ts +0 -8
  222. package/internal/src/models/GetNetworkWhois200ResponseOneOf1.ts +0 -8
  223. package/internal/src/models/GetRandomString200Response.ts +0 -8
  224. package/internal/src/models/GetSocialQqGroupinfo200Response.ts +88 -0
  225. package/internal/src/models/GetSocialQqGroupinfo404Response.ts +3 -19
  226. package/internal/src/models/GetStatusUsage200Response.ts +32 -32
  227. package/internal/src/models/GetStatusUsage200ResponseAnyOf.ts +88 -0
  228. package/internal/src/models/GetStatusUsage200ResponseAnyOf1.ts +73 -0
  229. package/internal/src/models/GetStatusUsage200ResponseAnyOfEndpointsInner.ts +73 -0
  230. package/internal/src/models/GetStatusUsage200ResponseAnyOfUnaggregated.ts +73 -0
  231. package/internal/src/models/GetStatusUsage404Response.ts +0 -8
  232. package/internal/src/models/PostAiTranslate200Response.ts +0 -8
  233. package/internal/src/models/PostAnswerbookAsk200Response.ts +0 -8
  234. package/internal/src/models/PostConvertJson200Response.ts +0 -8
  235. package/internal/src/models/PostImageFrombase64200Response.ts +0 -8
  236. package/internal/src/models/PostImageNsfw200Response.ts +121 -0
  237. package/internal/src/models/PostImageNsfw400Response.ts +73 -0
  238. package/internal/src/models/PostImageNsfw413Response.ts +73 -0
  239. package/internal/src/models/PostImageNsfw500Response.ts +73 -0
  240. package/internal/src/models/PostMiscDateDiff200Response.ts +105 -0
  241. package/internal/src/models/PostMiscDateDiff400Response.ts +81 -0
  242. package/internal/src/models/PostMiscDateDiffRequest.ts +83 -0
  243. package/internal/src/models/PostSearchAggregate200Response.ts +1 -1
  244. package/internal/src/models/PostSearchAggregateRequest.ts +38 -0
  245. package/internal/src/models/PostSensitiveWordAnalyze200ResponseResultsInner.ts +34 -27
  246. package/internal/src/models/PostTextAesDecryptAdvanced200Response.ts +65 -0
  247. package/internal/src/models/PostTextAesDecryptAdvanced400Response.ts +65 -0
  248. package/internal/src/models/PostTextAesDecryptAdvancedRequest.ts +125 -0
  249. package/internal/src/models/PostTextAesDecryptRequest.ts +1 -1
  250. package/internal/src/models/PostTextAesEncryptAdvanced200Response.ts +89 -0
  251. package/internal/src/models/PostTextAesEncryptAdvanced400Response.ts +65 -0
  252. package/internal/src/models/PostTextAesEncryptAdvancedRequest.ts +141 -0
  253. package/internal/src/models/PostTextConvert200Response.ts +97 -0
  254. package/internal/src/models/PostTextConvert400Response.ts +81 -0
  255. package/internal/src/models/PostTextConvertRequest.ts +130 -0
  256. package/internal/src/models/index.ts +71 -8
  257. package/package.json +5 -3
  258. package/src/index.ts +302 -78
@@ -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 GetMiscWeather200ResponseLifeIndicesCarWash
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesCarWash {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesCarWash
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesCarWash
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesCarWash
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesCarWash interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesCarWash(value: object): value is GetMiscWeather200ResponseLifeIndicesCarWash {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesCarWashFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesCarWash {
50
+ return GetMiscWeather200ResponseLifeIndicesCarWashFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesCarWashFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesCarWash {
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 GetMiscWeather200ResponseLifeIndicesCarWashToJSON(json: any): GetMiscWeather200ResponseLifeIndicesCarWash {
66
+ return GetMiscWeather200ResponseLifeIndicesCarWashToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesCarWashToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesCarWash | 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 GetMiscWeather200ResponseLifeIndicesClothing
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesClothing {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesClothing
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesClothing
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesClothing
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesClothing interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesClothing(value: object): value is GetMiscWeather200ResponseLifeIndicesClothing {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesClothingFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesClothing {
50
+ return GetMiscWeather200ResponseLifeIndicesClothingFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesClothingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesClothing {
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 GetMiscWeather200ResponseLifeIndicesClothingToJSON(json: any): GetMiscWeather200ResponseLifeIndicesClothing {
66
+ return GetMiscWeather200ResponseLifeIndicesClothingToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesClothingToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesClothing | 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 GetMiscWeather200ResponseLifeIndicesColdRisk
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesColdRisk {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesColdRisk
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesColdRisk
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesColdRisk
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesColdRisk interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesColdRisk(value: object): value is GetMiscWeather200ResponseLifeIndicesColdRisk {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesColdRiskFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesColdRisk {
50
+ return GetMiscWeather200ResponseLifeIndicesColdRiskFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesColdRiskFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesColdRisk {
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 GetMiscWeather200ResponseLifeIndicesColdRiskToJSON(json: any): GetMiscWeather200ResponseLifeIndicesColdRisk {
66
+ return GetMiscWeather200ResponseLifeIndicesColdRiskToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesColdRiskToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesColdRisk | 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 GetMiscWeather200ResponseLifeIndicesComfort
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesComfort {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesComfort
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesComfort
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesComfort
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesComfort interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesComfort(value: object): value is GetMiscWeather200ResponseLifeIndicesComfort {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesComfortFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesComfort {
50
+ return GetMiscWeather200ResponseLifeIndicesComfortFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesComfortFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesComfort {
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 GetMiscWeather200ResponseLifeIndicesComfortToJSON(json: any): GetMiscWeather200ResponseLifeIndicesComfort {
66
+ return GetMiscWeather200ResponseLifeIndicesComfortToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesComfortToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesComfort | 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 GetMiscWeather200ResponseLifeIndicesDrying
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesDrying {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesDrying
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesDrying
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesDrying
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesDrying interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesDrying(value: object): value is GetMiscWeather200ResponseLifeIndicesDrying {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesDryingFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesDrying {
50
+ return GetMiscWeather200ResponseLifeIndicesDryingFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesDryingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesDrying {
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 GetMiscWeather200ResponseLifeIndicesDryingToJSON(json: any): GetMiscWeather200ResponseLifeIndicesDrying {
66
+ return GetMiscWeather200ResponseLifeIndicesDryingToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesDryingToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesDrying | 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 GetMiscWeather200ResponseLifeIndicesExercise
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesExercise {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesExercise
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesExercise
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesExercise
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesExercise interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesExercise(value: object): value is GetMiscWeather200ResponseLifeIndicesExercise {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesExerciseFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesExercise {
50
+ return GetMiscWeather200ResponseLifeIndicesExerciseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesExerciseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesExercise {
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 GetMiscWeather200ResponseLifeIndicesExerciseToJSON(json: any): GetMiscWeather200ResponseLifeIndicesExercise {
66
+ return GetMiscWeather200ResponseLifeIndicesExerciseToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesExerciseToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesExercise | 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 GetMiscWeather200ResponseLifeIndicesFishing
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesFishing {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesFishing
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesFishing
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesFishing
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesFishing interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesFishing(value: object): value is GetMiscWeather200ResponseLifeIndicesFishing {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesFishingFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesFishing {
50
+ return GetMiscWeather200ResponseLifeIndicesFishingFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesFishingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesFishing {
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 GetMiscWeather200ResponseLifeIndicesFishingToJSON(json: any): GetMiscWeather200ResponseLifeIndicesFishing {
66
+ return GetMiscWeather200ResponseLifeIndicesFishingToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesFishingToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesFishing | 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 GetMiscWeather200ResponseLifeIndicesMood
20
+ */
21
+ export interface GetMiscWeather200ResponseLifeIndicesMood {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetMiscWeather200ResponseLifeIndicesMood
26
+ */
27
+ level?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GetMiscWeather200ResponseLifeIndicesMood
32
+ */
33
+ brief?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GetMiscWeather200ResponseLifeIndicesMood
38
+ */
39
+ advice?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the GetMiscWeather200ResponseLifeIndicesMood interface.
44
+ */
45
+ export function instanceOfGetMiscWeather200ResponseLifeIndicesMood(value: object): value is GetMiscWeather200ResponseLifeIndicesMood {
46
+ return true;
47
+ }
48
+
49
+ export function GetMiscWeather200ResponseLifeIndicesMoodFromJSON(json: any): GetMiscWeather200ResponseLifeIndicesMood {
50
+ return GetMiscWeather200ResponseLifeIndicesMoodFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function GetMiscWeather200ResponseLifeIndicesMoodFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetMiscWeather200ResponseLifeIndicesMood {
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 GetMiscWeather200ResponseLifeIndicesMoodToJSON(json: any): GetMiscWeather200ResponseLifeIndicesMood {
66
+ return GetMiscWeather200ResponseLifeIndicesMoodToJSONTyped(json, false);
67
+ }
68
+
69
+ export function GetMiscWeather200ResponseLifeIndicesMoodToJSONTyped(value?: GetMiscWeather200ResponseLifeIndicesMood | 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
+