@steamsets/client-ts 0.11.2 → 0.11.4

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 (101) hide show
  1. package/README.md +9 -0
  2. package/docs/sdks/developer/README.md +261 -0
  3. package/funcs/developerAccountV1SettingsDeveloperAppCreate.d.ts +14 -0
  4. package/funcs/developerAccountV1SettingsDeveloperAppCreate.d.ts.map +1 -0
  5. package/funcs/developerAccountV1SettingsDeveloperAppCreate.js +97 -0
  6. package/funcs/developerAccountV1SettingsDeveloperAppCreate.js.map +1 -0
  7. package/funcs/developerAccountV1SettingsDeveloperAppDelete.d.ts +14 -0
  8. package/funcs/developerAccountV1SettingsDeveloperAppDelete.d.ts.map +1 -0
  9. package/funcs/developerAccountV1SettingsDeveloperAppDelete.js +97 -0
  10. package/funcs/developerAccountV1SettingsDeveloperAppDelete.js.map +1 -0
  11. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.d.ts +14 -0
  12. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.d.ts.map +1 -0
  13. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.js +97 -0
  14. package/funcs/developerAccountV1SettingsDeveloperAppUpdate.js.map +1 -0
  15. package/lib/config.d.ts +2 -2
  16. package/lib/config.js +2 -2
  17. package/models/components/developerapp.d.ts +88 -0
  18. package/models/components/developerapp.d.ts.map +1 -0
  19. package/models/components/developerapp.js +83 -0
  20. package/models/components/developerapp.js.map +1 -0
  21. package/models/components/index.d.ts +7 -0
  22. package/models/components/index.d.ts.map +1 -1
  23. package/models/components/index.js +7 -0
  24. package/models/components/index.js.map +1 -1
  25. package/models/components/resource.d.ts +3 -0
  26. package/models/components/resource.d.ts.map +1 -1
  27. package/models/components/resource.js +1 -0
  28. package/models/components/resource.js.map +1 -1
  29. package/models/components/v1accountdeveloperappdeleterequestbody.d.ts +28 -0
  30. package/models/components/v1accountdeveloperappdeleterequestbody.d.ts.map +1 -0
  31. package/models/components/v1accountdeveloperappdeleterequestbody.js +50 -0
  32. package/models/components/v1accountdeveloperappdeleterequestbody.js.map +1 -0
  33. package/models/components/v1accountdeveloperappdeleteresponsebody.d.ts +28 -0
  34. package/models/components/v1accountdeveloperappdeleteresponsebody.d.ts.map +1 -0
  35. package/models/components/v1accountdeveloperappdeleteresponsebody.js +59 -0
  36. package/models/components/v1accountdeveloperappdeleteresponsebody.js.map +1 -0
  37. package/models/components/v1accountdeveloperappupdaterequestbody.d.ts +48 -0
  38. package/models/components/v1accountdeveloperappupdaterequestbody.d.ts.map +1 -0
  39. package/models/components/v1accountdeveloperappupdaterequestbody.js +58 -0
  40. package/models/components/v1accountdeveloperappupdaterequestbody.js.map +1 -0
  41. package/models/components/v1accountdeveloperappupdateresponsebody.d.ts +33 -0
  42. package/models/components/v1accountdeveloperappupdateresponsebody.d.ts.map +1 -0
  43. package/models/components/v1accountdeveloperappupdateresponsebody.js +61 -0
  44. package/models/components/v1accountdeveloperappupdateresponsebody.js.map +1 -0
  45. package/models/components/v1developerappcreaterequestbody.d.ts +83 -0
  46. package/models/components/v1developerappcreaterequestbody.d.ts.map +1 -0
  47. package/models/components/v1developerappcreaterequestbody.js +82 -0
  48. package/models/components/v1developerappcreaterequestbody.js.map +1 -0
  49. package/models/components/v1developerappcreateresponsebody.d.ts +33 -0
  50. package/models/components/v1developerappcreateresponsebody.d.ts.map +1 -0
  51. package/models/components/v1developerappcreateresponsebody.js +61 -0
  52. package/models/components/v1developerappcreateresponsebody.js.map +1 -0
  53. package/models/components/v1getsettingsbody.d.ts +6 -5
  54. package/models/components/v1getsettingsbody.d.ts.map +1 -1
  55. package/models/components/v1getsettingsbody.js +3 -2
  56. package/models/components/v1getsettingsbody.js.map +1 -1
  57. package/models/operations/accountv1settingsdeveloperappcreate.d.ts +31 -0
  58. package/models/operations/accountv1settingsdeveloperappcreate.d.ts.map +1 -0
  59. package/models/operations/accountv1settingsdeveloperappcreate.js +66 -0
  60. package/models/operations/accountv1settingsdeveloperappcreate.js.map +1 -0
  61. package/models/operations/accountv1settingsdeveloperappdelete.d.ts +31 -0
  62. package/models/operations/accountv1settingsdeveloperappdelete.d.ts.map +1 -0
  63. package/models/operations/accountv1settingsdeveloperappdelete.js +66 -0
  64. package/models/operations/accountv1settingsdeveloperappdelete.js.map +1 -0
  65. package/models/operations/accountv1settingsdeveloperappupdate.d.ts +31 -0
  66. package/models/operations/accountv1settingsdeveloperappupdate.d.ts.map +1 -0
  67. package/models/operations/accountv1settingsdeveloperappupdate.js +66 -0
  68. package/models/operations/accountv1settingsdeveloperappupdate.js.map +1 -0
  69. package/models/operations/index.d.ts +3 -0
  70. package/models/operations/index.d.ts.map +1 -1
  71. package/models/operations/index.js +3 -0
  72. package/models/operations/index.js.map +1 -1
  73. package/package.json +1 -1
  74. package/sdk/developer.d.ts +18 -0
  75. package/sdk/developer.d.ts.map +1 -0
  76. package/sdk/developer.js +33 -0
  77. package/sdk/developer.js.map +1 -0
  78. package/sdk/sdk.d.ts +3 -0
  79. package/sdk/sdk.d.ts.map +1 -1
  80. package/sdk/sdk.js +5 -0
  81. package/sdk/sdk.js.map +1 -1
  82. package/src/funcs/developerAccountV1SettingsDeveloperAppCreate.ts +132 -0
  83. package/src/funcs/developerAccountV1SettingsDeveloperAppDelete.ts +134 -0
  84. package/src/funcs/developerAccountV1SettingsDeveloperAppUpdate.ts +134 -0
  85. package/src/lib/config.ts +2 -2
  86. package/src/models/components/developerapp.ts +120 -0
  87. package/src/models/components/index.ts +7 -0
  88. package/src/models/components/resource.ts +1 -0
  89. package/src/models/components/v1accountdeveloperappdeleterequestbody.ts +50 -0
  90. package/src/models/components/v1accountdeveloperappdeleteresponsebody.ts +59 -0
  91. package/src/models/components/v1accountdeveloperappupdaterequestbody.ts +78 -0
  92. package/src/models/components/v1accountdeveloperappupdateresponsebody.ts +66 -0
  93. package/src/models/components/v1developerappcreaterequestbody.ts +109 -0
  94. package/src/models/components/v1developerappcreateresponsebody.ts +64 -0
  95. package/src/models/components/v1getsettingsbody.ts +13 -7
  96. package/src/models/operations/accountv1settingsdeveloperappcreate.ts +74 -0
  97. package/src/models/operations/accountv1settingsdeveloperappdelete.ts +76 -0
  98. package/src/models/operations/accountv1settingsdeveloperappupdate.ts +76 -0
  99. package/src/models/operations/index.ts +3 -0
  100. package/src/sdk/developer.ts +55 -0
  101. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,109 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+
