uapi-browser-sdk 0.1.14 → 0.1.16

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 (1358) hide show
  1. package/README.md +1 -60
  2. package/dist/internal/src/apis/ClipzyApi.d.ts +1 -1
  3. package/dist/internal/src/apis/ClipzyApi.js +1 -1
  4. package/dist/internal/src/apis/ConvertApi.d.ts +1 -1
  5. package/dist/internal/src/apis/ConvertApi.js +1 -1
  6. package/dist/internal/src/apis/DailyApi.d.ts +1 -1
  7. package/dist/internal/src/apis/DailyApi.js +1 -1
  8. package/dist/internal/src/apis/DefaultApi.d.ts +9 -9
  9. package/dist/internal/src/apis/DefaultApi.js +9 -9
  10. package/dist/internal/src/apis/GameApi.d.ts +5 -5
  11. package/dist/internal/src/apis/GameApi.js +5 -5
  12. package/dist/internal/src/apis/ImageApi.d.ts +149 -12
  13. package/dist/internal/src/apis/ImageApi.js +255 -13
  14. package/dist/internal/src/apis/MiscApi.d.ts +9 -8
  15. package/dist/internal/src/apis/MiscApi.js +13 -10
  16. package/dist/internal/src/apis/NetworkApi.d.ts +5 -5
  17. package/dist/internal/src/apis/NetworkApi.js +5 -5
  18. package/dist/internal/src/apis/PoemApi.d.ts +1 -1
  19. package/dist/internal/src/apis/PoemApi.js +1 -1
  20. package/dist/internal/src/apis/RandomApi.d.ts +1 -1
  21. package/dist/internal/src/apis/RandomApi.js +1 -1
  22. package/dist/internal/src/apis/SocialApi.d.ts +30 -6
  23. package/dist/internal/src/apis/SocialApi.js +52 -6
  24. package/dist/internal/src/apis/StatusApi.d.ts +3 -3
  25. package/dist/internal/src/apis/StatusApi.js +3 -3
  26. package/dist/internal/src/apis/TextApi.d.ts +30 -4
  27. package/dist/internal/src/apis/TextApi.js +62 -4
  28. package/dist/internal/src/apis/TranslateApi.d.ts +3 -3
  29. package/dist/internal/src/apis/TranslateApi.js +3 -3
  30. package/dist/internal/src/apis/WebParseApi.d.ts +1 -1
  31. package/dist/internal/src/apis/WebParseApi.js +1 -1
  32. package/dist/internal/src/models/Base64.d.ts +38 -0
  33. package/dist/internal/src/models/Base64.js +43 -0
  34. package/dist/internal/src/models/FormatJson.d.ts +123 -0
  35. package/dist/internal/src/models/FormatJson.js +72 -0
  36. package/dist/internal/src/models/FormatJsonTrivia.d.ts +39 -0
  37. package/dist/internal/src/models/FormatJsonTrivia.js +44 -0
  38. package/dist/internal/src/models/FormatJsonTriviaOptionsInner.d.ts +44 -0
  39. package/dist/internal/src/models/FormatJsonTriviaOptionsInner.js +45 -0
  40. package/dist/internal/src/models/GetAiTranslateLanguages200Response.d.ts +1 -1
  41. package/dist/internal/src/models/GetAiTranslateLanguages200Response.js +1 -1
  42. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseData.d.ts +1 -1
  43. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseData.js +1 -1
  44. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseDataContextsInner.d.ts +1 -1
  45. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseDataContextsInner.js +1 -1
  46. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseDataLanguagesInner.d.ts +1 -1
  47. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseDataLanguagesInner.js +1 -1
  48. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseDataStylesInner.d.ts +1 -1
  49. package/dist/internal/src/models/GetAiTranslateLanguages200ResponseDataStylesInner.js +1 -1
  50. package/dist/internal/src/models/GetAiTranslateLanguages200ResponsePerformance.d.ts +1 -1
  51. package/dist/internal/src/models/GetAiTranslateLanguages200ResponsePerformance.js +1 -1
  52. package/dist/internal/src/models/GetAnswerbookAsk200Response.d.ts +1 -1
  53. package/dist/internal/src/models/GetAnswerbookAsk200Response.js +1 -1
  54. package/dist/internal/src/models/GetAnswerbookAsk400Response.d.ts +1 -1
  55. package/dist/internal/src/models/GetAnswerbookAsk400Response.js +1 -1
  56. package/dist/internal/src/models/GetAnswerbookAsk500Response.d.ts +1 -1
  57. package/dist/internal/src/models/GetAnswerbookAsk500Response.js +1 -1
  58. package/dist/internal/src/models/GetAvatarGravatar400Response.d.ts +1 -1
  59. package/dist/internal/src/models/GetAvatarGravatar400Response.js +1 -1
  60. package/dist/internal/src/models/GetAvatarGravatar404Response.d.ts +1 -1
  61. package/dist/internal/src/models/GetAvatarGravatar404Response.js +1 -1
  62. package/dist/internal/src/models/GetClipzyGet200Response.d.ts +1 -1
  63. package/dist/internal/src/models/GetClipzyGet200Response.js +1 -1
  64. package/dist/internal/src/models/GetClipzyGet400Response.d.ts +1 -1
  65. package/dist/internal/src/models/GetClipzyGet400Response.js +1 -1
  66. package/dist/internal/src/models/GetClipzyGet404Response.d.ts +1 -1
  67. package/dist/internal/src/models/GetClipzyGet404Response.js +1 -1
  68. package/dist/internal/src/models/GetClipzyRaw400Response.d.ts +1 -1
  69. package/dist/internal/src/models/GetClipzyRaw400Response.js +1 -1
  70. package/dist/internal/src/models/GetClipzyRaw403Response.d.ts +1 -1
  71. package/dist/internal/src/models/GetClipzyRaw403Response.js +1 -1
  72. package/dist/internal/src/models/GetConvertUnixtime200Response.d.ts +1 -1
  73. package/dist/internal/src/models/GetConvertUnixtime200Response.js +1 -1
  74. package/dist/internal/src/models/GetConvertUnixtime400Response.d.ts +1 -1
  75. package/dist/internal/src/models/GetConvertUnixtime400Response.js +1 -1
  76. package/dist/internal/src/models/GetDailyNewsImage500Response.d.ts +1 -1
  77. package/dist/internal/src/models/GetDailyNewsImage500Response.js +1 -1
  78. package/dist/internal/src/models/GetDailyNewsImage502Response.d.ts +1 -1
  79. package/dist/internal/src/models/GetDailyNewsImage502Response.js +1 -1
  80. package/dist/internal/src/models/GetGameEpicFree200Response.d.ts +1 -1
  81. package/dist/internal/src/models/GetGameEpicFree200Response.js +1 -1
  82. package/dist/internal/src/models/GetGameEpicFree200ResponseDataInner.d.ts +1 -1
  83. package/dist/internal/src/models/GetGameEpicFree200ResponseDataInner.js +1 -1
  84. package/dist/internal/src/models/GetGameEpicFree500Response.d.ts +1 -1
  85. package/dist/internal/src/models/GetGameEpicFree500Response.js +1 -1
  86. package/dist/internal/src/models/GetGameMinecraftHistoryid200Response.d.ts +1 -1
  87. package/dist/internal/src/models/GetGameMinecraftHistoryid200Response.js +1 -1
  88. package/dist/internal/src/models/GetGameMinecraftHistoryid200ResponseHistoryInner.d.ts +1 -1
  89. package/dist/internal/src/models/GetGameMinecraftHistoryid200ResponseHistoryInner.js +1 -1
  90. package/dist/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInner.d.ts +1 -1
  91. package/dist/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInner.js +1 -1
  92. package/dist/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.d.ts +1 -1
  93. package/dist/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.js +1 -1
  94. package/dist/internal/src/models/GetGameMinecraftHistoryid400Response.d.ts +1 -1
  95. package/dist/internal/src/models/GetGameMinecraftHistoryid400Response.js +1 -1
  96. package/dist/internal/src/models/GetGameMinecraftHistoryid404Response.d.ts +1 -1
  97. package/dist/internal/src/models/GetGameMinecraftHistoryid404Response.js +1 -1
  98. package/dist/internal/src/models/GetGameMinecraftHistoryid502Response.d.ts +1 -1
  99. package/dist/internal/src/models/GetGameMinecraftHistoryid502Response.js +1 -1
  100. package/dist/internal/src/models/GetGameMinecraftServerstatus200Response.d.ts +8 -1
  101. package/dist/internal/src/models/GetGameMinecraftServerstatus200Response.js +4 -1
  102. package/dist/internal/src/models/GetGameMinecraftServerstatus200ResponseOnlinePlayersInner.d.ts +38 -0
  103. package/dist/internal/src/models/GetGameMinecraftServerstatus200ResponseOnlinePlayersInner.js +43 -0
  104. package/dist/internal/src/models/GetGameMinecraftServerstatus400Response.d.ts +1 -1
  105. package/dist/internal/src/models/GetGameMinecraftServerstatus400Response.js +1 -1
  106. package/dist/internal/src/models/GetGameMinecraftServerstatus404Response.d.ts +1 -1
  107. package/dist/internal/src/models/GetGameMinecraftServerstatus404Response.js +1 -1
  108. package/dist/internal/src/models/GetGameMinecraftServerstatus502Response.d.ts +1 -1
  109. package/dist/internal/src/models/GetGameMinecraftServerstatus502Response.js +1 -1
  110. package/dist/internal/src/models/GetGameMinecraftUserinfo200Response.d.ts +1 -1
  111. package/dist/internal/src/models/GetGameMinecraftUserinfo200Response.js +1 -1
  112. package/dist/internal/src/models/GetGameMinecraftUserinfo400Response.d.ts +1 -1
  113. package/dist/internal/src/models/GetGameMinecraftUserinfo400Response.js +1 -1
  114. package/dist/internal/src/models/GetGameMinecraftUserinfo404Response.d.ts +1 -1
  115. package/dist/internal/src/models/GetGameMinecraftUserinfo404Response.js +1 -1
  116. package/dist/internal/src/models/GetGameMinecraftUserinfo502Response.d.ts +1 -1
  117. package/dist/internal/src/models/GetGameMinecraftUserinfo502Response.js +1 -1
  118. package/dist/internal/src/models/GetGameSteamSummary200Response.d.ts +1 -1
  119. package/dist/internal/src/models/GetGameSteamSummary200Response.js +1 -1
  120. package/dist/internal/src/models/GetGameSteamSummary400Response.d.ts +1 -1
  121. package/dist/internal/src/models/GetGameSteamSummary400Response.js +1 -1
  122. package/dist/internal/src/models/GetGameSteamSummary401Response.d.ts +1 -1
  123. package/dist/internal/src/models/GetGameSteamSummary401Response.js +1 -1
  124. package/dist/internal/src/models/GetGameSteamSummary404Response.d.ts +1 -1
  125. package/dist/internal/src/models/GetGameSteamSummary404Response.js +1 -1
  126. package/dist/internal/src/models/GetGithubRepo200Response.d.ts +1 -1
  127. package/dist/internal/src/models/GetGithubRepo200Response.js +1 -1
  128. package/dist/internal/src/models/GetGithubRepo200ResponseCollaboratorsInner.d.ts +1 -1
  129. package/dist/internal/src/models/GetGithubRepo200ResponseCollaboratorsInner.js +1 -1
  130. package/dist/internal/src/models/GetGithubRepo200ResponseLatestRelease.d.ts +1 -1
  131. package/dist/internal/src/models/GetGithubRepo200ResponseLatestRelease.js +1 -1
  132. package/dist/internal/src/models/GetGithubRepo400Response.d.ts +1 -1
  133. package/dist/internal/src/models/GetGithubRepo400Response.js +1 -1
  134. package/dist/internal/src/models/GetGithubRepo502Response.d.ts +1 -1
  135. package/dist/internal/src/models/GetGithubRepo502Response.js +1 -1
  136. package/dist/internal/src/models/GetGithubUser200Response.d.ts +142 -0
  137. package/dist/internal/src/models/GetGithubUser200Response.js +79 -0
  138. package/dist/internal/src/models/GetGithubUser200ResponseActivity.d.ts +94 -0
  139. package/dist/internal/src/models/GetGithubUser200ResponseActivity.js +63 -0
  140. package/dist/internal/src/models/GetGithubUser200ResponseActivityContributionCalendar.d.ts +51 -0
  141. package/dist/internal/src/models/GetGithubUser200ResponseActivityContributionCalendar.js +48 -0
  142. package/dist/internal/src/models/GetGithubUser200ResponseActivityContributionCalendarWeeksInner.d.ts +39 -0
  143. package/dist/internal/src/models/GetGithubUser200ResponseActivityContributionCalendarWeeksInner.js +44 -0
  144. package/dist/internal/src/models/GetGithubUser200ResponseActivityContributionCalendarWeeksInnerContributionDaysInner.d.ts +50 -0
  145. package/dist/internal/src/models/GetGithubUser200ResponseActivityContributionCalendarWeeksInnerContributionDaysInner.js +47 -0
  146. package/dist/internal/src/models/GetGithubUser200ResponseActivityTimelineInner.d.ts +38 -0
  147. package/dist/internal/src/models/GetGithubUser200ResponseActivityTimelineInner.js +43 -0
  148. package/dist/internal/src/models/GetGithubUser200ResponseOrganizationsInner.d.ts +50 -0
  149. package/dist/internal/src/models/GetGithubUser200ResponseOrganizationsInner.js +47 -0
  150. package/dist/internal/src/models/GetGithubUser400Response.d.ts +23 -0
  151. package/dist/internal/src/models/GetGithubUser400Response.js +51 -0
  152. package/dist/internal/src/models/GetGithubUser400ResponseOneOf.d.ts +38 -0
  153. package/dist/internal/src/models/GetGithubUser400ResponseOneOf.js +43 -0
  154. package/dist/internal/src/models/GetGithubUser400ResponseOneOf1.d.ts +38 -0
  155. package/dist/internal/src/models/GetGithubUser400ResponseOneOf1.js +43 -0
  156. package/dist/internal/src/models/GetGithubUser404Response.d.ts +38 -0
  157. package/dist/internal/src/models/GetGithubUser404Response.js +43 -0
  158. package/dist/internal/src/models/GetGithubUser502Response.d.ts +38 -0
  159. package/dist/internal/src/models/GetGithubUser502Response.js +43 -0
  160. package/dist/internal/src/models/GetHistoryProgrammer200Response.d.ts +1 -1
  161. package/dist/internal/src/models/GetHistoryProgrammer200Response.js +1 -1
  162. package/dist/internal/src/models/GetHistoryProgrammer200ResponseEventsInner.d.ts +1 -1
  163. package/dist/internal/src/models/GetHistoryProgrammer200ResponseEventsInner.js +1 -1
  164. package/dist/internal/src/models/GetHistoryProgrammer400Response.d.ts +1 -1
  165. package/dist/internal/src/models/GetHistoryProgrammer400Response.js +1 -1
  166. package/dist/internal/src/models/GetHistoryProgrammerToday200Response.d.ts +1 -1
  167. package/dist/internal/src/models/GetHistoryProgrammerToday200Response.js +1 -1
  168. package/dist/internal/src/models/GetHistoryProgrammerToday200ResponseEventsInner.d.ts +1 -1
  169. package/dist/internal/src/models/GetHistoryProgrammerToday200ResponseEventsInner.js +1 -1
  170. package/dist/internal/src/models/GetHistoryProgrammerToday500Response.d.ts +1 -1
  171. package/dist/internal/src/models/GetHistoryProgrammerToday500Response.js +1 -1
  172. package/dist/internal/src/models/GetImageBingDaily400Response.d.ts +32 -0
  173. package/dist/internal/src/models/GetImageBingDaily400Response.js +41 -0
  174. package/dist/internal/src/models/GetImageBingDaily404Response.d.ts +32 -0
  175. package/dist/internal/src/models/GetImageBingDaily404Response.js +41 -0
  176. package/dist/internal/src/models/GetImageBingDaily500Response.d.ts +32 -0
  177. package/dist/internal/src/models/GetImageBingDaily500Response.js +41 -0
  178. package/dist/internal/src/models/GetImageBingDailyHistory200Response.d.ts +46 -0
  179. package/dist/internal/src/models/GetImageBingDailyHistory200Response.js +47 -0
  180. package/dist/internal/src/models/GetImageBingDailyHistory200ResponseItemsInner.d.ts +123 -0
  181. package/dist/internal/src/models/GetImageBingDailyHistory200ResponseItemsInner.js +72 -0
  182. package/dist/internal/src/models/GetImageBingDailyHistory200ResponsePagination.d.ts +44 -0
  183. package/dist/internal/src/models/GetImageBingDailyHistory200ResponsePagination.js +45 -0
  184. package/dist/internal/src/models/GetImageBingDailyHistory400Response.d.ts +32 -0
  185. package/dist/internal/src/models/GetImageBingDailyHistory400Response.js +41 -0
  186. package/dist/internal/src/models/GetImageMotou400Response.d.ts +1 -1
  187. package/dist/internal/src/models/GetImageMotou400Response.js +1 -1
  188. package/dist/internal/src/models/GetImageMotou500Response.d.ts +1 -1
  189. package/dist/internal/src/models/GetImageMotou500Response.js +1 -1
  190. package/dist/internal/src/models/GetImageQrcode200Response.d.ts +1 -1
  191. package/dist/internal/src/models/GetImageQrcode200Response.js +1 -1
  192. package/dist/internal/src/models/GetImageQrcode400Response.d.ts +1 -1
  193. package/dist/internal/src/models/GetImageQrcode400Response.js +1 -1
  194. package/dist/internal/src/models/GetImageQrcode500Response.d.ts +1 -1
  195. package/dist/internal/src/models/GetImageQrcode500Response.js +1 -1
  196. package/dist/internal/src/models/GetImageTobase64200Response.d.ts +1 -1
  197. package/dist/internal/src/models/GetImageTobase64200Response.js +1 -1
  198. package/dist/internal/src/models/GetImageTobase64400Response.d.ts +1 -1
  199. package/dist/internal/src/models/GetImageTobase64400Response.js +1 -1
  200. package/dist/internal/src/models/GetImageTobase64502Response.d.ts +1 -1
  201. package/dist/internal/src/models/GetImageTobase64502Response.js +1 -1
  202. package/dist/internal/src/models/GetMiscDistrict200Response.d.ts +1 -1
  203. package/dist/internal/src/models/GetMiscDistrict200Response.js +1 -1
  204. package/dist/internal/src/models/GetMiscDistrict200ResponseResultsInner.d.ts +1 -1
  205. package/dist/internal/src/models/GetMiscDistrict200ResponseResultsInner.js +1 -1
  206. package/dist/internal/src/models/GetMiscDistrict200ResponseResultsInnerCenter.d.ts +1 -1
  207. package/dist/internal/src/models/GetMiscDistrict200ResponseResultsInnerCenter.js +1 -1
  208. package/dist/internal/src/models/GetMiscDistrict400Response.d.ts +1 -1
  209. package/dist/internal/src/models/GetMiscDistrict400Response.js +1 -1
  210. package/dist/internal/src/models/GetMiscHolidayCalendar200Response.d.ts +1 -1
  211. package/dist/internal/src/models/GetMiscHolidayCalendar200Response.js +1 -1
  212. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseDaysInner.d.ts +1 -1
  213. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseDaysInner.js +1 -1
  214. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseHolidaysInner.d.ts +1 -1
  215. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseHolidaysInner.js +1 -1
  216. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearby.d.ts +1 -1
  217. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearby.js +1 -1
  218. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyNextInner.d.ts +1 -1
  219. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyNextInner.js +1 -1
  220. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyNextInnerEventsInner.d.ts +1 -1
  221. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyNextInnerEventsInner.js +1 -1
  222. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyPreviousInner.d.ts +1 -1
  223. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyPreviousInner.js +1 -1
  224. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyPreviousInnerEventsInner.d.ts +1 -1
  225. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyPreviousInnerEventsInner.js +1 -1
  226. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseQuery.d.ts +7 -1
  227. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseQuery.js +3 -1
  228. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseSummary.d.ts +1 -1
  229. package/dist/internal/src/models/GetMiscHolidayCalendar200ResponseSummary.js +1 -1
  230. package/dist/internal/src/models/GetMiscHolidayCalendar400Response.d.ts +1 -1
  231. package/dist/internal/src/models/GetMiscHolidayCalendar400Response.js +1 -1
  232. package/dist/internal/src/models/GetMiscHotboard200Response.d.ts +2 -3
  233. package/dist/internal/src/models/GetMiscHotboard200Response.js +1 -8
  234. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf.d.ts +1 -1
  235. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf.js +1 -1
  236. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf1.d.ts +1 -1
  237. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf1.js +1 -1
  238. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf1ResultsInner.d.ts +1 -1
  239. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf1ResultsInner.js +1 -1
  240. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOfListInner.d.ts +1 -1
  241. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOfListInner.js +1 -1
  242. package/dist/internal/src/models/GetMiscHotboard400Response.d.ts +1 -1
  243. package/dist/internal/src/models/GetMiscHotboard400Response.js +1 -1
  244. package/dist/internal/src/models/GetMiscHotboard500Response.d.ts +1 -1
  245. package/dist/internal/src/models/GetMiscHotboard500Response.js +1 -1
  246. package/dist/internal/src/models/GetMiscHotboard502Response.d.ts +1 -1
  247. package/dist/internal/src/models/GetMiscHotboard502Response.js +1 -1
  248. package/dist/internal/src/models/GetMiscLunartime200Response.d.ts +1 -1
  249. package/dist/internal/src/models/GetMiscLunartime200Response.js +1 -1
  250. package/dist/internal/src/models/GetMiscLunartime400Response.d.ts +1 -1
  251. package/dist/internal/src/models/GetMiscLunartime400Response.js +1 -1
  252. package/dist/internal/src/models/GetMiscPhoneinfo200Response.d.ts +2 -2
  253. package/dist/internal/src/models/GetMiscPhoneinfo200Response.js +1 -1
  254. package/dist/internal/src/models/GetMiscPhoneinfo400Response.d.ts +1 -1
  255. package/dist/internal/src/models/GetMiscPhoneinfo400Response.js +1 -1
  256. package/dist/internal/src/models/GetMiscPhoneinfo500Response.d.ts +1 -1
  257. package/dist/internal/src/models/GetMiscPhoneinfo500Response.js +1 -1
  258. package/dist/internal/src/models/GetMiscRandomnumber200Response.d.ts +1 -1
  259. package/dist/internal/src/models/GetMiscRandomnumber200Response.js +1 -1
  260. package/dist/internal/src/models/GetMiscRandomnumber400Response.d.ts +1 -1
  261. package/dist/internal/src/models/GetMiscRandomnumber400Response.js +1 -1
  262. package/dist/internal/src/models/GetMiscTimestamp200Response.d.ts +1 -1
  263. package/dist/internal/src/models/GetMiscTimestamp200Response.js +1 -1
  264. package/dist/internal/src/models/GetMiscTimestamp400Response.d.ts +1 -1
  265. package/dist/internal/src/models/GetMiscTimestamp400Response.js +1 -1
  266. package/dist/internal/src/models/GetMiscTrackingCarriers200Response.d.ts +1 -1
  267. package/dist/internal/src/models/GetMiscTrackingCarriers200Response.js +1 -1
  268. package/dist/internal/src/models/GetMiscTrackingCarriers200ResponseCarriersInner.d.ts +1 -1
  269. package/dist/internal/src/models/GetMiscTrackingCarriers200ResponseCarriersInner.js +1 -1
  270. package/dist/internal/src/models/GetMiscTrackingDetect200Response.d.ts +1 -1
  271. package/dist/internal/src/models/GetMiscTrackingDetect200Response.js +1 -1
  272. package/dist/internal/src/models/GetMiscTrackingDetect200ResponseAlternativesInner.d.ts +1 -1
  273. package/dist/internal/src/models/GetMiscTrackingDetect200ResponseAlternativesInner.js +1 -1
  274. package/dist/internal/src/models/GetMiscTrackingDetect404Response.d.ts +1 -1
  275. package/dist/internal/src/models/GetMiscTrackingDetect404Response.js +1 -1
  276. package/dist/internal/src/models/GetMiscTrackingQuery200Response.d.ts +1 -1
  277. package/dist/internal/src/models/GetMiscTrackingQuery200Response.js +1 -1
  278. package/dist/internal/src/models/GetMiscTrackingQuery200ResponseTracksInner.d.ts +1 -1
  279. package/dist/internal/src/models/GetMiscTrackingQuery200ResponseTracksInner.js +1 -1
  280. package/dist/internal/src/models/GetMiscTrackingQuery400Response.d.ts +1 -1
  281. package/dist/internal/src/models/GetMiscTrackingQuery400Response.js +1 -1
  282. package/dist/internal/src/models/GetMiscTrackingQuery404Response.d.ts +1 -1
  283. package/dist/internal/src/models/GetMiscTrackingQuery404Response.js +1 -1
  284. package/dist/internal/src/models/GetMiscWeather200Response.d.ts +1 -1
  285. package/dist/internal/src/models/GetMiscWeather200Response.js +1 -1
  286. package/dist/internal/src/models/GetMiscWeather200ResponseAirPollutants.d.ts +1 -1
  287. package/dist/internal/src/models/GetMiscWeather200ResponseAirPollutants.js +1 -1
  288. package/dist/internal/src/models/GetMiscWeather200ResponseForecastInner.d.ts +1 -1
  289. package/dist/internal/src/models/GetMiscWeather200ResponseForecastInner.js +1 -1
  290. package/dist/internal/src/models/GetMiscWeather200ResponseHourlyForecastInner.d.ts +1 -19
  291. package/dist/internal/src/models/GetMiscWeather200ResponseHourlyForecastInner.js +1 -7
  292. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndices.d.ts +1 -1
  293. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndices.js +1 -1
  294. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirConditioner.d.ts +1 -1
  295. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirConditioner.js +1 -1
  296. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirPurifier.d.ts +1 -1
  297. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirPurifier.js +1 -1
  298. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesAllergy.d.ts +1 -1
  299. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesAllergy.js +1 -1
  300. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesBeer.d.ts +1 -1
  301. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesBeer.js +1 -1
  302. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesCarWash.d.ts +1 -1
  303. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesCarWash.js +1 -1
  304. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesClothing.d.ts +1 -1
  305. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesClothing.js +1 -1
  306. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesColdRisk.d.ts +1 -1
  307. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesColdRisk.js +1 -1
  308. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesComfort.d.ts +1 -1
  309. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesComfort.js +1 -1
  310. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesDrying.d.ts +1 -1
  311. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesDrying.js +1 -1
  312. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesExercise.d.ts +1 -1
  313. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesExercise.js +1 -1
  314. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesFishing.d.ts +1 -1
  315. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesFishing.js +1 -1
  316. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesMood.d.ts +1 -1
  317. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesMood.js +1 -1
  318. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesPollen.d.ts +1 -1
  319. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesPollen.js +1 -1
  320. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesSunscreen.d.ts +1 -1
  321. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesSunscreen.js +1 -1
  322. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesTraffic.d.ts +1 -1
  323. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesTraffic.js +1 -1
  324. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesTravel.d.ts +1 -1
  325. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesTravel.js +1 -1
  326. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesUmbrella.d.ts +1 -1
  327. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesUmbrella.js +1 -1
  328. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesUv.d.ts +1 -1
  329. package/dist/internal/src/models/GetMiscWeather200ResponseLifeIndicesUv.js +1 -1
  330. package/dist/internal/src/models/GetMiscWeather200ResponseMinutelyPrecip.d.ts +1 -1
  331. package/dist/internal/src/models/GetMiscWeather200ResponseMinutelyPrecip.js +1 -1
  332. package/dist/internal/src/models/GetMiscWeather200ResponseMinutelyPrecipDataInner.d.ts +1 -1
  333. package/dist/internal/src/models/GetMiscWeather200ResponseMinutelyPrecipDataInner.js +1 -1
  334. package/dist/internal/src/models/GetMiscWeather400Response.d.ts +1 -1
  335. package/dist/internal/src/models/GetMiscWeather400Response.js +1 -1
  336. package/dist/internal/src/models/GetMiscWeather404Response.d.ts +1 -1
  337. package/dist/internal/src/models/GetMiscWeather404Response.js +1 -1
  338. package/dist/internal/src/models/GetMiscWeather500Response.d.ts +1 -1
  339. package/dist/internal/src/models/GetMiscWeather500Response.js +1 -1
  340. package/dist/internal/src/models/GetMiscWeather503Response.d.ts +1 -1
  341. package/dist/internal/src/models/GetMiscWeather503Response.js +1 -1
  342. package/dist/internal/src/models/GetMiscWorldtime200Response.d.ts +1 -1
  343. package/dist/internal/src/models/GetMiscWorldtime200Response.js +1 -1
  344. package/dist/internal/src/models/GetMiscWorldtime400Response.d.ts +1 -1
  345. package/dist/internal/src/models/GetMiscWorldtime400Response.js +1 -1
  346. package/dist/internal/src/models/GetMiscWorldtime404Response.d.ts +1 -1
  347. package/dist/internal/src/models/GetMiscWorldtime404Response.js +1 -1
  348. package/dist/internal/src/models/GetNetworkDns200Response.d.ts +1 -1
  349. package/dist/internal/src/models/GetNetworkDns200Response.js +1 -1
  350. package/dist/internal/src/models/GetNetworkDns200ResponseRecordsInner.d.ts +1 -1
  351. package/dist/internal/src/models/GetNetworkDns200ResponseRecordsInner.js +1 -1
  352. package/dist/internal/src/models/GetNetworkDns400Response.d.ts +1 -1
  353. package/dist/internal/src/models/GetNetworkDns400Response.js +1 -1
  354. package/dist/internal/src/models/GetNetworkDns404Response.d.ts +1 -1
  355. package/dist/internal/src/models/GetNetworkDns404Response.js +1 -1
  356. package/dist/internal/src/models/GetNetworkIcp200Response.d.ts +1 -1
  357. package/dist/internal/src/models/GetNetworkIcp200Response.js +1 -1
  358. package/dist/internal/src/models/GetNetworkIcp404Response.d.ts +1 -1
  359. package/dist/internal/src/models/GetNetworkIcp404Response.js +1 -1
  360. package/dist/internal/src/models/GetNetworkIpinfo200Response.d.ts +1 -1
  361. package/dist/internal/src/models/GetNetworkIpinfo200Response.js +1 -1
  362. package/dist/internal/src/models/GetNetworkIpinfo400Response.d.ts +1 -1
  363. package/dist/internal/src/models/GetNetworkIpinfo400Response.js +1 -1
  364. package/dist/internal/src/models/GetNetworkIpinfo404Response.d.ts +1 -1
  365. package/dist/internal/src/models/GetNetworkIpinfo404Response.js +1 -1
  366. package/dist/internal/src/models/GetNetworkIpinfo500Response.d.ts +1 -1
  367. package/dist/internal/src/models/GetNetworkIpinfo500Response.js +1 -1
  368. package/dist/internal/src/models/GetNetworkMyip200Response.d.ts +1 -1
  369. package/dist/internal/src/models/GetNetworkMyip200Response.js +1 -1
  370. package/dist/internal/src/models/GetNetworkMyip400Response.d.ts +1 -1
  371. package/dist/internal/src/models/GetNetworkMyip400Response.js +1 -1
  372. package/dist/internal/src/models/GetNetworkMyip500Response.d.ts +1 -1
  373. package/dist/internal/src/models/GetNetworkMyip500Response.js +1 -1
  374. package/dist/internal/src/models/GetNetworkPing200Response.d.ts +1 -1
  375. package/dist/internal/src/models/GetNetworkPing200Response.js +1 -1
  376. package/dist/internal/src/models/GetNetworkPing400Response.d.ts +1 -1
  377. package/dist/internal/src/models/GetNetworkPing400Response.js +1 -1
  378. package/dist/internal/src/models/GetNetworkPing429Response.d.ts +1 -1
  379. package/dist/internal/src/models/GetNetworkPing429Response.js +1 -1
  380. package/dist/internal/src/models/GetNetworkPingmyip200Response.d.ts +1 -1
  381. package/dist/internal/src/models/GetNetworkPingmyip200Response.js +1 -1
  382. package/dist/internal/src/models/GetNetworkPingmyip404Response.d.ts +1 -1
  383. package/dist/internal/src/models/GetNetworkPingmyip404Response.js +1 -1
  384. package/dist/internal/src/models/GetNetworkPortscan200Response.d.ts +1 -1
  385. package/dist/internal/src/models/GetNetworkPortscan200Response.js +1 -1
  386. package/dist/internal/src/models/GetNetworkPortscan400Response.d.ts +1 -1
  387. package/dist/internal/src/models/GetNetworkPortscan400Response.js +1 -1
  388. package/dist/internal/src/models/GetNetworkPortscan500Response.d.ts +1 -1
  389. package/dist/internal/src/models/GetNetworkPortscan500Response.js +1 -1
  390. package/dist/internal/src/models/GetNetworkUrlstatus200Response.d.ts +1 -1
  391. package/dist/internal/src/models/GetNetworkUrlstatus200Response.js +1 -1
  392. package/dist/internal/src/models/GetNetworkUrlstatus200ResponseOneOf.d.ts +1 -1
  393. package/dist/internal/src/models/GetNetworkUrlstatus200ResponseOneOf.js +1 -1
  394. package/dist/internal/src/models/GetNetworkUrlstatus200ResponseOneOf1.d.ts +1 -1
  395. package/dist/internal/src/models/GetNetworkUrlstatus200ResponseOneOf1.js +1 -1
  396. package/dist/internal/src/models/GetNetworkUrlstatus502Response.d.ts +1 -1
  397. package/dist/internal/src/models/GetNetworkUrlstatus502Response.js +1 -1
  398. package/dist/internal/src/models/GetNetworkWhois200Response.d.ts +1 -1
  399. package/dist/internal/src/models/GetNetworkWhois200Response.js +1 -1
  400. package/dist/internal/src/models/GetNetworkWhois200ResponseOneOf.d.ts +2 -4
  401. package/dist/internal/src/models/GetNetworkWhois200ResponseOneOf.js +1 -1
  402. package/dist/internal/src/models/GetNetworkWhois200ResponseOneOf1.d.ts +3 -9
  403. package/dist/internal/src/models/GetNetworkWhois200ResponseOneOf1.js +1 -1
  404. package/dist/internal/src/models/GetNetworkWhois404Response.d.ts +1 -1
  405. package/dist/internal/src/models/GetNetworkWhois404Response.js +1 -1
  406. package/dist/internal/src/models/GetNetworkWxdomain200Response.d.ts +1 -1
  407. package/dist/internal/src/models/GetNetworkWxdomain200Response.js +1 -1
  408. package/dist/internal/src/models/GetNetworkWxdomain502Response.d.ts +1 -1
  409. package/dist/internal/src/models/GetNetworkWxdomain502Response.js +1 -1
  410. package/dist/internal/src/models/GetRandomImage404Response.d.ts +1 -1
  411. package/dist/internal/src/models/GetRandomImage404Response.js +1 -1
  412. package/dist/internal/src/models/GetRandomImage500Response.d.ts +1 -1
  413. package/dist/internal/src/models/GetRandomImage500Response.js +1 -1
  414. package/dist/internal/src/models/GetRandomString200Response.d.ts +1 -1
  415. package/dist/internal/src/models/GetRandomString200Response.js +1 -1
  416. package/dist/internal/src/models/GetRandomString400Response.d.ts +1 -1
  417. package/dist/internal/src/models/GetRandomString400Response.js +1 -1
  418. package/dist/internal/src/models/GetRandomString500Response.d.ts +1 -1
  419. package/dist/internal/src/models/GetRandomString500Response.js +1 -1
  420. package/dist/internal/src/models/GetSaying200Response.d.ts +1 -1
  421. package/dist/internal/src/models/GetSaying200Response.js +1 -1
  422. package/dist/internal/src/models/GetSaying500Response.d.ts +1 -1
  423. package/dist/internal/src/models/GetSaying500Response.js +1 -1
  424. package/dist/internal/src/models/GetSearchEngines200Response.d.ts +1 -1
  425. package/dist/internal/src/models/GetSearchEngines200Response.js +1 -1
  426. package/dist/internal/src/models/GetSearchEngines200ResponseEngine.d.ts +2 -2
  427. package/dist/internal/src/models/GetSearchEngines200ResponseEngine.js +1 -1
  428. package/dist/internal/src/models/GetSearchEngines200ResponseLimits.d.ts +1 -1
  429. package/dist/internal/src/models/GetSearchEngines200ResponseLimits.js +1 -1
  430. package/dist/internal/src/models/GetSensitiveWordAnalyzeQuery400Response.d.ts +1 -1
  431. package/dist/internal/src/models/GetSensitiveWordAnalyzeQuery400Response.js +1 -1
  432. package/dist/internal/src/models/GetSocialBilibiliArchives200Response.d.ts +1 -1
  433. package/dist/internal/src/models/GetSocialBilibiliArchives200Response.js +1 -1
  434. package/dist/internal/src/models/GetSocialBilibiliArchives200ResponseVideosInner.d.ts +1 -1
  435. package/dist/internal/src/models/GetSocialBilibiliArchives200ResponseVideosInner.js +1 -1
  436. package/dist/internal/src/models/GetSocialBilibiliArchives400Response.d.ts +1 -1
  437. package/dist/internal/src/models/GetSocialBilibiliArchives400Response.js +1 -1
  438. package/dist/internal/src/models/GetSocialBilibiliArchives404Response.d.ts +1 -1
  439. package/dist/internal/src/models/GetSocialBilibiliArchives404Response.js +1 -1
  440. package/dist/internal/src/models/GetSocialBilibiliArchives500Response.d.ts +1 -1
  441. package/dist/internal/src/models/GetSocialBilibiliArchives500Response.js +1 -1
  442. package/dist/internal/src/models/GetSocialBilibiliLiveroom200Response.d.ts +1 -1
  443. package/dist/internal/src/models/GetSocialBilibiliLiveroom200Response.js +1 -1
  444. package/dist/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendants.d.ts +1 -1
  445. package/dist/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendants.js +1 -1
  446. package/dist/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendantsBadge.d.ts +1 -1
  447. package/dist/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendantsBadge.js +1 -1
  448. package/dist/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendantsFrame.d.ts +1 -1
  449. package/dist/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendantsFrame.js +1 -1
  450. package/dist/internal/src/models/GetSocialBilibiliReplies200Response.d.ts +1 -1
  451. package/dist/internal/src/models/GetSocialBilibiliReplies200Response.js +1 -1
  452. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponsePage.d.ts +1 -1
  453. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponsePage.js +1 -1
  454. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInner.d.ts +1 -1
  455. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInner.js +1 -1
  456. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerContent.d.ts +1 -1
  457. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerContent.js +1 -1
  458. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerMember.d.ts +1 -1
  459. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerMember.js +1 -1
  460. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerMemberLevelInfo.d.ts +1 -1
  461. package/dist/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerMemberLevelInfo.js +1 -1
  462. package/dist/internal/src/models/GetSocialBilibiliUserinfo200Response.d.ts +1 -1
  463. package/dist/internal/src/models/GetSocialBilibiliUserinfo200Response.js +1 -1
  464. package/dist/internal/src/models/GetSocialBilibiliUserinfo400Response.d.ts +1 -1
  465. package/dist/internal/src/models/GetSocialBilibiliUserinfo400Response.js +1 -1
  466. package/dist/internal/src/models/GetSocialBilibiliUserinfo404Response.d.ts +1 -1
  467. package/dist/internal/src/models/GetSocialBilibiliUserinfo404Response.js +1 -1
  468. package/dist/internal/src/models/GetSocialBilibiliUserinfo502Response.d.ts +1 -1
  469. package/dist/internal/src/models/GetSocialBilibiliUserinfo502Response.js +1 -1
  470. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200Response.d.ts +1 -1
  471. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200Response.js +1 -1
  472. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseDescV2Inner.d.ts +1 -1
  473. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseDescV2Inner.js +1 -1
  474. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseDimension.d.ts +1 -1
  475. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseDimension.js +1 -1
  476. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseHonorReply.d.ts +1 -1
  477. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseHonorReply.js +1 -1
  478. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseHonorReplyHonorInner.d.ts +1 -1
  479. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseHonorReplyHonorInner.js +1 -1
  480. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseOwner.d.ts +1 -1
  481. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseOwner.js +1 -1
  482. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponsePagesInner.d.ts +1 -1
  483. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponsePagesInner.js +1 -1
  484. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponsePagesInnerDimension.d.ts +1 -1
  485. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponsePagesInnerDimension.js +1 -1
  486. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseRights.d.ts +1 -1
  487. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseRights.js +1 -1
  488. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseStaffInner.d.ts +1 -1
  489. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseStaffInner.js +1 -1
  490. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseStat.d.ts +1 -1
  491. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseStat.js +1 -1
  492. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitle.d.ts +1 -1
  493. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitle.js +1 -1
  494. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitleListInner.d.ts +1 -1
  495. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitleListInner.js +1 -1
  496. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitleListInnerAuthor.d.ts +1 -1
  497. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitleListInnerAuthor.js +1 -1
  498. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseUgcSeason.d.ts +1 -1
  499. package/dist/internal/src/models/GetSocialBilibiliVideoinfo200ResponseUgcSeason.js +1 -1
  500. package/dist/internal/src/models/GetSocialQqGroupinfo200Response.d.ts +1 -1
  501. package/dist/internal/src/models/GetSocialQqGroupinfo200Response.js +1 -1
  502. package/dist/internal/src/models/GetSocialQqGroupinfo400Response.d.ts +1 -1
  503. package/dist/internal/src/models/GetSocialQqGroupinfo400Response.js +1 -1
  504. package/dist/internal/src/models/GetSocialQqGroupinfo404Response.d.ts +1 -1
  505. package/dist/internal/src/models/GetSocialQqGroupinfo404Response.js +1 -1
  506. package/dist/internal/src/models/GetSocialQqUserinfo200Response.d.ts +3 -3
  507. package/dist/internal/src/models/GetSocialQqUserinfo200Response.js +1 -1
  508. package/dist/internal/src/models/GetSocialQqUserinfo400Response.d.ts +1 -1
  509. package/dist/internal/src/models/GetSocialQqUserinfo400Response.js +1 -1
  510. package/dist/internal/src/models/GetSocialQqUserinfo404Response.d.ts +1 -1
  511. package/dist/internal/src/models/GetSocialQqUserinfo404Response.js +1 -1
  512. package/dist/internal/src/models/GetStatusRatelimit200Response.d.ts +1 -1
  513. package/dist/internal/src/models/GetStatusRatelimit200Response.js +1 -1
  514. package/dist/internal/src/models/GetStatusRatelimit401Response.d.ts +1 -1
  515. package/dist/internal/src/models/GetStatusRatelimit401Response.js +1 -1
  516. package/dist/internal/src/models/GetStatusUsage200Response.d.ts +1 -1
  517. package/dist/internal/src/models/GetStatusUsage200Response.js +1 -1
  518. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOf.d.ts +1 -1
  519. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOf.js +1 -1
  520. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOf1.d.ts +1 -1
  521. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOf1.js +1 -1
  522. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOfEndpointsInner.d.ts +1 -1
  523. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOfEndpointsInner.js +1 -1
  524. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOfUnaggregated.d.ts +1 -1
  525. package/dist/internal/src/models/GetStatusUsage200ResponseAnyOfUnaggregated.js +1 -1
  526. package/dist/internal/src/models/GetStatusUsage404Response.d.ts +1 -1
  527. package/dist/internal/src/models/GetStatusUsage404Response.js +1 -1
  528. package/dist/internal/src/models/GetTextMd5200Response.d.ts +1 -1
  529. package/dist/internal/src/models/GetTextMd5200Response.js +1 -1
  530. package/dist/internal/src/models/GetTextMd5400Response.d.ts +1 -1
  531. package/dist/internal/src/models/GetTextMd5400Response.js +1 -1
  532. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200Response.d.ts +1 -1
  533. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200Response.js +1 -1
  534. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf.d.ts +1 -1
  535. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf.js +1 -1
  536. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf1.d.ts +1 -1
  537. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf1.js +1 -1
  538. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf2.d.ts +1 -1
  539. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf2.js +1 -1
  540. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf2Result.d.ts +1 -1
  541. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf2Result.js +1 -1
  542. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf3.d.ts +1 -1
  543. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf3.js +1 -1
  544. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus404Response.d.ts +1 -1
  545. package/dist/internal/src/models/GetWebTomarkdownAsyncStatus404Response.js +1 -1
  546. package/dist/internal/src/models/GetWebparseExtractimages200Response.d.ts +1 -1
  547. package/dist/internal/src/models/GetWebparseExtractimages200Response.js +1 -1
  548. package/dist/internal/src/models/GetWebparseExtractimages500Response.d.ts +1 -1
  549. package/dist/internal/src/models/GetWebparseExtractimages500Response.js +1 -1
  550. package/dist/internal/src/models/GetWebparseMetadata200Response.d.ts +1 -1
  551. package/dist/internal/src/models/GetWebparseMetadata200Response.js +1 -1
  552. package/dist/internal/src/models/GetWebparseMetadata500Response.d.ts +1 -1
  553. package/dist/internal/src/models/GetWebparseMetadata500Response.js +1 -1
  554. package/dist/internal/src/models/HTML.d.ts +38 -0
  555. package/dist/internal/src/models/HTML.js +43 -0
  556. package/dist/internal/src/models/Markdown.d.ts +38 -0
  557. package/dist/internal/src/models/Markdown.js +43 -0
  558. package/dist/internal/src/models/PostAiTranslate200Response.d.ts +1 -1
  559. package/dist/internal/src/models/PostAiTranslate200Response.js +1 -1
  560. package/dist/internal/src/models/PostAiTranslate200ResponseData.d.ts +1 -1
  561. package/dist/internal/src/models/PostAiTranslate200ResponseData.js +1 -1
  562. package/dist/internal/src/models/PostAiTranslate200ResponsePerformance.d.ts +1 -1
  563. package/dist/internal/src/models/PostAiTranslate200ResponsePerformance.js +1 -1
  564. package/dist/internal/src/models/PostAiTranslate400Response.d.ts +1 -1
  565. package/dist/internal/src/models/PostAiTranslate400Response.js +1 -1
  566. package/dist/internal/src/models/PostAiTranslate401Response.d.ts +1 -1
  567. package/dist/internal/src/models/PostAiTranslate401Response.js +1 -1
  568. package/dist/internal/src/models/PostAiTranslate429Response.d.ts +1 -1
  569. package/dist/internal/src/models/PostAiTranslate429Response.js +1 -1
  570. package/dist/internal/src/models/PostAiTranslate500Response.d.ts +1 -1
  571. package/dist/internal/src/models/PostAiTranslate500Response.js +1 -1
  572. package/dist/internal/src/models/PostAiTranslateRequest.d.ts +1 -1
  573. package/dist/internal/src/models/PostAiTranslateRequest.js +1 -1
  574. package/dist/internal/src/models/PostAnswerbookAsk200Response.d.ts +1 -1
  575. package/dist/internal/src/models/PostAnswerbookAsk200Response.js +1 -1
  576. package/dist/internal/src/models/PostAnswerbookAskRequest.d.ts +1 -1
  577. package/dist/internal/src/models/PostAnswerbookAskRequest.js +1 -1
  578. package/dist/internal/src/models/PostClipzyStore200Response.d.ts +1 -1
  579. package/dist/internal/src/models/PostClipzyStore200Response.js +1 -1
  580. package/dist/internal/src/models/PostClipzyStore400Response.d.ts +1 -1
  581. package/dist/internal/src/models/PostClipzyStore400Response.js +1 -1
  582. package/dist/internal/src/models/PostClipzyStore413Response.d.ts +1 -1
  583. package/dist/internal/src/models/PostClipzyStore413Response.js +1 -1
  584. package/dist/internal/src/models/PostClipzyStoreRequest.d.ts +1 -1
  585. package/dist/internal/src/models/PostClipzyStoreRequest.js +1 -1
  586. package/dist/internal/src/models/PostConvertJson200Response.d.ts +1 -1
  587. package/dist/internal/src/models/PostConvertJson200Response.js +1 -1
  588. package/dist/internal/src/models/PostConvertJson400Response.d.ts +1 -1
  589. package/dist/internal/src/models/PostConvertJson400Response.js +1 -1
  590. package/dist/internal/src/models/PostConvertJsonRequest.d.ts +1 -1
  591. package/dist/internal/src/models/PostConvertJsonRequest.js +1 -1
  592. package/dist/internal/src/models/PostImageCompress400Response.d.ts +1 -1
  593. package/dist/internal/src/models/PostImageCompress400Response.js +1 -1
  594. package/dist/internal/src/models/PostImageCompress500Response.d.ts +1 -1
  595. package/dist/internal/src/models/PostImageCompress500Response.js +1 -1
  596. package/dist/internal/src/models/PostImageDecode400Response.d.ts +32 -0
  597. package/dist/internal/src/models/PostImageDecode400Response.js +41 -0
  598. package/dist/internal/src/models/PostImageDecode413Response.d.ts +32 -0
  599. package/dist/internal/src/models/PostImageDecode413Response.js +41 -0
  600. package/dist/internal/src/models/PostImageDecode500Response.d.ts +32 -0
  601. package/dist/internal/src/models/PostImageDecode500Response.js +41 -0
  602. package/dist/internal/src/models/PostImageDecode502Response.d.ts +32 -0
  603. package/dist/internal/src/models/PostImageDecode502Response.js +41 -0
  604. package/dist/internal/src/models/PostImageDecode503Response.d.ts +32 -0
  605. package/dist/internal/src/models/PostImageDecode503Response.js +41 -0
  606. package/dist/internal/src/models/PostImageDecode504Response.d.ts +32 -0
  607. package/dist/internal/src/models/PostImageDecode504Response.js +41 -0
  608. package/dist/internal/src/models/PostImageFrombase64200Response.d.ts +1 -1
  609. package/dist/internal/src/models/PostImageFrombase64200Response.js +1 -1
  610. package/dist/internal/src/models/PostImageFrombase64400Response.d.ts +1 -1
  611. package/dist/internal/src/models/PostImageFrombase64400Response.js +1 -1
  612. package/dist/internal/src/models/PostImageFrombase64500Response.d.ts +1 -1
  613. package/dist/internal/src/models/PostImageFrombase64500Response.js +1 -1
  614. package/dist/internal/src/models/PostImageFrombase64Request.d.ts +1 -1
  615. package/dist/internal/src/models/PostImageFrombase64Request.js +1 -1
  616. package/dist/internal/src/models/PostImageMotou400Response.d.ts +1 -1
  617. package/dist/internal/src/models/PostImageMotou400Response.js +1 -1
  618. package/dist/internal/src/models/PostImageMotou500Response.d.ts +1 -1
  619. package/dist/internal/src/models/PostImageMotou500Response.js +1 -1
  620. package/dist/internal/src/models/PostImageNsfw200Response.d.ts +1 -1
  621. package/dist/internal/src/models/PostImageNsfw200Response.js +1 -1
  622. package/dist/internal/src/models/PostImageNsfw400Response.d.ts +1 -1
  623. package/dist/internal/src/models/PostImageNsfw400Response.js +1 -1
  624. package/dist/internal/src/models/PostImageNsfw413Response.d.ts +1 -1
  625. package/dist/internal/src/models/PostImageNsfw413Response.js +1 -1
  626. package/dist/internal/src/models/PostImageNsfw500Response.d.ts +1 -1
  627. package/dist/internal/src/models/PostImageNsfw500Response.js +1 -1
  628. package/dist/internal/src/models/PostImageOcr200Response.d.ts +105 -0
  629. package/dist/internal/src/models/PostImageOcr200Response.js +66 -0
  630. package/dist/internal/src/models/PostImageOcr200ResponseWordsResultInner.d.ts +52 -0
  631. package/dist/internal/src/models/PostImageOcr200ResponseWordsResultInner.js +49 -0
  632. package/dist/internal/src/models/PostImageOcr200ResponseWordsResultInnerLocation.d.ts +50 -0
  633. package/dist/internal/src/models/PostImageOcr200ResponseWordsResultInnerLocation.js +47 -0
  634. package/dist/internal/src/models/PostImageOcr200ResponseWordsResultInnerVertexesLocationInner.d.ts +38 -0
  635. package/dist/internal/src/models/PostImageOcr200ResponseWordsResultInnerVertexesLocationInner.js +43 -0
  636. package/dist/internal/src/models/PostImageOcr400Response.d.ts +24 -0
  637. package/dist/internal/src/models/PostImageOcr400Response.js +58 -0
  638. package/dist/internal/src/models/PostImageOcr400ResponseOneOf.d.ts +38 -0
  639. package/dist/internal/src/models/{GetImageBingDaily502Response.js → PostImageOcr400ResponseOneOf.js} +9 -9
  640. package/dist/internal/src/models/PostImageOcr400ResponseOneOf1.d.ts +38 -0
  641. package/dist/internal/src/models/PostImageOcr400ResponseOneOf1.js +43 -0
  642. package/dist/internal/src/models/PostImageOcr413Response.d.ts +38 -0
  643. package/dist/internal/src/models/PostImageOcr413Response.js +43 -0
  644. package/dist/internal/src/models/PostImageOcr415Response.d.ts +38 -0
  645. package/dist/internal/src/models/PostImageOcr415Response.js +43 -0
  646. package/dist/internal/src/models/PostImageOcr502Response.d.ts +38 -0
  647. package/dist/internal/src/models/PostImageOcr502Response.js +43 -0
  648. package/dist/internal/src/models/PostImageOcr503Response.d.ts +38 -0
  649. package/dist/internal/src/models/PostImageOcr503Response.js +43 -0
  650. package/dist/internal/src/models/PostImageSpeechless400Response.d.ts +1 -1
  651. package/dist/internal/src/models/PostImageSpeechless400Response.js +1 -1
  652. package/dist/internal/src/models/PostImageSpeechless500Response.d.ts +1 -1
  653. package/dist/internal/src/models/PostImageSpeechless500Response.js +1 -1
  654. package/dist/internal/src/models/PostImageSpeechlessRequest.d.ts +1 -1
  655. package/dist/internal/src/models/PostImageSpeechlessRequest.js +1 -1
  656. package/dist/internal/src/models/PostImageSvg400Response.d.ts +1 -1
  657. package/dist/internal/src/models/PostImageSvg400Response.js +1 -1
  658. package/dist/internal/src/models/PostImageSvg500Response.d.ts +1 -1
  659. package/dist/internal/src/models/PostImageSvg500Response.js +1 -1
  660. package/dist/internal/src/models/PostMiscDateDiff200Response.d.ts +1 -1
  661. package/dist/internal/src/models/PostMiscDateDiff200Response.js +1 -1
  662. package/dist/internal/src/models/PostMiscDateDiff400Response.d.ts +1 -1
  663. package/dist/internal/src/models/PostMiscDateDiff400Response.js +1 -1
  664. package/dist/internal/src/models/PostMiscDateDiffRequest.d.ts +1 -1
  665. package/dist/internal/src/models/PostMiscDateDiffRequest.js +1 -1
  666. package/dist/internal/src/models/PostSearchAggregate200Response.d.ts +9 -8
  667. package/dist/internal/src/models/PostSearchAggregate200Response.js +4 -3
  668. package/dist/internal/src/models/PostSearchAggregate200ResponseMetadata.d.ts +51 -0
  669. package/dist/internal/src/models/PostSearchAggregate200ResponseMetadata.js +48 -0
  670. package/dist/internal/src/models/PostSearchAggregate200ResponseMetadataRequestParams.d.ts +56 -0
  671. package/dist/internal/src/models/PostSearchAggregate200ResponseMetadataRequestParams.js +49 -0
  672. package/dist/internal/src/models/PostSearchAggregate200ResponseResultsInner.d.ts +4 -10
  673. package/dist/internal/src/models/PostSearchAggregate200ResponseResultsInner.js +1 -3
  674. package/dist/internal/src/models/PostSearchAggregate200ResponseSourcesInner.d.ts +6 -6
  675. package/dist/internal/src/models/PostSearchAggregate200ResponseSourcesInner.js +1 -1
  676. package/dist/internal/src/models/PostSearchAggregate400Response.d.ts +1 -7
  677. package/dist/internal/src/models/PostSearchAggregate400Response.js +1 -3
  678. package/dist/internal/src/models/PostSearchAggregate401Response.d.ts +1 -7
  679. package/dist/internal/src/models/PostSearchAggregate401Response.js +1 -3
  680. package/dist/internal/src/models/PostSearchAggregate429Response.d.ts +1 -7
  681. package/dist/internal/src/models/PostSearchAggregate429Response.js +1 -3
  682. package/dist/internal/src/models/PostSearchAggregate500Response.d.ts +1 -7
  683. package/dist/internal/src/models/PostSearchAggregate500Response.js +1 -3
  684. package/dist/internal/src/models/PostSearchAggregateRequest.d.ts +1 -7
  685. package/dist/internal/src/models/PostSearchAggregateRequest.js +1 -3
  686. package/dist/internal/src/models/PostSensitiveWordAnalyze200Response.d.ts +1 -1
  687. package/dist/internal/src/models/PostSensitiveWordAnalyze200Response.js +1 -1
  688. package/dist/internal/src/models/PostSensitiveWordAnalyze200ResponseResultsInner.d.ts +1 -1
  689. package/dist/internal/src/models/PostSensitiveWordAnalyze200ResponseResultsInner.js +1 -1
  690. package/dist/internal/src/models/PostSensitiveWordAnalyze400Response.d.ts +1 -1
  691. package/dist/internal/src/models/PostSensitiveWordAnalyze400Response.js +1 -1
  692. package/dist/internal/src/models/PostSensitiveWordAnalyze401Response.d.ts +1 -1
  693. package/dist/internal/src/models/PostSensitiveWordAnalyze401Response.js +1 -1
  694. package/dist/internal/src/models/PostSensitiveWordAnalyze429Response.d.ts +1 -1
  695. package/dist/internal/src/models/PostSensitiveWordAnalyze429Response.js +1 -1
  696. package/dist/internal/src/models/PostSensitiveWordAnalyzeRequest.d.ts +1 -1
  697. package/dist/internal/src/models/PostSensitiveWordAnalyzeRequest.js +1 -1
  698. package/dist/internal/src/models/PostSensitiveWordQuickCheck200Response.d.ts +1 -1
  699. package/dist/internal/src/models/PostSensitiveWordQuickCheck200Response.js +1 -1
  700. package/dist/internal/src/models/PostSensitiveWordQuickCheckRequest.d.ts +1 -1
  701. package/dist/internal/src/models/PostSensitiveWordQuickCheckRequest.js +1 -1
  702. package/dist/internal/src/models/PostTextAesDecrypt200Response.d.ts +1 -1
  703. package/dist/internal/src/models/PostTextAesDecrypt200Response.js +1 -1
  704. package/dist/internal/src/models/PostTextAesDecrypt400Response.d.ts +1 -1
  705. package/dist/internal/src/models/PostTextAesDecrypt400Response.js +1 -1
  706. package/dist/internal/src/models/PostTextAesDecrypt500Response.d.ts +1 -1
  707. package/dist/internal/src/models/PostTextAesDecrypt500Response.js +1 -1
  708. package/dist/internal/src/models/PostTextAesDecryptAdvanced200Response.d.ts +1 -1
  709. package/dist/internal/src/models/PostTextAesDecryptAdvanced200Response.js +1 -1
  710. package/dist/internal/src/models/PostTextAesDecryptAdvanced400Response.d.ts +1 -1
  711. package/dist/internal/src/models/PostTextAesDecryptAdvanced400Response.js +1 -1
  712. package/dist/internal/src/models/PostTextAesDecryptAdvancedRequest.d.ts +1 -1
  713. package/dist/internal/src/models/PostTextAesDecryptAdvancedRequest.js +1 -1
  714. package/dist/internal/src/models/PostTextAesDecryptRequest.d.ts +2 -2
  715. package/dist/internal/src/models/PostTextAesDecryptRequest.js +2 -4
  716. package/dist/internal/src/models/PostTextAesEncrypt200Response.d.ts +1 -1
  717. package/dist/internal/src/models/PostTextAesEncrypt200Response.js +1 -1
  718. package/dist/internal/src/models/PostTextAesEncrypt400Response.d.ts +1 -1
  719. package/dist/internal/src/models/PostTextAesEncrypt400Response.js +1 -1
  720. package/dist/internal/src/models/PostTextAesEncrypt500Response.d.ts +1 -1
  721. package/dist/internal/src/models/PostTextAesEncrypt500Response.js +1 -1
  722. package/dist/internal/src/models/PostTextAesEncryptAdvanced200Response.d.ts +1 -1
  723. package/dist/internal/src/models/PostTextAesEncryptAdvanced200Response.js +1 -1
  724. package/dist/internal/src/models/PostTextAesEncryptAdvanced400Response.d.ts +1 -1
  725. package/dist/internal/src/models/PostTextAesEncryptAdvanced400Response.js +1 -1
  726. package/dist/internal/src/models/PostTextAesEncryptAdvancedRequest.d.ts +1 -1
  727. package/dist/internal/src/models/PostTextAesEncryptAdvancedRequest.js +1 -1
  728. package/dist/internal/src/models/PostTextAesEncryptRequest.d.ts +1 -1
  729. package/dist/internal/src/models/PostTextAesEncryptRequest.js +1 -1
  730. package/dist/internal/src/models/PostTextAnalyze200Response.d.ts +1 -1
  731. package/dist/internal/src/models/PostTextAnalyze200Response.js +1 -1
  732. package/dist/internal/src/models/PostTextAnalyze400Response.d.ts +1 -1
  733. package/dist/internal/src/models/PostTextAnalyze400Response.js +1 -1
  734. package/dist/internal/src/models/PostTextAnalyzeRequest.d.ts +1 -1
  735. package/dist/internal/src/models/PostTextAnalyzeRequest.js +1 -1
  736. package/dist/internal/src/models/PostTextBase64Decode200Response.d.ts +1 -1
  737. package/dist/internal/src/models/PostTextBase64Decode200Response.js +1 -1
  738. package/dist/internal/src/models/PostTextBase64Decode400Response.d.ts +1 -1
  739. package/dist/internal/src/models/PostTextBase64Decode400Response.js +1 -1
  740. package/dist/internal/src/models/PostTextBase64DecodeRequest.d.ts +1 -1
  741. package/dist/internal/src/models/PostTextBase64DecodeRequest.js +1 -1
  742. package/dist/internal/src/models/PostTextBase64Encode200Response.d.ts +1 -1
  743. package/dist/internal/src/models/PostTextBase64Encode200Response.js +1 -1
  744. package/dist/internal/src/models/PostTextBase64Encode400Response.d.ts +1 -1
  745. package/dist/internal/src/models/PostTextBase64Encode400Response.js +1 -1
  746. package/dist/internal/src/models/PostTextBase64EncodeRequest.d.ts +1 -1
  747. package/dist/internal/src/models/PostTextBase64EncodeRequest.js +1 -1
  748. package/dist/internal/src/models/PostTextConvert200Response.d.ts +1 -1
  749. package/dist/internal/src/models/PostTextConvert200Response.js +1 -1
  750. package/dist/internal/src/models/PostTextConvert400Response.d.ts +1 -1
  751. package/dist/internal/src/models/PostTextConvert400Response.js +1 -1
  752. package/dist/internal/src/models/PostTextConvertRequest.d.ts +1 -1
  753. package/dist/internal/src/models/PostTextConvertRequest.js +1 -1
  754. package/dist/internal/src/models/PostTextMarkdownToHtml200Response.d.ts +33 -0
  755. package/dist/internal/src/models/PostTextMarkdownToHtml200Response.js +42 -0
  756. package/dist/internal/src/models/PostTextMarkdownToHtml200ResponseData.d.ts +32 -0
  757. package/dist/internal/src/models/PostTextMarkdownToHtml200ResponseData.js +41 -0
  758. package/dist/internal/src/models/PostTextMarkdownToHtml400Response.d.ts +24 -0
  759. package/dist/internal/src/models/PostTextMarkdownToHtml400Response.js +58 -0
  760. package/dist/internal/src/models/PostTextMarkdownToHtml400ResponseOneOf.d.ts +38 -0
  761. package/dist/internal/src/models/PostTextMarkdownToHtml400ResponseOneOf.js +43 -0
  762. package/dist/internal/src/models/PostTextMarkdownToHtml400ResponseOneOf1.d.ts +38 -0
  763. package/dist/internal/src/models/PostTextMarkdownToHtml400ResponseOneOf1.js +43 -0
  764. package/dist/internal/src/models/PostTextMarkdownToHtml413Response.d.ts +38 -0
  765. package/dist/internal/src/models/PostTextMarkdownToHtml413Response.js +43 -0
  766. package/dist/internal/src/models/PostTextMarkdownToHtml500Response.d.ts +38 -0
  767. package/dist/internal/src/models/PostTextMarkdownToHtml500Response.js +43 -0
  768. package/dist/internal/src/models/PostTextMarkdownToHtml503Response.d.ts +38 -0
  769. package/dist/internal/src/models/PostTextMarkdownToHtml503Response.js +43 -0
  770. package/dist/internal/src/models/PostTextMarkdownToHtmlRequest.d.ts +52 -0
  771. package/dist/internal/src/models/PostTextMarkdownToHtmlRequest.js +54 -0
  772. package/dist/internal/src/models/PostTextMarkdownToPdf400Response.d.ts +28 -0
  773. package/dist/internal/src/models/PostTextMarkdownToPdf400Response.js +86 -0
  774. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf.d.ts +38 -0
  775. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf.js +43 -0
  776. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf1.d.ts +38 -0
  777. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf1.js +43 -0
  778. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf2.d.ts +38 -0
  779. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf2.js +43 -0
  780. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf3.d.ts +38 -0
  781. package/dist/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf3.js +43 -0
  782. package/dist/internal/src/models/PostTextMarkdownToPdf413Response.d.ts +23 -0
  783. package/dist/internal/src/models/PostTextMarkdownToPdf413Response.js +51 -0
  784. package/dist/internal/src/models/PostTextMarkdownToPdf413ResponseOneOf.d.ts +38 -0
  785. package/dist/internal/src/models/PostTextMarkdownToPdf413ResponseOneOf.js +43 -0
  786. package/dist/internal/src/models/PostTextMarkdownToPdf500Response.d.ts +38 -0
  787. package/dist/internal/src/models/PostTextMarkdownToPdf500Response.js +43 -0
  788. package/dist/internal/src/models/PostTextMarkdownToPdf502Response.d.ts +38 -0
  789. package/dist/internal/src/models/PostTextMarkdownToPdf502Response.js +43 -0
  790. package/dist/internal/src/models/PostTextMarkdownToPdf503Response.d.ts +23 -0
  791. package/dist/internal/src/models/PostTextMarkdownToPdf503Response.js +51 -0
  792. package/dist/internal/src/models/PostTextMarkdownToPdf503ResponseOneOf.d.ts +38 -0
  793. package/dist/internal/src/models/PostTextMarkdownToPdf503ResponseOneOf.js +43 -0
  794. package/dist/internal/src/models/PostTextMarkdownToPdf503ResponseOneOf1.d.ts +38 -0
  795. package/dist/internal/src/models/PostTextMarkdownToPdf503ResponseOneOf1.js +43 -0
  796. package/dist/internal/src/models/PostTextMarkdownToPdf504Response.d.ts +38 -0
  797. package/dist/internal/src/models/PostTextMarkdownToPdf504Response.js +43 -0
  798. package/dist/internal/src/models/PostTextMarkdownToPdfRequest.d.ts +62 -0
  799. package/dist/internal/src/models/PostTextMarkdownToPdfRequest.js +63 -0
  800. package/dist/internal/src/models/PostTextMd5400Response.d.ts +1 -1
  801. package/dist/internal/src/models/PostTextMd5400Response.js +1 -1
  802. package/dist/internal/src/models/PostTextMd5Request.d.ts +1 -1
  803. package/dist/internal/src/models/PostTextMd5Request.js +1 -1
  804. package/dist/internal/src/models/PostTextMd5Verify200Response.d.ts +1 -1
  805. package/dist/internal/src/models/PostTextMd5Verify200Response.js +1 -1
  806. package/dist/internal/src/models/PostTextMd5Verify400Response.d.ts +1 -1
  807. package/dist/internal/src/models/PostTextMd5Verify400Response.js +1 -1
  808. package/dist/internal/src/models/PostTextMd5VerifyRequest.d.ts +1 -1
  809. package/dist/internal/src/models/PostTextMd5VerifyRequest.js +1 -1
  810. package/dist/internal/src/models/PostTranslateStream400Response.d.ts +1 -1
  811. package/dist/internal/src/models/PostTranslateStream400Response.js +1 -1
  812. package/dist/internal/src/models/PostTranslateStream500Response.d.ts +1 -1
  813. package/dist/internal/src/models/PostTranslateStream500Response.js +1 -1
  814. package/dist/internal/src/models/PostTranslateStreamRequest.d.ts +1 -1
  815. package/dist/internal/src/models/PostTranslateStreamRequest.js +1 -1
  816. package/dist/internal/src/models/PostTranslateText200Response.d.ts +1 -1
  817. package/dist/internal/src/models/PostTranslateText200Response.js +1 -1
  818. package/dist/internal/src/models/PostTranslateText400Response.d.ts +1 -1
  819. package/dist/internal/src/models/PostTranslateText400Response.js +1 -1
  820. package/dist/internal/src/models/PostTranslateText500Response.d.ts +1 -1
  821. package/dist/internal/src/models/PostTranslateText500Response.js +1 -1
  822. package/dist/internal/src/models/PostTranslateTextRequest.d.ts +1 -1
  823. package/dist/internal/src/models/PostTranslateTextRequest.js +1 -1
  824. package/dist/internal/src/models/PostWebTomarkdownAsync202Response.d.ts +1 -1
  825. package/dist/internal/src/models/PostWebTomarkdownAsync202Response.js +1 -1
  826. package/dist/internal/src/models/PostWebTomarkdownAsync400Response.d.ts +1 -1
  827. package/dist/internal/src/models/PostWebTomarkdownAsync400Response.js +1 -1
  828. package/dist/internal/src/models/index.d.ts +68 -3
  829. package/dist/internal/src/models/index.js +68 -3
  830. package/dist/internal/src/runtime.d.ts +1 -1
  831. package/dist/internal/src/runtime.js +1 -1
  832. package/dist/src/errors.d.ts +0 -16
  833. package/dist/src/errors.js +0 -22
  834. package/dist/src/index.d.ts +648 -15
  835. package/dist/src/index.js +788 -99
  836. package/internal/.openapi-generator/FILES +136 -6
  837. package/internal/docs/Base64.md +36 -0
  838. package/internal/docs/DailyApi.md +2 -2
  839. package/internal/docs/DefaultApi.md +5 -5
  840. package/internal/docs/FormatJson.md +64 -0
  841. package/internal/docs/FormatJsonTrivia.md +36 -0
  842. package/internal/docs/FormatJsonTriviaOptionsInner.md +38 -0
  843. package/internal/docs/GameApi.md +7 -7
  844. package/internal/docs/GetDailyNewsImage500Response.md +1 -1
  845. package/internal/docs/GetDailyNewsImage502Response.md +1 -1
  846. package/internal/docs/GetGameMinecraftServerstatus200Response.md +2 -0
  847. package/internal/docs/GetGameMinecraftServerstatus200ResponseOnlinePlayersInner.md +36 -0
  848. package/internal/docs/GetGameMinecraftUserinfo502Response.md +1 -1
  849. package/internal/docs/GetGithubRepo502Response.md +1 -1
  850. package/internal/docs/GetGithubUser200Response.md +70 -0
  851. package/internal/docs/GetGithubUser200ResponseActivity.md +55 -0
  852. package/internal/docs/GetGithubUser200ResponseActivityContributionCalendar.md +41 -0
  853. package/internal/docs/GetGithubUser200ResponseActivityContributionCalendarWeeksInner.md +36 -0
  854. package/internal/docs/GetGithubUser200ResponseActivityContributionCalendarWeeksInnerContributionDaysInner.md +40 -0
  855. package/internal/docs/GetGithubUser200ResponseActivityTimelineInner.md +36 -0
  856. package/internal/docs/GetGithubUser200ResponseOrganizationsInner.md +40 -0
  857. package/internal/docs/GetGithubUser400Response.md +36 -0
  858. package/internal/docs/GetGithubUser400ResponseOneOf.md +36 -0
  859. package/internal/docs/GetGithubUser400ResponseOneOf1.md +36 -0
  860. package/internal/docs/GetGithubUser404Response.md +36 -0
  861. package/internal/docs/GetGithubUser502Response.md +36 -0
  862. package/internal/docs/GetImageBingDaily400Response.md +34 -0
  863. package/internal/docs/GetImageBingDaily404Response.md +34 -0
  864. package/internal/docs/GetImageBingDaily500Response.md +34 -0
  865. package/internal/docs/GetImageBingDailyHistory200Response.md +38 -0
  866. package/internal/docs/GetImageBingDailyHistory200ResponseItemsInner.md +64 -0
  867. package/internal/docs/GetImageBingDailyHistory200ResponsePagination.md +38 -0
  868. package/internal/docs/GetImageBingDailyHistory400Response.md +34 -0
  869. package/internal/docs/GetMiscHolidayCalendar200ResponseQuery.md +2 -0
  870. package/internal/docs/GetMiscHotboard200Response.md +0 -2
  871. package/internal/docs/GetMiscWeather200ResponseHourlyForecastInner.md +0 -6
  872. package/internal/docs/GetNetworkWhois200Response.md +1 -1
  873. package/internal/docs/GetNetworkWhois200ResponseOneOf1.md +1 -1
  874. package/internal/docs/GetNetworkWxdomain502Response.md +1 -1
  875. package/internal/docs/GetSearchEngines200ResponseEngine.md +1 -1
  876. package/internal/docs/GetSocialBilibiliUserinfo502Response.md +1 -1
  877. package/internal/docs/HTML.md +36 -0
  878. package/internal/docs/ImageApi.md +302 -13
  879. package/internal/docs/Markdown.md +36 -0
  880. package/internal/docs/MiscApi.md +14 -11
  881. package/internal/docs/NetworkApi.md +8 -8
  882. package/internal/docs/PostImageDecode400Response.md +34 -0
  883. package/internal/docs/PostImageDecode413Response.md +34 -0
  884. package/internal/docs/PostImageDecode500Response.md +34 -0
  885. package/internal/docs/PostImageDecode502Response.md +34 -0
  886. package/internal/docs/PostImageDecode503Response.md +34 -0
  887. package/internal/docs/PostImageDecode504Response.md +34 -0
  888. package/internal/docs/PostImageOcr200Response.md +67 -0
  889. package/internal/docs/PostImageOcr200ResponseWordsResultInner.md +40 -0
  890. package/internal/docs/PostImageOcr200ResponseWordsResultInnerLocation.md +41 -0
  891. package/internal/docs/PostImageOcr200ResponseWordsResultInnerVertexesLocationInner.md +36 -0
  892. package/internal/docs/PostImageOcr400Response.md +36 -0
  893. package/internal/docs/PostImageOcr400ResponseOneOf.md +36 -0
  894. package/internal/docs/PostImageOcr400ResponseOneOf1.md +36 -0
  895. package/internal/docs/PostImageOcr413Response.md +36 -0
  896. package/internal/docs/PostImageOcr415Response.md +36 -0
  897. package/internal/docs/PostImageOcr502Response.md +36 -0
  898. package/internal/docs/PostImageOcr503Response.md +36 -0
  899. package/internal/docs/PostSearchAggregate200Response.md +4 -4
  900. package/internal/docs/PostSearchAggregate200ResponseMetadata.md +41 -0
  901. package/internal/docs/PostSearchAggregate200ResponseMetadataRequestParams.md +43 -0
  902. package/internal/docs/PostSearchAggregate200ResponseResultsInner.md +8 -10
  903. package/internal/docs/PostSearchAggregate200ResponseSourcesInner.md +4 -4
  904. package/internal/docs/PostSearchAggregate400Response.md +0 -2
  905. package/internal/docs/PostSearchAggregate401Response.md +0 -2
  906. package/internal/docs/PostSearchAggregate429Response.md +0 -2
  907. package/internal/docs/PostSearchAggregate500Response.md +0 -2
  908. package/internal/docs/PostSearchAggregateRequest.md +0 -2
  909. package/internal/docs/PostTextMarkdownToHtml200Response.md +34 -0
  910. package/internal/docs/PostTextMarkdownToHtml200ResponseData.md +34 -0
  911. package/internal/docs/PostTextMarkdownToHtml400Response.md +36 -0
  912. package/internal/docs/PostTextMarkdownToHtml400ResponseOneOf.md +36 -0
  913. package/internal/docs/PostTextMarkdownToHtml400ResponseOneOf1.md +36 -0
  914. package/internal/docs/PostTextMarkdownToHtml413Response.md +36 -0
  915. package/internal/docs/PostTextMarkdownToHtml500Response.md +36 -0
  916. package/internal/docs/PostTextMarkdownToHtml503Response.md +36 -0
  917. package/internal/docs/PostTextMarkdownToHtmlRequest.md +81 -0
  918. package/internal/docs/PostTextMarkdownToPdf400Response.md +36 -0
  919. package/internal/docs/PostTextMarkdownToPdf400ResponseOneOf.md +36 -0
  920. package/internal/docs/PostTextMarkdownToPdf400ResponseOneOf1.md +36 -0
  921. package/internal/docs/PostTextMarkdownToPdf400ResponseOneOf2.md +36 -0
  922. package/internal/docs/PostTextMarkdownToPdf400ResponseOneOf3.md +36 -0
  923. package/internal/docs/PostTextMarkdownToPdf413Response.md +36 -0
  924. package/internal/docs/PostTextMarkdownToPdf413ResponseOneOf.md +36 -0
  925. package/internal/docs/PostTextMarkdownToPdf500Response.md +36 -0
  926. package/internal/docs/PostTextMarkdownToPdf502Response.md +36 -0
  927. package/internal/docs/PostTextMarkdownToPdf503Response.md +36 -0
  928. package/internal/docs/PostTextMarkdownToPdf503ResponseOneOf.md +36 -0
  929. package/internal/docs/PostTextMarkdownToPdf503ResponseOneOf1.md +36 -0
  930. package/internal/docs/PostTextMarkdownToPdf504Response.md +36 -0
  931. package/internal/docs/PostTextMarkdownToPdfRequest.md +81 -0
  932. package/internal/docs/SocialApi.md +85 -5
  933. package/internal/docs/StatusApi.md +1 -1
  934. package/internal/docs/TextApi.md +147 -1
  935. package/internal/docs/TranslateApi.md +1 -1
  936. package/internal/src/apis/ClipzyApi.ts +1 -1
  937. package/internal/src/apis/ConvertApi.ts +1 -1
  938. package/internal/src/apis/DailyApi.ts +1 -1
  939. package/internal/src/apis/DefaultApi.ts +9 -9
  940. package/internal/src/apis/GameApi.ts +5 -8
  941. package/internal/src/apis/ImageApi.ts +400 -15
  942. package/internal/src/apis/MiscApi.ts +17 -12
  943. package/internal/src/apis/NetworkApi.ts +5 -5
  944. package/internal/src/apis/PoemApi.ts +1 -1
  945. package/internal/src/apis/RandomApi.ts +1 -1
  946. package/internal/src/apis/SocialApi.ts +87 -5
  947. package/internal/src/apis/StatusApi.ts +3 -3
  948. package/internal/src/apis/TextApi.ts +132 -3
  949. package/internal/src/apis/TranslateApi.ts +3 -3
  950. package/internal/src/apis/WebParseApi.ts +1 -1
  951. package/internal/src/models/Base64.ts +73 -0
  952. package/internal/src/models/FormatJson.ts +193 -0
  953. package/internal/src/models/FormatJsonTrivia.ts +81 -0
  954. package/internal/src/models/FormatJsonTriviaOptionsInner.ts +81 -0
  955. package/internal/src/models/GetAiTranslateLanguages200Response.ts +1 -1
  956. package/internal/src/models/GetAiTranslateLanguages200ResponseData.ts +1 -1
  957. package/internal/src/models/GetAiTranslateLanguages200ResponseDataContextsInner.ts +1 -1
  958. package/internal/src/models/GetAiTranslateLanguages200ResponseDataLanguagesInner.ts +1 -1
  959. package/internal/src/models/GetAiTranslateLanguages200ResponseDataStylesInner.ts +1 -1
  960. package/internal/src/models/GetAiTranslateLanguages200ResponsePerformance.ts +1 -1
  961. package/internal/src/models/GetAnswerbookAsk200Response.ts +1 -1
  962. package/internal/src/models/GetAnswerbookAsk400Response.ts +1 -1
  963. package/internal/src/models/GetAnswerbookAsk500Response.ts +1 -1
  964. package/internal/src/models/GetAvatarGravatar400Response.ts +1 -1
  965. package/internal/src/models/GetAvatarGravatar404Response.ts +1 -1
  966. package/internal/src/models/GetClipzyGet200Response.ts +1 -1
  967. package/internal/src/models/GetClipzyGet400Response.ts +1 -1
  968. package/internal/src/models/GetClipzyGet404Response.ts +1 -1
  969. package/internal/src/models/GetClipzyRaw400Response.ts +1 -1
  970. package/internal/src/models/GetClipzyRaw403Response.ts +1 -1
  971. package/internal/src/models/GetConvertUnixtime200Response.ts +1 -1
  972. package/internal/src/models/GetConvertUnixtime400Response.ts +1 -1
  973. package/internal/src/models/GetDailyNewsImage500Response.ts +1 -1
  974. package/internal/src/models/GetDailyNewsImage502Response.ts +1 -1
  975. package/internal/src/models/GetGameEpicFree200Response.ts +1 -1
  976. package/internal/src/models/GetGameEpicFree200ResponseDataInner.ts +1 -1
  977. package/internal/src/models/GetGameEpicFree500Response.ts +1 -1
  978. package/internal/src/models/GetGameMinecraftHistoryid200Response.ts +1 -1
  979. package/internal/src/models/GetGameMinecraftHistoryid200ResponseHistoryInner.ts +1 -1
  980. package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInner.ts +1 -1
  981. package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.ts +1 -1
  982. package/internal/src/models/GetGameMinecraftHistoryid400Response.ts +1 -1
  983. package/internal/src/models/GetGameMinecraftHistoryid404Response.ts +1 -1
  984. package/internal/src/models/GetGameMinecraftHistoryid502Response.ts +1 -1
  985. package/internal/src/models/GetGameMinecraftServerstatus200Response.ts +17 -1
  986. package/internal/src/models/GetGameMinecraftServerstatus200ResponseOnlinePlayersInner.ts +73 -0
  987. package/internal/src/models/GetGameMinecraftServerstatus400Response.ts +1 -1
  988. package/internal/src/models/GetGameMinecraftServerstatus404Response.ts +1 -1
  989. package/internal/src/models/GetGameMinecraftServerstatus502Response.ts +1 -1
  990. package/internal/src/models/GetGameMinecraftUserinfo200Response.ts +1 -1
  991. package/internal/src/models/GetGameMinecraftUserinfo400Response.ts +1 -1
  992. package/internal/src/models/GetGameMinecraftUserinfo404Response.ts +1 -1
  993. package/internal/src/models/GetGameMinecraftUserinfo502Response.ts +1 -1
  994. package/internal/src/models/GetGameSteamSummary200Response.ts +1 -1
  995. package/internal/src/models/GetGameSteamSummary400Response.ts +1 -1
  996. package/internal/src/models/GetGameSteamSummary401Response.ts +1 -1
  997. package/internal/src/models/GetGameSteamSummary404Response.ts +1 -1
  998. package/internal/src/models/GetGithubRepo200Response.ts +1 -1
  999. package/internal/src/models/GetGithubRepo200ResponseCollaboratorsInner.ts +1 -1
  1000. package/internal/src/models/GetGithubRepo200ResponseLatestRelease.ts +1 -1
  1001. package/internal/src/models/GetGithubRepo400Response.ts +1 -1
  1002. package/internal/src/models/GetGithubRepo502Response.ts +1 -1
  1003. package/internal/src/models/GetGithubUser200Response.ts +224 -0
  1004. package/internal/src/models/GetGithubUser200ResponseActivity.ts +160 -0
  1005. package/internal/src/models/GetGithubUser200ResponseActivityContributionCalendar.ts +97 -0
  1006. package/internal/src/models/GetGithubUser200ResponseActivityContributionCalendarWeeksInner.ts +81 -0
  1007. package/internal/src/models/GetGithubUser200ResponseActivityContributionCalendarWeeksInnerContributionDaysInner.ts +89 -0
  1008. package/internal/src/models/GetGithubUser200ResponseActivityTimelineInner.ts +73 -0
  1009. package/internal/src/models/GetGithubUser200ResponseOrganizationsInner.ts +89 -0
  1010. package/internal/src/models/GetGithubUser400Response.ts +76 -0
  1011. package/internal/src/models/GetGithubUser400ResponseOneOf.ts +73 -0
  1012. package/internal/src/models/GetGithubUser400ResponseOneOf1.ts +73 -0
  1013. package/internal/src/models/GetGithubUser404Response.ts +73 -0
  1014. package/internal/src/models/GetGithubUser502Response.ts +73 -0
  1015. package/internal/src/models/GetHistoryProgrammer200Response.ts +1 -1
  1016. package/internal/src/models/GetHistoryProgrammer200ResponseEventsInner.ts +1 -1
  1017. package/internal/src/models/GetHistoryProgrammer400Response.ts +1 -1
  1018. package/internal/src/models/GetHistoryProgrammerToday200Response.ts +1 -1
  1019. package/internal/src/models/GetHistoryProgrammerToday200ResponseEventsInner.ts +1 -1
  1020. package/internal/src/models/GetHistoryProgrammerToday500Response.ts +1 -1
  1021. package/internal/src/models/GetImageBingDaily400Response.ts +65 -0
  1022. package/internal/src/models/GetImageBingDaily404Response.ts +65 -0
  1023. package/internal/src/models/GetImageBingDaily500Response.ts +65 -0
  1024. package/internal/src/models/GetImageBingDailyHistory200Response.ts +96 -0
  1025. package/internal/src/models/GetImageBingDailyHistory200ResponseItemsInner.ts +193 -0
  1026. package/internal/src/models/GetImageBingDailyHistory200ResponsePagination.ts +81 -0
  1027. package/internal/src/models/GetImageBingDailyHistory400Response.ts +65 -0
  1028. package/internal/src/models/GetImageMotou400Response.ts +1 -1
  1029. package/internal/src/models/GetImageMotou500Response.ts +1 -1
  1030. package/internal/src/models/GetImageQrcode200Response.ts +1 -1
  1031. package/internal/src/models/GetImageQrcode400Response.ts +1 -1
  1032. package/internal/src/models/GetImageQrcode500Response.ts +1 -1
  1033. package/internal/src/models/GetImageTobase64200Response.ts +1 -1
  1034. package/internal/src/models/GetImageTobase64400Response.ts +1 -1
  1035. package/internal/src/models/GetImageTobase64502Response.ts +1 -1
  1036. package/internal/src/models/GetMiscDistrict200Response.ts +1 -1
  1037. package/internal/src/models/GetMiscDistrict200ResponseResultsInner.ts +1 -1
  1038. package/internal/src/models/GetMiscDistrict200ResponseResultsInnerCenter.ts +1 -1
  1039. package/internal/src/models/GetMiscDistrict400Response.ts +1 -1
  1040. package/internal/src/models/GetMiscHolidayCalendar200Response.ts +1 -1
  1041. package/internal/src/models/GetMiscHolidayCalendar200ResponseDaysInner.ts +1 -1
  1042. package/internal/src/models/GetMiscHolidayCalendar200ResponseHolidaysInner.ts +1 -1
  1043. package/internal/src/models/GetMiscHolidayCalendar200ResponseNearby.ts +1 -1
  1044. package/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyNextInner.ts +1 -1
  1045. package/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyNextInnerEventsInner.ts +1 -1
  1046. package/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyPreviousInner.ts +1 -1
  1047. package/internal/src/models/GetMiscHolidayCalendar200ResponseNearbyPreviousInnerEventsInner.ts +1 -1
  1048. package/internal/src/models/GetMiscHolidayCalendar200ResponseQuery.ts +9 -1
  1049. package/internal/src/models/GetMiscHolidayCalendar200ResponseSummary.ts +1 -1
  1050. package/internal/src/models/GetMiscHolidayCalendar400Response.ts +1 -1
  1051. package/internal/src/models/GetMiscHotboard200Response.ts +2 -15
  1052. package/internal/src/models/GetMiscHotboard200ResponseOneOf.ts +1 -1
  1053. package/internal/src/models/GetMiscHotboard200ResponseOneOf1.ts +1 -1
  1054. package/internal/src/models/GetMiscHotboard200ResponseOneOf1ResultsInner.ts +1 -1
  1055. package/internal/src/models/GetMiscHotboard200ResponseOneOfListInner.ts +1 -1
  1056. package/internal/src/models/GetMiscHotboard400Response.ts +1 -1
  1057. package/internal/src/models/GetMiscHotboard500Response.ts +1 -1
  1058. package/internal/src/models/GetMiscHotboard502Response.ts +1 -1
  1059. package/internal/src/models/GetMiscLunartime200Response.ts +1 -1
  1060. package/internal/src/models/GetMiscLunartime400Response.ts +1 -1
  1061. package/internal/src/models/GetMiscPhoneinfo200Response.ts +2 -2
  1062. package/internal/src/models/GetMiscPhoneinfo400Response.ts +1 -1
  1063. package/internal/src/models/GetMiscPhoneinfo500Response.ts +1 -1
  1064. package/internal/src/models/GetMiscRandomnumber200Response.ts +1 -1
  1065. package/internal/src/models/GetMiscRandomnumber400Response.ts +1 -1
  1066. package/internal/src/models/GetMiscTimestamp200Response.ts +1 -1
  1067. package/internal/src/models/GetMiscTimestamp400Response.ts +1 -1
  1068. package/internal/src/models/GetMiscTrackingCarriers200Response.ts +1 -1
  1069. package/internal/src/models/GetMiscTrackingCarriers200ResponseCarriersInner.ts +1 -1
  1070. package/internal/src/models/GetMiscTrackingDetect200Response.ts +1 -1
  1071. package/internal/src/models/GetMiscTrackingDetect200ResponseAlternativesInner.ts +1 -1
  1072. package/internal/src/models/GetMiscTrackingDetect404Response.ts +1 -1
  1073. package/internal/src/models/GetMiscTrackingQuery200Response.ts +1 -1
  1074. package/internal/src/models/GetMiscTrackingQuery200ResponseTracksInner.ts +1 -1
  1075. package/internal/src/models/GetMiscTrackingQuery400Response.ts +1 -1
  1076. package/internal/src/models/GetMiscTrackingQuery404Response.ts +1 -1
  1077. package/internal/src/models/GetMiscWeather200Response.ts +1 -1
  1078. package/internal/src/models/GetMiscWeather200ResponseAirPollutants.ts +1 -1
  1079. package/internal/src/models/GetMiscWeather200ResponseForecastInner.ts +1 -1
  1080. package/internal/src/models/GetMiscWeather200ResponseHourlyForecastInner.ts +1 -25
  1081. package/internal/src/models/GetMiscWeather200ResponseLifeIndices.ts +1 -1
  1082. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirConditioner.ts +1 -1
  1083. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirPurifier.ts +1 -1
  1084. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAllergy.ts +1 -1
  1085. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesBeer.ts +1 -1
  1086. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesCarWash.ts +1 -1
  1087. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesClothing.ts +1 -1
  1088. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesColdRisk.ts +1 -1
  1089. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesComfort.ts +1 -1
  1090. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesDrying.ts +1 -1
  1091. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesExercise.ts +1 -1
  1092. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesFishing.ts +1 -1
  1093. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesMood.ts +1 -1
  1094. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesPollen.ts +1 -1
  1095. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesSunscreen.ts +1 -1
  1096. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTraffic.ts +1 -1
  1097. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTravel.ts +1 -1
  1098. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUmbrella.ts +1 -1
  1099. package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUv.ts +1 -1
  1100. package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecip.ts +1 -1
  1101. package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecipDataInner.ts +1 -1
  1102. package/internal/src/models/GetMiscWeather400Response.ts +1 -1
  1103. package/internal/src/models/GetMiscWeather404Response.ts +1 -1
  1104. package/internal/src/models/GetMiscWeather500Response.ts +1 -1
  1105. package/internal/src/models/GetMiscWeather503Response.ts +1 -1
  1106. package/internal/src/models/GetMiscWorldtime200Response.ts +1 -1
  1107. package/internal/src/models/GetMiscWorldtime400Response.ts +1 -1
  1108. package/internal/src/models/GetMiscWorldtime404Response.ts +1 -1
  1109. package/internal/src/models/GetNetworkDns200Response.ts +1 -1
  1110. package/internal/src/models/GetNetworkDns200ResponseRecordsInner.ts +1 -1
  1111. package/internal/src/models/GetNetworkDns400Response.ts +1 -1
  1112. package/internal/src/models/GetNetworkDns404Response.ts +1 -1
  1113. package/internal/src/models/GetNetworkIcp200Response.ts +1 -1
  1114. package/internal/src/models/GetNetworkIcp404Response.ts +1 -1
  1115. package/internal/src/models/GetNetworkIpinfo200Response.ts +1 -1
  1116. package/internal/src/models/GetNetworkIpinfo400Response.ts +1 -1
  1117. package/internal/src/models/GetNetworkIpinfo404Response.ts +1 -1
  1118. package/internal/src/models/GetNetworkIpinfo500Response.ts +1 -1
  1119. package/internal/src/models/GetNetworkMyip200Response.ts +1 -1
  1120. package/internal/src/models/GetNetworkMyip400Response.ts +1 -1
  1121. package/internal/src/models/GetNetworkMyip500Response.ts +1 -1
  1122. package/internal/src/models/GetNetworkPing200Response.ts +1 -1
  1123. package/internal/src/models/GetNetworkPing400Response.ts +1 -1
  1124. package/internal/src/models/GetNetworkPing429Response.ts +1 -1
  1125. package/internal/src/models/GetNetworkPingmyip200Response.ts +1 -1
  1126. package/internal/src/models/GetNetworkPingmyip404Response.ts +1 -1
  1127. package/internal/src/models/GetNetworkPortscan200Response.ts +1 -1
  1128. package/internal/src/models/GetNetworkPortscan400Response.ts +1 -1
  1129. package/internal/src/models/GetNetworkPortscan500Response.ts +1 -1
  1130. package/internal/src/models/GetNetworkUrlstatus200Response.ts +1 -1
  1131. package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf.ts +1 -1
  1132. package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf1.ts +1 -1
  1133. package/internal/src/models/GetNetworkUrlstatus502Response.ts +1 -1
  1134. package/internal/src/models/GetNetworkWhois200Response.ts +1 -1
  1135. package/internal/src/models/GetNetworkWhois200ResponseOneOf.ts +2 -4
  1136. package/internal/src/models/GetNetworkWhois200ResponseOneOf1.ts +3 -9
  1137. package/internal/src/models/GetNetworkWhois404Response.ts +1 -1
  1138. package/internal/src/models/GetNetworkWxdomain200Response.ts +1 -1
  1139. package/internal/src/models/GetNetworkWxdomain502Response.ts +1 -1
  1140. package/internal/src/models/GetRandomImage404Response.ts +1 -1
  1141. package/internal/src/models/GetRandomImage500Response.ts +1 -1
  1142. package/internal/src/models/GetRandomString200Response.ts +1 -1
  1143. package/internal/src/models/GetRandomString400Response.ts +1 -1
  1144. package/internal/src/models/GetRandomString500Response.ts +1 -1
  1145. package/internal/src/models/GetSaying200Response.ts +1 -1
  1146. package/internal/src/models/GetSaying500Response.ts +1 -1
  1147. package/internal/src/models/GetSearchEngines200Response.ts +1 -1
  1148. package/internal/src/models/GetSearchEngines200ResponseEngine.ts +2 -2
  1149. package/internal/src/models/GetSearchEngines200ResponseLimits.ts +1 -1
  1150. package/internal/src/models/GetSensitiveWordAnalyzeQuery400Response.ts +1 -1
  1151. package/internal/src/models/GetSocialBilibiliArchives200Response.ts +1 -1
  1152. package/internal/src/models/GetSocialBilibiliArchives200ResponseVideosInner.ts +1 -1
  1153. package/internal/src/models/GetSocialBilibiliArchives400Response.ts +1 -1
  1154. package/internal/src/models/GetSocialBilibiliArchives404Response.ts +1 -1
  1155. package/internal/src/models/GetSocialBilibiliArchives500Response.ts +1 -1
  1156. package/internal/src/models/GetSocialBilibiliLiveroom200Response.ts +1 -1
  1157. package/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendants.ts +1 -1
  1158. package/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendantsBadge.ts +1 -1
  1159. package/internal/src/models/GetSocialBilibiliLiveroom200ResponseNewPendantsFrame.ts +1 -1
  1160. package/internal/src/models/GetSocialBilibiliReplies200Response.ts +1 -1
  1161. package/internal/src/models/GetSocialBilibiliReplies200ResponsePage.ts +1 -1
  1162. package/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInner.ts +1 -1
  1163. package/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerContent.ts +1 -1
  1164. package/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerMember.ts +1 -1
  1165. package/internal/src/models/GetSocialBilibiliReplies200ResponseRepliesInnerMemberLevelInfo.ts +1 -1
  1166. package/internal/src/models/GetSocialBilibiliUserinfo200Response.ts +1 -1
  1167. package/internal/src/models/GetSocialBilibiliUserinfo400Response.ts +1 -1
  1168. package/internal/src/models/GetSocialBilibiliUserinfo404Response.ts +1 -1
  1169. package/internal/src/models/GetSocialBilibiliUserinfo502Response.ts +1 -1
  1170. package/internal/src/models/GetSocialBilibiliVideoinfo200Response.ts +1 -1
  1171. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseDescV2Inner.ts +1 -1
  1172. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseDimension.ts +1 -1
  1173. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseHonorReply.ts +1 -1
  1174. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseHonorReplyHonorInner.ts +1 -1
  1175. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseOwner.ts +1 -1
  1176. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponsePagesInner.ts +1 -1
  1177. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponsePagesInnerDimension.ts +1 -1
  1178. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseRights.ts +1 -1
  1179. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseStaffInner.ts +1 -1
  1180. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseStat.ts +1 -1
  1181. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitle.ts +1 -1
  1182. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitleListInner.ts +1 -1
  1183. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseSubtitleListInnerAuthor.ts +1 -1
  1184. package/internal/src/models/GetSocialBilibiliVideoinfo200ResponseUgcSeason.ts +1 -1
  1185. package/internal/src/models/GetSocialQqGroupinfo200Response.ts +1 -1
  1186. package/internal/src/models/GetSocialQqGroupinfo400Response.ts +1 -1
  1187. package/internal/src/models/GetSocialQqGroupinfo404Response.ts +1 -1
  1188. package/internal/src/models/GetSocialQqUserinfo200Response.ts +3 -3
  1189. package/internal/src/models/GetSocialQqUserinfo400Response.ts +1 -1
  1190. package/internal/src/models/GetSocialQqUserinfo404Response.ts +1 -1
  1191. package/internal/src/models/GetStatusRatelimit200Response.ts +1 -1
  1192. package/internal/src/models/GetStatusRatelimit401Response.ts +1 -1
  1193. package/internal/src/models/GetStatusUsage200Response.ts +1 -1
  1194. package/internal/src/models/GetStatusUsage200ResponseAnyOf.ts +1 -1
  1195. package/internal/src/models/GetStatusUsage200ResponseAnyOf1.ts +1 -1
  1196. package/internal/src/models/GetStatusUsage200ResponseAnyOfEndpointsInner.ts +1 -1
  1197. package/internal/src/models/GetStatusUsage200ResponseAnyOfUnaggregated.ts +1 -1
  1198. package/internal/src/models/GetStatusUsage404Response.ts +1 -1
  1199. package/internal/src/models/GetTextMd5200Response.ts +1 -1
  1200. package/internal/src/models/GetTextMd5400Response.ts +1 -1
  1201. package/internal/src/models/GetWebTomarkdownAsyncStatus200Response.ts +1 -1
  1202. package/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf.ts +1 -1
  1203. package/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf1.ts +1 -1
  1204. package/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf2.ts +1 -1
  1205. package/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf2Result.ts +1 -1
  1206. package/internal/src/models/GetWebTomarkdownAsyncStatus200ResponseAnyOf3.ts +1 -1
  1207. package/internal/src/models/GetWebTomarkdownAsyncStatus404Response.ts +1 -1
  1208. package/internal/src/models/GetWebparseExtractimages200Response.ts +1 -1
  1209. package/internal/src/models/GetWebparseExtractimages500Response.ts +1 -1
  1210. package/internal/src/models/GetWebparseMetadata200Response.ts +1 -1
  1211. package/internal/src/models/GetWebparseMetadata500Response.ts +1 -1
  1212. package/internal/src/models/HTML.ts +73 -0
  1213. package/internal/src/models/Markdown.ts +73 -0
  1214. package/internal/src/models/PostAiTranslate200Response.ts +1 -1
  1215. package/internal/src/models/PostAiTranslate200ResponseData.ts +1 -1
  1216. package/internal/src/models/PostAiTranslate200ResponsePerformance.ts +1 -1
  1217. package/internal/src/models/PostAiTranslate400Response.ts +1 -1
  1218. package/internal/src/models/PostAiTranslate401Response.ts +1 -1
  1219. package/internal/src/models/PostAiTranslate429Response.ts +1 -1
  1220. package/internal/src/models/PostAiTranslate500Response.ts +1 -1
  1221. package/internal/src/models/PostAiTranslateRequest.ts +1 -1
  1222. package/internal/src/models/PostAnswerbookAsk200Response.ts +1 -1
  1223. package/internal/src/models/PostAnswerbookAskRequest.ts +1 -1
  1224. package/internal/src/models/PostClipzyStore200Response.ts +1 -1
  1225. package/internal/src/models/PostClipzyStore400Response.ts +1 -1
  1226. package/internal/src/models/PostClipzyStore413Response.ts +1 -1
  1227. package/internal/src/models/PostClipzyStoreRequest.ts +1 -1
  1228. package/internal/src/models/PostConvertJson200Response.ts +1 -1
  1229. package/internal/src/models/PostConvertJson400Response.ts +1 -1
  1230. package/internal/src/models/PostConvertJsonRequest.ts +1 -1
  1231. package/internal/src/models/PostImageCompress400Response.ts +1 -1
  1232. package/internal/src/models/PostImageCompress500Response.ts +1 -1
  1233. package/internal/src/models/PostImageDecode400Response.ts +65 -0
  1234. package/internal/src/models/PostImageDecode413Response.ts +65 -0
  1235. package/internal/src/models/PostImageDecode500Response.ts +65 -0
  1236. package/internal/src/models/PostImageDecode502Response.ts +65 -0
  1237. package/internal/src/models/PostImageDecode503Response.ts +65 -0
  1238. package/internal/src/models/PostImageDecode504Response.ts +65 -0
  1239. package/internal/src/models/PostImageFrombase64200Response.ts +1 -1
  1240. package/internal/src/models/PostImageFrombase64400Response.ts +1 -1
  1241. package/internal/src/models/PostImageFrombase64500Response.ts +1 -1
  1242. package/internal/src/models/PostImageFrombase64Request.ts +1 -1
  1243. package/internal/src/models/PostImageMotou400Response.ts +1 -1
  1244. package/internal/src/models/PostImageMotou500Response.ts +1 -1
  1245. package/internal/src/models/PostImageNsfw200Response.ts +1 -1
  1246. package/internal/src/models/PostImageNsfw400Response.ts +1 -1
  1247. package/internal/src/models/PostImageNsfw413Response.ts +1 -1
  1248. package/internal/src/models/PostImageNsfw500Response.ts +1 -1
  1249. package/internal/src/models/PostImageOcr200Response.ts +169 -0
  1250. package/internal/src/models/PostImageOcr200ResponseWordsResultInner.ts +104 -0
  1251. package/internal/src/models/PostImageOcr200ResponseWordsResultInnerLocation.ts +89 -0
  1252. package/internal/src/models/PostImageOcr200ResponseWordsResultInnerVertexesLocationInner.ts +73 -0
  1253. package/internal/src/models/PostImageOcr400Response.ts +89 -0
  1254. package/internal/src/models/PostImageOcr400ResponseOneOf.ts +73 -0
  1255. package/internal/src/models/PostImageOcr400ResponseOneOf1.ts +73 -0
  1256. package/internal/src/models/PostImageOcr413Response.ts +73 -0
  1257. package/internal/src/models/PostImageOcr415Response.ts +73 -0
  1258. package/internal/src/models/PostImageOcr502Response.ts +73 -0
  1259. package/internal/src/models/PostImageOcr503Response.ts +73 -0
  1260. package/internal/src/models/PostImageSpeechless400Response.ts +1 -1
  1261. package/internal/src/models/PostImageSpeechless500Response.ts +1 -1
  1262. package/internal/src/models/PostImageSpeechlessRequest.ts +1 -1
  1263. package/internal/src/models/PostImageSvg400Response.ts +1 -1
  1264. package/internal/src/models/PostImageSvg500Response.ts +1 -1
  1265. package/internal/src/models/PostMiscDateDiff200Response.ts +1 -1
  1266. package/internal/src/models/PostMiscDateDiff400Response.ts +1 -1
  1267. package/internal/src/models/PostMiscDateDiffRequest.ts +1 -1
  1268. package/internal/src/models/PostSearchAggregate200Response.ts +17 -10
  1269. package/internal/src/models/PostSearchAggregate200ResponseMetadata.ts +97 -0
  1270. package/internal/src/models/PostSearchAggregate200ResponseMetadataRequestParams.ts +97 -0
  1271. package/internal/src/models/PostSearchAggregate200ResponseResultsInner.ts +4 -12
  1272. package/internal/src/models/PostSearchAggregate200ResponseSourcesInner.ts +6 -6
  1273. package/internal/src/models/PostSearchAggregate400Response.ts +1 -9
  1274. package/internal/src/models/PostSearchAggregate401Response.ts +1 -9
  1275. package/internal/src/models/PostSearchAggregate429Response.ts +1 -9
  1276. package/internal/src/models/PostSearchAggregate500Response.ts +1 -9
  1277. package/internal/src/models/PostSearchAggregateRequest.ts +1 -9
  1278. package/internal/src/models/PostSensitiveWordAnalyze200Response.ts +1 -1
  1279. package/internal/src/models/PostSensitiveWordAnalyze200ResponseResultsInner.ts +1 -1
  1280. package/internal/src/models/PostSensitiveWordAnalyze400Response.ts +1 -1
  1281. package/internal/src/models/PostSensitiveWordAnalyze401Response.ts +1 -1
  1282. package/internal/src/models/PostSensitiveWordAnalyze429Response.ts +1 -1
  1283. package/internal/src/models/PostSensitiveWordAnalyzeRequest.ts +1 -1
  1284. package/internal/src/models/PostSensitiveWordQuickCheck200Response.ts +1 -1
  1285. package/internal/src/models/PostSensitiveWordQuickCheckRequest.ts +1 -1
  1286. package/internal/src/models/PostTextAesDecrypt200Response.ts +1 -1
  1287. package/internal/src/models/PostTextAesDecrypt400Response.ts +1 -1
  1288. package/internal/src/models/PostTextAesDecrypt500Response.ts +1 -1
  1289. package/internal/src/models/PostTextAesDecryptAdvanced200Response.ts +1 -1
  1290. package/internal/src/models/PostTextAesDecryptAdvanced400Response.ts +1 -1
  1291. package/internal/src/models/PostTextAesDecryptAdvancedRequest.ts +1 -1
  1292. package/internal/src/models/PostTextAesDecryptRequest.ts +3 -4
  1293. package/internal/src/models/PostTextAesEncrypt200Response.ts +1 -1
  1294. package/internal/src/models/PostTextAesEncrypt400Response.ts +1 -1
  1295. package/internal/src/models/PostTextAesEncrypt500Response.ts +1 -1
  1296. package/internal/src/models/PostTextAesEncryptAdvanced200Response.ts +1 -1
  1297. package/internal/src/models/PostTextAesEncryptAdvanced400Response.ts +1 -1
  1298. package/internal/src/models/PostTextAesEncryptAdvancedRequest.ts +1 -1
  1299. package/internal/src/models/PostTextAesEncryptRequest.ts +1 -1
  1300. package/internal/src/models/PostTextAnalyze200Response.ts +1 -1
  1301. package/internal/src/models/PostTextAnalyze400Response.ts +1 -1
  1302. package/internal/src/models/PostTextAnalyzeRequest.ts +1 -1
  1303. package/internal/src/models/PostTextBase64Decode200Response.ts +1 -1
  1304. package/internal/src/models/PostTextBase64Decode400Response.ts +1 -1
  1305. package/internal/src/models/PostTextBase64DecodeRequest.ts +1 -1
  1306. package/internal/src/models/PostTextBase64Encode200Response.ts +1 -1
  1307. package/internal/src/models/PostTextBase64Encode400Response.ts +1 -1
  1308. package/internal/src/models/PostTextBase64EncodeRequest.ts +1 -1
  1309. package/internal/src/models/PostTextConvert200Response.ts +1 -1
  1310. package/internal/src/models/PostTextConvert400Response.ts +1 -1
  1311. package/internal/src/models/PostTextConvertRequest.ts +1 -1
  1312. package/internal/src/models/PostTextMarkdownToHtml200Response.ts +73 -0
  1313. package/internal/src/models/PostTextMarkdownToHtml200ResponseData.ts +65 -0
  1314. package/internal/src/models/PostTextMarkdownToHtml400Response.ts +89 -0
  1315. package/internal/src/models/PostTextMarkdownToHtml400ResponseOneOf.ts +73 -0
  1316. package/internal/src/models/PostTextMarkdownToHtml400ResponseOneOf1.ts +73 -0
  1317. package/internal/src/models/PostTextMarkdownToHtml413Response.ts +73 -0
  1318. package/internal/src/models/PostTextMarkdownToHtml500Response.ts +73 -0
  1319. package/internal/src/models/PostTextMarkdownToHtml503Response.ts +73 -0
  1320. package/internal/src/models/PostTextMarkdownToHtmlRequest.ts +93 -0
  1321. package/internal/src/models/PostTextMarkdownToPdf400Response.ts +141 -0
  1322. package/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf.ts +73 -0
  1323. package/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf1.ts +73 -0
  1324. package/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf2.ts +73 -0
  1325. package/internal/src/models/PostTextMarkdownToPdf400ResponseOneOf3.ts +73 -0
  1326. package/internal/src/models/PostTextMarkdownToPdf413Response.ts +76 -0
  1327. package/internal/src/models/PostTextMarkdownToPdf413ResponseOneOf.ts +73 -0
  1328. package/internal/src/models/PostTextMarkdownToPdf500Response.ts +73 -0
  1329. package/internal/src/models/PostTextMarkdownToPdf502Response.ts +73 -0
  1330. package/internal/src/models/PostTextMarkdownToPdf503Response.ts +76 -0
  1331. package/internal/src/models/PostTextMarkdownToPdf503ResponseOneOf.ts +73 -0
  1332. package/internal/src/models/PostTextMarkdownToPdf503ResponseOneOf1.ts +73 -0
  1333. package/internal/src/models/PostTextMarkdownToPdf504Response.ts +73 -0
  1334. package/internal/src/models/PostTextMarkdownToPdfRequest.ts +104 -0
  1335. package/internal/src/models/PostTextMd5400Response.ts +1 -1
  1336. package/internal/src/models/PostTextMd5Request.ts +1 -1
  1337. package/internal/src/models/PostTextMd5Verify200Response.ts +1 -1
  1338. package/internal/src/models/PostTextMd5Verify400Response.ts +1 -1
  1339. package/internal/src/models/PostTextMd5VerifyRequest.ts +1 -1
  1340. package/internal/src/models/PostTranslateStream400Response.ts +1 -1
  1341. package/internal/src/models/PostTranslateStream500Response.ts +1 -1
  1342. package/internal/src/models/PostTranslateStreamRequest.ts +1 -1
  1343. package/internal/src/models/PostTranslateText200Response.ts +1 -1
  1344. package/internal/src/models/PostTranslateText400Response.ts +1 -1
  1345. package/internal/src/models/PostTranslateText500Response.ts +1 -1
  1346. package/internal/src/models/PostTranslateTextRequest.ts +1 -1
  1347. package/internal/src/models/PostWebTomarkdownAsync202Response.ts +1 -1
  1348. package/internal/src/models/PostWebTomarkdownAsync400Response.ts +1 -1
  1349. package/internal/src/models/index.ts +68 -3
  1350. package/internal/src/runtime.ts +1 -1
  1351. package/package.json +1 -1
  1352. package/src/errors.ts +0 -39
  1353. package/src/index.ts +1457 -107
  1354. package/dist/internal/src/models/GetGameSteamSummary502Response.d.ts +0 -44
  1355. package/dist/internal/src/models/GetGameSteamSummary502Response.js +0 -45
  1356. package/dist/internal/src/models/GetImageBingDaily502Response.d.ts +0 -38
  1357. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf2.d.ts +0 -32
  1358. package/dist/internal/src/models/GetMiscHotboard200ResponseOneOf2.js +0 -41
