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.
Files changed (259) hide show
  1. package/.github/workflows/release.yml +7 -11
  2. package/README.md +55 -55
  3. package/dist/index.d.ts +4 -0
  4. package/dist/index.js +88 -2
  5. package/internal/.openapi-generator/FILES +689 -563
  6. package/internal/docs/ConvertApi.md +4 -4
  7. package/internal/docs/DailyApi.md +2 -2
  8. package/internal/docs/DefaultApi.md +6 -6
  9. package/internal/docs/EndpointsAggregate.md +1 -1
  10. package/internal/docs/GameApi.md +21 -18
  11. package/internal/docs/GetAiTranslateLanguages200Response.md +0 -2
  12. package/internal/docs/GetAnswerbookAsk200Response.md +0 -2
  13. package/internal/docs/GetConvertUnixtime200Response.md +0 -2
  14. package/internal/docs/GetGameEpicFree200Response.md +0 -2
  15. package/internal/docs/GetGameMinecraftHistoryid200Response.md +12 -7
  16. package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInner.md +40 -0
  17. package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.md +36 -0
  18. package/internal/docs/GetGameMinecraftHistoryid400Response.md +1 -1
  19. package/internal/docs/GetGameMinecraftHistoryid502Response.md +1 -1
  20. package/internal/docs/GetGameMinecraftServerstatus200Response.md +0 -2
  21. package/internal/docs/GetGameMinecraftUserinfo200Response.md +0 -2
  22. package/internal/docs/GetGameMinecraftUserinfo502Response.md +38 -0
  23. package/internal/docs/GetGameSteamSummary200Response.md +0 -2
  24. package/internal/docs/GetGithubRepo200Response.md +2 -0
  25. package/internal/docs/GetGithubRepo200ResponseLatestRelease.md +45 -0
  26. package/internal/docs/GetHistoryProgrammer200Response.md +0 -2
  27. package/internal/docs/GetHistoryProgrammerToday200Response.md +0 -2
  28. package/internal/docs/GetImageTobase64200Response.md +0 -2
  29. package/internal/docs/GetMiscDistrict200Response.md +36 -0
  30. package/internal/docs/GetMiscDistrict200ResponseResultsInner.md +58 -0
  31. package/internal/docs/GetMiscDistrict200ResponseResultsInnerCenter.md +37 -0
  32. package/internal/docs/GetMiscDistrict400Response.md +36 -0
  33. package/internal/docs/GetMiscHolidayCalendar200Response.md +38 -0
  34. package/internal/docs/GetMiscHolidayCalendar200ResponseData.md +44 -0
  35. package/internal/docs/GetMiscHolidayCalendar200ResponseDataDaysInner.md +76 -0
  36. package/internal/docs/GetMiscHolidayCalendar200ResponseDataHolidaysInner.md +40 -0
  37. package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearby.md +37 -0
  38. package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.md +38 -0
  39. package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.md +38 -0
  40. package/internal/docs/GetMiscHolidayCalendar200ResponseDataQuery.md +47 -0
  41. package/internal/docs/GetMiscHolidayCalendar200ResponseDataSummary.md +47 -0
  42. package/internal/docs/GetMiscHolidayCalendar400Response.md +36 -0
  43. package/internal/docs/GetMiscHotboard200Response.md +10 -0
  44. package/internal/docs/GetMiscHotboard200ResponseListInner.md +2 -0
  45. package/internal/docs/GetMiscHotboard200ResponseResultsInner.md +38 -0
  46. package/internal/docs/GetMiscLunartime200Response.md +38 -0
  47. package/internal/docs/GetMiscLunartime200ResponseData.md +77 -0
  48. package/internal/docs/GetMiscLunartime400Response.md +36 -0
  49. package/internal/docs/GetMiscWeather200Response.md +47 -13
  50. package/internal/docs/GetMiscWeather200ResponseAirPollutants.md +45 -0
  51. package/internal/docs/GetMiscWeather200ResponseForecastInner.md +66 -0
  52. package/internal/docs/GetMiscWeather200ResponseHourlyForecastInner.md +62 -0
  53. package/internal/docs/GetMiscWeather200ResponseLifeIndices.md +69 -0
  54. package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirConditioner.md +39 -0
  55. package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirPurifier.md +39 -0
  56. package/internal/docs/GetMiscWeather200ResponseLifeIndicesAllergy.md +39 -0
  57. package/internal/docs/GetMiscWeather200ResponseLifeIndicesBeer.md +39 -0
  58. package/internal/docs/GetMiscWeather200ResponseLifeIndicesCarWash.md +39 -0
  59. package/internal/docs/GetMiscWeather200ResponseLifeIndicesClothing.md +39 -0
  60. package/internal/docs/GetMiscWeather200ResponseLifeIndicesColdRisk.md +39 -0
  61. package/internal/docs/GetMiscWeather200ResponseLifeIndicesComfort.md +39 -0
  62. package/internal/docs/GetMiscWeather200ResponseLifeIndicesDrying.md +39 -0
  63. package/internal/docs/GetMiscWeather200ResponseLifeIndicesExercise.md +39 -0
  64. package/internal/docs/GetMiscWeather200ResponseLifeIndicesFishing.md +39 -0
  65. package/internal/docs/GetMiscWeather200ResponseLifeIndicesMood.md +39 -0
  66. package/internal/docs/GetMiscWeather200ResponseLifeIndicesPollen.md +39 -0
  67. package/internal/docs/GetMiscWeather200ResponseLifeIndicesSunscreen.md +39 -0
  68. package/internal/docs/GetMiscWeather200ResponseLifeIndicesTraffic.md +39 -0
  69. package/internal/docs/GetMiscWeather200ResponseLifeIndicesTravel.md +39 -0
  70. package/internal/docs/GetMiscWeather200ResponseLifeIndicesUmbrella.md +39 -0
  71. package/internal/docs/GetMiscWeather200ResponseLifeIndicesUv.md +39 -0
  72. package/internal/docs/GetMiscWeather200ResponseMinutelyPrecip.md +39 -0
  73. package/internal/docs/GetMiscWeather200ResponseMinutelyPrecipDataInner.md +38 -0
  74. package/internal/docs/GetMiscWeather400Response.md +2 -4
  75. package/internal/docs/GetMiscWeather404Response.md +36 -0
  76. package/internal/docs/GetMiscWeather500Response.md +1 -3
  77. package/internal/docs/GetMiscWeather503Response.md +36 -0
  78. package/internal/docs/GetNetworkDns200Response.md +0 -2
  79. package/internal/docs/GetNetworkIpinfo200Response.md +12 -28
  80. package/internal/docs/GetNetworkIpinfo500Response.md +1 -1
  81. package/internal/docs/GetNetworkMyip200Response.md +52 -0
  82. package/internal/docs/GetNetworkPing200Response.md +0 -2
  83. package/internal/docs/GetNetworkPingmyip200Response.md +0 -2
  84. package/internal/docs/GetNetworkPortscan200Response.md +0 -2
  85. package/internal/docs/GetNetworkUrlstatus200Response.md +2 -4
  86. package/internal/docs/GetNetworkUrlstatus200ResponseOneOf.md +37 -0
  87. package/internal/docs/GetNetworkUrlstatus200ResponseOneOf1.md +37 -0
  88. package/internal/docs/GetNetworkWhois200Response.md +0 -2
  89. package/internal/docs/GetNetworkWhois200ResponseOneOf.md +0 -2
  90. package/internal/docs/GetNetworkWhois200ResponseOneOf1.md +0 -2
  91. package/internal/docs/GetRandomString200Response.md +0 -2
  92. package/internal/docs/GetSearchEngines200Response.md +1 -1
  93. package/internal/docs/GetSearchEngines200ResponseEngine.md +1 -1
  94. package/internal/docs/GetSocialQqGroupinfo200Response.md +22 -0
  95. package/internal/docs/GetSocialQqGroupinfo404Response.md +2 -6
  96. package/internal/docs/GetStatusUsage200Response.md +2 -2
  97. package/internal/docs/GetStatusUsage200ResponseAnyOf.md +37 -0
  98. package/internal/docs/GetStatusUsage200ResponseAnyOf1.md +37 -0
  99. package/internal/docs/GetStatusUsage200ResponseAnyOfEndpointsInner.md +36 -0
  100. package/internal/docs/GetStatusUsage200ResponseAnyOfUnaggregated.md +36 -0
  101. package/internal/docs/GetStatusUsage404Response.md +1 -3
  102. package/internal/docs/ImageApi.md +101 -18
  103. package/internal/docs/MiscApi.md +388 -34
  104. package/internal/docs/NetworkApi.md +19 -19
  105. package/internal/docs/PoemApi.md +2 -2
  106. package/internal/docs/PostAiTranslate200Response.md +0 -2
  107. package/internal/docs/PostAnswerbookAsk200Response.md +0 -2
  108. package/internal/docs/PostConvertJson200Response.md +0 -2
  109. package/internal/docs/PostImageFrombase64200Response.md +0 -2
  110. package/internal/docs/PostImageNsfw200Response.md +48 -0
  111. package/internal/docs/PostImageNsfw400Response.md +36 -0
  112. package/internal/docs/PostImageNsfw413Response.md +36 -0
  113. package/internal/docs/PostImageNsfw500Response.md +36 -0
  114. package/internal/docs/PostMiscDateDiff200Response.md +44 -0
  115. package/internal/docs/PostMiscDateDiff400Response.md +38 -0
  116. package/internal/docs/PostMiscDateDiffRequest.md +38 -0
  117. package/internal/docs/PostSearchAggregateRequest.md +4 -0
  118. package/internal/docs/PostSensitiveWordAnalyze200ResponseResultsInner.md +6 -10
  119. package/internal/docs/PostTextAesDecryptAdvanced200Response.md +34 -0
  120. package/internal/docs/PostTextAesDecryptAdvanced400Response.md +34 -0
  121. package/internal/docs/PostTextAesDecryptAdvancedRequest.md +42 -0
  122. package/internal/docs/PostTextAesEncryptAdvanced200Response.md +40 -0
  123. package/internal/docs/PostTextAesEncryptAdvanced400Response.md +34 -0
  124. package/internal/docs/PostTextAesEncryptAdvancedRequest.md +44 -0
  125. package/internal/docs/PostTextConvert200Response.md +42 -0
  126. package/internal/docs/PostTextConvert400Response.md +38 -0
  127. package/internal/docs/PostTextConvertRequest.md +40 -0
  128. package/internal/docs/RandomApi.md +14 -15
  129. package/internal/docs/SocialApi.md +22 -23
  130. package/internal/docs/StatusApi.md +4 -6
  131. package/internal/docs/TextApi.md +223 -16
  132. package/internal/docs/TranslateApi.md +7 -7
  133. package/internal/docs/WebParseApi.md +12 -12
  134. package/internal/src/apis/ConvertApi.ts +4 -4
  135. package/internal/src/apis/DailyApi.ts +2 -2
  136. package/internal/src/apis/DefaultApi.ts +8 -8
  137. package/internal/src/apis/GameApi.ts +22 -21
  138. package/internal/src/apis/ImageApi.ts +104 -16
  139. package/internal/src/apis/MiscApi.ts +380 -29
  140. package/internal/src/apis/NetworkApi.ts +22 -19
  141. package/internal/src/apis/PoemApi.ts +2 -2
  142. package/internal/src/apis/RandomApi.ts +23 -24
  143. package/internal/src/apis/SocialApi.ts +38 -24
  144. package/internal/src/apis/StatusApi.ts +2 -5
  145. package/internal/src/apis/TextApi.ts +178 -16
  146. package/internal/src/apis/TranslateApi.ts +8 -8
  147. package/internal/src/apis/WebParseApi.ts +16 -16
  148. package/internal/src/models/GetAiTranslateLanguages200Response.ts +0 -8
  149. package/internal/src/models/GetAnswerbookAsk200Response.ts +0 -8
  150. package/internal/src/models/GetConvertUnixtime200Response.ts +0 -8
  151. package/internal/src/models/GetGameEpicFree200Response.ts +0 -8
  152. package/internal/src/models/GetGameMinecraftHistoryid200Response.ts +40 -17
  153. package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInner.ts +97 -0
  154. package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.ts +73 -0
  155. package/internal/src/models/GetGameMinecraftServerstatus200Response.ts +0 -8
  156. package/internal/src/models/GetGameMinecraftUserinfo200Response.ts +0 -8
  157. package/internal/src/models/GetGameMinecraftUserinfo502Response.ts +81 -0
  158. package/internal/src/models/GetGameSteamSummary200Response.ts +0 -8
  159. package/internal/src/models/GetGithubRepo200Response.ts +15 -0
  160. package/internal/src/models/GetGithubRepo200ResponseLatestRelease.ts +105 -0
  161. package/internal/src/models/GetHistoryProgrammer200Response.ts +0 -8
  162. package/internal/src/models/GetHistoryProgrammerToday200Response.ts +0 -8
  163. package/internal/src/models/GetImageTobase64200Response.ts +0 -8
  164. package/internal/src/models/GetMiscDistrict200Response.ts +81 -0
  165. package/internal/src/models/GetMiscDistrict200ResponseResultsInner.ts +169 -0
  166. package/internal/src/models/GetMiscDistrict200ResponseResultsInnerCenter.ts +73 -0
  167. package/internal/src/models/GetMiscDistrict400Response.ts +73 -0
  168. package/internal/src/models/GetMiscHolidayCalendar200Response.ts +89 -0
  169. package/internal/src/models/GetMiscHolidayCalendar200ResponseData.ts +141 -0
  170. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataDaysInner.ts +233 -0
  171. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataHolidaysInner.ts +103 -0
  172. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearby.ts +88 -0
  173. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.ts +81 -0
  174. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.ts +81 -0
  175. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataQuery.ts +113 -0
  176. package/internal/src/models/GetMiscHolidayCalendar200ResponseDataSummary.ts +113 -0
  177. package/internal/src/models/GetMiscHolidayCalendar400Response.ts +73 -0
  178. package/internal/src/models/GetMiscHotboard200Response.ts +47 -0
  179. package/internal/src/models/GetMiscHotboard200ResponseListInner.ts +8 -0
  180. package/internal/src/models/GetMiscHotboard200ResponseResultsInner.ts +81 -0
  181. package/internal/src/models/GetMiscLunartime200Response.ts +89 -0
  182. package/internal/src/models/GetMiscLunartime200ResponseData.ts +233 -0
  183. package/internal/src/models/GetMiscLunartime400Response.ts +73 -0
  184. package/internal/src/models/GetMiscWeather200Response.ts +198 -26
  185. package/internal/src/models/GetMiscWeather200ResponseAirPollutants.ts +105 -0
  186. package/internal/src/models/GetMiscWeather200ResponseForecastInner.ts +193 -0
  187. package/internal/src/models/GetMiscWeather200ResponseHourlyForecastInner.ts +177 -0
  188. package/internal/src/models/GetMiscWeather200ResponseLifeIndices.ts +328 -0
  189. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirConditioner.ts +81 -0
  190. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirPurifier.ts +81 -0
  191. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAllergy.ts +81 -0
  192. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesBeer.ts +81 -0
  193. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesCarWash.ts +81 -0
  194. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesClothing.ts +81 -0
  195. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesColdRisk.ts +81 -0
  196. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesComfort.ts +81 -0
  197. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesDrying.ts +81 -0
  198. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesExercise.ts +81 -0
  199. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesFishing.ts +81 -0
  200. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesMood.ts +81 -0
  201. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesPollen.ts +81 -0
  202. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesSunscreen.ts +81 -0
  203. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTraffic.ts +81 -0
  204. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTravel.ts +81 -0
  205. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUmbrella.ts +81 -0
  206. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUv.ts +81 -0
  207. package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecip.ts +89 -0
  208. package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecipDataInner.ts +81 -0
  209. package/internal/src/models/GetMiscWeather400Response.ts +0 -8
  210. package/internal/src/models/GetMiscWeather404Response.ts +73 -0
  211. package/internal/src/models/GetMiscWeather500Response.ts +0 -8
  212. package/internal/src/models/GetMiscWeather503Response.ts +73 -0
  213. package/internal/src/models/GetNetworkDns200Response.ts +0 -8
  214. package/internal/src/models/GetNetworkIpinfo200Response.ts +28 -92
  215. package/internal/src/models/GetNetworkMyip200Response.ts +137 -0
  216. package/internal/src/models/GetNetworkPing200Response.ts +0 -8
  217. package/internal/src/models/GetNetworkPingmyip200Response.ts +0 -8
  218. package/internal/src/models/GetNetworkPortscan200Response.ts +0 -8
  219. package/internal/src/models/GetNetworkUrlstatus200Response.ts +38 -43
  220. package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf.ts +73 -0
  221. package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf1.ts +73 -0
  222. package/internal/src/models/GetNetworkWhois200ResponseOneOf.ts +0 -8
  223. package/internal/src/models/GetNetworkWhois200ResponseOneOf1.ts +0 -8
  224. package/internal/src/models/GetRandomString200Response.ts +0 -8
  225. package/internal/src/models/GetSocialQqGroupinfo200Response.ts +88 -0
  226. package/internal/src/models/GetSocialQqGroupinfo404Response.ts +3 -19
  227. package/internal/src/models/GetStatusUsage200Response.ts +32 -32
  228. package/internal/src/models/GetStatusUsage200ResponseAnyOf.ts +88 -0
  229. package/internal/src/models/GetStatusUsage200ResponseAnyOf1.ts +73 -0
  230. package/internal/src/models/GetStatusUsage200ResponseAnyOfEndpointsInner.ts +73 -0
  231. package/internal/src/models/GetStatusUsage200ResponseAnyOfUnaggregated.ts +73 -0
  232. package/internal/src/models/GetStatusUsage404Response.ts +0 -8
  233. package/internal/src/models/PostAiTranslate200Response.ts +0 -8
  234. package/internal/src/models/PostAnswerbookAsk200Response.ts +0 -8
  235. package/internal/src/models/PostConvertJson200Response.ts +0 -8
  236. package/internal/src/models/PostImageFrombase64200Response.ts +0 -8
  237. package/internal/src/models/PostImageNsfw200Response.ts +121 -0
  238. package/internal/src/models/PostImageNsfw400Response.ts +73 -0
  239. package/internal/src/models/PostImageNsfw413Response.ts +73 -0
  240. package/internal/src/models/PostImageNsfw500Response.ts +73 -0
  241. package/internal/src/models/PostMiscDateDiff200Response.ts +105 -0
  242. package/internal/src/models/PostMiscDateDiff400Response.ts +81 -0
  243. package/internal/src/models/PostMiscDateDiffRequest.ts +83 -0
  244. package/internal/src/models/PostSearchAggregate200Response.ts +1 -1
  245. package/internal/src/models/PostSearchAggregateRequest.ts +38 -0
  246. package/internal/src/models/PostSensitiveWordAnalyze200ResponseResultsInner.ts +34 -27
  247. package/internal/src/models/PostTextAesDecryptAdvanced200Response.ts +65 -0
  248. package/internal/src/models/PostTextAesDecryptAdvanced400Response.ts +65 -0
  249. package/internal/src/models/PostTextAesDecryptAdvancedRequest.ts +125 -0
  250. package/internal/src/models/PostTextAesDecryptRequest.ts +1 -1
  251. package/internal/src/models/PostTextAesEncryptAdvanced200Response.ts +89 -0
  252. package/internal/src/models/PostTextAesEncryptAdvanced400Response.ts +65 -0
  253. package/internal/src/models/PostTextAesEncryptAdvancedRequest.ts +141 -0
  254. package/internal/src/models/PostTextConvert200Response.ts +97 -0
  255. package/internal/src/models/PostTextConvert400Response.ts +81 -0
  256. package/internal/src/models/PostTextConvertRequest.ts +130 -0
  257. package/internal/src/models/index.ts +71 -8
  258. package/package.json +15 -11
  259. package/src/index.ts +806 -751
