@steamsets/client-ts 0.5.0 → 0.5.2
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/README.md +75 -9
- package/docs/sdks/account/README.md +383 -76
- package/docs/sdks/data/README.md +473 -0
- package/docs/sdks/location/README.md +80 -0
- package/docs/sdks/public/README.md +399 -0
- package/docs/sdks/session/README.md +62 -62
- package/funcs/accountAccountV1GetApps.d.ts.map +1 -1
- package/funcs/accountAccountV1GetApps.js +4 -0
- package/funcs/accountAccountV1GetApps.js.map +1 -1
- package/funcs/accountAccountV1GetBadges.d.ts.map +1 -1
- package/funcs/accountAccountV1GetBadges.js +4 -0
- package/funcs/accountAccountV1GetBadges.js.map +1 -1
- package/funcs/accountAccountV1GetFriends.d.ts +13 -0
- package/funcs/accountAccountV1GetFriends.d.ts.map +1 -0
- package/funcs/accountAccountV1GetFriends.js +105 -0
- package/funcs/accountAccountV1GetFriends.js.map +1 -0
- package/funcs/accountAccountV1GetInfo.d.ts +14 -0
- package/funcs/accountAccountV1GetInfo.d.ts.map +1 -0
- package/funcs/accountAccountV1GetInfo.js +96 -0
- package/funcs/accountAccountV1GetInfo.js.map +1 -0
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts +13 -0
- package/funcs/accountAccountV1GetLeaderboardHistory.d.ts.map +1 -0
- package/funcs/accountAccountV1GetLeaderboardHistory.js +105 -0
- package/funcs/accountAccountV1GetLeaderboardHistory.js.map +1 -0
- package/funcs/accountAccountV1GetStaff.d.ts +13 -0
- package/funcs/accountAccountV1GetStaff.d.ts.map +1 -0
- package/funcs/accountAccountV1GetStaff.js +86 -0
- package/funcs/accountAccountV1GetStaff.js.map +1 -0
- package/funcs/accountAccountV1SessionCreate.js +1 -1
- package/funcs/accountAccountV1SessionLogin.js +2 -2
- package/funcs/accountAccountV1SessionLogin.js.map +1 -1
- package/funcs/dataAccountV1GetApps.d.ts +13 -0
- package/funcs/dataAccountV1GetApps.d.ts.map +1 -0
- package/funcs/dataAccountV1GetApps.js +105 -0
- package/funcs/dataAccountV1GetApps.js.map +1 -0
- package/funcs/dataAccountV1GetBadges.d.ts +13 -0
- package/funcs/dataAccountV1GetBadges.d.ts.map +1 -0
- package/funcs/dataAccountV1GetBadges.js +105 -0
- package/funcs/dataAccountV1GetBadges.js.map +1 -0
- package/funcs/dataAccountV1GetFriends.d.ts +13 -0
- package/funcs/dataAccountV1GetFriends.d.ts.map +1 -0
- package/funcs/dataAccountV1GetFriends.js +105 -0
- package/funcs/dataAccountV1GetFriends.js.map +1 -0
- package/funcs/dataAccountV1GetInfo.d.ts +14 -0
- package/funcs/dataAccountV1GetInfo.d.ts.map +1 -0
- package/funcs/dataAccountV1GetInfo.js +96 -0
- package/funcs/dataAccountV1GetInfo.js.map +1 -0
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts +13 -0
- package/funcs/dataAccountV1GetLeaderboardHistory.d.ts.map +1 -0
- package/funcs/dataAccountV1GetLeaderboardHistory.js +105 -0
- package/funcs/dataAccountV1GetLeaderboardHistory.js.map +1 -0
- package/funcs/dataAccountV1GetStaff.d.ts +13 -0
- package/funcs/dataAccountV1GetStaff.d.ts.map +1 -0
- package/funcs/dataAccountV1GetStaff.js +86 -0
- package/funcs/dataAccountV1GetStaff.js.map +1 -0
- package/funcs/locationLocation.d.ts +16 -0
- package/funcs/locationLocation.d.ts.map +1 -0
- package/funcs/locationLocation.js +87 -0
- package/funcs/locationLocation.js.map +1 -0
- package/funcs/publicAccountV1GetApps.d.ts +13 -0
- package/funcs/publicAccountV1GetApps.d.ts.map +1 -0
- package/funcs/publicAccountV1GetApps.js +105 -0
- package/funcs/publicAccountV1GetApps.js.map +1 -0
- package/funcs/publicAccountV1GetBadges.d.ts +13 -0
- package/funcs/publicAccountV1GetBadges.d.ts.map +1 -0
- package/funcs/publicAccountV1GetBadges.js +105 -0
- package/funcs/publicAccountV1GetBadges.js.map +1 -0
- package/funcs/publicAccountV1GetFriends.d.ts +13 -0
- package/funcs/publicAccountV1GetFriends.d.ts.map +1 -0
- package/funcs/publicAccountV1GetFriends.js +105 -0
- package/funcs/publicAccountV1GetFriends.js.map +1 -0
- package/funcs/publicAccountV1GetInfo.d.ts +14 -0
- package/funcs/publicAccountV1GetInfo.d.ts.map +1 -0
- package/funcs/publicAccountV1GetInfo.js +96 -0
- package/funcs/publicAccountV1GetInfo.js.map +1 -0
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts +13 -0
- package/funcs/publicAccountV1GetLeaderboardHistory.d.ts.map +1 -0
- package/funcs/publicAccountV1GetLeaderboardHistory.js +105 -0
- package/funcs/publicAccountV1GetLeaderboardHistory.js.map +1 -0
- package/funcs/sessionAccountV1SessionCreate.js +1 -1
- package/funcs/sessionAccountV1SessionLogin.js +2 -2
- package/funcs/sessionAccountV1SessionLogin.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/security.d.ts +6 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +5 -0
- package/lib/security.js.map +1 -1
- package/models/components/accountinfobody.d.ts +379 -0
- package/models/components/accountinfobody.d.ts.map +1 -0
- package/models/components/accountinfobody.js +254 -0
- package/models/components/accountinfobody.js.map +1 -0
- package/models/components/accountleaderboardhistory.d.ts +96 -0
- package/models/components/accountleaderboardhistory.d.ts.map +1 -0
- package/models/components/accountleaderboardhistory.js +91 -0
- package/models/components/accountleaderboardhistory.js.map +1 -0
- package/models/components/bestleaderboardrank.d.ts +110 -0
- package/models/components/bestleaderboardrank.d.ts.map +1 -0
- package/models/components/bestleaderboardrank.js +89 -0
- package/models/components/bestleaderboardrank.js.map +1 -0
- package/models/components/city.d.ts +28 -0
- package/models/components/city.d.ts.map +1 -0
- package/models/components/city.js +50 -0
- package/models/components/city.js.map +1 -0
- package/models/components/country.d.ts +43 -0
- package/models/components/country.d.ts.map +1 -0
- package/models/components/country.js +55 -0
- package/models/components/country.js.map +1 -0
- package/models/components/index.d.ts +14 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +14 -1
- package/models/components/index.js.map +1 -1
- package/models/components/leaderboardaccount.d.ts +196 -0
- package/models/components/leaderboardaccount.d.ts.map +1 -0
- package/models/components/leaderboardaccount.js +128 -0
- package/models/components/leaderboardaccount.js.map +1 -0
- package/models/components/leaderboardbadgeinfo.d.ts +33 -0
- package/models/components/leaderboardbadgeinfo.d.ts.map +1 -0
- package/models/components/leaderboardbadgeinfo.js +55 -0
- package/models/components/leaderboardbadgeinfo.js.map +1 -0
- package/models/components/location.d.ts +38 -0
- package/models/components/location.d.ts.map +1 -0
- package/models/components/location.js +54 -0
- package/models/components/location.js.map +1 -0
- package/models/components/region.d.ts +38 -0
- package/models/components/region.d.ts.map +1 -0
- package/models/components/region.js +53 -0
- package/models/components/region.js.map +1 -0
- package/models/components/role.d.ts +2 -2
- package/models/components/role.d.ts.map +1 -1
- package/models/components/role.js +4 -17
- package/models/components/role.js.map +1 -1
- package/models/components/state.d.ts +43 -0
- package/models/components/state.d.ts.map +1 -0
- package/models/components/state.js +55 -0
- package/models/components/state.js.map +1 -0
- package/models/components/v1accountapp.d.ts +53 -0
- package/models/components/v1accountapp.d.ts.map +1 -0
- package/models/components/{v1app.js → v1accountapp.js} +11 -11
- package/models/components/v1accountapp.js.map +1 -0
- package/models/components/v1accountfriend.d.ts +198 -0
- package/models/components/v1accountfriend.d.ts.map +1 -0
- package/models/components/v1accountfriend.js +133 -0
- package/models/components/v1accountfriend.js.map +1 -0
- package/models/components/v1accountfriendsresponsebody.d.ts +31 -0
- package/models/components/v1accountfriendsresponsebody.d.ts.map +1 -0
- package/models/components/v1accountfriendsresponsebody.js +66 -0
- package/models/components/v1accountfriendsresponsebody.js.map +1 -0
- package/models/components/v1accountleaderboardhistoryresponsebody.d.ts +31 -0
- package/models/components/v1accountleaderboardhistoryresponsebody.d.ts.map +1 -0
- package/models/components/v1accountleaderboardhistoryresponsebody.js +66 -0
- package/models/components/v1accountleaderboardhistoryresponsebody.js.map +1 -0
- package/models/components/v1accountsappsresponsebody.d.ts +3 -3
- package/models/components/v1accountsappsresponsebody.d.ts.map +1 -1
- package/models/components/v1accountsappsresponsebody.js +3 -3
- package/models/components/v1accountsappsresponsebody.js.map +1 -1
- package/models/errors/errormodel.d.ts +5 -5
- package/models/errors/errormodel.d.ts.map +1 -1
- package/models/errors/errormodel.js +4 -2
- package/models/errors/errormodel.js.map +1 -1
- package/models/operations/accountv1getapps.d.ts +2 -0
- package/models/operations/accountv1getapps.d.ts.map +1 -1
- package/models/operations/accountv1getapps.js +4 -0
- package/models/operations/accountv1getapps.js.map +1 -1
- package/models/operations/accountv1getbadges.d.ts +2 -0
- package/models/operations/accountv1getbadges.d.ts.map +1 -1
- package/models/operations/accountv1getbadges.js +4 -0
- package/models/operations/accountv1getbadges.js.map +1 -1
- package/models/operations/accountv1getfriends.d.ts +58 -0
- package/models/operations/accountv1getfriends.d.ts.map +1 -0
- package/models/operations/accountv1getfriends.js +107 -0
- package/models/operations/accountv1getfriends.js.map +1 -0
- package/models/operations/accountv1getinfo.d.ts +31 -0
- package/models/operations/accountv1getinfo.d.ts.map +1 -0
- package/models/operations/accountv1getinfo.js +68 -0
- package/models/operations/accountv1getinfo.js.map +1 -0
- package/models/operations/accountv1getleaderboardhistory.d.ts +58 -0
- package/models/operations/accountv1getleaderboardhistory.d.ts.map +1 -0
- package/models/operations/accountv1getleaderboardhistory.js +107 -0
- package/models/operations/accountv1getleaderboardhistory.js.map +1 -0
- package/models/operations/accountv1getstaff.d.ts +31 -0
- package/models/operations/accountv1getstaff.d.ts.map +1 -0
- package/models/operations/accountv1getstaff.js +72 -0
- package/models/operations/accountv1getstaff.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/location.d.ts +31 -0
- package/models/operations/location.d.ts.map +1 -0
- package/models/operations/location.js +68 -0
- package/models/operations/location.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +20 -4
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +34 -6
- package/sdk/account.js.map +1 -1
- package/sdk/data.d.ts +30 -0
- package/sdk/data.d.ts.map +1 -0
- package/sdk/data.js +54 -0
- package/sdk/data.js.map +1 -0
- package/sdk/location.d.ts +12 -0
- package/sdk/location.d.ts.map +1 -0
- package/sdk/location.js +22 -0
- package/sdk/location.js.map +1 -0
- package/sdk/public.d.ts +26 -0
- package/sdk/public.d.ts.map +1 -0
- package/sdk/public.js +47 -0
- package/sdk/public.js.map +1 -0
- package/sdk/sdk.d.ts +11 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +17 -2
- package/sdk/sdk.js.map +1 -1
- package/sdk/session.d.ts +4 -4
- package/sdk/session.d.ts.map +1 -1
- package/sdk/session.js +6 -6
- package/sdk/session.js.map +1 -1
- package/src/funcs/accountAccountV1GetApps.ts +4 -0
- package/src/funcs/accountAccountV1GetBadges.ts +4 -0
- package/src/funcs/accountAccountV1GetFriends.ts +139 -0
- package/src/funcs/accountAccountV1GetInfo.ts +130 -0
- package/src/funcs/accountAccountV1GetLeaderboardHistory.ts +139 -0
- package/src/funcs/accountAccountV1GetStaff.ts +113 -0
- package/src/funcs/accountAccountV1SessionCreate.ts +1 -1
- package/src/funcs/accountAccountV1SessionLogin.ts +2 -2
- package/src/funcs/dataAccountV1GetApps.ts +139 -0
- package/src/funcs/dataAccountV1GetBadges.ts +139 -0
- package/src/funcs/dataAccountV1GetFriends.ts +139 -0
- package/src/funcs/dataAccountV1GetInfo.ts +130 -0
- package/src/funcs/dataAccountV1GetLeaderboardHistory.ts +139 -0
- package/src/funcs/dataAccountV1GetStaff.ts +113 -0
- package/src/funcs/locationLocation.ts +114 -0
- package/src/funcs/publicAccountV1GetApps.ts +139 -0
- package/src/funcs/publicAccountV1GetBadges.ts +139 -0
- package/src/funcs/publicAccountV1GetFriends.ts +139 -0
- package/src/funcs/publicAccountV1GetInfo.ts +130 -0
- package/src/funcs/publicAccountV1GetLeaderboardHistory.ts +139 -0
- package/src/funcs/sessionAccountV1SessionCreate.ts +1 -1
- package/src/funcs/sessionAccountV1SessionLogin.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +12 -1
- package/src/models/components/accountinfobody.ts +532 -0
- package/src/models/components/accountleaderboardhistory.ts +103 -0
- package/src/models/components/bestleaderboardrank.ts +102 -0
- package/src/models/components/city.ts +40 -0
- package/src/models/components/country.ts +55 -0
- package/src/models/components/index.ts +14 -1
- package/src/models/components/leaderboardaccount.ts +301 -0
- package/src/models/components/leaderboardbadgeinfo.ts +58 -0
- package/src/models/components/location.ts +55 -0
- package/src/models/components/region.ts +53 -0
- package/src/models/components/role.ts +14 -27
- package/src/models/components/state.ts +55 -0
- package/src/models/components/{v1app.ts → v1accountapp.ts} +15 -11
- package/src/models/components/v1accountfriend.ts +307 -0
- package/src/models/components/v1accountfriendsresponsebody.ts +71 -0
- package/src/models/components/v1accountleaderboardhistoryresponsebody.ts +71 -0
- package/src/models/components/v1accountsappsresponsebody.ts +10 -5
- package/src/models/errors/errormodel.ts +8 -6
- package/src/models/operations/accountv1getapps.ts +6 -0
- package/src/models/operations/accountv1getbadges.ts +6 -0
- package/src/models/operations/accountv1getfriends.ts +134 -0
- package/src/models/operations/accountv1getinfo.ts +68 -0
- package/src/models/operations/accountv1getleaderboardhistory.ts +138 -0
- package/src/models/operations/accountv1getstaff.ts +72 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/location.ts +64 -0
- package/src/sdk/account.ts +53 -10
- package/src/sdk/data.ts +75 -0
- package/src/sdk/location.ts +20 -0
- package/src/sdk/public.ts +65 -0
- package/src/sdk/sdk.ts +21 -3
- package/src/sdk/session.ts +10 -10
- package/models/components/v1app.d.ts +0 -53
- package/models/components/v1app.d.ts.map +0 -1
- package/models/components/v1app.js.map +0 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export type V1AccountApp = {
|
|
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 V1AccountApp$inboundSchema: z.ZodType<V1AccountApp, z.ZodTypeDef, unknown>;
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type V1AccountApp$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 V1AccountApp$outboundSchema: z.ZodType<V1AccountApp$Outbound, z.ZodTypeDef, V1AccountApp>;
|
|
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 V1AccountApp$ {
|
|
46
|
+
/** @deprecated use `V1AccountApp$inboundSchema` instead. */
|
|
47
|
+
const inboundSchema: z.ZodType<V1AccountApp, z.ZodTypeDef, unknown>;
|
|
48
|
+
/** @deprecated use `V1AccountApp$outboundSchema` instead. */
|
|
49
|
+
const outboundSchema: z.ZodType<V1AccountApp$Outbound, z.ZodTypeDef, V1AccountApp>;
|
|
50
|
+
/** @deprecated use `V1AccountApp$Outbound` instead. */
|
|
51
|
+
type Outbound = V1AccountApp$Outbound;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=v1accountapp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountapp.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountapp.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,YAAY,GAAG;IACvB;;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,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAOpF,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAChC,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,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAC/C,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAQd,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC3B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAChD"}
|
|
@@ -26,10 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.V1AccountApp$ = exports.V1AccountApp$outboundSchema = exports.V1AccountApp$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
/** @internal */
|
|
32
|
-
exports.
|
|
32
|
+
exports.V1AccountApp$inboundSchema = z.object({
|
|
33
33
|
id: z.number().int(),
|
|
34
34
|
image: z.string(),
|
|
35
35
|
name: z.string(),
|
|
@@ -38,7 +38,7 @@ exports.V1App$inboundSchema = z.object({
|
|
|
38
38
|
shortName: z.string(),
|
|
39
39
|
});
|
|
40
40
|
/** @internal */
|
|
41
|
-
exports.
|
|
41
|
+
exports.V1AccountApp$outboundSchema = z.object({
|
|
42
42
|
id: z.number().int(),
|
|
43
43
|
image: z.string(),
|
|
44
44
|
name: z.string(),
|
|
@@ -50,11 +50,11 @@ exports.V1App$outboundSchema = z.object({
|
|
|
50
50
|
* @internal
|
|
51
51
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
52
|
*/
|
|
53
|
-
var
|
|
54
|
-
(function (
|
|
55
|
-
/** @deprecated use `
|
|
56
|
-
|
|
57
|
-
/** @deprecated use `
|
|
58
|
-
|
|
59
|
-
})(
|
|
60
|
-
//# sourceMappingURL=
|
|
53
|
+
var V1AccountApp$;
|
|
54
|
+
(function (V1AccountApp$) {
|
|
55
|
+
/** @deprecated use `V1AccountApp$inboundSchema` instead. */
|
|
56
|
+
V1AccountApp$.inboundSchema = exports.V1AccountApp$inboundSchema;
|
|
57
|
+
/** @deprecated use `V1AccountApp$outboundSchema` instead. */
|
|
58
|
+
V1AccountApp$.outboundSchema = exports.V1AccountApp$outboundSchema;
|
|
59
|
+
})(V1AccountApp$ || (exports.V1AccountApp$ = V1AccountApp$ = {}));
|
|
60
|
+
//# sourceMappingURL=v1accountapp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountapp.js","sourceRoot":"","sources":["../../src/models/components/v1accountapp.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AA6BzB,gBAAgB;AACH,QAAA,0BAA0B,GAAmD,CAAC,CAAC,MAAM,CAAC;IAC/F,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,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACT,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,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC1B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG9D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { LeaderboardBadgeInfo, LeaderboardBadgeInfo$Outbound } from "./leaderboardbadgeinfo.js";
|
|
2
|
+
import { Location, Location$Outbound } from "./location.js";
|
|
3
|
+
import { Role, Role$Outbound } from "./role.js";
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
export type V1AccountFriend = {
|
|
6
|
+
/**
|
|
7
|
+
* The cost of an app
|
|
8
|
+
*/
|
|
9
|
+
appCost: number;
|
|
10
|
+
/**
|
|
11
|
+
* The playtime of the account, incase of an app leaderboard
|
|
12
|
+
*/
|
|
13
|
+
appPlaytime?: number | null | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* The number of apps the account has
|
|
16
|
+
*/
|
|
17
|
+
apps: number;
|
|
18
|
+
/**
|
|
19
|
+
* The avatar hash of the account
|
|
20
|
+
*/
|
|
21
|
+
avatar: string;
|
|
22
|
+
/**
|
|
23
|
+
* The average playtime of the account
|
|
24
|
+
*/
|
|
25
|
+
averagePlaytime: number;
|
|
26
|
+
/**
|
|
27
|
+
* The number of awards the account has
|
|
28
|
+
*/
|
|
29
|
+
awardsGiven: number;
|
|
30
|
+
/**
|
|
31
|
+
* The number of awards the account has
|
|
32
|
+
*/
|
|
33
|
+
awardsReceived: number;
|
|
34
|
+
badgeInfo?: LeaderboardBadgeInfo | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* The number of badges the account has
|
|
37
|
+
*/
|
|
38
|
+
badges: number;
|
|
39
|
+
/**
|
|
40
|
+
* The number of bans
|
|
41
|
+
*/
|
|
42
|
+
bans: number;
|
|
43
|
+
city?: Location | undefined;
|
|
44
|
+
country?: Location | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* The time the account was created
|
|
47
|
+
*/
|
|
48
|
+
createdAt: Date;
|
|
49
|
+
/**
|
|
50
|
+
* The economy ban of the account
|
|
51
|
+
*/
|
|
52
|
+
economyBan: string;
|
|
53
|
+
/**
|
|
54
|
+
* The cost of a foil badge
|
|
55
|
+
*/
|
|
56
|
+
foilBadgeCost: number;
|
|
57
|
+
/**
|
|
58
|
+
* The number of foil badges the account has
|
|
59
|
+
*/
|
|
60
|
+
foilBadges: number;
|
|
61
|
+
/**
|
|
62
|
+
* The number of friends the account has
|
|
63
|
+
*/
|
|
64
|
+
friends: number;
|
|
65
|
+
friendsSince: Date | null;
|
|
66
|
+
/**
|
|
67
|
+
* The number of game bans
|
|
68
|
+
*/
|
|
69
|
+
gameBans: number;
|
|
70
|
+
/**
|
|
71
|
+
* Whether the account is hidden in the leaderboards
|
|
72
|
+
*/
|
|
73
|
+
hidden: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* The level of the account
|
|
76
|
+
*/
|
|
77
|
+
level: number;
|
|
78
|
+
/**
|
|
79
|
+
* The number of limited apps the account has
|
|
80
|
+
*/
|
|
81
|
+
limitedApps: number;
|
|
82
|
+
/**
|
|
83
|
+
* The name of the account
|
|
84
|
+
*/
|
|
85
|
+
name: string;
|
|
86
|
+
/**
|
|
87
|
+
* The cost of a normal badge
|
|
88
|
+
*/
|
|
89
|
+
normalBadgeCost: number;
|
|
90
|
+
/**
|
|
91
|
+
* The number of normal badges the account has
|
|
92
|
+
*/
|
|
93
|
+
normalBadges: number;
|
|
94
|
+
/**
|
|
95
|
+
* The playtime of the account
|
|
96
|
+
*/
|
|
97
|
+
playtime: number;
|
|
98
|
+
/**
|
|
99
|
+
* The number of points the account has
|
|
100
|
+
*/
|
|
101
|
+
pointsGiven: number;
|
|
102
|
+
/**
|
|
103
|
+
* The number of points the account has
|
|
104
|
+
*/
|
|
105
|
+
pointsReceived: number;
|
|
106
|
+
/**
|
|
107
|
+
* The privacy of the account
|
|
108
|
+
*/
|
|
109
|
+
privacy: string;
|
|
110
|
+
region?: Location | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* The roles of the account
|
|
113
|
+
*/
|
|
114
|
+
roles: Array<Role> | null;
|
|
115
|
+
state?: Location | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* The steam id
|
|
118
|
+
*/
|
|
119
|
+
steamId: string;
|
|
120
|
+
/**
|
|
121
|
+
* The steam sets score
|
|
122
|
+
*/
|
|
123
|
+
steamSetsScore: number;
|
|
124
|
+
/**
|
|
125
|
+
* The vanity of the account
|
|
126
|
+
*/
|
|
127
|
+
steamSetsVanity: string;
|
|
128
|
+
/**
|
|
129
|
+
* The vanity of the account
|
|
130
|
+
*/
|
|
131
|
+
steamVanity: string;
|
|
132
|
+
/**
|
|
133
|
+
* The number of vac bans
|
|
134
|
+
*/
|
|
135
|
+
vacBans: number;
|
|
136
|
+
/**
|
|
137
|
+
* The number of xp the account has
|
|
138
|
+
*/
|
|
139
|
+
xp: number;
|
|
140
|
+
};
|
|
141
|
+
/** @internal */
|
|
142
|
+
export declare const V1AccountFriend$inboundSchema: z.ZodType<V1AccountFriend, z.ZodTypeDef, unknown>;
|
|
143
|
+
/** @internal */
|
|
144
|
+
export type V1AccountFriend$Outbound = {
|
|
145
|
+
appCost: number;
|
|
146
|
+
appPlaytime?: number | null | undefined;
|
|
147
|
+
apps: number;
|
|
148
|
+
avatar: string;
|
|
149
|
+
averagePlaytime: number;
|
|
150
|
+
awardsGiven: number;
|
|
151
|
+
awardsReceived: number;
|
|
152
|
+
badgeInfo?: LeaderboardBadgeInfo$Outbound | undefined;
|
|
153
|
+
badges: number;
|
|
154
|
+
bans: number;
|
|
155
|
+
city?: Location$Outbound | undefined;
|
|
156
|
+
country?: Location$Outbound | undefined;
|
|
157
|
+
createdAt: string;
|
|
158
|
+
economyBan: string;
|
|
159
|
+
foilBadgeCost: number;
|
|
160
|
+
foilBadges: number;
|
|
161
|
+
friends: number;
|
|
162
|
+
friendsSince: string | null;
|
|
163
|
+
gameBans: number;
|
|
164
|
+
hidden: boolean;
|
|
165
|
+
level: number;
|
|
166
|
+
limitedApps: number;
|
|
167
|
+
name: string;
|
|
168
|
+
normalBadgeCost: number;
|
|
169
|
+
normalBadges: number;
|
|
170
|
+
playtime: number;
|
|
171
|
+
pointsGiven: number;
|
|
172
|
+
pointsReceived: number;
|
|
173
|
+
privacy: string;
|
|
174
|
+
region?: Location$Outbound | undefined;
|
|
175
|
+
roles: Array<Role$Outbound> | null;
|
|
176
|
+
state?: Location$Outbound | undefined;
|
|
177
|
+
steamId: string;
|
|
178
|
+
steamSetsScore: number;
|
|
179
|
+
steamSetsVanity: string;
|
|
180
|
+
steamVanity: string;
|
|
181
|
+
vacBans: number;
|
|
182
|
+
xp: number;
|
|
183
|
+
};
|
|
184
|
+
/** @internal */
|
|
185
|
+
export declare const V1AccountFriend$outboundSchema: z.ZodType<V1AccountFriend$Outbound, z.ZodTypeDef, V1AccountFriend>;
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
189
|
+
*/
|
|
190
|
+
export declare namespace V1AccountFriend$ {
|
|
191
|
+
/** @deprecated use `V1AccountFriend$inboundSchema` instead. */
|
|
192
|
+
const inboundSchema: z.ZodType<V1AccountFriend, z.ZodTypeDef, unknown>;
|
|
193
|
+
/** @deprecated use `V1AccountFriend$outboundSchema` instead. */
|
|
194
|
+
const outboundSchema: z.ZodType<V1AccountFriend$Outbound, z.ZodTypeDef, V1AccountFriend>;
|
|
195
|
+
/** @deprecated use `V1AccountFriend$Outbound` instead. */
|
|
196
|
+
type Outbound = V1AccountFriend$Outbound;
|
|
197
|
+
}
|
|
198
|
+
//# sourceMappingURL=v1accountfriend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountfriend.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountfriend.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,oBAAoB,EAEpB,6BAA6B,EAEhC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,QAAQ,EAER,iBAAiB,EAEpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAsB,aAAa,EAAuB,MAAM,WAAW,CAAC;AACzF,OAAO,K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://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.V1AccountFriend$ = exports.V1AccountFriend$outboundSchema = exports.V1AccountFriend$inboundSchema = void 0;
|
|
30
|
+
const leaderboardbadgeinfo_js_1 = require("./leaderboardbadgeinfo.js");
|
|
31
|
+
const location_js_1 = require("./location.js");
|
|
32
|
+
const role_js_1 = require("./role.js");
|
|
33
|
+
const z = __importStar(require("zod"));
|
|
34
|
+
/** @internal */
|
|
35
|
+
exports.V1AccountFriend$inboundSchema = z.object({
|
|
36
|
+
appCost: z.number().int(),
|
|
37
|
+
appPlaytime: z.nullable(z.number().int()).optional(),
|
|
38
|
+
apps: z.number().int(),
|
|
39
|
+
avatar: z.string(),
|
|
40
|
+
averagePlaytime: z.number().int(),
|
|
41
|
+
awardsGiven: z.number().int(),
|
|
42
|
+
awardsReceived: z.number().int(),
|
|
43
|
+
badgeInfo: leaderboardbadgeinfo_js_1.LeaderboardBadgeInfo$inboundSchema.optional(),
|
|
44
|
+
badges: z.number().int(),
|
|
45
|
+
bans: z.number().int(),
|
|
46
|
+
city: location_js_1.Location$inboundSchema.optional(),
|
|
47
|
+
country: location_js_1.Location$inboundSchema.optional(),
|
|
48
|
+
createdAt: z
|
|
49
|
+
.string()
|
|
50
|
+
.datetime({ offset: true })
|
|
51
|
+
.transform((v) => new Date(v)),
|
|
52
|
+
economyBan: z.string(),
|
|
53
|
+
foilBadgeCost: z.number().int(),
|
|
54
|
+
foilBadges: z.number().int(),
|
|
55
|
+
friends: z.number().int(),
|
|
56
|
+
friendsSince: z.nullable(z
|
|
57
|
+
.string()
|
|
58
|
+
.datetime({ offset: true })
|
|
59
|
+
.transform((v) => new Date(v))),
|
|
60
|
+
gameBans: z.number().int(),
|
|
61
|
+
hidden: z.boolean(),
|
|
62
|
+
level: z.number().int(),
|
|
63
|
+
limitedApps: z.number().int(),
|
|
64
|
+
name: z.string(),
|
|
65
|
+
normalBadgeCost: z.number().int(),
|
|
66
|
+
normalBadges: z.number().int(),
|
|
67
|
+
playtime: z.number().int(),
|
|
68
|
+
pointsGiven: z.number().int(),
|
|
69
|
+
pointsReceived: z.number().int(),
|
|
70
|
+
privacy: z.string(),
|
|
71
|
+
region: location_js_1.Location$inboundSchema.optional(),
|
|
72
|
+
roles: z.nullable(z.array(role_js_1.Role$inboundSchema)),
|
|
73
|
+
state: location_js_1.Location$inboundSchema.optional(),
|
|
74
|
+
steamId: z.string(),
|
|
75
|
+
steamSetsScore: z.number().int(),
|
|
76
|
+
steamSetsVanity: z.string(),
|
|
77
|
+
steamVanity: z.string(),
|
|
78
|
+
vacBans: z.number().int(),
|
|
79
|
+
xp: z.number().int(),
|
|
80
|
+
});
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.V1AccountFriend$outboundSchema = z.object({
|
|
83
|
+
appCost: z.number().int(),
|
|
84
|
+
appPlaytime: z.nullable(z.number().int()).optional(),
|
|
85
|
+
apps: z.number().int(),
|
|
86
|
+
avatar: z.string(),
|
|
87
|
+
averagePlaytime: z.number().int(),
|
|
88
|
+
awardsGiven: z.number().int(),
|
|
89
|
+
awardsReceived: z.number().int(),
|
|
90
|
+
badgeInfo: leaderboardbadgeinfo_js_1.LeaderboardBadgeInfo$outboundSchema.optional(),
|
|
91
|
+
badges: z.number().int(),
|
|
92
|
+
bans: z.number().int(),
|
|
93
|
+
city: location_js_1.Location$outboundSchema.optional(),
|
|
94
|
+
country: location_js_1.Location$outboundSchema.optional(),
|
|
95
|
+
createdAt: z.date().transform((v) => v.toISOString()),
|
|
96
|
+
economyBan: z.string(),
|
|
97
|
+
foilBadgeCost: z.number().int(),
|
|
98
|
+
foilBadges: z.number().int(),
|
|
99
|
+
friends: z.number().int(),
|
|
100
|
+
friendsSince: z.nullable(z.date().transform((v) => v.toISOString())),
|
|
101
|
+
gameBans: z.number().int(),
|
|
102
|
+
hidden: z.boolean(),
|
|
103
|
+
level: z.number().int(),
|
|
104
|
+
limitedApps: z.number().int(),
|
|
105
|
+
name: z.string(),
|
|
106
|
+
normalBadgeCost: z.number().int(),
|
|
107
|
+
normalBadges: z.number().int(),
|
|
108
|
+
playtime: z.number().int(),
|
|
109
|
+
pointsGiven: z.number().int(),
|
|
110
|
+
pointsReceived: z.number().int(),
|
|
111
|
+
privacy: z.string(),
|
|
112
|
+
region: location_js_1.Location$outboundSchema.optional(),
|
|
113
|
+
roles: z.nullable(z.array(role_js_1.Role$outboundSchema)),
|
|
114
|
+
state: location_js_1.Location$outboundSchema.optional(),
|
|
115
|
+
steamId: z.string(),
|
|
116
|
+
steamSetsScore: z.number().int(),
|
|
117
|
+
steamSetsVanity: z.string(),
|
|
118
|
+
steamVanity: z.string(),
|
|
119
|
+
vacBans: z.number().int(),
|
|
120
|
+
xp: z.number().int(),
|
|
121
|
+
});
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
125
|
+
*/
|
|
126
|
+
var V1AccountFriend$;
|
|
127
|
+
(function (V1AccountFriend$) {
|
|
128
|
+
/** @deprecated use `V1AccountFriend$inboundSchema` instead. */
|
|
129
|
+
V1AccountFriend$.inboundSchema = exports.V1AccountFriend$inboundSchema;
|
|
130
|
+
/** @deprecated use `V1AccountFriend$outboundSchema` instead. */
|
|
131
|
+
V1AccountFriend$.outboundSchema = exports.V1AccountFriend$outboundSchema;
|
|
132
|
+
})(V1AccountFriend$ || (exports.V1AccountFriend$ = V1AccountFriend$ = {}));
|
|
133
|
+
//# sourceMappingURL=v1accountfriend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountfriend.js","sourceRoot":"","sources":["../../src/models/components/v1accountfriend.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uEAKmC;AACnC,+CAKuB;AACvB,uCAAyF;AACzF,uCAAyB;AA2IzB,gBAAgB;AACH,QAAA,6BAA6B,GACtC,CAAC,CAAC,MAAM,CAAC;IACL,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACtB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,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C,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,qCAAuB,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,6BAAmB,CAAC,CAAC;IAC/C,KAAK,EAAE,qCAAuB,CAAC,QAAQ,EAAE;IACzC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAChC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACvB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAC7B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAGjE,CAAC,EAPgB,gBAAgB,gCAAhB,gBAAgB,QAOhC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { V1AccountFriend, V1AccountFriend$Outbound } from "./v1accountfriend.js";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export type V1AccountFriendsResponseBody = {
|
|
4
|
+
/**
|
|
5
|
+
* A URL to the JSON Schema for this object.
|
|
6
|
+
*/
|
|
7
|
+
dollarSchema?: string | undefined;
|
|
8
|
+
friends: Array<V1AccountFriend> | null;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const V1AccountFriendsResponseBody$inboundSchema: z.ZodType<V1AccountFriendsResponseBody, z.ZodTypeDef, unknown>;
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type V1AccountFriendsResponseBody$Outbound = {
|
|
14
|
+
$schema?: string | undefined;
|
|
15
|
+
friends: Array<V1AccountFriend$Outbound> | null;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const V1AccountFriendsResponseBody$outboundSchema: z.ZodType<V1AccountFriendsResponseBody$Outbound, z.ZodTypeDef, V1AccountFriendsResponseBody>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
+
*/
|
|
23
|
+
export declare namespace V1AccountFriendsResponseBody$ {
|
|
24
|
+
/** @deprecated use `V1AccountFriendsResponseBody$inboundSchema` instead. */
|
|
25
|
+
const inboundSchema: z.ZodType<V1AccountFriendsResponseBody, z.ZodTypeDef, unknown>;
|
|
26
|
+
/** @deprecated use `V1AccountFriendsResponseBody$outboundSchema` instead. */
|
|
27
|
+
const outboundSchema: z.ZodType<V1AccountFriendsResponseBody$Outbound, z.ZodTypeDef, V1AccountFriendsResponseBody>;
|
|
28
|
+
/** @deprecated use `V1AccountFriendsResponseBody$Outbound` instead. */
|
|
29
|
+
type Outbound = V1AccountFriendsResponseBody$Outbound;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=v1accountfriendsresponsebody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountfriendsresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountfriendsresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,eAAe,EAEf,wBAAwB,EAE3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,4BAA4B,GAAG;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAC9D,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAChD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CAC/D,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAU1B,CAAC;AAEP;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC3C,4EAA4E;IACrE,MAAM,aAAa,gEAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc,8FAA8C,CAAC;IAC1E,uEAAuE;IACvE,KAAY,QAAQ,GAAG,qCAAqC,CAAC;CAChE"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.V1AccountFriendsResponseBody$ = exports.V1AccountFriendsResponseBody$outboundSchema = exports.V1AccountFriendsResponseBody$inboundSchema = void 0;
|
|
30
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
31
|
+
const v1accountfriend_js_1 = require("./v1accountfriend.js");
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.V1AccountFriendsResponseBody$inboundSchema = z
|
|
35
|
+
.object({
|
|
36
|
+
$schema: z.string().optional(),
|
|
37
|
+
friends: z.nullable(z.array(v1accountfriend_js_1.V1AccountFriend$inboundSchema)),
|
|
38
|
+
})
|
|
39
|
+
.transform((v) => {
|
|
40
|
+
return (0, primitives_js_1.remap)(v, {
|
|
41
|
+
$schema: "dollarSchema",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.V1AccountFriendsResponseBody$outboundSchema = z
|
|
46
|
+
.object({
|
|
47
|
+
dollarSchema: z.string().optional(),
|
|
48
|
+
friends: z.nullable(z.array(v1accountfriend_js_1.V1AccountFriend$outboundSchema)),
|
|
49
|
+
})
|
|
50
|
+
.transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
dollarSchema: "$schema",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
+
*/
|
|
59
|
+
var V1AccountFriendsResponseBody$;
|
|
60
|
+
(function (V1AccountFriendsResponseBody$) {
|
|
61
|
+
/** @deprecated use `V1AccountFriendsResponseBody$inboundSchema` instead. */
|
|
62
|
+
V1AccountFriendsResponseBody$.inboundSchema = exports.V1AccountFriendsResponseBody$inboundSchema;
|
|
63
|
+
/** @deprecated use `V1AccountFriendsResponseBody$outboundSchema` instead. */
|
|
64
|
+
V1AccountFriendsResponseBody$.outboundSchema = exports.V1AccountFriendsResponseBody$outboundSchema;
|
|
65
|
+
})(V1AccountFriendsResponseBody$ || (exports.V1AccountFriendsResponseBody$ = V1AccountFriendsResponseBody$ = {}));
|
|
66
|
+
//# sourceMappingURL=v1accountfriendsresponsebody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountfriendsresponsebody.js","sourceRoot":"","sources":["../../src/models/components/v1accountfriendsresponsebody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2DAA0D;AAC1D,6DAK8B;AAC9B,uCAAyB;AAUzB,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC;KACA,MAAM,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kDAA6B,CAAC,CAAC;CAC9D,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,OAAO,EAAE,cAAc;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAQP,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC;KACA,MAAM,CAAC;IACJ,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,mDAA8B,CAAC,CAAC;CAC/D,CAAC;KACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACb,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACb,YAAY,EAAE,SAAS;KAC1B,CAAC,CAAC;AACP,CAAC,CAAC,CAAC;AAEP;;;GAGG;AACH,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC1C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAG9E,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AccountLeaderboardHistory, AccountLeaderboardHistory$Outbound } from "./accountleaderboardhistory.js";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
export type V1AccountLeaderboardHistoryResponseBody = {
|
|
4
|
+
/**
|
|
5
|
+
* A URL to the JSON Schema for this object.
|
|
6
|
+
*/
|
|
7
|
+
dollarSchema?: string | undefined;
|
|
8
|
+
histories: Array<AccountLeaderboardHistory> | null;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const V1AccountLeaderboardHistoryResponseBody$inboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody, z.ZodTypeDef, unknown>;
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type V1AccountLeaderboardHistoryResponseBody$Outbound = {
|
|
14
|
+
$schema?: string | undefined;
|
|
15
|
+
histories: Array<AccountLeaderboardHistory$Outbound> | null;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const V1AccountLeaderboardHistoryResponseBody$outboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody$Outbound, z.ZodTypeDef, V1AccountLeaderboardHistoryResponseBody>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
+
*/
|
|
23
|
+
export declare namespace V1AccountLeaderboardHistoryResponseBody$ {
|
|
24
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$inboundSchema` instead. */
|
|
25
|
+
const inboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody, z.ZodTypeDef, unknown>;
|
|
26
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$outboundSchema` instead. */
|
|
27
|
+
const outboundSchema: z.ZodType<V1AccountLeaderboardHistoryResponseBody$Outbound, z.ZodTypeDef, V1AccountLeaderboardHistoryResponseBody>;
|
|
28
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$Outbound` instead. */
|
|
29
|
+
type Outbound = V1AccountLeaderboardHistoryResponseBody$Outbound;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=v1accountleaderboardhistoryresponsebody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1accountleaderboardhistoryresponsebody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1accountleaderboardhistoryresponsebody.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,yBAAyB,EAEzB,kCAAkC,EAErC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,uCAAuC,GAAG;IAClD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,SAAS,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CACzE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CAUL,CAAC;AAEP,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC3D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,KAAK,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC;CAC/D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC1E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAUrC,CAAC;AAEP;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACtD,uFAAuF;IAChF,MAAM,aAAa,2EAAwD,CAAC;IACnF,wFAAwF;IACjF,MAAM,cAAc,oHAAyD,CAAC;IACrF,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CAC3E"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.V1AccountLeaderboardHistoryResponseBody$ = exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema = void 0;
|
|
30
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
31
|
+
const accountleaderboardhistory_js_1 = require("./accountleaderboardhistory.js");
|
|
32
|
+
const z = __importStar(require("zod"));
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema = z
|
|
35
|
+
.object({
|
|
36
|
+
$schema: z.string().optional(),
|
|
37
|
+
histories: z.nullable(z.array(accountleaderboardhistory_js_1.AccountLeaderboardHistory$inboundSchema)),
|
|
38
|
+
})
|
|
39
|
+
.transform((v) => {
|
|
40
|
+
return (0, primitives_js_1.remap)(v, {
|
|
41
|
+
$schema: "dollarSchema",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema = z
|
|
46
|
+
.object({
|
|
47
|
+
dollarSchema: z.string().optional(),
|
|
48
|
+
histories: z.nullable(z.array(accountleaderboardhistory_js_1.AccountLeaderboardHistory$outboundSchema)),
|
|
49
|
+
})
|
|
50
|
+
.transform((v) => {
|
|
51
|
+
return (0, primitives_js_1.remap)(v, {
|
|
52
|
+
dollarSchema: "$schema",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
+
*/
|
|
59
|
+
var V1AccountLeaderboardHistoryResponseBody$;
|
|
60
|
+
(function (V1AccountLeaderboardHistoryResponseBody$) {
|
|
61
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$inboundSchema` instead. */
|
|
62
|
+
V1AccountLeaderboardHistoryResponseBody$.inboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$inboundSchema;
|
|
63
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$outboundSchema` instead. */
|
|
64
|
+
V1AccountLeaderboardHistoryResponseBody$.outboundSchema = exports.V1AccountLeaderboardHistoryResponseBody$outboundSchema;
|
|
65
|
+
})(V1AccountLeaderboardHistoryResponseBody$ || (exports.V1AccountLeaderboardHistoryResponseBody$ = V1AccountLeaderboardHistoryResponseBody$ = {}));
|
|
66
|
+
//# sourceMappingURL=v1accountleaderboardhistoryresponsebody.js.map
|