@steamsets/client-ts 0.27.8 → 0.27.9

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 (57) hide show
  1. package/examples/package-lock.json +1 -1
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/components/accountsearch.d.ts +6 -6
  6. package/models/components/accountsearch.d.ts.map +1 -1
  7. package/models/components/accountsearch.js +6 -6
  8. package/models/components/accountsearch.js.map +1 -1
  9. package/models/components/idsearch.d.ts +37 -0
  10. package/models/components/{idstruct.d.ts.map → idsearch.d.ts.map} +1 -1
  11. package/models/components/{idstruct.js → idsearch.js} +17 -17
  12. package/models/components/{idstruct.js.map → idsearch.js.map} +1 -1
  13. package/models/components/index.d.ts +2 -4
  14. package/models/components/index.d.ts.map +1 -1
  15. package/models/components/index.js +2 -4
  16. package/models/components/index.js.map +1 -1
  17. package/models/components/v1accountlistappsrequestbody.d.ts +6 -6
  18. package/models/components/v1accountlistappsrequestbody.js +6 -6
  19. package/models/components/v1accountlistbadgesrequestbody.d.ts +6 -6
  20. package/models/components/v1accountlistbadgesrequestbody.js +6 -6
  21. package/models/components/v1accountqueueupdaterequestbody.d.ts +6 -6
  22. package/models/components/v1accountqueueupdaterequestbody.js +6 -6
  23. package/models/components/v1adminupdateresourcesrequestbody.d.ts +6 -6
  24. package/models/components/v1adminupdateresourcesrequestbody.js +6 -6
  25. package/models/components/v1adminupdaterolesrequestbody.d.ts +6 -6
  26. package/models/components/v1adminupdaterolesrequestbody.js +6 -6
  27. package/models/components/v1leaderboardpreviewaccountrankrequestbody.d.ts +6 -6
  28. package/models/components/v1leaderboardpreviewaccountrankrequestbody.js +6 -6
  29. package/models/components/{accountsearchvanitystruct.d.ts → vanitysearch.d.ts} +14 -14
  30. package/models/components/vanitysearch.d.ts.map +1 -0
  31. package/models/components/{accountsearchvanitystruct.js → vanitysearch.js} +17 -17
  32. package/models/components/vanitysearch.js.map +1 -0
  33. package/package.json +1 -1
  34. package/src/lib/config.ts +2 -2
  35. package/src/models/components/accountsearch.ts +18 -18
  36. package/src/models/components/{idstruct.ts → idsearch.ts} +20 -20
  37. package/src/models/components/index.ts +2 -4
  38. package/src/models/components/v1accountlistappsrequestbody.ts +18 -18
  39. package/src/models/components/v1accountlistbadgesrequestbody.ts +18 -18
  40. package/src/models/components/v1accountqueueupdaterequestbody.ts +18 -18
  41. package/src/models/components/v1adminupdateresourcesrequestbody.ts +18 -18
  42. package/src/models/components/v1adminupdaterolesrequestbody.ts +18 -18
  43. package/src/models/components/v1leaderboardpreviewaccountrankrequestbody.ts +18 -18
  44. package/src/models/components/{accountsearchvanitystruct.ts → vanitysearch.ts} +20 -24
  45. package/models/components/accountsearchidstruct.d.ts +0 -37
  46. package/models/components/accountsearchidstruct.d.ts.map +0 -1
  47. package/models/components/accountsearchidstruct.js +0 -71
  48. package/models/components/accountsearchidstruct.js.map +0 -1
  49. package/models/components/accountsearchvanitystruct.d.ts.map +0 -1
  50. package/models/components/accountsearchvanitystruct.js.map +0 -1
  51. package/models/components/idstruct.d.ts +0 -37
  52. package/models/components/vanitystruct.d.ts +0 -69
  53. package/models/components/vanitystruct.d.ts.map +0 -1
  54. package/models/components/vanitystruct.js +0 -93
  55. package/models/components/vanitystruct.js.map +0 -1
  56. package/src/models/components/accountsearchidstruct.ts +0 -76
  57. package/src/models/components/vanitystruct.ts +0 -106
