@steamsets/client-ts 0.27.7 → 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 (70) hide show
  1. package/examples/package-lock.json +1 -1
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +3 -3
  4. package/lib/config.js +3 -3
  5. package/lib/config.js.map +1 -1
  6. package/models/components/accountsearch.d.ts +6 -6
  7. package/models/components/accountsearch.d.ts.map +1 -1
  8. package/models/components/accountsearch.js +6 -6
  9. package/models/components/accountsearch.js.map +1 -1
  10. package/models/components/chosenrole.d.ts +3 -0
  11. package/models/components/chosenrole.d.ts.map +1 -1
  12. package/models/components/chosenrole.js +1 -0
  13. package/models/components/chosenrole.js.map +1 -1
  14. package/models/components/idsearch.d.ts +37 -0
  15. package/models/components/{idstruct.d.ts.map → idsearch.d.ts.map} +1 -1
  16. package/models/components/{idstruct.js → idsearch.js} +17 -17
  17. package/models/components/{idstruct.js.map → idsearch.js.map} +1 -1
  18. package/models/components/index.d.ts +2 -4
  19. package/models/components/index.d.ts.map +1 -1
  20. package/models/components/index.js +2 -4
  21. package/models/components/index.js.map +1 -1
  22. package/models/components/role.d.ts +12 -0
  23. package/models/components/role.d.ts.map +1 -1
  24. package/models/components/role.js +3 -0
  25. package/models/components/role.js.map +1 -1
  26. package/models/components/v1accountlistappsrequestbody.d.ts +6 -6
  27. package/models/components/v1accountlistappsrequestbody.js +6 -6
  28. package/models/components/v1accountlistbadgesrequestbody.d.ts +6 -6
  29. package/models/components/v1accountlistbadgesrequestbody.js +6 -6
  30. package/models/components/v1accountqueueupdaterequestbody.d.ts +6 -6
  31. package/models/components/v1accountqueueupdaterequestbody.js +6 -6
  32. package/models/components/v1adminupdateresourcesrequestbody.d.ts +6 -6
  33. package/models/components/v1adminupdateresourcesrequestbody.js +6 -6
  34. package/models/components/v1adminupdaterolesrequestbody.d.ts +9 -6
  35. package/models/components/v1adminupdaterolesrequestbody.d.ts.map +1 -1
  36. package/models/components/v1adminupdaterolesrequestbody.js +7 -6
  37. package/models/components/v1adminupdaterolesrequestbody.js.map +1 -1
  38. package/models/components/v1leaderboardpreviewaccountrankrequestbody.d.ts +6 -6
  39. package/models/components/v1leaderboardpreviewaccountrankrequestbody.js +6 -6
  40. package/models/components/{accountsearchvanitystruct.d.ts → vanitysearch.d.ts} +14 -14
  41. package/models/components/vanitysearch.d.ts.map +1 -0
  42. package/models/components/{accountsearchvanitystruct.js → vanitysearch.js} +17 -17
  43. package/models/components/vanitysearch.js.map +1 -0
  44. package/package.json +1 -1
  45. package/src/lib/config.ts +3 -3
  46. package/src/models/components/accountsearch.ts +18 -18
  47. package/src/models/components/chosenrole.ts +1 -0
  48. package/src/models/components/{idstruct.ts → idsearch.ts} +20 -20
  49. package/src/models/components/index.ts +2 -4
  50. package/src/models/components/role.ts +8 -0
  51. package/src/models/components/v1accountlistappsrequestbody.ts +18 -18
  52. package/src/models/components/v1accountlistbadgesrequestbody.ts +18 -18
  53. package/src/models/components/v1accountqueueupdaterequestbody.ts +18 -18
  54. package/src/models/components/v1adminupdateresourcesrequestbody.ts +18 -18
  55. package/src/models/components/v1adminupdaterolesrequestbody.ts +19 -18
  56. package/src/models/components/v1leaderboardpreviewaccountrankrequestbody.ts +18 -18
  57. package/src/models/components/{accountsearchvanitystruct.ts → vanitysearch.ts} +20 -24
  58. package/models/components/accountsearchidstruct.d.ts +0 -37
  59. package/models/components/accountsearchidstruct.d.ts.map +0 -1
  60. package/models/components/accountsearchidstruct.js +0 -71
  61. package/models/components/accountsearchidstruct.js.map +0 -1
  62. package/models/components/accountsearchvanitystruct.d.ts.map +0 -1
  63. package/models/components/accountsearchvanitystruct.js.map +0 -1
  64. package/models/components/idstruct.d.ts +0 -37
  65. package/models/components/vanitystruct.d.ts +0 -69
  66. package/models/components/vanitystruct.d.ts.map +0 -1
  67. package/models/components/vanitystruct.js +0 -93
  68. package/models/components/vanitystruct.js.map +0 -1
  69. package/src/models/components/accountsearchidstruct.ts +0 -76
  70. package/src/models/components/vanitystruct.ts +0 -106
@@ -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"}
@@ -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,CAAC;AAEnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC;;;GAGG;AACH,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAChE,CAAC,EALgB,iBAAiB,iCAAjB,iBAAiB,QAKjC;AAED,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,sCAA8B;IACpC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,uCAA+B;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC5B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG5D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B;AAED,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
@@ -1,76 +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 { 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
- }