@steamsets/client-ts 0.5.1 → 0.5.3

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 (124) hide show
  1. package/README.md +12 -0
  2. package/docs/sdks/account/README.md +160 -2
  3. package/docs/sdks/data/README.md +160 -2
  4. package/docs/sdks/public/README.md +160 -2
  5. package/funcs/accountAccountV1GetApps.js +2 -2
  6. package/funcs/accountAccountV1GetApps.js.map +1 -1
  7. package/funcs/accountAccountV1GetBadges.js +2 -2
  8. package/funcs/accountAccountV1GetBadges.js.map +1 -1
  9. package/funcs/accountAccountV1GetFriends.d.ts +13 -0
  10. package/funcs/accountAccountV1GetFriends.d.ts.map +1 -0
  11. package/funcs/accountAccountV1GetFriends.js +105 -0
  12. package/funcs/accountAccountV1GetFriends.js.map +1 -0
  13. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +13 -0
  14. package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  15. package/funcs/accountAccountV1GetLeaderboardHistory.js +105 -0
  16. package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -0
  17. package/funcs/dataAccountV1GetApps.js +2 -2
  18. package/funcs/dataAccountV1GetApps.js.map +1 -1
  19. package/funcs/dataAccountV1GetBadges.js +2 -2
  20. package/funcs/dataAccountV1GetBadges.js.map +1 -1
  21. package/funcs/dataAccountV1GetFriends.d.ts +13 -0
  22. package/funcs/dataAccountV1GetFriends.d.ts.map +1 -0
  23. package/funcs/dataAccountV1GetFriends.js +105 -0
  24. package/funcs/dataAccountV1GetFriends.js.map +1 -0
  25. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +13 -0
  26. package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  27. package/funcs/dataAccountV1GetLeaderboardHistory.js +105 -0
  28. package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -0
  29. package/funcs/publicAccountV1GetApps.js +2 -2
  30. package/funcs/publicAccountV1GetApps.js.map +1 -1
  31. package/funcs/publicAccountV1GetBadges.js +2 -2
  32. package/funcs/publicAccountV1GetBadges.js.map +1 -1
  33. package/funcs/publicAccountV1GetFriends.d.ts +13 -0
  34. package/funcs/publicAccountV1GetFriends.d.ts.map +1 -0
  35. package/funcs/publicAccountV1GetFriends.js +105 -0
  36. package/funcs/publicAccountV1GetFriends.js.map +1 -0
  37. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +13 -0
  38. package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -0
  39. package/funcs/publicAccountV1GetLeaderboardHistory.js +105 -0
  40. package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -0
  41. package/lib/config.d.ts +3 -3
  42. package/lib/config.js +3 -3
  43. package/models/components/accountleaderboardhistory.d.ts +96 -0
  44. package/models/components/accountleaderboardhistory.d.ts.map +1 -0
  45. package/models/components/accountleaderboardhistory.js +91 -0
  46. package/models/components/accountleaderboardhistory.js.map +1 -0
  47. package/models/components/index.d.ts +5 -1
  48. package/models/components/index.d.ts.map +1 -1
  49. package/models/components/index.js +5 -1
  50. package/models/components/index.js.map +1 -1
  51. package/models/components/v1accountapp.d.ts +53 -0
  52. package/models/components/v1accountapp.d.ts.map +1 -0
  53. package/models/components/{v1app.js → v1accountapp.js} +11 -11
  54. package/models/components/v1accountapp.js.map +1 -0
  55. package/models/components/v1accountfriend.d.ts +198 -0
  56. package/models/components/v1accountfriend.d.ts.map +1 -0
  57. package/models/components/v1accountfriend.js +133 -0
  58. package/models/components/v1accountfriend.js.map +1 -0
  59. package/models/components/v1accountfriendsresponsebody.d.ts +31 -0
  60. package/models/components/v1accountfriendsresponsebody.d.ts.map +1 -0
  61. package/models/components/v1accountfriendsresponsebody.js +66 -0
  62. package/models/components/v1accountfriendsresponsebody.js.map +1 -0
  63. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts +31 -0
  64. package/models/components/v1accountleaderboardhistoryresponsebody.d.ts.map +1 -0
  65. package/models/components/v1accountleaderboardhistoryresponsebody.js +66 -0
  66. package/models/components/v1accountleaderboardhistoryresponsebody.js.map +1 -0
  67. package/models/components/v1accountsappsresponsebody.d.ts +3 -3
  68. package/models/components/v1accountsappsresponsebody.d.ts.map +1 -1
  69. package/models/components/v1accountsappsresponsebody.js +3 -3
  70. package/models/components/v1accountsappsresponsebody.js.map +1 -1
  71. package/models/operations/accountv1getfriends.d.ts +58 -0
  72. package/models/operations/accountv1getfriends.d.ts.map +1 -0
  73. package/models/operations/accountv1getfriends.js +107 -0
  74. package/models/operations/accountv1getfriends.js.map +1 -0
  75. package/models/operations/accountv1getleaderboardhistory.d.ts +58 -0
  76. package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -0
  77. package/models/operations/accountv1getleaderboardhistory.js +107 -0
  78. package/models/operations/accountv1getleaderboardhistory.js.map +1 -0
  79. package/models/operations/index.d.ts +2 -0
  80. package/models/operations/index.d.ts.map +1 -1
  81. package/models/operations/index.js +2 -0
  82. package/models/operations/index.js.map +1 -1
  83. package/package.json +1 -1
  84. package/sdk/account.d.ts +8 -0
  85. package/sdk/account.d.ts.map +1 -1
  86. package/sdk/account.js +14 -0
  87. package/sdk/account.js.map +1 -1
  88. package/sdk/data.d.ts +8 -0
  89. package/sdk/data.d.ts.map +1 -1
  90. package/sdk/data.js +14 -0
  91. package/sdk/data.js.map +1 -1
  92. package/sdk/public.d.ts +8 -0
  93. package/sdk/public.d.ts.map +1 -1
  94. package/sdk/public.js +14 -0
  95. package/sdk/public.js.map +1 -1
  96. package/src/funcs/accountAccountV1GetApps.ts +2 -2
  97. package/src/funcs/accountAccountV1GetBadges.ts +2 -2
  98. package/src/funcs/accountAccountV1GetFriends.ts +139 -0
  99. package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +139 -0
  100. package/src/funcs/dataAccountV1GetApps.ts +2 -2
  101. package/src/funcs/dataAccountV1GetBadges.ts +2 -2
  102. package/src/funcs/dataAccountV1GetFriends.ts +139 -0
  103. package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +139 -0
  104. package/src/funcs/publicAccountV1GetApps.ts +2 -2
  105. package/src/funcs/publicAccountV1GetBadges.ts +2 -2
  106. package/src/funcs/publicAccountV1GetFriends.ts +139 -0
  107. package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +139 -0
  108. package/src/lib/config.ts +3 -3
  109. package/src/models/components/accountleaderboardhistory.ts +103 -0
  110. package/src/models/components/index.ts +5 -1
  111. package/src/models/components/{v1app.ts → v1accountapp.ts} +15 -11
  112. package/src/models/components/v1accountfriend.ts +307 -0
  113. package/src/models/components/v1accountfriendsresponsebody.ts +71 -0
  114. package/src/models/components/v1accountleaderboardhistoryresponsebody.ts +71 -0
  115. package/src/models/components/v1accountsappsresponsebody.ts +10 -5
  116. package/src/models/operations/accountv1getfriends.ts +134 -0
  117. package/src/models/operations/accountv1getleaderboardhistory.ts +138 -0
  118. package/src/models/operations/index.ts +2 -0
  119. package/src/sdk/account.ts +22 -0
  120. package/src/sdk/data.ts +22 -0
  121. package/src/sdk/public.ts +22 -0
  122. package/models/components/v1app.d.ts +0 -53
  123. package/models/components/v1app.d.ts.map +0 -1
  124. package/models/components/v1app.js.map +0 -1
