@steamsets/client-ts 0.11.15 → 0.11.17

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 (117) hide show
  1. package/README.md +0 -4
  2. package/docs/sdks/account/README.md +2 -82
  3. package/docs/sdks/leaderboard/README.md +2 -80
  4. package/docs/sdks/public/README.md +0 -2
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/models/components/accountinfobody.d.ts +12 -9
  8. package/models/components/accountinfobody.d.ts.map +1 -1
  9. package/models/components/accountinfobody.js +12 -9
  10. package/models/components/accountinfobody.js.map +1 -1
  11. package/models/components/index.d.ts +4 -3
  12. package/models/components/index.d.ts.map +1 -1
  13. package/models/components/index.js +4 -3
  14. package/models/components/index.js.map +1 -1
  15. package/models/components/leaderboardaccount.d.ts +12 -9
  16. package/models/components/leaderboardaccount.d.ts.map +1 -1
  17. package/models/components/leaderboardaccount.js +12 -9
  18. package/models/components/leaderboardaccount.js.map +1 -1
  19. package/models/components/leaderboardcity.d.ts +33 -0
  20. package/models/components/leaderboardcity.d.ts.map +1 -0
  21. package/models/components/{location.js → leaderboardcity.js} +11 -13
  22. package/models/components/leaderboardcity.js.map +1 -0
  23. package/models/components/leaderboardcountry.d.ts +38 -0
  24. package/models/components/leaderboardcountry.d.ts.map +1 -0
  25. package/models/components/leaderboardcountry.js +54 -0
  26. package/models/components/leaderboardcountry.js.map +1 -0
  27. package/models/components/leaderboardregion.d.ts +33 -0
  28. package/models/components/leaderboardregion.d.ts.map +1 -0
  29. package/models/components/leaderboardregion.js +52 -0
  30. package/models/components/leaderboardregion.js.map +1 -0
  31. package/models/components/leaderboardstate.d.ts +33 -0
  32. package/models/components/leaderboardstate.d.ts.map +1 -0
  33. package/models/components/leaderboardstate.js +52 -0
  34. package/models/components/leaderboardstate.js.map +1 -0
  35. package/models/components/v1accountfriend.d.ts +12 -9
  36. package/models/components/v1accountfriend.d.ts.map +1 -1
  37. package/models/components/v1accountfriend.js +12 -9
  38. package/models/components/v1accountfriend.js.map +1 -1
  39. package/models/components/v1accountleaderboardaccount.d.ts +12 -9
  40. package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
  41. package/models/components/v1accountleaderboardaccount.js +12 -9
  42. package/models/components/v1accountleaderboardaccount.js.map +1 -1
  43. package/models/components/v1accountleaderboardrequestbody.d.ts +5 -0
  44. package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -1
  45. package/models/components/v1accountleaderboardrequestbody.js +2 -0
  46. package/models/components/v1accountleaderboardrequestbody.js.map +1 -1
  47. package/models/components/v1accountleaderboardresponsebody.d.ts +2 -0
  48. package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -1
  49. package/models/components/v1accountleaderboardresponsebody.js +2 -0
  50. package/models/components/v1accountleaderboardresponsebody.js.map +1 -1
  51. package/models/components/v1accountqueuerequestbody.d.ts +0 -5
  52. package/models/components/v1accountqueuerequestbody.d.ts.map +1 -1
  53. package/models/components/v1accountqueuerequestbody.js +0 -2
  54. package/models/components/v1accountqueuerequestbody.js.map +1 -1
  55. package/models/operations/index.d.ts +0 -1
  56. package/models/operations/index.d.ts.map +1 -1
  57. package/models/operations/index.js +0 -1
  58. package/models/operations/index.js.map +1 -1
  59. package/package.json +1 -1
  60. package/sdk/account.d.ts +0 -4
  61. package/sdk/account.d.ts.map +1 -1
  62. package/sdk/account.js +0 -7
  63. package/sdk/account.js.map +1 -1
  64. package/sdk/leaderboard.d.ts +0 -4
  65. package/sdk/leaderboard.d.ts.map +1 -1
  66. package/sdk/leaderboard.js +0 -7
  67. package/sdk/leaderboard.js.map +1 -1
  68. package/sdk/sdk.d.ts +2 -2
  69. package/sdk/sdk.d.ts.map +1 -1
  70. package/sdk/sdk.js +4 -4
  71. package/sdk/sdk.js.map +1 -1
  72. package/src/lib/config.ts +2 -2
  73. package/src/models/components/accountinfobody.ts +39 -21
  74. package/src/models/components/index.ts +4 -3
  75. package/src/models/components/leaderboardaccount.ts +39 -21
  76. package/src/models/components/leaderboardcity.ts +55 -0
  77. package/src/models/components/leaderboardcountry.ts +62 -0
  78. package/src/models/components/leaderboardregion.ts +55 -0
  79. package/src/models/components/leaderboardstate.ts +55 -0
  80. package/src/models/components/v1accountfriend.ts +39 -21
  81. package/src/models/components/v1accountleaderboardaccount.ts +39 -21
  82. package/src/models/components/v1accountleaderboardrequestbody.ts +7 -0
  83. package/src/models/components/v1accountleaderboardresponsebody.ts +4 -0
  84. package/src/models/components/v1accountqueuerequestbody.ts +0 -7
  85. package/src/models/operations/index.ts +0 -1
  86. package/src/sdk/account.ts +0 -15
  87. package/src/sdk/leaderboard.ts +0 -15
  88. package/src/sdk/sdk.ts +5 -5
  89. package/funcs/accountAccountV1LeaderboardPreview.d.ts +0 -14
  90. package/funcs/accountAccountV1LeaderboardPreview.d.ts.map +0 -1
  91. package/funcs/accountAccountV1LeaderboardPreview.js +0 -98
  92. package/funcs/accountAccountV1LeaderboardPreview.js.map +0 -1
  93. package/funcs/leaderboardAccountV1LeaderboardPreview.d.ts +0 -14
  94. package/funcs/leaderboardAccountV1LeaderboardPreview.d.ts.map +0 -1
  95. package/funcs/leaderboardAccountV1LeaderboardPreview.js +0 -98
  96. package/funcs/leaderboardAccountV1LeaderboardPreview.js.map +0 -1
  97. package/models/components/location.d.ts +0 -38
  98. package/models/components/location.d.ts.map +0 -1
  99. package/models/components/location.js.map +0 -1
  100. package/models/components/v1accountleaderboardpreviewrequestbody.d.ts +0 -110
  101. package/models/components/v1accountleaderboardpreviewrequestbody.d.ts.map +0 -1
  102. package/models/components/v1accountleaderboardpreviewrequestbody.js +0 -90
  103. package/models/components/v1accountleaderboardpreviewrequestbody.js.map +0 -1
  104. package/models/components/v1accountleaderboardpreviewresponsebody.d.ts +0 -38
  105. package/models/components/v1accountleaderboardpreviewresponsebody.d.ts.map +0 -1
  106. package/models/components/v1accountleaderboardpreviewresponsebody.js +0 -63
  107. package/models/components/v1accountleaderboardpreviewresponsebody.js.map +0 -1
  108. package/models/operations/accountv1leaderboardpreview.d.ts +0 -31
  109. package/models/operations/accountv1leaderboardpreview.d.ts.map +0 -1
  110. package/models/operations/accountv1leaderboardpreview.js +0 -66
  111. package/models/operations/accountv1leaderboardpreview.js.map +0 -1
  112. package/src/funcs/accountAccountV1LeaderboardPreview.ts +0 -130
  113. package/src/funcs/leaderboardAccountV1LeaderboardPreview.ts +0 -130
  114. package/src/models/components/location.ts +0 -62
  115. package/src/models/components/v1accountleaderboardpreviewrequestbody.ts +0 -110
  116. package/src/models/components/v1accountleaderboardpreviewresponsebody.ts +0 -73
  117. package/src/models/operations/accountv1leaderboardpreview.ts +0 -74
