@steamsets/client-ts 0.11.20 → 0.11.21

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.
@@ -1510,6 +1510,7 @@ async function run() {
1510
1510
  ],
1511
1511
  hidden: true,
1512
1512
  language: "en",
1513
+ role: "emerald",
1513
1514
  theme: "dark",
1514
1515
  vanity: "flo",
1515
1516
  },
@@ -1550,6 +1551,7 @@ async function run() {
1550
1551
  ],
1551
1552
  hidden: true,
1552
1553
  language: "en",
1554
+ role: "emerald",
1553
1555
  theme: "dark",
1554
1556
  vanity: "flo",
1555
1557
  },
@@ -345,6 +345,7 @@ async function run() {
345
345
  ],
346
346
  hidden: true,
347
347
  language: "en",
348
+ role: "emerald",
348
349
  theme: "dark",
349
350
  vanity: "flo",
350
351
  },
@@ -385,6 +386,7 @@ async function run() {
385
386
  ],
386
387
  hidden: true,
387
388
  language: "en",
389
+ role: "emerald",
388
390
  theme: "dark",
389
391
  vanity: "flo",
390
392
  },
package/lib/config.d.ts CHANGED
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
27
27
  export declare const SDK_METADATA: {
28
28
  readonly language: "typescript";
29
29
  readonly openapiDocVersion: "1.0.0";
30
- readonly sdkVersion: "0.11.20";
30
+ readonly sdkVersion: "0.11.21";
31
31
  readonly genVersion: "2.438.15";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.11.20 2.438.15 1.0.0 @steamsets/client-ts";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.11.21 2.438.15 1.0.0 @steamsets/client-ts";
33
33
  };