@@ -0,0 +1,134 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import * as components from "../components/index.js";
7
+ import * as z from "zod";
8
+
9
+ export type AccountV1GetFriendsRequest = {
10
+ xForwardedFor?: string | undefined;
11
+ userAgent?: string | undefined;
12
+ accountSearch: components.AccountSearch;
13
+ };
14
+
15
+ export type AccountV1GetFriendsResponse = {
16
+ httpMeta: components.HTTPMetadata;
17
+ /**
18
+ * OK
19
+ */
20
+ v1AccountFriendsResponseBody?: components.V1AccountFriendsResponseBody | undefined;
21
+ };
22
+
23
+ /** @internal */
24
+ export const AccountV1GetFriendsRequest$inboundSchema: z.ZodType<
25
+ AccountV1GetFriendsRequest,
26
+ z.ZodTypeDef,
27
+ unknown
28
+ > = z
29
+ .object({
30
+ "X-Forwarded-For": z.string().optional(),
31
+ "User-Agent": z.string().optional(),
32
+ AccountSearch: components.AccountSearch$inboundSchema,
33
+ })
34
+ .transform((v) => {
35
+ return remap$(v, {
36
+ "X-Forwarded-For": "xForwardedFor",
37
+ "User-Agent": "userAgent",
38
+ AccountSearch: "accountSearch",
39
+ });
40
+ });
41
+
42
+ /** @internal */
43
+ export type AccountV1GetFriendsRequest$Outbound = {
44
+ "X-Forwarded-For"?: string | undefined;
45
+ "User-Agent"?: string | undefined;
46
+ AccountSearch: components.AccountSearch$Outbound;
47
+ };
48
+
49
+ /** @internal */
50
+ export const AccountV1GetFriendsRequest$outboundSchema: z.ZodType<
51
+ AccountV1GetFriendsRequest$Outbound,
52
+ z.ZodTypeDef,
53
+ AccountV1GetFriendsRequest
54
+ > = z
55
+ .object({
56
+ xForwardedFor: z.string().optional(),
57
+ userAgent: z.string().optional(),
58
+ accountSearch: components.AccountSearch$outboundSchema,
59
+ })
60
+ .transform((v) => {
61
+ return remap$(v, {
62
+ xForwardedFor: "X-Forwarded-For",
63
+ userAgent: "User-Agent",
64
+ accountSearch: "AccountSearch",
65
+ });
66
+ });
67
+
68
+ /**
69
+ * @internal
70
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
+ */
72
+ export namespace AccountV1GetFriendsRequest$ {
73
+ /** @deprecated use `AccountV1GetFriendsRequest$inboundSchema` instead. */
74
+ export const inboundSchema = AccountV1GetFriendsRequest$inboundSchema;
75
+ /** @deprecated use `AccountV1GetFriendsRequest$outboundSchema` instead. */
76
+ export const outboundSchema = AccountV1GetFriendsRequest$outboundSchema;
77
+ /** @deprecated use `AccountV1GetFriendsRequest$Outbound` instead. */
78
+ export type Outbound = AccountV1GetFriendsRequest$Outbound;
79
+ }
80
+
81
+ /** @internal */
82
+ export const AccountV1GetFriendsResponse$inboundSchema: z.ZodType<
83
+ AccountV1GetFriendsResponse,
84
+ z.ZodTypeDef,
85
+ unknown
86
+ > = z
87
+ .object({
88
+ HttpMeta: components.HTTPMetadata$inboundSchema,
89
+ V1AccountFriendsResponseBody:
90
+ components.V1AccountFriendsResponseBody$inboundSchema.optional(),
91
+ })
92
+ .transform((v) => {
93
+ return remap$(v, {
94
+ HttpMeta: "httpMeta",
95
+ V1AccountFriendsResponseBody: "v1AccountFriendsResponseBody",
96
+ });
97
+ });
98
+
99
+ /** @internal */
100
+ export type AccountV1GetFriendsResponse$Outbound = {
101
+ HttpMeta: components.HTTPMetadata$Outbound;
102
+ V1AccountFriendsResponseBody?: components.V1AccountFriendsResponseBody$Outbound | undefined;
103
+ };
104
+
105
+ /** @internal */
106
+ export const AccountV1GetFriendsResponse$outboundSchema: z.ZodType<
107
+ AccountV1GetFriendsResponse$Outbound,
108
+ z.ZodTypeDef,
109
+ AccountV1GetFriendsResponse
110
+ > = z
111
+ .object({
112
+ httpMeta: components.HTTPMetadata$outboundSchema,
113
+ v1AccountFriendsResponseBody:
114
+ components.V1AccountFriendsResponseBody$outboundSchema.optional(),
115
+ })
116
+ .transform((v) => {
117
+ return remap$(v, {
118
+ httpMeta: "HttpMeta",
119
+ v1AccountFriendsResponseBody: "V1AccountFriendsResponseBody",
120
+ });
121
+ });
122
+
123
+ /**
124
+ * @internal
125
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
126
+ */
127
+ export namespace AccountV1GetFriendsResponse$ {
128
+ /** @deprecated use `AccountV1GetFriendsResponse$inboundSchema` instead. */
129
+ export const inboundSchema = AccountV1GetFriendsResponse$inboundSchema;
130
+ /** @deprecated use `AccountV1GetFriendsResponse$outboundSchema` instead. */
131
+ export const outboundSchema = AccountV1GetFriendsResponse$outboundSchema;
132
+ /** @deprecated use `AccountV1GetFriendsResponse$Outbound` instead. */
133
+ export type Outbound = AccountV1GetFriendsResponse$Outbound;
134
+ }
@@ -0,0 +1,138 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { remap as remap$ } from "../../lib/primitives.js";
6
+ import * as components from "../components/index.js";
7
+ import * as z from "zod";
8
+
9
+ export type AccountV1GetLeaderboardHistoryRequest = {
10
+ xForwardedFor?: string | undefined;
11
+ userAgent?: string | undefined;
12
+ accountSearch: components.AccountSearch;
13
+ };
14
+
15
+ export type AccountV1GetLeaderboardHistoryResponse = {
16
+ httpMeta: components.HTTPMetadata;
17
+ /**
18
+ * OK
19
+ */
20
+ v1AccountLeaderboardHistoryResponseBody?:
21
+ | components.V1AccountLeaderboardHistoryResponseBody
22
+ | undefined;
23
+ };
24
+
25
+ /** @internal */
26
+ export const AccountV1GetLeaderboardHistoryRequest$inboundSchema: z.ZodType<
27
+ AccountV1GetLeaderboardHistoryRequest,
28
+ z.ZodTypeDef,
29
+ unknown
30
+ > = z
31
+ .object({
32
+ "X-Forwarded-For": z.string().optional(),
33
+ "User-Agent": z.string().optional(),
34
+ AccountSearch: components.AccountSearch$inboundSchema,
35
+ })
36
+ .transform((v) => {
37
+ return remap$(v, {
38
+ "X-Forwarded-For": "xForwardedFor",
39
+ "User-Agent": "userAgent",
40
+ AccountSearch: "accountSearch",
41
+ });
42
+ });
43
+
44
+ /** @internal */
45
+ export type AccountV1GetLeaderboardHistoryRequest$Outbound = {
46
+ "X-Forwarded-For"?: string | undefined;
47
+ "User-Agent"?: string | undefined;
48
+ AccountSearch: components.AccountSearch$Outbound;
49
+ };
50
+
51
+ /** @internal */
52
+ export const AccountV1GetLeaderboardHistoryRequest$outboundSchema: z.ZodType<
53
+ AccountV1GetLeaderboardHistoryRequest$Outbound,
54
+ z.ZodTypeDef,
55
+ AccountV1GetLeaderboardHistoryRequest
56
+ > = z
57
+ .object({
58
+ xForwardedFor: z.string().optional(),
59
+ userAgent: z.string().optional(),
60
+ accountSearch: components.AccountSearch$outboundSchema,
61
+ })
62
+ .transform((v) => {
63
+ return remap$(v, {
64
+ xForwardedFor: "X-Forwarded-For",
65
+ userAgent: "User-Agent",
66
+ accountSearch: "AccountSearch",
67
+ });
68
+ });
69
+
70
+ /**
71
+ * @internal
72
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
73
+ */
74
+ export namespace AccountV1GetLeaderboardHistoryRequest$ {
75
+ /** @deprecated use `AccountV1GetLeaderboardHistoryRequest$inboundSchema` instead. */
76
+ export const inboundSchema = AccountV1GetLeaderboardHistoryRequest$inboundSchema;
77
+ /** @deprecated use `AccountV1GetLeaderboardHistoryRequest$outboundSchema` instead. */
78
+ export const outboundSchema = AccountV1GetLeaderboardHistoryRequest$outboundSchema;
79
+ /** @deprecated use `AccountV1GetLeaderboardHistoryRequest$Outbound` instead. */
80
+ export type Outbound = AccountV1GetLeaderboardHistoryRequest$Outbound;
81
+ }
82
+
83
+ /** @internal */
84
+ export const AccountV1GetLeaderboardHistoryResponse$inboundSchema: z.ZodType<
85
+ AccountV1GetLeaderboardHistoryResponse,
86
+ z.ZodTypeDef,
87
+ unknown
88
+ > = z
89
+ .object({
90
+ HttpMeta: components.HTTPMetadata$inboundSchema,
91
+ V1AccountLeaderboardHistoryResponseBody:
92
+ components.V1AccountLeaderboardHistoryResponseBody$inboundSchema.optional(),
93
+ })
94
+ .transform((v) => {
95
+ return remap$(v, {
96
+ HttpMeta: "httpMeta",
97
+ V1AccountLeaderboardHistoryResponseBody: "v1AccountLeaderboardHistoryResponseBody",
98
+ });
99
+ });
100
+
101
+ /** @internal */
102
+ export type AccountV1GetLeaderboardHistoryResponse$Outbound = {
103
+ HttpMeta: components.HTTPMetadata$Outbound;
104
+ V1AccountLeaderboardHistoryResponseBody?:
105
+ | components.V1AccountLeaderboardHistoryResponseBody$Outbound
106
+ | undefined;
107
+ };
108
+
109
+ /** @internal */
110
+ export const AccountV1GetLeaderboardHistoryResponse$outboundSchema: z.ZodType<
111
+ AccountV1GetLeaderboardHistoryResponse$Outbound,
112
+ z.ZodTypeDef,
113
+ AccountV1GetLeaderboardHistoryResponse
114
+ > = z
115
+ .object({
116
+ httpMeta: components.HTTPMetadata$outboundSchema,
117
+ v1AccountLeaderboardHistoryResponseBody:
118
+ components.V1AccountLeaderboardHistoryResponseBody$outboundSchema.optional(),
119
+ })
120
+ .transform((v) => {
121
+ return remap$(v, {
122
+ httpMeta: "HttpMeta",
123
+ v1AccountLeaderboardHistoryResponseBody: "V1AccountLeaderboardHistoryResponseBody",
124
+ });
125
+ });
126
+
127
+ /**
128
+ * @internal
129
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
130
+ */
131
+ export namespace AccountV1GetLeaderboardHistoryResponse$ {
132
+ /** @deprecated use `AccountV1GetLeaderboardHistoryResponse$inboundSchema` instead. */
133
+ export const inboundSchema = AccountV1GetLeaderboardHistoryResponse$inboundSchema;
134
+ /** @deprecated use `AccountV1GetLeaderboardHistoryResponse$outboundSchema` instead. */
135
+ export const outboundSchema = AccountV1GetLeaderboardHistoryResponse$outboundSchema;
136
+ /** @deprecated use `AccountV1GetLeaderboardHistoryResponse$Outbound` instead. */
137
+ export type Outbound = AccountV1GetLeaderboardHistoryResponse$Outbound;
138
+ }
@@ -8,7 +8,9 @@ export * from "./accountv1connectionupdateconnection.js";
8
8
  export * from "./accountv1connectionverifyconnection.js";
