@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
@@ -1,93 +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.VanityStruct$ = exports.VanityStruct$outboundSchema = exports.VanityStruct$inboundSchema = exports.VanityStructType$ = exports.VanityStructType$outboundSchema = exports.VanityStructType$inboundSchema = exports.VanityStructType = void 0;
40
- exports.vanityStructToJSON = vanityStructToJSON;
41
- exports.vanityStructFromJSON = vanityStructFromJSON;
42
- const z = __importStar(require("zod"));
43
- const schemas_js_1 = require("../../lib/schemas.js");
44
- /**
45
- * Which type of vanity to search for
46
- */
47
- exports.VanityStructType = {
48
- Steam: "steam",
49
- Internal: "internal",
50
- };
51
- /** @internal */
52
- exports.VanityStructType$inboundSchema = z.nativeEnum(exports.VanityStructType);
53
- /** @internal */
54
- exports.VanityStructType$outboundSchema = exports.VanityStructType$inboundSchema;
55
- /**
56
- * @internal
57
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
- */
59
- var VanityStructType$;
60
- (function (VanityStructType$) {
61
- /** @deprecated use `VanityStructType$inboundSchema` instead. */
62
- VanityStructType$.inboundSchema = exports.VanityStructType$inboundSchema;
63
- /** @deprecated use `VanityStructType$outboundSchema` instead. */
64
- VanityStructType$.outboundSchema = exports.VanityStructType$outboundSchema;
65
- })(VanityStructType$ || (exports.VanityStructType$ = VanityStructType$ = {}));
66
- /** @internal */
67
- exports.VanityStruct$inboundSchema = z.object({
68
- type: exports.VanityStructType$inboundSchema,
69
- value: z.string(),
70
- });
71
- /** @internal */
72
- exports.VanityStruct$outboundSchema = z.object({
73
- type: exports.VanityStructType$outboundSchema,
74
- value: z.string(),
75
- });
76
- /**
77
- * @internal
78
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
79
- */
80
- var VanityStruct$;
81
- (function (VanityStruct$) {
82
- /** @deprecated use `VanityStruct$inboundSchema` instead. */
83
- VanityStruct$.inboundSchema = exports.VanityStruct$inboundSchema;
84
- /** @deprecated use `VanityStruct$outboundSchema` instead. */
85
- VanityStruct$.outboundSchema = exports.VanityStruct$outboundSchema;
86
- })(VanityStruct$ || (exports.VanityStruct$ = VanityStruct$ = {}));
87
- function vanityStructToJSON(vanityStruct) {
88
- return JSON.stringify(exports.VanityStruct$outboundSchema.parse(vanityStruct));
89
- }
90
- function vanityStructFromJSON(jsonString) {
91
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.VanityStruct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VanityStruct' from JSON`);
92
- }
93
- //# sourceMappingURL=vanitystruct.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vanitystruct.js","sourceRoot":"","sources":["../../src/models/components/vanitystruct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2FH,gDAEC;AAED,oDAQC;AArGD,uCAAyB;AACzB,qDAAiD;AAKjD;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACZ,CAAC;AAiBX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,C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} from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
-
10
- export type AccountSearchIDStruct = {
11
- /**
12
- * Account ID to search for
13
- */
14
- accountId?: number | undefined;
15
- /**
16
- * SteamID64 to search for
17
- */
18
- steamId64?: string | undefined;
19
- };
20
-
21
- /** @internal */
22
- export const AccountSearchIDStruct$inboundSchema: z.ZodType<
23
- AccountSearchIDStruct,
24
- z.ZodTypeDef,
25
- unknown
26
- > = z.object({
27
- accountId: z.number().int().optional(),
28
- steamId64: z.string().optional(),
29
- });
30
-
31
- /** @internal */
32
- export type AccountSearchIDStruct$Outbound = {
33
- accountId?: number | undefined;
34
- steamId64?: string | undefined;
35
- };
36
-
37
- /** @internal */
38
- export const AccountSearchIDStruct$outboundSchema: z.ZodType<
39
- AccountSearchIDStruct$Outbound,
40
- z.ZodTypeDef,
41
- AccountSearchIDStruct
42
- > = z.object({
43
- accountId: z.number().int().optional(),
44
- steamId64: z.string().optional(),
45
- });
46
-
47
- /**
48
- * @internal
49
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
50
- */
51
- export namespace AccountSearchIDStruct$ {
52
- /** @deprecated use `AccountSearchIDStruct$inboundSchema` instead. */
53
- export const inboundSchema = AccountSearchIDStruct$inboundSchema;
54
- /** @deprecated use `AccountSearchIDStruct$outboundSchema` instead. */
55
- export const outboundSchema = AccountSearchIDStruct$outboundSchema;
56
- /** @deprecated use `AccountSearchIDStruct$Outbound` instead. */
57
- export type Outbound = AccountSearchIDStruct$Outbound;
58
- }
59
-
60
- export function accountSearchIDStructToJSON(
61
- accountSearchIDStruct: AccountSearchIDStruct,
62
- ): string {
63
- return JSON.stringify(
64
- AccountSearchIDStruct$outboundSchema.parse(accountSearchIDStruct),
65
- );
66
- }
67
-
68
- export function accountSearchIDStructFromJSON(
69
- jsonString: string,
70
- ): SafeParseResult<AccountSearchIDStruct, SDKValidationError> {
71
- return safeParse(
72
- jsonString,
73
- (x) => AccountSearchIDStruct$inboundSchema.parse(JSON.parse(x)),
74
- `Failed to parse 'AccountSearchIDStruct' from JSON`,
75
- );
76
- }
@@ -1,106 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { ClosedEnum } from "../../types/enums.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
-
11
- /**
12
- * Which type of vanity to search for
13
- */
14
- export const VanityStructType = {
15
- Steam: "steam",
16
- Internal: "internal",
17
- } as const;
18
- /**
19
- * Which type of vanity to search for
20
- */
21
- export type VanityStructType = ClosedEnum<typeof VanityStructType>;
22
-
23
- export type VanityStruct = {
24
- /**
25
- * Which type of vanity to search for
26
- */
27
- type: VanityStructType;
28
- /**
29
- * Vanity to search for
30
- */
31
- value: string;
32
- };
33
-
34
- /** @internal */
35
- export const VanityStructType$inboundSchema: z.ZodNativeEnum<
36
- typeof VanityStructType
37
- > = z.nativeEnum(VanityStructType);
38
-
39
- /** @internal */
40
- export const VanityStructType$outboundSchema: z.ZodNativeEnum<
41
- typeof VanityStructType
42
- > = VanityStructType$inboundSchema;
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 VanityStructType$ {
49
- /** @deprecated use `VanityStructType$inboundSchema` instead. */
50
- export const inboundSchema = VanityStructType$inboundSchema;
51
- /** @deprecated use `VanityStructType$outboundSchema` instead. */
52
- export const outboundSchema = VanityStructType$outboundSchema;
53
- }
54
-
55
- /** @internal */
56
- export const VanityStruct$inboundSchema: z.ZodType<
57
- VanityStruct,
58
- z.ZodTypeDef,
59
- unknown
60
- > = z.object({
61
- type: VanityStructType$inboundSchema,
62
- value: z.string(),
63
- });
64
-
65
- /** @internal */
66
- export type VanityStruct$Outbound = {
67
- type: string;
68
- value: string;
69
- };
70
-
71
- /** @internal */
72
- export const VanityStruct$outboundSchema: z.ZodType<
73
- VanityStruct$Outbound,
74
- z.ZodTypeDef,
75
- VanityStruct
76
- > = z.object({
77
- type: VanityStructType$outboundSchema,
78
- value: z.string(),
79
- });
80
-
81
- /**
82
- * @internal
83
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
84
- */
85
- export namespace VanityStruct$ {
86
- /** @deprecated use `VanityStruct$inboundSchema` instead. */
87
- export const inboundSchema = VanityStruct$inboundSchema;
88
- /** @deprecated use `VanityStruct$outboundSchema` instead. */
89
- export const outboundSchema = VanityStruct$outboundSchema;
90
- /** @deprecated use `VanityStruct$Outbound` instead. */
91
- export type Outbound = VanityStruct$Outbound;
92
- }
93
-
94
- export function vanityStructToJSON(vanityStruct: VanityStruct): string {
95
- return JSON.stringify(VanityStruct$outboundSchema.parse(vanityStruct));
96
- }
97
-
98
- export function vanityStructFromJSON(
99
- jsonString: string,
100
- ): SafeParseResult<VanityStruct, SDKValidationError> {
101
- return safeParse(
102
- jsonString,
103
- (x) => VanityStruct$inboundSchema.parse(JSON.parse(x)),
104
- `Failed to parse 'VanityStruct' from JSON`,
105
- );
106
- }