package/sdk/sdk.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,qBAAa,SAAU,SAAQ,SAAS;IACtC,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3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,QAAQ,CAEvB;CACF"}
package/sdk/sdk.js CHANGED
@@ -46,10 +46,6 @@ class SteamSets extends sdks_js_1.ClientSDK {
46
46
  var _a;
47
47
  return ((_a = this._public) !== null && _a !== void 0 ? _a : (this._public = new public_js_1.Public(this._options)));
48
48
  }
49
- get leaderboard() {
50
- var _a;
51
- return ((_a = this._leaderboard) !== null && _a !== void 0 ? _a : (this._leaderboard = new leaderboard_js_1.Leaderboard(this._options)));
52
- }
53
49
  get app() {
54
50
  var _a;
55
51
  return ((_a = this._app) !== null && _a !== void 0 ? _a : (this._app = new app_js_1.App(this._options)));
@@ -58,6 +54,10 @@ class SteamSets extends sdks_js_1.ClientSDK {
58
54
  var _a;
59
55
  return ((_a = this._badge) !== null && _a !== void 0 ? _a : (this._badge = new badge_js_1.Badge(this._options)));
60
56
  }
57
+ get leaderboard() {
58
+ var _a;
59
+ return ((_a = this._leaderboard) !== null && _a !== void 0 ? _a : (this._leaderboard = new leaderboard_js_1.Leaderboard(this._options)));
60
+ }
61
61
  get liveness() {
62
62
  var _a;
63
63
  return ((_a = this._liveness) !== null && _a !== void 0 ? _a : (this._liveness = new liveness_js_1.Liveness(this._options)));
package/sdk/sdk.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,6CAAuC;AACvC,qCAA+B;AAC/B,yCAAmC;AACnC,mDAA6C;AAC7C,uCAAiC;AACjC,iDAA2C;AAC3C,qDAA+C;AAC/C,+CAAyC;AACzC,+CAAyC;AACzC,2CAAqC;AACrC,6CAAuC;AACvC,+CAAyC;AAEzC,MAAa,SAAU,SAAQ,mBAAS;IAEtC,IAAI,OAAO;;QACT,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC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,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;IAGD,IAAI,QAAQ;;QACV,OAAO,OAAC,IAAI,CAAC,SAAS,oCAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;CACF;AA5DD,8BA4DC"}
package/src/lib/config.ts CHANGED
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "1.0.0",
58
- sdkVersion: "0.11.15",
58
+ sdkVersion: "0.11.17",
59
59
  genVersion: "2.438.3",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.11.15 2.438.3 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.11.17 2.438.3 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -24,11 +24,29 @@ import {
24
24
  Image$outboundSchema,
25
25
  } from "./image.js";
26
26
  import {
27
- Location,
28
- Location$inboundSchema,
29
- Location$Outbound,
30
- Location$outboundSchema,
31
- } from "./location.js";
27
+ LeaderboardCity,
28
+ LeaderboardCity$inboundSchema,
29
+ LeaderboardCity$Outbound,
30
+ LeaderboardCity$outboundSchema,
31
+ } from "./leaderboardcity.js";
32
+ import {
33
+ LeaderboardCountry,
34
+ LeaderboardCountry$inboundSchema,
35
+ LeaderboardCountry$Outbound,
36
+ LeaderboardCountry$outboundSchema,
37
+ } from "./leaderboardcountry.js";
38
+ import {
39
+ LeaderboardRegion,
40
+ LeaderboardRegion$inboundSchema,
41
+ LeaderboardRegion$Outbound,
42
+ LeaderboardRegion$outboundSchema,
43
+ } from "./leaderboardregion.js";
44
+ import {
45
+ LeaderboardState,
46
+ LeaderboardState$inboundSchema,
47
+ LeaderboardState$Outbound,
48
+ LeaderboardState$outboundSchema,
49
+ } from "./leaderboardstate.js";
32
50
  import {
33
51
  Role,
34
52
  Role$inboundSchema,
@@ -144,7 +162,7 @@ export type AccountInfoBody = {
144
162
  * The time the bans were updated
145
163
  */
146
164
  bansUpdatedAt: Date | null;
147
- city?: Location | null | undefined;
165
+ city?: LeaderboardCity | null | undefined;
148
166
  /**
149
167
  * If the account is community banned or not
150
168
  */
@@ -153,7 +171,7 @@ export type AccountInfoBody = {
153
171
  * The connections of the account
154
172
  */
155
173
  connections: Array<Connection> | null;
156
- country?: Location | null | undefined;
174
+ country?: LeaderboardCountry | null | undefined;
157
175
  /**
158
176
  * The time the account was created
159
177
  */
@@ -246,12 +264,12 @@ export type AccountInfoBody = {
246
264
  * The privacy of the account
247
265
  */
248
266
  privacy: Privacy;
249
- region?: Location | null | undefined;
267
+ region?: LeaderboardRegion | null | undefined;
250
268
  /**
251
269
  * The roles of the account
252
270
  */
253
271
  roles: Array<Role> | null;
254
- state?: Location | null | undefined;
272
+ state?: LeaderboardState | null | undefined;
255
273
  /**
256
274
  * The steam id
257
275
  */
@@ -374,10 +392,10 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
374
392
  bansUpdatedAt: z.nullable(
375
393
  z.string().datetime({ offset: true }).transform(v => new Date(v)),
376
394
  ),
377
- city: z.nullable(Location$inboundSchema).optional(),
395
+ city: z.nullable(LeaderboardCity$inboundSchema).optional(),
378
396
  communityBan: z.boolean(),
379
397
  connections: z.nullable(z.array(Connection$inboundSchema)),
380
- country: z.nullable(Location$inboundSchema).optional(),
398
+ country: z.nullable(LeaderboardCountry$inboundSchema).optional(),
381
399
  createdAt: z.nullable(
382
400
  z.string().datetime({ offset: true }).transform(v => new Date(v)),
383
401
  ),
@@ -407,9 +425,9 @@ export const AccountInfoBody$inboundSchema: z.ZodType<
407
425
  pointsGiven: z.number().int(),
408
426
  pointsReceived: z.number().int(),
409
427
  privacy: Privacy$inboundSchema,
410
- region: z.nullable(Location$inboundSchema).optional(),
428
+ region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
411
429
  roles: z.nullable(z.array(Role$inboundSchema)),
412
- state: z.nullable(Location$inboundSchema).optional(),
430
+ state: z.nullable(LeaderboardState$inboundSchema).optional(),
413
431
  steamId: z.string(),
414
432
  steamSetsScore: z.number().int(),
415
433
  steamSetsVanity: z.string(),
@@ -445,10 +463,10 @@ export type AccountInfoBody$Outbound = {
445
463
  badgesUpdatedAt: string | null;
446
464
  bans: number;
447
465
  bansUpdatedAt: string | null;
448
- city?: Location$Outbound | null | undefined;
466
+ city?: LeaderboardCity$Outbound | null | undefined;
449
467
  communityBan: boolean;
450
468
  connections: Array<Connection$Outbound> | null;
451
- country?: Location$Outbound | null | undefined;
469
+ country?: LeaderboardCountry$Outbound | null | undefined;
452
470
  createdAt: string | null;
453
471
  currentBestRanks: Array<BestLeaderboardRank$Outbound> | null;
454
472
  currentRanks: Array<BestLeaderboardRank$Outbound> | null;
@@ -472,9 +490,9 @@ export type AccountInfoBody$Outbound = {
472
490
  pointsGiven: number;
473
491
  pointsReceived: number;
474
492
  privacy: string;
475
- region?: Location$Outbound | null | undefined;
493
+ region?: LeaderboardRegion$Outbound | null | undefined;
476
494
  roles: Array<Role$Outbound> | null;
477
- state?: Location$Outbound | null | undefined;
495
+ state?: LeaderboardState$Outbound | null | undefined;
478
496
  steamId: string;
479
497
  steamSetsScore: number;
480
498
  steamSetsVanity: string;
@@ -508,10 +526,10 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
508
526
  badgesUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
509
527
  bans: z.number().int(),
510
528
  bansUpdatedAt: z.nullable(z.date().transform(v => v.toISOString())),
511
- city: z.nullable(Location$outboundSchema).optional(),
529
+ city: z.nullable(LeaderboardCity$outboundSchema).optional(),
512
530
  communityBan: z.boolean(),
513
531
  connections: z.nullable(z.array(Connection$outboundSchema)),
514
- country: z.nullable(Location$outboundSchema).optional(),
532
+ country: z.nullable(LeaderboardCountry$outboundSchema).optional(),
515
533
  createdAt: z.nullable(z.date().transform(v => v.toISOString())),
516
534
  currentBestRanks: z.nullable(z.array(BestLeaderboardRank$outboundSchema)),
517
535
  currentRanks: z.nullable(z.array(BestLeaderboardRank$outboundSchema)),
@@ -535,9 +553,9 @@ export const AccountInfoBody$outboundSchema: z.ZodType<
535
553
  pointsGiven: z.number().int(),
536
554
  pointsReceived: z.number().int(),
537
555
  privacy: Privacy$outboundSchema,
538
- region: z.nullable(Location$outboundSchema).optional(),
556
+ region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
539
557
  roles: z.nullable(z.array(Role$outboundSchema)),
540
- state: z.nullable(Location$outboundSchema).optional(),
558
+ state: z.nullable(LeaderboardState$outboundSchema).optional(),
541
559
  steamId: z.string(),
542
560
  steamSetsScore: z.number().int(),
543
561
  steamSetsVanity: z.string(),
@@ -22,7 +22,10 @@ export * from "./idstruct.js";
22
22
  export * from "./image.js";
23
23
  export * from "./leaderboardaccount.js";
24
24
  export * from "./leaderboardaccountbadgeinfo.js";
25
- export * from "./location.js";
25
+ export * from "./leaderboardcity.js";
26
+ export * from "./leaderboardcountry.js";
27
+ export * from "./leaderboardregion.js";
28
+ export * from "./leaderboardstate.js";
26
29
  export * from "./loginrequestbody.js";
27
30
  export * from "./region.js";
28
31
  export * from "./resource.js";
@@ -47,8 +50,6 @@ export * from "./v1accountleaderboardaccount.js";
47
50
  export * from "./v1accountleaderboardappsearch.js";
48
51
  export * from "./v1accountleaderboardbadgesearch.js";
49
52
  export * from "./v1accountleaderboardhistoryresponsebody.js";
50
- export * from "./v1accountleaderboardpreviewrequestbody.js";
51
- export * from "./v1accountleaderboardpreviewresponsebody.js";
52
53
  export * from "./v1accountleaderboardrequestbody.js";
53
54
  export * from "./v1accountleaderboardresponsebody.js";
54
55
  export * from "./v1accountplaytimedatapoint.js";
@@ -4,11 +4,29 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import {
7
- Location,
8
- Location$inboundSchema,
9
- Location$Outbound,
10
- Location$outboundSchema,
11
- } from "./location.js";
7
+ LeaderboardCity,
8
+ LeaderboardCity$inboundSchema,
9
+ LeaderboardCity$Outbound,
10
+ LeaderboardCity$outboundSchema,
11
+ } from "./leaderboardcity.js";
12
+ import {
13
+ LeaderboardCountry,
14
+ LeaderboardCountry$inboundSchema,
15
+ LeaderboardCountry$Outbound,
16
+ LeaderboardCountry$outboundSchema,
17
+ } from "./leaderboardcountry.js";
18
+ import {
19
+ LeaderboardRegion,
20
+ LeaderboardRegion$inboundSchema,
21
+ LeaderboardRegion$Outbound,
22
+ LeaderboardRegion$outboundSchema,
23
+ } from "./leaderboardregion.js";
24
+ import {
25
+ LeaderboardState,
26
+ LeaderboardState$inboundSchema,
27
+ LeaderboardState$Outbound,
28
+ LeaderboardState$outboundSchema,
29
+ } from "./leaderboardstate.js";
12
30
  import {
13
31
  Role,
14
32
  Role$inboundSchema,
@@ -49,8 +67,8 @@ export type LeaderboardAccount = {
49
67
  * The number of bans
50
68
  */
51
69
  bans: number;
52
- city?: Location | null | undefined;
53
- country?: Location | null | undefined;
70
+ city?: LeaderboardCity | null | undefined;
71
+ country?: LeaderboardCountry | null | undefined;
54
72
  /**
55
73
  * The time the account was created
56
74
  */
@@ -115,12 +133,12 @@ export type LeaderboardAccount = {
115
133
  * The privacy of the account
116
134
  */
117
135
  privacy: string;
118
- region?: Location | null | undefined;
136
+ region?: LeaderboardRegion | null | undefined;
119
137
  /**
120
138
  * The roles of the account
121
139
  */
122
140
  roles: Array<Role> | null;
123
- state?: Location | null | undefined;
141
+ state?: LeaderboardState | null | undefined;
124
142
  /**
125
143
  * The steam id
126
144
  */
@@ -161,8 +179,8 @@ export const LeaderboardAccount$inboundSchema: z.ZodType<
161
179
  awardsReceived: z.number().int(),
162
180
  badges: z.number().int(),
163
181
  bans: z.number().int(),
164
- city: z.nullable(Location$inboundSchema).optional(),
165
- country: z.nullable(Location$inboundSchema).optional(),
182
+ city: z.nullable(LeaderboardCity$inboundSchema).optional(),
183
+ country: z.nullable(LeaderboardCountry$inboundSchema).optional(),
166
184
  createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
167
185
  economyBan: z.string(),
168
186
  foilBadgeCost: z.number().int(),
@@ -179,9 +197,9 @@ export const LeaderboardAccount$inboundSchema: z.ZodType<
179
197
  pointsGiven: z.number().int(),
180
198
  pointsReceived: z.number().int(),
181
199
  privacy: z.string(),
182
- region: z.nullable(Location$inboundSchema).optional(),
200
+ region: z.nullable(LeaderboardRegion$inboundSchema).optional(),
183
201
  roles: z.nullable(z.array(Role$inboundSchema)),
184
- state: z.nullable(Location$inboundSchema).optional(),
202
+ state: z.nullable(LeaderboardState$inboundSchema).optional(),
185
203
  steamId: z.string(),
186
204
  steamSetsScore: z.number().int(),
187
205
  steamSetsVanity: z.string(),
@@ -200,8 +218,8 @@ export type LeaderboardAccount$Outbound = {
200
218
  awardsReceived: number;
201
219
  badges: number;
202
220
  bans: number;
203
- city?: Location$Outbound | null | undefined;
204
- country?: Location$Outbound | null | undefined;
221
+ city?: LeaderboardCity$Outbound | null | undefined;
222
+ country?: LeaderboardCountry$Outbound | null | undefined;
205
223
  createdAt: string;
206
224
  economyBan: string;
207
225
  foilBadgeCost: number;
@@ -218,9 +236,9 @@ export type LeaderboardAccount$Outbound = {
218
236
  pointsGiven: number;
219
237
  pointsReceived: number;
220
238
  privacy: string;
221
- region?: Location$Outbound | null | undefined;
239
+ region?: LeaderboardRegion$Outbound | null | undefined;
222
240
  roles: Array<Role$Outbound> | null;
223
- state?: Location$Outbound | null | undefined;
241
+ state?: LeaderboardState$Outbound | null | undefined;
224
242
  steamId: string;
225
243
  steamSetsScore: number;
226
244
  steamSetsVanity: string;
@@ -243,8 +261,8 @@ export const LeaderboardAccount$outboundSchema: z.ZodType<
243
261
  awardsReceived: z.number().int(),
244
262
  badges: z.number().int(),
245
263
  bans: z.number().int(),
246
- city: z.nullable(Location$outboundSchema).optional(),
247
- country: z.nullable(Location$outboundSchema).optional(),
264
+ city: z.nullable(LeaderboardCity$outboundSchema).optional(),
265
+ country: z.nullable(LeaderboardCountry$outboundSchema).optional(),
248
266
  createdAt: z.date().transform(v => v.toISOString()),
249
267
  economyBan: z.string(),
250
268
  foilBadgeCost: z.number().int(),
@@ -261,9 +279,9 @@ export const LeaderboardAccount$outboundSchema: z.ZodType<
261
279
  pointsGiven: z.number().int(),
262
280
  pointsReceived: z.number().int(),
263
281
  privacy: z.string(),
264
- region: z.nullable(Location$outboundSchema).optional(),
282
+ region: z.nullable(LeaderboardRegion$outboundSchema).optional(),
265
283
  roles: z.nullable(z.array(Role$outboundSchema)),
266
- state: z.nullable(Location$outboundSchema).optional(),
284
+ state: z.nullable(LeaderboardState$outboundSchema).optional(),
267
285
  steamId: z.string(),
268
286
  steamSetsScore: z.number().int(),
269
287
  steamSetsVanity: z.string(),
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type LeaderboardCity = {
8
+ /**
9
+ * The id of the city
10
+ */
11
+ id: number;
12
+ /**
13
+ * The name of the city
14
+ */
15
+ name: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const LeaderboardCity$inboundSchema: z.ZodType<
20
+ LeaderboardCity,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ id: z.number().int(),
25
+ name: z.string(),
26
+ });
27
+
28
+ /** @internal */
29
+ export type LeaderboardCity$Outbound = {
30
+ id: number;
31
+ name: string;
32
+ };
33
+
34
+ /** @internal */
35
+ export const LeaderboardCity$outboundSchema: z.ZodType<
36
+ LeaderboardCity$Outbound,
37
+ z.ZodTypeDef,
38
+ LeaderboardCity
39
+ > = z.object({
40
+ id: z.number().int(),
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 LeaderboardCity$ {
49
+ /** @deprecated use `LeaderboardCity$inboundSchema` instead. */
50
+ export const inboundSchema = LeaderboardCity$inboundSchema;
51
+ /** @deprecated use `LeaderboardCity$outboundSchema` instead. */
52
+ export const outboundSchema = LeaderboardCity$outboundSchema;
53
+ /** @deprecated use `LeaderboardCity$Outbound` instead. */
54
+ export type Outbound = LeaderboardCity$Outbound;
55
+ }
@@ -0,0 +1,62 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type LeaderboardCountry = {
8
+ /**
9
+ * The code of the country
10
+ */
11
+ code?: string | undefined;
12
+ /**
13
+ * The id of the country
14
+ */
15
+ id: number;
16
+ /**
17
+ * The name of the country
18
+ */
19
+ name: string;
20
+ };
21
+
22
+ /** @internal */
23
+ export const LeaderboardCountry$inboundSchema: z.ZodType<
24
+ LeaderboardCountry,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ code: z.string().optional(),
29
+ id: z.number().int(),
30
+ name: z.string(),
31
+ });
32
+
33
+ /** @internal */
34
+ export type LeaderboardCountry$Outbound = {
35
+ code?: string | undefined;
36
+ id: number;
37
+ name: string;
38
+ };
39
+
40
+ /** @internal */
41
+ export const LeaderboardCountry$outboundSchema: z.ZodType<
42
+ LeaderboardCountry$Outbound,
43
+ z.ZodTypeDef,
44
+ LeaderboardCountry
45
+ > = z.object({
46
+ code: z.string().optional(),
47
+ id: z.number().int(),
48
+ name: z.string(),
49
+ });
50
+
51
+ /**
52
+ * @internal
53
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
+ */
55
+ export namespace LeaderboardCountry$ {
56
+ /** @deprecated use `LeaderboardCountry$inboundSchema` instead. */
57
+ export const inboundSchema = LeaderboardCountry$inboundSchema;
58
+ /** @deprecated use `LeaderboardCountry$outboundSchema` instead. */
59
+ export const outboundSchema = LeaderboardCountry$outboundSchema;
60
+ /** @deprecated use `LeaderboardCountry$Outbound` instead. */
61
+ export type Outbound = LeaderboardCountry$Outbound;
62
+ }
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type LeaderboardRegion = {
8
+ /**
9
+ * The id of the region
10
+ */
11
+ id: number;
12
+ /**
13
+ * The name of the region
14
+ */
15
+ name: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const LeaderboardRegion$inboundSchema: z.ZodType<
20
+ LeaderboardRegion,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ id: z.number().int(),
25
+ name: z.string(),
26
+ });
27
+
28
+ /** @internal */
29
+ export type LeaderboardRegion$Outbound = {
30
+ id: number;
31
+ name: string;
32
+ };
33
+
34
+ /** @internal */
35
+ export const LeaderboardRegion$outboundSchema: z.ZodType<
36
+ LeaderboardRegion$Outbound,
37
+ z.ZodTypeDef,
38
+ LeaderboardRegion
39
+ > = z.object({
40
+ id: z.number().int(),
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 LeaderboardRegion$ {
49
+ /** @deprecated use `LeaderboardRegion$inboundSchema` instead. */
50
+ export const inboundSchema = LeaderboardRegion$inboundSchema;
51
+ /** @deprecated use `LeaderboardRegion$outboundSchema` instead. */
52
+ export const outboundSchema = LeaderboardRegion$outboundSchema;
53
+ /** @deprecated use `LeaderboardRegion$Outbound` instead. */
54
+ export type Outbound = LeaderboardRegion$Outbound;
55
+ }
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type LeaderboardState = {
8
+ /**
9
+ * The id of the state
10
+ */
11
+ id: number;
12
+ /**
13
+ * The name of the state
14
+ */
15
+ name: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const LeaderboardState$inboundSchema: z.ZodType<
20
+ LeaderboardState,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ id: z.number().int(),
25
+ name: z.string(),
26
+ });
27
+
28
+ /** @internal */
29
+ export type LeaderboardState$Outbound = {
30
+ id: number;
31
+ name: string;
32
+ };
33
+
34
+ /** @internal */
35
+ export const LeaderboardState$outboundSchema: z.ZodType<
36
+ LeaderboardState$Outbound,
37
+ z.ZodTypeDef,
38
+ LeaderboardState
39
+ > = z.object({
40
+ id: z.number().int(),
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 LeaderboardState$ {
49
+ /** @deprecated use `LeaderboardState$inboundSchema` instead. */
50
+ export const inboundSchema = LeaderboardState$inboundSchema;
51
+ /** @deprecated use `LeaderboardState$outboundSchema` instead. */
52
+ export const outboundSchema = LeaderboardState$outboundSchema;
53
+ /** @deprecated use `LeaderboardState$Outbound` instead. */
54
+ export type Outbound = LeaderboardState$Outbound;
55
+ }