9
9
  export * from "./accountv1getapps.js";
10
10
  export * from "./accountv1getbadges.js";
11
+ export * from "./accountv1getfriends.js";
11
12
  export * from "./accountv1getinfo.js";
13
+ export * from "./accountv1getleaderboardhistory.js";
12
14
  export * from "./accountv1getstaff.js";
13
15
  export * from "./accountv1sessioncreate.js";
14
16
  export * from "./accountv1sessiondelete.js";
@@ -8,7 +8,9 @@ import { accountAccountV1ConnectionUpdateConnection } from "../funcs/accountAcco
8
8
  import { accountAccountV1ConnectionVerifyConnection } from "../funcs/accountAccountV1ConnectionVerifyConnection.js";
9
9
  import { accountAccountV1GetApps } from "../funcs/accountAccountV1GetApps.js";
10
10
  import { accountAccountV1GetBadges } from "../funcs/accountAccountV1GetBadges.js";
11
+ import { accountAccountV1GetFriends } from "../funcs/accountAccountV1GetFriends.js";
11
12
  import { accountAccountV1GetInfo } from "../funcs/accountAccountV1GetInfo.js";
13
+ import { accountAccountV1GetLeaderboardHistory } from "../funcs/accountAccountV1GetLeaderboardHistory.js";
12
14
  import { accountAccountV1GetStaff } from "../funcs/accountAccountV1GetStaff.js";