8
+ /**
9
+ * The environment to create the app for
10
+ */
11
+ export const Environment = {
12
+ Production: "production",
13
+ Development: "development",
14
+ Staging: "staging",
15
+ } as const;
16
+ /**
17
+ * The environment to create the app for
18
+ */
19
+ export type Environment = ClosedEnum<typeof Environment>;
20
+
21
+ export type V1DeveloperAppCreateRequestBody = {
22
+ /**
23
+ * The description of the app
24
+ */
25
+ description: string;
26
+ /**
27
+ * The environment to create the app for
28
+ */
29
+ environment: Environment;
30
+ /**
31
+ * Whether to generate a key for the app
32
+ */
33
+ generateKey: boolean;
34
+ /**
35
+ * The icon of the app
36
+ */
37
+ icon: string | null;
38
+ /**
39
+ * The name of the app
40
+ */
41
+ name: string;
42
+ };
43
+
44
+ /** @internal */
45
+ export const Environment$inboundSchema: z.ZodNativeEnum<typeof Environment> = z
46
+ .nativeEnum(Environment);
47
+
48
+ /** @internal */
49
+ export const Environment$outboundSchema: z.ZodNativeEnum<typeof Environment> =
50
+ Environment$inboundSchema;
51
+
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export namespace Environment$ {
57
+ /** @deprecated use `Environment$inboundSchema` instead. */
58
+ export const inboundSchema = Environment$inboundSchema;
59
+ /** @deprecated use `Environment$outboundSchema` instead. */
60
+ export const outboundSchema = Environment$outboundSchema;
61
+ }
62
+
63
+ /** @internal */
64
+ export const V1DeveloperAppCreateRequestBody$inboundSchema: z.ZodType<
65
+ V1DeveloperAppCreateRequestBody,
66
+ z.ZodTypeDef,
67
+ unknown
68
+ > = z.object({
69
+ description: z.string(),
70
+ environment: Environment$inboundSchema,
71
+ generateKey: z.boolean(),
72
+ icon: z.nullable(z.string()),
73
+ name: z.string(),
74
+ });
75
+
76
+ /** @internal */
77
+ export type V1DeveloperAppCreateRequestBody$Outbound = {
78
+ description: string;
79
+ environment: string;
80
+ generateKey: boolean;
81
+ icon: string | null;
82
+ name: string;
83
+ };
84
+
85
+ /** @internal */
86
+ export const V1DeveloperAppCreateRequestBody$outboundSchema: z.ZodType<
87
+ V1DeveloperAppCreateRequestBody$Outbound,
88
+ z.ZodTypeDef,
89
+ V1DeveloperAppCreateRequestBody
90
+ > = z.object({
91
+ description: z.string(),
92
+ environment: Environment$outboundSchema,
93
+ generateKey: z.boolean(),
94
+ icon: z.nullable(z.string()),
95
+ name: z.string(),
96
+ });
97
+
98
+ /**
99
+ * @internal
100
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
+ */
102
+ export namespace V1DeveloperAppCreateRequestBody$ {
103
+ /** @deprecated use `V1DeveloperAppCreateRequestBody$inboundSchema` instead. */
104
+ export const inboundSchema = V1DeveloperAppCreateRequestBody$inboundSchema;
105
+ /** @deprecated use `V1DeveloperAppCreateRequestBody$outboundSchema` instead. */
106
+ export const outboundSchema = V1DeveloperAppCreateRequestBody$outboundSchema;
107
+ /** @deprecated use `V1DeveloperAppCreateRequestBody$Outbound` instead. */
108
+ export type Outbound = V1DeveloperAppCreateRequestBody$Outbound;
109
+ }
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+
8
+ export type V1DeveloperAppCreateResponseBody = {
9
+ /**
10
+ * A URL to the JSON Schema for this object.
11
+ */
12
+ dollarSchema?: string | undefined;
13
+ /**
14
+ * The generated API Key
15
+ */
16
+ apiKey: string | null;
17
+ };
18
+
19
+ /** @internal */
20
+ export const V1DeveloperAppCreateResponseBody$inboundSchema: z.ZodType<
21
+ V1DeveloperAppCreateResponseBody,
22
+ z.ZodTypeDef,
23
+ unknown
24
+ > = z.object({
25
+ $schema: z.string().optional(),
26
+ apiKey: z.nullable(z.string()),
27
+ }).transform((v) => {
28
+ return remap$(v, {
29
+ "$schema": "dollarSchema",
30
+ });
31
+ });
32
+
33
+ /** @internal */
34
+ export type V1DeveloperAppCreateResponseBody$Outbound = {
35
+ $schema?: string | undefined;
36
+ apiKey: string | null;
37
+ };
38
+
39
+ /** @internal */
40
+ export const V1DeveloperAppCreateResponseBody$outboundSchema: z.ZodType<
41
+ V1DeveloperAppCreateResponseBody$Outbound,
42
+ z.ZodTypeDef,
43
+ V1DeveloperAppCreateResponseBody
44
+ > = z.object({
45
+ dollarSchema: z.string().optional(),
46
+ apiKey: z.nullable(z.string()),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ dollarSchema: "$schema",
50
+ });
51
+ });
52
+
53
+ /**
54
+ * @internal
55
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
+ */
57
+ export namespace V1DeveloperAppCreateResponseBody$ {
58
+ /** @deprecated use `V1DeveloperAppCreateResponseBody$inboundSchema` instead. */
59
+ export const inboundSchema = V1DeveloperAppCreateResponseBody$inboundSchema;
60
+ /** @deprecated use `V1DeveloperAppCreateResponseBody$outboundSchema` instead. */
61
+ export const outboundSchema = V1DeveloperAppCreateResponseBody$outboundSchema;
62
+ /** @deprecated use `V1DeveloperAppCreateResponseBody$Outbound` instead. */
63
+ export type Outbound = V1DeveloperAppCreateResponseBody$Outbound;
64
+ }
@@ -11,6 +11,12 @@ import {
11
11
  Connection$Outbound,
12
12
  Connection$outboundSchema,
13
13
  } from "./connection.js";