34
34
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -30,8 +30,8 @@ function serverURLFromOptions(options) {
30
30
  exports.SDK_METADATA = {
31
31
  language: "typescript",
32
32
  openapiDocVersion: "1.0.0",
33
- sdkVersion: "0.11.20",
33
+ sdkVersion: "0.11.21",
34
34
  genVersion: "2.438.15",
35
- userAgent: "speakeasy-sdk/typescript 0.11.20 2.438.15 1.0.0 @steamsets/client-ts",
35
+ userAgent: "speakeasy-sdk/typescript 0.11.21 2.438.15 1.0.0 @steamsets/client-ts",
36
36
  };
37
37
  //# sourceMappingURL=config.js.map
@@ -1,6 +1,21 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { EmailNotification, EmailNotification$Outbound } from "./emailnotification.js";
4
+ /**
5
+ * The role the account should have between one of the 6 donation roles
6
+ */
7
+ export declare const V1UpdateSettingsRequestBodyRole: {
8
+ readonly Amber: "amber";
9
+ readonly Amethyst: "amethyst";
10
+ readonly Emerald: "emerald";
11
+ readonly Sapphire: "sapphire";
12
+ readonly Ruby: "ruby";
13
+ readonly Diamond: "diamond";
14
+ };
15
+ /**
16
+ * The role the account should have between one of the 6 donation roles
17
+ */
18
+ export type V1UpdateSettingsRequestBodyRole = ClosedEnum<typeof V1UpdateSettingsRequestBodyRole>;
4
19
  /**
5
20
  * The theme the account should use, only if the account is private
6
21
  */
@@ -37,6 +52,10 @@ export type V1UpdateSettingsRequestBody = {
37
52
  * The language the account should use, only if the account is private
38
53
  */
39
54
  language: string;
55
+ /**
56
+ * The role the account should have between one of the 6 donation roles
57
+ */
58
+ role: V1UpdateSettingsRequestBodyRole | null;
40
59
  /**
41
60
  * The theme the account should use, only if the account is private
42
61
  */
@@ -47,6 +66,34 @@ export type V1UpdateSettingsRequestBody = {
47
66
  vanity: string;
48
67
  };
49
68
  /** @internal */
69
+ export declare const V1UpdateSettingsRequestBodyRole$inboundSchema: z.ZodNativeEnum<typeof V1UpdateSettingsRequestBodyRole>;
70
+ /** @internal */
71
+ export declare const V1UpdateSettingsRequestBodyRole$outboundSchema: z.ZodNativeEnum<typeof V1UpdateSettingsRequestBodyRole>;
72
+ /**
73
+ * @internal
74
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
75
+ */
76
+ export declare namespace V1UpdateSettingsRequestBodyRole$ {
77
+ /** @deprecated use `V1UpdateSettingsRequestBodyRole$inboundSchema` instead. */
78
+ const inboundSchema: z.ZodNativeEnum<{
79
+ readonly Amber: "amber";
80
+ readonly Amethyst: "amethyst";
81
+ readonly Emerald: "emerald";
82
+ readonly Sapphire: "sapphire";
83
+ readonly Ruby: "ruby";
84
+ readonly Diamond: "diamond";
85
+ }>;
86
+ /** @deprecated use `V1UpdateSettingsRequestBodyRole$outboundSchema` instead. */
87
+ const outboundSchema: z.ZodNativeEnum<{
88
+ readonly Amber: "amber";
89
+ readonly Amethyst: "amethyst";
90
+ readonly Emerald: "emerald";
91
+ readonly Sapphire: "sapphire";
92
+ readonly Ruby: "ruby";
93
+ readonly Diamond: "diamond";
94
+ }>;
95
+ }
96
+ /** @internal */
50
97
  export declare const V1UpdateSettingsRequestBodyTheme$inboundSchema: z.ZodNativeEnum<typeof V1UpdateSettingsRequestBodyTheme>;
51
98
  /** @internal */
52
99
  export declare const V1UpdateSettingsRequestBodyTheme$outboundSchema: z.ZodNativeEnum<typeof V1UpdateSettingsRequestBodyTheme>;
@@ -76,6 +123,7 @@ export type V1UpdateSettingsRequestBody$Outbound = {
76
123
  emailNotifications: Array<EmailNotification$Outbound> | null;
77
124
  hidden: boolean;
78
125
  language: string;
126
+ role: string | null;
79
127
  theme: string;
80
128
  vanity: string;
81
129
  };
@@ -1 +1 @@
1
- {"version":3,"file":"v1updatesettingsrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;AAEF,MAA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,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAU3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D"}
1
+ {"version":3,"file":"v1updatesettingsrequestbody.d.ts","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;CAOlC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;CAGnC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IACpD;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,+BAA+B,GAAG,IAAI,CAAC;IAC7C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EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAW3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D"}
@@ -26,9 +26,20 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.V1UpdateSettingsRequestBody$ = exports.V1UpdateSettingsRequestBody$outboundSchema = exports.V1UpdateSettingsRequestBody$inboundSchema = exports.V1UpdateSettingsRequestBodyTheme$ = exports.V1UpdateSettingsRequestBodyTheme$outboundSchema = exports.V1UpdateSettingsRequestBodyTheme$inboundSchema = exports.V1UpdateSettingsRequestBodyTheme = void 0;
29
+ exports.V1UpdateSettingsRequestBody$ = exports.V1UpdateSettingsRequestBody$outboundSchema = exports.V1UpdateSettingsRequestBody$inboundSchema = exports.V1UpdateSettingsRequestBodyTheme$ = exports.V1UpdateSettingsRequestBodyTheme$outboundSchema = exports.V1UpdateSettingsRequestBodyTheme$inboundSchema = exports.V1UpdateSettingsRequestBodyRole$ = exports.V1UpdateSettingsRequestBodyRole$outboundSchema = exports.V1UpdateSettingsRequestBodyRole$inboundSchema = exports.V1UpdateSettingsRequestBodyTheme = exports.V1UpdateSettingsRequestBodyRole = void 0;
30
30
  const z = __importStar(require("zod"));
31
31
  const emailnotification_js_1 = require("./emailnotification.js");
32
+ /**
33
+ * The role the account should have between one of the 6 donation roles
34
+ */
35
+ exports.V1UpdateSettingsRequestBodyRole = {
36
+ Amber: "amber",
37
+ Amethyst: "amethyst",
38
+ Emerald: "emerald",
39
+ Sapphire: "sapphire",
40
+ Ruby: "ruby",
41
+ Diamond: "diamond",
42
+ };
32
43
  /**
33
44
  * The theme the account should use, only if the account is private
34
45
  */
@@ -37,6 +48,21 @@ exports.V1UpdateSettingsRequestBodyTheme = {
37
48
  Light: "light",
38
49
  };
39
50
  /** @internal */
51
+ exports.V1UpdateSettingsRequestBodyRole$inboundSchema = z.nativeEnum(exports.V1UpdateSettingsRequestBodyRole);
52
+ /** @internal */
53
+ exports.V1UpdateSettingsRequestBodyRole$outboundSchema = exports.V1UpdateSettingsRequestBodyRole$inboundSchema;
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 V1UpdateSettingsRequestBodyRole$;
59
+ (function (V1UpdateSettingsRequestBodyRole$) {
60
+ /** @deprecated use `V1UpdateSettingsRequestBodyRole$inboundSchema` instead. */
61
+ V1UpdateSettingsRequestBodyRole$.inboundSchema = exports.V1UpdateSettingsRequestBodyRole$inboundSchema;
62
+ /** @deprecated use `V1UpdateSettingsRequestBodyRole$outboundSchema` instead. */
63
+ V1UpdateSettingsRequestBodyRole$.outboundSchema = exports.V1UpdateSettingsRequestBodyRole$outboundSchema;
64
+ })(V1UpdateSettingsRequestBodyRole$ || (exports.V1UpdateSettingsRequestBodyRole$ = V1UpdateSettingsRequestBodyRole$ = {}));
65
+ /** @internal */
40
66
  exports.V1UpdateSettingsRequestBodyTheme$inboundSchema = z.nativeEnum(exports.V1UpdateSettingsRequestBodyTheme);
41
67
  /** @internal */
42
68
  exports.V1UpdateSettingsRequestBodyTheme$outboundSchema = exports.V1UpdateSettingsRequestBodyTheme$inboundSchema;
@@ -59,6 +85,7 @@ exports.V1UpdateSettingsRequestBody$inboundSchema = z.object({
59
85
  emailNotifications: z.nullable(z.array(emailnotification_js_1.EmailNotification$inboundSchema)),
60
86
  hidden: z.boolean(),
61
87
  language: z.string(),
88
+ role: z.nullable(exports.V1UpdateSettingsRequestBodyRole$inboundSchema),
62
89
  theme: exports.V1UpdateSettingsRequestBodyTheme$inboundSchema,
63
90
  vanity: z.string(),
64
91
  });
@@ -70,6 +97,7 @@ exports.V1UpdateSettingsRequestBody$outboundSchema = z.object({
70
97
  emailNotifications: z.nullable(z.array(emailnotification_js_1.EmailNotification$outboundSchema)),
71
98
  hidden: z.boolean(),
72
99
  language: z.string(),
100
+ role: z.nullable(exports.V1UpdateSettingsRequestBodyRole$outboundSchema),
73
101
  theme: exports.V1UpdateSettingsRequestBodyTheme$outboundSchema,
74
102
  vanity: z.string(),
75
103
  });
@@ -1 +1 @@
1
- {"version":3,"file":"v1updatesettingsrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAEzB,iEAKgC;AAEhC;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC9C,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AA2CX,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,CAAC,CAAC,UAAU,CAAC,wCAAgC,CAAC,CAAC;AAEnD,gBAAgB;AACH,QAAA,+CAA+C,GAExD,sDAA8C,CAAC;AAEnD;;;GAGG;AACH,IAAiB,iCAAiC,CAKjD;AALD,WAAiB,iCAAiC;IAChD,gFAAgF;IACnE,+CAAa,GAAG,sDAA8C,CAAC;IAC5E,iFAAiF;IACpE,gDAAc,GAAG,uDAA+C,CAAC;AAChF,CAAC,EALgB,iCAAiC,iDAAjC,iCAAiC,QAKjD;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,sDAA+B,CAAC,CAAC;IACxE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,sDAA8C;IACrD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAcH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,uDAAgC,CAAC,CAAC;IACzE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,uDAA+C;IACtD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC3C,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG3E,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C"}
1
+ {"version":3,"file":"v1updatesettingsrequestbody.js","sourceRoot":"","sources":["../../src/models/components/v1updatesettingsrequestbody.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAEzB,iEAKgC;AAEhC;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC7C,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,IAAI,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E,CAAC,CAAC,QAAQ,CAAC,qDAA6C,CAAC;IAC/D,KAAK,EAAE,sDAA8C;IACrD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAeH,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,uDAAgC,CAAC,CAAC;IACzE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,sDAA8C,CAAC;IAChE,KAAK,EAAE,uDAA+C;IACtD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,4BAA4B,CAO5C;AAPD,WAAiB,4BAA4B;IAC3C,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG3E,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steamsets/client-ts",
3
- "version": "0.11.20",
3
+ "version": "0.11.21",
4
4
  "author": "Speakeasy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "1.0.0",
58
- sdkVersion: "0.11.20",
58
+ sdkVersion: "0.11.21",
59
59
  genVersion: "2.438.15",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.11.20 2.438.15 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.11.21 2.438.15 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -11,6 +11,24 @@ import {
11
11
  EmailNotification$outboundSchema,
12
12
  } from "./emailnotification.js";
13
13
 
14
+ /**
15
+ * The role the account should have between one of the 6 donation roles
16
+ */
17
+ export const V1UpdateSettingsRequestBodyRole = {
18
+ Amber: "amber",
19
+ Amethyst: "amethyst",
20
+ Emerald: "emerald",
21
+ Sapphire: "sapphire",
22
+ Ruby: "ruby",
23
+ Diamond: "diamond",
24
+ } as const;
25
+ /**
26
+ * The role the account should have between one of the 6 donation roles
27
+ */
28
+ export type V1UpdateSettingsRequestBodyRole = ClosedEnum<
29
+ typeof V1UpdateSettingsRequestBodyRole
30
+ >;
31
+
14
32
  /**
15
33
  * The theme the account should use, only if the account is private
16
34
  */
@@ -50,6 +68,10 @@ export type V1UpdateSettingsRequestBody = {
50
68
  * The language the account should use, only if the account is private
51
69
  */
52
70
  language: string;
71
+ /**
72
+ * The role the account should have between one of the 6 donation roles
73
+ */
74
+ role: V1UpdateSettingsRequestBodyRole | null;
53
75
  /**
54
76
  * The theme the account should use, only if the account is private
55
77
  */
@@ -60,6 +82,27 @@ export type V1UpdateSettingsRequestBody = {
60
82
  vanity: string;
61
83
  };
62
84
 
85
+ /** @internal */
86
+ export const V1UpdateSettingsRequestBodyRole$inboundSchema: z.ZodNativeEnum<
87
+ typeof V1UpdateSettingsRequestBodyRole
88
+ > = z.nativeEnum(V1UpdateSettingsRequestBodyRole);
89
+
90
+ /** @internal */
91
+ export const V1UpdateSettingsRequestBodyRole$outboundSchema: z.ZodNativeEnum<
92
+ typeof V1UpdateSettingsRequestBodyRole
93
+ > = V1UpdateSettingsRequestBodyRole$inboundSchema;
94
+
95
+ /**
96
+ * @internal
97
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
98
+ */
99
+ export namespace V1UpdateSettingsRequestBodyRole$ {
100
+ /** @deprecated use `V1UpdateSettingsRequestBodyRole$inboundSchema` instead. */
101
+ export const inboundSchema = V1UpdateSettingsRequestBodyRole$inboundSchema;
102
+ /** @deprecated use `V1UpdateSettingsRequestBodyRole$outboundSchema` instead. */
103
+ export const outboundSchema = V1UpdateSettingsRequestBodyRole$outboundSchema;
104
+ }
105
+
63
106
  /** @internal */
64
107
  export const V1UpdateSettingsRequestBodyTheme$inboundSchema: z.ZodNativeEnum<
65
108
  typeof V1UpdateSettingsRequestBodyTheme
@@ -93,6 +136,7 @@ export const V1UpdateSettingsRequestBody$inboundSchema: z.ZodType<
93
136
  emailNotifications: z.nullable(z.array(EmailNotification$inboundSchema)),
94
137
  hidden: z.boolean(),
95
138
  language: z.string(),
139
+ role: z.nullable(V1UpdateSettingsRequestBodyRole$inboundSchema),
96
140
  theme: V1UpdateSettingsRequestBodyTheme$inboundSchema,
97
141
  vanity: z.string(),
98
142
  });
@@ -105,6 +149,7 @@ export type V1UpdateSettingsRequestBody$Outbound = {
105
149
  emailNotifications: Array<EmailNotification$Outbound> | null;
106
150
  hidden: boolean;
107
151
  language: string;
152
+ role: string | null;
108
153
  theme: string;
109
154
  vanity: string;
110
155
  };
@@ -121,6 +166,7 @@ export const V1UpdateSettingsRequestBody$outboundSchema: z.ZodType<
121
166
  emailNotifications: z.nullable(z.array(EmailNotification$outboundSchema)),
122
167
  hidden: z.boolean(),
123
168
  language: z.string(),
169
+ role: z.nullable(V1UpdateSettingsRequestBodyRole$outboundSchema),
124
170
  theme: V1UpdateSettingsRequestBodyTheme$outboundSchema,
125
171
  vanity: z.string(),
126
172
  });