13
15
  import { accountAccountV1SessionCreate } from "../funcs/accountAccountV1SessionCreate.js";
14
16
  import { accountAccountV1SessionDelete } from "../funcs/accountAccountV1SessionDelete.js";
@@ -107,6 +109,16 @@ export class Account extends ClientSDK {
107
109
  return unwrapAsync(accountAccountV1GetBadges(this, request, options));
108
110
  }
109
111
 
112
+ /**
113
+ * Get Account Friends
114
+ */
115
+ async accountV1GetFriends(
116
+ request: operations.AccountV1GetFriendsRequest,
117
+ options?: RequestOptions
118
+ ): Promise<operations.AccountV1GetFriendsResponse> {
119
+ return unwrapAsync(accountAccountV1GetFriends(this, request, options));
120
+ }
121
+
110
122
  /**
111
123
  * Get Account Info
112
124
  */
@@ -117,6 +129,16 @@ export class Account extends ClientSDK {
117
129
  return unwrapAsync(accountAccountV1GetInfo(this, request, options));
118
130
  }
119
131
 
132
+ /**
133
+ * Get Account Leaderboard History
134
+ */
135
+ async accountV1GetLeaderboardHistory(
136
+ request: operations.AccountV1GetLeaderboardHistoryRequest,
137
+ options?: RequestOptions
138
+ ): Promise<operations.AccountV1GetLeaderboardHistoryResponse> {
139
+ return unwrapAsync(accountAccountV1GetLeaderboardHistory(this, request, options));
140
+ }
141
+
120
142
  /**
121
143
  * Gets all session data
122
144
  */
