@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
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
5
|
import * as z from "zod";
|
|
7
6
|
|
|
8
7
|
export type Role = {
|
|
9
8
|
/**
|
|
10
9
|
* The role color
|
|
11
10
|
*/
|
|
12
|
-
|
|
11
|
+
colorr: string;
|
|
13
12
|
/**
|
|
14
13
|
* The role icon
|
|
15
14
|
*/
|
|
@@ -22,40 +21,28 @@ export type Role = {
|
|
|
22
21
|
};
|
|
23
22
|
|
|
24
23
|
/** @internal */
|
|
25
|
-
export const Role$inboundSchema: z.ZodType<Role, z.ZodTypeDef, unknown> = z
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
})
|
|
32
|
-
.transform((v) => {
|
|
33
|
-
return remap$(v, {
|
|
34
|
-
Color: "color",
|
|
35
|
-
});
|
|
36
|
-
});
|
|
24
|
+
export const Role$inboundSchema: z.ZodType<Role, z.ZodTypeDef, unknown> = z.object({
|
|
25
|
+
colorr: z.string(),
|
|
26
|
+
icon: z.string(),
|
|
27
|
+
name: z.string(),
|
|
28
|
+
role: z.string(),
|
|
29
|
+
});
|
|
37
30
|
|
|
38
31
|
/** @internal */
|
|
39
32
|
export type Role$Outbound = {
|
|
40
|
-
|
|
33
|
+
colorr: string;
|
|
41
34
|
icon: string;
|
|
42
35
|
name: string;
|
|
43
36
|
role: string;
|
|
44
37
|
};
|
|
45
38
|
|
|
46
39
|
/** @internal */
|
|
47
|
-
export const Role$outboundSchema: z.ZodType<Role$Outbound, z.ZodTypeDef, Role> = z
|
|
48
|
-
.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
})
|
|
54
|
-
.transform((v) => {
|
|
55
|
-
return remap$(v, {
|
|
56
|
-
color: "Color",
|
|
57
|
-
});
|
|
58
|
-
});
|
|
40
|
+
export const Role$outboundSchema: z.ZodType<Role$Outbound, z.ZodTypeDef, Role> = z.object({
|
|
41
|
+
colorr: z.string(),
|
|
42
|
+
icon: z.string(),
|
|
43
|
+
name: z.string(),
|
|
44
|
+
role: z.string(),
|
|
45
|
+
});
|
|
59
46
|
|
|
60
47
|
/**
|
|
61
48
|
* @internal
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { City, City$inboundSchema, City$Outbound, City$outboundSchema } from "./city.js";
|
|
6
|
+
import * as z from "zod";
|
|
7
|
+
|
|
8
|
+
export type State = {
|
|
9
|
+
/**
|
|
10
|
+
* The cities of the state
|
|
11
|
+
*/
|
|
12
|
+
cities: { [k: string]: City };
|
|
13
|
+
/**
|
|
14
|
+
* The code of the state
|
|
15
|
+
*/
|
|
16
|
+
code: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the state
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const State$inboundSchema: z.ZodType<State, z.ZodTypeDef, unknown> = z.object({
|
|
25
|
+
cities: z.record(City$inboundSchema),
|
|
26
|
+
code: z.string(),
|
|
27
|
+
name: z.string(),
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type State$Outbound = {
|
|
32
|
+
cities: { [k: string]: City$Outbound };
|
|
33
|
+
code: string;
|
|
34
|
+
name: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const State$outboundSchema: z.ZodType<State$Outbound, z.ZodTypeDef, State> = z.object({
|
|
39
|
+
cities: z.record(City$outboundSchema),
|
|
40
|
+
code: z.string(),
|
|
41
|
+
name: z.string(),
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace State$ {
|
|
49
|
+
/** @deprecated use `State$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = State$inboundSchema;
|
|
51
|
+
/** @deprecated use `State$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = State$outboundSchema;
|
|
53
|
+
/** @deprecated use `State$Outbound` instead. */
|
|
54
|
+
export type Outbound = State$Outbound;
|
|
55
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
|
|
7
|
-
export type
|
|
7
|
+
export type V1AccountApp = {
|
|
8
8
|
/**
|
|
9
9
|
* The Steam App ID
|
|
10
10
|
*/
|
|
@@ -32,7 +32,7 @@ export type V1App = {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
/** @internal */
|
|
35
|
-
export const
|
|
35
|
+
export const V1AccountApp$inboundSchema: z.ZodType<V1AccountApp, z.ZodTypeDef, unknown> = z.object({
|
|
36
36
|
id: z.number().int(),
|
|
37
37
|
image: z.string(),
|
|
38
38
|
name: z.string(),
|
|
@@ -42,7 +42,7 @@ export const V1App$inboundSchema: z.ZodType<V1App, z.ZodTypeDef, unknown> = z.ob
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
/** @internal */
|
|
45
|
-
export type
|
|
45
|
+
export type V1AccountApp$Outbound = {
|
|
46
46
|
id: number;
|
|
47
47
|
image: string;
|
|
48
48
|
name: string;
|
|
@@ -52,7 +52,11 @@ export type V1App$Outbound = {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
/** @internal */
|
|
55
|
-
export const
|
|
55
|
+
export const V1AccountApp$outboundSchema: z.ZodType<
|
|
56
|
+
V1AccountApp$Outbound,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
V1AccountApp
|
|
59
|
+
> = z.object({
|
|
56
60
|
id: z.number().int(),
|
|
57
61
|
image: z.string(),
|
|
58
62
|
name: z.string(),
|
|
@@ -65,11 +69,11 @@ export const V1App$outboundSchema: z.ZodType<V1App$Outbound, z.ZodTypeDef, V1App
|
|
|
65
69
|
* @internal
|
|
66
70
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
71
|
*/
|
|
68
|
-
export namespace
|
|
69
|
-
/** @deprecated use `
|
|
70
|
-
export const inboundSchema =
|
|
71
|
-
/** @deprecated use `
|
|
72
|
-
export const outboundSchema =
|
|
73
|
-
/** @deprecated use `
|
|
74
|
-
export type Outbound =
|
|
72
|
+
export namespace V1AccountApp$ {
|
|
73
|
+
/** @deprecated use `V1AccountApp$inboundSchema` instead. */
|
|
74
|
+
export const inboundSchema = V1AccountApp$inboundSchema;
|
|
75
|
+
/** @deprecated use `V1AccountApp$outboundSchema` instead. */
|
|
76
|
+
export const outboundSchema = V1AccountApp$outboundSchema;
|
|
77
|
+
/** @deprecated use `V1AccountApp$Outbound` instead. */
|
|
78
|
+
export type Outbound = V1AccountApp$Outbound;
|
|
75
79
|
}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
LeaderboardBadgeInfo,
|
|
7
|
+
LeaderboardBadgeInfo$inboundSchema,
|
|
8
|
+
LeaderboardBadgeInfo$Outbound,
|
|
9
|
+
LeaderboardBadgeInfo$outboundSchema,
|
|
10
|
+
} from "./leaderboardbadgeinfo.js";
|
|
11
|
+
import {
|
|
12
|
+
Location,
|
|
13
|
+
Location$inboundSchema,
|
|
14
|
+
Location$Outbound,
|
|
15
|
+
Location$outboundSchema,
|
|
16
|
+
} from "./location.js";
|
|
17
|
+
import { Role, Role$inboundSchema, Role$Outbound, Role$outboundSchema } from "./role.js";
|
|
18
|
+
import * as z from "zod";
|
|
19
|
+
|
|
20
|
+
export type V1AccountFriend = {
|
|
21
|
+
/**
|
|
22
|
+
* The cost of an app
|
|
23
|
+
*/
|
|
24
|
+
appCost: number;
|
|
25
|
+
/**
|
|
26
|
+
* The playtime of the account, incase of an app leaderboard
|
|
27
|
+
*/
|
|
28
|
+
appPlaytime?: number | null | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The number of apps the account has
|
|
31
|
+
*/
|
|
32
|
+
apps: number;
|
|
33
|
+
/**
|
|
34
|
+
* The avatar hash of the account
|
|
35
|
+
*/
|
|
36
|
+
avatar: string;
|
|
37
|
+
/**
|
|
38
|
+
* The average playtime of the account
|
|
39
|
+
*/
|
|
40
|
+
averagePlaytime: number;
|
|
41
|
+
/**
|
|
42
|
+
* The number of awards the account has
|
|
43
|
+
*/
|
|
44
|
+
awardsGiven: number;
|
|
45
|
+
/**
|
|
46
|
+
* The number of awards the account has
|
|
47
|
+
*/
|
|
48
|
+
awardsReceived: number;
|
|
49
|
+
badgeInfo?: LeaderboardBadgeInfo | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* The number of badges the account has
|
|
52
|
+
*/
|
|
53
|
+
badges: number;
|
|
54
|
+
/**
|
|
55
|
+
* The number of bans
|
|
56
|
+
*/
|
|
57
|
+
bans: number;
|
|
58
|
+
city?: Location | undefined;
|
|
59
|
+
country?: Location | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* The time the account was created
|
|
62
|
+
*/
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
/**
|
|
65
|
+
* The economy ban of the account
|
|
66
|
+
*/
|
|
67
|
+
economyBan: string;
|
|
68
|
+
/**
|
|
69
|
+
* The cost of a foil badge
|
|
70
|
+
*/
|
|
71
|
+
foilBadgeCost: number;
|
|
72
|
+
/**
|
|
73
|
+
* The number of foil badges the account has
|
|
74
|
+
*/
|
|
75
|
+
foilBadges: number;
|
|
76
|
+
/**
|
|
77
|
+
* The number of friends the account has
|
|
78
|
+
*/
|
|
79
|
+
friends: number;
|
|
80
|
+
friendsSince: Date | null;
|
|
81
|
+
/**
|
|
82
|
+
* The number of game bans
|
|
83
|
+
*/
|
|
84
|
+
gameBans: number;
|
|
85
|
+
/**
|
|
86
|
+
* Whether the account is hidden in the leaderboards
|
|
87
|
+
*/
|
|
88
|
+
hidden: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* The level of the account
|
|
91
|
+
*/
|
|
92
|
+
level: number;
|
|
93
|
+
/**
|
|
94
|
+
* The number of limited apps the account has
|
|
95
|
+
*/
|
|
96
|
+
limitedApps: number;
|
|
97
|
+
/**
|
|
98
|
+
* The name of the account
|
|
99
|
+
*/
|
|
100
|
+
name: string;
|
|
101
|
+
/**
|
|
102
|
+
* The cost of a normal badge
|
|
103
|
+
*/
|
|
104
|
+
normalBadgeCost: number;
|
|
105
|
+
/**
|
|
106
|
+
* The number of normal badges the account has
|
|
107
|
+
*/
|
|
108
|
+
normalBadges: number;
|
|
109
|
+
/**
|
|
110
|
+
* The playtime of the account
|
|
111
|
+
*/
|
|
112
|
+
playtime: number;
|
|
113
|
+
/**
|
|
114
|
+
* The number of points the account has
|
|
115
|
+
*/
|
|
116
|
+
pointsGiven: number;
|
|
117
|
+
/**
|
|
118
|
+
* The number of points the account has
|
|
119
|
+
*/
|
|
120
|
+
pointsReceived: number;
|
|
121
|
+
/**
|
|
122
|
+
* The privacy of the account
|
|
123
|
+
*/
|
|
124
|
+
privacy: string;
|
|
125
|
+
region?: Location | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* The roles of the account
|
|
128
|
+
*/
|
|
129
|
+
roles: Array<Role> | null;
|
|
130
|
+
state?: Location | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* The steam id
|
|
133
|
+
*/
|
|
134
|
+
steamId: string;
|
|
135
|
+
/**
|
|
136
|
+
* The steam sets score
|
|
137
|
+
*/
|
|
138
|
+
steamSetsScore: number;
|
|
139
|
+
/**
|
|
140
|
+
* The vanity of the account
|
|
141
|
+
*/
|
|
142
|
+
steamSetsVanity: string;
|
|
143
|
+
/**
|
|
144
|
+
* The vanity of the account
|
|
145
|
+
*/
|
|
146
|
+
steamVanity: string;
|
|
147
|
+
/**
|
|
148
|
+
* The number of vac bans
|
|
149
|
+
*/
|
|
150
|
+
vacBans: number;
|
|
151
|
+
/**
|
|
152
|
+
* The number of xp the account has
|
|
153
|
+
*/
|
|
154
|
+
xp: number;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/** @internal */
|
|
158
|
+
export const V1AccountFriend$inboundSchema: z.ZodType<V1AccountFriend, z.ZodTypeDef, unknown> =
|
|
159
|
+
z.object({
|
|
160
|
+
appCost: z.number().int(),
|
|
161
|
+
appPlaytime: z.nullable(z.number().int()).optional(),
|
|
162
|
+
apps: z.number().int(),
|
|
163
|
+
avatar: z.string(),
|
|
164
|
+
averagePlaytime: z.number().int(),
|
|
165
|
+
awardsGiven: z.number().int(),
|
|
166
|
+
awardsReceived: z.number().int(),
|
|
167
|
+
badgeInfo: LeaderboardBadgeInfo$inboundSchema.optional(),
|
|
168
|
+
badges: z.number().int(),
|
|
169
|
+
bans: z.number().int(),
|
|
170
|
+
city: Location$inboundSchema.optional(),
|
|
171
|
+
country: Location$inboundSchema.optional(),
|
|
172
|
+
createdAt: z
|
|
173
|
+
.string()
|
|
174
|
+
.datetime({ offset: true })
|
|
175
|
+
.transform((v) => new Date(v)),
|
|
176
|
+
economyBan: z.string(),
|
|
177
|
+
foilBadgeCost: z.number().int(),
|
|
178
|
+
foilBadges: z.number().int(),
|
|
179
|
+
friends: z.number().int(),
|
|
180
|
+
friendsSince: z.nullable(
|
|
181
|
+
z
|
|
182
|
+
.string()
|
|
183
|
+
.datetime({ offset: true })
|
|
184
|
+
.transform((v) => new Date(v))
|
|
185
|
+
),
|
|
186
|
+
gameBans: z.number().int(),
|
|
187
|
+
hidden: z.boolean(),
|
|
188
|
+
level: z.number().int(),
|
|
189
|
+
limitedApps: z.number().int(),
|
|
190
|
+
name: z.string(),
|
|
191
|
+
normalBadgeCost: z.number().int(),
|
|
192
|
+
normalBadges: z.number().int(),
|
|
193
|
+
playtime: z.number().int(),
|
|
194
|
+
pointsGiven: z.number().int(),
|
|
195
|
+
pointsReceived: z.number().int(),
|
|
196
|
+
privacy: z.string(),
|
|
197
|
+
region: Location$inboundSchema.optional(),
|
|
198
|
+
roles: z.nullable(z.array(Role$inboundSchema)),
|
|
199
|
+
state: Location$inboundSchema.optional(),
|
|
200
|
+
steamId: z.string(),
|
|
201
|
+
steamSetsScore: z.number().int(),
|
|
202
|
+
steamSetsVanity: z.string(),
|
|
203
|
+
steamVanity: z.string(),
|
|
204
|
+
vacBans: z.number().int(),
|
|
205
|
+
xp: z.number().int(),
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
/** @internal */
|
|
209
|
+
export type V1AccountFriend$Outbound = {
|
|
210
|
+
appCost: number;
|
|
211
|
+
appPlaytime?: number | null | undefined;
|
|
212
|
+
apps: number;
|
|
213
|
+
avatar: string;
|
|
214
|
+
averagePlaytime: number;
|
|
215
|
+
awardsGiven: number;
|
|
216
|
+
awardsReceived: number;
|
|
217
|
+
badgeInfo?: LeaderboardBadgeInfo$Outbound | undefined;
|
|
218
|
+
badges: number;
|
|
219
|
+
bans: number;
|
|
220
|
+
city?: Location$Outbound | undefined;
|
|
221
|
+
country?: Location$Outbound | undefined;
|
|
222
|
+
createdAt: string;
|
|
223
|
+
economyBan: string;
|
|
224
|
+
foilBadgeCost: number;
|
|
225
|
+
foilBadges: number;
|
|
226
|
+
friends: number;
|
|
227
|
+
friendsSince: string | null;
|
|
228
|
+
gameBans: number;
|
|
229
|
+
hidden: boolean;
|
|
230
|
+
level: number;
|
|
231
|
+
limitedApps: number;
|
|
232
|
+
name: string;
|
|
233
|
+
normalBadgeCost: number;
|
|
234
|
+
normalBadges: number;
|
|
235
|
+
playtime: number;
|
|
236
|
+
pointsGiven: number;
|
|
237
|
+
pointsReceived: number;
|
|
238
|
+
privacy: string;
|
|
239
|
+
region?: Location$Outbound | undefined;
|
|
240
|
+
roles: Array<Role$Outbound> | null;
|
|
241
|
+
state?: Location$Outbound | undefined;
|
|
242
|
+
steamId: string;
|
|
243
|
+
steamSetsScore: number;
|
|
244
|
+
steamSetsVanity: string;
|
|
245
|
+
steamVanity: string;
|
|
246
|
+
vacBans: number;
|
|
247
|
+
xp: number;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
/** @internal */
|
|
251
|
+
export const V1AccountFriend$outboundSchema: z.ZodType<
|
|
252
|
+
V1AccountFriend$Outbound,
|
|
253
|
+
z.ZodTypeDef,
|
|
254
|
+
V1AccountFriend
|
|
255
|
+
> = z.object({
|
|
256
|
+
appCost: z.number().int(),
|
|
257
|
+
appPlaytime: z.nullable(z.number().int()).optional(),
|
|
258
|
+
apps: z.number().int(),
|
|
259
|
+
avatar: z.string(),
|
|
260
|
+
averagePlaytime: z.number().int(),
|
|
261
|
+
awardsGiven: z.number().int(),
|
|
262
|
+
awardsReceived: z.number().int(),
|
|
263
|
+
badgeInfo: LeaderboardBadgeInfo$outboundSchema.optional(),
|
|
264
|
+
badges: z.number().int(),
|
|
265
|
+
bans: z.number().int(),
|
|
266
|
+
city: Location$outboundSchema.optional(),
|
|
267
|
+
country: Location$outboundSchema.optional(),
|
|
268
|
+
createdAt: z.date().transform((v) => v.toISOString()),
|
|
269
|
+
economyBan: z.string(),
|
|
270
|
+
foilBadgeCost: z.number().int(),
|
|
271
|
+
foilBadges: z.number().int(),
|
|
272
|
+
friends: z.number().int(),
|
|
273
|
+
friendsSince: z.nullable(z.date().transform((v) => v.toISOString())),
|
|
274
|
+
gameBans: z.number().int(),
|
|
275
|
+
hidden: z.boolean(),
|
|
276
|
+
level: z.number().int(),
|
|
277
|
+
limitedApps: z.number().int(),
|
|
278
|
+
name: z.string(),
|
|
279
|
+
normalBadgeCost: z.number().int(),
|
|
280
|
+
normalBadges: z.number().int(),
|
|
281
|
+
playtime: z.number().int(),
|
|
282
|
+
pointsGiven: z.number().int(),
|
|
283
|
+
pointsReceived: z.number().int(),
|
|
284
|
+
privacy: z.string(),
|
|
285
|
+
region: Location$outboundSchema.optional(),
|
|
286
|
+
roles: z.nullable(z.array(Role$outboundSchema)),
|
|
287
|
+
state: Location$outboundSchema.optional(),
|
|
288
|
+
steamId: z.string(),
|
|
289
|
+
steamSetsScore: z.number().int(),
|
|
290
|
+
steamSetsVanity: z.string(),
|
|
291
|
+
steamVanity: z.string(),
|
|
292
|
+
vacBans: z.number().int(),
|
|
293
|
+
xp: z.number().int(),
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @internal
|
|
298
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
299
|
+
*/
|
|
300
|
+
export namespace V1AccountFriend$ {
|
|
301
|
+
/** @deprecated use `V1AccountFriend$inboundSchema` instead. */
|
|
302
|
+
export const inboundSchema = V1AccountFriend$inboundSchema;
|
|
303
|
+
/** @deprecated use `V1AccountFriend$outboundSchema` instead. */
|
|
304
|
+
export const outboundSchema = V1AccountFriend$outboundSchema;
|
|
305
|
+
/** @deprecated use `V1AccountFriend$Outbound` instead. */
|
|
306
|
+
export type Outbound = V1AccountFriend$Outbound;
|
|
307
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 {
|
|
7
|
+
V1AccountFriend,
|
|
8
|
+
V1AccountFriend$inboundSchema,
|
|
9
|
+
V1AccountFriend$Outbound,
|
|
10
|
+
V1AccountFriend$outboundSchema,
|
|
11
|
+
} from "./v1accountfriend.js";
|
|
12
|
+
import * as z from "zod";
|
|
13
|
+
|
|
14
|
+
export type V1AccountFriendsResponseBody = {
|
|
15
|
+
/**
|
|
16
|
+
* A URL to the JSON Schema for this object.
|
|
17
|
+
*/
|
|
18
|
+
dollarSchema?: string | undefined;
|
|
19
|
+
friends: Array<V1AccountFriend> | null;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const V1AccountFriendsResponseBody$inboundSchema: z.ZodType<
|
|
24
|
+
V1AccountFriendsResponseBody,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z
|
|
28
|
+
.object({
|
|
29
|
+
$schema: z.string().optional(),
|
|
30
|
+
friends: z.nullable(z.array(V1AccountFriend$inboundSchema)),
|
|
31
|
+
})
|
|
32
|
+
.transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
$schema: "dollarSchema",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type V1AccountFriendsResponseBody$Outbound = {
|
|
40
|
+
$schema?: string | undefined;
|
|
41
|
+
friends: Array<V1AccountFriend$Outbound> | null;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const V1AccountFriendsResponseBody$outboundSchema: z.ZodType<
|
|
46
|
+
V1AccountFriendsResponseBody$Outbound,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
V1AccountFriendsResponseBody
|
|
49
|
+
> = z
|
|
50
|
+
.object({
|
|
51
|
+
dollarSchema: z.string().optional(),
|
|
52
|
+
friends: z.nullable(z.array(V1AccountFriend$outboundSchema)),
|
|
53
|
+
})
|
|
54
|
+
.transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
dollarSchema: "$schema",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace V1AccountFriendsResponseBody$ {
|
|
65
|
+
/** @deprecated use `V1AccountFriendsResponseBody$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = V1AccountFriendsResponseBody$inboundSchema;
|
|
67
|
+
/** @deprecated use `V1AccountFriendsResponseBody$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = V1AccountFriendsResponseBody$outboundSchema;
|
|
69
|
+
/** @deprecated use `V1AccountFriendsResponseBody$Outbound` instead. */
|
|
70
|
+
export type Outbound = V1AccountFriendsResponseBody$Outbound;
|
|
71
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 {
|
|
7
|
+
AccountLeaderboardHistory,
|
|
8
|
+
AccountLeaderboardHistory$inboundSchema,
|
|
9
|
+
AccountLeaderboardHistory$Outbound,
|
|
10
|
+
AccountLeaderboardHistory$outboundSchema,
|
|
11
|
+
} from "./accountleaderboardhistory.js";
|
|
12
|
+
import * as z from "zod";
|
|
13
|
+
|
|
14
|
+
export type V1AccountLeaderboardHistoryResponseBody = {
|
|
15
|
+
/**
|
|
16
|
+
* A URL to the JSON Schema for this object.
|
|
17
|
+
*/
|
|
18
|
+
dollarSchema?: string | undefined;
|
|
19
|
+
histories: Array<AccountLeaderboardHistory> | null;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const V1AccountLeaderboardHistoryResponseBody$inboundSchema: z.ZodType<
|
|
24
|
+
V1AccountLeaderboardHistoryResponseBody,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z
|
|
28
|
+
.object({
|
|
29
|
+
$schema: z.string().optional(),
|
|
30
|
+
histories: z.nullable(z.array(AccountLeaderboardHistory$inboundSchema)),
|
|
31
|
+
})
|
|
32
|
+
.transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
$schema: "dollarSchema",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type V1AccountLeaderboardHistoryResponseBody$Outbound = {
|
|
40
|
+
$schema?: string | undefined;
|
|
41
|
+
histories: Array<AccountLeaderboardHistory$Outbound> | null;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const V1AccountLeaderboardHistoryResponseBody$outboundSchema: z.ZodType<
|
|
46
|
+
V1AccountLeaderboardHistoryResponseBody$Outbound,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
V1AccountLeaderboardHistoryResponseBody
|
|
49
|
+
> = z
|
|
50
|
+
.object({
|
|
51
|
+
dollarSchema: z.string().optional(),
|
|
52
|
+
histories: z.nullable(z.array(AccountLeaderboardHistory$outboundSchema)),
|
|
53
|
+
})
|
|
54
|
+
.transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
dollarSchema: "$schema",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace V1AccountLeaderboardHistoryResponseBody$ {
|
|
65
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = V1AccountLeaderboardHistoryResponseBody$inboundSchema;
|
|
67
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = V1AccountLeaderboardHistoryResponseBody$outboundSchema;
|
|
69
|
+
/** @deprecated use `V1AccountLeaderboardHistoryResponseBody$Outbound` instead. */
|
|
70
|
+
export type Outbound = V1AccountLeaderboardHistoryResponseBody$Outbound;
|
|
71
|
+
}
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
V1AccountApp,
|
|
8
|
+
V1AccountApp$inboundSchema,
|
|
9
|
+
V1AccountApp$Outbound,
|
|
10
|
+
V1AccountApp$outboundSchema,
|
|
11
|
+
} from "./v1accountapp.js";
|
|
7
12
|
import * as z from "zod";
|
|
8
13
|
|
|
9
14
|
export type V1AccountsAppsResponseBody = {
|
|
@@ -11,7 +16,7 @@ export type V1AccountsAppsResponseBody = {
|
|
|
11
16
|
* A URL to the JSON Schema for this object.
|
|
12
17
|
*/
|
|
13
18
|
dollarSchema?: string | undefined;
|
|
14
|
-
apps: Array<
|
|
19
|
+
apps: Array<V1AccountApp> | null;
|
|
15
20
|
};
|
|
16
21
|
|
|
17
22
|
/** @internal */
|
|
@@ -22,7 +27,7 @@ export const V1AccountsAppsResponseBody$inboundSchema: z.ZodType<
|
|
|
22
27
|
> = z
|
|
23
28
|
.object({
|
|
24
29
|
$schema: z.string().optional(),
|
|
25
|
-
apps: z.nullable(z.array(
|
|
30
|
+
apps: z.nullable(z.array(V1AccountApp$inboundSchema)),
|
|
26
31
|
})
|
|
27
32
|
.transform((v) => {
|
|
28
33
|
return remap$(v, {
|
|
@@ -33,7 +38,7 @@ export const V1AccountsAppsResponseBody$inboundSchema: z.ZodType<
|
|
|
33
38
|
/** @internal */
|
|
34
39
|
export type V1AccountsAppsResponseBody$Outbound = {
|
|
35
40
|
$schema?: string | undefined;
|
|
36
|
-
apps: Array<
|
|
41
|
+
apps: Array<V1AccountApp$Outbound> | null;
|
|
37
42
|
};
|
|
38
43
|
|
|
39
44
|
/** @internal */
|
|
@@ -44,7 +49,7 @@ export const V1AccountsAppsResponseBody$outboundSchema: z.ZodType<
|
|
|
44
49
|
> = z
|
|
45
50
|
.object({
|
|
46
51
|
dollarSchema: z.string().optional(),
|
|
47
|
-
apps: z.nullable(z.array(
|
|
52
|
+
apps: z.nullable(z.array(V1AccountApp$outboundSchema)),
|
|
48
53
|
})
|
|
49
54
|
.transform((v) => {
|
|
50
55
|
return remap$(v, {
|