package/src/index.ts CHANGED
@@ -3,6 +3,12 @@ import { UapiError, type ResponseMeta, extractMetaFromHeaders, mapError } from '
3
3
  export { UapiError, mapError, extractMetaFromHeaders } from './errors.js'
4
4
  export type { RateLimitPolicyEntry, RateLimitStateEntry, ResponseMeta } from './errors.js'
5
5
 
6
+ export interface UapiClientOptions {
7
+ disableCache?: boolean
8
+ }
9
+
10
+ type RequestOptions = { disableCache?: boolean }
11
+
6
12
  const API_PREFIX = '/api/v1'
7
13
 
8
14
  function normalizeBaseURL(baseURL: string): string {
@@ -10,15 +16,48 @@ function normalizeBaseURL(baseURL: string): string {
10
16
  return trimmed.endsWith(API_PREFIX) ? trimmed.slice(0, -API_PREFIX.length) : trimmed
11
17
  }
12
18
 
19
+ function applyCacheControl(
20
+ method: string,
21
+ params?: Record<string, unknown>,
22
+ defaultDisableCache = false,
23
+ requestDisableCache?: boolean,
24
+ ): Record<string, unknown> | undefined {
25
+ if (method.toUpperCase() !== 'GET') {
26
+ return params
27
+ }
28
+ if (params?.["_t"] !== undefined && params?.["_t"] !== null) {
29
+ return params
30
+ }
31
+ const disableCache = requestDisableCache ?? defaultDisableCache
32
+ if (!disableCache) {
33
+ return params
34
+ }
35
+ return {
36
+ ...(params ?? {}),
37
+ _t: Date.now(),
38
+ }
39
+ }
13
40
  export type GetClipzyGetResponse =
14
41
  Internal.GetClipzyGet200Response
15
42
  export interface GetClipzyGetArgs {
43
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
44
+ disableCache?: boolean;
45
+ /** Same as `disableCache`. Kept for compatibility. */
46
+ "disable_cache"?: boolean;
47
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
48
+ _t?: string | number;
16
49
  /** 片段的唯一 ID。 */
17
50
  id: string;
18
51
  }
19
52
  export type GetClipzyRawResponse =
20
53
  string
21
54
  export interface GetClipzyRawArgs {
55
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
56
+ disableCache?: boolean;
57
+ /** Same as `disableCache`. Kept for compatibility. */
58
+ "disable_cache"?: boolean;
59
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
60
+ _t?: string | number;
22
61
  /** 片段的唯一 ID。 */
23
62
  id: string;
24
63
  /** 用于解密的 Base64 编码的 AES 密钥。 */
@@ -27,6 +66,12 @@ export interface GetClipzyRawArgs {
27
66
  export type PostClipzyStoreResponse =
28
67
  Internal.PostClipzyStore200Response
29
68
  export interface PostClipzyStoreArgs {
69
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
70
+ disableCache?: boolean;
71
+ /** Same as `disableCache`. Kept for compatibility. */
72
+ "disable_cache"?: boolean;
73
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
74
+ _t?: string | number;
30
75
  /** 必需:经过加密和 LZString 压缩后的 Base64 字符串。请参考文档首页的JS代码示例。 */
31
76
  compressedData: string;
32
77
  /** 可选:片段的留存时间(秒)。正数表示秒数(最大约30天),-1 表示永久存储。默认为 3600。 */
@@ -35,12 +80,24 @@ export interface PostClipzyStoreArgs {
35
80
  export type GetConvertUnixtimeResponse =
36
81
  Internal.GetConvertUnixtime200Response
37
82
  export interface GetConvertUnixtimeArgs {
83
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
84
+ disableCache?: boolean;
85
+ /** Same as `disableCache`. Kept for compatibility. */
86
+ "disable_cache"?: boolean;
87
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
88
+ _t?: string | number;
38
89
  /** 一个智能时间参数,可传入Unix时间戳(10位或13位)或标准日期字符串(如 '2023-10-27 10:30:00'),系统将自动识别并转换。 */
39
90
  time: string;
40
91
  }
41
92
  export type PostConvertJsonResponse =
42
93
  Internal.PostConvertJson200Response
43
94
  export interface PostConvertJsonArgs {
95
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
96
+ disableCache?: boolean;
97
+ /** Same as `disableCache`. Kept for compatibility. */
98
+ "disable_cache"?: boolean;
99
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
100
+ _t?: string | number;
44
101
  /** 需要被格式化的原始JSON字符串。 */
45
102
  content: string;
46
103
  }
@@ -51,6 +108,12 @@ export type GetGameEpicFreeResponse =
51
108
  export type GetGameMinecraftHistoryidResponse =
52
109
  Internal.GetGameMinecraftHistoryid200Response
53
110
  export interface GetGameMinecraftHistoryidArgs {
111
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
112
+ disableCache?: boolean;
113
+ /** Same as `disableCache`. Kept for compatibility. */
114
+ "disable_cache"?: boolean;
115
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
116
+ _t?: string | number;
54
117
  /** 玩家的 Minecraft 用户名。使用此参数查询时,会返回所有匹配用户的列表(包括当前用户名或曾用名匹配的玩家)。 */
55
118
  name?: string;
56
119
  /** 玩家的 Minecraft UUID,支持带连字符或不带连字符格式。 */
@@ -59,18 +122,36 @@ export interface GetGameMinecraftHistoryidArgs {
59
122
  export type GetGameMinecraftServerstatusResponse =
60
123
  Internal.GetGameMinecraftServerstatus200Response
61
124
  export interface GetGameMinecraftServerstatusArgs {
125
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
126
+ disableCache?: boolean;
127
+ /** Same as `disableCache`. Kept for compatibility. */
128
+ "disable_cache"?: boolean;
129
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
130
+ _t?: string | number;
62
131
  /** Minecraft服务器的地址,可以是域名(如 `hypixel.net`)或 `IP:端口` 的形式(如 `mc.example.com:25565`)。如果省略端口,将默认使用 `25565`。 */
63
132
  server: string;
64
133
  }
65
134
  export type GetGameMinecraftUserinfoResponse =
66
135
  Internal.GetGameMinecraftUserinfo200Response
67
136
  export interface GetGameMinecraftUserinfoArgs {
137
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
138
+ disableCache?: boolean;
139
+ /** Same as `disableCache`. Kept for compatibility. */
140
+ "disable_cache"?: boolean;
141
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
142
+ _t?: string | number;
68
143
  /** 玩家的 Minecraft 游戏内名称(正版ID)。 */
69
144
  username: string;
70
145
  }
71
146
  export type GetGameSteamSummaryResponse =
72
147
  Internal.GetGameSteamSummary200Response
73
148
  export interface GetGameSteamSummaryArgs {
149
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
150
+ disableCache?: boolean;
151
+ /** Same as `disableCache`. Kept for compatibility. */
152
+ "disable_cache"?: boolean;
153
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
154
+ _t?: string | number;
74
155
  /** 用户的 Steam 标识。可以是以下任意一种格式:
75
156
  - 纯数字的 **SteamID64**
76
157
  - 用户的 **自定义 URL 名称** (Vanity URL)
@@ -81,12 +162,18 @@ export interface GetGameSteamSummaryArgs {
81
162
  id?: string;
82
163
  /** 用户的 Steam ID3 格式标识符。传统的 Steam ID 格式,形如 STEAM_X:Y:Z。 */
83
164
  id3?: string;
84
- /** 你的 Steam Web API Key。这是一个可选参数,如果提供,它将覆盖我们在后端配置的全局Key。这为你提供了更大的灵活性,但请务必注意Key的保密,不要在前端暴露。 */
165
+ /** 这个接口可以传的访问凭证。此参数选填,如果传入,将优先使用您提供的值。请注意妥善保管,不要把它写进公开的前端代码中。 */
85
166
  key?: string;
86
167
  }
87
168
  export type GetAvatarGravatarResponse =
88
169
  ArrayBuffer
89
170
  export interface GetAvatarGravatarArgs {
171
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
172
+ disableCache?: boolean;
173
+ /** Same as `disableCache`. Kept for compatibility. */
174
+ "disable_cache"?: boolean;
175
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
176
+ _t?: string | number;
90
177
  /** 用户的 Email 地址。如果未提供 `hash` 参数,则此参数为必需。 */
91
178
  email?: string;
92
179
  /** 用户 Email 地址的小写 MD5 哈希值。如果提供此参数,将忽略 `email` 参数。 */
@@ -99,10 +186,50 @@ export interface GetAvatarGravatarArgs {
99
186
  r?: string;
100
187
  }
101
188
  export type GetImageBingDailyResponse =
102
- ArrayBuffer
189
+ ArrayBuffer | Internal.FormatJson
190
+ export interface GetImageBingDailyArgs {
191
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
192
+ disableCache?: boolean;
193
+ /** Same as `disableCache`. Kept for compatibility. */
194
+ "disable_cache"?: boolean;
195
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
196
+ _t?: string | number;
197
+ /** 壁纸日期,格式是 `YYYY-MM-DD`。不传时返回当天壁纸。 */
198
+ date?: string;
199
+ /** 返回图片的目标分辨率。可以传 `4k` 或 `1080`,不传时默认是 `4k`。 */
200
+ resolution?: string;
201
+ /** 响应格式。可以传 `image`、`json` 或 `redirect`。不传时默认是 `image`。 */
202
+ format?: string;
203
+ }
204
+ export type GetImageBingDailyHistoryResponse =
205
+ Internal.GetImageBingDailyHistory200Response
206
+ export interface GetImageBingDailyHistoryArgs {
207
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
208
+ disableCache?: boolean;
209
+ /** Same as `disableCache`. Kept for compatibility. */
210
+ "disable_cache"?: boolean;
211
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
212
+ _t?: string | number;
213
+ /** 壁纸日期,格式是 `YYYY-MM-DD`。传了以后会按日期精确查询,并且忽略 `page` 和 `page_size`。 */
214
+ date?: string;
215
+ /** 返回图片的目标分辨率。可以传 `4k` 或 `1080`,不传时默认是 `4k`。 */
216
+ resolution?: string;
217
+ /** 分页页码,必须是正整数。不传时默认是 `1`。只有在不传 `date` 时才生效。 */
218
+ page?: number;
219
+ /** 每页条数,必须是正整数。不传时默认是 `30`,最大是 `100`。只有在不传 `date` 时才生效。 */
220
+ pageSize?: number;
221
+ /** Same as `pageSize`. Kept for compatibility. */
222
+ "page_size"?: number;
223
+ }
103
224
  export type GetImageMotouResponse =
104
225
  ArrayBuffer
105
226
  export interface GetImageMotouArgs {
227
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
228
+ disableCache?: boolean;
229
+ /** Same as `disableCache`. Kept for compatibility. */
230
+ "disable_cache"?: boolean;
231
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
232
+ _t?: string | number;
106
233
  /** 你想要摸头的对象的QQ号码。 */
107
234
  qq: string;
108
235
  /** GIF的背景颜色。留空则由后端服务决定默认值。 */
@@ -113,6 +240,12 @@ export interface GetImageMotouArgs {
113
240
  export type GetImageQrcodeResponse =
114
241
  Internal.GetImageQrcode200Response
115
242
  export interface GetImageQrcodeArgs {
243
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
244
+ disableCache?: boolean;
245
+ /** Same as `disableCache`. Kept for compatibility. */
246
+ "disable_cache"?: boolean;
247
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
248
+ _t?: string | number;
116
249
  /** 你希望编码到二维码中的任何文本内容,比如一个URL、一段话或者一个JSON字符串。 */
117
250
  text: string;
118
251
  /** 二维码图片的边长(正方形),单位是像素。有效范围是 256 到 2048 之间。 */
@@ -129,12 +262,24 @@ export interface GetImageQrcodeArgs {
129
262
  export type GetImageTobase64Response =
130
263
  Internal.GetImageTobase64200Response
131
264
  export interface GetImageTobase64Args {
265
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
266
+ disableCache?: boolean;
267
+ /** Same as `disableCache`. Kept for compatibility. */
268
+ "disable_cache"?: boolean;
269
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
270
+ _t?: string | number;
132
271
  /** 需要转换为Base64的、可公开访问的图片URL地址。 */
133
272
  url: string;
134
273
  }
135
274
  export type PostImageCompressResponse =
136
275
  ArrayBuffer
137
276
  export interface PostImageCompressArgs {
277
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
278
+ disableCache?: boolean;
279
+ /** Same as `disableCache`. Kept for compatibility. */
280
+ "disable_cache"?: boolean;
281
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
282
+ _t?: string | number;
138
283
  /** 压缩强度 (1-5),默认为 3。数字越小,压缩率越高。 */
139
284
  level?: number;
140
285
  /** 输出图片格式,可以是 'png' 或 'jpeg'。 */
@@ -142,15 +287,63 @@ export interface PostImageCompressArgs {
142
287
  /** 支持PNG, JPG, JPEG等常见图片格式。文件大小不超过15MB。 */
143
288
  file: string;
144
289
  }
290
+ export type PostImageDecodeResponse =
291
+ ArrayBuffer
292
+ export interface PostImageDecodeArgs {
293
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
294
+ disableCache?: boolean;
295
+ /** Same as `disableCache`. Kept for compatibility. */
296
+ "disable_cache"?: boolean;
297
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
298
+ _t?: string | number;
299
+ /** 目标宽度,单位是像素。可以单独传,也可以和 `height` 一起传。与 `max_width`、`max_height` 互斥。 */
300
+ width?: number;
301
+ /** 目标高度,单位是像素。可以单独传,也可以和 `width` 一起传。与 `max_width`、`max_height` 互斥。 */
302
+ height?: number;
303
+ /** 最大宽度,单位是像素。只有在不传 `width`、`height` 时才生效,会按原比例缩放。 */
304
+ maxWidth?: number;
305
+ /** Same as `maxWidth`. Kept for compatibility. */
306
+ "max_width"?: number;
307
+ /** 最大高度,单位是像素。只有在不传 `width`、`height` 时才生效,会按原比例缩放。 */
308
+ maxHeight?: number;
309
+ /** Same as `maxHeight`. Kept for compatibility. */
310
+ "max_height"?: number;
311
+ /** 输出格式。可以传 `bmp`、`rgb565` 或 `rgb888`,不传时默认是 `bmp`。 */
312
+ format?: string;
313
+ /** BMP 输出的颜色模式。只有在 `format=bmp` 时才生效,可以传 `RGB565` 或 `RGB888`,不传时默认是 `RGB888`。 */
314
+ colorMode?: string;
315
+ /** Same as `colorMode`. Kept for compatibility. */
316
+ "color_mode"?: string;
317
+ /** 缩放模式。可以传 `contain`、`cover` 或 `fill`,不传时默认是 `contain`。当传 `cover` 或 `fill` 时,`width` 和 `height` 都要传。 */
318
+ fit?: string;
319
+ /** 背景色。可以传 `black`、`white` 或 `#RRGGBB`,不传时默认是 `black`。 */
320
+ background?: string;
321
+ /** 要处理的图片文件。这个接口适合直接上传 JPG、JPEG、PNG、WebP、BMP 等常见格式。 */
322
+ file?: string;
323
+ /** 要处理的图片链接。适合不方便直接上传文件时使用。 */
324
+ url?: string;
325
+ }
145
326
  export type PostImageFrombase64Response =
146
327
  Internal.PostImageFrombase64200Response
147
328
  export interface PostImageFrombase64Args {
329
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
330
+ disableCache?: boolean;
331
+ /** Same as `disableCache`. Kept for compatibility. */
332
+ "disable_cache"?: boolean;
333
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
334
+ _t?: string | number;
148
335
  /** 图片的Base64 Data URI,必须包含MIME类型头。例如:`data:image/png;base64,...` */
149
336
  imageData: string;
150
337
  }
151
338
  export type PostImageMotouResponse =
152
339
  ArrayBuffer
153
340
  export interface PostImageMotouArgs {
341
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
342
+ disableCache?: boolean;
343
+ /** Same as `disableCache`. Kept for compatibility. */
344
+ "disable_cache"?: boolean;
345
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
346
+ _t?: string | number;
154
347
  /** GIF的背景颜色。可选值为 'white', 'black', 'transparent'。 */
155
348
  bgColor?: string;
156
349
  /** Same as `bgColor`. Kept for compatibility. */
@@ -165,14 +358,60 @@ export interface PostImageMotouArgs {
165
358
  export type PostImageNsfwResponse =
166
359
  Internal.PostImageNsfw200Response
167
360
  export interface PostImageNsfwArgs {
361
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
362
+ disableCache?: boolean;
363
+ /** Same as `disableCache`. Kept for compatibility. */
364
+ "disable_cache"?: boolean;
365
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
366
+ _t?: string | number;
168
367
  /** 要检测的图片文件。支持 JPG、JPEG、PNG、GIF、WebP 格式,最大 20MB。 */
169
368
  file?: string;
170
369
  /** 图片的 URL 地址。如果同时提供 file 和 url,将优先使用 file。 */
171
370
  url?: string;
172
371
  }
372
+ export type PostImageOcrResponse =
373
+ Internal.PostImageOcr200Response
374
+ export interface PostImageOcrArgs {
375
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
376
+ disableCache?: boolean;
377
+ /** Same as `disableCache`. Kept for compatibility. */
378
+ "disable_cache"?: boolean;
379
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
380
+ _t?: string | number;
381
+ /** 是否开启额外的文字方向校正。请传 `true` 或 `false`,不传时默认是 `false`。 */
382
+ enableCls?: string;
383
+ /** Same as `enableCls`. Kept for compatibility. */
384
+ "enable_cls"?: string;
385
+ /** 待识别的图片文件。支持 JPG、JPEG、PNG、BMP、GIF、WebP 等常见格式,最大不超过 10MB。请勿与 url 或 image_base64 同时提交。 */
386
+ file?: string;
387
+ /** 图片的 Base64 字符串。可以传完整 Data URI,也可以只传纯 Base64 内容。请勿与 file 或 url 同时提交。 */
388
+ imageBase64?: string;
389
+ /** Same as `imageBase64`. Kept for compatibility. */
390
+ "image_base64"?: string;
391
+ /** 自定义图片文件名。传链接或纯 Base64 时建议一起传,便于保留或推断扩展名。 */
392
+ imageName?: string;
393
+ /** Same as `imageName`. Kept for compatibility. */
394
+ "image_name"?: string;
395
+ /** 是否返回文字坐标信息。请传 `true` 或 `false`,不传时默认是 `true`。 */
396
+ needLocation?: string;
397
+ /** Same as `needLocation`. Kept for compatibility. */
398
+ "need_location"?: string;
399
+ /** 是否额外返回整理后的 Markdown 文本。请传 `true` 或 `false`,不传时默认是 `false`。 */
400
+ returnMarkdown?: string;
401
+ /** Same as `returnMarkdown`. Kept for compatibility. */
402
+ "return_markdown"?: string;
403
+ /** 公网可直接访问的图片地址。请勿与 file 或 image_base64 同时提交。 */
404
+ url?: string;
405
+ }
173
406
  export type PostImageSpeechlessResponse =
174
407
  ArrayBuffer
175
408
  export interface PostImageSpeechlessArgs {
409
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
410
+ disableCache?: boolean;
411
+ /** Same as `disableCache`. Kept for compatibility. */
412
+ "disable_cache"?: boolean;
413
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
414
+ _t?: string | number;
176
415
  /** 表情包下方的文字内容。求求你_______ */
177
416
  bottomText?: string;
178
417
  /** Same as `bottomText`. Kept for compatibility. */
@@ -185,6 +424,12 @@ export interface PostImageSpeechlessArgs {
185
424
  export type PostImageSvgResponse =
186
425
  ArrayBuffer
187
426
  export interface PostImageSvgArgs {
427
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
428
+ disableCache?: boolean;
429
+ /** Same as `disableCache`. Kept for compatibility. */
430
+ "disable_cache"?: boolean;
431
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
432
+ _t?: string | number;
188
433
  /** 输出图像的目标格式。支持的值:`png`, `jpeg`, `jpg`, `gif`, `tiff`, `bmp`。 */
189
434
  format?: string;
190
435
  /** 输出图像的宽度(像素)。如果省略,将根据 `height` 保持宽高比,或者使用 SVG 的原始宽度。 */
@@ -199,6 +444,12 @@ export interface PostImageSvgArgs {
199
444
  export type GetHistoryProgrammerResponse =
200
445
  Internal.GetHistoryProgrammer200Response
201
446
  export interface GetHistoryProgrammerArgs {
447
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
448
+ disableCache?: boolean;
449
+ /** Same as `disableCache`. Kept for compatibility. */
450
+ "disable_cache"?: boolean;
451
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
452
+ _t?: string | number;
202
453
  /** 月份,1-12之间的整数。 */
203
454
  month: number;
204
455
  /** 日期,1-31之间的整数。 */
@@ -209,6 +460,12 @@ export type GetHistoryProgrammerTodayResponse =
209
460
  export type GetMiscDistrictResponse =
210
461
  Internal.GetMiscDistrict200Response
211
462
  export interface GetMiscDistrictArgs {
463
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
464
+ disableCache?: boolean;
465
+ /** Same as `disableCache`. Kept for compatibility. */
466
+ "disable_cache"?: boolean;
467
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
468
+ _t?: string | number;
212
469
  /** 关键词搜索(城市名、区县名,支持中英文)。 */
213
470
  keywords?: string;
214
471
  /** 中国行政区划代码精确查询(如 `110000`),同时返回下级行政区。 */
@@ -227,6 +484,12 @@ export interface GetMiscDistrictArgs {
227
484
  export type GetMiscHolidayCalendarResponse =
228
485
  Internal.GetMiscHolidayCalendar200Response
229
486
  export interface GetMiscHolidayCalendarArgs {
487
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
488
+ disableCache?: boolean;
489
+ /** Same as `disableCache`. Kept for compatibility. */
490
+ "disable_cache"?: boolean;
491
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
492
+ _t?: string | number;
230
493
  /** 按天查询时填写这个参数,例如查某一天。格式:`YYYY-MM-DD`。和 `month`、`year` 三选一。 */
231
494
  date?: string;
232
495
  /** 按月查询时填写这个参数,例如查某个月。格式:`YYYY-MM`。和 `date`、`year` 三选一。 */
@@ -247,10 +510,20 @@ export interface GetMiscHolidayCalendarArgs {
247
510
  nearbyLimit?: number;
248
511
  /** Same as `nearbyLimit`. Kept for compatibility. */
249
512
  "nearby_limit"?: number;
513
+ /** 传 true 时,会过滤今天之前已经过去的节日。默认 false。 */
514
+ excludePast?: boolean;
515
+ /** Same as `excludePast`. Kept for compatibility. */
516
+ "exclude_past"?: boolean;
250
517
  }
251
518
  export type GetMiscHotboardResponse =
252
519
  Internal.GetMiscHotboard200Response
253
520
  export interface GetMiscHotboardArgs {
521
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
522
+ disableCache?: boolean;
523
+ /** Same as `disableCache`. Kept for compatibility. */
524
+ "disable_cache"?: boolean;
525
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
526
+ _t?: string | number;
254
527
  /** 你想要查询的热榜平台。请从[支持的平台列表](#enum-list)中选择。 */
255
528
  type: string;
256
529
  /** 时光机模式:毫秒时间戳,返回最接近该时间的热榜快照。不传则返回当前实时热榜。 */
@@ -267,12 +540,16 @@ export interface GetMiscHotboardArgs {
267
540
  "time_end"?: number;
268
541
  /** 搜索模式下最大返回条数,默认 50,最大 200。 */
269
542
  limit?: number;
270
- /** 设为 true 时列出所有可用的历史数据源,忽略其他参数。 */
271
- sources?: boolean;
272
543
  }
273
544
  export type GetMiscLunartimeResponse =
274
545
  Internal.GetMiscLunartime200Response
275
546
  export interface GetMiscLunartimeArgs {
547
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
548
+ disableCache?: boolean;
549
+ /** Same as `disableCache`. Kept for compatibility. */
550
+ "disable_cache"?: boolean;
551
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
552
+ _t?: string | number;
276
553
  /** Unix 时间戳,支持 10 位秒级或 13 位毫秒级。不传则默认当前时间。 */
277
554
  ts?: string;
278
555
  /** 时区名称。支持 IANA 时区(如 Asia/Shanghai)和别名(Shanghai、Beijing)。默认 Asia/Shanghai。 */
@@ -281,12 +558,24 @@ export interface GetMiscLunartimeArgs {
281
558
  export type GetMiscPhoneinfoResponse =
282
559
  Internal.GetMiscPhoneinfo200Response
283
560
  export interface GetMiscPhoneinfoArgs {
561
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
562
+ disableCache?: boolean;
563
+ /** Same as `disableCache`. Kept for compatibility. */
564
+ "disable_cache"?: boolean;
565
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
566
+ _t?: string | number;
284
567
  /** 需要查询的11位中国大陆手机号码。 */
285
568
  phone: string;
286
569
  }
287
570
  export type GetMiscRandomnumberResponse =
288
571
  Internal.GetMiscRandomnumber200Response
289
572
  export interface GetMiscRandomnumberArgs {
573
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
574
+ disableCache?: boolean;
575
+ /** Same as `disableCache`. Kept for compatibility. */
576
+ "disable_cache"?: boolean;
577
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
578
+ _t?: string | number;
290
579
  /** 生成随机数的最小值(包含)。 */
291
580
  min?: number;
292
581
  /** 生成随机数的最大值(包含)。 */
@@ -309,6 +598,12 @@ export interface GetMiscRandomnumberArgs {
309
598
  export type GetMiscTimestampResponse =
310
599
  Internal.GetMiscTimestamp200Response
311
600
  export interface GetMiscTimestampArgs {
601
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
602
+ disableCache?: boolean;
603
+ /** Same as `disableCache`. Kept for compatibility. */
604
+ "disable_cache"?: boolean;
605
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
606
+ _t?: string | number;
312
607
  /** 需要转换的Unix时间戳,支持10位(秒)或13位(毫秒)。 */
313
608
  ts: string;
314
609
  }
@@ -317,6 +612,12 @@ export type GetMiscTrackingCarriersResponse =
317
612
  export type GetMiscTrackingDetectResponse =
318
613
  Internal.GetMiscTrackingDetect200Response
319
614
  export interface GetMiscTrackingDetectArgs {
615
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
616
+ disableCache?: boolean;
617
+ /** Same as `disableCache`. Kept for compatibility. */
618
+ "disable_cache"?: boolean;
619
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
620
+ _t?: string | number;
320
621
  /** 需要识别的快递单号。 */
321
622
  trackingNumber: string;
322
623
  /** Same as `trackingNumber`. Kept for compatibility. */
@@ -325,6 +626,12 @@ export interface GetMiscTrackingDetectArgs {
325
626
  export type GetMiscTrackingQueryResponse =
326
627
  Internal.GetMiscTrackingQuery200Response
327
628
  export interface GetMiscTrackingQueryArgs {
629
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
630
+ disableCache?: boolean;
631
+ /** Same as `disableCache`. Kept for compatibility. */
632
+ "disable_cache"?: boolean;
633
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
634
+ _t?: string | number;
328
635
  /** 快递单号,通常是一串10-20位的数字或字母数字组合。 */
329
636
  trackingNumber: string;
330
637
  /** Same as `trackingNumber`. Kept for compatibility. */
@@ -335,10 +642,18 @@ export interface GetMiscTrackingQueryArgs {
335
642
  "carrier_code"?: string;
336
643
  /** 收件人手机尾号,4位数字(可选)。部分快递公司需要验证手机尾号才能查询详细物流信息。 */
337
644
  phone?: string;
645
+ /** 使用这个参数可以获得完整的物流信息。但会消耗34积分/一次(不过缓存命中半价)。因为成本实在太贵了,否则非常非常亏说是 */
646
+ full?: boolean;
338
647
  }
339
648
  export type GetMiscWeatherResponse =
340
649
  Internal.GetMiscWeather200Response
341
650
  export interface GetMiscWeatherArgs {
651
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
652
+ disableCache?: boolean;
653
+ /** Same as `disableCache`. Kept for compatibility. */
654
+ "disable_cache"?: boolean;
655
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
656
+ _t?: string | number;
342
657
  /** 城市名称,支持中文(`北京`)和英文(`Tokyo`)。可选参数,不传时会尝试 IP 自动定位。 */
343
658
  city?: string;
344
659
  /** 城市行政区划代码(如 `110000`),优先级高于 city。可选参数,不传时会尝试 IP 自动定位。 */
@@ -359,12 +674,24 @@ export interface GetMiscWeatherArgs {
359
674
  export type GetMiscWorldtimeResponse =
360
675
  Internal.GetMiscWorldtime200Response
361
676
  export interface GetMiscWorldtimeArgs {
677
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
678
+ disableCache?: boolean;
679
+ /** Same as `disableCache`. Kept for compatibility. */
680
+ "disable_cache"?: boolean;
681
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
682
+ _t?: string | number;
362
683
  /** 你需要查询的城市或地区,请使用标准的 IANA 时区数据库名称,例如 'Shanghai', 'Asia/Tokyo', 'America/New_York'。 */
363
684
  city: string;
364
685
  }
365
686
  export type PostMiscDateDiffResponse =
366
687
  Internal.PostMiscDateDiff200Response
367
688
  export interface PostMiscDateDiffArgs {
689
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
690
+ disableCache?: boolean;
691
+ /** Same as `disableCache`. Kept for compatibility. */
692
+ "disable_cache"?: boolean;
693
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
694
+ _t?: string | number;
368
695
  /** 结束日期,支持多种格式自动识别 */
369
696
  endDate: string;
370
697
  /** Same as `endDate`. Kept for compatibility. */
@@ -379,6 +706,12 @@ export interface PostMiscDateDiffArgs {
379
706
  export type GetNetworkDnsResponse =
380
707
  Internal.GetNetworkDns200Response
381
708
  export interface GetNetworkDnsArgs {
709
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
710
+ disableCache?: boolean;
711
+ /** Same as `disableCache`. Kept for compatibility. */
712
+ "disable_cache"?: boolean;
713
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
714
+ _t?: string | number;
382
715
  /** 你需要查询的域名,例如 'cn.bing.com'。 */
383
716
  domain: string;
384
717
  /** 你想要查询的DNS记录类型。 */
@@ -387,26 +720,50 @@ export interface GetNetworkDnsArgs {
387
720
  export type GetNetworkIcpResponse =
388
721
  Internal.GetNetworkIcp200Response
389
722
  export interface GetNetworkIcpArgs {
723
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
724
+ disableCache?: boolean;
725
+ /** Same as `disableCache`. Kept for compatibility. */
726
+ "disable_cache"?: boolean;
727
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
728
+ _t?: string | number;
390
729
  /** 需要查询的域名或URL */
391
730
  domain: string;
392
731
  }
393
732
  export type GetNetworkIpinfoResponse =
394
733
  Internal.GetNetworkIpinfo200Response
395
734
  export interface GetNetworkIpinfoArgs {
735
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
736
+ disableCache?: boolean;
737
+ /** Same as `disableCache`. Kept for compatibility. */
738
+ "disable_cache"?: boolean;
739
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
740
+ _t?: string | number;
396
741
  /** 你需要查询的公网IP地址或域名(支持IPv4和IPv6)。 */
397
742
  ip: string;
398
- /** 查询的数据源。如果留空,将使用默认的数据库。如果设置为 `commercial`,将调用商业级API,返回更详细的地理位置信息,但响应时间可能会稍长。 */
743
+ /** 查询结果类型。不传时返回标准结果;如果设置为 `commercial`,将返回更完整的地理位置信息,但响应时间可能会稍长。 */
399
744
  source?: string;
400
745
  }
401
746
  export type GetNetworkMyipResponse =
402
747
  Internal.GetNetworkMyip200Response
403
748
  export interface GetNetworkMyipArgs {
404
- /** 查询的数据源。如果留空,将使用默认的数据库。如果设置为 `commercial`,将调用商业级API,返回更详细的地理位置信息,但响应时间可能会稍长。 */
749
+ /** true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
750
+ disableCache?: boolean;
751
+ /** Same as `disableCache`. Kept for compatibility. */
752
+ "disable_cache"?: boolean;
753
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
754
+ _t?: string | number;
755
+ /** 查询结果类型。不传时返回标准结果;如果设置为 `commercial`,将返回更完整的地理位置信息,但响应时间可能会稍长。 */
405
756
  source?: string;
406
757
  }
407
758
  export type GetNetworkPingResponse =
408
759
  Internal.GetNetworkPing200Response
409
760
  export interface GetNetworkPingArgs {
761
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
762
+ disableCache?: boolean;
763
+ /** Same as `disableCache`. Kept for compatibility. */
764
+ "disable_cache"?: boolean;
765
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
766
+ _t?: string | number;
410
767
  /** 你需要 Ping 的目标主机,可以是域名或IP地址。 */
411
768
  host: string;
412
769
  }
@@ -415,6 +772,12 @@ export type GetNetworkPingmyipResponse =
415
772
  export type GetNetworkPortscanResponse =
416
773
  Internal.GetNetworkPortscan200Response
417
774
  export interface GetNetworkPortscanArgs {
775
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
776
+ disableCache?: boolean;
777
+ /** Same as `disableCache`. Kept for compatibility. */
778
+ "disable_cache"?: boolean;
779
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
780
+ _t?: string | number;
418
781
  /** 需要扫描的目标主机,可以是域名或IP地址。 */
419
782
  host: string;
420
783
  /** 需要扫描的端口号,范围是 1 到 65535。 */
@@ -425,12 +788,24 @@ export interface GetNetworkPortscanArgs {
425
788
  export type GetNetworkUrlstatusResponse =
426
789
  Internal.GetNetworkUrlstatus200Response
427
790
  export interface GetNetworkUrlstatusArgs {
791
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
792
+ disableCache?: boolean;
793
+ /** Same as `disableCache`. Kept for compatibility. */
794
+ "disable_cache"?: boolean;
795
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
796
+ _t?: string | number;
428
797
  /** 你需要检查其可访问性状态的完整URL。 */
429
798
  url: string;
430
799
  }
431
800
  export type GetNetworkWhoisResponse =
432
801
  Internal.GetNetworkWhois200Response
433
802
  export interface GetNetworkWhoisArgs {
803
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
804
+ disableCache?: boolean;
805
+ /** Same as `disableCache`. Kept for compatibility. */
806
+ "disable_cache"?: boolean;
807
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
808
+ _t?: string | number;
434
809
  /** 你需要查询WHOIS信息的域名。 */
435
810
  domain: string;
436
811
  /** 返回格式。留空或为 'text' 时返回原始WHOIS文本,设为 'json' 时返回结构化JSON。 */
@@ -439,6 +814,12 @@ export interface GetNetworkWhoisArgs {
439
814
  export type GetNetworkWxdomainResponse =
440
815
  Internal.GetNetworkWxdomain200Response
441
816
  export interface GetNetworkWxdomainArgs {
817
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
818
+ disableCache?: boolean;
819
+ /** Same as `disableCache`. Kept for compatibility. */
820
+ "disable_cache"?: boolean;
821
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
822
+ _t?: string | number;
442
823
  /** 需要查询的域名。 */
443
824
  domain: string;
444
825
  }
@@ -447,12 +828,24 @@ export type GetSayingResponse =
447
828
  export type GetAnswerbookAskResponse =
448
829
  Internal.GetAnswerbookAsk200Response
449
830
  export interface GetAnswerbookAskArgs {
831
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
832
+ disableCache?: boolean;
833
+ /** Same as `disableCache`. Kept for compatibility. */
834
+ "disable_cache"?: boolean;
835
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
836
+ _t?: string | number;
450
837
  /** 你想要提问的问题。问题不能为空。 */
451
838
  question: string;
452
839
  }
453
840
  export type GetRandomImageResponse =
454
841
  ArrayBuffer
455
842
  export interface GetRandomImageArgs {
843
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
844
+ disableCache?: boolean;
845
+ /** Same as `disableCache`. Kept for compatibility. */
846
+ "disable_cache"?: boolean;
847
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
848
+ _t?: string | number;
456
849
  /** (可选)指定图片主类别。
457
850
 
458
851
  **支持的主类别:**
@@ -484,6 +877,12 @@ export interface GetRandomImageArgs {
484
877
  export type GetRandomStringResponse =
485
878
  Internal.GetRandomString200Response
486
879
  export interface GetRandomStringArgs {
880
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
881
+ disableCache?: boolean;
882
+ /** Same as `disableCache`. Kept for compatibility. */
883
+ "disable_cache"?: boolean;
884
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
885
+ _t?: string | number;
487
886
  /** 你希望生成的字符串的长度。有效范围是 1 到 1024。 */
488
887
  length?: number;
489
888
  /** 指定构成字符串的字符类型。 */
@@ -492,18 +891,56 @@ export interface GetRandomStringArgs {
492
891
  export type PostAnswerbookAskResponse =
493
892
  Internal.PostAnswerbookAsk200Response
494
893
  export interface PostAnswerbookAskArgs {
894
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
895
+ disableCache?: boolean;
896
+ /** Same as `disableCache`. Kept for compatibility. */
897
+ "disable_cache"?: boolean;
898
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
899
+ _t?: string | number;
495
900
  /** 你想要提问的问题 */
496
901
  question: string;
497
902
  }
498
903
  export type GetGithubRepoResponse =
499
904
  Internal.GetGithubRepo200Response
500
905
  export interface GetGithubRepoArgs {
906
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
907
+ disableCache?: boolean;
908
+ /** Same as `disableCache`. Kept for compatibility. */
909
+ "disable_cache"?: boolean;
910
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
911
+ _t?: string | number;
501
912
  /** 目标仓库的标识,格式为 `owner/repo`。 */
502
913
  repo: string;
503
914
  }
915
+ export type GetGithubUserResponse =
916
+ Internal.GetGithubUser200Response
917
+ export interface GetGithubUserArgs {
918
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
919
+ disableCache?: boolean;
920
+ /** Same as `disableCache`. Kept for compatibility. */
921
+ "disable_cache"?: boolean;
922
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
923
+ _t?: string | number;
924
+ /** GitHub 用户名(必需符合 GitHub 命名规范:仅限字母、数字、连字符,最长 39 位)。 */
925
+ user: string;
926
+ /** 是否获取最近一年的贡献活动数据(如贡献图、时间线)。传入 true 开启,其他值均视为不开启。 */
927
+ activity?: boolean;
928
+ /** 活动数据范围。可选 all 或 organization。只有开启 activity 时才有意义。 */
929
+ activityScope?: string;
930
+ /** Same as `activityScope`. Kept for compatibility. */
931
+ "activity_scope"?: string;
932
+ /** 组织登录名。如果传入此参数,会自动视为开启 organization 级别的贡献查询,切勿再同时传 activity_scope=all。 */
933
+ org?: string;
934
+ }
504
935
  export type GetSocialBilibiliArchivesResponse =
505
936
  Internal.GetSocialBilibiliArchives200Response
506
937
  export interface GetSocialBilibiliArchivesArgs {
938
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
939
+ disableCache?: boolean;
940
+ /** Same as `disableCache`. Kept for compatibility. */
941
+ "disable_cache"?: boolean;
942
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
943
+ _t?: string | number;
507
944
  /** B站用户的mid(用户ID) */
508
945
  mid: string;
509
946
  /** 搜索关键词,可为空 */
@@ -518,6 +955,12 @@ export interface GetSocialBilibiliArchivesArgs {
518
955
  export type GetSocialBilibiliLiveroomResponse =
519
956
  Internal.GetSocialBilibiliLiveroom200Response
520
957
  export interface GetSocialBilibiliLiveroomArgs {
958
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
959
+ disableCache?: boolean;
960
+ /** Same as `disableCache`. Kept for compatibility. */
961
+ "disable_cache"?: boolean;
962
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
963
+ _t?: string | number;
521
964
  /** 主播的用户ID (`mid`)。与 `room_id` 任选其一。 */
522
965
  mid?: string;
523
966
  /** 直播间ID,可以是长号(真实ID)或短号(靓号)。与 `mid` 任选其一。 */
@@ -528,6 +971,12 @@ export interface GetSocialBilibiliLiveroomArgs {
528
971
  export type GetSocialBilibiliRepliesResponse =
529
972
  Internal.GetSocialBilibiliReplies200Response
530
973
  export interface GetSocialBilibiliRepliesArgs {
974
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
975
+ disableCache?: boolean;
976
+ /** Same as `disableCache`. Kept for compatibility. */
977
+ "disable_cache"?: boolean;
978
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
979
+ _t?: string | number;
531
980
  /** 目标评论区的ID。对于视频,这通常就是它的 `aid`。 */
532
981
  oid: string;
533
982
  /** 排序方式。支持 `0/time`(按时间)、`1/like`(按点赞)、`2/reply`(按回复数)、`3/hot/hottest/最热`(按最热)。默认为 `0/time`。 */
@@ -540,12 +989,24 @@ export interface GetSocialBilibiliRepliesArgs {
540
989
  export type GetSocialBilibiliUserinfoResponse =
541
990
  Internal.GetSocialBilibiliUserinfo200Response
542
991
  export interface GetSocialBilibiliUserinfoArgs {
992
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
993
+ disableCache?: boolean;
994
+ /** Same as `disableCache`. Kept for compatibility. */
995
+ "disable_cache"?: boolean;
996
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
997
+ _t?: string | number;
543
998
  /** Bilibili用户的UID */
544
999
  uid: string;
545
1000
  }
546
1001
  export type GetSocialBilibiliVideoinfoResponse =
547
1002
  Internal.GetSocialBilibiliVideoinfo200Response
548
1003
  export interface GetSocialBilibiliVideoinfoArgs {
1004
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1005
+ disableCache?: boolean;
1006
+ /** Same as `disableCache`. Kept for compatibility. */
1007
+ "disable_cache"?: boolean;
1008
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1009
+ _t?: string | number;
549
1010
  /** 视频的AV号 (aid),纯数字格式。`aid`和`bvid`任选其一即可。 */
550
1011
  aid?: string;
551
1012
  /** 视频的BV号 (bvid),例如 `BV117411r7R1`。`aid`和`bvid`任选其一即可。 */
@@ -554,6 +1015,12 @@ export interface GetSocialBilibiliVideoinfoArgs {
554
1015
  export type GetSocialQqGroupinfoResponse =
555
1016
  Internal.GetSocialQqGroupinfo200Response
556
1017
  export interface GetSocialQqGroupinfoArgs {
1018
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1019
+ disableCache?: boolean;
1020
+ /** Same as `disableCache`. Kept for compatibility. */
1021
+ "disable_cache"?: boolean;
1022
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1023
+ _t?: string | number;
557
1024
  /** QQ群号,长度5-12位 */
558
1025
  groupId: string;
559
1026
  /** Same as `groupId`. Kept for compatibility. */
@@ -562,12 +1029,24 @@ export interface GetSocialQqGroupinfoArgs {
562
1029
  export type GetSocialQqUserinfoResponse =
563
1030
  Internal.GetSocialQqUserinfo200Response
564
1031
  export interface GetSocialQqUserinfoArgs {
1032
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1033
+ disableCache?: boolean;
1034
+ /** Same as `disableCache`. Kept for compatibility. */
1035
+ "disable_cache"?: boolean;
1036
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1037
+ _t?: string | number;
565
1038
  /** 需要查询的QQ号 */
566
1039
  qq: string;
567
1040
  }
568
1041
  export type GetStatusRatelimitResponse =
569
1042
  Internal.GetStatusRatelimit200Response
570
1043
  export interface GetStatusRatelimitArgs {
1044
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1045
+ disableCache?: boolean;
1046
+ /** Same as `disableCache`. Kept for compatibility. */
1047
+ "disable_cache"?: boolean;
1048
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1049
+ _t?: string | number;
571
1050
  /** Bearer类型的API密钥认证头。例如:`Bearer sk-xxx` */
572
1051
  authorization: string;
573
1052
  /** Same as `authorization`. Kept for compatibility. */
@@ -576,28 +1055,52 @@ export interface GetStatusRatelimitArgs {
576
1055
  export type GetStatusUsageResponse =
577
1056
  Internal.GetStatusUsage200Response
578
1057
  export interface GetStatusUsageArgs {
1058
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1059
+ disableCache?: boolean;
1060
+ /** Same as `disableCache`. Kept for compatibility. */
1061
+ "disable_cache"?: boolean;
1062
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1063
+ _t?: string | number;
579
1064
  /** (可选)如果你想查询某个特定的端点,请提供它的路径,例如 '/api/v1/image/motou'。如果留空,则返回所有端点的统计列表。 */
580
1065
  path?: string;
581
1066
  }
582
1067
  export type GetTextMd5Response =
583
1068
  Internal.GetTextMd5200Response
584
1069
  export interface GetTextMd5Args {
1070
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1071
+ disableCache?: boolean;
1072
+ /** Same as `disableCache`. Kept for compatibility. */
1073
+ "disable_cache"?: boolean;
1074
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1075
+ _t?: string | number;
585
1076
  /** 需要计算哈希值的文本 */
586
1077
  text: string;
587
1078
  }
588
1079
  export type PostTextAesDecryptResponse =
589
1080
  Internal.PostTextAesDecrypt200Response
590
1081
  export interface PostTextAesDecryptArgs {
1082
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1083
+ disableCache?: boolean;
1084
+ /** Same as `disableCache`. Kept for compatibility. */
1085
+ "disable_cache"?: boolean;
1086
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1087
+ _t?: string | number;
591
1088
  /** 密钥,长度必须为16、24或32字节,对应AES-128/192/256。 */
592
1089
  key: string;
593
1090
  /** 16字节的IV/Nonce,必须为16个字符 */
594
- nonce: string;
1091
+ nonce?: string;
595
1092
  /** Base64编码的密文。 */
596
1093
  text: string;
597
1094
  }
598
1095
  export type PostTextAesDecryptAdvancedResponse =
599
1096
  Internal.PostTextAesDecryptAdvanced200Response
600
1097
  export interface PostTextAesDecryptAdvancedArgs {
1098
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1099
+ disableCache?: boolean;
1100
+ /** Same as `disableCache`. Kept for compatibility. */
1101
+ "disable_cache"?: boolean;
1102
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1103
+ _t?: string | number;
601
1104
  /** 初始化向量(非GCM模式必须提供,Base64编码)。此值来自加密接口返回的iv字段 */
602
1105
  iv?: string;
603
1106
  /** 解密密钥(必须与加密时相同) */
@@ -612,6 +1115,12 @@ export interface PostTextAesDecryptAdvancedArgs {
612
1115
  export type PostTextAesEncryptResponse =
613
1116
  Internal.PostTextAesEncrypt200Response
614
1117
  export interface PostTextAesEncryptArgs {
1118
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1119
+ disableCache?: boolean;
1120
+ /** Same as `disableCache`. Kept for compatibility. */
1121
+ "disable_cache"?: boolean;
1122
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1123
+ _t?: string | number;
615
1124
  /** 密钥长度必须为 16、24 或 32 字节,分别对应 AES-128、AES-192、AES-256。 */
616
1125
  key: string;
617
1126
  /** 待加密的明文文本。 */
@@ -620,6 +1129,12 @@ export interface PostTextAesEncryptArgs {
620
1129
  export type PostTextAesEncryptAdvancedResponse =
621
1130
  Internal.PostTextAesEncryptAdvanced200Response
622
1131
  export interface PostTextAesEncryptAdvancedArgs {
1132
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1133
+ disableCache?: boolean;
1134
+ /** Same as `disableCache`. Kept for compatibility. */
1135
+ "disable_cache"?: boolean;
1136
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1137
+ _t?: string | number;
623
1138
  /** 自定义IV(可选,Base64编码,16字节)。GCM模式无需此参数 */
624
1139
  iv?: string;
625
1140
  /** 加密密钥(支持任意长度) */
@@ -638,24 +1153,48 @@ export interface PostTextAesEncryptAdvancedArgs {
638
1153
  export type PostTextAnalyzeResponse =
639
1154
  Internal.PostTextAnalyze200Response
640
1155
  export interface PostTextAnalyzeArgs {
1156
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1157
+ disableCache?: boolean;
1158
+ /** Same as `disableCache`. Kept for compatibility. */
1159
+ "disable_cache"?: boolean;
1160
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1161
+ _t?: string | number;
641
1162
  /** */
642
1163
  text: string;
643
1164
  }
644
1165
  export type PostTextBase64DecodeResponse =
645
1166
  Internal.PostTextBase64Decode200Response
646
1167
  export interface PostTextBase64DecodeArgs {
1168
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1169
+ disableCache?: boolean;
1170
+ /** Same as `disableCache`. Kept for compatibility. */
1171
+ "disable_cache"?: boolean;
1172
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1173
+ _t?: string | number;
647
1174
  /** */
648
1175
  text: string;
649
1176
  }
650
1177
  export type PostTextBase64EncodeResponse =
651
1178
  Internal.PostTextBase64Encode200Response
652
1179
  export interface PostTextBase64EncodeArgs {
1180
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1181
+ disableCache?: boolean;
1182
+ /** Same as `disableCache`. Kept for compatibility. */
1183
+ "disable_cache"?: boolean;
1184
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1185
+ _t?: string | number;
653
1186
  /** */
654
1187
  text: string;
655
1188
  }
656
1189
  export type PostTextConvertResponse =
657
1190
  Internal.PostTextConvert200Response
658
1191
  export interface PostTextConvertArgs {
1192
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1193
+ disableCache?: boolean;
1194
+ /** Same as `disableCache`. Kept for compatibility. */
1195
+ "disable_cache"?: boolean;
1196
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1197
+ _t?: string | number;
659
1198
  /** 源格式类型 */
660
1199
  from: string;
661
1200
  /** 可选参数(预留,当前未使用) */
@@ -665,15 +1204,61 @@ export interface PostTextConvertArgs {
665
1204
  /** 目标格式类型 */
666
1205
  to: string;
667
1206
  }
1207
+ export type PostTextMarkdownToHtmlResponse =
1208
+ Internal.PostTextMarkdownToHtml200Response
1209
+ export interface PostTextMarkdownToHtmlArgs {
1210
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1211
+ disableCache?: boolean;
1212
+ /** Same as `disableCache`. Kept for compatibility. */
1213
+ "disable_cache"?: boolean;
1214
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1215
+ _t?: string | number;
1216
+ /** 响应格式。传 `json` 时返回 JSON 包裹的 HTML 片段;传 `html` 时直接返回 `text/html`,并且响应内容会自动带完整的网页结构,适合浏览器预览或直接保存为网页文件。默认是 `json`。 */
1217
+ format?: string;
1218
+ /** 是否开启安全模式,过滤掉用户输入中的风险脚本。默认是 `true`。 */
1219
+ sanitize?: boolean;
1220
+ /** 原始 Markdown 字符串,最大不超过 1MB。 */
1221
+ text: string;
1222
+ }
1223
+ export type PostTextMarkdownToPdfResponse =
1224
+ ArrayBuffer
1225
+ export interface PostTextMarkdownToPdfArgs {
1226
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1227
+ disableCache?: boolean;
1228
+ /** Same as `disableCache`. Kept for compatibility. */
1229
+ "disable_cache"?: boolean;
1230
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1231
+ _t?: string | number;
1232
+ /** PDF 的纸张大小。可选 `A4` 或 `Letter`,默认是 `A4`。 */
1233
+ paperSize?: string;
1234
+ /** Same as `paperSize`. Kept for compatibility. */
1235
+ "paper_size"?: string;
1236
+ /** 原始 Markdown 字符串,最大不超过 1MB。 */
1237
+ text: string;
1238
+ /** PDF 的排版主题。可选 `github`、`minimal`、`light`、`dark`,默认是 `github`。 */
1239
+ theme?: string;
1240
+ }
668
1241
  export type PostTextMd5Response =
669
1242
  Internal.GetTextMd5200Response
670
1243
  export interface PostTextMd5Args {
1244
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1245
+ disableCache?: boolean;
1246
+ /** Same as `disableCache`. Kept for compatibility. */
1247
+ "disable_cache"?: boolean;
1248
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1249
+ _t?: string | number;
671
1250
  /** 需要计算哈希值的文本 */
672
1251
  text: string;
673
1252
  }
674
1253
  export type PostTextMd5VerifyResponse =
675
1254
  Internal.PostTextMd5Verify200Response
676
1255
  export interface PostTextMd5VerifyArgs {
1256
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1257
+ disableCache?: boolean;
1258
+ /** Same as `disableCache`. Kept for compatibility. */
1259
+ "disable_cache"?: boolean;
1260
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1261
+ _t?: string | number;
677
1262
  /** 用于比对的 MD5 哈希值(32 位小写十六进制字符串)。 */
678
1263
  hash: string;
679
1264
  /** 待校验的原始文本,会先计算其 MD5 再与 hash 进行比对。 */
@@ -684,6 +1269,12 @@ export type GetAiTranslateLanguagesResponse =
684
1269
  export type PostAiTranslateResponse =
685
1270
  Internal.PostAiTranslate200Response
686
1271
  export interface PostAiTranslateArgs {
1272
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1273
+ disableCache?: boolean;
1274
+ /** Same as `disableCache`. Kept for compatibility. */
1275
+ "disable_cache"?: boolean;
1276
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1277
+ _t?: string | number;
687
1278
  /** 目标语言代码。请从[支持的语言列表](#enum-list)中选择一个语言代码。 */
688
1279
  targetLang: string;
689
1280
  /** Same as `targetLang`. Kept for compatibility. */
@@ -706,6 +1297,12 @@ export interface PostAiTranslateArgs {
706
1297
  export type PostTranslateStreamResponse =
707
1298
  string
708
1299
  export interface PostTranslateStreamArgs {
1300
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1301
+ disableCache?: boolean;
1302
+ /** Same as `disableCache`. Kept for compatibility. */
1303
+ "disable_cache"?: boolean;
1304
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1305
+ _t?: string | number;
709
1306
  /** 源语言,支持:中文、英文、auto(自动检测)。默认为auto */
710
1307
  fromLang?: string;
711
1308
  /** Same as `fromLang`. Kept for compatibility. */
@@ -722,6 +1319,12 @@ export interface PostTranslateStreamArgs {
722
1319
  export type PostTranslateTextResponse =
723
1320
  Internal.PostTranslateText200Response
724
1321
  export interface PostTranslateTextArgs {
1322
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1323
+ disableCache?: boolean;
1324
+ /** Same as `disableCache`. Kept for compatibility. */
1325
+ "disable_cache"?: boolean;
1326
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1327
+ _t?: string | number;
725
1328
  /** 目标语言代码。请从[支持的语言列表](#enum-list)中选择一个语言代码。 */
726
1329
  toLang: string;
727
1330
  /** Same as `toLang`. Kept for compatibility. */
@@ -732,6 +1335,12 @@ export interface PostTranslateTextArgs {
732
1335
  export type GetWebTomarkdownAsyncStatusResponse =
733
1336
  Internal.GetWebTomarkdownAsyncStatus200Response
734
1337
  export interface GetWebTomarkdownAsyncStatusArgs {
1338
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1339
+ disableCache?: boolean;
1340
+ /** Same as `disableCache`. Kept for compatibility. */
1341
+ "disable_cache"?: boolean;
1342
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1343
+ _t?: string | number;
735
1344
  /** 任务ID(由提交接口返回) */
736
1345
  taskId: string;
737
1346
  /** Same as `taskId`. Kept for compatibility. */
@@ -740,36 +1349,72 @@ export interface GetWebTomarkdownAsyncStatusArgs {
740
1349
  export type GetWebparseExtractimagesResponse =
741
1350
  Internal.GetWebparseExtractimages200Response
742
1351
  export interface GetWebparseExtractimagesArgs {
1352
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1353
+ disableCache?: boolean;
1354
+ /** Same as `disableCache`. Kept for compatibility. */
1355
+ "disable_cache"?: boolean;
1356
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1357
+ _t?: string | number;
743
1358
  /** 需要提取图片的网页URL */
744
1359
  url: string;
745
1360
  }
746
1361
  export type GetWebparseMetadataResponse =
747
1362
  Internal.GetWebparseMetadata200Response
748
1363
  export interface GetWebparseMetadataArgs {
1364
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1365
+ disableCache?: boolean;
1366
+ /** Same as `disableCache`. Kept for compatibility. */
1367
+ "disable_cache"?: boolean;
1368
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1369
+ _t?: string | number;
749
1370
  /** 需要提取元数据的网页URL */
750
1371
  url: string;
751
1372
  }
752
1373
  export type PostWebTomarkdownAsyncResponse =
753
1374
  Internal.PostWebTomarkdownAsync202Response
754
1375
  export interface PostWebTomarkdownAsyncArgs {
1376
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1377
+ disableCache?: boolean;
1378
+ /** Same as `disableCache`. Kept for compatibility. */
1379
+ "disable_cache"?: boolean;
1380
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1381
+ _t?: string | number;
755
1382
  /** 需要转换的网页URL。URL必须经过编码。 */
756
1383
  url: string;
757
1384
  }
758
1385
  export type GetSensitiveWordAnalyzeQueryResponse =
759
1386
  Internal.PostSensitiveWordAnalyze200Response
760
1387
  export interface GetSensitiveWordAnalyzeQueryArgs {
1388
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1389
+ disableCache?: boolean;
1390
+ /** Same as `disableCache`. Kept for compatibility. */
1391
+ "disable_cache"?: boolean;
1392
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1393
+ _t?: string | number;
761
1394
  /** 要分析的关键词,最长1,000字符。 */
762
1395
  keyword: string;
763
1396
  }
764
1397
  export type PostSensitiveWordAnalyzeResponse =
765
1398
  Internal.PostSensitiveWordAnalyze200Response
766
1399
  export interface PostSensitiveWordAnalyzeArgs {
1400
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1401
+ disableCache?: boolean;
1402
+ /** Same as `disableCache`. Kept for compatibility. */
1403
+ "disable_cache"?: boolean;
1404
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1405
+ _t?: string | number;
767
1406
  /** 要分析的关键词列表,单次最多100个。单条关键词最多1,000字符,总字符数最多20,000。 */
768
1407
  keywords: unknown[];
769
1408
  }
770
1409
  export type PostSensitiveWordQuickCheckResponse =
771
1410
  Internal.PostSensitiveWordQuickCheck200Response
772
1411
  export interface PostSensitiveWordQuickCheckArgs {
1412
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1413
+ disableCache?: boolean;
1414
+ /** Same as `disableCache`. Kept for compatibility. */
1415
+ "disable_cache"?: boolean;
1416
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1417
+ _t?: string | number;
773
1418
  /** 需要检测的文本内容。支持简体和繁体中文。 */
774
1419
  text: string;
775
1420
  }
@@ -778,6 +1423,12 @@ export type GetSearchEnginesResponse =
778
1423
  export type PostSearchAggregateResponse =
779
1424
  Internal.PostSearchAggregate200Response
780
1425
  export interface PostSearchAggregateArgs {
1426
+ /** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
1427
+ disableCache?: boolean;
1428
+ /** Same as `disableCache`. Kept for compatibility. */
1429
+ "disable_cache"?: boolean;
1430
+ /** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
1431
+ _t?: string | number;
781
1432
  /** 是否获取页面完整正文(会影响响应时间) */
782
1433
  fetchFull?: boolean;
783
1434
  /** Same as `fetchFull`. Kept for compatibility. */
@@ -794,15 +1445,12 @@ export interface PostSearchAggregateArgs {
794
1445
  timeRange?: string;
795
1446
  /** Same as `timeRange`. Kept for compatibility. */
796
1447
  "time_range"?: string;
797
- /** 请求超时时间(毫秒),范围 1000-30000 */
798
- timeoutMs?: number;
799
- /** Same as `timeoutMs`. Kept for compatibility. */
800
- "timeout_ms"?: number;
801
1448
  }
802
1449
 
803
1450
  export class UapiClient {
804
1451
  private baseURL: string
805
1452
  private token?: string
1453
+ private disableCache: boolean
806
1454
  private _lastResponseMeta?: ResponseMeta
807
1455
  readonly clipzyZaiXianJianTieBan: ClipzyZaiXianJianTieBanApi
808
1456
  readonly "Clipzy 在线剪贴板": ClipzyZaiXianJianTieBanApi
@@ -837,9 +1485,11 @@ export class UapiClient {
837
1485
  readonly zhiNengSouSuo: ZhiNengSouSuoApi
838
1486
  readonly "智能搜索": ZhiNengSouSuoApi
839
1487
 
840
- constructor(baseURL: string, token?: string) {
1488
+ constructor(baseURL: string, tokenOrOptions?: string | UapiClientOptions, maybeOptions: UapiClientOptions = {}) {
841
1489
  this.baseURL = normalizeBaseURL(baseURL)
842
- this.token = token
1490
+ this.token = typeof tokenOrOptions === 'string' ? tokenOrOptions : undefined
1491
+ const options = typeof tokenOrOptions === 'string' ? maybeOptions : (tokenOrOptions ?? {})
1492
+ this.disableCache = options.disableCache ?? false
843
1493
  const clipzyZaiXianJianTieBan = new ClipzyZaiXianJianTieBanApi(this)
844
1494
  this.clipzyZaiXianJianTieBan = clipzyZaiXianJianTieBan
845
1495
  this["Clipzy 在线剪贴板"] = clipzyZaiXianJianTieBan
@@ -901,10 +1551,12 @@ export class UapiClient {
901
1551
  body?: Record<string, unknown>,
902
1552
  headers?: Record<string, string>,
903
1553
  responseKind: 'json' | 'text' | 'arrayBuffer' = 'json',
1554
+ requestOptions?: RequestOptions,
904
1555
  ) {
1556
+ const finalParams = applyCacheControl(method, params, this.disableCache, requestOptions?.disableCache)
905
1557
  const url = new URL(this.baseURL + path)
906
- if (params) {
907
- Object.entries(params).forEach(([key, value]) => {
1558
+ if (finalParams) {
1559
+ Object.entries(finalParams).forEach(([key, value]) => {
908
1560
  if (value !== undefined) {
909
1561
  url.searchParams.set(key, String(value))
910
1562
  }
@@ -947,16 +1599,22 @@ export class ClipzyZaiXianJianTieBanApi {
947
1599
  const query: Record<string, unknown> = {}
948
1600
  const headers: Record<string, string> = {}
949
1601
  const body: Record<string, unknown> = {}
1602
+ let disableCache: boolean | undefined
1603
+ disableCache = args.disableCache ?? args["disable_cache"]
1604
+ const argCacheBuster = args._t
1605
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
950
1606
  const argId = args.id
951
1607
  if (argId !== undefined) query["id"] = argId
952
1608
  let requestPath = '/api/v1/api/get'
1609
+ const responseKind = 'json'
953
1610
  return await this.c._request(
954
1611
  'GET',
955
1612
  requestPath,
956
1613
  Object.keys(query).length > 0 ? query : undefined,
957
1614
  Object.keys(body).length > 0 ? body : undefined,
958
1615
  Object.keys(headers).length > 0 ? headers : undefined,
959
- 'json',
1616
+ responseKind,
1617
+ disableCache !== undefined ? { disableCache } : undefined,
960
1618
  ) as GetClipzyGetResponse
961
1619
  }
962
1620
 
@@ -966,18 +1624,24 @@ export class ClipzyZaiXianJianTieBanApi {
966
1624
  const query: Record<string, unknown> = {}
967
1625
  const headers: Record<string, string> = {}
968
1626
  const body: Record<string, unknown> = {}
1627
+ let disableCache: boolean | undefined
1628
+ disableCache = args.disableCache ?? args["disable_cache"]
1629
+ const argCacheBuster = args._t
1630
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
969
1631
  const argId = args.id
970
1632
  const argKey = args.key
971
1633
  if (argKey !== undefined) query["key"] = argKey
972
1634
  let requestPath = '/api/v1/api/raw/{id}'
973
1635
  if (argId !== undefined) requestPath = requestPath.replace('{'+ 'id' +'}', String(argId))
1636
+ const responseKind = 'text'
974
1637
  return await this.c._request(
975
1638
  'GET',
976
1639
  requestPath,
977
1640
  Object.keys(query).length > 0 ? query : undefined,
978
1641
  Object.keys(body).length > 0 ? body : undefined,
979
1642
  Object.keys(headers).length > 0 ? headers : undefined,
980
- 'text',
1643
+ responseKind,
1644
+ disableCache !== undefined ? { disableCache } : undefined,
981
1645
  ) as GetClipzyRawResponse
982
1646
  }
983
1647
 
@@ -987,18 +1651,24 @@ export class ClipzyZaiXianJianTieBanApi {
987
1651
  const query: Record<string, unknown> = {}
988
1652
  const headers: Record<string, string> = {}
989
1653
  const body: Record<string, unknown> = {}
1654
+ let disableCache: boolean | undefined
1655
+ disableCache = args.disableCache ?? args["disable_cache"]
1656
+ const argCacheBuster = args._t
1657
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
990
1658
  const argCompressedData = args.compressedData
991
1659
  if (argCompressedData !== undefined) body["compressedData"] = argCompressedData
992
1660
  const argTtl = args.ttl
993
1661
  if (argTtl !== undefined) body["ttl"] = argTtl
994
1662
  let requestPath = '/api/v1/api/store'
1663
+ const responseKind = 'json'
995
1664
  return await this.c._request(
996
1665
  'POST',
997
1666
  requestPath,
998
1667
  Object.keys(query).length > 0 ? query : undefined,
999
1668
  Object.keys(body).length > 0 ? body : undefined,
1000
1669
  Object.keys(headers).length > 0 ? headers : undefined,
1001
- 'json',
1670
+ responseKind,
1671
+ disableCache !== undefined ? { disableCache } : undefined,
1002
1672
  ) as PostClipzyStoreResponse
1003
1673
  }
1004
1674
  }
@@ -1011,16 +1681,22 @@ export class ConvertApi {
1011
1681
  const query: Record<string, unknown> = {}
1012
1682
  const headers: Record<string, string> = {}
1013
1683
  const body: Record<string, unknown> = {}
1684
+ let disableCache: boolean | undefined
1685
+ disableCache = args.disableCache ?? args["disable_cache"]
1686
+ const argCacheBuster = args._t
1687
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1014
1688
  const argTime = args.time
1015
1689
  if (argTime !== undefined) query["time"] = argTime
1016
1690
  let requestPath = '/api/v1/convert/unixtime'
1691
+ const responseKind = 'json'
1017
1692
  return await this.c._request(
1018
1693
  'GET',
1019
1694
  requestPath,
1020
1695
  Object.keys(query).length > 0 ? query : undefined,
1021
1696
  Object.keys(body).length > 0 ? body : undefined,
1022
1697
  Object.keys(headers).length > 0 ? headers : undefined,
1023
- 'json',
1698
+ responseKind,
1699
+ disableCache !== undefined ? { disableCache } : undefined,
1024
1700
  ) as GetConvertUnixtimeResponse
1025
1701
  }
1026
1702
 
@@ -1030,16 +1706,22 @@ export class ConvertApi {
1030
1706
  const query: Record<string, unknown> = {}
1031
1707
  const headers: Record<string, string> = {}
1032
1708
  const body: Record<string, unknown> = {}
1709
+ let disableCache: boolean | undefined
1710
+ disableCache = args.disableCache ?? args["disable_cache"]
1711
+ const argCacheBuster = args._t
1712
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1033
1713
  const argContent = args.content
1034
1714
  if (argContent !== undefined) body["content"] = argContent
1035
1715
  let requestPath = '/api/v1/convert/json'
1716
+ const responseKind = 'json'
1036
1717
  return await this.c._request(
1037
1718
  'POST',
1038
1719
  requestPath,
1039
1720
  Object.keys(query).length > 0 ? query : undefined,
1040
1721
  Object.keys(body).length > 0 ? body : undefined,
1041
1722
  Object.keys(headers).length > 0 ? headers : undefined,
1042
- 'json',
1723
+ responseKind,
1724
+ disableCache !== undefined ? { disableCache } : undefined,
1043
1725
  ) as PostConvertJsonResponse
1044
1726
  }
1045
1727
  }
@@ -1052,14 +1734,17 @@ export class DailyApi {
1052
1734
  const query: Record<string, unknown> = {}
1053
1735
  const headers: Record<string, string> = {}
1054
1736
  const body: Record<string, unknown> = {}
1737
+ let disableCache: boolean | undefined
1055
1738
  let requestPath = '/api/v1/daily/news-image'
1739
+ const responseKind = 'arrayBuffer'
1056
1740
  return await this.c._request(
1057
1741
  'GET',
1058
1742
  requestPath,
1059
1743
  Object.keys(query).length > 0 ? query : undefined,
1060
1744
  Object.keys(body).length > 0 ? body : undefined,
1061
1745
  Object.keys(headers).length > 0 ? headers : undefined,
1062
- 'arrayBuffer',
1746
+ responseKind,
1747
+ disableCache !== undefined ? { disableCache } : undefined,
1063
1748
  ) as GetDailyNewsImageResponse
1064
1749
  }
1065
1750
  }
@@ -1072,14 +1757,17 @@ export class GameApi {
1072
1757
  const query: Record<string, unknown> = {}
1073
1758
  const headers: Record<string, string> = {}
1074
1759
  const body: Record<string, unknown> = {}
1760
+ let disableCache: boolean | undefined
1075
1761
  let requestPath = '/api/v1/game/epic-free'
1762
+ const responseKind = 'json'
1076
1763
  return await this.c._request(
1077
1764
  'GET',
1078
1765
  requestPath,
1079
1766
  Object.keys(query).length > 0 ? query : undefined,
1080
1767
  Object.keys(body).length > 0 ? body : undefined,
1081
1768
  Object.keys(headers).length > 0 ? headers : undefined,
1082
- 'json',
1769
+ responseKind,
1770
+ disableCache !== undefined ? { disableCache } : undefined,
1083
1771
  ) as GetGameEpicFreeResponse
1084
1772
  }
1085
1773
 
@@ -1089,18 +1777,24 @@ export class GameApi {
1089
1777
  const query: Record<string, unknown> = {}
1090
1778
  const headers: Record<string, string> = {}
1091
1779
  const body: Record<string, unknown> = {}
1780
+ let disableCache: boolean | undefined
1781
+ disableCache = args.disableCache ?? args["disable_cache"]
1782
+ const argCacheBuster = args._t
1783
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1092
1784
  const argName = args.name
1093
1785
  if (argName !== undefined) query["name"] = argName
1094
1786
  const argUuid = args.uuid
1095
1787
  if (argUuid !== undefined) query["uuid"] = argUuid
1096
1788
  let requestPath = '/api/v1/game/minecraft/historyid'
1789
+ const responseKind = 'json'
1097
1790
  return await this.c._request(
1098
1791
  'GET',
1099
1792
  requestPath,
1100
1793
  Object.keys(query).length > 0 ? query : undefined,
1101
1794
  Object.keys(body).length > 0 ? body : undefined,
1102
1795
  Object.keys(headers).length > 0 ? headers : undefined,
1103
- 'json',
1796
+ responseKind,
1797
+ disableCache !== undefined ? { disableCache } : undefined,
1104
1798
  ) as GetGameMinecraftHistoryidResponse
1105
1799
  }
1106
1800
 
@@ -1110,16 +1804,22 @@ export class GameApi {
1110
1804
  const query: Record<string, unknown> = {}
1111
1805
  const headers: Record<string, string> = {}
1112
1806
  const body: Record<string, unknown> = {}
1807
+ let disableCache: boolean | undefined
1808
+ disableCache = args.disableCache ?? args["disable_cache"]
1809
+ const argCacheBuster = args._t
1810
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1113
1811
  const argServer = args.server
1114
1812
  if (argServer !== undefined) query["server"] = argServer
1115
1813
  let requestPath = '/api/v1/game/minecraft/serverstatus'
1814
+ const responseKind = 'json'
1116
1815
  return await this.c._request(
1117
1816
  'GET',
1118
1817
  requestPath,
1119
1818
  Object.keys(query).length > 0 ? query : undefined,
1120
1819
  Object.keys(body).length > 0 ? body : undefined,
1121
1820
  Object.keys(headers).length > 0 ? headers : undefined,
1122
- 'json',
1821
+ responseKind,
1822
+ disableCache !== undefined ? { disableCache } : undefined,
1123
1823
  ) as GetGameMinecraftServerstatusResponse
1124
1824
  }
1125
1825
 
@@ -1129,16 +1829,22 @@ export class GameApi {
1129
1829
  const query: Record<string, unknown> = {}
1130
1830
  const headers: Record<string, string> = {}
1131
1831
  const body: Record<string, unknown> = {}
1832
+ let disableCache: boolean | undefined
1833
+ disableCache = args.disableCache ?? args["disable_cache"]
1834
+ const argCacheBuster = args._t
1835
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1132
1836
  const argUsername = args.username
1133
1837
  if (argUsername !== undefined) query["username"] = argUsername
1134
1838
  let requestPath = '/api/v1/game/minecraft/userinfo'
1839
+ const responseKind = 'json'
1135
1840
  return await this.c._request(
1136
1841
  'GET',
1137
1842
  requestPath,
1138
1843
  Object.keys(query).length > 0 ? query : undefined,
1139
1844
  Object.keys(body).length > 0 ? body : undefined,
1140
1845
  Object.keys(headers).length > 0 ? headers : undefined,
1141
- 'json',
1846
+ responseKind,
1847
+ disableCache !== undefined ? { disableCache } : undefined,
1142
1848
  ) as GetGameMinecraftUserinfoResponse
1143
1849
  }
1144
1850
 
@@ -1148,6 +1854,10 @@ export class GameApi {
1148
1854
  const query: Record<string, unknown> = {}
1149
1855
  const headers: Record<string, string> = {}
1150
1856
  const body: Record<string, unknown> = {}
1857
+ let disableCache: boolean | undefined
1858
+ disableCache = args.disableCache ?? args["disable_cache"]
1859
+ const argCacheBuster = args._t
1860
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1151
1861
  const argSteamid = args.steamid
1152
1862
  if (argSteamid !== undefined) query["steamid"] = argSteamid
1153
1863
  const argId = args.id
@@ -1157,13 +1867,15 @@ export class GameApi {
1157
1867
  const argKey = args.key
1158
1868
  if (argKey !== undefined) query["key"] = argKey
1159
1869
  let requestPath = '/api/v1/game/steam/summary'
1870
+ const responseKind = 'json'
1160
1871
  return await this.c._request(
1161
1872
  'GET',
1162
1873
  requestPath,
1163
1874
  Object.keys(query).length > 0 ? query : undefined,
1164
1875
  Object.keys(body).length > 0 ? body : undefined,
1165
1876
  Object.keys(headers).length > 0 ? headers : undefined,
1166
- 'json',
1877
+ responseKind,
1878
+ disableCache !== undefined ? { disableCache } : undefined,
1167
1879
  ) as GetGameSteamSummaryResponse
1168
1880
  }
1169
1881
  }
@@ -1176,6 +1888,10 @@ export class ImageApi {
1176
1888
  const query: Record<string, unknown> = {}
1177
1889
  const headers: Record<string, string> = {}
1178
1890
  const body: Record<string, unknown> = {}
1891
+ let disableCache: boolean | undefined
1892
+ disableCache = args.disableCache ?? args["disable_cache"]
1893
+ const argCacheBuster = args._t
1894
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1179
1895
  const argEmail = args.email
1180
1896
  if (argEmail !== undefined) query["email"] = argEmail
1181
1897
  const argHash = args.hash
@@ -1187,51 +1903,102 @@ export class ImageApi {
1187
1903
  const argR = args.r
1188
1904
  if (argR !== undefined) query["r"] = argR
1189
1905
  let requestPath = '/api/v1/avatar/gravatar'
1906
+ const responseKind = 'arrayBuffer'
1190
1907
  return await this.c._request(
1191
1908
  'GET',
1192
1909
  requestPath,
1193
1910
  Object.keys(query).length > 0 ? query : undefined,
1194
1911
  Object.keys(body).length > 0 ? body : undefined,
1195
1912
  Object.keys(headers).length > 0 ? headers : undefined,
1196
- 'arrayBuffer',
1913
+ responseKind,
1914
+ disableCache !== undefined ? { disableCache } : undefined,
1197
1915
  ) as GetAvatarGravatarResponse
1198
1916
  }
1199
1917
 
1200
- /** 必应壁纸 */
1201
- async getImageBingDaily(
1918
+ /** 获取必应每日壁纸 */
1919
+ async getImageBingDaily(args: GetImageBingDailyArgs = {} as GetImageBingDailyArgs
1202
1920
  ): Promise<GetImageBingDailyResponse> {
1203
1921
  const query: Record<string, unknown> = {}
1204
1922
  const headers: Record<string, string> = {}
1205
1923
  const body: Record<string, unknown> = {}
1924
+ let disableCache: boolean | undefined
1925
+ disableCache = args.disableCache ?? args["disable_cache"]
1926
+ const argCacheBuster = args._t
1927
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1928
+ const argDate = args.date
1929
+ if (argDate !== undefined) query["date"] = argDate
1930
+ const argResolution = args.resolution
1931
+ if (argResolution !== undefined) query["resolution"] = argResolution
1932
+ const argFormat = args.format
1933
+ if (argFormat !== undefined) query["format"] = argFormat
1206
1934
  let requestPath = '/api/v1/image/bing-daily'
1935
+ const responseKind = argFormat === 'json' ? 'json' : 'arrayBuffer'
1207
1936
  return await this.c._request(
1208
1937
  'GET',
1209
1938
  requestPath,
1210
1939
  Object.keys(query).length > 0 ? query : undefined,
1211
1940
  Object.keys(body).length > 0 ? body : undefined,
1212
1941
  Object.keys(headers).length > 0 ? headers : undefined,
1213
- 'arrayBuffer',
1942
+ responseKind,
1943
+ disableCache !== undefined ? { disableCache } : undefined,
1214
1944
  ) as GetImageBingDailyResponse
1215
1945
  }
1216
1946
 
1947
+ /** 查询必应壁纸历史 */
1948
+ async getImageBingDailyHistory(args: GetImageBingDailyHistoryArgs = {} as GetImageBingDailyHistoryArgs
1949
+ ): Promise<GetImageBingDailyHistoryResponse> {
1950
+ const query: Record<string, unknown> = {}
1951
+ const headers: Record<string, string> = {}
1952
+ const body: Record<string, unknown> = {}
1953
+ let disableCache: boolean | undefined
1954
+ disableCache = args.disableCache ?? args["disable_cache"]
1955
+ const argCacheBuster = args._t
1956
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1957
+ const argDate = args.date
1958
+ if (argDate !== undefined) query["date"] = argDate
1959
+ const argResolution = args.resolution
1960
+ if (argResolution !== undefined) query["resolution"] = argResolution
1961
+ const argPage = args.page
1962
+ if (argPage !== undefined) query["page"] = argPage
1963
+ const argPageSize = args.pageSize ?? args["page_size"]
1964
+ if (argPageSize !== undefined) query["page_size"] = argPageSize
1965
+ let requestPath = '/api/v1/image/bing-daily/history'
1966
+ const responseKind = 'json'
1967
+ return await this.c._request(
1968
+ 'GET',
1969
+ requestPath,
1970
+ Object.keys(query).length > 0 ? query : undefined,
1971
+ Object.keys(body).length > 0 ? body : undefined,
1972
+ Object.keys(headers).length > 0 ? headers : undefined,
1973
+ responseKind,
1974
+ disableCache !== undefined ? { disableCache } : undefined,
1975
+ ) as GetImageBingDailyHistoryResponse
1976
+ }
1977
+
1217
1978
  /** 生成摸摸头GIF (QQ号) */
1218
1979
  async getImageMotou(args: GetImageMotouArgs
1219
1980
  ): Promise<GetImageMotouResponse> {
1220
1981
  const query: Record<string, unknown> = {}
1221
1982
  const headers: Record<string, string> = {}
1222
1983
  const body: Record<string, unknown> = {}
1984
+ let disableCache: boolean | undefined
1985
+ disableCache = args.disableCache ?? args["disable_cache"]
1986
+ const argCacheBuster = args._t
1987
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1223
1988
  const argQq = args.qq
1224
1989
  if (argQq !== undefined) query["qq"] = argQq
1225
1990
  const argBgColor = args.bgColor ?? args["bg_color"]
1226
1991
  if (argBgColor !== undefined) query["bg_color"] = argBgColor
1227
1992
  let requestPath = '/api/v1/image/motou'
1993
+ const responseKind = 'arrayBuffer'
1228
1994
  return await this.c._request(
1229
1995
  'GET',
1230
1996
  requestPath,
1231
1997
  Object.keys(query).length > 0 ? query : undefined,
1232
1998
  Object.keys(body).length > 0 ? body : undefined,
1233
1999
  Object.keys(headers).length > 0 ? headers : undefined,
1234
- 'arrayBuffer',
2000
+ responseKind,
2001
+ disableCache !== undefined ? { disableCache } : undefined,
1235
2002
  ) as GetImageMotouResponse
1236
2003
  }
1237
2004
 
@@ -1241,6 +2008,10 @@ export class ImageApi {
1241
2008
  const query: Record<string, unknown> = {}
1242
2009
  const headers: Record<string, string> = {}
1243
2010
  const body: Record<string, unknown> = {}
2011
+ let disableCache: boolean | undefined
2012
+ disableCache = args.disableCache ?? args["disable_cache"]
2013
+ const argCacheBuster = args._t
2014
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1244
2015
  const argText = args.text
1245
2016
  if (argText !== undefined) query["text"] = argText
1246
2017
  const argSize = args.size
@@ -1254,13 +2025,15 @@ export class ImageApi {
1254
2025
  const argBgcolor = args.bgcolor
1255
2026
  if (argBgcolor !== undefined) query["bgcolor"] = argBgcolor
1256
2027
  let requestPath = '/api/v1/image/qrcode'
2028
+ const responseKind = 'json'
1257
2029
  return await this.c._request(
1258
2030
  'GET',
1259
2031
  requestPath,
1260
2032
  Object.keys(query).length > 0 ? query : undefined,
1261
2033
  Object.keys(body).length > 0 ? body : undefined,
1262
2034
  Object.keys(headers).length > 0 ? headers : undefined,
1263
- 'json',
2035
+ responseKind,
2036
+ disableCache !== undefined ? { disableCache } : undefined,
1264
2037
  ) as GetImageQrcodeResponse
1265
2038
  }
1266
2039
 
@@ -1270,16 +2043,22 @@ export class ImageApi {
1270
2043
  const query: Record<string, unknown> = {}
1271
2044
  const headers: Record<string, string> = {}
1272
2045
  const body: Record<string, unknown> = {}
2046
+ let disableCache: boolean | undefined
2047
+ disableCache = args.disableCache ?? args["disable_cache"]
2048
+ const argCacheBuster = args._t
2049
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1273
2050
  const argUrl = args.url
1274
2051
  if (argUrl !== undefined) query["url"] = argUrl
1275
2052
  let requestPath = '/api/v1/image/tobase64'
2053
+ const responseKind = 'json'
1276
2054
  return await this.c._request(
1277
2055
  'GET',
1278
2056
  requestPath,
1279
2057
  Object.keys(query).length > 0 ? query : undefined,
1280
2058
  Object.keys(body).length > 0 ? body : undefined,
1281
2059
  Object.keys(headers).length > 0 ? headers : undefined,
1282
- 'json',
2060
+ responseKind,
2061
+ disableCache !== undefined ? { disableCache } : undefined,
1283
2062
  ) as GetImageTobase64Response
1284
2063
  }
1285
2064
 
@@ -1289,6 +2068,10 @@ export class ImageApi {
1289
2068
  const query: Record<string, unknown> = {}
1290
2069
  const headers: Record<string, string> = {}
1291
2070
  const body: Record<string, unknown> = {}
2071
+ let disableCache: boolean | undefined
2072
+ disableCache = args.disableCache ?? args["disable_cache"]
2073
+ const argCacheBuster = args._t
2074
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1292
2075
  const argLevel = args.level
1293
2076
  if (argLevel !== undefined) query["level"] = argLevel
1294
2077
  const argFormat = args.format
@@ -1296,32 +2079,83 @@ export class ImageApi {
1296
2079
  const argFile = args.file
1297
2080
  if (argFile !== undefined) body["file"] = argFile
1298
2081
  let requestPath = '/api/v1/image/compress'
2082
+ const responseKind = 'arrayBuffer'
1299
2083
  return await this.c._request(
1300
2084
  'POST',
1301
2085
  requestPath,
1302
2086
  Object.keys(query).length > 0 ? query : undefined,
1303
2087
  Object.keys(body).length > 0 ? body : undefined,
1304
2088
  Object.keys(headers).length > 0 ? headers : undefined,
1305
- 'arrayBuffer',
2089
+ responseKind,
2090
+ disableCache !== undefined ? { disableCache } : undefined,
1306
2091
  ) as PostImageCompressResponse
1307
2092
  }
1308
2093
 
2094
+ /** 解码并缩放图片 */
2095
+ async postImageDecode(args: PostImageDecodeArgs
2096
+ ): Promise<PostImageDecodeResponse> {
2097
+ const query: Record<string, unknown> = {}
2098
+ const headers: Record<string, string> = {}
2099
+ const body: Record<string, unknown> = {}
2100
+ let disableCache: boolean | undefined
2101
+ disableCache = args.disableCache ?? args["disable_cache"]
2102
+ const argCacheBuster = args._t
2103
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2104
+ const argWidth = args.width
2105
+ if (argWidth !== undefined) query["width"] = argWidth
2106
+ const argHeight = args.height
2107
+ if (argHeight !== undefined) query["height"] = argHeight
2108
+ const argMaxWidth = args.maxWidth ?? args["max_width"]
2109
+ if (argMaxWidth !== undefined) query["max_width"] = argMaxWidth
2110
+ const argMaxHeight = args.maxHeight ?? args["max_height"]
2111
+ if (argMaxHeight !== undefined) query["max_height"] = argMaxHeight
2112
+ const argFormat = args.format
2113
+ if (argFormat !== undefined) query["format"] = argFormat
2114
+ const argColorMode = args.colorMode ?? args["color_mode"]
2115
+ if (argColorMode !== undefined) query["color_mode"] = argColorMode
2116
+ const argFit = args.fit
2117
+ if (argFit !== undefined) query["fit"] = argFit
2118
+ const argBackground = args.background
2119
+ if (argBackground !== undefined) query["background"] = argBackground
2120
+ const argFile = args.file
2121
+ if (argFile !== undefined) body["file"] = argFile
2122
+ const argUrl = args.url
2123
+ if (argUrl !== undefined) body["url"] = argUrl
2124
+ let requestPath = '/api/v1/image/decode'
2125
+ const responseKind = 'arrayBuffer'
2126
+ return await this.c._request(
2127
+ 'POST',
2128
+ requestPath,
2129
+ Object.keys(query).length > 0 ? query : undefined,
2130
+ Object.keys(body).length > 0 ? body : undefined,
2131
+ Object.keys(headers).length > 0 ? headers : undefined,
2132
+ responseKind,
2133
+ disableCache !== undefined ? { disableCache } : undefined,
2134
+ ) as PostImageDecodeResponse
2135
+ }
2136
+
1309
2137
  /** 通过Base64编码上传图片 */
1310
2138
  async postImageFrombase64(args: PostImageFrombase64Args
1311
2139
  ): Promise<PostImageFrombase64Response> {
1312
2140
  const query: Record<string, unknown> = {}
1313
2141
  const headers: Record<string, string> = {}
1314
2142
  const body: Record<string, unknown> = {}
2143
+ let disableCache: boolean | undefined
2144
+ disableCache = args.disableCache ?? args["disable_cache"]
2145
+ const argCacheBuster = args._t
2146
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1315
2147
  const argImageData = args.imageData
1316
2148
  if (argImageData !== undefined) body["imageData"] = argImageData
1317
2149
  let requestPath = '/api/v1/image/frombase64'
2150
+ const responseKind = 'json'
1318
2151
  return await this.c._request(
1319
2152
  'POST',
1320
2153
  requestPath,
1321
2154
  Object.keys(query).length > 0 ? query : undefined,
1322
2155
  Object.keys(body).length > 0 ? body : undefined,
1323
2156
  Object.keys(headers).length > 0 ? headers : undefined,
1324
- 'json',
2157
+ responseKind,
2158
+ disableCache !== undefined ? { disableCache } : undefined,
1325
2159
  ) as PostImageFrombase64Response
1326
2160
  }
1327
2161
 
@@ -1331,6 +2165,10 @@ export class ImageApi {
1331
2165
  const query: Record<string, unknown> = {}
1332
2166
  const headers: Record<string, string> = {}
1333
2167
  const body: Record<string, unknown> = {}
2168
+ let disableCache: boolean | undefined
2169
+ disableCache = args.disableCache ?? args["disable_cache"]
2170
+ const argCacheBuster = args._t
2171
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1334
2172
  const argBgColor = args.bgColor ?? args["bg_color"]
1335
2173
  if (argBgColor !== undefined) body["bg_color"] = argBgColor
1336
2174
  const argFile = args.file
@@ -1338,13 +2176,15 @@ export class ImageApi {
1338
2176
  const argImageUrl = args.imageUrl ?? args["image_url"]
1339
2177
  if (argImageUrl !== undefined) body["image_url"] = argImageUrl
1340
2178
  let requestPath = '/api/v1/image/motou'
2179
+ const responseKind = 'arrayBuffer'
1341
2180
  return await this.c._request(
1342
2181
  'POST',
1343
2182
  requestPath,
1344
2183
  Object.keys(query).length > 0 ? query : undefined,
1345
2184
  Object.keys(body).length > 0 ? body : undefined,
1346
2185
  Object.keys(headers).length > 0 ? headers : undefined,
1347
- 'arrayBuffer',
2186
+ responseKind,
2187
+ disableCache !== undefined ? { disableCache } : undefined,
1348
2188
  ) as PostImageMotouResponse
1349
2189
  }
1350
2190
 
@@ -1354,39 +2194,88 @@ export class ImageApi {
1354
2194
  const query: Record<string, unknown> = {}
1355
2195
  const headers: Record<string, string> = {}
1356
2196
  const body: Record<string, unknown> = {}
2197
+ let disableCache: boolean | undefined
2198
+ disableCache = args.disableCache ?? args["disable_cache"]
2199
+ const argCacheBuster = args._t
2200
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1357
2201
  const argFile = args.file
1358
2202
  if (argFile !== undefined) body["file"] = argFile
1359
2203
  const argUrl = args.url
1360
2204
  if (argUrl !== undefined) body["url"] = argUrl
1361
2205
  let requestPath = '/api/v1/image/nsfw'
2206
+ const responseKind = 'json'
1362
2207
  return await this.c._request(
1363
2208
  'POST',
1364
2209
  requestPath,
1365
2210
  Object.keys(query).length > 0 ? query : undefined,
1366
2211
  Object.keys(body).length > 0 ? body : undefined,
1367
2212
  Object.keys(headers).length > 0 ? headers : undefined,
1368
- 'json',
2213
+ responseKind,
2214
+ disableCache !== undefined ? { disableCache } : undefined,
1369
2215
  ) as PostImageNsfwResponse
1370
2216
  }
1371
2217
 
2218
+ /** 通用 OCR 文字识别 */
2219
+ async postImageOcr(args: PostImageOcrArgs
2220
+ ): Promise<PostImageOcrResponse> {
2221
+ const query: Record<string, unknown> = {}
2222
+ const headers: Record<string, string> = {}
2223
+ const body: Record<string, unknown> = {}
2224
+ let disableCache: boolean | undefined
2225
+ disableCache = args.disableCache ?? args["disable_cache"]
2226
+ const argCacheBuster = args._t
2227
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2228
+ const argEnableCls = args.enableCls ?? args["enable_cls"]
2229
+ if (argEnableCls !== undefined) body["enable_cls"] = argEnableCls
2230
+ const argFile = args.file
2231
+ if (argFile !== undefined) body["file"] = argFile
2232
+ const argImageBase64 = args.imageBase64 ?? args["image_base64"]
2233
+ if (argImageBase64 !== undefined) body["image_base64"] = argImageBase64
2234
+ const argImageName = args.imageName ?? args["image_name"]
2235
+ if (argImageName !== undefined) body["image_name"] = argImageName
2236
+ const argNeedLocation = args.needLocation ?? args["need_location"]
2237
+ if (argNeedLocation !== undefined) body["need_location"] = argNeedLocation
2238
+ const argReturnMarkdown = args.returnMarkdown ?? args["return_markdown"]
2239
+ if (argReturnMarkdown !== undefined) body["return_markdown"] = argReturnMarkdown
2240
+ const argUrl = args.url
2241
+ if (argUrl !== undefined) body["url"] = argUrl
2242
+ let requestPath = '/api/v1/image/ocr'
2243
+ const responseKind = 'json'
2244
+ return await this.c._request(
2245
+ 'POST',
2246
+ requestPath,
2247
+ Object.keys(query).length > 0 ? query : undefined,
2248
+ Object.keys(body).length > 0 ? body : undefined,
2249
+ Object.keys(headers).length > 0 ? headers : undefined,
2250
+ responseKind,
2251
+ disableCache !== undefined ? { disableCache } : undefined,
2252
+ ) as PostImageOcrResponse
2253
+ }
2254
+
1372
2255
  /** 生成你们怎么不说话了表情包 */
1373
2256
  async postImageSpeechless(args: PostImageSpeechlessArgs
1374
2257
  ): Promise<PostImageSpeechlessResponse> {
1375
2258
  const query: Record<string, unknown> = {}
1376
2259
  const headers: Record<string, string> = {}
1377
2260
  const body: Record<string, unknown> = {}
2261
+ let disableCache: boolean | undefined
2262
+ disableCache = args.disableCache ?? args["disable_cache"]
2263
+ const argCacheBuster = args._t
2264
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1378
2265
  const argBottomText = args.bottomText ?? args["bottom_text"]
1379
2266
  if (argBottomText !== undefined) body["bottom_text"] = argBottomText
1380
2267
  const argTopText = args.topText ?? args["top_text"]
1381
2268
  if (argTopText !== undefined) body["top_text"] = argTopText
1382
2269
  let requestPath = '/api/v1/image/speechless'
2270
+ const responseKind = 'arrayBuffer'
1383
2271
  return await this.c._request(
1384
2272
  'POST',
1385
2273
  requestPath,
1386
2274
  Object.keys(query).length > 0 ? query : undefined,
1387
2275
  Object.keys(body).length > 0 ? body : undefined,
1388
2276
  Object.keys(headers).length > 0 ? headers : undefined,
1389
- 'arrayBuffer',
2277
+ responseKind,
2278
+ disableCache !== undefined ? { disableCache } : undefined,
1390
2279
  ) as PostImageSpeechlessResponse
1391
2280
  }
1392
2281
 
@@ -1396,6 +2285,10 @@ export class ImageApi {
1396
2285
  const query: Record<string, unknown> = {}
1397
2286
  const headers: Record<string, string> = {}
1398
2287
  const body: Record<string, unknown> = {}
2288
+ let disableCache: boolean | undefined
2289
+ disableCache = args.disableCache ?? args["disable_cache"]
2290
+ const argCacheBuster = args._t
2291
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1399
2292
  const argFormat = args.format
1400
2293
  if (argFormat !== undefined) query["format"] = argFormat
1401
2294
  const argWidth = args.width
@@ -1407,13 +2300,15 @@ export class ImageApi {
1407
2300
  const argFile = args.file
1408
2301
  if (argFile !== undefined) body["file"] = argFile
1409
2302
  let requestPath = '/api/v1/image/svg'
2303
+ const responseKind = 'arrayBuffer'
1410
2304
  return await this.c._request(
1411
2305
  'POST',
1412
2306
  requestPath,
1413
2307
  Object.keys(query).length > 0 ? query : undefined,
1414
2308
  Object.keys(body).length > 0 ? body : undefined,
1415
2309
  Object.keys(headers).length > 0 ? headers : undefined,
1416
- 'arrayBuffer',
2310
+ responseKind,
2311
+ disableCache !== undefined ? { disableCache } : undefined,
1417
2312
  ) as PostImageSvgResponse
1418
2313
  }
1419
2314
  }
@@ -1426,18 +2321,24 @@ export class MiscApi {
1426
2321
  const query: Record<string, unknown> = {}
1427
2322
  const headers: Record<string, string> = {}
1428
2323
  const body: Record<string, unknown> = {}
2324
+ let disableCache: boolean | undefined
2325
+ disableCache = args.disableCache ?? args["disable_cache"]
2326
+ const argCacheBuster = args._t
2327
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1429
2328
  const argMonth = args.month
1430
2329
  if (argMonth !== undefined) query["month"] = argMonth
1431
2330
  const argDay = args.day
1432
2331
  if (argDay !== undefined) query["day"] = argDay
1433
2332
  let requestPath = '/api/v1/history/programmer'
2333
+ const responseKind = 'json'
1434
2334
  return await this.c._request(
1435
2335
  'GET',
1436
2336
  requestPath,
1437
2337
  Object.keys(query).length > 0 ? query : undefined,
1438
2338
  Object.keys(body).length > 0 ? body : undefined,
1439
2339
  Object.keys(headers).length > 0 ? headers : undefined,
1440
- 'json',
2340
+ responseKind,
2341
+ disableCache !== undefined ? { disableCache } : undefined,
1441
2342
  ) as GetHistoryProgrammerResponse
1442
2343
  }
1443
2344
 
@@ -1447,14 +2348,17 @@ export class MiscApi {
1447
2348
  const query: Record<string, unknown> = {}
1448
2349
  const headers: Record<string, string> = {}
1449
2350
  const body: Record<string, unknown> = {}
2351
+ let disableCache: boolean | undefined
1450
2352
  let requestPath = '/api/v1/history/programmer/today'
2353
+ const responseKind = 'json'
1451
2354
  return await this.c._request(
1452
2355
  'GET',
1453
2356
  requestPath,
1454
2357
  Object.keys(query).length > 0 ? query : undefined,
1455
2358
  Object.keys(body).length > 0 ? body : undefined,
1456
2359
  Object.keys(headers).length > 0 ? headers : undefined,
1457
- 'json',
2360
+ responseKind,
2361
+ disableCache !== undefined ? { disableCache } : undefined,
1458
2362
  ) as GetHistoryProgrammerTodayResponse
1459
2363
  }
1460
2364
 
@@ -1464,6 +2368,10 @@ export class MiscApi {
1464
2368
  const query: Record<string, unknown> = {}
1465
2369
  const headers: Record<string, string> = {}
1466
2370
  const body: Record<string, unknown> = {}
2371
+ let disableCache: boolean | undefined
2372
+ disableCache = args.disableCache ?? args["disable_cache"]
2373
+ const argCacheBuster = args._t
2374
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1467
2375
  const argKeywords = args.keywords
1468
2376
  if (argKeywords !== undefined) query["keywords"] = argKeywords
1469
2377
  const argAdcode = args.adcode
@@ -1479,13 +2387,15 @@ export class MiscApi {
1479
2387
  const argLimit = args.limit
1480
2388
  if (argLimit !== undefined) query["limit"] = argLimit
1481
2389
  let requestPath = '/api/v1/misc/district'
2390
+ const responseKind = 'json'
1482
2391
  return await this.c._request(
1483
2392
  'GET',
1484
2393
  requestPath,
1485
2394
  Object.keys(query).length > 0 ? query : undefined,
1486
2395
  Object.keys(body).length > 0 ? body : undefined,
1487
2396
  Object.keys(headers).length > 0 ? headers : undefined,
1488
- 'json',
2397
+ responseKind,
2398
+ disableCache !== undefined ? { disableCache } : undefined,
1489
2399
  ) as GetMiscDistrictResponse
1490
2400
  }
1491
2401
 
@@ -1495,6 +2405,10 @@ export class MiscApi {
1495
2405
  const query: Record<string, unknown> = {}
1496
2406
  const headers: Record<string, string> = {}
1497
2407
  const body: Record<string, unknown> = {}
2408
+ let disableCache: boolean | undefined
2409
+ disableCache = args.disableCache ?? args["disable_cache"]
2410
+ const argCacheBuster = args._t
2411
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1498
2412
  const argDate = args.date
1499
2413
  if (argDate !== undefined) query["date"] = argDate
1500
2414
  const argMonth = args.month
@@ -1509,14 +2423,18 @@ export class MiscApi {
1509
2423
  if (argIncludeNearby !== undefined) query["include_nearby"] = argIncludeNearby
1510
2424
  const argNearbyLimit = args.nearbyLimit ?? args["nearby_limit"]
1511
2425
  if (argNearbyLimit !== undefined) query["nearby_limit"] = argNearbyLimit
2426
+ const argExcludePast = args.excludePast ?? args["exclude_past"]
2427
+ if (argExcludePast !== undefined) query["exclude_past"] = argExcludePast
1512
2428
  let requestPath = '/api/v1/misc/holiday-calendar'
2429
+ const responseKind = 'json'
1513
2430
  return await this.c._request(
1514
2431
  'GET',
1515
2432
  requestPath,
1516
2433
  Object.keys(query).length > 0 ? query : undefined,
1517
2434
  Object.keys(body).length > 0 ? body : undefined,
1518
2435
  Object.keys(headers).length > 0 ? headers : undefined,
1519
- 'json',
2436
+ responseKind,
2437
+ disableCache !== undefined ? { disableCache } : undefined,
1520
2438
  ) as GetMiscHolidayCalendarResponse
1521
2439
  }
1522
2440
 
@@ -1526,6 +2444,10 @@ export class MiscApi {
1526
2444
  const query: Record<string, unknown> = {}
1527
2445
  const headers: Record<string, string> = {}
1528
2446
  const body: Record<string, unknown> = {}
2447
+ let disableCache: boolean | undefined
2448
+ disableCache = args.disableCache ?? args["disable_cache"]
2449
+ const argCacheBuster = args._t
2450
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1529
2451
  const argType = args.type
1530
2452
  if (argType !== undefined) query["type"] = argType
1531
2453
  const argTime = args.time
@@ -1538,16 +2460,16 @@ export class MiscApi {
1538
2460
  if (argTimeEnd !== undefined) query["time_end"] = argTimeEnd
1539
2461
  const argLimit = args.limit
1540
2462
  if (argLimit !== undefined) query["limit"] = argLimit
1541
- const argSources = args.sources
1542
- if (argSources !== undefined) query["sources"] = argSources
1543
2463
  let requestPath = '/api/v1/misc/hotboard'
2464
+ const responseKind = 'json'
1544
2465
  return await this.c._request(
1545
2466
  'GET',
1546
2467
  requestPath,
1547
2468
  Object.keys(query).length > 0 ? query : undefined,
1548
2469
  Object.keys(body).length > 0 ? body : undefined,
1549
2470
  Object.keys(headers).length > 0 ? headers : undefined,
1550
- 'json',
2471
+ responseKind,
2472
+ disableCache !== undefined ? { disableCache } : undefined,
1551
2473
  ) as GetMiscHotboardResponse
1552
2474
  }
1553
2475
 
@@ -1557,18 +2479,24 @@ export class MiscApi {
1557
2479
  const query: Record<string, unknown> = {}
1558
2480
  const headers: Record<string, string> = {}
1559
2481
  const body: Record<string, unknown> = {}
2482
+ let disableCache: boolean | undefined
2483
+ disableCache = args.disableCache ?? args["disable_cache"]
2484
+ const argCacheBuster = args._t
2485
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1560
2486
  const argTs = args.ts
1561
2487
  if (argTs !== undefined) query["ts"] = argTs
1562
2488
  const argTimezone = args.timezone
1563
2489
  if (argTimezone !== undefined) query["timezone"] = argTimezone
1564
2490
  let requestPath = '/api/v1/misc/lunartime'
2491
+ const responseKind = 'json'
1565
2492
  return await this.c._request(
1566
2493
  'GET',
1567
2494
  requestPath,
1568
2495
  Object.keys(query).length > 0 ? query : undefined,
1569
2496
  Object.keys(body).length > 0 ? body : undefined,
1570
2497
  Object.keys(headers).length > 0 ? headers : undefined,
1571
- 'json',
2498
+ responseKind,
2499
+ disableCache !== undefined ? { disableCache } : undefined,
1572
2500
  ) as GetMiscLunartimeResponse
1573
2501
  }
1574
2502
 
@@ -1578,16 +2506,22 @@ export class MiscApi {
1578
2506
  const query: Record<string, unknown> = {}
1579
2507
  const headers: Record<string, string> = {}
1580
2508
  const body: Record<string, unknown> = {}
2509
+ let disableCache: boolean | undefined
2510
+ disableCache = args.disableCache ?? args["disable_cache"]
2511
+ const argCacheBuster = args._t
2512
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1581
2513
  const argPhone = args.phone
1582
2514
  if (argPhone !== undefined) query["phone"] = argPhone
1583
2515
  let requestPath = '/api/v1/misc/phoneinfo'
2516
+ const responseKind = 'json'
1584
2517
  return await this.c._request(
1585
2518
  'GET',
1586
2519
  requestPath,
1587
2520
  Object.keys(query).length > 0 ? query : undefined,
1588
2521
  Object.keys(body).length > 0 ? body : undefined,
1589
2522
  Object.keys(headers).length > 0 ? headers : undefined,
1590
- 'json',
2523
+ responseKind,
2524
+ disableCache !== undefined ? { disableCache } : undefined,
1591
2525
  ) as GetMiscPhoneinfoResponse
1592
2526
  }
1593
2527
 
@@ -1597,6 +2531,10 @@ export class MiscApi {
1597
2531
  const query: Record<string, unknown> = {}
1598
2532
  const headers: Record<string, string> = {}
1599
2533
  const body: Record<string, unknown> = {}
2534
+ let disableCache: boolean | undefined
2535
+ disableCache = args.disableCache ?? args["disable_cache"]
2536
+ const argCacheBuster = args._t
2537
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1600
2538
  const argMin = args.min
1601
2539
  if (argMin !== undefined) query["min"] = argMin
1602
2540
  const argMax = args.max
@@ -1610,13 +2548,15 @@ export class MiscApi {
1610
2548
  const argDecimalPlaces = args.decimalPlaces ?? args["decimal_places"]
1611
2549
  if (argDecimalPlaces !== undefined) query["decimal_places"] = argDecimalPlaces
1612
2550
  let requestPath = '/api/v1/misc/randomnumber'
2551
+ const responseKind = 'json'
1613
2552
  return await this.c._request(
1614
2553
  'GET',
1615
2554
  requestPath,
1616
2555
  Object.keys(query).length > 0 ? query : undefined,
1617
2556
  Object.keys(body).length > 0 ? body : undefined,
1618
2557
  Object.keys(headers).length > 0 ? headers : undefined,
1619
- 'json',
2558
+ responseKind,
2559
+ disableCache !== undefined ? { disableCache } : undefined,
1620
2560
  ) as GetMiscRandomnumberResponse
1621
2561
  }
1622
2562
 
@@ -1626,16 +2566,22 @@ export class MiscApi {
1626
2566
  const query: Record<string, unknown> = {}
1627
2567
  const headers: Record<string, string> = {}
1628
2568
  const body: Record<string, unknown> = {}
2569
+ let disableCache: boolean | undefined
2570
+ disableCache = args.disableCache ?? args["disable_cache"]
2571
+ const argCacheBuster = args._t
2572
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1629
2573
  const argTs = args.ts
1630
2574
  if (argTs !== undefined) query["ts"] = argTs
1631
2575
  let requestPath = '/api/v1/misc/timestamp'
2576
+ const responseKind = 'json'
1632
2577
  return await this.c._request(
1633
2578
  'GET',
1634
2579
  requestPath,
1635
2580
  Object.keys(query).length > 0 ? query : undefined,
1636
2581
  Object.keys(body).length > 0 ? body : undefined,
1637
2582
  Object.keys(headers).length > 0 ? headers : undefined,
1638
- 'json',
2583
+ responseKind,
2584
+ disableCache !== undefined ? { disableCache } : undefined,
1639
2585
  ) as GetMiscTimestampResponse
1640
2586
  }
1641
2587
 
@@ -1645,14 +2591,17 @@ export class MiscApi {
1645
2591
  const query: Record<string, unknown> = {}
1646
2592
  const headers: Record<string, string> = {}
1647
2593
  const body: Record<string, unknown> = {}
2594
+ let disableCache: boolean | undefined
1648
2595
  let requestPath = '/api/v1/misc/tracking/carriers'
2596
+ const responseKind = 'json'
1649
2597
  return await this.c._request(
1650
2598
  'GET',
1651
2599
  requestPath,
1652
2600
  Object.keys(query).length > 0 ? query : undefined,
1653
2601
  Object.keys(body).length > 0 ? body : undefined,
1654
2602
  Object.keys(headers).length > 0 ? headers : undefined,
1655
- 'json',
2603
+ responseKind,
2604
+ disableCache !== undefined ? { disableCache } : undefined,
1656
2605
  ) as GetMiscTrackingCarriersResponse
1657
2606
  }
1658
2607
 
@@ -1662,16 +2611,22 @@ export class MiscApi {
1662
2611
  const query: Record<string, unknown> = {}
1663
2612
  const headers: Record<string, string> = {}
1664
2613
  const body: Record<string, unknown> = {}
2614
+ let disableCache: boolean | undefined
2615
+ disableCache = args.disableCache ?? args["disable_cache"]
2616
+ const argCacheBuster = args._t
2617
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1665
2618
  const argTrackingNumber = args.trackingNumber ?? args["tracking_number"]
1666
2619
  if (argTrackingNumber !== undefined) query["tracking_number"] = argTrackingNumber
1667
2620
  let requestPath = '/api/v1/misc/tracking/detect'
2621
+ const responseKind = 'json'
1668
2622
  return await this.c._request(
1669
2623
  'GET',
1670
2624
  requestPath,
1671
2625
  Object.keys(query).length > 0 ? query : undefined,
1672
2626
  Object.keys(body).length > 0 ? body : undefined,
1673
2627
  Object.keys(headers).length > 0 ? headers : undefined,
1674
- 'json',
2628
+ responseKind,
2629
+ disableCache !== undefined ? { disableCache } : undefined,
1675
2630
  ) as GetMiscTrackingDetectResponse
1676
2631
  }
1677
2632
 
@@ -1681,20 +2636,28 @@ export class MiscApi {
1681
2636
  const query: Record<string, unknown> = {}
1682
2637
  const headers: Record<string, string> = {}
1683
2638
  const body: Record<string, unknown> = {}
2639
+ let disableCache: boolean | undefined
2640
+ disableCache = args.disableCache ?? args["disable_cache"]
2641
+ const argCacheBuster = args._t
2642
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1684
2643
  const argTrackingNumber = args.trackingNumber ?? args["tracking_number"]
1685
2644
  if (argTrackingNumber !== undefined) query["tracking_number"] = argTrackingNumber
1686
2645
  const argCarrierCode = args.carrierCode ?? args["carrier_code"]
1687
2646
  if (argCarrierCode !== undefined) query["carrier_code"] = argCarrierCode
1688
2647
  const argPhone = args.phone
1689
2648
  if (argPhone !== undefined) query["phone"] = argPhone
2649
+ const argFull = args.full
2650
+ if (argFull !== undefined) query["full"] = argFull
1690
2651
  let requestPath = '/api/v1/misc/tracking/query'
2652
+ const responseKind = 'json'
1691
2653
  return await this.c._request(
1692
2654
  'GET',
1693
2655
  requestPath,
1694
2656
  Object.keys(query).length > 0 ? query : undefined,
1695
2657
  Object.keys(body).length > 0 ? body : undefined,
1696
2658
  Object.keys(headers).length > 0 ? headers : undefined,
1697
- 'json',
2659
+ responseKind,
2660
+ disableCache !== undefined ? { disableCache } : undefined,
1698
2661
  ) as GetMiscTrackingQueryResponse
1699
2662
  }
1700
2663
 
@@ -1704,6 +2667,10 @@ export class MiscApi {
1704
2667
  const query: Record<string, unknown> = {}
1705
2668
  const headers: Record<string, string> = {}
1706
2669
  const body: Record<string, unknown> = {}
2670
+ let disableCache: boolean | undefined
2671
+ disableCache = args.disableCache ?? args["disable_cache"]
2672
+ const argCacheBuster = args._t
2673
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1707
2674
  const argCity = args.city
1708
2675
  if (argCity !== undefined) query["city"] = argCity
1709
2676
  const argAdcode = args.adcode
@@ -1721,13 +2688,15 @@ export class MiscApi {
1721
2688
  const argLang = args.lang
1722
2689
  if (argLang !== undefined) query["lang"] = argLang
1723
2690
  let requestPath = '/api/v1/misc/weather'
2691
+ const responseKind = 'json'
1724
2692
  return await this.c._request(
1725
2693
  'GET',
1726
2694
  requestPath,
1727
2695
  Object.keys(query).length > 0 ? query : undefined,
1728
2696
  Object.keys(body).length > 0 ? body : undefined,
1729
2697
  Object.keys(headers).length > 0 ? headers : undefined,
1730
- 'json',
2698
+ responseKind,
2699
+ disableCache !== undefined ? { disableCache } : undefined,
1731
2700
  ) as GetMiscWeatherResponse
1732
2701
  }
1733
2702
 
@@ -1737,16 +2706,22 @@ export class MiscApi {
1737
2706
  const query: Record<string, unknown> = {}
1738
2707
  const headers: Record<string, string> = {}
1739
2708
  const body: Record<string, unknown> = {}
2709
+ let disableCache: boolean | undefined
2710
+ disableCache = args.disableCache ?? args["disable_cache"]
2711
+ const argCacheBuster = args._t
2712
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1740
2713
  const argCity = args.city
1741
2714
  if (argCity !== undefined) query["city"] = argCity
1742
2715
  let requestPath = '/api/v1/misc/worldtime'
2716
+ const responseKind = 'json'
1743
2717
  return await this.c._request(
1744
2718
  'GET',
1745
2719
  requestPath,
1746
2720
  Object.keys(query).length > 0 ? query : undefined,
1747
2721
  Object.keys(body).length > 0 ? body : undefined,
1748
2722
  Object.keys(headers).length > 0 ? headers : undefined,
1749
- 'json',
2723
+ responseKind,
2724
+ disableCache !== undefined ? { disableCache } : undefined,
1750
2725
  ) as GetMiscWorldtimeResponse
1751
2726
  }
1752
2727
 
@@ -1756,6 +2731,10 @@ export class MiscApi {
1756
2731
  const query: Record<string, unknown> = {}
1757
2732
  const headers: Record<string, string> = {}
1758
2733
  const body: Record<string, unknown> = {}
2734
+ let disableCache: boolean | undefined
2735
+ disableCache = args.disableCache ?? args["disable_cache"]
2736
+ const argCacheBuster = args._t
2737
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1759
2738
  const argEndDate = args.endDate ?? args["end_date"]
1760
2739
  if (argEndDate !== undefined) body["end_date"] = argEndDate
1761
2740
  const argFormat = args.format
@@ -1763,13 +2742,15 @@ export class MiscApi {
1763
2742
  const argStartDate = args.startDate ?? args["start_date"]
1764
2743
  if (argStartDate !== undefined) body["start_date"] = argStartDate
1765
2744
  let requestPath = '/api/v1/misc/date-diff'
2745
+ const responseKind = 'json'
1766
2746
  return await this.c._request(
1767
2747
  'POST',
1768
2748
  requestPath,
1769
2749
  Object.keys(query).length > 0 ? query : undefined,
1770
2750
  Object.keys(body).length > 0 ? body : undefined,
1771
2751
  Object.keys(headers).length > 0 ? headers : undefined,
1772
- 'json',
2752
+ responseKind,
2753
+ disableCache !== undefined ? { disableCache } : undefined,
1773
2754
  ) as PostMiscDateDiffResponse
1774
2755
  }
1775
2756
  }
@@ -1782,18 +2763,24 @@ export class NetworkApi {
1782
2763
  const query: Record<string, unknown> = {}
1783
2764
  const headers: Record<string, string> = {}
1784
2765
  const body: Record<string, unknown> = {}
2766
+ let disableCache: boolean | undefined
2767
+ disableCache = args.disableCache ?? args["disable_cache"]
2768
+ const argCacheBuster = args._t
2769
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1785
2770
  const argDomain = args.domain
1786
2771
  if (argDomain !== undefined) query["domain"] = argDomain
1787
2772
  const argType = args.type
1788
2773
  if (argType !== undefined) query["type"] = argType
1789
2774
  let requestPath = '/api/v1/network/dns'
2775
+ const responseKind = 'json'
1790
2776
  return await this.c._request(
1791
2777
  'GET',
1792
2778
  requestPath,
1793
2779
  Object.keys(query).length > 0 ? query : undefined,
1794
2780
  Object.keys(body).length > 0 ? body : undefined,
1795
2781
  Object.keys(headers).length > 0 ? headers : undefined,
1796
- 'json',
2782
+ responseKind,
2783
+ disableCache !== undefined ? { disableCache } : undefined,
1797
2784
  ) as GetNetworkDnsResponse
1798
2785
  }
1799
2786
 
@@ -1803,16 +2790,22 @@ export class NetworkApi {
1803
2790
  const query: Record<string, unknown> = {}
1804
2791
  const headers: Record<string, string> = {}
1805
2792
  const body: Record<string, unknown> = {}
2793
+ let disableCache: boolean | undefined
2794
+ disableCache = args.disableCache ?? args["disable_cache"]
2795
+ const argCacheBuster = args._t
2796
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1806
2797
  const argDomain = args.domain
1807
2798
  if (argDomain !== undefined) query["domain"] = argDomain
1808
2799
  let requestPath = '/api/v1/network/icp'
2800
+ const responseKind = 'json'
1809
2801
  return await this.c._request(
1810
2802
  'GET',
1811
2803
  requestPath,
1812
2804
  Object.keys(query).length > 0 ? query : undefined,
1813
2805
  Object.keys(body).length > 0 ? body : undefined,
1814
2806
  Object.keys(headers).length > 0 ? headers : undefined,
1815
- 'json',
2807
+ responseKind,
2808
+ disableCache !== undefined ? { disableCache } : undefined,
1816
2809
  ) as GetNetworkIcpResponse
1817
2810
  }
1818
2811
 
@@ -1822,18 +2815,24 @@ export class NetworkApi {
1822
2815
  const query: Record<string, unknown> = {}
1823
2816
  const headers: Record<string, string> = {}
1824
2817
  const body: Record<string, unknown> = {}
2818
+ let disableCache: boolean | undefined
2819
+ disableCache = args.disableCache ?? args["disable_cache"]
2820
+ const argCacheBuster = args._t
2821
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1825
2822
  const argIp = args.ip
1826
2823
  if (argIp !== undefined) query["ip"] = argIp
1827
2824
  const argSource = args.source
1828
2825
  if (argSource !== undefined) query["source"] = argSource
1829
2826
  let requestPath = '/api/v1/network/ipinfo'
2827
+ const responseKind = 'json'
1830
2828
  return await this.c._request(
1831
2829
  'GET',
1832
2830
  requestPath,
1833
2831
  Object.keys(query).length > 0 ? query : undefined,
1834
2832
  Object.keys(body).length > 0 ? body : undefined,
1835
2833
  Object.keys(headers).length > 0 ? headers : undefined,
1836
- 'json',
2834
+ responseKind,
2835
+ disableCache !== undefined ? { disableCache } : undefined,
1837
2836
  ) as GetNetworkIpinfoResponse
1838
2837
  }
1839
2838
 
@@ -1843,16 +2842,22 @@ export class NetworkApi {
1843
2842
  const query: Record<string, unknown> = {}
1844
2843
  const headers: Record<string, string> = {}
1845
2844
  const body: Record<string, unknown> = {}
2845
+ let disableCache: boolean | undefined
2846
+ disableCache = args.disableCache ?? args["disable_cache"]
2847
+ const argCacheBuster = args._t
2848
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1846
2849
  const argSource = args.source
1847
2850
  if (argSource !== undefined) query["source"] = argSource
1848
2851
  let requestPath = '/api/v1/network/myip'
2852
+ const responseKind = 'json'
1849
2853
  return await this.c._request(
1850
2854
  'GET',
1851
2855
  requestPath,
1852
2856
  Object.keys(query).length > 0 ? query : undefined,
1853
2857
  Object.keys(body).length > 0 ? body : undefined,
1854
2858
  Object.keys(headers).length > 0 ? headers : undefined,
1855
- 'json',
2859
+ responseKind,
2860
+ disableCache !== undefined ? { disableCache } : undefined,
1856
2861
  ) as GetNetworkMyipResponse
1857
2862
  }
1858
2863
 
@@ -1862,16 +2867,22 @@ export class NetworkApi {
1862
2867
  const query: Record<string, unknown> = {}
1863
2868
  const headers: Record<string, string> = {}
1864
2869
  const body: Record<string, unknown> = {}
2870
+ let disableCache: boolean | undefined
2871
+ disableCache = args.disableCache ?? args["disable_cache"]
2872
+ const argCacheBuster = args._t
2873
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1865
2874
  const argHost = args.host
1866
2875
  if (argHost !== undefined) query["host"] = argHost
1867
2876
  let requestPath = '/api/v1/network/ping'
2877
+ const responseKind = 'json'
1868
2878
  return await this.c._request(
1869
2879
  'GET',
1870
2880
  requestPath,
1871
2881
  Object.keys(query).length > 0 ? query : undefined,
1872
2882
  Object.keys(body).length > 0 ? body : undefined,
1873
2883
  Object.keys(headers).length > 0 ? headers : undefined,
1874
- 'json',
2884
+ responseKind,
2885
+ disableCache !== undefined ? { disableCache } : undefined,
1875
2886
  ) as GetNetworkPingResponse
1876
2887
  }
1877
2888
 
@@ -1881,14 +2892,17 @@ export class NetworkApi {
1881
2892
  const query: Record<string, unknown> = {}
1882
2893
  const headers: Record<string, string> = {}
1883
2894
  const body: Record<string, unknown> = {}
2895
+ let disableCache: boolean | undefined
1884
2896
  let requestPath = '/api/v1/network/pingmyip'
2897
+ const responseKind = 'json'
1885
2898
  return await this.c._request(
1886
2899
  'GET',
1887
2900
  requestPath,
1888
2901
  Object.keys(query).length > 0 ? query : undefined,
1889
2902
  Object.keys(body).length > 0 ? body : undefined,
1890
2903
  Object.keys(headers).length > 0 ? headers : undefined,
1891
- 'json',
2904
+ responseKind,
2905
+ disableCache !== undefined ? { disableCache } : undefined,
1892
2906
  ) as GetNetworkPingmyipResponse
1893
2907
  }
1894
2908
 
@@ -1898,6 +2912,10 @@ export class NetworkApi {
1898
2912
  const query: Record<string, unknown> = {}
1899
2913
  const headers: Record<string, string> = {}
1900
2914
  const body: Record<string, unknown> = {}
2915
+ let disableCache: boolean | undefined
2916
+ disableCache = args.disableCache ?? args["disable_cache"]
2917
+ const argCacheBuster = args._t
2918
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1901
2919
  const argHost = args.host
1902
2920
  if (argHost !== undefined) query["host"] = argHost
1903
2921
  const argPort = args.port
@@ -1905,13 +2923,15 @@ export class NetworkApi {
1905
2923
  const argProtocol = args.protocol
1906
2924
  if (argProtocol !== undefined) query["protocol"] = argProtocol
1907
2925
  let requestPath = '/api/v1/network/portscan'
2926
+ const responseKind = 'json'
1908
2927
  return await this.c._request(
1909
2928
  'GET',
1910
2929
  requestPath,
1911
2930
  Object.keys(query).length > 0 ? query : undefined,
1912
2931
  Object.keys(body).length > 0 ? body : undefined,
1913
2932
  Object.keys(headers).length > 0 ? headers : undefined,
1914
- 'json',
2933
+ responseKind,
2934
+ disableCache !== undefined ? { disableCache } : undefined,
1915
2935
  ) as GetNetworkPortscanResponse
1916
2936
  }
1917
2937
 
@@ -1921,16 +2941,22 @@ export class NetworkApi {
1921
2941
  const query: Record<string, unknown> = {}
1922
2942
  const headers: Record<string, string> = {}
1923
2943
  const body: Record<string, unknown> = {}
2944
+ let disableCache: boolean | undefined
2945
+ disableCache = args.disableCache ?? args["disable_cache"]
2946
+ const argCacheBuster = args._t
2947
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1924
2948
  const argUrl = args.url
1925
2949
  if (argUrl !== undefined) query["url"] = argUrl
1926
2950
  let requestPath = '/api/v1/network/urlstatus'
2951
+ const responseKind = 'json'
1927
2952
  return await this.c._request(
1928
2953
  'GET',
1929
2954
  requestPath,
1930
2955
  Object.keys(query).length > 0 ? query : undefined,
1931
2956
  Object.keys(body).length > 0 ? body : undefined,
1932
2957
  Object.keys(headers).length > 0 ? headers : undefined,
1933
- 'json',
2958
+ responseKind,
2959
+ disableCache !== undefined ? { disableCache } : undefined,
1934
2960
  ) as GetNetworkUrlstatusResponse
1935
2961
  }
1936
2962
 
@@ -1940,18 +2966,24 @@ export class NetworkApi {
1940
2966
  const query: Record<string, unknown> = {}
1941
2967
  const headers: Record<string, string> = {}
1942
2968
  const body: Record<string, unknown> = {}
2969
+ let disableCache: boolean | undefined
2970
+ disableCache = args.disableCache ?? args["disable_cache"]
2971
+ const argCacheBuster = args._t
2972
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1943
2973
  const argDomain = args.domain
1944
2974
  if (argDomain !== undefined) query["domain"] = argDomain
1945
2975
  const argFormat = args.format
1946
2976
  if (argFormat !== undefined) query["format"] = argFormat
1947
2977
  let requestPath = '/api/v1/network/whois'
2978
+ const responseKind = 'json'
1948
2979
  return await this.c._request(
1949
2980
  'GET',
1950
2981
  requestPath,
1951
2982
  Object.keys(query).length > 0 ? query : undefined,
1952
2983
  Object.keys(body).length > 0 ? body : undefined,
1953
2984
  Object.keys(headers).length > 0 ? headers : undefined,
1954
- 'json',
2985
+ responseKind,
2986
+ disableCache !== undefined ? { disableCache } : undefined,
1955
2987
  ) as GetNetworkWhoisResponse
1956
2988
  }
1957
2989
 
@@ -1961,16 +2993,22 @@ export class NetworkApi {
1961
2993
  const query: Record<string, unknown> = {}
1962
2994
  const headers: Record<string, string> = {}
1963
2995
  const body: Record<string, unknown> = {}
2996
+ let disableCache: boolean | undefined
2997
+ disableCache = args.disableCache ?? args["disable_cache"]
2998
+ const argCacheBuster = args._t
2999
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
1964
3000
  const argDomain = args.domain
1965
3001
  if (argDomain !== undefined) query["domain"] = argDomain
1966
3002
  let requestPath = '/api/v1/network/wxdomain'
3003
+ const responseKind = 'json'
1967
3004
  return await this.c._request(
1968
3005
  'GET',
1969
3006
  requestPath,
1970
3007
  Object.keys(query).length > 0 ? query : undefined,
1971
3008
  Object.keys(body).length > 0 ? body : undefined,
1972
3009
  Object.keys(headers).length > 0 ? headers : undefined,
1973
- 'json',
3010
+ responseKind,
3011
+ disableCache !== undefined ? { disableCache } : undefined,
1974
3012
  ) as GetNetworkWxdomainResponse
1975
3013
  }
1976
3014
  }
@@ -1983,14 +3021,17 @@ export class PoemApi {
1983
3021
  const query: Record<string, unknown> = {}
1984
3022
  const headers: Record<string, string> = {}
1985
3023
  const body: Record<string, unknown> = {}
3024
+ let disableCache: boolean | undefined
1986
3025
  let requestPath = '/api/v1/saying'
3026
+ const responseKind = 'json'
1987
3027
  return await this.c._request(
1988
3028
  'GET',
1989
3029
  requestPath,
1990
3030
  Object.keys(query).length > 0 ? query : undefined,
1991
3031
  Object.keys(body).length > 0 ? body : undefined,
1992
3032
  Object.keys(headers).length > 0 ? headers : undefined,
1993
- 'json',
3033
+ responseKind,
3034
+ disableCache !== undefined ? { disableCache } : undefined,
1994
3035
  ) as GetSayingResponse
1995
3036
  }
1996
3037
  }
@@ -2003,16 +3044,22 @@ export class RandomApi {
2003
3044
  const query: Record<string, unknown> = {}
2004
3045
  const headers: Record<string, string> = {}
2005
3046
  const body: Record<string, unknown> = {}
3047
+ let disableCache: boolean | undefined
3048
+ disableCache = args.disableCache ?? args["disable_cache"]
3049
+ const argCacheBuster = args._t
3050
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2006
3051
  const argQuestion = args.question
2007
3052
  if (argQuestion !== undefined) query["question"] = argQuestion
2008
3053
  let requestPath = '/api/v1/answerbook/ask'
3054
+ const responseKind = 'json'
2009
3055
  return await this.c._request(
2010
3056
  'GET',
2011
3057
  requestPath,
2012
3058
  Object.keys(query).length > 0 ? query : undefined,
2013
3059
  Object.keys(body).length > 0 ? body : undefined,
2014
3060
  Object.keys(headers).length > 0 ? headers : undefined,
2015
- 'json',
3061
+ responseKind,
3062
+ disableCache !== undefined ? { disableCache } : undefined,
2016
3063
  ) as GetAnswerbookAskResponse
2017
3064
  }
2018
3065
 
@@ -2022,18 +3069,24 @@ export class RandomApi {
2022
3069
  const query: Record<string, unknown> = {}
2023
3070
  const headers: Record<string, string> = {}
2024
3071
  const body: Record<string, unknown> = {}
3072
+ let disableCache: boolean | undefined
3073
+ disableCache = args.disableCache ?? args["disable_cache"]
3074
+ const argCacheBuster = args._t
3075
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2025
3076
  const argCategory = args.category
2026
3077
  if (argCategory !== undefined) query["category"] = argCategory
2027
3078
  const argType = args.type
2028
3079
  if (argType !== undefined) query["type"] = argType
2029
3080
  let requestPath = '/api/v1/random/image'
3081
+ const responseKind = 'arrayBuffer'
2030
3082
  return await this.c._request(
2031
3083
  'GET',
2032
3084
  requestPath,
2033
3085
  Object.keys(query).length > 0 ? query : undefined,
2034
3086
  Object.keys(body).length > 0 ? body : undefined,
2035
3087
  Object.keys(headers).length > 0 ? headers : undefined,
2036
- 'arrayBuffer',
3088
+ responseKind,
3089
+ disableCache !== undefined ? { disableCache } : undefined,
2037
3090
  ) as GetRandomImageResponse
2038
3091
  }
2039
3092
 
@@ -2043,18 +3096,24 @@ export class RandomApi {
2043
3096
  const query: Record<string, unknown> = {}
2044
3097
  const headers: Record<string, string> = {}
2045
3098
  const body: Record<string, unknown> = {}
3099
+ let disableCache: boolean | undefined
3100
+ disableCache = args.disableCache ?? args["disable_cache"]
3101
+ const argCacheBuster = args._t
3102
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2046
3103
  const argLength = args.length
2047
3104
  if (argLength !== undefined) query["length"] = argLength
2048
3105
  const argType = args.type
2049
3106
  if (argType !== undefined) query["type"] = argType
2050
3107
  let requestPath = '/api/v1/random/string'
3108
+ const responseKind = 'json'
2051
3109
  return await this.c._request(
2052
3110
  'GET',
2053
3111
  requestPath,
2054
3112
  Object.keys(query).length > 0 ? query : undefined,
2055
3113
  Object.keys(body).length > 0 ? body : undefined,
2056
3114
  Object.keys(headers).length > 0 ? headers : undefined,
2057
- 'json',
3115
+ responseKind,
3116
+ disableCache !== undefined ? { disableCache } : undefined,
2058
3117
  ) as GetRandomStringResponse
2059
3118
  }
2060
3119
 
@@ -2064,16 +3123,22 @@ export class RandomApi {
2064
3123
  const query: Record<string, unknown> = {}
2065
3124
  const headers: Record<string, string> = {}
2066
3125
  const body: Record<string, unknown> = {}
3126
+ let disableCache: boolean | undefined
3127
+ disableCache = args.disableCache ?? args["disable_cache"]
3128
+ const argCacheBuster = args._t
3129
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2067
3130
  const argQuestion = args.question
2068
3131
  if (argQuestion !== undefined) body["question"] = argQuestion
2069
3132
  let requestPath = '/api/v1/answerbook/ask'
3133
+ const responseKind = 'json'
2070
3134
  return await this.c._request(
2071
3135
  'POST',
2072
3136
  requestPath,
2073
3137
  Object.keys(query).length > 0 ? query : undefined,
2074
3138
  Object.keys(body).length > 0 ? body : undefined,
2075
3139
  Object.keys(headers).length > 0 ? headers : undefined,
2076
- 'json',
3140
+ responseKind,
3141
+ disableCache !== undefined ? { disableCache } : undefined,
2077
3142
  ) as PostAnswerbookAskResponse
2078
3143
  }
2079
3144
  }
@@ -2086,25 +3151,66 @@ export class SocialApi {
2086
3151
  const query: Record<string, unknown> = {}
2087
3152
  const headers: Record<string, string> = {}
2088
3153
  const body: Record<string, unknown> = {}
3154
+ let disableCache: boolean | undefined
3155
+ disableCache = args.disableCache ?? args["disable_cache"]
3156
+ const argCacheBuster = args._t
3157
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2089
3158
  const argRepo = args.repo
2090
3159
  if (argRepo !== undefined) query["repo"] = argRepo
2091
3160
  let requestPath = '/api/v1/github/repo'
3161
+ const responseKind = 'json'
2092
3162
  return await this.c._request(
2093
3163
  'GET',
2094
3164
  requestPath,
2095
3165
  Object.keys(query).length > 0 ? query : undefined,
2096
3166
  Object.keys(body).length > 0 ? body : undefined,
2097
3167
  Object.keys(headers).length > 0 ? headers : undefined,
2098
- 'json',
3168
+ responseKind,
3169
+ disableCache !== undefined ? { disableCache } : undefined,
2099
3170
  ) as GetGithubRepoResponse
2100
3171
  }
2101
3172
 
3173
+ /** 查询 GitHub 用户信息 */
3174
+ async getGithubUser(args: GetGithubUserArgs
3175
+ ): Promise<GetGithubUserResponse> {
3176
+ const query: Record<string, unknown> = {}
3177
+ const headers: Record<string, string> = {}
3178
+ const body: Record<string, unknown> = {}
3179
+ let disableCache: boolean | undefined
3180
+ disableCache = args.disableCache ?? args["disable_cache"]
3181
+ const argCacheBuster = args._t
3182
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
3183
+ const argUser = args.user
3184
+ if (argUser !== undefined) query["user"] = argUser
3185
+ const argActivity = args.activity
3186
+ if (argActivity !== undefined) query["activity"] = argActivity
3187
+ const argActivityScope = args.activityScope ?? args["activity_scope"]
3188
+ if (argActivityScope !== undefined) query["activity_scope"] = argActivityScope
3189
+ const argOrg = args.org
3190
+ if (argOrg !== undefined) query["org"] = argOrg
3191
+ let requestPath = '/api/v1/github/user'
3192
+ const responseKind = 'json'
3193
+ return await this.c._request(
3194
+ 'GET',
3195
+ requestPath,
3196
+ Object.keys(query).length > 0 ? query : undefined,
3197
+ Object.keys(body).length > 0 ? body : undefined,
3198
+ Object.keys(headers).length > 0 ? headers : undefined,
3199
+ responseKind,
3200
+ disableCache !== undefined ? { disableCache } : undefined,
3201
+ ) as GetGithubUserResponse
3202
+ }
3203
+
2102
3204
  /** 查询 B站投稿 */
2103
3205
  async getSocialBilibiliArchives(args: GetSocialBilibiliArchivesArgs
2104
3206
  ): Promise<GetSocialBilibiliArchivesResponse> {
2105
3207
  const query: Record<string, unknown> = {}
2106
3208
  const headers: Record<string, string> = {}
2107
3209
  const body: Record<string, unknown> = {}
3210
+ let disableCache: boolean | undefined
3211
+ disableCache = args.disableCache ?? args["disable_cache"]
3212
+ const argCacheBuster = args._t
3213
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2108
3214
  const argMid = args.mid
2109
3215
  if (argMid !== undefined) query["mid"] = argMid
2110
3216
  const argKeywords = args.keywords
@@ -2116,13 +3222,15 @@ export class SocialApi {
2116
3222
  const argPn = args.pn
2117
3223
  if (argPn !== undefined) query["pn"] = argPn
2118
3224
  let requestPath = '/api/v1/social/bilibili/archives'
3225
+ const responseKind = 'json'
2119
3226
  return await this.c._request(
2120
3227
  'GET',
2121
3228
  requestPath,
2122
3229
  Object.keys(query).length > 0 ? query : undefined,
2123
3230
  Object.keys(body).length > 0 ? body : undefined,
2124
3231
  Object.keys(headers).length > 0 ? headers : undefined,
2125
- 'json',
3232
+ responseKind,
3233
+ disableCache !== undefined ? { disableCache } : undefined,
2126
3234
  ) as GetSocialBilibiliArchivesResponse
2127
3235
  }
2128
3236
 
@@ -2132,18 +3240,24 @@ export class SocialApi {
2132
3240
  const query: Record<string, unknown> = {}
2133
3241
  const headers: Record<string, string> = {}
2134
3242
  const body: Record<string, unknown> = {}
3243
+ let disableCache: boolean | undefined
3244
+ disableCache = args.disableCache ?? args["disable_cache"]
3245
+ const argCacheBuster = args._t
3246
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2135
3247
  const argMid = args.mid
2136
3248
  if (argMid !== undefined) query["mid"] = argMid
2137
3249
  const argRoomId = args.roomId ?? args["room_id"]
2138
3250
  if (argRoomId !== undefined) query["room_id"] = argRoomId
2139
3251
  let requestPath = '/api/v1/social/bilibili/liveroom'
3252
+ const responseKind = 'json'
2140
3253
  return await this.c._request(
2141
3254
  'GET',
2142
3255
  requestPath,
2143
3256
  Object.keys(query).length > 0 ? query : undefined,
2144
3257
  Object.keys(body).length > 0 ? body : undefined,
2145
3258
  Object.keys(headers).length > 0 ? headers : undefined,
2146
- 'json',
3259
+ responseKind,
3260
+ disableCache !== undefined ? { disableCache } : undefined,
2147
3261
  ) as GetSocialBilibiliLiveroomResponse
2148
3262
  }
2149
3263
 
@@ -2153,6 +3267,10 @@ export class SocialApi {
2153
3267
  const query: Record<string, unknown> = {}
2154
3268
  const headers: Record<string, string> = {}
2155
3269
  const body: Record<string, unknown> = {}
3270
+ let disableCache: boolean | undefined
3271
+ disableCache = args.disableCache ?? args["disable_cache"]
3272
+ const argCacheBuster = args._t
3273
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2156
3274
  const argOid = args.oid
2157
3275
  if (argOid !== undefined) query["oid"] = argOid
2158
3276
  const argSort = args.sort
@@ -2162,13 +3280,15 @@ export class SocialApi {
2162
3280
  const argPn = args.pn
2163
3281
  if (argPn !== undefined) query["pn"] = argPn
2164
3282
  let requestPath = '/api/v1/social/bilibili/replies'
3283
+ const responseKind = 'json'
2165
3284
  return await this.c._request(
2166
3285
  'GET',
2167
3286
  requestPath,
2168
3287
  Object.keys(query).length > 0 ? query : undefined,
2169
3288
  Object.keys(body).length > 0 ? body : undefined,
2170
3289
  Object.keys(headers).length > 0 ? headers : undefined,
2171
- 'json',
3290
+ responseKind,
3291
+ disableCache !== undefined ? { disableCache } : undefined,
2172
3292
  ) as GetSocialBilibiliRepliesResponse
2173
3293
  }
2174
3294
 
@@ -2178,16 +3298,22 @@ export class SocialApi {
2178
3298
  const query: Record<string, unknown> = {}
2179
3299
  const headers: Record<string, string> = {}
2180
3300
  const body: Record<string, unknown> = {}
3301
+ let disableCache: boolean | undefined
3302
+ disableCache = args.disableCache ?? args["disable_cache"]
3303
+ const argCacheBuster = args._t
3304
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2181
3305
  const argUid = args.uid
2182
3306
  if (argUid !== undefined) query["uid"] = argUid
2183
3307
  let requestPath = '/api/v1/social/bilibili/userinfo'
3308
+ const responseKind = 'json'
2184
3309
  return await this.c._request(
2185
3310
  'GET',
2186
3311
  requestPath,
2187
3312
  Object.keys(query).length > 0 ? query : undefined,
2188
3313
  Object.keys(body).length > 0 ? body : undefined,
2189
3314
  Object.keys(headers).length > 0 ? headers : undefined,
2190
- 'json',
3315
+ responseKind,
3316
+ disableCache !== undefined ? { disableCache } : undefined,
2191
3317
  ) as GetSocialBilibiliUserinfoResponse
2192
3318
  }
2193
3319
 
@@ -2197,18 +3323,24 @@ export class SocialApi {
2197
3323
  const query: Record<string, unknown> = {}
2198
3324
  const headers: Record<string, string> = {}
2199
3325
  const body: Record<string, unknown> = {}
3326
+ let disableCache: boolean | undefined
3327
+ disableCache = args.disableCache ?? args["disable_cache"]
3328
+ const argCacheBuster = args._t
3329
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2200
3330
  const argAid = args.aid
2201
3331
  if (argAid !== undefined) query["aid"] = argAid
2202
3332
  const argBvid = args.bvid
2203
3333
  if (argBvid !== undefined) query["bvid"] = argBvid
2204
3334
  let requestPath = '/api/v1/social/bilibili/videoinfo'
3335
+ const responseKind = 'json'
2205
3336
  return await this.c._request(
2206
3337
  'GET',
2207
3338
  requestPath,
2208
3339
  Object.keys(query).length > 0 ? query : undefined,
2209
3340
  Object.keys(body).length > 0 ? body : undefined,
2210
3341
  Object.keys(headers).length > 0 ? headers : undefined,
2211
- 'json',
3342
+ responseKind,
3343
+ disableCache !== undefined ? { disableCache } : undefined,
2212
3344
  ) as GetSocialBilibiliVideoinfoResponse
2213
3345
  }
2214
3346
 
@@ -2218,16 +3350,22 @@ export class SocialApi {
2218
3350
  const query: Record<string, unknown> = {}
2219
3351
  const headers: Record<string, string> = {}
2220
3352
  const body: Record<string, unknown> = {}
3353
+ let disableCache: boolean | undefined
3354
+ disableCache = args.disableCache ?? args["disable_cache"]
3355
+ const argCacheBuster = args._t
3356
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2221
3357
  const argGroupId = args.groupId ?? args["group_id"]
2222
3358
  if (argGroupId !== undefined) query["group_id"] = argGroupId
2223
3359
  let requestPath = '/api/v1/social/qq/groupinfo'
3360
+ const responseKind = 'json'
2224
3361
  return await this.c._request(
2225
3362
  'GET',
2226
3363
  requestPath,
2227
3364
  Object.keys(query).length > 0 ? query : undefined,
2228
3365
  Object.keys(body).length > 0 ? body : undefined,
2229
3366
  Object.keys(headers).length > 0 ? headers : undefined,
2230
- 'json',
3367
+ responseKind,
3368
+ disableCache !== undefined ? { disableCache } : undefined,
2231
3369
  ) as GetSocialQqGroupinfoResponse
2232
3370
  }
2233
3371
 
@@ -2237,16 +3375,22 @@ export class SocialApi {
2237
3375
  const query: Record<string, unknown> = {}
2238
3376
  const headers: Record<string, string> = {}
2239
3377
  const body: Record<string, unknown> = {}
3378
+ let disableCache: boolean | undefined
3379
+ disableCache = args.disableCache ?? args["disable_cache"]
3380
+ const argCacheBuster = args._t
3381
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2240
3382
  const argQq = args.qq
2241
3383
  if (argQq !== undefined) query["qq"] = argQq
2242
3384
  let requestPath = '/api/v1/social/qq/userinfo'
3385
+ const responseKind = 'json'
2243
3386
  return await this.c._request(
2244
3387
  'GET',
2245
3388
  requestPath,
2246
3389
  Object.keys(query).length > 0 ? query : undefined,
2247
3390
  Object.keys(body).length > 0 ? body : undefined,
2248
3391
  Object.keys(headers).length > 0 ? headers : undefined,
2249
- 'json',
3392
+ responseKind,
3393
+ disableCache !== undefined ? { disableCache } : undefined,
2250
3394
  ) as GetSocialQqUserinfoResponse
2251
3395
  }
2252
3396
  }
@@ -2259,16 +3403,22 @@ export class StatusApi {
2259
3403
  const query: Record<string, unknown> = {}
2260
3404
  const headers: Record<string, string> = {}
2261
3405
  const body: Record<string, unknown> = {}
3406
+ let disableCache: boolean | undefined
3407
+ disableCache = args.disableCache ?? args["disable_cache"]
3408
+ const argCacheBuster = args._t
3409
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2262
3410
  const argAuthorization = args.authorization ?? args["Authorization"]
2263
3411
  if (argAuthorization !== undefined) headers["Authorization"] = String(argAuthorization)
2264
3412
  let requestPath = '/api/v1/status/ratelimit'
3413
+ const responseKind = 'json'
2265
3414
  return await this.c._request(
2266
3415
  'GET',
2267
3416
  requestPath,
2268
3417
  Object.keys(query).length > 0 ? query : undefined,
2269
3418
  Object.keys(body).length > 0 ? body : undefined,
2270
3419
  Object.keys(headers).length > 0 ? headers : undefined,
2271
- 'json',
3420
+ responseKind,
3421
+ disableCache !== undefined ? { disableCache } : undefined,
2272
3422
  ) as GetStatusRatelimitResponse
2273
3423
  }
2274
3424
 
@@ -2278,16 +3428,22 @@ export class StatusApi {
2278
3428
  const query: Record<string, unknown> = {}
2279
3429
  const headers: Record<string, string> = {}
2280
3430
  const body: Record<string, unknown> = {}
3431
+ let disableCache: boolean | undefined
3432
+ disableCache = args.disableCache ?? args["disable_cache"]
3433
+ const argCacheBuster = args._t
3434
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2281
3435
  const argPath = args.path
2282
3436
  if (argPath !== undefined) query["path"] = argPath
2283
3437
  let requestPath = '/api/v1/status/usage'
3438
+ const responseKind = 'json'
2284
3439
  return await this.c._request(
2285
3440
  'GET',
2286
3441
  requestPath,
2287
3442
  Object.keys(query).length > 0 ? query : undefined,
2288
3443
  Object.keys(body).length > 0 ? body : undefined,
2289
3444
  Object.keys(headers).length > 0 ? headers : undefined,
2290
- 'json',
3445
+ responseKind,
3446
+ disableCache !== undefined ? { disableCache } : undefined,
2291
3447
  ) as GetStatusUsageResponse
2292
3448
  }
2293
3449
  }
@@ -2300,16 +3456,22 @@ export class TextApi {
2300
3456
  const query: Record<string, unknown> = {}
2301
3457
  const headers: Record<string, string> = {}
2302
3458
  const body: Record<string, unknown> = {}
3459
+ let disableCache: boolean | undefined
3460
+ disableCache = args.disableCache ?? args["disable_cache"]
3461
+ const argCacheBuster = args._t
3462
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2303
3463
  const argText = args.text
2304
3464
  if (argText !== undefined) query["text"] = argText
2305
3465
  let requestPath = '/api/v1/text/md5'
3466
+ const responseKind = 'json'
2306
3467
  return await this.c._request(
2307
3468
  'GET',
2308
3469
  requestPath,
2309
3470
  Object.keys(query).length > 0 ? query : undefined,
2310
3471
  Object.keys(body).length > 0 ? body : undefined,
2311
3472
  Object.keys(headers).length > 0 ? headers : undefined,
2312
- 'json',
3473
+ responseKind,
3474
+ disableCache !== undefined ? { disableCache } : undefined,
2313
3475
  ) as GetTextMd5Response
2314
3476
  }
2315
3477
 
@@ -2319,6 +3481,10 @@ export class TextApi {
2319
3481
  const query: Record<string, unknown> = {}
2320
3482
  const headers: Record<string, string> = {}
2321
3483
  const body: Record<string, unknown> = {}
3484
+ let disableCache: boolean | undefined
3485
+ disableCache = args.disableCache ?? args["disable_cache"]
3486
+ const argCacheBuster = args._t
3487
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2322
3488
  const argKey = args.key
2323
3489
  if (argKey !== undefined) body["key"] = argKey
2324
3490
  const argNonce = args.nonce
@@ -2326,13 +3492,15 @@ export class TextApi {
2326
3492
  const argText = args.text
2327
3493
  if (argText !== undefined) body["text"] = argText
2328
3494
  let requestPath = '/api/v1/text/aes/decrypt'
3495
+ const responseKind = 'json'
2329
3496
  return await this.c._request(
2330
3497
  'POST',
2331
3498
  requestPath,
2332
3499
  Object.keys(query).length > 0 ? query : undefined,
2333
3500
  Object.keys(body).length > 0 ? body : undefined,
2334
3501
  Object.keys(headers).length > 0 ? headers : undefined,
2335
- 'json',
3502
+ responseKind,
3503
+ disableCache !== undefined ? { disableCache } : undefined,
2336
3504
  ) as PostTextAesDecryptResponse
2337
3505
  }
2338
3506
 
@@ -2342,6 +3510,10 @@ export class TextApi {
2342
3510
  const query: Record<string, unknown> = {}
2343
3511
  const headers: Record<string, string> = {}
2344
3512
  const body: Record<string, unknown> = {}
3513
+ let disableCache: boolean | undefined
3514
+ disableCache = args.disableCache ?? args["disable_cache"]
3515
+ const argCacheBuster = args._t
3516
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2345
3517
  const argIv = args.iv
2346
3518
  if (argIv !== undefined) body["iv"] = argIv
2347
3519
  const argKey = args.key
@@ -2353,13 +3525,15 @@ export class TextApi {
2353
3525
  const argText = args.text
2354
3526
  if (argText !== undefined) body["text"] = argText
2355
3527
  let requestPath = '/api/v1/text/aes/decrypt-advanced'
3528
+ const responseKind = 'json'
2356
3529
  return await this.c._request(
2357
3530
  'POST',
2358
3531
  requestPath,
2359
3532
  Object.keys(query).length > 0 ? query : undefined,
2360
3533
  Object.keys(body).length > 0 ? body : undefined,
2361
3534
  Object.keys(headers).length > 0 ? headers : undefined,
2362
- 'json',
3535
+ responseKind,
3536
+ disableCache !== undefined ? { disableCache } : undefined,
2363
3537
  ) as PostTextAesDecryptAdvancedResponse
2364
3538
  }
2365
3539
 
@@ -2369,18 +3543,24 @@ export class TextApi {
2369
3543
  const query: Record<string, unknown> = {}
2370
3544
  const headers: Record<string, string> = {}
2371
3545
  const body: Record<string, unknown> = {}
3546
+ let disableCache: boolean | undefined
3547
+ disableCache = args.disableCache ?? args["disable_cache"]
3548
+ const argCacheBuster = args._t
3549
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2372
3550
  const argKey = args.key
2373
3551
  if (argKey !== undefined) body["key"] = argKey
2374
3552
  const argText = args.text
2375
3553
  if (argText !== undefined) body["text"] = argText
2376
3554
  let requestPath = '/api/v1/text/aes/encrypt'
3555
+ const responseKind = 'json'
2377
3556
  return await this.c._request(
2378
3557
  'POST',
2379
3558
  requestPath,
2380
3559
  Object.keys(query).length > 0 ? query : undefined,
2381
3560
  Object.keys(body).length > 0 ? body : undefined,
2382
3561
  Object.keys(headers).length > 0 ? headers : undefined,
2383
- 'json',
3562
+ responseKind,
3563
+ disableCache !== undefined ? { disableCache } : undefined,
2384
3564
  ) as PostTextAesEncryptResponse
2385
3565
  }
2386
3566
 
@@ -2390,6 +3570,10 @@ export class TextApi {
2390
3570
  const query: Record<string, unknown> = {}
2391
3571
  const headers: Record<string, string> = {}
2392
3572
  const body: Record<string, unknown> = {}
3573
+ let disableCache: boolean | undefined
3574
+ disableCache = args.disableCache ?? args["disable_cache"]
3575
+ const argCacheBuster = args._t
3576
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2393
3577
  const argIv = args.iv
2394
3578
  if (argIv !== undefined) body["iv"] = argIv
2395
3579
  const argKey = args.key
@@ -2403,13 +3587,15 @@ export class TextApi {
2403
3587
  const argText = args.text
2404
3588
  if (argText !== undefined) body["text"] = argText
2405
3589
  let requestPath = '/api/v1/text/aes/encrypt-advanced'
3590
+ const responseKind = 'json'
2406
3591
  return await this.c._request(
2407
3592
  'POST',
2408
3593
  requestPath,
2409
3594
  Object.keys(query).length > 0 ? query : undefined,
2410
3595
  Object.keys(body).length > 0 ? body : undefined,
2411
3596
  Object.keys(headers).length > 0 ? headers : undefined,
2412
- 'json',
3597
+ responseKind,
3598
+ disableCache !== undefined ? { disableCache } : undefined,
2413
3599
  ) as PostTextAesEncryptAdvancedResponse
2414
3600
  }
2415
3601
 
@@ -2419,16 +3605,22 @@ export class TextApi {
2419
3605
  const query: Record<string, unknown> = {}
2420
3606
  const headers: Record<string, string> = {}
2421
3607
  const body: Record<string, unknown> = {}
3608
+ let disableCache: boolean | undefined
3609
+ disableCache = args.disableCache ?? args["disable_cache"]
3610
+ const argCacheBuster = args._t
3611
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2422
3612
  const argText = args.text
2423
3613
  if (argText !== undefined) body["text"] = argText
2424
3614
  let requestPath = '/api/v1/text/analyze'
3615
+ const responseKind = 'json'
2425
3616
  return await this.c._request(
2426
3617
  'POST',
2427
3618
  requestPath,
2428
3619
  Object.keys(query).length > 0 ? query : undefined,
2429
3620
  Object.keys(body).length > 0 ? body : undefined,
2430
3621
  Object.keys(headers).length > 0 ? headers : undefined,
2431
- 'json',
3622
+ responseKind,
3623
+ disableCache !== undefined ? { disableCache } : undefined,
2432
3624
  ) as PostTextAnalyzeResponse
2433
3625
  }
2434
3626
 
@@ -2438,16 +3630,22 @@ export class TextApi {
2438
3630
  const query: Record<string, unknown> = {}
2439
3631
  const headers: Record<string, string> = {}
2440
3632
  const body: Record<string, unknown> = {}
3633
+ let disableCache: boolean | undefined
3634
+ disableCache = args.disableCache ?? args["disable_cache"]
3635
+ const argCacheBuster = args._t
3636
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2441
3637
  const argText = args.text
2442
3638
  if (argText !== undefined) body["text"] = argText
2443
3639
  let requestPath = '/api/v1/text/base64/decode'
3640
+ const responseKind = 'json'
2444
3641
  return await this.c._request(
2445
3642
  'POST',
2446
3643
  requestPath,
2447
3644
  Object.keys(query).length > 0 ? query : undefined,
2448
3645
  Object.keys(body).length > 0 ? body : undefined,
2449
3646
  Object.keys(headers).length > 0 ? headers : undefined,
2450
- 'json',
3647
+ responseKind,
3648
+ disableCache !== undefined ? { disableCache } : undefined,
2451
3649
  ) as PostTextBase64DecodeResponse
2452
3650
  }
2453
3651
 
@@ -2457,16 +3655,22 @@ export class TextApi {
2457
3655
  const query: Record<string, unknown> = {}
2458
3656
  const headers: Record<string, string> = {}
2459
3657
  const body: Record<string, unknown> = {}
3658
+ let disableCache: boolean | undefined
3659
+ disableCache = args.disableCache ?? args["disable_cache"]
3660
+ const argCacheBuster = args._t
3661
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2460
3662
  const argText = args.text
2461
3663
  if (argText !== undefined) body["text"] = argText
2462
3664
  let requestPath = '/api/v1/text/base64/encode'
3665
+ const responseKind = 'json'
2463
3666
  return await this.c._request(
2464
3667
  'POST',
2465
3668
  requestPath,
2466
3669
  Object.keys(query).length > 0 ? query : undefined,
2467
3670
  Object.keys(body).length > 0 ? body : undefined,
2468
3671
  Object.keys(headers).length > 0 ? headers : undefined,
2469
- 'json',
3672
+ responseKind,
3673
+ disableCache !== undefined ? { disableCache } : undefined,
2470
3674
  ) as PostTextBase64EncodeResponse
2471
3675
  }
2472
3676
 
@@ -2476,6 +3680,10 @@ export class TextApi {
2476
3680
  const query: Record<string, unknown> = {}
2477
3681
  const headers: Record<string, string> = {}
2478
3682
  const body: Record<string, unknown> = {}
3683
+ let disableCache: boolean | undefined
3684
+ disableCache = args.disableCache ?? args["disable_cache"]
3685
+ const argCacheBuster = args._t
3686
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2479
3687
  const argFrom = args.from
2480
3688
  if (argFrom !== undefined) body["from"] = argFrom
2481
3689
  const argOptions = args.options
@@ -2485,32 +3693,98 @@ export class TextApi {
2485
3693
  const argTo = args.to
2486
3694
  if (argTo !== undefined) body["to"] = argTo
2487
3695
  let requestPath = '/api/v1/text/convert'
3696
+ const responseKind = 'json'
2488
3697
  return await this.c._request(
2489
3698
  'POST',
2490
3699
  requestPath,
2491
3700
  Object.keys(query).length > 0 ? query : undefined,
2492
3701
  Object.keys(body).length > 0 ? body : undefined,
2493
3702
  Object.keys(headers).length > 0 ? headers : undefined,
2494
- 'json',
3703
+ responseKind,
3704
+ disableCache !== undefined ? { disableCache } : undefined,
2495
3705
  ) as PostTextConvertResponse
2496
3706
  }
2497
3707
 
3708
+ /** Markdown 转 HTML */
3709
+ async postTextMarkdownToHtml(args: PostTextMarkdownToHtmlArgs
3710
+ ): Promise<PostTextMarkdownToHtmlResponse> {
3711
+ const query: Record<string, unknown> = {}
3712
+ const headers: Record<string, string> = {}
3713
+ const body: Record<string, unknown> = {}
3714
+ let disableCache: boolean | undefined
3715
+ disableCache = args.disableCache ?? args["disable_cache"]
3716
+ const argCacheBuster = args._t
3717
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
3718
+ const argFormat = args.format
3719
+ if (argFormat !== undefined) body["format"] = argFormat
3720
+ const argSanitize = args.sanitize
3721
+ if (argSanitize !== undefined) body["sanitize"] = argSanitize
3722
+ const argText = args.text
3723
+ if (argText !== undefined) body["text"] = argText
3724
+ let requestPath = '/api/v1/text/markdown-to-html'
3725
+ const responseKind = 'json'
3726
+ return await this.c._request(
3727
+ 'POST',
3728
+ requestPath,
3729
+ Object.keys(query).length > 0 ? query : undefined,
3730
+ Object.keys(body).length > 0 ? body : undefined,
3731
+ Object.keys(headers).length > 0 ? headers : undefined,
3732
+ responseKind,
3733
+ disableCache !== undefined ? { disableCache } : undefined,
3734
+ ) as PostTextMarkdownToHtmlResponse
3735
+ }
3736
+
3737
+ /** Markdown 转 PDF */
3738
+ async postTextMarkdownToPdf(args: PostTextMarkdownToPdfArgs
3739
+ ): Promise<PostTextMarkdownToPdfResponse> {
3740
+ const query: Record<string, unknown> = {}
3741
+ const headers: Record<string, string> = {}
3742
+ const body: Record<string, unknown> = {}
3743
+ let disableCache: boolean | undefined
3744
+ disableCache = args.disableCache ?? args["disable_cache"]
3745
+ const argCacheBuster = args._t
3746
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
3747
+ const argPaperSize = args.paperSize ?? args["paper_size"]
3748
+ if (argPaperSize !== undefined) body["paper_size"] = argPaperSize
3749
+ const argText = args.text
3750
+ if (argText !== undefined) body["text"] = argText
3751
+ const argTheme = args.theme
3752
+ if (argTheme !== undefined) body["theme"] = argTheme
3753
+ let requestPath = '/api/v1/text/markdown-to-pdf'
3754
+ const responseKind = 'arrayBuffer'
3755
+ return await this.c._request(
3756
+ 'POST',
3757
+ requestPath,
3758
+ Object.keys(query).length > 0 ? query : undefined,
3759
+ Object.keys(body).length > 0 ? body : undefined,
3760
+ Object.keys(headers).length > 0 ? headers : undefined,
3761
+ responseKind,
3762
+ disableCache !== undefined ? { disableCache } : undefined,
3763
+ ) as PostTextMarkdownToPdfResponse
3764
+ }
3765
+
2498
3766
  /** MD5 哈希 (POST) */
2499
3767
  async postTextMd5(args: PostTextMd5Args
2500
3768
  ): Promise<PostTextMd5Response> {
2501
3769
  const query: Record<string, unknown> = {}
2502
3770
  const headers: Record<string, string> = {}
2503
3771
  const body: Record<string, unknown> = {}
3772
+ let disableCache: boolean | undefined
3773
+ disableCache = args.disableCache ?? args["disable_cache"]
3774
+ const argCacheBuster = args._t
3775
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2504
3776
  const argText = args.text
2505
3777
  if (argText !== undefined) body["text"] = argText
2506
3778
  let requestPath = '/api/v1/text/md5'
3779
+ const responseKind = 'json'
2507
3780
  return await this.c._request(
2508
3781
  'POST',
2509
3782
  requestPath,
2510
3783
  Object.keys(query).length > 0 ? query : undefined,
2511
3784
  Object.keys(body).length > 0 ? body : undefined,
2512
3785
  Object.keys(headers).length > 0 ? headers : undefined,
2513
- 'json',
3786
+ responseKind,
3787
+ disableCache !== undefined ? { disableCache } : undefined,
2514
3788
  ) as PostTextMd5Response
2515
3789
  }
2516
3790
 
@@ -2520,18 +3794,24 @@ export class TextApi {
2520
3794
  const query: Record<string, unknown> = {}
2521
3795
  const headers: Record<string, string> = {}
2522
3796
  const body: Record<string, unknown> = {}
3797
+ let disableCache: boolean | undefined
3798
+ disableCache = args.disableCache ?? args["disable_cache"]
3799
+ const argCacheBuster = args._t
3800
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2523
3801
  const argHash = args.hash
2524
3802
  if (argHash !== undefined) body["hash"] = argHash
2525
3803
  const argText = args.text
2526
3804
  if (argText !== undefined) body["text"] = argText
2527
3805
  let requestPath = '/api/v1/text/md5/verify'
3806
+ const responseKind = 'json'
2528
3807
  return await this.c._request(
2529
3808
  'POST',
2530
3809
  requestPath,
2531
3810
  Object.keys(query).length > 0 ? query : undefined,
2532
3811
  Object.keys(body).length > 0 ? body : undefined,
2533
3812
  Object.keys(headers).length > 0 ? headers : undefined,
2534
- 'json',
3813
+ responseKind,
3814
+ disableCache !== undefined ? { disableCache } : undefined,
2535
3815
  ) as PostTextMd5VerifyResponse
2536
3816
  }
2537
3817
  }
@@ -2544,14 +3824,17 @@ export class TranslateApi {
2544
3824
  const query: Record<string, unknown> = {}
2545
3825
  const headers: Record<string, string> = {}
2546
3826
  const body: Record<string, unknown> = {}
3827
+ let disableCache: boolean | undefined
2547
3828
  let requestPath = '/api/v1/ai/translate/languages'
3829
+ const responseKind = 'json'
2548
3830
  return await this.c._request(
2549
3831
  'GET',
2550
3832
  requestPath,
2551
3833
  Object.keys(query).length > 0 ? query : undefined,
2552
3834
  Object.keys(body).length > 0 ? body : undefined,
2553
3835
  Object.keys(headers).length > 0 ? headers : undefined,
2554
- 'json',
3836
+ responseKind,
3837
+ disableCache !== undefined ? { disableCache } : undefined,
2555
3838
  ) as GetAiTranslateLanguagesResponse
2556
3839
  }
2557
3840
 
@@ -2561,6 +3844,10 @@ export class TranslateApi {
2561
3844
  const query: Record<string, unknown> = {}
2562
3845
  const headers: Record<string, string> = {}
2563
3846
  const body: Record<string, unknown> = {}
3847
+ let disableCache: boolean | undefined
3848
+ disableCache = args.disableCache ?? args["disable_cache"]
3849
+ const argCacheBuster = args._t
3850
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2564
3851
  const argTargetLang = args.targetLang ?? args["target_lang"]
2565
3852
  if (argTargetLang !== undefined) query["target_lang"] = argTargetLang
2566
3853
  const argContext = args.context
@@ -2574,13 +3861,15 @@ export class TranslateApi {
2574
3861
  const argText = args.text
2575
3862
  if (argText !== undefined) body["text"] = argText
2576
3863
  let requestPath = '/api/v1/ai/translate'
3864
+ const responseKind = 'json'
2577
3865
  return await this.c._request(
2578
3866
  'POST',
2579
3867
  requestPath,
2580
3868
  Object.keys(query).length > 0 ? query : undefined,
2581
3869
  Object.keys(body).length > 0 ? body : undefined,
2582
3870
  Object.keys(headers).length > 0 ? headers : undefined,
2583
- 'json',
3871
+ responseKind,
3872
+ disableCache !== undefined ? { disableCache } : undefined,
2584
3873
  ) as PostAiTranslateResponse
2585
3874
  }
2586
3875
 
@@ -2590,6 +3879,10 @@ export class TranslateApi {
2590
3879
  const query: Record<string, unknown> = {}
2591
3880
  const headers: Record<string, string> = {}
2592
3881
  const body: Record<string, unknown> = {}
3882
+ let disableCache: boolean | undefined
3883
+ disableCache = args.disableCache ?? args["disable_cache"]
3884
+ const argCacheBuster = args._t
3885
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2593
3886
  const argFromLang = args.fromLang ?? args["from_lang"]
2594
3887
  if (argFromLang !== undefined) body["from_lang"] = argFromLang
2595
3888
  const argQuery = args.query
@@ -2599,13 +3892,15 @@ export class TranslateApi {
2599
3892
  const argTone = args.tone
2600
3893
  if (argTone !== undefined) body["tone"] = argTone
2601
3894
  let requestPath = '/api/v1/translate/stream'
3895
+ const responseKind = 'json'
2602
3896
  return await this.c._request(
2603
3897
  'POST',
2604
3898
  requestPath,
2605
3899
  Object.keys(query).length > 0 ? query : undefined,
2606
3900
  Object.keys(body).length > 0 ? body : undefined,
2607
3901
  Object.keys(headers).length > 0 ? headers : undefined,
2608
- 'json',
3902
+ responseKind,
3903
+ disableCache !== undefined ? { disableCache } : undefined,
2609
3904
  ) as PostTranslateStreamResponse
2610
3905
  }
2611
3906
 
@@ -2615,18 +3910,24 @@ export class TranslateApi {
2615
3910
  const query: Record<string, unknown> = {}
2616
3911
  const headers: Record<string, string> = {}
2617
3912
  const body: Record<string, unknown> = {}
3913
+ let disableCache: boolean | undefined
3914
+ disableCache = args.disableCache ?? args["disable_cache"]
3915
+ const argCacheBuster = args._t
3916
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2618
3917
  const argToLang = args.toLang ?? args["to_lang"]
2619
3918
  if (argToLang !== undefined) query["to_lang"] = argToLang
2620
3919
  const argText = args.text
2621
3920
  if (argText !== undefined) body["text"] = argText
2622
3921
  let requestPath = '/api/v1/translate/text'
3922
+ const responseKind = 'json'
2623
3923
  return await this.c._request(
2624
3924
  'POST',
2625
3925
  requestPath,
2626
3926
  Object.keys(query).length > 0 ? query : undefined,
2627
3927
  Object.keys(body).length > 0 ? body : undefined,
2628
3928
  Object.keys(headers).length > 0 ? headers : undefined,
2629
- 'json',
3929
+ responseKind,
3930
+ disableCache !== undefined ? { disableCache } : undefined,
2630
3931
  ) as PostTranslateTextResponse
2631
3932
  }
2632
3933
  }
@@ -2639,16 +3940,22 @@ export class WebparseApi {
2639
3940
  const query: Record<string, unknown> = {}
2640
3941
  const headers: Record<string, string> = {}
2641
3942
  const body: Record<string, unknown> = {}
3943
+ let disableCache: boolean | undefined
3944
+ disableCache = args.disableCache ?? args["disable_cache"]
3945
+ const argCacheBuster = args._t
3946
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2642
3947
  const argTaskId = args.taskId ?? args["task_id"]
2643
3948
  let requestPath = '/api/v1/web/tomarkdown/async/{task_id}'
2644
3949
  if (argTaskId !== undefined) requestPath = requestPath.replace('{'+ 'task_id' +'}', String(argTaskId))
3950
+ const responseKind = 'json'
2645
3951
  return await this.c._request(
2646
3952
  'GET',
2647
3953
  requestPath,
2648
3954
  Object.keys(query).length > 0 ? query : undefined,
2649
3955
  Object.keys(body).length > 0 ? body : undefined,
2650
3956
  Object.keys(headers).length > 0 ? headers : undefined,
2651
- 'json',
3957
+ responseKind,
3958
+ disableCache !== undefined ? { disableCache } : undefined,
2652
3959
  ) as GetWebTomarkdownAsyncStatusResponse
2653
3960
  }
2654
3961
 
@@ -2658,16 +3965,22 @@ export class WebparseApi {
2658
3965
  const query: Record<string, unknown> = {}
2659
3966
  const headers: Record<string, string> = {}
2660
3967
  const body: Record<string, unknown> = {}
3968
+ let disableCache: boolean | undefined
3969
+ disableCache = args.disableCache ?? args["disable_cache"]
3970
+ const argCacheBuster = args._t
3971
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2661
3972
  const argUrl = args.url
2662
3973
  if (argUrl !== undefined) query["url"] = argUrl
2663
3974
  let requestPath = '/api/v1/webparse/extractimages'
3975
+ const responseKind = 'json'
2664
3976
  return await this.c._request(
2665
3977
  'GET',
2666
3978
  requestPath,
2667
3979
  Object.keys(query).length > 0 ? query : undefined,
2668
3980
  Object.keys(body).length > 0 ? body : undefined,
2669
3981
  Object.keys(headers).length > 0 ? headers : undefined,
2670
- 'json',
3982
+ responseKind,
3983
+ disableCache !== undefined ? { disableCache } : undefined,
2671
3984
  ) as GetWebparseExtractimagesResponse
2672
3985
  }
2673
3986
 
@@ -2677,16 +3990,22 @@ export class WebparseApi {
2677
3990
  const query: Record<string, unknown> = {}
2678
3991
  const headers: Record<string, string> = {}
2679
3992
  const body: Record<string, unknown> = {}
3993
+ let disableCache: boolean | undefined
3994
+ disableCache = args.disableCache ?? args["disable_cache"]
3995
+ const argCacheBuster = args._t
3996
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2680
3997
  const argUrl = args.url
2681
3998
  if (argUrl !== undefined) query["url"] = argUrl
2682
3999
  let requestPath = '/api/v1/webparse/metadata'
4000
+ const responseKind = 'json'
2683
4001
  return await this.c._request(
2684
4002
  'GET',
2685
4003
  requestPath,
2686
4004
  Object.keys(query).length > 0 ? query : undefined,
2687
4005
  Object.keys(body).length > 0 ? body : undefined,
2688
4006
  Object.keys(headers).length > 0 ? headers : undefined,
2689
- 'json',
4007
+ responseKind,
4008
+ disableCache !== undefined ? { disableCache } : undefined,
2690
4009
  ) as GetWebparseMetadataResponse
2691
4010
  }
2692
4011
 
@@ -2696,16 +4015,22 @@ export class WebparseApi {
2696
4015
  const query: Record<string, unknown> = {}
2697
4016
  const headers: Record<string, string> = {}
2698
4017
  const body: Record<string, unknown> = {}
4018
+ let disableCache: boolean | undefined
4019
+ disableCache = args.disableCache ?? args["disable_cache"]
4020
+ const argCacheBuster = args._t
4021
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2699
4022
  const argUrl = args.url
2700
4023
  if (argUrl !== undefined) query["url"] = argUrl
2701
4024
  let requestPath = '/api/v1/web/tomarkdown/async'
4025
+ const responseKind = 'json'
2702
4026
  return await this.c._request(
2703
4027
  'POST',
2704
4028
  requestPath,
2705
4029
  Object.keys(query).length > 0 ? query : undefined,
2706
4030
  Object.keys(body).length > 0 ? body : undefined,
2707
4031
  Object.keys(headers).length > 0 ? headers : undefined,
2708
- 'json',
4032
+ responseKind,
4033
+ disableCache !== undefined ? { disableCache } : undefined,
2709
4034
  ) as PostWebTomarkdownAsyncResponse
2710
4035
  }
2711
4036
  }
@@ -2718,16 +4043,22 @@ export class MinGanCiShiBieApi {
2718
4043
  const query: Record<string, unknown> = {}
2719
4044
  const headers: Record<string, string> = {}
2720
4045
  const body: Record<string, unknown> = {}
4046
+ let disableCache: boolean | undefined
4047
+ disableCache = args.disableCache ?? args["disable_cache"]
4048
+ const argCacheBuster = args._t
4049
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2721
4050
  const argKeyword = args.keyword
2722
4051
  if (argKeyword !== undefined) query["keyword"] = argKeyword
2723
4052
  let requestPath = '/api/v1/sensitive-word/analyze-query'
4053
+ const responseKind = 'json'
2724
4054
  return await this.c._request(
2725
4055
  'GET',
2726
4056
  requestPath,
2727
4057
  Object.keys(query).length > 0 ? query : undefined,
2728
4058
  Object.keys(body).length > 0 ? body : undefined,
2729
4059
  Object.keys(headers).length > 0 ? headers : undefined,
2730
- 'json',
4060
+ responseKind,
4061
+ disableCache !== undefined ? { disableCache } : undefined,
2731
4062
  ) as GetSensitiveWordAnalyzeQueryResponse
2732
4063
  }
2733
4064
 
@@ -2737,16 +4068,22 @@ export class MinGanCiShiBieApi {
2737
4068
  const query: Record<string, unknown> = {}
2738
4069
  const headers: Record<string, string> = {}
2739
4070
  const body: Record<string, unknown> = {}
4071
+ let disableCache: boolean | undefined
4072
+ disableCache = args.disableCache ?? args["disable_cache"]
4073
+ const argCacheBuster = args._t
4074
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2740
4075
  const argKeywords = args.keywords
2741
4076
  if (argKeywords !== undefined) body["keywords"] = argKeywords
2742
4077
  let requestPath = '/api/v1/sensitive-word/analyze'
4078
+ const responseKind = 'json'
2743
4079
  return await this.c._request(
2744
4080
  'POST',
2745
4081
  requestPath,
2746
4082
  Object.keys(query).length > 0 ? query : undefined,
2747
4083
  Object.keys(body).length > 0 ? body : undefined,
2748
4084
  Object.keys(headers).length > 0 ? headers : undefined,
2749
- 'json',
4085
+ responseKind,
4086
+ disableCache !== undefined ? { disableCache } : undefined,
2750
4087
  ) as PostSensitiveWordAnalyzeResponse
2751
4088
  }
2752
4089
 
@@ -2756,16 +4093,22 @@ export class MinGanCiShiBieApi {
2756
4093
  const query: Record<string, unknown> = {}
2757
4094
  const headers: Record<string, string> = {}
2758
4095
  const body: Record<string, unknown> = {}
4096
+ let disableCache: boolean | undefined
4097
+ disableCache = args.disableCache ?? args["disable_cache"]
4098
+ const argCacheBuster = args._t
4099
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2759
4100
  const argText = args.text
2760
4101
  if (argText !== undefined) body["text"] = argText
2761
4102
  let requestPath = '/api/v1/text/profanitycheck'
4103
+ const responseKind = 'json'
2762
4104
  return await this.c._request(
2763
4105
  'POST',
2764
4106
  requestPath,
2765
4107
  Object.keys(query).length > 0 ? query : undefined,
2766
4108
  Object.keys(body).length > 0 ? body : undefined,
2767
4109
  Object.keys(headers).length > 0 ? headers : undefined,
2768
- 'json',
4110
+ responseKind,
4111
+ disableCache !== undefined ? { disableCache } : undefined,
2769
4112
  ) as PostSensitiveWordQuickCheckResponse
2770
4113
  }
2771
4114
  }
@@ -2778,14 +4121,17 @@ export class ZhiNengSouSuoApi {
2778
4121
  const query: Record<string, unknown> = {}
2779
4122
  const headers: Record<string, string> = {}
2780
4123
  const body: Record<string, unknown> = {}
4124
+ let disableCache: boolean | undefined
2781
4125
  let requestPath = '/api/v1/search/engines'
4126
+ const responseKind = 'json'
2782
4127
  return await this.c._request(
2783
4128
  'GET',
2784
4129
  requestPath,
2785
4130
  Object.keys(query).length > 0 ? query : undefined,
2786
4131
  Object.keys(body).length > 0 ? body : undefined,
2787
4132
  Object.keys(headers).length > 0 ? headers : undefined,
2788
- 'json',
4133
+ responseKind,
4134
+ disableCache !== undefined ? { disableCache } : undefined,
2789
4135
  ) as GetSearchEnginesResponse
2790
4136
  }
2791
4137
 
@@ -2795,6 +4141,10 @@ export class ZhiNengSouSuoApi {
2795
4141
  const query: Record<string, unknown> = {}
2796
4142
  const headers: Record<string, string> = {}
2797
4143
  const body: Record<string, unknown> = {}
4144
+ let disableCache: boolean | undefined
4145
+ disableCache = args.disableCache ?? args["disable_cache"]
4146
+ const argCacheBuster = args._t
4147
+ if (argCacheBuster !== undefined) query["_t"] = argCacheBuster
2798
4148
  const argFetchFull = args.fetchFull ?? args["fetch_full"]
2799
4149
  if (argFetchFull !== undefined) body["fetch_full"] = argFetchFull
2800
4150
  const argFiletype = args.filetype
@@ -2807,16 +4157,16 @@ export class ZhiNengSouSuoApi {
2807
4157
  if (argSort !== undefined) body["sort"] = argSort
2808
4158
  const argTimeRange = args.timeRange ?? args["time_range"]
2809
4159
  if (argTimeRange !== undefined) body["time_range"] = argTimeRange
2810
- const argTimeoutMs = args.timeoutMs ?? args["timeout_ms"]
2811
- if (argTimeoutMs !== undefined) body["timeout_ms"] = argTimeoutMs
2812
4160
  let requestPath = '/api/v1/search/aggregate'
4161
+ const responseKind = 'json'
2813
4162
  return await this.c._request(
2814
4163
  'POST',
2815
4164
  requestPath,
2816
4165
  Object.keys(query).length > 0 ? query : undefined,
2817
4166
  Object.keys(body).length > 0 ? body : undefined,
2818
4167
  Object.keys(headers).length > 0 ? headers : undefined,
2819
- 'json',
4168
+ responseKind,
4169
+ disableCache !== undefined ? { disableCache } : undefined,
2820
4170
  ) as PostSearchAggregateResponse
2821
4171
  }
2822
4172
  }