@steamsets/client-ts 0.19.4 → 0.19.5

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 (238) hide show
  1. package/README.md +0 -89
  2. package/docs/sdks/account/README.md +0 -204
  3. package/docs/sdks/images/README.md +0 -164
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/package.json +1 -1
  8. package/sdk/account.d.ts +0 -2
  9. package/sdk/account.d.ts.map +1 -1
  10. package/sdk/account.js +0 -8
  11. package/sdk/account.js.map +1 -1
  12. package/sdk/images.d.ts +0 -2
  13. package/sdk/images.d.ts.map +1 -1
  14. package/sdk/images.js +0 -8
  15. package/sdk/images.js.map +1 -1
  16. package/sdk/sdk.d.ts +2 -17
  17. package/sdk/sdk.d.ts.map +1 -1
  18. package/sdk/sdk.js +2 -22
  19. package/sdk/sdk.js.map +1 -1
  20. package/src/lib/config.ts +2 -2
  21. package/src/sdk/account.ts +0 -24
  22. package/src/sdk/images.ts +0 -24
  23. package/src/sdk/sdk.ts +3 -33
  24. package/docs/sdks/data/README.md +0 -520
  25. package/docs/sdks/developer/README.md +0 -252
  26. package/docs/sdks/event/README.md +0 -80
  27. package/docs/sdks/external/README.md +0 -596
  28. package/docs/sdks/internal/README.md +0 -1137
  29. package/funcs/accountGetAccount.d.ts +0 -12
  30. package/funcs/accountGetAccount.d.ts.map +0 -1
  31. package/funcs/accountGetAccount.js +0 -118
  32. package/funcs/accountGetAccount.js.map +0 -1
  33. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
  34. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
  35. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.js +0 -116
  36. package/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
  37. package/funcs/dataAccountV1GetMeta.d.ts +0 -12
  38. package/funcs/dataAccountV1GetMeta.d.ts.map +0 -1
  39. package/funcs/dataAccountV1GetMeta.js +0 -118
  40. package/funcs/dataAccountV1GetMeta.js.map +0 -1
  41. package/funcs/dataGetApps.d.ts +0 -12
  42. package/funcs/dataGetApps.d.ts.map +0 -1
  43. package/funcs/dataGetApps.js +0 -118
  44. package/funcs/dataGetApps.js.map +0 -1
  45. package/funcs/dataGetBadges.d.ts +0 -12
  46. package/funcs/dataGetBadges.d.ts.map +0 -1
  47. package/funcs/dataGetBadges.js +0 -118
  48. package/funcs/dataGetBadges.js.map +0 -1
  49. package/funcs/dataGetDataPoints.d.ts +0 -12
  50. package/funcs/dataGetDataPoints.d.ts.map +0 -1
  51. package/funcs/dataGetDataPoints.js +0 -118
  52. package/funcs/dataGetDataPoints.js.map +0 -1
  53. package/funcs/dataGetFriends.d.ts +0 -12
  54. package/funcs/dataGetFriends.d.ts.map +0 -1
  55. package/funcs/dataGetFriends.js +0 -118
  56. package/funcs/dataGetFriends.js.map +0 -1
  57. package/funcs/dataGetInfo.d.ts +0 -12
  58. package/funcs/dataGetInfo.d.ts.map +0 -1
  59. package/funcs/dataGetInfo.js +0 -118
  60. package/funcs/dataGetInfo.js.map +0 -1
  61. package/funcs/dataGetLeaderboardHistory.d.ts +0 -12
  62. package/funcs/dataGetLeaderboardHistory.d.ts.map +0 -1
  63. package/funcs/dataGetLeaderboardHistory.js +0 -116
  64. package/funcs/dataGetLeaderboardHistory.js.map +0 -1
  65. package/funcs/developerCreateDeveloperApp.d.ts +0 -12
  66. package/funcs/developerCreateDeveloperApp.d.ts.map +0 -1
  67. package/funcs/developerCreateDeveloperApp.js +0 -116
  68. package/funcs/developerCreateDeveloperApp.js.map +0 -1
  69. package/funcs/developerDeleteDeveloperApp.d.ts +0 -12
  70. package/funcs/developerDeleteDeveloperApp.d.ts.map +0 -1
  71. package/funcs/developerDeleteDeveloperApp.js +0 -116
  72. package/funcs/developerDeleteDeveloperApp.js.map +0 -1
  73. package/funcs/developerUpdateApp.d.ts +0 -12
  74. package/funcs/developerUpdateApp.d.ts.map +0 -1
  75. package/funcs/developerUpdateApp.js +0 -116
  76. package/funcs/developerUpdateApp.js.map +0 -1
  77. package/funcs/eventAdminV1RemoveVanity.d.ts +0 -12
  78. package/funcs/eventAdminV1RemoveVanity.d.ts.map +0 -1
  79. package/funcs/eventAdminV1RemoveVanity.js +0 -118
  80. package/funcs/eventAdminV1RemoveVanity.js.map +0 -1
  81. package/funcs/externalAppV1ListBadges.d.ts +0 -12
  82. package/funcs/externalAppV1ListBadges.d.ts.map +0 -1
  83. package/funcs/externalAppV1ListBadges.js +0 -118
  84. package/funcs/externalAppV1ListBadges.js.map +0 -1
  85. package/funcs/externalGet.d.ts +0 -11
  86. package/funcs/externalGet.d.ts.map +0 -1
  87. package/funcs/externalGet.js +0 -107
  88. package/funcs/externalGet.js.map +0 -1
  89. package/funcs/externalGetApps.d.ts +0 -12
  90. package/funcs/externalGetApps.d.ts.map +0 -1
  91. package/funcs/externalGetApps.js +0 -118
  92. package/funcs/externalGetApps.js.map +0 -1
  93. package/funcs/externalGetBadges.d.ts +0 -12
  94. package/funcs/externalGetBadges.d.ts.map +0 -1
  95. package/funcs/externalGetBadges.js +0 -118
  96. package/funcs/externalGetBadges.js.map +0 -1
  97. package/funcs/externalGetDataPoints.d.ts +0 -12
  98. package/funcs/externalGetDataPoints.d.ts.map +0 -1
  99. package/funcs/externalGetDataPoints.js +0 -118
  100. package/funcs/externalGetDataPoints.js.map +0 -1
  101. package/funcs/externalGetFriends.d.ts +0 -12
  102. package/funcs/externalGetFriends.d.ts.map +0 -1
  103. package/funcs/externalGetFriends.js +0 -118
  104. package/funcs/externalGetFriends.js.map +0 -1
  105. package/funcs/externalGetInfo.d.ts +0 -12
  106. package/funcs/externalGetInfo.d.ts.map +0 -1
  107. package/funcs/externalGetInfo.js +0 -118
  108. package/funcs/externalGetInfo.js.map +0 -1
  109. package/funcs/externalGetLeaderboardHistory.d.ts +0 -12
  110. package/funcs/externalGetLeaderboardHistory.d.ts.map +0 -1
  111. package/funcs/externalGetLeaderboardHistory.js +0 -116
  112. package/funcs/externalGetLeaderboardHistory.js.map +0 -1
  113. package/funcs/imagesDeleteImages.d.ts +0 -12
  114. package/funcs/imagesDeleteImages.d.ts.map +0 -1
  115. package/funcs/imagesDeleteImages.js +0 -118
  116. package/funcs/imagesDeleteImages.js.map +0 -1
  117. package/funcs/imagesUploadImages.d.ts +0 -12
  118. package/funcs/imagesUploadImages.d.ts.map +0 -1
  119. package/funcs/imagesUploadImages.js +0 -118
  120. package/funcs/imagesUploadImages.js.map +0 -1
  121. package/funcs/internalAccountV1GetMeta.d.ts +0 -12
  122. package/funcs/internalAccountV1GetMeta.d.ts.map +0 -1
  123. package/funcs/internalAccountV1GetMeta.js +0 -118
  124. package/funcs/internalAccountV1GetMeta.js.map +0 -1
  125. package/funcs/internalAdminV1RemoveVanity.d.ts +0 -12
  126. package/funcs/internalAdminV1RemoveVanity.d.ts.map +0 -1
  127. package/funcs/internalAdminV1RemoveVanity.js +0 -118
  128. package/funcs/internalAdminV1RemoveVanity.js.map +0 -1
  129. package/funcs/internalBadgeV1SearchSuggest.d.ts +0 -12
  130. package/funcs/internalBadgeV1SearchSuggest.d.ts.map +0 -1
  131. package/funcs/internalBadgeV1SearchSuggest.js +0 -118
  132. package/funcs/internalBadgeV1SearchSuggest.js.map +0 -1
  133. package/funcs/internalBadgeV1TagsSuggest.d.ts +0 -12
  134. package/funcs/internalBadgeV1TagsSuggest.d.ts.map +0 -1
  135. package/funcs/internalBadgeV1TagsSuggest.js +0 -118
  136. package/funcs/internalBadgeV1TagsSuggest.js.map +0 -1
  137. package/funcs/internalCheck.d.ts +0 -17
  138. package/funcs/internalCheck.d.ts.map +0 -1
  139. package/funcs/internalCheck.js +0 -111
  140. package/funcs/internalCheck.js.map +0 -1
  141. package/funcs/internalCreateDeveloperApp.d.ts +0 -12
  142. package/funcs/internalCreateDeveloperApp.d.ts.map +0 -1
  143. package/funcs/internalCreateDeveloperApp.js +0 -116
  144. package/funcs/internalCreateDeveloperApp.js.map +0 -1
  145. package/funcs/internalDeleteDeveloperApp.d.ts +0 -12
  146. package/funcs/internalDeleteDeveloperApp.d.ts.map +0 -1
  147. package/funcs/internalDeleteDeveloperApp.js +0 -116
  148. package/funcs/internalDeleteDeveloperApp.js.map +0 -1
  149. package/funcs/internalDeleteImages.d.ts +0 -12
  150. package/funcs/internalDeleteImages.d.ts.map +0 -1
  151. package/funcs/internalDeleteImages.js +0 -118
  152. package/funcs/internalDeleteImages.js.map +0 -1
  153. package/funcs/internalGetAccount.d.ts +0 -12
  154. package/funcs/internalGetAccount.d.ts.map +0 -1
  155. package/funcs/internalGetAccount.js +0 -118
  156. package/funcs/internalGetAccount.js.map +0 -1
  157. package/funcs/internalGetStaff.d.ts +0 -11
  158. package/funcs/internalGetStaff.d.ts.map +0 -1
  159. package/funcs/internalGetStaff.js +0 -107
  160. package/funcs/internalGetStaff.js.map +0 -1
  161. package/funcs/internalGetTags.d.ts +0 -11
  162. package/funcs/internalGetTags.d.ts.map +0 -1
  163. package/funcs/internalGetTags.js +0 -107
  164. package/funcs/internalGetTags.js.map +0 -1
  165. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.d.ts +0 -12
  166. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.d.ts.map +0 -1
  167. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js +0 -116
  168. package/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js.map +0 -1
  169. package/funcs/internalUpdateApp.d.ts +0 -12
  170. package/funcs/internalUpdateApp.d.ts.map +0 -1
  171. package/funcs/internalUpdateApp.js +0 -116
  172. package/funcs/internalUpdateApp.js.map +0 -1
  173. package/funcs/internalUploadImages.d.ts +0 -12
  174. package/funcs/internalUploadImages.d.ts.map +0 -1
  175. package/funcs/internalUploadImages.js +0 -118
  176. package/funcs/internalUploadImages.js.map +0 -1
  177. package/sdk/data.d.ts +0 -13
  178. package/sdk/data.d.ts.map +0 -1
  179. package/sdk/data.js +0 -40
  180. package/sdk/data.js.map +0 -1
  181. package/sdk/developer.d.ts +0 -9
  182. package/sdk/developer.d.ts.map +0 -1
  183. package/sdk/developer.js +0 -24
  184. package/sdk/developer.js.map +0 -1
  185. package/sdk/event.d.ts +0 -7
  186. package/sdk/event.d.ts.map +0 -1
  187. package/sdk/event.js +0 -16
  188. package/sdk/event.js.map +0 -1
  189. package/sdk/external.d.ts +0 -14
  190. package/sdk/external.d.ts.map +0 -1
  191. package/sdk/external.js +0 -44
  192. package/sdk/external.js.map +0 -1
  193. package/sdk/internal.d.ts +0 -26
  194. package/sdk/internal.d.ts.map +0 -1
  195. package/sdk/internal.js +0 -74
  196. package/sdk/internal.js.map +0 -1
  197. package/src/funcs/accountGetAccount.ts +0 -179
  198. package/src/funcs/accountLeaderboardV1GetLeaderboardAccountMeta.ts +0 -186
  199. package/src/funcs/dataAccountV1GetMeta.ts +0 -179
  200. package/src/funcs/dataGetApps.ts +0 -179
  201. package/src/funcs/dataGetBadges.ts +0 -179
  202. package/src/funcs/dataGetDataPoints.ts +0 -179
  203. package/src/funcs/dataGetFriends.ts +0 -179
  204. package/src/funcs/dataGetInfo.ts +0 -179
  205. package/src/funcs/dataGetLeaderboardHistory.ts +0 -181
  206. package/src/funcs/developerCreateDeveloperApp.ts +0 -182
  207. package/src/funcs/developerDeleteDeveloperApp.ts +0 -184
  208. package/src/funcs/developerUpdateApp.ts +0 -184
  209. package/src/funcs/eventAdminV1RemoveVanity.ts +0 -179
  210. package/src/funcs/externalAppV1ListBadges.ts +0 -179
  211. package/src/funcs/externalGet.ts +0 -160
  212. package/src/funcs/externalGetApps.ts +0 -179
  213. package/src/funcs/externalGetBadges.ts +0 -179
  214. package/src/funcs/externalGetDataPoints.ts +0 -179
  215. package/src/funcs/externalGetFriends.ts +0 -179
  216. package/src/funcs/externalGetInfo.ts +0 -179
  217. package/src/funcs/externalGetLeaderboardHistory.ts +0 -181
  218. package/src/funcs/imagesDeleteImages.ts +0 -179
  219. package/src/funcs/imagesUploadImages.ts +0 -179
  220. package/src/funcs/internalAccountV1GetMeta.ts +0 -179
  221. package/src/funcs/internalAdminV1RemoveVanity.ts +0 -179
  222. package/src/funcs/internalBadgeV1SearchSuggest.ts +0 -180
  223. package/src/funcs/internalBadgeV1TagsSuggest.ts +0 -180
  224. package/src/funcs/internalCheck.ts +0 -160
  225. package/src/funcs/internalCreateDeveloperApp.ts +0 -182
  226. package/src/funcs/internalDeleteDeveloperApp.ts +0 -184
  227. package/src/funcs/internalDeleteImages.ts +0 -179
  228. package/src/funcs/internalGetAccount.ts +0 -179
  229. package/src/funcs/internalGetStaff.ts +0 -160
  230. package/src/funcs/internalGetTags.ts +0 -160
  231. package/src/funcs/internalLeaderboardV1GetLeaderboardAccountMeta.ts +0 -186
  232. package/src/funcs/internalUpdateApp.ts +0 -184
  233. package/src/funcs/internalUploadImages.ts +0 -179
  234. package/src/sdk/data.ts +0 -94
  235. package/src/sdk/developer.ts +0 -46
  236. package/src/sdk/event.ts +0 -22
  237. package/src/sdk/external.ts +0 -104
  238. package/src/sdk/internal.ts +0 -178