14
+ import {
15
+ DeveloperApp,
16
+ DeveloperApp$inboundSchema,
17
+ DeveloperApp$Outbound,
18
+ DeveloperApp$outboundSchema,
19
+ } from "./developerapp.js";
14
20
  import {
15
21
  EmailNotification,
16
22
  EmailNotification$inboundSchema,
@@ -47,10 +53,6 @@ export type V1GetSettingsBody = {
47
53
  * A URL to the JSON Schema for this object.
48
54
  */
49
55
  dollarSchema?: string | undefined;
50
- /**
51
- * The Generated API Key for this account
52
- */
53
- apiKey: string;
54
56
  /**
55
57
  * The color the account is using
56
58
  */
@@ -63,6 +65,10 @@ export type V1GetSettingsBody = {
63
65
  * The connections the account has
64
66
  */
65
67
  connections: Array<Connection> | null;
68
+ /**
69
+ * The developer apps the account has
70
+ */
71
+ developerApps: Array<DeveloperApp> | null;
66
72
  /**
67
73
  * The email the account is using
68
74
  */
@@ -128,10 +134,10 @@ export const V1GetSettingsBody$inboundSchema: z.ZodType<
128
134
  unknown
129
135
  > = z.object({
130
136
  $schema: z.string().optional(),
131
- apiKey: z.string(),
132
137
  color: z.string(),
133
138
  colors: z.string(),
134
139
  connections: z.nullable(z.array(Connection$inboundSchema)),
140
+ developerApps: z.nullable(z.array(DeveloperApp$inboundSchema)),
135
141
  email: z.string(),
136
142
  emailNotifications: z.nullable(z.array(EmailNotification$inboundSchema)),
137
143
  emailVerified: z.boolean(),
@@ -150,10 +156,10 @@ export const V1GetSettingsBody$inboundSchema: z.ZodType<
150
156
  /** @internal */
151
157
  export type V1GetSettingsBody$Outbound = {
152
158
  $schema?: string | undefined;
153
- apiKey: string;
154
159
  color: string;
155
160
  colors: string;
156
161
  connections: Array<Connection$Outbound> | null;
162
+ developerApps: Array<DeveloperApp$Outbound> | null;
157
163
  email: string;
158
164
  emailNotifications: Array<EmailNotification$Outbound> | null;
159
165
  emailVerified: boolean;
@@ -172,10 +178,10 @@ export const V1GetSettingsBody$outboundSchema: z.ZodType<
172
178
  V1GetSettingsBody
173
179
  > = z.object({
174
180
  dollarSchema: z.string().optional(),
175
- apiKey: z.string(),
176
181
  color: z.string(),
177
182
  colors: z.string(),
178
183
  connections: z.nullable(z.array(Connection$outboundSchema)),
184
+ developerApps: z.nullable(z.array(DeveloperApp$outboundSchema)),
179
185
  email: z.string(),
180
186
  emailNotifications: z.nullable(z.array(EmailNotification$outboundSchema)),
181
187
  emailVerified: z.boolean(),
@@ -0,0 +1,74 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
8
+
9
+ export type AccountV1SettingsDeveloperAppCreateResponse = {
10
+ httpMeta: components.HTTPMetadata;
11
+ /**
12
+ * OK
13
+ */
14
+ v1DeveloperAppCreateResponseBody?:
15
+ | components.V1DeveloperAppCreateResponseBody
16
+ | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export const AccountV1SettingsDeveloperAppCreateResponse$inboundSchema:
21
+ z.ZodType<
22
+ AccountV1SettingsDeveloperAppCreateResponse,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ HttpMeta: components.HTTPMetadata$inboundSchema,
27
+ V1DeveloperAppCreateResponseBody: components
28
+ .V1DeveloperAppCreateResponseBody$inboundSchema.optional(),
29
+ }).transform((v) => {
30
+ return remap$(v, {
31
+ "HttpMeta": "httpMeta",
32
+ "V1DeveloperAppCreateResponseBody": "v1DeveloperAppCreateResponseBody",
33
+ });
34
+ });
35
+
36
+ /** @internal */
37
+ export type AccountV1SettingsDeveloperAppCreateResponse$Outbound = {
38
+ HttpMeta: components.HTTPMetadata$Outbound;
39
+ V1DeveloperAppCreateResponseBody?:
40
+ | components.V1DeveloperAppCreateResponseBody$Outbound
41
+ | undefined;
42
+ };
43
+
44
+ /** @internal */
45
+ export const AccountV1SettingsDeveloperAppCreateResponse$outboundSchema:
46
+ z.ZodType<
47
+ AccountV1SettingsDeveloperAppCreateResponse$Outbound,
48
+ z.ZodTypeDef,
49
+ AccountV1SettingsDeveloperAppCreateResponse
50
+ > = z.object({
51
+ httpMeta: components.HTTPMetadata$outboundSchema,
52
+ v1DeveloperAppCreateResponseBody: components
53
+ .V1DeveloperAppCreateResponseBody$outboundSchema.optional(),
54
+ }).transform((v) => {
55
+ return remap$(v, {
56
+ httpMeta: "HttpMeta",
57
+ v1DeveloperAppCreateResponseBody: "V1DeveloperAppCreateResponseBody",
58
+ });
59
+ });
60
+
61
+ /**
62
+ * @internal
63
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
64
+ */
65
+ export namespace AccountV1SettingsDeveloperAppCreateResponse$ {
66
+ /** @deprecated use `AccountV1SettingsDeveloperAppCreateResponse$inboundSchema` instead. */
67
+ export const inboundSchema =
68
+ AccountV1SettingsDeveloperAppCreateResponse$inboundSchema;
69
+ /** @deprecated use `AccountV1SettingsDeveloperAppCreateResponse$outboundSchema` instead. */
70
+ export const outboundSchema =
71
+ AccountV1SettingsDeveloperAppCreateResponse$outboundSchema;
72
+ /** @deprecated use `AccountV1SettingsDeveloperAppCreateResponse$Outbound` instead. */
73
+ export type Outbound = AccountV1SettingsDeveloperAppCreateResponse$Outbound;
74
+ }
@@ -0,0 +1,76 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
8
+
9
+ export type AccountV1SettingsDeveloperAppDeleteResponse = {
10
+ httpMeta: components.HTTPMetadata;
11
+ /**
12
+ * OK
13
+ */
14
+ v1AccountDeveloperAppDeleteResponseBody?:
15
+ | components.V1AccountDeveloperAppDeleteResponseBody
16
+ | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export const AccountV1SettingsDeveloperAppDeleteResponse$inboundSchema:
21
+ z.ZodType<
22
+ AccountV1SettingsDeveloperAppDeleteResponse,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ HttpMeta: components.HTTPMetadata$inboundSchema,
27
+ V1AccountDeveloperAppDeleteResponseBody: components
28
+ .V1AccountDeveloperAppDeleteResponseBody$inboundSchema.optional(),
29
+ }).transform((v) => {
30
+ return remap$(v, {
31
+ "HttpMeta": "httpMeta",
32
+ "V1AccountDeveloperAppDeleteResponseBody":
33
+ "v1AccountDeveloperAppDeleteResponseBody",
34
+ });
35
+ });
36
+
37
+ /** @internal */
38
+ export type AccountV1SettingsDeveloperAppDeleteResponse$Outbound = {
39
+ HttpMeta: components.HTTPMetadata$Outbound;
40
+ V1AccountDeveloperAppDeleteResponseBody?:
41
+ | components.V1AccountDeveloperAppDeleteResponseBody$Outbound
42
+ | undefined;
43
+ };
44
+
45
+ /** @internal */
46
+ export const AccountV1SettingsDeveloperAppDeleteResponse$outboundSchema:
47
+ z.ZodType<
48
+ AccountV1SettingsDeveloperAppDeleteResponse$Outbound,
49
+ z.ZodTypeDef,
50
+ AccountV1SettingsDeveloperAppDeleteResponse
51
+ > = z.object({
52
+ httpMeta: components.HTTPMetadata$outboundSchema,
53
+ v1AccountDeveloperAppDeleteResponseBody: components
54
+ .V1AccountDeveloperAppDeleteResponseBody$outboundSchema.optional(),
55
+ }).transform((v) => {
56
+ return remap$(v, {
57
+ httpMeta: "HttpMeta",
58
+ v1AccountDeveloperAppDeleteResponseBody:
59
+ "V1AccountDeveloperAppDeleteResponseBody",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace AccountV1SettingsDeveloperAppDeleteResponse$ {
68
+ /** @deprecated use `AccountV1SettingsDeveloperAppDeleteResponse$inboundSchema` instead. */
69
+ export const inboundSchema =
70
+ AccountV1SettingsDeveloperAppDeleteResponse$inboundSchema;
71
+ /** @deprecated use `AccountV1SettingsDeveloperAppDeleteResponse$outboundSchema` instead. */
72
+ export const outboundSchema =
73
+ AccountV1SettingsDeveloperAppDeleteResponse$outboundSchema;
74
+ /** @deprecated use `AccountV1SettingsDeveloperAppDeleteResponse$Outbound` instead. */
75
+ export type Outbound = AccountV1SettingsDeveloperAppDeleteResponse$Outbound;
76
+ }
@@ -0,0 +1,76 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
8
+
9
+ export type AccountV1SettingsDeveloperAppUpdateResponse = {
10
+ httpMeta: components.HTTPMetadata;
11
+ /**
12
+ * OK
13
+ */
14
+ v1AccountDeveloperAppUpdateResponseBody?:
15
+ | components.V1AccountDeveloperAppUpdateResponseBody
16
+ | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export const AccountV1SettingsDeveloperAppUpdateResponse$inboundSchema:
21
+ z.ZodType<
22
+ AccountV1SettingsDeveloperAppUpdateResponse,
23
+ z.ZodTypeDef,
24
+ unknown
25
+ > = z.object({
26
+ HttpMeta: components.HTTPMetadata$inboundSchema,
27
+ V1AccountDeveloperAppUpdateResponseBody: components
28
+ .V1AccountDeveloperAppUpdateResponseBody$inboundSchema.optional(),
29
+ }).transform((v) => {
30
+ return remap$(v, {
31
+ "HttpMeta": "httpMeta",
32
+ "V1AccountDeveloperAppUpdateResponseBody":
33
+ "v1AccountDeveloperAppUpdateResponseBody",
34
+ });
35
+ });
36
+
37
+ /** @internal */
38
+ export type AccountV1SettingsDeveloperAppUpdateResponse$Outbound = {
39
+ HttpMeta: components.HTTPMetadata$Outbound;
40
+ V1AccountDeveloperAppUpdateResponseBody?:
41
+ | components.V1AccountDeveloperAppUpdateResponseBody$Outbound
42
+ | undefined;
43
+ };
44
+
45
+ /** @internal */
46
+ export const AccountV1SettingsDeveloperAppUpdateResponse$outboundSchema:
47
+ z.ZodType<
48
+ AccountV1SettingsDeveloperAppUpdateResponse$Outbound,
49
+ z.ZodTypeDef,
50
+ AccountV1SettingsDeveloperAppUpdateResponse
51
+ > = z.object({
52
+ httpMeta: components.HTTPMetadata$outboundSchema,
53
+ v1AccountDeveloperAppUpdateResponseBody: components
54
+ .V1AccountDeveloperAppUpdateResponseBody$outboundSchema.optional(),
55
+ }).transform((v) => {
56
+ return remap$(v, {
57
+ httpMeta: "HttpMeta",
58
+ v1AccountDeveloperAppUpdateResponseBody:
59
+ "V1AccountDeveloperAppUpdateResponseBody",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace AccountV1SettingsDeveloperAppUpdateResponse$ {
68
+ /** @deprecated use `AccountV1SettingsDeveloperAppUpdateResponse$inboundSchema` instead. */
69
+ export const inboundSchema =
70
+ AccountV1SettingsDeveloperAppUpdateResponse$inboundSchema;
71
+ /** @deprecated use `AccountV1SettingsDeveloperAppUpdateResponse$outboundSchema` instead. */
72
+ export const outboundSchema =
73
+ AccountV1SettingsDeveloperAppUpdateResponse$outboundSchema;
74
+ /** @deprecated use `AccountV1SettingsDeveloperAppUpdateResponse$Outbound` instead. */
75
+ export type Outbound = AccountV1SettingsDeveloperAppUpdateResponse$Outbound;
76
+ }
@@ -19,6 +19,9 @@ export * from "./accountv1sessiondelete.js";
19
19
  export * from "./accountv1sessionget.js";
20
20
  export * from "./accountv1sessionlogin.js";
21
21
  export * from "./accountv1settingsdeleteimages.js";
22
+ export * from "./accountv1settingsdeveloperappcreate.js";
23
+ export * from "./accountv1settingsdeveloperappdelete.js";
24
+ export * from "./accountv1settingsdeveloperappupdate.js";
22
25
  export * from "./accountv1settingsget.js";
23
26
  export * from "./accountv1settingssendemailverification.js";
24
27
  export * from "./accountv1settingsupdate.js";
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { developerAccountV1SettingsDeveloperAppCreate } from "../funcs/developerAccountV1SettingsDeveloperAppCreate.js";
6
+ import { developerAccountV1SettingsDeveloperAppDelete } from "../funcs/developerAccountV1SettingsDeveloperAppDelete.js";
7
+ import { developerAccountV1SettingsDeveloperAppUpdate } from "../funcs/developerAccountV1SettingsDeveloperAppUpdate.js";
8
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
9
+ import * as components from "../models/components/index.js";
10
+ import * as operations from "../models/operations/index.js";
11
+ import { unwrapAsync } from "../types/fp.js";
12
+
13
+ export class Developer extends ClientSDK {
14
+ /**
15
+ * Add a new Developer App to the account
16
+ */
17
+ async accountV1SettingsDeveloperAppCreate(
18
+ request: components.V1DeveloperAppCreateRequestBody,
19
+ options?: RequestOptions,
20
+ ): Promise<operations.AccountV1SettingsDeveloperAppCreateResponse> {
21
+ return unwrapAsync(developerAccountV1SettingsDeveloperAppCreate(
22
+ this,
23
+ request,
24
+ options,
25
+ ));
26
+ }
27
+
28
+ /**
29
+ * Delete a developer app from the account
30
+ */
31
+ async accountV1SettingsDeveloperAppDelete(
32
+ request: components.V1AccountDeveloperAppDeleteRequestBody,
33
+ options?: RequestOptions,
34
+ ): Promise<operations.AccountV1SettingsDeveloperAppDeleteResponse> {
35
+ return unwrapAsync(developerAccountV1SettingsDeveloperAppDelete(
36
+ this,
37
+ request,
38
+ options,
39
+ ));
40
+ }
41
+
42
+ /**
43
+ * Update the developer app/re-generate the api key
44
+ */
45
+ async accountV1SettingsDeveloperAppUpdate(
46
+ request: components.V1AccountDeveloperAppUpdateRequestBody,
47
+ options?: RequestOptions,
48
+ ): Promise<operations.AccountV1SettingsDeveloperAppUpdateResponse> {
49
+ return unwrapAsync(developerAccountV1SettingsDeveloperAppUpdate(
50
+ this,
51
+ request,
52
+ options,
53
+ ));
54
+ }
55
+ }
package/src/sdk/sdk.ts CHANGED
@@ -8,6 +8,7 @@ import { App } from "./app.js";
8
8
  import { Badge } from "./badge.js";
9
9
  import { Connection } from "./connection.js";
10
10
  import { Data } from "./data.js";
11
+ import { Developer } from "./developer.js";
11
12
  import { Leaderboard } from "./leaderboard.js";
12
13
  import { Liveness } from "./liveness.js";
13
14
  import { Location } from "./location.js";
@@ -26,6 +27,11 @@ export class SteamSets extends ClientSDK {
26
27
  return (this._connection ??= new Connection(this._options));
27
28
  }
28
29
 
30
+ private _developer?: Developer;
31
+ get developer(): Developer {
32
+ return (this._developer ??= new Developer(this._options));
33
+ }
34
+
29
35
  private _session?: Session;
30
36
  get session(): Session {
31
37
  return (this._session ??= new Session(this._options));