uapi-browser-sdk 0.1.3 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +7 -11
- package/dist/index.d.ts +8 -0
- package/dist/index.js +400 -78
- package/internal/.openapi-generator/FILES +142 -16
- package/internal/docs/ConvertApi.md +4 -4
- package/internal/docs/DailyApi.md +2 -2
- package/internal/docs/DefaultApi.md +6 -6
- package/internal/docs/EndpointsAggregate.md +1 -1
- package/internal/docs/GameApi.md +21 -18
- package/internal/docs/GetAiTranslateLanguages200Response.md +0 -2
- package/internal/docs/GetAnswerbookAsk200Response.md +0 -2
- package/internal/docs/GetConvertUnixtime200Response.md +0 -2
- package/internal/docs/GetGameEpicFree200Response.md +0 -2
- package/internal/docs/GetGameMinecraftHistoryid200Response.md +12 -7
- package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInner.md +40 -0
- package/internal/docs/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.md +36 -0
- package/internal/docs/GetGameMinecraftHistoryid400Response.md +1 -1
- package/internal/docs/GetGameMinecraftHistoryid502Response.md +1 -1
- package/internal/docs/GetGameMinecraftServerstatus200Response.md +0 -2
- package/internal/docs/GetGameMinecraftUserinfo200Response.md +0 -2
- package/internal/docs/GetGameMinecraftUserinfo502Response.md +38 -0
- package/internal/docs/GetGameSteamSummary200Response.md +0 -2
- package/internal/docs/GetGithubRepo200Response.md +2 -0
- package/internal/docs/GetGithubRepo200ResponseLatestRelease.md +45 -0
- package/internal/docs/GetHistoryProgrammer200Response.md +0 -2
- package/internal/docs/GetHistoryProgrammerToday200Response.md +0 -2
- package/internal/docs/GetImageTobase64200Response.md +0 -2
- package/internal/docs/GetMiscDistrict200Response.md +36 -0
- package/internal/docs/GetMiscDistrict200ResponseResultsInner.md +58 -0
- package/internal/docs/GetMiscDistrict200ResponseResultsInnerCenter.md +37 -0
- package/internal/docs/GetMiscDistrict400Response.md +36 -0
- package/internal/docs/GetMiscHolidayCalendar200Response.md +38 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseData.md +44 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataDaysInner.md +76 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataHolidaysInner.md +40 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearby.md +37 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.md +38 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.md +38 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataQuery.md +47 -0
- package/internal/docs/GetMiscHolidayCalendar200ResponseDataSummary.md +47 -0
- package/internal/docs/GetMiscHolidayCalendar400Response.md +36 -0
- package/internal/docs/GetMiscHotboard200Response.md +10 -0
- package/internal/docs/GetMiscHotboard200ResponseListInner.md +2 -0
- package/internal/docs/GetMiscHotboard200ResponseResultsInner.md +38 -0
- package/internal/docs/GetMiscLunartime200Response.md +38 -0
- package/internal/docs/GetMiscLunartime200ResponseData.md +77 -0
- package/internal/docs/GetMiscLunartime400Response.md +36 -0
- package/internal/docs/GetMiscWeather200Response.md +47 -13
- package/internal/docs/GetMiscWeather200ResponseAirPollutants.md +45 -0
- package/internal/docs/GetMiscWeather200ResponseForecastInner.md +66 -0
- package/internal/docs/GetMiscWeather200ResponseHourlyForecastInner.md +62 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndices.md +69 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirConditioner.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesAirPurifier.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesAllergy.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesBeer.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesCarWash.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesClothing.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesColdRisk.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesComfort.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesDrying.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesExercise.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesFishing.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesMood.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesPollen.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesSunscreen.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesTraffic.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesTravel.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesUmbrella.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseLifeIndicesUv.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseMinutelyPrecip.md +39 -0
- package/internal/docs/GetMiscWeather200ResponseMinutelyPrecipDataInner.md +38 -0
- package/internal/docs/GetMiscWeather400Response.md +2 -4
- package/internal/docs/GetMiscWeather404Response.md +36 -0
- package/internal/docs/GetMiscWeather500Response.md +1 -3
- package/internal/docs/GetMiscWeather503Response.md +36 -0
- package/internal/docs/GetNetworkDns200Response.md +0 -2
- package/internal/docs/GetNetworkIpinfo200Response.md +12 -28
- package/internal/docs/GetNetworkIpinfo500Response.md +1 -1
- package/internal/docs/GetNetworkMyip200Response.md +52 -0
- package/internal/docs/GetNetworkPing200Response.md +0 -2
- package/internal/docs/GetNetworkPingmyip200Response.md +0 -2
- package/internal/docs/GetNetworkPortscan200Response.md +0 -2
- package/internal/docs/GetNetworkUrlstatus200Response.md +2 -4
- package/internal/docs/GetNetworkUrlstatus200ResponseOneOf.md +37 -0
- package/internal/docs/GetNetworkUrlstatus200ResponseOneOf1.md +37 -0
- package/internal/docs/GetNetworkWhois200Response.md +0 -2
- package/internal/docs/GetNetworkWhois200ResponseOneOf.md +0 -2
- package/internal/docs/GetNetworkWhois200ResponseOneOf1.md +0 -2
- package/internal/docs/GetRandomString200Response.md +0 -2
- package/internal/docs/GetSearchEngines200Response.md +1 -1
- package/internal/docs/GetSearchEngines200ResponseEngine.md +1 -1
- package/internal/docs/GetSocialQqGroupinfo200Response.md +22 -0
- package/internal/docs/GetSocialQqGroupinfo404Response.md +2 -6
- package/internal/docs/GetStatusUsage200Response.md +2 -2
- package/internal/docs/GetStatusUsage200ResponseAnyOf.md +37 -0
- package/internal/docs/GetStatusUsage200ResponseAnyOf1.md +37 -0
- package/internal/docs/GetStatusUsage200ResponseAnyOfEndpointsInner.md +36 -0
- package/internal/docs/GetStatusUsage200ResponseAnyOfUnaggregated.md +36 -0
- package/internal/docs/GetStatusUsage404Response.md +1 -3
- package/internal/docs/ImageApi.md +101 -18
- package/internal/docs/MiscApi.md +388 -34
- package/internal/docs/NetworkApi.md +19 -19
- package/internal/docs/PoemApi.md +2 -2
- package/internal/docs/PostAiTranslate200Response.md +0 -2
- package/internal/docs/PostAnswerbookAsk200Response.md +0 -2
- package/internal/docs/PostConvertJson200Response.md +0 -2
- package/internal/docs/PostImageFrombase64200Response.md +0 -2
- package/internal/docs/PostImageNsfw200Response.md +48 -0
- package/internal/docs/PostImageNsfw400Response.md +36 -0
- package/internal/docs/PostImageNsfw413Response.md +36 -0
- package/internal/docs/PostImageNsfw500Response.md +36 -0
- package/internal/docs/PostMiscDateDiff200Response.md +44 -0
- package/internal/docs/PostMiscDateDiff400Response.md +38 -0
- package/internal/docs/PostMiscDateDiffRequest.md +38 -0
- package/internal/docs/PostSearchAggregateRequest.md +4 -0
- package/internal/docs/PostSensitiveWordAnalyze200ResponseResultsInner.md +6 -10
- package/internal/docs/PostTextAesDecryptAdvanced200Response.md +34 -0
- package/internal/docs/PostTextAesDecryptAdvanced400Response.md +34 -0
- package/internal/docs/PostTextAesDecryptAdvancedRequest.md +42 -0
- package/internal/docs/PostTextAesEncryptAdvanced200Response.md +40 -0
- package/internal/docs/PostTextAesEncryptAdvanced400Response.md +34 -0
- package/internal/docs/PostTextAesEncryptAdvancedRequest.md +44 -0
- package/internal/docs/PostTextConvert200Response.md +42 -0
- package/internal/docs/PostTextConvert400Response.md +38 -0
- package/internal/docs/PostTextConvertRequest.md +40 -0
- package/internal/docs/RandomApi.md +14 -15
- package/internal/docs/SocialApi.md +22 -23
- package/internal/docs/StatusApi.md +4 -6
- package/internal/docs/TextApi.md +223 -16
- package/internal/docs/TranslateApi.md +7 -7
- package/internal/docs/WebParseApi.md +12 -12
- package/internal/src/apis/ConvertApi.ts +4 -4
- package/internal/src/apis/DailyApi.ts +2 -2
- package/internal/src/apis/DefaultApi.ts +8 -8
- package/internal/src/apis/GameApi.ts +22 -21
- package/internal/src/apis/ImageApi.ts +104 -16
- package/internal/src/apis/MiscApi.ts +380 -29
- package/internal/src/apis/NetworkApi.ts +22 -19
- package/internal/src/apis/PoemApi.ts +2 -2
- package/internal/src/apis/RandomApi.ts +23 -24
- package/internal/src/apis/SocialApi.ts +38 -24
- package/internal/src/apis/StatusApi.ts +2 -5
- package/internal/src/apis/TextApi.ts +178 -16
- package/internal/src/apis/TranslateApi.ts +8 -8
- package/internal/src/apis/WebParseApi.ts +16 -16
- package/internal/src/models/GetAiTranslateLanguages200Response.ts +0 -8
- package/internal/src/models/GetAnswerbookAsk200Response.ts +0 -8
- package/internal/src/models/GetConvertUnixtime200Response.ts +0 -8
- package/internal/src/models/GetGameEpicFree200Response.ts +0 -8
- package/internal/src/models/GetGameMinecraftHistoryid200Response.ts +40 -17
- package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInner.ts +97 -0
- package/internal/src/models/GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.ts +73 -0
- package/internal/src/models/GetGameMinecraftServerstatus200Response.ts +0 -8
- package/internal/src/models/GetGameMinecraftUserinfo200Response.ts +0 -8
- package/internal/src/models/GetGameMinecraftUserinfo502Response.ts +81 -0
- package/internal/src/models/GetGameSteamSummary200Response.ts +0 -8
- package/internal/src/models/GetGithubRepo200Response.ts +15 -0
- package/internal/src/models/GetGithubRepo200ResponseLatestRelease.ts +105 -0
- package/internal/src/models/GetHistoryProgrammer200Response.ts +0 -8
- package/internal/src/models/GetHistoryProgrammerToday200Response.ts +0 -8
- package/internal/src/models/GetImageTobase64200Response.ts +0 -8
- package/internal/src/models/GetMiscDistrict200Response.ts +81 -0
- package/internal/src/models/GetMiscDistrict200ResponseResultsInner.ts +169 -0
- package/internal/src/models/GetMiscDistrict200ResponseResultsInnerCenter.ts +73 -0
- package/internal/src/models/GetMiscDistrict400Response.ts +73 -0
- package/internal/src/models/GetMiscHolidayCalendar200Response.ts +89 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseData.ts +141 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataDaysInner.ts +233 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataHolidaysInner.ts +103 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearby.ts +88 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyNextInner.ts +81 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataNearbyPreviousInner.ts +81 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataQuery.ts +113 -0
- package/internal/src/models/GetMiscHolidayCalendar200ResponseDataSummary.ts +113 -0
- package/internal/src/models/GetMiscHolidayCalendar400Response.ts +73 -0
- package/internal/src/models/GetMiscHotboard200Response.ts +47 -0
- package/internal/src/models/GetMiscHotboard200ResponseListInner.ts +8 -0
- package/internal/src/models/GetMiscHotboard200ResponseResultsInner.ts +81 -0
- package/internal/src/models/GetMiscLunartime200Response.ts +89 -0
- package/internal/src/models/GetMiscLunartime200ResponseData.ts +233 -0
- package/internal/src/models/GetMiscLunartime400Response.ts +73 -0
- package/internal/src/models/GetMiscWeather200Response.ts +198 -26
- package/internal/src/models/GetMiscWeather200ResponseAirPollutants.ts +105 -0
- package/internal/src/models/GetMiscWeather200ResponseForecastInner.ts +193 -0
- package/internal/src/models/GetMiscWeather200ResponseHourlyForecastInner.ts +177 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndices.ts +328 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirConditioner.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAirPurifier.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesAllergy.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesBeer.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesCarWash.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesClothing.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesColdRisk.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesComfort.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesDrying.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesExercise.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesFishing.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesMood.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesPollen.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesSunscreen.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTraffic.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesTravel.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUmbrella.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseLifeIndicesUv.ts +81 -0
- package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecip.ts +89 -0
- package/internal/src/models/GetMiscWeather200ResponseMinutelyPrecipDataInner.ts +81 -0
- package/internal/src/models/GetMiscWeather400Response.ts +0 -8
- package/internal/src/models/GetMiscWeather404Response.ts +73 -0
- package/internal/src/models/GetMiscWeather500Response.ts +0 -8
- package/internal/src/models/GetMiscWeather503Response.ts +73 -0
- package/internal/src/models/GetNetworkDns200Response.ts +0 -8
- package/internal/src/models/GetNetworkIpinfo200Response.ts +28 -92
- package/internal/src/models/GetNetworkMyip200Response.ts +137 -0
- package/internal/src/models/GetNetworkPing200Response.ts +0 -8
- package/internal/src/models/GetNetworkPingmyip200Response.ts +0 -8
- package/internal/src/models/GetNetworkPortscan200Response.ts +0 -8
- package/internal/src/models/GetNetworkUrlstatus200Response.ts +38 -43
- package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf.ts +73 -0
- package/internal/src/models/GetNetworkUrlstatus200ResponseOneOf1.ts +73 -0
- package/internal/src/models/GetNetworkWhois200ResponseOneOf.ts +0 -8
- package/internal/src/models/GetNetworkWhois200ResponseOneOf1.ts +0 -8
- package/internal/src/models/GetRandomString200Response.ts +0 -8
- package/internal/src/models/GetSocialQqGroupinfo200Response.ts +88 -0
- package/internal/src/models/GetSocialQqGroupinfo404Response.ts +3 -19
- package/internal/src/models/GetStatusUsage200Response.ts +32 -32
- package/internal/src/models/GetStatusUsage200ResponseAnyOf.ts +88 -0
- package/internal/src/models/GetStatusUsage200ResponseAnyOf1.ts +73 -0
- package/internal/src/models/GetStatusUsage200ResponseAnyOfEndpointsInner.ts +73 -0
- package/internal/src/models/GetStatusUsage200ResponseAnyOfUnaggregated.ts +73 -0
- package/internal/src/models/GetStatusUsage404Response.ts +0 -8
- package/internal/src/models/PostAiTranslate200Response.ts +0 -8
- package/internal/src/models/PostAnswerbookAsk200Response.ts +0 -8
- package/internal/src/models/PostConvertJson200Response.ts +0 -8
- package/internal/src/models/PostImageFrombase64200Response.ts +0 -8
- package/internal/src/models/PostImageNsfw200Response.ts +121 -0
- package/internal/src/models/PostImageNsfw400Response.ts +73 -0
- package/internal/src/models/PostImageNsfw413Response.ts +73 -0
- package/internal/src/models/PostImageNsfw500Response.ts +73 -0
- package/internal/src/models/PostMiscDateDiff200Response.ts +105 -0
- package/internal/src/models/PostMiscDateDiff400Response.ts +81 -0
- package/internal/src/models/PostMiscDateDiffRequest.ts +83 -0
- package/internal/src/models/PostSearchAggregate200Response.ts +1 -1
- package/internal/src/models/PostSearchAggregateRequest.ts +38 -0
- package/internal/src/models/PostSensitiveWordAnalyze200ResponseResultsInner.ts +34 -27
- package/internal/src/models/PostTextAesDecryptAdvanced200Response.ts +65 -0
- package/internal/src/models/PostTextAesDecryptAdvanced400Response.ts +65 -0
- package/internal/src/models/PostTextAesDecryptAdvancedRequest.ts +125 -0
- package/internal/src/models/PostTextAesDecryptRequest.ts +1 -1
- package/internal/src/models/PostTextAesEncryptAdvanced200Response.ts +89 -0
- package/internal/src/models/PostTextAesEncryptAdvanced400Response.ts +65 -0
- package/internal/src/models/PostTextAesEncryptAdvancedRequest.ts +141 -0
- package/internal/src/models/PostTextConvert200Response.ts +97 -0
- package/internal/src/models/PostTextConvert400Response.ts +81 -0
- package/internal/src/models/PostTextConvertRequest.ts +130 -0
- package/internal/src/models/index.ts +71 -8
- package/package.json +5 -3
- package/src/index.ts +302 -78
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`code` | number
|
|
10
9
|
`data` | [Array<GetGameEpicFree200ResponseDataInner>](GetGameEpicFree200ResponseDataInner.md)
|
|
11
10
|
|
|
12
11
|
## Example
|
|
@@ -16,7 +15,6 @@ import type { GetGameEpicFree200Response } from 'uapi-browser-sdk-browser'
|
|
|
16
15
|
|
|
17
16
|
// TODO: Update the object below with actual values
|
|
18
17
|
const example = {
|
|
19
|
-
"code": 200,
|
|
20
18
|
"data": null,
|
|
21
19
|
} satisfies GetGameEpicFree200Response
|
|
22
20
|
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
# GetGameMinecraftHistoryid200Response
|
|
3
3
|
|
|
4
|
+
响应结构根据查询参数不同而变化
|
|
4
5
|
|
|
5
6
|
## Properties
|
|
6
7
|
|
|
7
8
|
Name | Type
|
|
8
9
|
------------ | -------------
|
|
9
|
-
`
|
|
10
|
-
`
|
|
10
|
+
`query` | string
|
|
11
|
+
`count` | number
|
|
12
|
+
`results` | [Array<GetGameMinecraftHistoryid200ResponseResultsInner>](GetGameMinecraftHistoryid200ResponseResultsInner.md)
|
|
11
13
|
`id` | string
|
|
12
|
-
`nameNum` | number
|
|
13
14
|
`uuid` | string
|
|
15
|
+
`nameNum` | number
|
|
16
|
+
`history` | [Array<GetGameMinecraftHistoryid200ResponseHistoryInner>](GetGameMinecraftHistoryid200ResponseHistoryInner.md)
|
|
14
17
|
|
|
15
18
|
## Example
|
|
16
19
|
|
|
@@ -19,11 +22,13 @@ import type { GetGameMinecraftHistoryid200Response } from 'uapi-browser-sdk-brow
|
|
|
19
22
|
|
|
20
23
|
// TODO: Update the object below with actual values
|
|
21
24
|
const example = {
|
|
22
|
-
"
|
|
25
|
+
"query": ExamplePlayer,
|
|
26
|
+
"count": 2,
|
|
27
|
+
"results": null,
|
|
28
|
+
"id": T8K_,
|
|
29
|
+
"uuid": ee9b4ed1-aac1-491e-b761-1471be374b80,
|
|
30
|
+
"nameNum": 4,
|
|
23
31
|
"history": null,
|
|
24
|
-
"id": Notch,
|
|
25
|
-
"nameNum": 2,
|
|
26
|
-
"uuid": ee9b4ed1aac1491eb7611471be374b80,
|
|
27
32
|
} satisfies GetGameMinecraftHistoryid200Response
|
|
28
33
|
|
|
29
34
|
console.log(example)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# GetGameMinecraftHistoryid200ResponseResultsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`uuid` | string
|
|
11
|
+
`nameNum` | number
|
|
12
|
+
`history` | [Array<GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner>](GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner.md)
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { GetGameMinecraftHistoryid200ResponseResultsInner } from 'uapi-browser-sdk-browser'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": ExamplePlayer,
|
|
22
|
+
"uuid": a1b2c3d4-e5f6-7890-abcd-ef1234567890,
|
|
23
|
+
"nameNum": 1,
|
|
24
|
+
"history": null,
|
|
25
|
+
} satisfies GetGameMinecraftHistoryid200ResponseResultsInner
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetGameMinecraftHistoryid200ResponseResultsInner
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`name` | string
|
|
10
|
+
`changedToAt` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner } from 'uapi-browser-sdk-browser'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"name": ExamplePlayer,
|
|
20
|
+
"changedToAt": 2023/09/13 10:10:06,
|
|
21
|
+
} satisfies GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetGameMinecraftHistoryid200ResponseResultsInnerHistoryInner
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -19,7 +19,7 @@ import type { GetGameMinecraftHistoryid400Response } from 'uapi-browser-sdk-brow
|
|
|
19
19
|
const example = {
|
|
20
20
|
"code": INVALID_ARGUMENT,
|
|
21
21
|
"details": null,
|
|
22
|
-
"message":
|
|
22
|
+
"message": uuid or name query parameter is required,
|
|
23
23
|
} satisfies GetGameMinecraftHistoryid400Response
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
@@ -19,7 +19,7 @@ import type { GetGameMinecraftHistoryid502Response } from 'uapi-browser-sdk-brow
|
|
|
19
19
|
const example = {
|
|
20
20
|
"code": UPSTREAM_ERROR,
|
|
21
21
|
"details": null,
|
|
22
|
-
"message":
|
|
22
|
+
"message": Service temporarily unavailable.,
|
|
23
23
|
} satisfies GetGameMinecraftHistoryid502Response
|
|
24
24
|
|
|
25
25
|
console.log(example)
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`code` | number
|
|
10
9
|
`faviconUrl` | string
|
|
11
10
|
`ip` | string
|
|
12
11
|
`maxPlayers` | number
|
|
@@ -24,7 +23,6 @@ import type { GetGameMinecraftServerstatus200Response } from 'uapi-browser-sdk-b
|
|
|
24
23
|
|
|
25
24
|
// TODO: Update the object below with actual values
|
|
26
25
|
const example = {
|
|
27
|
-
"code": 200,
|
|
28
26
|
"faviconUrl": data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACayAAACqaXHeAAAA...,
|
|
29
27
|
"ip": 172.65.252.238,
|
|
30
28
|
"maxPlayers": 20000,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`code` | number
|
|
10
9
|
`skinUrl` | string
|
|
11
10
|
`username` | string
|
|
12
11
|
`uuid` | string
|
|
@@ -18,7 +17,6 @@ import type { GetGameMinecraftUserinfo200Response } from 'uapi-browser-sdk-brows
|
|
|
18
17
|
|
|
19
18
|
// TODO: Update the object below with actual values
|
|
20
19
|
const example = {
|
|
21
|
-
"code": 200,
|
|
22
20
|
"skinUrl": http://textures.minecraft.net/texture/292009a499420915b854a9913d9fa92750175814529452a55982791844863f53,
|
|
23
21
|
"username": Notch,
|
|
24
22
|
"uuid": ee9b4ed1aac1491eb7611471be374b80,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# GetGameMinecraftUserinfo502Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`code` | string
|
|
10
|
+
`details` | object
|
|
11
|
+
`message` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { GetGameMinecraftUserinfo502Response } from 'uapi-browser-sdk-browser'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"code": UPSTREAM_ERROR,
|
|
21
|
+
"details": null,
|
|
22
|
+
"message": Failed to fetch data from Mojang API.,
|
|
23
|
+
} satisfies GetGameMinecraftUserinfo502Response
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetGameMinecraftUserinfo502Response
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -9,7 +9,6 @@ Name | Type
|
|
|
9
9
|
`avatar` | string
|
|
10
10
|
`avatarfull` | string
|
|
11
11
|
`avatarmedium` | string
|
|
12
|
-
`code` | number
|
|
13
12
|
`communityvisibilitystate` | number
|
|
14
13
|
`loccountrycode` | string
|
|
15
14
|
`personaname` | string
|
|
@@ -32,7 +31,6 @@ const example = {
|
|
|
32
31
|
"avatar": https://avatars.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb.jpg,
|
|
33
32
|
"avatarfull": https://avatars.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_full.jpg,
|
|
34
33
|
"avatarmedium": https://avatars.steamstatic.com/fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb_medium.jpg,
|
|
35
|
-
"code": 200,
|
|
36
34
|
"communityvisibilitystate": 3,
|
|
37
35
|
"loccountrycode": US,
|
|
38
36
|
"personaname": Gabe Newell,
|
|
@@ -29,6 +29,7 @@ Name | Type
|
|
|
29
29
|
`languages` | { [key: string]: number; }
|
|
30
30
|
`collaborators` | [Array<GetGithubRepo200ResponseCollaboratorsInner>](GetGithubRepo200ResponseCollaboratorsInner.md)
|
|
31
31
|
`maintainers` | [Array<GetGithubRepo200ResponseCollaboratorsInner>](GetGithubRepo200ResponseCollaboratorsInner.md)
|
|
32
|
+
`latestRelease` | [GetGithubRepo200ResponseLatestRelease](GetGithubRepo200ResponseLatestRelease.md)
|
|
32
33
|
|
|
33
34
|
## Example
|
|
34
35
|
|
|
@@ -60,6 +61,7 @@ const example = {
|
|
|
60
61
|
"languages": {"C":123456789,"Assembly":2345678},
|
|
61
62
|
"collaborators": [{"login":"octocat","name":"The Octocat","email":"public@example.com","url":"https://github.com/octocat"}],
|
|
62
63
|
"maintainers": [{"login":"devA","name":"Dev A","email":"devA@users.noreply.github.com","url":"https://github.com/devA"}],
|
|
64
|
+
"latestRelease": null,
|
|
63
65
|
} satisfies GetGithubRepo200Response
|
|
64
66
|
|
|
65
67
|
console.log(example)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
# GetGithubRepo200ResponseLatestRelease
|
|
3
|
+
|
|
4
|
+
仓库最新发布版本信息,如果没有 Release 则为 null。可用于实现应用更新检查功能。
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`tagName` | string
|
|
11
|
+
`name` | string
|
|
12
|
+
`publishedAt` | Date
|
|
13
|
+
`htmlUrl` | string
|
|
14
|
+
`prerelease` | boolean
|
|
15
|
+
`draft` | boolean
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { GetGithubRepo200ResponseLatestRelease } from 'uapi-browser-sdk-browser'
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"tagName": v1.2.3,
|
|
25
|
+
"name": Release v1.2.3,
|
|
26
|
+
"publishedAt": 2026-01-10T12:00Z,
|
|
27
|
+
"htmlUrl": https://github.com/owner/repo/releases/tag/v1.2.3,
|
|
28
|
+
"prerelease": false,
|
|
29
|
+
"draft": false,
|
|
30
|
+
} satisfies GetGithubRepo200ResponseLatestRelease
|
|
31
|
+
|
|
32
|
+
console.log(example)
|
|
33
|
+
|
|
34
|
+
// Convert the instance to a JSON string
|
|
35
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
36
|
+
console.log(exampleJSON)
|
|
37
|
+
|
|
38
|
+
// Parse the JSON string back to an object
|
|
39
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetGithubRepo200ResponseLatestRelease
|
|
40
|
+
console.log(exampleParsed)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
44
|
+
|
|
45
|
+
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`code` | number
|
|
10
9
|
`message` | string
|
|
11
10
|
`date` | string
|
|
12
11
|
`events` | [Array<GetHistoryProgrammer200ResponseEventsInner>](GetHistoryProgrammer200ResponseEventsInner.md)
|
|
@@ -18,7 +17,6 @@ import type { GetHistoryProgrammer200Response } from 'uapi-browser-sdk-browser'
|
|
|
18
17
|
|
|
19
18
|
// TODO: Update the object below with actual values
|
|
20
19
|
const example = {
|
|
21
|
-
"code": 200,
|
|
22
20
|
"message": 获取成功,
|
|
23
21
|
"date": 04-04,
|
|
24
22
|
"events": null,
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`code` | number
|
|
10
9
|
`message` | string
|
|
11
10
|
`date` | string
|
|
12
11
|
`events` | [Array<GetHistoryProgrammerToday200ResponseEventsInner>](GetHistoryProgrammerToday200ResponseEventsInner.md)
|
|
@@ -18,7 +17,6 @@ import type { GetHistoryProgrammerToday200Response } from 'uapi-browser-sdk-brow
|
|
|
18
17
|
|
|
19
18
|
// TODO: Update the object below with actual values
|
|
20
19
|
const example = {
|
|
21
|
-
"code": 200,
|
|
22
20
|
"message": 获取成功,
|
|
23
21
|
"date": 04-04,
|
|
24
22
|
"events": null,
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`base64` | string
|
|
10
|
-
`code` | number
|
|
11
10
|
`msg` | string
|
|
12
11
|
|
|
13
12
|
## Example
|
|
@@ -18,7 +17,6 @@ import type { GetImageTobase64200Response } from 'uapi-browser-sdk-browser'
|
|
|
18
17
|
// TODO: Update the object below with actual values
|
|
19
18
|
const example = {
|
|
20
19
|
"base64": data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=,
|
|
21
|
-
"code": 200,
|
|
22
20
|
"msg": success,
|
|
23
21
|
} satisfies GetImageTobase64200Response
|
|
24
22
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# GetMiscDistrict200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`total` | number
|
|
10
|
+
`results` | [Array<GetMiscDistrict200ResponseResultsInner>](GetMiscDistrict200ResponseResultsInner.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { GetMiscDistrict200Response } from 'uapi-browser-sdk-browser'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"total": 2,
|
|
20
|
+
"results": null,
|
|
21
|
+
} satisfies GetMiscDistrict200Response
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetMiscDistrict200Response
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
|
|
2
|
+
# GetMiscDistrict200ResponseResultsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`name` | string
|
|
10
|
+
`level` | string
|
|
11
|
+
`country` | string
|
|
12
|
+
`countryCode` | string
|
|
13
|
+
`province` | string
|
|
14
|
+
`city` | string
|
|
15
|
+
`district` | string
|
|
16
|
+
`street` | string
|
|
17
|
+
`adcode` | string
|
|
18
|
+
`citycode` | string
|
|
19
|
+
`center` | [GetMiscDistrict200ResponseResultsInnerCenter](GetMiscDistrict200ResponseResultsInnerCenter.md)
|
|
20
|
+
`population` | number
|
|
21
|
+
`timezone` | string
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import type { GetMiscDistrict200ResponseResultsInner } from 'uapi-browser-sdk-browser'
|
|
27
|
+
|
|
28
|
+
// TODO: Update the object below with actual values
|
|
29
|
+
const example = {
|
|
30
|
+
"name": 北京市,
|
|
31
|
+
"level": province,
|
|
32
|
+
"country": 中国,
|
|
33
|
+
"countryCode": CN,
|
|
34
|
+
"province": 北京市,
|
|
35
|
+
"city": 北京市,
|
|
36
|
+
"district": 朝阳区,
|
|
37
|
+
"street": 三里屯街道,
|
|
38
|
+
"adcode": 110000,
|
|
39
|
+
"citycode": 010,
|
|
40
|
+
"center": null,
|
|
41
|
+
"population": 8336599,
|
|
42
|
+
"timezone": Asia/Tokyo,
|
|
43
|
+
} satisfies GetMiscDistrict200ResponseResultsInner
|
|
44
|
+
|
|
45
|
+
console.log(example)
|
|
46
|
+
|
|
47
|
+
// Convert the instance to a JSON string
|
|
48
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
49
|
+
console.log(exampleJSON)
|
|
50
|
+
|
|
51
|
+
// Parse the JSON string back to an object
|
|
52
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetMiscDistrict200ResponseResultsInner
|
|
53
|
+
console.log(exampleParsed)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
# GetMiscDistrict200ResponseResultsInnerCenter
|
|
3
|
+
|
|
4
|
+
中心点坐标。
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`lat` | number
|
|
11
|
+
`lng` | number
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { GetMiscDistrict200ResponseResultsInnerCenter } from 'uapi-browser-sdk-browser'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"lat": 39.904987,
|
|
21
|
+
"lng": 116.405289,
|
|
22
|
+
} satisfies GetMiscDistrict200ResponseResultsInnerCenter
|
|
23
|
+
|
|
24
|
+
console.log(example)
|
|
25
|
+
|
|
26
|
+
// Convert the instance to a JSON string
|
|
27
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
28
|
+
console.log(exampleJSON)
|
|
29
|
+
|
|
30
|
+
// Parse the JSON string back to an object
|
|
31
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetMiscDistrict200ResponseResultsInnerCenter
|
|
32
|
+
console.log(exampleParsed)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
36
|
+
|
|
37
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# GetMiscDistrict400Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`code` | string
|
|
10
|
+
`message` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { GetMiscDistrict400Response } from 'uapi-browser-sdk-browser'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"code": INVALID_PARAMETER,
|
|
20
|
+
"message": invalid 'level' parameter, must be one of: province, city, district, street,
|
|
21
|
+
} satisfies GetMiscDistrict400Response
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetMiscDistrict400Response
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# GetMiscHolidayCalendar200Response
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`code` | number
|
|
10
|
+
`message` | string
|
|
11
|
+
`data` | [GetMiscHolidayCalendar200ResponseData](GetMiscHolidayCalendar200ResponseData.md)
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { GetMiscHolidayCalendar200Response } from 'uapi-browser-sdk-browser'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"code": 200,
|
|
21
|
+
"message": success,
|
|
22
|
+
"data": null,
|
|
23
|
+
} satisfies GetMiscHolidayCalendar200Response
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetMiscHolidayCalendar200Response
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# GetMiscHolidayCalendar200ResponseData
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`mode` | string
|
|
10
|
+
`query` | [GetMiscHolidayCalendar200ResponseDataQuery](GetMiscHolidayCalendar200ResponseDataQuery.md)
|
|
11
|
+
`summary` | [GetMiscHolidayCalendar200ResponseDataSummary](GetMiscHolidayCalendar200ResponseDataSummary.md)
|
|
12
|
+
`days` | [Array<GetMiscHolidayCalendar200ResponseDataDaysInner>](GetMiscHolidayCalendar200ResponseDataDaysInner.md)
|
|
13
|
+
`holidays` | [Array<GetMiscHolidayCalendar200ResponseDataHolidaysInner>](GetMiscHolidayCalendar200ResponseDataHolidaysInner.md)
|
|
14
|
+
`nearby` | [GetMiscHolidayCalendar200ResponseDataNearby](GetMiscHolidayCalendar200ResponseDataNearby.md)
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetMiscHolidayCalendar200ResponseData } from 'uapi-browser-sdk-browser'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"mode": day,
|
|
24
|
+
"query": null,
|
|
25
|
+
"summary": null,
|
|
26
|
+
"days": null,
|
|
27
|
+
"holidays": null,
|
|
28
|
+
"nearby": null,
|
|
29
|
+
} satisfies GetMiscHolidayCalendar200ResponseData
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetMiscHolidayCalendar200ResponseData
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|