@@ -7,25 +7,25 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import {
10
- IDStruct,
11
- IDStruct$inboundSchema,
12
- IDStruct$Outbound,
13
- IDStruct$outboundSchema,
14
- } from "./idstruct.js";
10
+ IDSearch,
11
+ IDSearch$inboundSchema,
12
+ IDSearch$Outbound,
13
+ IDSearch$outboundSchema,
14
+ } from "./idsearch.js";
15
15
  import {
16
- VanityStruct,
17
- VanityStruct$inboundSchema,
18
- VanityStruct$Outbound,
19
- VanityStruct$outboundSchema,
20
- } from "./vanitystruct.js";
16
+ VanitySearch,
17
+ VanitySearch$inboundSchema,
18
+ VanitySearch$Outbound,
19
+ VanitySearch$outboundSchema,
20
+ } from "./vanitysearch.js";
21
21
 
22
22
  export type V1AccountQueueUpdateRequestBody = {
23
23
  /**
24
24
  * Force the queue to process this account, staff only
25
25
  */
26
26
  force?: boolean | undefined;
27
- id?: IDStruct | undefined;
28
- vanity?: VanityStruct | undefined;
27
+ id?: IDSearch | undefined;
28
+ vanity?: VanitySearch | undefined;
29
29
  };
30
30
 
31
31
  /** @internal */
@@ -35,15 +35,15 @@ export const V1AccountQueueUpdateRequestBody$inboundSchema: z.ZodType<
35
35
  unknown
36
36
  > = z.object({
37
37
  force: z.boolean().default(false),
38
- id: IDStruct$inboundSchema.optional(),
39
- vanity: VanityStruct$inboundSchema.optional(),
38
+ id: IDSearch$inboundSchema.optional(),
39
+ vanity: VanitySearch$inboundSchema.optional(),
40
40
  });
41
41
 
42
42
  /** @internal */
43
43
  export type V1AccountQueueUpdateRequestBody$Outbound = {
44
44
  force: boolean;
45
- id?: IDStruct$Outbound | undefined;
46
- vanity?: VanityStruct$Outbound | undefined;
45
+ id?: IDSearch$Outbound | undefined;
46
+ vanity?: VanitySearch$Outbound | undefined;
47
47
  };
48
48
 
49
49
  /** @internal */
@@ -53,8 +53,8 @@ export const V1AccountQueueUpdateRequestBody$outboundSchema: z.ZodType<
53
53
  V1AccountQueueUpdateRequestBody
54
54
  > = z.object({
55
55
  force: z.boolean().default(false),
56
- id: IDStruct$outboundSchema.optional(),
57
- vanity: VanityStruct$outboundSchema.optional(),
56
+ id: IDSearch$outboundSchema.optional(),
57
+ vanity: VanitySearch$outboundSchema.optional(),
58
58
  });
59
59
 
60
60
  /**
@@ -7,11 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
  import {
10
- IDStruct,
11
- IDStruct$inboundSchema,
12
- IDStruct$Outbound,
13
- IDStruct$outboundSchema,
14
- } from "./idstruct.js";
10
+ IDSearch,
11
+ IDSearch$inboundSchema,
12
+ IDSearch$Outbound,
13
+ IDSearch$outboundSchema,
14
+ } from "./idsearch.js";
15
15
  import {
16
16
  Resource,
17
17
  Resource$inboundSchema,
@@ -19,19 +19,19 @@ import {
19
19
  Resource$outboundSchema,
20
20
  } from "./resource.js";
21
21
  import {
22
- VanityStruct,
23
- VanityStruct$inboundSchema,
24
- VanityStruct$Outbound,
25
- VanityStruct$outboundSchema,
26
- } from "./vanitystruct.js";
22
+ VanitySearch,
23
+ VanitySearch$inboundSchema,
24
+ VanitySearch$Outbound,
25
+ VanitySearch$outboundSchema,
26
+ } from "./vanitysearch.js";
27
27
 
28
28
  export type V1AdminUpdateResourcesRequestBody = {
29
- id?: IDStruct | undefined;
29
+ id?: IDSearch | undefined;
30
30
  /**
31
31
  * The resources to add for this account
32
32
  */