@@ -6,11 +6,11 @@ All URIs are relative to *https://uapis.cn/api/v1*
6
6
  |------------- | ------------- | -------------|
7
7
  | [**getNetworkDns**](NetworkApi.md#getnetworkdns) | **GET** /network/dns | 执行DNS解析查询 |
8
8
  | [**getNetworkIcp**](NetworkApi.md#getnetworkicp) | **GET** /network/icp | 查询域名ICP备案信息 |
9
- | [**getNetworkIpinfo**](NetworkApi.md#getnetworkipinfo) | **GET** /network/ipinfo | 查询指定IP或域名的归属信息 |
10
- | [**getNetworkMyip**](NetworkApi.md#getnetworkmyip) | **GET** /network/myip | 获取你的公网IP及归属信息 |
11
- | [**getNetworkPing**](NetworkApi.md#getnetworkping) | **GET** /network/ping | 从服务器Ping指定主机 |
12
- | [**getNetworkPingmyip**](NetworkApi.md#getnetworkpingmyip) | **GET** /network/pingmyip | 从服务器Ping你的客户端IP |
13
- | [**getNetworkPortscan**](NetworkApi.md#getnetworkportscan) | **GET** /network/portscan | 扫描远程主机的指定端口 |
9
+ | [**getNetworkIpinfo**](NetworkApi.md#getnetworkipinfo) | **GET** /network/ipinfo | 查询 IP |
10
+ | [**getNetworkMyip**](NetworkApi.md#getnetworkmyip) | **GET** /network/myip | 查询我的 IP |
11
+ | [**getNetworkPing**](NetworkApi.md#getnetworkping) | **GET** /network/ping | Ping 主机 |
12
+ | [**getNetworkPingmyip**](NetworkApi.md#getnetworkpingmyip) | **GET** /network/pingmyip | Ping 我的 IP |
13
+ | [**getNetworkPortscan**](NetworkApi.md#getnetworkportscan) | **GET** /network/portscan | 端口扫描 |
14
14
  | [**getNetworkUrlstatus**](NetworkApi.md#getnetworkurlstatus) | **GET** /network/urlstatus | 检查URL的可访问性状态 |
15
15
  | [**getNetworkWhois**](NetworkApi.md#getnetworkwhois) | **GET** /network/whois | 查询域名的WHOIS注册信息 |
16
16
  | [**getNetworkWxdomain**](NetworkApi.md#getnetworkwxdomain) | **GET** /network/wxdomain | 检查域名在微信中的访问状态 |
@@ -162,9 +162,9 @@ No authorization required
162
162
 
163
163
  > GetNetworkIpinfo200Response getNetworkIpinfo(ip, source)
164
164
 
165
- 查询指定IP或域名的归属信息
165
+ 查询 IP
166
166
 
167
- 想知道一个IP地址或域名来自地球的哪个角落?这个接口可以帮你定位它。你可以选择使用默认的GeoIP数据库,也可以指定 `source=commercial` 参数来查询更详细的商业级IP归属信息。 ## 功能概述 提供一个公网IPv4、IPv6地址或域名,我们会利用GeoIP数据库查询并返回它的地理位置(国家、省份、城市)、经纬度、以及所属的运营商(ISP)和自治系统(ASN)信息。这在网络安全分析、访问来源统计等领域非常有用。 当使用 `source=commercial` 参数时,接口将调用高性能商业API,提供更精确的市、区、运营商、时区、海拔等信息。请注意,商业查询的响应时间可能会稍长。
167
+ 想知道一个IP地址或域名来自地球的哪个角落?这个接口可以帮你定位它。你可以使用默认数据源,也可以指定 `source=commercial` 参数来查询更详细的商业级IP归属信息。 ## 功能概述 提供一个公网IPv4、IPv6地址或域名,我们会查询并返回它的地理位置(国家、省份、城市)、经纬度、以及所属的运营商(ISP)和自治系统(ASN)信息。这在网络安全分析、访问来源统计等领域非常有用。 当使用 `source=commercial` 参数时,接口将调用高性能商业API,提供更精确的市、区、运营商、时区、海拔等信息。请注意,商业查询的响应时间可能会稍长。
168
168
 
169
169
  ### Example
170
170
 
@@ -223,21 +223,21 @@ No authorization required
223
223
  ### HTTP response details
224
224
  | Status code | Description | Response headers |
225
225
  |-------------|-------------|------------------|
226
- | **200** | 查询成功!返回该IP地址的详细地理和网络信息。 **示例 1:标准查询 (不带 `source` 参数)** 请求: `/api/v1/network/ipinfo?ip=120.24.0.0` 响应: ```json { \"code\": 200, \"ip\": \"120.24.0.0\", \"beginip\": \"120.24.0.0\", \"endip\": \"120.24.255.255\", \"region\": \"中国 广东\", \"isp\": \"China Telecom\", \"asn\": \"AS4134\", \"llc\": \"电信\", \"latitude\": 23.1291, \"longitude\": 113.2644 } ``` **示例 2:商业数据源查询 (`source=commercial`)** 请求: `/api/v1/network/ipinfo?ip=120.24.0.0&source=commercial` 响应: ```json { \"code\": 200, \"ip\": \"120.24.0.0\", \"region\": \"中国 广东 广州\", \"isp\": \"电信\", \"llc\": \"电信\", \"latitude\": 23.1291, \"longitude\": 113.2644, \"district\": \"天河\", \"area_code\": \"440106\", \"city_code\": \"020\", \"zip_code\": \"510000\", \"time_zone\": \"Asia/Shanghai\", \"elevation\": \"50\", \"weather_station\": \"CHXX0049\" } ``` | - |
226
+ | **200** | 查询成功!返回该IP地址的详细地理和网络信息。 | - |
227
227
  | **400** | IP地址参数无效。请检查 `ip` 参数是否提供,以及它是否是一个合法的公网IP地址。 | - |
228
228
  | **404** | 信息未找到。这通常意味着你查询的是一个内网IP地址(如 192.168.x.x)或一个未分配的公网IP地址,我们的数据库中没有它的信息。 | - |
229
- | **500** | 服务器内部错误。我们的GeoIP数据库查询服务可能遇到了问题。 | - |
229
+ | **500** | 服务器内部错误。IP查询服务可能遇到了问题。 | - |
230
230
 
231
231
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
232
232
 
233
233
 
234
234
  ## getNetworkMyip
235
235
 
236
- > GetNetworkIpinfo200Response getNetworkMyip(source)
236
+ > GetNetworkMyip200Response getNetworkMyip(source)
237
237
 
238
- 获取你的公网IP及归属信息
238
+ 查询我的 IP
239
239
 
240
- 想知道你自己的出口公网IP是多少吗?这个接口就是你的“网络身份证”。你可以选择使用默认的GeoIP数据库,也可以指定 `source=commercial` 参数来查询更详细的商业级IP归属信息。 ## 功能概述 调用此接口,它会返回你(即发起请求的客户端)的公网IP地址,并附带与 `/network/ipinfo` 接口相同的地理位置和网络归属信息。非常适合用于在网页上向用户展示他们自己的IP和地理位置。 当使用 `source=commercial` 参数时,接口将调用高性能商业API,提供更精确的市、区、运营商、时区、海拔等信息。请注意,商业查询的响应时间可能会稍长。
240
+ 想知道你自己的出口公网IP是多少吗?这个接口就是你的“网络身份证”。你可以使用默认数据源,也可以指定 `source=commercial` 参数来查询更详细的商业级IP归属信息。 ## 功能概述 调用此接口,它会返回你(即发起请求的客户端)的公网IP地址,并附带与 `/network/ipinfo` 接口相同的地理位置和网络归属信息。非常适合用于在网页上向用户展示他们自己的IP和地理位置。 当使用 `source=commercial` 参数时,接口将调用高性能商业API,提供更精确的市、区、运营商、时区、海拔等信息。请注意,商业查询的响应时间可能会稍长。
241
241
 
242
242
  ### Example
243
243
 
@@ -278,7 +278,7 @@ example().catch(console.error);
278
278
 
279
279
  ### Return type
280
280
 
281
- [**GetNetworkIpinfo200Response**](GetNetworkIpinfo200Response.md)
281
+ [**GetNetworkMyip200Response**](GetNetworkMyip200Response.md)
282
282
 
283
283
  ### Authorization
284
284
 
@@ -293,7 +293,7 @@ No authorization required
293
293
  ### HTTP response details
294
294
  | Status code | Description | Response headers |
295
295
  |-------------|-------------|------------------|
296
- | **200** | 查询成功!返回你的客户端IP的详细信息。 **示例 1:标准查询 (不带 `source` 参数)** 请求: `/api/v1/network/myip` 响应: ```json { \"code\": 200, \"ip\": \"1.2.3.4\", \"beginip\": \"1.2.3.0\", \"endip\": \"1.2.3.255\", \"region\": \"中国 湖南 长沙\", \"isp\": \"China Unicom\", \"asn\": \"AS4837\", \"llc\": \"联通\", \"latitude\": 28.1941, \"longitude\": 112.9823 } ``` **示例 2:商业数据源查询 (`source=commercial`)** 请求: `/api/v1/network/myip?source=commercial` 响应: ```json { \"code\": 200, \"ip\": \"1.2.3.4\", \"region\": \"中国 湖南 长沙\", \"isp\": \"联通\", \"llc\": \"联通\", \"latitude\": 28.1941, \"longitude\": 112.9823, \"district\": \"岳麓\", \"area_code\": \"430104\", \"city_code\": \"0731\", \"zip_code\": \"410000\", \"time_zone\": \"Asia/Shanghai\", \"elevation\": \"60\", \"weather_station\": \"CHXX0062\" } ``` | - |
296
+ | **200** | 查询成功!返回你的客户端IP的详细信息。 | - |
297
297
  | **400** | 无法获取有效的客户端IP。这在一些特殊的网络环境下可能发生,例如通过了复杂的代理。 | - |
298
298
  | **500** | 服务器内部错误。在查询IP归属地信息时发生错误。 | - |
299
299
 
@@ -304,7 +304,7 @@ No authorization required
304
304
 
305
305
  > GetNetworkPing200Response getNetworkPing(host)
306
306
 
307
- 从服务器Ping指定主机
307
+ Ping 主机
308
308
 
309
309
  想知道从我们的服务器到你的服务器网络延迟高不高?这个工具可以帮你测试网络连通性。 ## 功能概述 这个接口会从我们的服务器节点对你指定的主机(域名或IP地址)执行 ICMP Ping 操作。它会返回最小、最大、平均延迟以及丢包率等关键指标,是诊断网络问题的得力助手。
310
310
 
@@ -373,7 +373,7 @@ No authorization required
373
373
 
374
374
  > GetNetworkPingmyip200Response getNetworkPingmyip()
375
375
 
376
- 从服务器Ping你的客户端IP
376
+ Ping 我的 IP
377
377
 
378
378
  这是一个非常方便的快捷接口,想知道你的网络到我们服务器的回程延迟吗?点一下就行! ## 功能概述 这个接口是 `/network/myip` 和 `/network/ping` 的结合体。它会自动获取你客户端的公网IP,然后从我们的服务器Ping这个IP,并返回延迟数据。这对于快速判断你本地网络到服务器的连接质量非常有用。
379
379
 
@@ -434,7 +434,7 @@ No authorization required
434
434
 
435
435
  > GetNetworkPortscan200Response getNetworkPortscan(host, port, protocol)
436
436
 
437
- 扫描远程主机的指定端口
437
+ 端口扫描
438
438
 
439
439
  想检查一下你的服务器上某个端口(比如SSH的22端口或者Web的80端口)是否对外开放?这个工具可以帮你快速确认。 ## 功能概述 你可以指定一个主机和端口号,我们的服务器会尝试连接该端口,并告诉你它是开放的(open)、关闭的(closed)还是超时了(timeout)。这对于网络服务配置检查和基本的安全扫描很有用。
440
440
 
@@ -511,7 +511,7 @@ No authorization required
511
511
 
512
512
  检查URL的可访问性状态
513
513
 
514
- 你的网站或API还好吗?用这个接口给它做个快速“体检”吧。 ## 功能概述 提供一个URL,我们会向它发起一个请求,并返回其HTTP响应状态码。这是一种简单而有效的服务可用性监控方法。 > [!TIP] > **性能优化**:为了提高效率并减少对目标服务器的负载,我们实际发送的是 `HEAD` 请求,而不是 `GET` 请求。`HEAD` 请求只会获取响应头,而不会下载整个页面内容,因此速度更快。
514
+ 你的网站或API还好吗?用这个接口给它做个快速“体检”吧。 ## 功能概述 提供一个URL,我们会向它发起一个请求,并返回其HTTP响应状态码。这是一种简单而有效的服务可用性监控方法。
515
515
 
516
516
  ### Example
517
517
 
@@ -567,7 +567,7 @@ No authorization required
567
567
  ### HTTP response details
568
568
  | Status code | Description | Response headers |
569
569
  |-------------|-------------|------------------|
570
- | **200** | 检查成功!返回目标的HTTP状态码。 | - |
570
+ | **200** | 检查完成!根据目标URL的可达性返回不同结果。 | - |
571
571
  | **400** | 请求参数无效。请检查 `url` 参数是否提供且格式正确。 | - |
572
572
  | **502** | 请求URL失败(例如,DNS解析失败、连接超时) | - |
573
573
 
@@ -4,7 +4,7 @@ All URIs are relative to *https://uapis.cn/api/v1*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**getSaying**](PoemApi.md#getsaying) | **GET** /saying | 随机获取一句诗词或名言 |
7
+ | [**getSaying**](PoemApi.md#getsaying) | **GET** /saying | 一言 |
8
8
 
9
9
 
10
10
 
@@ -12,7 +12,7 @@ All URIs are relative to *https://uapis.cn/api/v1*
12
12
 
13
13
  > GetSaying200Response getSaying()
14
14
 
15
- 随机获取一句诗词或名言
15
+ 一言
16
16
 
17
17
  想在你的应用里每天展示一句不一样的话,给用户一点小小的惊喜吗?这个“一言”接口就是为此而生。 ## 功能概述 每次调用,它都会从我们精心收集的、包含数千条诗词、动漫台词、名人名言的语料库中,随机返回一条。你可以用它来做网站首页的Slogan、应用的启动语,或者任何需要灵感点缀的地方。
18
18
 
@@ -6,7 +6,6 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `code` | number
10
9
  `message` | string
11
10
  `isBatch` | boolean
12
11
  `data` | [PostAiTranslate200ResponseData](PostAiTranslate200ResponseData.md)
@@ -22,7 +21,6 @@ import type { PostAiTranslate200Response } from 'uapi-browser-sdk-browser'
22
21
 
23
22
  // TODO: Update the object below with actual values
24
23
  const example = {
25
- "code": 200,
26
24
  "message": Translation completed successfully,
27
25
  "isBatch": false,
28
26
  "data": null,
@@ -6,7 +6,6 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `code` | number
10
9
  `question` | string
11
10
  `answer` | string
12
11
 
@@ -17,7 +16,6 @@ import type { PostAnswerbookAsk200Response } from 'uapi-browser-sdk-browser'
17
16
 
18
17
  // TODO: Update the object below with actual values
19
18
  const example = {
20
- "code": 200,
21
19
  "question": 我应该接受这份工作吗?,
22
20
  "answer": 专注当下,
23
21
  } satisfies PostAnswerbookAsk200Response
@@ -6,7 +6,6 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `code` | number
10
9
  `content` | string
11
10
 
12
11
  ## Example
@@ -16,7 +15,6 @@ import type { PostConvertJson200Response } from 'uapi-browser-sdk-browser'
16
15
 
17
16
  // TODO: Update the object below with actual values
18
17
  const example = {
19
- "code": 200,
20
18
  "content": {
21
19
  "name": "John Doe",
22
20
  "age": 30,
@@ -6,7 +6,6 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `code` | number
10
9
  `imageUrl` | string
11
10
  `msg` | string
12
11
 
@@ -17,7 +16,6 @@ import type { PostImageFrombase64200Response } from 'uapi-browser-sdk-browser'
17
16
 
18
17
  // TODO: Update the object below with actual values
19
18
  const example = {
20
- "code": 200,
21
19
  "imageUrl": https://uapis.cn/static/uploads/91e42db1c66c0b276abf6234dc50b2eb.png,
22
20
  "msg": success,
23
21
  } satisfies PostImageFrombase64200Response
@@ -0,0 +1,48 @@
1
+
2
+ # PostImageNsfw200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `nsfwScore` | number
10
+ `normalScore` | number
11
+ `isNsfw` | boolean
12
+ `label` | string
13
+ `suggestion` | string
14
+ `riskLevel` | string
15
+ `confidence` | number
16
+ `inferenceTimeMs` | number
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { PostImageNsfw200Response } from 'uapi-browser-sdk-browser'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "nsfwScore": 0.05,
26
+ "normalScore": 0.95,
27
+ "isNsfw": false,
28
+ "label": normal,
29
+ "suggestion": pass,
30
+ "riskLevel": low,
31
+ "confidence": 0.95,
32
+ "inferenceTimeMs": 156,
33
+ } satisfies PostImageNsfw200Response
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as PostImageNsfw200Response
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+
@@ -0,0 +1,36 @@
1
+
2
+ # PostImageNsfw400Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `code` | string
10
+ `message` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PostImageNsfw400Response } from 'uapi-browser-sdk-browser'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "code": INVALID_ARGUMENT,
20
+ "message": 必须提供图片文件或图片URL,
21
+ } satisfies PostImageNsfw400Response
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PostImageNsfw400Response
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PostImageNsfw413Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `code` | string
10
+ `message` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PostImageNsfw413Response } from 'uapi-browser-sdk-browser'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "code": FILE_TOO_LARGE,
20
+ "message": 文件大小超过限制(最大20MB),
21
+ } satisfies PostImageNsfw413Response
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PostImageNsfw413Response
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # PostImageNsfw500Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `code` | string
10
+ `message` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PostImageNsfw500Response } from 'uapi-browser-sdk-browser'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "code": INTERNAL_SERVER_ERROR,
20
+ "message": NSFW检测服务暂时不可用,
21
+ } satisfies PostImageNsfw500Response
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PostImageNsfw500Response
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,44 @@
1
+
2
+ # PostMiscDateDiff200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `days` | number
10
+ `hours` | number
11
+ `minutes` | number
12
+ `seconds` | number
13
+ `weeks` | number
14
+ `humanReadable` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { PostMiscDateDiff200Response } from 'uapi-browser-sdk-browser'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "days": 364,
24
+ "hours": 8736,
25
+ "minutes": 524160,
26
+ "seconds": 31449600,
27
+ "weeks": 52,
28
+ "humanReadable": 52周 0天,
29
+ } satisfies PostMiscDateDiff200Response
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as PostMiscDateDiff200Response
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,38 @@
1
+
2
+ # PostMiscDateDiff400Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `errorCode` | string
10
+ `errorMessage` | string
11
+ `errorDetails` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostMiscDateDiff400Response } from 'uapi-browser-sdk-browser'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "errorCode": DATE_PARSE_ERROR,
21
+ "errorMessage": 解析开始日期失败: 无法识别日期格式: invalid-date,
22
+ "errorDetails": ,
23
+ } satisfies PostMiscDateDiff400Response
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostMiscDateDiff400Response
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,38 @@
1
+
2
+ # PostMiscDateDiffRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `startDate` | string
10
+ `endDate` | string
11
+ `format` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostMiscDateDiffRequest } from 'uapi-browser-sdk-browser'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "startDate": 2025-01-01,
21
+ "endDate": 2025-12-31,
22
+ "format": YYYY-MM-DD,
23
+ } satisfies PostMiscDateDiffRequest
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostMiscDateDiffRequest
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -11,6 +11,8 @@ Name | Type
11
11
  `filetype` | string
12
12
  `fetchFull` | boolean
13
13
  `timeoutMs` | number
14
+ `sort` | string
15
+ `timeRange` | string
14
16
 
15
17
  ## Example
16
18
 
@@ -24,6 +26,8 @@ const example = {
24
26
  "filetype": null,
25
27
  "fetchFull": null,
26
28
  "timeoutMs": null,
29
+ "sort": null,
30
+ "timeRange": null,
27
31
  } satisfies PostSearchAggregateRequest
28
32
 
29
33
  console.log(example)
@@ -7,11 +7,9 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `k` | string
10
- `r` | string
11
- `s` | Array<number>
12
- `v` | Array<string>
13
- `t` | Array<string>
14
- `d` | string
10
+ `label` | string
11
+ `category` | string
12
+ `confidence` | number
15
13
 
16
14
  ## Example
17
15
 
@@ -21,11 +19,9 @@ import type { PostSensitiveWordAnalyze200ResponseResultsInner } from 'uapi-brows
21
19
  // TODO: Update the object below with actual values
22
20
  const example = {
23
21
  "k": null,
24
- "r": null,
25
- "s": null,
26
- "v": null,
27
- "t": null,
28
- "d": null,
22
+ "label": null,
23
+ "category": null,
24
+ "confidence": null,
29
25
  } satisfies PostSensitiveWordAnalyze200ResponseResultsInner
30
26
 
31
27
  console.log(example)
@@ -0,0 +1,34 @@
1
+
2
+ # PostTextAesDecryptAdvanced200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `plaintext` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PostTextAesDecryptAdvanced200Response } from 'uapi-browser-sdk-browser'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "plaintext": Hello, World! 你好世界!,
19
+ } satisfies PostTextAesDecryptAdvanced200Response
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as PostTextAesDecryptAdvanced200Response
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,34 @@
1
+
2
+ # PostTextAesDecryptAdvanced400Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `error` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PostTextAesDecryptAdvanced400Response } from 'uapi-browser-sdk-browser'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "error": 填充验证失败:密钥、模式或填充方式可能不正确,
19
+ } satisfies PostTextAesDecryptAdvanced400Response
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as PostTextAesDecryptAdvanced400Response
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,42 @@
1
+
2
+ # PostTextAesDecryptAdvancedRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `text` | string
10
+ `key` | string
11
+ `mode` | string
12
+ `padding` | string
13
+ `iv` | string
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { PostTextAesDecryptAdvancedRequest } from 'uapi-browser-sdk-browser'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "text": 68vWkaxJPg1vx0LWJONpEfYdvW3Wz7V5uXiYg0WWfGJHIZWBmVVghHg=,
23
+ "key": my-super-secret-key,
24
+ "mode": GCM,
25
+ "padding": NONE,
26
+ "iv": cmFuZG9tSVZoZXJl,
27
+ } satisfies PostTextAesDecryptAdvancedRequest
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as PostTextAesDecryptAdvancedRequest
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+