package/src/sdk/data.ts CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  import { dataAccountV1GetApps } from "../funcs/dataAccountV1GetApps.js";
6
6
  import { dataAccountV1GetBadges } from "../funcs/dataAccountV1GetBadges.js";
7
+ import { dataAccountV1GetFriends } from "../funcs/dataAccountV1GetFriends.js";
7
8
  import { dataAccountV1GetInfo } from "../funcs/dataAccountV1GetInfo.js";
9
+ import { dataAccountV1GetLeaderboardHistory } from "../funcs/dataAccountV1GetLeaderboardHistory.js";
8
10
  import { dataAccountV1GetStaff } from "../funcs/dataAccountV1GetStaff.js";
9
11
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
12
  import * as components from "../models/components/index.js";
@@ -32,6 +34,16 @@ export class Data extends ClientSDK {
32
34
  return unwrapAsync(dataAccountV1GetBadges(this, request, options));
33
35
  }
34
36
 
37
+ /**
38
+ * Get Account Friends
39
+ */
40
+ async accountV1GetFriends(
41
+ request: operations.AccountV1GetFriendsRequest,
42
+ options?: RequestOptions
43
+ ): Promise<operations.AccountV1GetFriendsResponse> {
44
+ return unwrapAsync(dataAccountV1GetFriends(this, request, options));
45
+ }
46
+
35
47
  /**
36
48
  * Get Account Info
37
49
  */