33
33
  resources: Array<Resource> | null;
34
- vanity?: VanityStruct | undefined;
34
+ vanity?: VanitySearch | undefined;
35
35
  };
36
36
 
37
37
  /** @internal */
@@ -40,16 +40,16 @@ export const V1AdminUpdateResourcesRequestBody$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- id: IDStruct$inboundSchema.optional(),
43
+ id: IDSearch$inboundSchema.optional(),
44
44
  resources: z.nullable(z.array(Resource$inboundSchema)),
45
- vanity: VanityStruct$inboundSchema.optional(),
45
+ vanity: VanitySearch$inboundSchema.optional(),
46
46
  });
47
47
 
48
48
  /** @internal */
49
49
  export type V1AdminUpdateResourcesRequestBody$Outbound = {
50
- id?: IDStruct$Outbound | undefined;
50
+ id?: IDSearch$Outbound | undefined;
51
51
  resources: Array<Resource$Outbound> | null;
52
- vanity?: VanityStruct$Outbound | undefined;
52
+ vanity?: VanitySearch$Outbound | undefined;
53
53
  };
54
54
 
55
55
  /** @internal */
@@ -58,9 +58,9 @@ export const V1AdminUpdateResourcesRequestBody$outboundSchema: z.ZodType<
58
58
  z.ZodTypeDef,
59
59
  V1AdminUpdateResourcesRequestBody
60
60
  > = z.object({
61
- id: IDStruct$outboundSchema.optional(),
61
+ id: IDSearch$outboundSchema.optional(),
62
62
  resources: z.nullable(z.array(Resource$outboundSchema)),
63
- vanity: VanityStruct$outboundSchema.optional(),
63
+ vanity: VanitySearch$outboundSchema.optional(),
64
64
  });
65
65
 
66
66
  /**
@@ -8,17 +8,17 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import {
11
- IDStruct,
12
- IDStruct$inboundSchema,
13
- IDStruct$Outbound,
14
- IDStruct$outboundSchema,
15
- } from "./idstruct.js";
11
+ IDSearch,
12
+ IDSearch$inboundSchema,
13
+ IDSearch$Outbound,
14
+ IDSearch$outboundSchema,
15
+ } from "./idsearch.js";
16
16
  import {
17
- VanityStruct,
18
- VanityStruct$inboundSchema,
19
- VanityStruct$Outbound,
20
- VanityStruct$outboundSchema,
21
- } from "./vanitystruct.js";
17
+ VanitySearch,
18
+ VanitySearch$inboundSchema,
19
+ VanitySearch$Outbound,
20
+ VanitySearch$outboundSchema,
21
+ } from "./vanitysearch.js";
22
22
 
23
23
  export const Roles = {
24
24
  User: "user",
@@ -44,9 +44,9 @@ export const Roles = {
44
44
  export type Roles = ClosedEnum<typeof Roles>;
45
45
 
46
46
  export type V1AdminUpdateRolesRequestBody = {
47
- id?: IDStruct | undefined;
47
+ id?: IDSearch | undefined;
48
48
  roles: Array<Roles> | null;
49
- vanity?: VanityStruct | undefined;
49
+ vanity?: VanitySearch | undefined;
50
50
  };
51
51
 
52
52
  /** @internal */
@@ -75,16 +75,16 @@ export const V1AdminUpdateRolesRequestBody$inboundSchema: z.ZodType<
75
75
  z.ZodTypeDef,
76
76
  unknown
77
77
  > = z.object({
78
- id: IDStruct$inboundSchema.optional(),
78
+ id: IDSearch$inboundSchema.optional(),
79
79
  roles: z.nullable(z.array(Roles$inboundSchema)),
80
- vanity: VanityStruct$inboundSchema.optional(),
80
+ vanity: VanitySearch$inboundSchema.optional(),
81
81
  });
