@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
@@ -42,10 +42,10 @@ exports.v1AccountListBadgesRequestBodyFromJSON = v1AccountListBadgesRequestBodyF
42
42
  const z = __importStar(require("zod"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
44
  const badgevaluefilter_js_1 = require("./badgevaluefilter.js");
45
- const idstruct_js_1 = require("./idstruct.js");
45
+ const idsearch_js_1 = require("./idsearch.js");
46
46
  const v1badgefilters_js_1 = require("./v1badgefilters.js");
47
47
  const v1badgeorder_js_1 = require("./v1badgeorder.js");
48
- const vanitystruct_js_1 = require("./vanitystruct.js");
48
+ const vanitysearch_js_1 = require("./vanitysearch.js");
49
49
  exports.V1AccountListBadgesRequestBodyFilter = {
50
50
  Foil: "foil",
51
51
  Sale: "sale",
@@ -70,23 +70,23 @@ var V1AccountListBadgesRequestBodyFilter$;
70
70
  exports.V1AccountListBadgesRequestBody$inboundSchema = z.object({
71
71
  filter: z.nullable(z.array(exports.V1AccountListBadgesRequestBodyFilter$inboundSchema)).optional(),
72
72
  filters: v1badgefilters_js_1.V1BadgeFilters$inboundSchema.optional(),
73
- id: idstruct_js_1.IDStruct$inboundSchema.optional(),
73
+ id: idsearch_js_1.IDSearch$inboundSchema.optional(),
74
74
  order: z.nullable(v1badgeorder_js_1.V1BadgeOrder$inboundSchema).optional(),
75
75
  page: z.number().int().default(1),
76
76
  search: z.nullable(z.string()).optional(),
77
77
  valueFilter: z.nullable(z.array(badgevaluefilter_js_1.BadgeValueFilter$inboundSchema)).optional(),
78
- vanity: vanitystruct_js_1.VanityStruct$inboundSchema.optional(),
78
+ vanity: vanitysearch_js_1.VanitySearch$inboundSchema.optional(),
79
79
  });
80
80
  /** @internal */
81
81
  exports.V1AccountListBadgesRequestBody$outboundSchema = z.object({
82
82
  filter: z.nullable(z.array(exports.V1AccountListBadgesRequestBodyFilter$outboundSchema)).optional(),
83
83
  filters: v1badgefilters_js_1.V1BadgeFilters$outboundSchema.optional(),
84
- id: idstruct_js_1.IDStruct$outboundSchema.optional(),
84
+ id: idsearch_js_1.IDSearch$outboundSchema.optional(),
85
85
  order: z.nullable(v1badgeorder_js_1.V1BadgeOrder$outboundSchema).optional(),
86
86
  page: z.number().int().default(1),
87
87
  search: z.nullable(z.string()).optional(),
88
88
  valueFilter: z.nullable(z.array(badgevaluefilter_js_1.BadgeValueFilter$outboundSchema)).optional(),
89
- vanity: vanitystruct_js_1.VanityStruct$outboundSchema.optional(),
89
+ vanity: vanitysearch_js_1.VanitySearch$outboundSchema.optional(),
90
90
  });
91
91
  /**
92
92
  * @internal
@@ -1,23 +1,23 @@
1
1
  import * as z from "zod";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { IDStruct, IDStruct$Outbound } from "./idstruct.js";
5
- import { VanityStruct, VanityStruct$Outbound } from "./vanitystruct.js";
4
+ import { IDSearch, IDSearch$Outbound } from "./idsearch.js";
5
+ import { VanitySearch, VanitySearch$Outbound } from "./vanitysearch.js";
6
6
  export type V1AccountQueueUpdateRequestBody = {
7
7
  /**
8
8
  * Force the queue to process this account, staff only
9
9
  */
10
10
  force?: boolean | undefined;
11
- id?: IDStruct | undefined;
12
- vanity?: VanityStruct | undefined;
11
+ id?: IDSearch | undefined;
12
+ vanity?: VanitySearch | undefined;
13
13
  };
14
14
  /** @internal */
15
15
  export declare const V1AccountQueueUpdateRequestBody$inboundSchema: z.ZodType<V1AccountQueueUpdateRequestBody, z.ZodTypeDef, unknown>;
16
16
  /** @internal */
17
17
  export type V1AccountQueueUpdateRequestBody$Outbound = {
18
18
  force: boolean;
19
- id?: IDStruct$Outbound | undefined;
20
- vanity?: VanityStruct$Outbound | undefined;
19
+ id?: IDSearch$Outbound | undefined;
20
+ vanity?: VanitySearch$Outbound | undefined;
21
21
  };
22
22
  /** @internal */
23
23
  export declare const V1AccountQueueUpdateRequestBody$outboundSchema: z.ZodType<V1AccountQueueUpdateRequestBody$Outbound, z.ZodTypeDef, V1AccountQueueUpdateRequestBody>;
@@ -41,19 +41,19 @@ exports.v1AccountQueueUpdateRequestBodyToJSON = v1AccountQueueUpdateRequestBodyT
41
41
  exports.v1AccountQueueUpdateRequestBodyFromJSON = v1AccountQueueUpdateRequestBodyFromJSON;
42
42
  const z = __importStar(require("zod"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
- const idstruct_js_1 = require("./idstruct.js");
45
- const vanitystruct_js_1 = require("./vanitystruct.js");
44
+ const idsearch_js_1 = require("./idsearch.js");
45
+ const vanitysearch_js_1 = require("./vanitysearch.js");
46
46
  /** @internal */
47
47
  exports.V1AccountQueueUpdateRequestBody$inboundSchema = z.object({
48
48
  force: z.boolean().default(false),
49
- id: idstruct_js_1.IDStruct$inboundSchema.optional(),
50
- vanity: vanitystruct_js_1.VanityStruct$inboundSchema.optional(),
49
+ id: idsearch_js_1.IDSearch$inboundSchema.optional(),
50
+ vanity: vanitysearch_js_1.VanitySearch$inboundSchema.optional(),
51
51
  });
52
52
  /** @internal */
53
53
  exports.V1AccountQueueUpdateRequestBody$outboundSchema = z.object({
54
54
  force: z.boolean().default(false),
55
- id: idstruct_js_1.IDStruct$outboundSchema.optional(),
56
- vanity: vanitystruct_js_1.VanityStruct$outboundSchema.optional(),
55
+ id: idsearch_js_1.IDSearch$outboundSchema.optional(),
56
+ vanity: vanitysearch_js_1.VanitySearch$outboundSchema.optional(),
57
57
  });
58
58
  /**
59
59
  * @internal
@@ -1,24 +1,24 @@
1
1
  import * as z from "zod";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { IDStruct, IDStruct$Outbound } from "./idstruct.js";
4
+ import { IDSearch, IDSearch$Outbound } from "./idsearch.js";
5
5
  import { Resource, Resource$Outbound } from "./resource.js";
6
- import { VanityStruct, VanityStruct$Outbound } from "./vanitystruct.js";
6
+ import { VanitySearch, VanitySearch$Outbound } from "./vanitysearch.js";
7
7
  export type V1AdminUpdateResourcesRequestBody = {
8
- id?: IDStruct | undefined;
8
+ id?: IDSearch | undefined;
9
9
  /**
10
10
  * The resources to add for this account
11
11
  */
12
12
  resources: Array<Resource> | null;
13
- vanity?: VanityStruct | undefined;
13
+ vanity?: VanitySearch | undefined;
14
14
  };
15
15
  /** @internal */
16
16
  export declare const V1AdminUpdateResourcesRequestBody$inboundSchema: z.ZodType<V1AdminUpdateResourcesRequestBody, z.ZodTypeDef, unknown>;
17
17
  /** @internal */
18
18
  export type V1AdminUpdateResourcesRequestBody$Outbound = {
19
- id?: IDStruct$Outbound | undefined;
19
+ id?: IDSearch$Outbound | undefined;
20
20
  resources: Array<Resource$Outbound> | null;
21
- vanity?: VanityStruct$Outbound | undefined;
21
+ vanity?: VanitySearch$Outbound | undefined;
22
22
  };
23
23
  /** @internal */
24
24
  export declare const V1AdminUpdateResourcesRequestBody$outboundSchema: z.ZodType<V1AdminUpdateResourcesRequestBody$Outbound, z.ZodTypeDef, V1AdminUpdateResourcesRequestBody>;
@@ -41,20 +41,20 @@ exports.v1AdminUpdateResourcesRequestBodyToJSON = v1AdminUpdateResourcesRequestB
41
41
  exports.v1AdminUpdateResourcesRequestBodyFromJSON = v1AdminUpdateResourcesRequestBodyFromJSON;
42
42
  const z = __importStar(require("zod"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
- const idstruct_js_1 = require("./idstruct.js");
44
+ const idsearch_js_1 = require("./idsearch.js");
45
45
  const resource_js_1 = require("./resource.js");
46
- const vanitystruct_js_1 = require("./vanitystruct.js");
46
+ const vanitysearch_js_1 = require("./vanitysearch.js");
47
47
  /** @internal */
48
48
  exports.V1AdminUpdateResourcesRequestBody$inboundSchema = z.object({
49
- id: idstruct_js_1.IDStruct$inboundSchema.optional(),
49
+ id: idsearch_js_1.IDSearch$inboundSchema.optional(),
50
50
  resources: z.nullable(z.array(resource_js_1.Resource$inboundSchema)),
51
- vanity: vanitystruct_js_1.VanityStruct$inboundSchema.optional(),
51
+ vanity: vanitysearch_js_1.VanitySearch$inboundSchema.optional(),
52
52
  });
53
53
  /** @internal */
54
54
  exports.V1AdminUpdateResourcesRequestBody$outboundSchema = z.object({
55
- id: idstruct_js_1.IDStruct$outboundSchema.optional(),
55
+ id: idsearch_js_1.IDSearch$outboundSchema.optional(),
56
56
  resources: z.nullable(z.array(resource_js_1.Resource$outboundSchema)),
57
- vanity: vanitystruct_js_1.VanityStruct$outboundSchema.optional(),
57
+ vanity: vanitysearch_js_1.VanitySearch$outboundSchema.optional(),
58
58
  });
59
59
  /**
60
60
  * @internal
@@ -2,8 +2,8 @@ import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- import { IDStruct, IDStruct$Outbound } from "./idstruct.js";
6
- import { VanityStruct, VanityStruct$Outbound } from "./vanitystruct.js";
5
+ import { IDSearch, IDSearch$Outbound } from "./idsearch.js";
6
+ import { VanitySearch, VanitySearch$Outbound } from "./vanitysearch.js";
7
7
  export declare const Roles: {
8
8
  readonly User: "user";
9
9
  readonly Donator: "donator";
@@ -23,12 +23,13 @@ export declare const Roles: {
23
23
  readonly Translator: "translator";
24
24
  readonly Top100: "top_100";
25
25
  readonly BadgeScout: "badge_scout";
26
+ readonly NitroBooster: "nitro_booster";
26
27
  };
27
28
  export type Roles = ClosedEnum<typeof Roles>;
28
29
  export type V1AdminUpdateRolesRequestBody = {
29
- id?: IDStruct | undefined;
30
+ id?: IDSearch | undefined;
30
31
  roles: Array<Roles> | null;
31
- vanity?: VanityStruct | undefined;
32
+ vanity?: VanitySearch | undefined;
32
33
  };
33
34
  /** @internal */
34
35
  export declare const Roles$inboundSchema: z.ZodNativeEnum<typeof Roles>;
@@ -59,6 +60,7 @@ export declare namespace Roles$ {
59
60
  readonly Translator: "translator";
60
61
  readonly Top100: "top_100";
61
62
  readonly BadgeScout: "badge_scout";
63
+ readonly NitroBooster: "nitro_booster";
62
64
  }>;
63
65
  /** @deprecated use `Roles$outboundSchema` instead. */
64
66
  const outboundSchema: z.ZodNativeEnum<{
@@ -80,15 +82,16 @@ export declare namespace Roles$ {
80
82
  readonly Translator: "translator";
81
83
  readonly Top100: "top_100";
82
84
  readonly BadgeScout: "badge_scout";
85
+ readonly NitroBooster: "nitro_booster";
83
86
  }>;
84
87
  }
85
88
  /** @internal */
86
89
  export declare const V1AdminUpdateRolesRequestBody$inboundSchema: z.ZodType<V1AdminUpdateRolesRequestBody, z.ZodTypeDef, unknown>;
87
90
  /** @internal */
88
91
  export type V1AdminUpdateRolesRequestBody$Outbound = {
89
- id?: IDStruct$Outbound | undefined;
92
+ id?: IDSearch$Outbound | undefined;
90
93
  roles: Array<string> | null;
91
- vanity?: VanityStruct$Outbound | undefined;
94
+ vanity?: VanitySearch$Outbound | undefined;
92
95
  };
93
96
  /** @internal */
94
97
  export declare const V1AdminUpdateRolesRequestBody$outboundSchema: z.ZodType<V1AdminUpdateRolesRequestBody$Outbound, z.ZodTypeDef, V1AdminUpdateRolesRequestBody>;
@@ -1 +1 @@
1
- {"version":3,"file":"v1adminupdaterolesrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1adminupdaterolesrequestbody.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;AACrE,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;CAmBR,CAAC;AACX,MAAM,MAAM,KAAK,GAAG,UAAU,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MAAM,CAAC;IACtB,qDAAqD;IAC9C,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;MAAsB,CAAC;IACjD,sDAAsD;IAC/C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;MAAuB,CAAC;CACpD;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,EAAE,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACnC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAK7B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D;AAED,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AAED,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
@@ -41,8 +41,8 @@ exports.v1AdminUpdateRolesRequestBodyToJSON = v1AdminUpdateRolesRequestBodyToJSO
41
41
  exports.v1AdminUpdateRolesRequestBodyFromJSON = v1AdminUpdateRolesRequestBodyFromJSON;
42
42
  const z = __importStar(require("zod"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
- const idstruct_js_1 = require("./idstruct.js");
45
- const vanitystruct_js_1 = require("./vanitystruct.js");
44
+ const idsearch_js_1 = require("./idsearch.js");
45
+ const vanitysearch_js_1 = require("./vanitysearch.js");
46
46
  exports.Roles = {
47
47
  User: "user",
48
48
  Donator: "donator",
@@ -62,6 +62,7 @@ exports.Roles = {
62
62
  Translator: "translator",
63
63
  Top100: "top_100",
64
64
  BadgeScout: "badge_scout",
65
+ NitroBooster: "nitro_booster",
65
66
  };
66
67
  /** @internal */
67
68
  exports.Roles$inboundSchema = z.nativeEnum(exports.Roles);
@@ -80,15 +81,15 @@ var Roles$;
80
81
  })(Roles$ || (exports.Roles$ = Roles$ = {}));
81
82
  /** @internal */
82
83
  exports.V1AdminUpdateRolesRequestBody$inboundSchema = z.object({
83
- id: idstruct_js_1.IDStruct$inboundSchema.optional(),
84
+ id: idsearch_js_1.IDSearch$inboundSchema.optional(),
84
85
  roles: z.nullable(z.array(exports.Roles$inboundSchema)),
85
- vanity: vanitystruct_js_1.VanityStruct$inboundSchema.optional(),
86
+ vanity: vanitysearch_js_1.VanitySearch$inboundSchema.optional(),
86
87
  });
87
88
  /** @internal */
88
89
  exports.V1AdminUpdateRolesRequestBody$outboundSchema = z.object({
89
- id: idstruct_js_1.IDStruct$outboundSchema.optional(),
90
+ id: idsearch_js_1.IDSearch$outboundSchema.optional(),
90
91
  roles: z.nullable(z.array(exports.Roles$outboundSchema)),
91
- vanity: vanitystruct_js_1.VanityStruct$outboundSchema.optional(),
92
+ vanity: vanitysearch_js_1.VanitySearch$outboundSchema.optional(),
92
93
  });
93
94
  /**
94
95
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"v1adminupdaterolesrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1adminupdaterolesrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8GH,kFAQC;AAED,sFAQC;AA9HD,uCAAyB;AACzB,qDAAiD;AAIjD,+CAKuB;AAC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C,CAAC,CAAC,KAAK,CAAC,4BAAoB,CAAC,CAAC;IAChD,MAAM,EAAE,6CAA2B,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"v1adminupdaterolesrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1adminupdaterolesrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+GH,kFAQC;AAED,sFAQC;AA/HD,uCAAyB;AACzB,qDAAiD;AAIjD,+CAKuB;AACvB,uDAK2B;AAEd,QAAA,KAAK,GAAG;IACnB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS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8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
@@ -2,8 +2,8 @@ import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- import { IDStruct, IDStruct$Outbound } from "./idstruct.js";
6
- import { VanityStruct, VanityStruct$Outbound } from "./vanitystruct.js";
5
+ import { IDSearch, IDSearch$Outbound } from "./idsearch.js";
6
+ import { VanitySearch, VanitySearch$Outbound } from "./vanitysearch.js";
7
7
  /**
8
8
  * The leaderboard to get
9
9
  */
@@ -29,7 +29,7 @@ export declare const V1LeaderboardPreviewAccountRankRequestBodyLeaderboard: {
29
29
  */
30
30
  export type V1LeaderboardPreviewAccountRankRequestBodyLeaderboard = ClosedEnum<typeof V1LeaderboardPreviewAccountRankRequestBodyLeaderboard>;
31
31
  export type V1LeaderboardPreviewAccountRankRequestBody = {
32
- id?: IDStruct | undefined;
32
+ id?: IDSearch | undefined;
33
33
  /**
34
34
  * The leaderboard to get
35
35
  */
@@ -38,7 +38,7 @@ export type V1LeaderboardPreviewAccountRankRequestBody = {
38
38
  * What their leaderboard score would be, will use their current rank if not set
39
39
  */
40
40
  value?: number | null | undefined;
41
- vanity?: VanityStruct | undefined;
41
+ vanity?: VanitySearch | undefined;
42
42
  };
43
43
  /** @internal */
44
44
  export declare const V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$inboundSchema: z.ZodNativeEnum<typeof V1LeaderboardPreviewAccountRankRequestBodyLeaderboard>;
@@ -90,10 +90,10 @@ export declare namespace V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$
90
90
  export declare const V1LeaderboardPreviewAccountRankRequestBody$inboundSchema: z.ZodType<V1LeaderboardPreviewAccountRankRequestBody, z.ZodTypeDef, unknown>;
91
91
  /** @internal */
92
92
  export type V1LeaderboardPreviewAccountRankRequestBody$Outbound = {
93
- id?: IDStruct$Outbound | undefined;
93
+ id?: IDSearch$Outbound | undefined;
94
94
  leaderboard: string;
95
95
  value?: number | null | undefined;
96
- vanity?: VanityStruct$Outbound | undefined;
96
+ vanity?: VanitySearch$Outbound | undefined;
97
97
  };
98
98
  /** @internal */
99
99
  export declare const V1LeaderboardPreviewAccountRankRequestBody$outboundSchema: z.ZodType<V1LeaderboardPreviewAccountRankRequestBody$Outbound, z.ZodTypeDef, V1LeaderboardPreviewAccountRankRequestBody>;
@@ -41,8 +41,8 @@ exports.v1LeaderboardPreviewAccountRankRequestBodyToJSON = v1LeaderboardPreviewA
41
41
  exports.v1LeaderboardPreviewAccountRankRequestBodyFromJSON = v1LeaderboardPreviewAccountRankRequestBodyFromJSON;
42
42
  const z = __importStar(require("zod"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
- const idstruct_js_1 = require("./idstruct.js");
45
- const vanitystruct_js_1 = require("./vanitystruct.js");
44
+ const idsearch_js_1 = require("./idsearch.js");
45
+ const vanitysearch_js_1 = require("./vanitysearch.js");
46
46
  /**
47
47
  * The leaderboard to get
48
48
  */
@@ -80,17 +80,17 @@ var V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$;
80
80
  })(V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$ || (exports.V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$ = V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$ = {}));
81
81
  /** @internal */
82
82
  exports.V1LeaderboardPreviewAccountRankRequestBody$inboundSchema = z.object({
83
- id: idstruct_js_1.IDStruct$inboundSchema.optional(),
83
+ id: idsearch_js_1.IDSearch$inboundSchema.optional(),
84
84
  leaderboard: exports.V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$inboundSchema,
85
85
  value: z.nullable(z.number().int()).optional(),
86
- vanity: vanitystruct_js_1.VanityStruct$inboundSchema.optional(),
86
+ vanity: vanitysearch_js_1.VanitySearch$inboundSchema.optional(),
87
87
  });
88
88
  /** @internal */
89
89
  exports.V1LeaderboardPreviewAccountRankRequestBody$outboundSchema = z.object({
90
- id: idstruct_js_1.IDStruct$outboundSchema.optional(),
90
+ id: idsearch_js_1.IDSearch$outboundSchema.optional(),
91
91
  leaderboard: exports.V1LeaderboardPreviewAccountRankRequestBodyLeaderboard$outboundSchema,
92
92
  value: z.nullable(z.number().int()).optional(),
93
- vanity: vanitystruct_js_1.VanityStruct$outboundSchema.optional(),
93
+ vanity: vanitysearch_js_1.VanitySearch$outboundSchema.optional(),
94
94
  });
95
95
  /**
96
96
  * @internal
@@ -13,7 +13,7 @@ export declare const Type: {
13
13
  * Which type of vanity to search for
14
14
  */
15
15
  export type Type = ClosedEnum<typeof Type>;
16
- export type AccountSearchVanityStruct = {
16
+ export type VanitySearch = {
17
17
  /**
18
18
  * Which type of vanity to search for
19
19
  */
@@ -44,26 +44,26 @@ export declare namespace Type$ {
44
44
  }>;
45
45
  }
46
46
  /** @internal */
47
- export declare const AccountSearchVanityStruct$inboundSchema: z.ZodType<AccountSearchVanityStruct, z.ZodTypeDef, unknown>;
47
+ export declare const VanitySearch$inboundSchema: z.ZodType<VanitySearch, z.ZodTypeDef, unknown>;
48
48
  /** @internal */
49
- export type AccountSearchVanityStruct$Outbound = {
49
+ export type VanitySearch$Outbound = {
50
50
  type: string;
51
51
  value: string;
52
52
  };
53
53
  /** @internal */
54
- export declare const AccountSearchVanityStruct$outboundSchema: z.ZodType<AccountSearchVanityStruct$Outbound, z.ZodTypeDef, AccountSearchVanityStruct>;
54
+ export declare const VanitySearch$outboundSchema: z.ZodType<VanitySearch$Outbound, z.ZodTypeDef, VanitySearch>;
55
55
  /**
56
56
  * @internal
57
57
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
58
  */
59
- export declare namespace AccountSearchVanityStruct$ {
60
- /** @deprecated use `AccountSearchVanityStruct$inboundSchema` instead. */
61
- const inboundSchema: z.ZodType<AccountSearchVanityStruct, z.ZodTypeDef, unknown>;
62
- /** @deprecated use `AccountSearchVanityStruct$outboundSchema` instead. */
63
- const outboundSchema: z.ZodType<AccountSearchVanityStruct$Outbound, z.ZodTypeDef, AccountSearchVanityStruct>;
64
- /** @deprecated use `AccountSearchVanityStruct$Outbound` instead. */
65
- type Outbound = AccountSearchVanityStruct$Outbound;
59
+ export declare namespace VanitySearch$ {
60
+ /** @deprecated use `VanitySearch$inboundSchema` instead. */
61
+ const inboundSchema: z.ZodType<VanitySearch, z.ZodTypeDef, unknown>;
62
+ /** @deprecated use `VanitySearch$outboundSchema` instead. */
63
+ const outboundSchema: z.ZodType<VanitySearch$Outbound, z.ZodTypeDef, VanitySearch>;
64
+ /** @deprecated use `VanitySearch$Outbound` instead. */
65
+ type Outbound = VanitySearch$Outbound;
66
66
  }
67
- export declare function accountSearchVanityStructToJSON(accountSearchVanityStruct: AccountSearchVanityStruct): string;
68
- export declare function accountSearchVanityStructFromJSON(jsonString: string): SafeParseResult<AccountSearchVanityStruct, SDKValidationError>;
69
- //# sourceMappingURL=accountsearchvanitystruct.d.ts.map
67
+ export declare function vanitySearchToJSON(vanitySearch: VanitySearch): string;
68
+ export declare function vanitySearchFromJSON(jsonString: string): SafeParseResult<VanitySearch, SDKValidationError>;
69
+ //# sourceMappingURL=vanitysearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vanitysearch.d.ts","sourceRoot":"","sources":["../../src/models/components/vanitysearch.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB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M,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"}
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.AccountSearchVanityStruct$ = exports.AccountSearchVanityStruct$outboundSchema = exports.AccountSearchVanityStruct$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.Type = void 0;
40
- exports.accountSearchVanityStructToJSON = accountSearchVanityStructToJSON;
41
- exports.accountSearchVanityStructFromJSON = accountSearchVanityStructFromJSON;
39
+ exports.VanitySearch$ = exports.VanitySearch$outboundSchema = exports.VanitySearch$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.Type = void 0;
40
+ exports.vanitySearchToJSON = vanitySearchToJSON;
41
+ exports.vanitySearchFromJSON = vanitySearchFromJSON;
42
42
  const z = __importStar(require("zod"));
43
43
  const schemas_js_1 = require("../../lib/schemas.js");
44
44
  /**
@@ -64,12 +64,12 @@ var Type$;
64
64
  Type$.outboundSchema = exports.Type$outboundSchema;
65
65
  })(Type$ || (exports.Type$ = Type$ = {}));
66
66
  /** @internal */
67
- exports.AccountSearchVanityStruct$inboundSchema = z.object({
67
+ exports.VanitySearch$inboundSchema = z.object({
68
68
  type: exports.Type$inboundSchema,
69
69
  value: z.string(),
70
70
  });
71
71
  /** @internal */
72
- exports.AccountSearchVanityStruct$outboundSchema = z.object({
72
+ exports.VanitySearch$outboundSchema = z.object({
73
73
  type: exports.Type$outboundSchema,
74
74
  value: z.string(),
75
75
  });
@@ -77,17 +77,17 @@ exports.AccountSearchVanityStruct$outboundSchema = z.object({
77
77
  * @internal
78
78
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
79
79
  */
80
- var AccountSearchVanityStruct$;
81
- (function (AccountSearchVanityStruct$) {
82
- /** @deprecated use `AccountSearchVanityStruct$inboundSchema` instead. */
83
- AccountSearchVanityStruct$.inboundSchema = exports.AccountSearchVanityStruct$inboundSchema;
84
- /** @deprecated use `AccountSearchVanityStruct$outboundSchema` instead. */
85
- AccountSearchVanityStruct$.outboundSchema = exports.AccountSearchVanityStruct$outboundSchema;
86
- })(AccountSearchVanityStruct$ || (exports.AccountSearchVanityStruct$ = AccountSearchVanityStruct$ = {}));
87
- function accountSearchVanityStructToJSON(accountSearchVanityStruct) {
88
- return JSON.stringify(exports.AccountSearchVanityStruct$outboundSchema.parse(accountSearchVanityStruct));
80
+ var VanitySearch$;
81
+ (function (VanitySearch$) {
82
+ /** @deprecated use `VanitySearch$inboundSchema` instead. */
83
+ VanitySearch$.inboundSchema = exports.VanitySearch$inboundSchema;
84
+ /** @deprecated use `VanitySearch$outboundSchema` instead. */
85
+ VanitySearch$.outboundSchema = exports.VanitySearch$outboundSchema;
86
+ })(VanitySearch$ || (exports.VanitySearch$ = VanitySearch$ = {}));
87
+ function vanitySearchToJSON(vanitySearch) {
88
+ return JSON.stringify(exports.VanitySearch$outboundSchema.parse(vanitySearch));
89
89
  }
90
- function accountSearchVanityStructFromJSON(jsonString) {
91
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountSearchVanityStruct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountSearchVanityStruct' from JSON`);
90
+ function vanitySearchFromJSON(jsonString) {
91
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.VanitySearch$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VanitySearch' from JSON`);
92
92
  }
93
- //# sourceMappingURL=accountsearchvanitystruct.js.map
93
+ //# sourceMappingURL=vanitysearch.js.map
@@ -0,0 +1 @@
1
+ {"version":3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,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steamsets/client-ts",
3
- "version": "0.27.7",
3
+ "version": "0.27.9",
4
4
  "author": "Speakeasy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -59,8 +59,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
59
59
  export const SDK_METADATA = {
60
60
  language: "typescript",
61
61
  openapiDocVersion: "1.0.0",
62
- sdkVersion: "0.27.7",
63
- genVersion: "2.687.1",
62
+ sdkVersion: "0.27.9",
63
+ genVersion: "2.687.13",
64
64
  userAgent:
65
- "speakeasy-sdk/typescript 0.27.7 2.687.1 1.0.0 @steamsets/client-ts",
65
+ "speakeasy-sdk/typescript 0.27.9 2.687.13 1.0.0 @steamsets/client-ts",
66
66
  } as const;
@@ -7,21 +7,21 @@ 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
- AccountSearchIDStruct,
11
- AccountSearchIDStruct$inboundSchema,
12
- AccountSearchIDStruct$Outbound,
13
- AccountSearchIDStruct$outboundSchema,
14
- } from "./accountsearchidstruct.js";
10
+ IDSearch,
11
+ IDSearch$inboundSchema,
12
+ IDSearch$Outbound,
13
+ IDSearch$outboundSchema,
14
+ } from "./idsearch.js";
15
15
  import {
16
- AccountSearchVanityStruct,
17
- AccountSearchVanityStruct$inboundSchema,
18
- AccountSearchVanityStruct$Outbound,
19
- AccountSearchVanityStruct$outboundSchema,
20
- } from "./accountsearchvanitystruct.js";
16
+ VanitySearch,
17
+ VanitySearch$inboundSchema,
18
+ VanitySearch$Outbound,
19
+ VanitySearch$outboundSchema,
20
+ } from "./vanitysearch.js";
21
21
 
22
22
  export type AccountSearch = {
23
- id?: AccountSearchIDStruct | undefined;
24
- vanity?: AccountSearchVanityStruct | undefined;
23
+ id?: IDSearch | undefined;
24
+ vanity?: VanitySearch | undefined;
25
25
  };
26
26
 
27
27
  /** @internal */
@@ -30,14 +30,14 @@ export const AccountSearch$inboundSchema: z.ZodType<
30
30
  z.ZodTypeDef,
31
31
  unknown
32
32
  > = z.object({
33
- id: AccountSearchIDStruct$inboundSchema.optional(),
34
- vanity: AccountSearchVanityStruct$inboundSchema.optional(),
33
+ id: IDSearch$inboundSchema.optional(),
34
+ vanity: VanitySearch$inboundSchema.optional(),
35
35
  });
36
36
 
37
37
  /** @internal */
38
38
  export type AccountSearch$Outbound = {
39
- id?: AccountSearchIDStruct$Outbound | undefined;
40
- vanity?: AccountSearchVanityStruct$Outbound | undefined;
39
+ id?: IDSearch$Outbound | undefined;
40
+ vanity?: VanitySearch$Outbound | undefined;
41
41
  };
42
42
 
43
43
  /** @internal */
@@ -46,8 +46,8 @@ export const AccountSearch$outboundSchema: z.ZodType<
46
46
  z.ZodTypeDef,
47
47
  AccountSearch
48
48
  > = z.object({
49
- id: AccountSearchIDStruct$outboundSchema.optional(),
50
- vanity: AccountSearchVanityStruct$outboundSchema.optional(),
49
+ id: IDSearch$outboundSchema.optional(),
50
+ vanity: VanitySearch$outboundSchema.optional(),
51
51
  });
52
52
 
53
53
  /**
@@ -27,6 +27,7 @@ export const ChosenRoleRole = {
27
27
  Translator: "translator",
28
28
  Top100: "top_100",
29
29
  BadgeScout: "badge_scout",
30
+ NitroBooster: "nitro_booster",
30
31
  } as const;
31
32
  export type ChosenRoleRole = ClosedEnum<typeof ChosenRoleRole>;
32
33