@@ -42,6 +54,16 @@ export class Data extends ClientSDK {
42
54
  return unwrapAsync(dataAccountV1GetInfo(this, request, options));
43
55
  }
44
56
 
57
+ /**
58
+ * Get Account Leaderboard History
59
+ */
60
+ async accountV1GetLeaderboardHistory(
61
+ request: operations.AccountV1GetLeaderboardHistoryRequest,
62
+ options?: RequestOptions
63
+ ): Promise<operations.AccountV1GetLeaderboardHistoryResponse> {
64
+ return unwrapAsync(dataAccountV1GetLeaderboardHistory(this, request, options));
65
+ }
66
+
45
67
  /**
46
68
  * Get Staff Members and their info
47
69
  */
package/src/sdk/public.ts CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
  import { publicAccountV1GetApps } from "../funcs/publicAccountV1GetApps.js";
6
6
  import { publicAccountV1GetBadges } from "../funcs/publicAccountV1GetBadges.js";
7
+ import { publicAccountV1GetFriends } from "../funcs/publicAccountV1GetFriends.js";
7
8
  import { publicAccountV1GetInfo } from "../funcs/publicAccountV1GetInfo.js";
9
+ import { publicAccountV1GetLeaderboardHistory } from "../funcs/publicAccountV1GetLeaderboardHistory.js";
8
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
9
11
  import * as components from "../models/components/index.js";
10
12
  import * as operations from "../models/operations/index.js";