82
82
 
83
83
  /** @internal */
84
84
  export type V1AdminUpdateRolesRequestBody$Outbound = {
85
- id?: IDStruct$Outbound | undefined;
85
+ id?: IDSearch$Outbound | undefined;
86
86
  roles: Array<string> | null;
87
- vanity?: VanityStruct$Outbound | undefined;
87
+ vanity?: VanitySearch$Outbound | undefined;
88
88
  };
89
89
 
90
90
  /** @internal */
@@ -93,9 +93,9 @@ export const V1AdminUpdateRolesRequestBody$outboundSchema: z.ZodType<
93
93
  z.ZodTypeDef,
94
94
  V1AdminUpdateRolesRequestBody
95
95
  > = z.object({
96
- id: IDStruct$outboundSchema.optional(),
96
+ id: IDSearch$outboundSchema.optional(),
97
97
  roles: z.nullable(z.array(Roles$outboundSchema)),
98
- vanity: VanityStruct$outboundSchema.optional(),
98
+ vanity: VanitySearch$outboundSchema.optional(),
99
99
  });
100
100
 
101
101
  /**
@@ -8,17 +8,17 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
  import {
11
- IDStruct,
12
- IDStruct$inboundSchema,
13
- IDStruct$Outbound,
14
- IDStruct$outboundSchema,
15
- } from "./idstruct.js";
11
+ IDSearch,
12
+ IDSearch$inboundSchema,
13
+ IDSearch$Outbound,
14
+ IDSearch$outboundSchema,
15
+ } from "./idsearch.js";
16
16
  import {
17
- VanityStruct,
18
- VanityStruct$inboundSchema,
19
- VanityStruct$Outbound,
20
- VanityStruct$outboundSchema,
21
- } from "./vanitystruct.js";
17
+ VanitySearch,
18
+ VanitySearch$inboundSchema,
19
+ VanitySearch$Outbound,
20
+ VanitySearch$outboundSchema,
21
+ } from "./vanitysearch.js";
22
22
 
23
23
  /**
24
24
  * The leaderboard to get
@@ -48,7 +48,7 @@ export type V1LeaderboardPreviewAccountRankRequestBodyLeaderboard = ClosedEnum<
48
48
  >;
49
49
 
50
50
  export type V1LeaderboardPreviewAccountRankRequestBody = {
51
- id?: IDStruct | undefined;
51
+ id?: IDSearch | undefined;
52
52
  /**
53
53
  * The leaderboard to get
54
54
  */
@@ -57,7 +57,7 @@ export type V1LeaderboardPreviewAccountRankRequestBody = {
57
57
  * What their leaderboard score would be, will use their current rank if not set
58
58
  */
59
59
  value?: number | null | undefined;
60
- vanity?: VanityStruct | undefined;
60
+ vanity?: VanitySearch | undefined;
61
61
  };
62
62
 
63
63
  /** @internal */