package/src/sdk/data.ts DELETED
@@ -1,94 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { dataAccountV1GetMeta } from "../funcs/dataAccountV1GetMeta.js";
6
- import { dataGetApps } from "../funcs/dataGetApps.js";
7
- import { dataGetBadges } from "../funcs/dataGetBadges.js";
8
- import { dataGetDataPoints } from "../funcs/dataGetDataPoints.js";
9
- import { dataGetFriends } from "../funcs/dataGetFriends.js";
10
- import { dataGetInfo } from "../funcs/dataGetInfo.js";
11
- import { dataGetLeaderboardHistory } from "../funcs/dataGetLeaderboardHistory.js";
12
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
13
- import * as components from "../models/components/index.js";
14
- import * as operations from "../models/operations/index.js";
15
- import { unwrapAsync } from "../types/fp.js";
16
-
17
- export class Data extends ClientSDK {
18
- async getApps(
19
- request: components.V1AccountsAppsRequestBody,
20
- options?: RequestOptions,
21
- ): Promise<operations.AccountV1GetAppsResponse> {
22
- return unwrapAsync(dataGetApps(
23
- this,
24
- request,
25
- options,
26
- ));
27
- }
28
-
29
- async getBadges(
30
- request: components.V1BadgesRequestBody,
31
- options?: RequestOptions,
32
- ): Promise<operations.AccountV1GetBadgesResponse> {
33
- return unwrapAsync(dataGetBadges(
34
- this,
35
- request,
36
- options,
37
- ));
38
- }
39
-
40
- async getDataPoints(
41
- request: components.AccountSearch,
42
- options?: RequestOptions,
43
- ): Promise<operations.AccountV1GetDataPointsResponse> {
44
- return unwrapAsync(dataGetDataPoints(
45
- this,
46
- request,
47
- options,
48
- ));
49
- }
50
-
51
- async getFriends(
52
- request: components.AccountSearch,
53
- options?: RequestOptions,
54
- ): Promise<operations.AccountV1GetFriendsResponse> {
55
- return unwrapAsync(dataGetFriends(
56
- this,
57
- request,
58
- options,
59
- ));
60
- }
61
-
62
- async getInfo(
63
- request: components.AccountSearch,
64
- options?: RequestOptions,
65
- ): Promise<operations.AccountV1GetInfoResponse> {
66
- return unwrapAsync(dataGetInfo(
67
- this,
68
- request,
69
- options,
70
- ));
71
- }
72
-
73
- async getLeaderboardHistory(
74
- request: components.AccountSearch,
75
- options?: RequestOptions,
76
- ): Promise<operations.AccountV1GetLeaderboardHistoryResponse> {
77
- return unwrapAsync(dataGetLeaderboardHistory(
78
- this,
79
- request,
80
- options,
81
- ));
82
- }
83
-
84
- async accountV1GetMeta(
85
- request: components.AccountSearch,
86
- options?: RequestOptions,
87
- ): Promise<operations.AccountV1GetMetaResponse> {
88
- return unwrapAsync(dataAccountV1GetMeta(
89
- this,
90
- request,
91
- options,
92
- ));
93
- }
94
- }
@@ -1,46 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { developerCreateDeveloperApp } from "../funcs/developerCreateDeveloperApp.js";
6
- import { developerDeleteDeveloperApp } from "../funcs/developerDeleteDeveloperApp.js";
7
- import { developerUpdateApp } from "../funcs/developerUpdateApp.js";
8
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
9
- import * as components from "../models/components/index.js";
10
- import * as operations from "../models/operations/index.js";
11
- import { unwrapAsync } from "../types/fp.js";
12
-
13
- export class Developer extends ClientSDK {
14
- async createDeveloperApp(
15
- request: components.V1DeveloperAppCreateRequestBody,
16
- options?: RequestOptions,
17
- ): Promise<operations.AccountV1SettingsDeveloperAppCreateResponse> {
18
- return unwrapAsync(developerCreateDeveloperApp(
19
- this,
20
- request,
21
- options,
22
- ));
23
- }
24
-
25
- async deleteDeveloperApp(
26
- request: components.V1AccountDeveloperAppDeleteRequestBody,
27
- options?: RequestOptions,
28
- ): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
29
- return unwrapAsync(developerDeleteDeveloperApp(
30
- this,
31
- request,
32
- options,
33
- ));
34
- }
35
-
36
- async updateApp(
37
- request: components.V1AccountDeveloperAppUpdateRequestBody,
38
- options?: RequestOptions,
39
- ): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
40
- return unwrapAsync(developerUpdateApp(
41
- this,
42
- request,
43
- options,
44
- ));
45
- }
46
- }
package/src/sdk/event.ts DELETED
@@ -1,22 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { eventAdminV1RemoveVanity } from "../funcs/eventAdminV1RemoveVanity.js";
6
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
- import * as components from "../models/components/index.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { unwrapAsync } from "../types/fp.js";
10
-
11
- export class Event extends ClientSDK {
12
- async adminV1RemoveVanity(
13
- request: components.AccountSearch,
14
- options?: RequestOptions,
15
- ): Promise<operations.AdminV1RemoveVanityResponse> {
16
- return unwrapAsync(eventAdminV1RemoveVanity(
17
- this,
18
- request,
19
- options,
20
- ));
21
- }
22
- }
@@ -1,104 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { externalAppV1ListBadges } from "../funcs/externalAppV1ListBadges.js";
6
- import { externalGet } from "../funcs/externalGet.js";
7
- import { externalGetApps } from "../funcs/externalGetApps.js";
8
- import { externalGetBadges } from "../funcs/externalGetBadges.js";
9
- import { externalGetDataPoints } from "../funcs/externalGetDataPoints.js";
10
- import { externalGetFriends } from "../funcs/externalGetFriends.js";
11
- import { externalGetInfo } from "../funcs/externalGetInfo.js";
12
- import { externalGetLeaderboardHistory } from "../funcs/externalGetLeaderboardHistory.js";
13
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
14
- import * as components from "../models/components/index.js";
15
- import * as operations from "../models/operations/index.js";
16
- import { unwrapAsync } from "../types/fp.js";
17
-
18
- export class External extends ClientSDK {
19
- async getApps(
20
- request: components.V1AccountsAppsRequestBody,
21
- options?: RequestOptions,
22
- ): Promise<operations.AccountV1GetAppsResponse> {
23
- return unwrapAsync(externalGetApps(
24
- this,
25
- request,
26
- options,
27
- ));
28
- }
29
-
30
- async getBadges(
31
- request: components.V1BadgesRequestBody,
32
- options?: RequestOptions,
33
- ): Promise<operations.AccountV1GetBadgesResponse> {
34
- return unwrapAsync(externalGetBadges(
35
- this,
36
- request,
37
- options,
38
- ));
39
- }
40
-
41
- async getDataPoints(
42
- request: components.AccountSearch,
43
- options?: RequestOptions,
44
- ): Promise<operations.AccountV1GetDataPointsResponse> {
45
- return unwrapAsync(externalGetDataPoints(
46
- this,
47
- request,
48
- options,
49
- ));
50
- }
51
-
52
- async getFriends(
53
- request: components.AccountSearch,
54
- options?: RequestOptions,
55
- ): Promise<operations.AccountV1GetFriendsResponse> {
56
- return unwrapAsync(externalGetFriends(
57
- this,
58
- request,
59
- options,
60
- ));
61
- }
62
-
63
- async getInfo(
64
- request: components.AccountSearch,
65
- options?: RequestOptions,
66
- ): Promise<operations.AccountV1GetInfoResponse> {
67
- return unwrapAsync(externalGetInfo(
68
- this,
69
- request,
70
- options,
71
- ));
72
- }
73
-
74
- async getLeaderboardHistory(
75
- request: components.AccountSearch,
76
- options?: RequestOptions,
77
- ): Promise<operations.AccountV1GetLeaderboardHistoryResponse> {
78
- return unwrapAsync(externalGetLeaderboardHistory(
79
- this,
80
- request,
81
- options,
82
- ));
83
- }
84
-
85
- async appV1ListBadges(
86
- request: components.V1AppBadgeListRequestBody,
87
- options?: RequestOptions,
88
- ): Promise<operations.AppV1ListBadgesResponse> {
89
- return unwrapAsync(externalAppV1ListBadges(
90
- this,
91
- request,
92
- options,
93
- ));
94
- }
95
-
96
- async get(
97
- options?: RequestOptions,
98
- ): Promise<operations.StatsV1StatsGetResponse> {
99
- return unwrapAsync(externalGet(
100
- this,
101
- options,
102
- ));
103
- }
104
- }
@@ -1,178 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { internalAccountV1GetMeta } from "../funcs/internalAccountV1GetMeta.js";
6
- import { internalAdminV1RemoveVanity } from "../funcs/internalAdminV1RemoveVanity.js";
7
- import { internalBadgeV1SearchSuggest } from "../funcs/internalBadgeV1SearchSuggest.js";
8
- import { internalBadgeV1TagsSuggest } from "../funcs/internalBadgeV1TagsSuggest.js";
9
- import { internalCheck } from "../funcs/internalCheck.js";
10
- import { internalCreateDeveloperApp } from "../funcs/internalCreateDeveloperApp.js";
11
- import { internalDeleteDeveloperApp } from "../funcs/internalDeleteDeveloperApp.js";
12
- import { internalDeleteImages } from "../funcs/internalDeleteImages.js";
13
- import { internalGetAccount } from "../funcs/internalGetAccount.js";
14
- import { internalGetStaff } from "../funcs/internalGetStaff.js";
15
- import { internalGetTags } from "../funcs/internalGetTags.js";
16
- import { internalLeaderboardV1GetLeaderboardAccountMeta } from "../funcs/internalLeaderboardV1GetLeaderboardAccountMeta.js";
17
- import { internalUpdateApp } from "../funcs/internalUpdateApp.js";
18
- import { internalUploadImages } from "../funcs/internalUploadImages.js";
19
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
20
- import * as components from "../models/components/index.js";
21
- import * as operations from "../models/operations/index.js";
22
- import { unwrapAsync } from "../types/fp.js";
23
-
24
- export class Internal extends ClientSDK {
25
- async createDeveloperApp(
26
- request: components.V1DeveloperAppCreateRequestBody,
27
- options?: RequestOptions,
28
- ): Promise<operations.AccountV1SettingsDeveloperAppCreateResponse> {
29
- return unwrapAsync(internalCreateDeveloperApp(
30
- this,
31
- request,
32
- options,
33
- ));
34
- }
35
-
36
- async deleteDeveloperApp(
37
- request: components.V1AccountDeveloperAppDeleteRequestBody,
38
- options?: RequestOptions,
39
- ): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
40
- return unwrapAsync(internalDeleteDeveloperApp(
41
- this,
42
- request,
43
- options,
44
- ));
45
- }
46
-
47
- async deleteImages(
48
- request: components.V1DeleteImagesRequestBody,
49
- options?: RequestOptions,
50
- ): Promise<operations.AccountV1ImagesDeleteResponse> {
51
- return unwrapAsync(internalDeleteImages(
52
- this,
53
- request,
54
- options,
55
- ));
56
- }
57
-
58
- async updateApp(
59
- request: components.V1AccountDeveloperAppUpdateRequestBody,
60
- options?: RequestOptions,
61
- ): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
62
- return unwrapAsync(internalUpdateApp(
63
- this,
64
- request,
65
- options,
66
- ));
67
- }
68
-
69
- async accountV1GetMeta(
70
- request: components.AccountSearch,
71
- options?: RequestOptions,
72
- ): Promise<operations.AccountV1GetMetaResponse> {
73
- return unwrapAsync(internalAccountV1GetMeta(
74
- this,
75
- request,
76
- options,
77
- ));
78
- }
79
-
80
- async getStaff(
81
- options?: RequestOptions,
82
- ): Promise<operations.AccountV1GetStaffResponse> {
83
- return unwrapAsync(internalGetStaff(
84
- this,
85
- options,
86
- ));
87
- }
88
-
89
- async uploadImages(
90
- request: components.V1UploadImagesRequestBody,
91
- options?: RequestOptions,
92
- ): Promise<operations.AccountV1ImagesUploadResponse> {
93
- return unwrapAsync(internalUploadImages(
94
- this,
95
- request,
96
- options,
97
- ));
98
- }
99
-
100
- async getAccount(
101
- request: components.AccountSearch,
102
- options?: RequestOptions,
103
- ): Promise<operations.AdminV1GetAccountResponse> {
104
- return unwrapAsync(internalGetAccount(
105
- this,
106
- request,
107
- options,
108
- ));
109
- }
110
-
111
- async adminV1RemoveVanity(
112
- request: components.AccountSearch,
113
- options?: RequestOptions,
114
- ): Promise<operations.AdminV1RemoveVanityResponse> {
115
- return unwrapAsync(internalAdminV1RemoveVanity(
116
- this,
117
- request,
118
- options,
119
- ));
120
- }
121
-
122
- async getTags(
123
- options?: RequestOptions,
124
- ): Promise<operations.BadgeV1TagsResponse> {
125
- return unwrapAsync(internalGetTags(
126
- this,
127
- options,
128
- ));
129
- }
130
-
131
- async badgeV1SearchSuggest(
132
- request: components.V1BadgeSearchSuggesttRequestBody,
133
- options?: RequestOptions,
134
- ): Promise<operations.BadgeV1SearchSuggestResponse> {
135
- return unwrapAsync(internalBadgeV1SearchSuggest(
136
- this,
137
- request,
138
- options,
139
- ));
140
- }
141
-
142
- async badgeV1TagsSuggest(
143
- request: components.V1BadgeTagsSuggestRequestBody,
144
- options?: RequestOptions,
145
- ): Promise<operations.BadgeV1TagsSuggestResponse> {
146
- return unwrapAsync(internalBadgeV1TagsSuggest(
147
- this,
148
- request,
149
- options,
150
- ));
151
- }
152
-
153
- async leaderboardV1GetLeaderboardAccountMeta(
154
- request: components.V1LeaderboardAccountMetaRequestBody,
155
- options?: RequestOptions,
156
- ): Promise<operations.LeaderboardV1GetLeaderboardAccountMetaResponse> {
157
- return unwrapAsync(internalLeaderboardV1GetLeaderboardAccountMeta(
158
- this,
159
- request,
160
- options,
161
- ));
162
- }
163
-
164
- /**
165
- * Liveness check
166
- *
167
- * @remarks
168
- * This endpoint checks if the service is alive.
169
- */
170
- async check(
171
- options?: RequestOptions,
172
- ): Promise<operations.LivenessResponse> {
173
- return unwrapAsync(internalCheck(
174
- this,
175
- options,
176
- ));
177
- }
178
- }