@@ -31,6 +33,16 @@ export class Public extends ClientSDK {
31
33
  return unwrapAsync(publicAccountV1GetBadges(this, request, options));
32
34
  }
33
35
 
36
+ /**
37
+ * Get Account Friends
38
+ */
39
+ async accountV1GetFriends(
40
+ request: operations.AccountV1GetFriendsRequest,
41
+ options?: RequestOptions
42
+ ): Promise<operations.AccountV1GetFriendsResponse> {
43
+ return unwrapAsync(publicAccountV1GetFriends(this, request, options));
44
+ }
45
+
34
46
  /**
35
47
  * Get Account Info
36
48
  */
@@ -40,4 +52,14 @@ export class Public extends ClientSDK {
40
52
  ): Promise<operations.AccountV1GetInfoResponse> {
41
53
  return unwrapAsync(publicAccountV1GetInfo(this, request, options));
42
54
  }
55
+
56
+ /**
57
+ * Get Account Leaderboard History
58
+ */
59
+ async accountV1GetLeaderboardHistory(
60
+ request: operations.AccountV1GetLeaderboardHistoryRequest,
61
+ options?: RequestOptions
62
+ ): Promise<operations.AccountV1GetLeaderboardHistoryResponse> {
63
+ return unwrapAsync(publicAccountV1GetLeaderboardHistory(this, request, options));
64
+ }
43
65
  }
@@ -1,53 +0,0 @@
1
- import * as z from "zod";
2
- export type V1App = {
3
- /**
4
- * The Steam App ID
5
- */
6
- id: number;
7
- /**
8
- * The App's image URL
9
- */
10
- image: string;
11
- /**
12
- * The App's name
13
- */
14
- name: string;
15
- /**
16
- * The Account's playtime in the App
17
- */
18
- playtime: number;
19
- /**
20
- * How much the app costs
21
- */
22
- price: number;
23
- /**
24
- * The App's short name
25
- */
26
- shortName: string;
27
- };
28
- /** @internal */
29
- export declare const V1App$inboundSchema: z.ZodType<V1App, z.ZodTypeDef, unknown>;
30
- /** @internal */
31
- export type V1App$Outbound = {
32
- id: number;
33
- image: string;
34
- name: string;
35
- playtime: number;
36
- price: number;
37
- shortName: string;
38
- };
39
- /** @internal */
40
- export declare const V1App$outboundSchema: z.ZodType<V1App$Outbound, z.ZodTypeDef, V1App>;
41
- /**
42
- * @internal
43
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
- */
45
- export declare namespace V1App$ {
46
- /** @deprecated use `V1App$inboundSchema` instead. */
47
- const inboundSchema: z.ZodType<V1App, z.ZodTypeDef, unknown>;
48
- /** @deprecated use `V1App$outboundSchema` instead. */
49
- const outboundSchema: z.ZodType<V1App$Outbound, z.ZodTypeDef, V1App>;
50
- /** @deprecated use `V1App$Outbound` instead. */
51
- type Outbound = V1App$Outbound;
52
- }
53
- //# sourceMappingURL=v1app.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"v1app.d.ts","sourceRoot":"","sources":["../../src/models/components/v1app.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,KAAK,GAAG;IAChB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAOtE,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,UAAU,EAAE,KAAK,CAO9E,CAAC;AAEH;;;GAGG;AACH,yBAAiB,MAAM,CAAC;IACpB,qDAAqD;IAC9C,MAAM,aAAa,yCAAsB,CAAC;IACjD,sDAAsD;IAC/C,MAAM,cAAc,gDAAuB,CAAC;IACnD,gDAAgD;IAChD,KAAY,QAAQ,GAAG,cAAc,CAAC;CACzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"v1app.js","sourceRoot":"","sources":["../../src/models/components/v1app.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AA6BzB,gBAAgB;AACH,QAAA,mBAAmB,GAA4C,CAAC,CAAC,MAAM,CAAC;IACjF,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,oBAAoB,GAAmD,CAAC,CAAC,MAAM,CAAC;IACzF,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,MAAM,CAOtB;AAPD,WAAiB,MAAM;IACnB,qDAAqD;IACxC,oBAAa,GAAG,2BAAmB,CAAC;IACjD,sDAAsD;IACzC,qBAAc,GAAG,4BAAoB,CAAC;AAGvD,CAAC,EAPgB,MAAM,sBAAN,MAAM,QAOtB"}