@@ -89,19 +89,19 @@ export namespace V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$ {
89
89
  export const V1LeaderboardPreviewAccountRankRequestBody$inboundSchema:
90
90
  z.ZodType<V1LeaderboardPreviewAccountRankRequestBody, z.ZodTypeDef, unknown> =
91
91
  z.object({
92
- id: IDStruct$inboundSchema.optional(),
92
+ id: IDSearch$inboundSchema.optional(),
93
93
  leaderboard:
94
94
  V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$inboundSchema,
95
95
  value: z.nullable(z.number().int()).optional(),
96
- vanity: VanityStruct$inboundSchema.optional(),
96
+ vanity: VanitySearch$inboundSchema.optional(),
97
97
  });
98
98
 
99
99
  /** @internal */
100
100
  export type V1LeaderboardPreviewAccountRankRequestBody$Outbound = {
101
- id?: IDStruct$Outbound | undefined;
101
+ id?: IDSearch$Outbound | undefined;
102
102
  leaderboard: string;
103
103
  value?: number | null | undefined;
104
- vanity?: VanityStruct$Outbound | undefined;
104
+ vanity?: VanitySearch$Outbound | undefined;
105
105
  };
106
106
 
107
107
  /** @internal */
@@ -111,11 +111,11 @@ export const V1LeaderboardPreviewAccountRankRequestBody$outboundSchema:
111
111
  z.ZodTypeDef,
112
112
  V1LeaderboardPreviewAccountRankRequestBody
113
113
  > = z.object({
114
- id: IDStruct$outboundSchema.optional(),
114
+ id: IDSearch$outboundSchema.optional(),
115
115
  leaderboard:
116
116
  V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$outboundSchema,
117
117
  value: z.nullable(z.number().int()).optional(),
118
- vanity: VanityStruct$outboundSchema.optional(),
118
+ vanity: VanitySearch$outboundSchema.optional(),
119
119
  });
120
120
 
121
121
  /**
@@ -20,7 +20,7 @@ export const Type = {
20
20
  */
21
21
  export type Type = ClosedEnum<typeof Type>;
22
22
 
23
- export type AccountSearchVanityStruct = {
23
+ export type VanitySearch = {
24
24
  /**
25
25
  * Which type of vanity to search for
26
26
  */
@@ -52,8 +52,8 @@ export namespace Type$ {
52
52
  }
53
53
 
54
54
  /** @internal */
55
- export const AccountSearchVanityStruct$inboundSchema: z.ZodType<
56
- AccountSearchVanityStruct,
55
+ export const VanitySearch$inboundSchema: z.ZodType<
56
+ VanitySearch,
57
57
  z.ZodTypeDef,
58
58
  unknown
59
59
  > = z.object({
@@ -62,16 +62,16 @@ export const AccountSearchVanityStruct$inboundSchema: z.ZodType<
62
62
  });
63
63
 
64
64
  /** @internal */
65
- export type AccountSearchVanityStruct$Outbound = {
65
+ export type VanitySearch$Outbound = {
66
66
  type: string;
67
67
  value: string;
68
68
  };
69
69
 
70
70
  /** @internal */
71
- export const AccountSearchVanityStruct$outboundSchema: z.ZodType<
72
- AccountSearchVanityStruct$Outbound,
71
+ export const VanitySearch$outboundSchema: z.ZodType<
72
+ VanitySearch$Outbound,
73
73
  z.ZodTypeDef,
74
- AccountSearchVanityStruct
74
+ VanitySearch
75
75
  > = z.object({
76
76
  type: Type$outboundSchema,
77
77
  value: z.string(),
@@ -81,29 +81,25 @@ export const AccountSearchVanityStruct$outboundSchema: z.ZodType<
81
81
  * @internal
82
82
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
83
83
  */
84
- export namespace AccountSearchVanityStruct$ {
85
- /** @deprecated use `AccountSearchVanityStruct$inboundSchema` instead. */
86
- export const inboundSchema = AccountSearchVanityStruct$inboundSchema;
87
- /** @deprecated use `AccountSearchVanityStruct$outboundSchema` instead. */
88
- export const outboundSchema = AccountSearchVanityStruct$outboundSchema;
89
- /** @deprecated use `AccountSearchVanityStruct$Outbound` instead. */
90
- export type Outbound = AccountSearchVanityStruct$Outbound;
84
+ export namespace VanitySearch$ {
85
+ /** @deprecated use `VanitySearch$inboundSchema` instead. */
86
+ export const inboundSchema = VanitySearch$inboundSchema;
87
+ /** @deprecated use `VanitySearch$outboundSchema` instead. */
88
+ export const outboundSchema = VanitySearch$outboundSchema;
89
+ /** @deprecated use `VanitySearch$Outbound` instead. */
90
+ export type Outbound = VanitySearch$Outbound;
91
91
  }
92
92
 
93
- export function accountSearchVanityStructToJSON(
94
- accountSearchVanityStruct: AccountSearchVanityStruct,
95
- ): string {
96
- return JSON.stringify(
97
- AccountSearchVanityStruct$outboundSchema.parse(accountSearchVanityStruct),
98
- );
93
+ export function vanitySearchToJSON(vanitySearch: VanitySearch): string {
94
+ return JSON.stringify(VanitySearch$outboundSchema.parse(vanitySearch));
99
95
  }
100
96
 
101
- export function accountSearchVanityStructFromJSON(
97
+ export function vanitySearchFromJSON(
102
98
  jsonString: string,
103
- ): SafeParseResult<AccountSearchVanityStruct, SDKValidationError> {
99
+ ): SafeParseResult<VanitySearch, SDKValidationError> {
104
100
  return safeParse(
105
101
  jsonString,
106
- (x) => AccountSearchVanityStruct$inboundSchema.parse(JSON.parse(x)),
107
- `Failed to parse 'AccountSearchVanityStruct' from JSON`,
102
+ (x) => VanitySearch$inboundSchema.parse(JSON.parse(x)),
103
+ `Failed to parse 'VanitySearch' from JSON`,
108
104
  );
109
105
  }
@@ -1,37 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type AccountSearchIDStruct = {
5
- /**
6
- * Account ID to search for
7
- */
8
- accountId?: number | undefined;
9
- /**
10
- * SteamID64 to search for
11
- */
12
- steamId64?: string | undefined;
13
- };
14
- /** @internal */
15
- export declare const AccountSearchIDStruct$inboundSchema: z.ZodType<AccountSearchIDStruct, z.ZodTypeDef, unknown>;
16
- /** @internal */
17
- export type AccountSearchIDStruct$Outbound = {
18
- accountId?: number | undefined;
19
- steamId64?: string | undefined;
20
- };
21
- /** @internal */
22
- export declare const AccountSearchIDStruct$outboundSchema: z.ZodType<AccountSearchIDStruct$Outbound, z.ZodTypeDef, AccountSearchIDStruct>;
23
- /**
24
- * @internal
25
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
26
- */
27
- export declare namespace AccountSearchIDStruct$ {
28
- /** @deprecated use `AccountSearchIDStruct$inboundSchema` instead. */
29
- const inboundSchema: z.ZodType<AccountSearchIDStruct, z.ZodTypeDef, unknown>;
30
- /** @deprecated use `AccountSearchIDStruct$outboundSchema` instead. */
31
- const outboundSchema: z.ZodType<AccountSearchIDStruct$Outbound, z.ZodTypeDef, AccountSearchIDStruct>;
32
- /** @deprecated use `AccountSearchIDStruct$Outbound` instead. */
33
- type Outbound = AccountSearchIDStruct$Outbound;
34
- }
35
- export declare function accountSearchIDStructToJSON(accountSearchIDStruct: AccountSearchIDStruct): string;
36
- export declare function accountSearchIDStructFromJSON(jsonString: string): SafeParseResult<AccountSearchIDStruct, SDKValidationError>;
37
- //# sourceMappingURL=accountsearchidstruct.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountsearchidstruct.d.ts","sourceRoot":"","sources":["../../src/models/components/accountsearchidstruct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAIrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1,71 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AccountSearchIDStruct$ = exports.AccountSearchIDStruct$outboundSchema = exports.AccountSearchIDStruct$inboundSchema = void 0;
40
- exports.accountSearchIDStructToJSON = accountSearchIDStructToJSON;
41
- exports.accountSearchIDStructFromJSON = accountSearchIDStructFromJSON;
42
- const z = __importStar(require("zod"));
43
- const schemas_js_1 = require("../../lib/schemas.js");
44
- /** @internal */
45
- exports.AccountSearchIDStruct$inboundSchema = z.object({
46
- accountId: z.number().int().optional(),
47
- steamId64: z.string().optional(),
48
- });
49
- /** @internal */
50
- exports.AccountSearchIDStruct$outboundSchema = z.object({
51
- accountId: z.number().int().optional(),
52
- steamId64: z.string().optional(),
53
- });
54
- /**
55
- * @internal
56
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
- */
58
- var AccountSearchIDStruct$;
59
- (function (AccountSearchIDStruct$) {
60
- /** @deprecated use `AccountSearchIDStruct$inboundSchema` instead. */
61
- AccountSearchIDStruct$.inboundSchema = exports.AccountSearchIDStruct$inboundSchema;
62
- /** @deprecated use `AccountSearchIDStruct$outboundSchema` instead. */
63
- AccountSearchIDStruct$.outboundSchema = exports.AccountSearchIDStruct$outboundSchema;
64
- })(AccountSearchIDStruct$ || (exports.AccountSearchIDStruct$ = AccountSearchIDStruct$ = {}));
65
- function accountSearchIDStructToJSON(accountSearchIDStruct) {
66
- return JSON.stringify(exports.AccountSearchIDStruct$outboundSchema.parse(accountSearchIDStruct));
67
- }
68
- function accountSearchIDStructFromJSON(jsonString) {
69
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountSearchIDStruct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountSearchIDStruct' from JSON`);
70
- }
71
- //# sourceMappingURL=accountsearchidstruct.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountsearchidstruct.js","sourceRoot":"","sources":["../../src/models/components/accountsearchidstruct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDH,kEAMC;AAED,sEAQC;AAvED,uCAAyB;AACzB,qDAAiD;AAejD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountsearchvanitystruct.d.ts","sourceRoot":"","sources":["../../src/models/components/accountsearchvanitystruct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,IAAI;;;CAGP,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AAE3C,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CAE3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CACzC,CAAC;AAErB;;;GAGG;AACH,yBAAiB,KAAK,CAAC;IACrB,oDAAoD;IAC7C,MAAM,aAAa;;;MAAqB,CAAC;IAChD,qDAAqD;IAC9C,MAAM,cAAc;;;MAAsB,CAAC;CACnD;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAIzB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accountsearchvanitystruct.js","sourceRoot":"","sources":["../../src/models/components/accountsearchvanitystruct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FH,0EAMC;AAED,8EAQC;AAxGD,uCAAyB;AACzB,qDAAiD;AAKjD;;GAEG;AACU,QAAA,IAAI,GAAG;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACZ,CAAC;AAiBX,gBAAgB;AACH,QAAA,kBAAkB,GAAiC,CAAC,CAAC,UAAU,CAC1E,YAAI,CACL,CAAC;AAEF,gBAAgB;AACH,QAAA,mBAAmB,GAC9B,0BAAkB,CAAC;AAErB;;;GAGG;AACH,IAAiB,KAAK,CAKrB;AALD,WAAiB,KAAK;IACpB,oDAAoD;IACvC,mBAAa,GAAG,0BAAkB,CAAC;IAChD,qDAAqD;IACxC,oBAAc,GAAG,2BAAmB,CAAC;AACpD,CAAC,EALgB,KAAK,qBAAL,KAAK,QAKrB;AAED,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,0BAAkB;IACxB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,2BAAmB;IACzB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
@@ -1,37 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- export type IDStruct = {
5
- /**
6
- * Account ID to search for
7
- */
8
- accountId?: number | undefined;
9
- /**
10
- * SteamID64 to search for
11
- */
12
- steamId64?: string | undefined;
13
- };
14
- /** @internal */
15
- export declare const IDStruct$inboundSchema: z.ZodType<IDStruct, z.ZodTypeDef, unknown>;
16
- /** @internal */
17
- export type IDStruct$Outbound = {
18
- accountId?: number | undefined;
19
- steamId64?: string | undefined;
20
- };
21
- /** @internal */
22
- export declare const IDStruct$outboundSchema: z.ZodType<IDStruct$Outbound, z.ZodTypeDef, IDStruct>;
23
- /**
24
- * @internal
25
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
26
- */
27
- export declare namespace IDStruct$ {
28
- /** @deprecated use `IDStruct$inboundSchema` instead. */
29
- const inboundSchema: z.ZodType<IDStruct, z.ZodTypeDef, unknown>;
30
- /** @deprecated use `IDStruct$outboundSchema` instead. */
31
- const outboundSchema: z.ZodType<IDStruct$Outbound, z.ZodTypeDef, IDStruct>;
32
- /** @deprecated use `IDStruct$Outbound` instead. */
33
- type Outbound = IDStruct$Outbound;
34
- }
35
- export declare function idStructToJSON(idStruct: IDStruct): string;
36
- export declare function idStructFromJSON(jsonString: string): SafeParseResult<IDStruct, SDKValidationError>;
37
- //# sourceMappingURL=idstruct.d.ts.map
@@ -1,69 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * Which type of vanity to search for
7
- */
8
- export declare const VanityStructType: {
9
- readonly Steam: "steam";
10
- readonly Internal: "internal";
11
- };
12
- /**
13
- * Which type of vanity to search for
14
- */
15
- export type VanityStructType = ClosedEnum<typeof VanityStructType>;
16
- export type VanityStruct = {
17
- /**
18
- * Which type of vanity to search for
19
- */
20
- type: VanityStructType;
21
- /**
22
- * Vanity to search for
23
- */
24
- value: string;
25
- };
26
- /** @internal */
27
- export declare const VanityStructType$inboundSchema: z.ZodNativeEnum<typeof VanityStructType>;
28
- /** @internal */
29
- export declare const VanityStructType$outboundSchema: z.ZodNativeEnum<typeof VanityStructType>;
30
- /**
31
- * @internal
32
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
33
- */
34
- export declare namespace VanityStructType$ {
35
- /** @deprecated use `VanityStructType$inboundSchema` instead. */
36
- const inboundSchema: z.ZodNativeEnum<{
37
- readonly Steam: "steam";
38
- readonly Internal: "internal";
39
- }>;
40
- /** @deprecated use `VanityStructType$outboundSchema` instead. */
41
- const outboundSchema: z.ZodNativeEnum<{
42
- readonly Steam: "steam";
43
- readonly Internal: "internal";
44
- }>;
45
- }
46
- /** @internal */
47
- export declare const VanityStruct$inboundSchema: z.ZodType<VanityStruct, z.ZodTypeDef, unknown>;
48
- /** @internal */
49
- export type VanityStruct$Outbound = {
50
- type: string;
51
- value: string;
52
- };
53
- /** @internal */
54
- export declare const VanityStruct$outboundSchema: z.ZodType<VanityStruct$Outbound, z.ZodTypeDef, VanityStruct>;
55
- /**
56
- * @internal
57
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
- */
59
- export declare namespace VanityStruct$ {
60
- /** @deprecated use `VanityStruct$inboundSchema` instead. */
61
- const inboundSchema: z.ZodType<VanityStruct, z.ZodTypeDef, unknown>;
62
- /** @deprecated use `VanityStruct$outboundSchema` instead. */
63
- const outboundSchema: z.ZodType<VanityStruct$Outbound, z.ZodTypeDef, VanityStruct>;
64
- /** @deprecated use `VanityStruct$Outbound` instead. */
65
- type Outbound = VanityStruct$Outbound;
66
- }
67
- export declare function vanityStructToJSON(vanityStruct: VanityStruct): string;
68
- export declare function vanityStructFromJSON(jsonString: string): SafeParseResult<VanityStruct, SDKValidationError>;
69
- //# sourceMappingURL=vanitystruct.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vanitystruct.d.ts","sourceRoot":"","sources":["../../src/models/components/vanitystruct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa;;;MAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc;;;MAAkC,CAAC;CAC/D;AAED,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAIZ,CAAC;AAEH;;;GAGG;AACH,yBAAiB,aAAa,CAAC;IAC7B,4DAA4D;IACrD,MAAM,aAAa,gDAA6B,CAAC;IACxD,6DAA6D;IACtD,MAAM,cAAc,8DAA8B,CAAC;IAC1D,uDAAuD;IACvD,KAAY,QAAQ,GAAG,qBAAqB,CAAC;CAC9C;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}