@steamsets/client-ts 0.22.3 → 0.22.8

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 (83) hide show
  1. package/README.md +4 -4
  2. package/docs/sdks/account/README.md +10 -10
  3. package/docs/sdks/leaderboard/README.md +4 -28
  4. package/funcs/{accountAccountV1SessionLogout.d.ts → accountLogout.d.ts} +2 -2
  5. package/funcs/accountLogout.d.ts.map +1 -0
  6. package/funcs/{accountAccountV1SessionLogout.js → accountLogout.js} +3 -3
  7. package/funcs/accountLogout.js.map +1 -0
  8. package/funcs/{accountAccountV1SessionRefresh.d.ts → accountRefreshSession.d.ts} +2 -2
  9. package/funcs/accountRefreshSession.d.ts.map +1 -0
  10. package/funcs/{accountAccountV1SessionRefresh.js → accountRefreshSession.js} +3 -3
  11. package/funcs/accountRefreshSession.js.map +1 -0
  12. package/funcs/leaderboardGetAccount.d.ts +1 -1
  13. package/funcs/leaderboardGetAccount.d.ts.map +1 -1
  14. package/funcs/leaderboardGetAccount.js +2 -4
  15. package/funcs/leaderboardGetAccount.js.map +1 -1
  16. package/funcs/leaderboardGetAccountMeta.d.ts +1 -1
  17. package/funcs/leaderboardGetAccountMeta.js +2 -2
  18. package/jsr.json +1 -1
  19. package/lib/config.d.ts +3 -3
  20. package/lib/config.js +3 -3
  21. package/lib/security.d.ts +4 -3
  22. package/lib/security.d.ts.map +1 -1
  23. package/lib/security.js +6 -1
  24. package/lib/security.js.map +1 -1
  25. package/models/components/session.d.ts +5 -0
  26. package/models/components/session.d.ts.map +1 -1
  27. package/models/components/session.js +2 -0
  28. package/models/components/session.js.map +1 -1
  29. package/models/components/v1getsessionbody.d.ts +11 -1
  30. package/models/components/v1getsessionbody.d.ts.map +1 -1
  31. package/models/components/v1getsessionbody.js +4 -0
  32. package/models/components/v1getsessionbody.js.map +1 -1
  33. package/models/components/v1uploadedimage.d.ts +8 -8
  34. package/models/components/v1uploadedimage.d.ts.map +1 -1
  35. package/models/components/v1uploadedimage.js +13 -13
  36. package/models/components/v1uploadedimage.js.map +1 -1
  37. package/models/components/vanitystruct.d.ts +8 -8
  38. package/models/components/vanitystruct.d.ts.map +1 -1
  39. package/models/components/vanitystruct.js +13 -13
  40. package/models/components/vanitystruct.js.map +1 -1
  41. package/models/operations/index.d.ts +2 -2
  42. package/models/operations/index.d.ts.map +1 -1
  43. package/models/operations/index.js +2 -2
  44. package/models/operations/index.js.map +1 -1
  45. package/models/operations/leaderboardv1getaccountleaderboard.d.ts +35 -0
  46. package/models/operations/leaderboardv1getaccountleaderboard.d.ts.map +1 -0
  47. package/models/operations/{leaderboardv1getaccount.js → leaderboardv1getaccountleaderboard.js} +17 -17
  48. package/models/operations/leaderboardv1getaccountleaderboard.js.map +1 -0
  49. package/models/operations/leaderboardv1getaccountleaderboardmeta.d.ts +35 -0
  50. package/models/operations/{leaderboardv1getleaderboardaccountmeta.d.ts.map → leaderboardv1getaccountleaderboardmeta.d.ts.map} +1 -1
  51. package/models/operations/{leaderboardv1getleaderboardaccountmeta.js → leaderboardv1getaccountleaderboardmeta.js} +17 -17
  52. package/models/operations/{leaderboardv1getleaderboardaccountmeta.js.map → leaderboardv1getaccountleaderboardmeta.js.map} +1 -1
  53. package/package.json +1 -1
  54. package/sdk/account.d.ts +2 -2
  55. package/sdk/account.d.ts.map +1 -1
  56. package/sdk/account.js +6 -6
  57. package/sdk/account.js.map +1 -1
  58. package/sdk/leaderboard.d.ts +2 -2
  59. package/sdk/leaderboard.d.ts.map +1 -1
  60. package/src/funcs/{accountAccountV1SessionLogout.ts → accountLogout.ts} +1 -1
  61. package/src/funcs/{accountAccountV1SessionRefresh.ts → accountRefreshSession.ts} +1 -1
  62. package/src/funcs/leaderboardGetAccount.ts +9 -7
  63. package/src/funcs/leaderboardGetAccountMeta.ts +5 -5
  64. package/src/lib/config.ts +3 -3
  65. package/src/lib/security.ts +11 -3
  66. package/src/models/components/session.ts +7 -0
  67. package/src/models/components/v1getsessionbody.ts +15 -1
  68. package/src/models/components/v1uploadedimage.ts +16 -15
  69. package/src/models/components/vanitystruct.ts +15 -16
  70. package/src/models/operations/index.ts +2 -2
  71. package/src/models/operations/leaderboardv1getaccountleaderboard.ts +101 -0
  72. package/src/models/operations/{leaderboardv1getleaderboardaccountmeta.ts → leaderboardv1getaccountleaderboardmeta.ts} +23 -23
  73. package/src/sdk/account.ts +6 -6
  74. package/src/sdk/leaderboard.ts +2 -2
  75. package/funcs/accountAccountV1SessionLogout.d.ts.map +0 -1
  76. package/funcs/accountAccountV1SessionLogout.js.map +0 -1
  77. package/funcs/accountAccountV1SessionRefresh.d.ts.map +0 -1
  78. package/funcs/accountAccountV1SessionRefresh.js.map +0 -1
  79. package/models/operations/leaderboardv1getaccount.d.ts +0 -35
  80. package/models/operations/leaderboardv1getaccount.d.ts.map +0 -1
  81. package/models/operations/leaderboardv1getaccount.js.map +0 -1
  82. package/models/operations/leaderboardv1getleaderboardaccountmeta.d.ts +0 -35
  83. package/src/models/operations/leaderboardv1getaccount.ts +0 -93
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
- export type LeaderboardV1GetLeaderboardAccountMetaResponse = {
12
+ export type LeaderboardV1GetAccountLeaderboardMetaResponse = {
13
13
  httpMeta: components.HTTPMetadata;
14
14
  /**
15
15
  * OK
@@ -20,9 +20,9 @@ export type LeaderboardV1GetLeaderboardAccountMetaResponse = {
20
20
  };
21
21
 
22
22
  /** @internal */
23
- export const LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema:
23
+ export const LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema:
24
24
  z.ZodType<
25
- LeaderboardV1GetLeaderboardAccountMetaResponse,
25
+ LeaderboardV1GetAccountLeaderboardMetaResponse,
26
26
  z.ZodTypeDef,
27
27
  unknown
28
28
  > = z.object({
@@ -38,7 +38,7 @@ export const LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema:
38
38
  });
39
39
 
40
40
  /** @internal */
41
- export type LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound = {
41
+ export type LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound = {
42
42
  HttpMeta: components.HTTPMetadata$Outbound;
43
43
  V1LeaderboardAccountMetaResponseBody?:
44
44
  | components.V1LeaderboardAccountMetaResponseBody$Outbound
@@ -46,11 +46,11 @@ export type LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound = {
46
46
  };
47
47
 
48
48
  /** @internal */
49
- export const LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema:
49
+ export const LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema:
50
50
  z.ZodType<
51
- LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound,
51
+ LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound,
52
52
  z.ZodTypeDef,
53
- LeaderboardV1GetLeaderboardAccountMetaResponse
53
+ LeaderboardV1GetAccountLeaderboardMetaResponse
54
54
  > = z.object({
55
55
  httpMeta: components.HTTPMetadata$outboundSchema,
56
56
  v1LeaderboardAccountMetaResponseBody: components
@@ -67,41 +67,41 @@ export const LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema:
67
67
  * @internal
68
68
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
69
  */
70
- export namespace LeaderboardV1GetLeaderboardAccountMetaResponse$ {
71
- /** @deprecated use `LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema` instead. */
70
+ export namespace LeaderboardV1GetAccountLeaderboardMetaResponse$ {
71
+ /** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema` instead. */
72
72
  export const inboundSchema =
73
- LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema;
74
- /** @deprecated use `LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema` instead. */
73
+ LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema;
74
+ /** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema` instead. */
75
75
  export const outboundSchema =
76
- LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema;
77
- /** @deprecated use `LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound` instead. */
76
+ LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema;
77
+ /** @deprecated use `LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound` instead. */
78
78
  export type Outbound =
79
- LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound;
79
+ LeaderboardV1GetAccountLeaderboardMetaResponse$Outbound;
80
80
  }
81
81
 
82
- export function leaderboardV1GetLeaderboardAccountMetaResponseToJSON(
83
- leaderboardV1GetLeaderboardAccountMetaResponse:
84
- LeaderboardV1GetLeaderboardAccountMetaResponse,
82
+ export function leaderboardV1GetAccountLeaderboardMetaResponseToJSON(
83
+ leaderboardV1GetAccountLeaderboardMetaResponse:
84
+ LeaderboardV1GetAccountLeaderboardMetaResponse,
85
85
  ): string {
86
86
  return JSON.stringify(
87
- LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema.parse(
88
- leaderboardV1GetLeaderboardAccountMetaResponse,
87
+ LeaderboardV1GetAccountLeaderboardMetaResponse$outboundSchema.parse(
88
+ leaderboardV1GetAccountLeaderboardMetaResponse,
89
89
  ),
90
90
  );
91
91
  }
92
92
 
93
- export function leaderboardV1GetLeaderboardAccountMetaResponseFromJSON(
93
+ export function leaderboardV1GetAccountLeaderboardMetaResponseFromJSON(
94
94
  jsonString: string,
95
95
  ): SafeParseResult<
96
- LeaderboardV1GetLeaderboardAccountMetaResponse,
96
+ LeaderboardV1GetAccountLeaderboardMetaResponse,
97
97
  SDKValidationError
98
98
  > {
99
99
  return safeParse(
100
100
  jsonString,
101
101
  (x) =>
102
- LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema.parse(
102
+ LeaderboardV1GetAccountLeaderboardMetaResponse$inboundSchema.parse(
103
103
  JSON.parse(x),
104
104
  ),
105
- `Failed to parse 'LeaderboardV1GetLeaderboardAccountMetaResponse' from JSON`,
105
+ `Failed to parse 'LeaderboardV1GetAccountLeaderboardMetaResponse' from JSON`,
106
106
  );
107
107
  }
@@ -2,8 +2,6 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { accountAccountV1SessionLogout } from "../funcs/accountAccountV1SessionLogout.js";
6
- import { accountAccountV1SessionRefresh } from "../funcs/accountAccountV1SessionRefresh.js";
7
5
  import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
8
6
  import { accountConnect } from "../funcs/accountConnect.js";
9
7
  import { accountCreateDeveloperApp } from "../funcs/accountCreateDeveloperApp.js";
@@ -27,8 +25,10 @@ import { accountGetSession } from "../funcs/accountGetSession.js";
27
25
  import { accountGetSettings } from "../funcs/accountGetSettings.js";
28
26
  import { accountGetStaff } from "../funcs/accountGetStaff.js";
29
27
  import { accountLogin } from "../funcs/accountLogin.js";
28
+ import { accountLogout } from "../funcs/accountLogout.js";
30
29
  import { accountQueue } from "../funcs/accountQueue.js";
31
30
  import { accountReconnect } from "../funcs/accountReconnect.js";
31
+ import { accountRefreshSession } from "../funcs/accountRefreshSession.js";
32
32
  import { accountUpdateImages } from "../funcs/accountUpdateImages.js";
33
33
  import { accountUpdateSettings } from "../funcs/accountUpdateSettings.js";
34
34
  import { accountUploadImages } from "../funcs/accountUploadImages.js";
@@ -304,10 +304,10 @@ export class Account extends ClientSDK {
304
304
  ));
305
305
  }
306
306
 
307
- async accountV1SessionLogout(
307
+ async logout(
308
308
  options?: RequestOptions,
309
309
  ): Promise<operations.AccountV1SessionLogoutResponse> {
310
- return unwrapAsync(accountAccountV1SessionLogout(
310
+ return unwrapAsync(accountLogout(
311
311
  this,
312
312
  options,
313
313
  ));
@@ -335,11 +335,11 @@ export class Account extends ClientSDK {
335
335
  ));
336
336
  }
337
337
 
338
- async accountV1SessionRefresh(
338
+ async refreshSession(
339
339
  request: operations.AccountV1SessionRefreshRequest,
340
340
  options?: RequestOptions,
341
341
  ): Promise<operations.AccountV1SessionRefreshResponse> {
342
- return unwrapAsync(accountAccountV1SessionRefresh(
342
+ return unwrapAsync(accountRefreshSession(
343
343
  this,
344
344
  request,
345
345
  options,
@@ -20,7 +20,7 @@ export class Leaderboard extends ClientSDK {
20
20
  async getAccount(
21
21
  request: components.V1AccountLeaderboardRequestBody,
22
22
  options?: RequestOptions,
23
- ): Promise<operations.LeaderboardV1GetAccountResponse> {
23
+ ): Promise<operations.LeaderboardV1GetAccountLeaderboardResponse> {
24
24
  return unwrapAsync(leaderboardGetAccount(
25
25
  this,
26
26
  request,
@@ -31,7 +31,7 @@ export class Leaderboard extends ClientSDK {
31
31
  async getAccountMeta(
32
32
  request: components.V1LeaderboardAccountMetaRequestBody,
33
33
  options?: RequestOptions,
34
- ): Promise<operations.LeaderboardV1GetLeaderboardAccountMetaResponse> {
34
+ ): Promise<operations.LeaderboardV1GetAccountLeaderboardMetaResponse> {
35
35
  return unwrapAsync(leaderboardGetAccountMeta(
36
36
  this,
37
37
  request,
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountAccountV1SessionLogout.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SessionLogout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,8BAA8B,EACvC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAKA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountAccountV1SessionLogout.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1SessionLogout.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;AAsBH,sEAqBC;AAxCD,sDAAwC;AACxC,wDAAkD;AAElD,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAGpD,0EAA4D;AAC5D,gDAAwD;AAGxD,SAAgB,6BAA6B,CAC3C,MAAqB,EACrB,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAwB;IAkBxB,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,mCAAmC,CAAC,EAAE,CAAC;IAE/D,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,IAAA,0BAAU,EAAC;QACrC,MAAM,EAAE,0BAA0B;KACnC,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,aAAa,GAAG,SAAS,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAA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AE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountAccountV1SessionRefresh.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountV1SessionRefresh.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,+BAA+B,EACxC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,UAAU,GACjB,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountAccountV1SessionRefresh.js","sourceRoot":"","sources":["../src/funcs/accountAccountV1SessionRefresh.ts"],"names":[],"mappings":";AAA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C,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,EAAE;QAC9C,KAAK,EAAE,0BAA0B;KAClC,CAAC,EACF,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,35 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import * as components from "../components/index.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type LeaderboardV1GetAccountResponse = {
6
- httpMeta: components.HTTPMetadata;
7
- /**
8
- * OK
9
- */
10
- v1AccountLeaderboardResponseBody?: components.V1AccountLeaderboardResponseBody | undefined;
11
- };
12
- /** @internal */
13
- export declare const LeaderboardV1GetAccountResponse$inboundSchema: z.ZodType<LeaderboardV1GetAccountResponse, z.ZodTypeDef, unknown>;
14
- /** @internal */
15
- export type LeaderboardV1GetAccountResponse$Outbound = {
16
- HttpMeta: components.HTTPMetadata$Outbound;
17
- V1AccountLeaderboardResponseBody?: components.V1AccountLeaderboardResponseBody$Outbound | undefined;
18
- };
19
- /** @internal */
20
- export declare const LeaderboardV1GetAccountResponse$outboundSchema: z.ZodType<LeaderboardV1GetAccountResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetAccountResponse>;
21
- /**
22
- * @internal
23
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
24
- */
25
- export declare namespace LeaderboardV1GetAccountResponse$ {
26
- /** @deprecated use `LeaderboardV1GetAccountResponse$inboundSchema` instead. */
27
- const inboundSchema: z.ZodType<LeaderboardV1GetAccountResponse, z.ZodTypeDef, unknown>;
28
- /** @deprecated use `LeaderboardV1GetAccountResponse$outboundSchema` instead. */
29
- const outboundSchema: z.ZodType<LeaderboardV1GetAccountResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetAccountResponse>;
30
- /** @deprecated use `LeaderboardV1GetAccountResponse$Outbound` instead. */
31
- type Outbound = LeaderboardV1GetAccountResponse$Outbound;
32
- }
33
- export declare function leaderboardV1GetAccountResponseToJSON(leaderboardV1GetAccountResponse: LeaderboardV1GetAccountResponse): string;
34
- export declare function leaderboardV1GetAccountResponseFromJSON(jsonString: string): SafeParseResult<LeaderboardV1GetAccountResponse, SDKValidationError>;
35
- //# sourceMappingURL=leaderboardv1getaccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"leaderboardv1getaccount.d.ts","sourceRoot":"","sources":["../../src/models/operations/leaderboardv1getaccount.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,UAAU,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,gCAAgC,CAAC,EAC7B,UAAU,CAAC,gCAAgC,GAC3C,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,QAAQ,EAAE,UAAU,CAAC,qBAAqB,CAAC;IAC3C,gCAAgC,CAAC,EAC7B,UAAU,CAAC,yCAAyC,GACpD,SAAS,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAU/B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gCAAgC,CAAC;IAChD,+EAA+E;IACxE,MAAM,aAAa,mEAAgD,CAAC;IAC3E,gFAAgF;IACzE,MAAM,cAAc,oGAAiD,CAAC;IAC7E,0EAA0E;IAC1E,KAAY,QAAQ,GAAG,wCAAwC,CAAC;CACjE;AAED,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR;AAED,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"leaderboardv1getaccount.js","sourceRoot":"","sources":["../../src/models/operations/leaderboardv1getaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,sFAQC;AAED,0FAQC;AAxFD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAarD,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,0BAA0B;IAC/C,gCAAgC,EAAE,UAAU;SACzC,8CAA8C,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,UAAU;QACtB,kCAAkC,EAAE,kCAAkC;KACvE,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC,2BAA2B;IAChD,gCAAgC,EAAE,UAAU;SACzC,+CAA+C,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,UAAU;QACpB,gCAAgC,EAAE,kCAAkC;KACrE,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gCAAgC,CAOhD;AAPD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,qDAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,sDAA8C,CAAC;AAG/E,CAAC,EAPgB,gCAAgC,gDAAhC,gCAAgC,QAOhD;AAED,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
@@ -1,35 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import * as components from "../components/index.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type LeaderboardV1GetLeaderboardAccountMetaResponse = {
6
- httpMeta: components.HTTPMetadata;
7
- /**
8
- * OK
9
- */
10
- v1LeaderboardAccountMetaResponseBody?: components.V1LeaderboardAccountMetaResponseBody | undefined;
11
- };
12
- /** @internal */
13
- export declare const LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema: z.ZodType<LeaderboardV1GetLeaderboardAccountMetaResponse, z.ZodTypeDef, unknown>;
14
- /** @internal */
15
- export type LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound = {
16
- HttpMeta: components.HTTPMetadata$Outbound;
17
- V1LeaderboardAccountMetaResponseBody?: components.V1LeaderboardAccountMetaResponseBody$Outbound | undefined;
18
- };
19
- /** @internal */
20
- export declare const LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema: z.ZodType<LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetLeaderboardAccountMetaResponse>;
21
- /**
22
- * @internal
23
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
24
- */
25
- export declare namespace LeaderboardV1GetLeaderboardAccountMetaResponse$ {
26
- /** @deprecated use `LeaderboardV1GetLeaderboardAccountMetaResponse$inboundSchema` instead. */
27
- const inboundSchema: z.ZodType<LeaderboardV1GetLeaderboardAccountMetaResponse, z.ZodTypeDef, unknown>;
28
- /** @deprecated use `LeaderboardV1GetLeaderboardAccountMetaResponse$outboundSchema` instead. */
29
- const outboundSchema: z.ZodType<LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound, z.ZodTypeDef, LeaderboardV1GetLeaderboardAccountMetaResponse>;
30
- /** @deprecated use `LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound` instead. */
31
- type Outbound = LeaderboardV1GetLeaderboardAccountMetaResponse$Outbound;
32
- }
33
- export declare function leaderboardV1GetLeaderboardAccountMetaResponseToJSON(leaderboardV1GetLeaderboardAccountMetaResponse: LeaderboardV1GetLeaderboardAccountMetaResponse): string;
34
- export declare function leaderboardV1GetLeaderboardAccountMetaResponseFromJSON(jsonString: string): SafeParseResult<LeaderboardV1GetLeaderboardAccountMetaResponse, SDKValidationError>;
35
- //# sourceMappingURL=leaderboardv1getleaderboardaccountmeta.d.ts.map
@@ -1,93 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import * as components from "../components/index.js";
10
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
-
12
- export type LeaderboardV1GetAccountResponse = {
13
- httpMeta: components.HTTPMetadata;
14
- /**
15
- * OK
16
- */
17
- v1AccountLeaderboardResponseBody?:
18
- | components.V1AccountLeaderboardResponseBody
19
- | undefined;
20
- };
21
-
22
- /** @internal */
23
- export const LeaderboardV1GetAccountResponse$inboundSchema: z.ZodType<
24
- LeaderboardV1GetAccountResponse,
25
- z.ZodTypeDef,
26
- unknown
27
- > = z.object({
28
- HttpMeta: components.HTTPMetadata$inboundSchema,
29
- V1AccountLeaderboardResponseBody: components
30
- .V1AccountLeaderboardResponseBody$inboundSchema.optional(),
31
- }).transform((v) => {
32
- return remap$(v, {
33
- "HttpMeta": "httpMeta",
34
- "V1AccountLeaderboardResponseBody": "v1AccountLeaderboardResponseBody",
35
- });
36
- });
37
-
38
- /** @internal */
39
- export type LeaderboardV1GetAccountResponse$Outbound = {
40
- HttpMeta: components.HTTPMetadata$Outbound;
41
- V1AccountLeaderboardResponseBody?:
42
- | components.V1AccountLeaderboardResponseBody$Outbound
43
- | undefined;
44
- };
45
-
46
- /** @internal */
47
- export const LeaderboardV1GetAccountResponse$outboundSchema: z.ZodType<
48
- LeaderboardV1GetAccountResponse$Outbound,
49
- z.ZodTypeDef,
50
- LeaderboardV1GetAccountResponse
51
- > = z.object({
52
- httpMeta: components.HTTPMetadata$outboundSchema,
53
- v1AccountLeaderboardResponseBody: components
54
- .V1AccountLeaderboardResponseBody$outboundSchema.optional(),
55
- }).transform((v) => {
56
- return remap$(v, {
57
- httpMeta: "HttpMeta",
58
- v1AccountLeaderboardResponseBody: "V1AccountLeaderboardResponseBody",
59
- });
60
- });
61
-
62
- /**
63
- * @internal
64
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
- */
66
- export namespace LeaderboardV1GetAccountResponse$ {
67
- /** @deprecated use `LeaderboardV1GetAccountResponse$inboundSchema` instead. */
68
- export const inboundSchema = LeaderboardV1GetAccountResponse$inboundSchema;
69
- /** @deprecated use `LeaderboardV1GetAccountResponse$outboundSchema` instead. */
70
- export const outboundSchema = LeaderboardV1GetAccountResponse$outboundSchema;
71
- /** @deprecated use `LeaderboardV1GetAccountResponse$Outbound` instead. */
72
- export type Outbound = LeaderboardV1GetAccountResponse$Outbound;
73
- }
74
-
75
- export function leaderboardV1GetAccountResponseToJSON(
76
- leaderboardV1GetAccountResponse: LeaderboardV1GetAccountResponse,
77
- ): string {
78
- return JSON.stringify(
79
- LeaderboardV1GetAccountResponse$outboundSchema.parse(
80
- leaderboardV1GetAccountResponse,
81
- ),
82
- );
83
- }
84
-
85
- export function leaderboardV1GetAccountResponseFromJSON(
86
- jsonString: string,
87
- ): SafeParseResult<LeaderboardV1GetAccountResponse, SDKValidationError> {
88
- return safeParse(
89
- jsonString,
90
- (x) => LeaderboardV1GetAccountResponse$inboundSchema.parse(JSON.parse(x)),
91
- `Failed to parse 'LeaderboardV1GetAccountResponse' from JSON`,
92
- );
93
- }