@steamsets/client-ts 0.14.11 → 0.14.12

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 (52) hide show
  1. package/README.md +4 -0
  2. package/docs/sdks/account/README.md +71 -0
  3. package/docs/sdks/badge/README.md +71 -0
  4. package/funcs/accountAccountV1GetOwnedBadges.d.ts +10 -0
  5. package/funcs/accountAccountV1GetOwnedBadges.d.ts.map +1 -0
  6. package/funcs/accountAccountV1GetOwnedBadges.js +99 -0
  7. package/funcs/accountAccountV1GetOwnedBadges.js.map +1 -0
  8. package/funcs/badgeAccountV1GetOwnedBadges.d.ts +10 -0
  9. package/funcs/badgeAccountV1GetOwnedBadges.d.ts.map +1 -0
  10. package/funcs/badgeAccountV1GetOwnedBadges.js +99 -0
  11. package/funcs/badgeAccountV1GetOwnedBadges.js.map +1 -0
  12. package/lib/config.d.ts +3 -3
  13. package/lib/config.js +3 -3
  14. package/models/components/index.d.ts +2 -0
  15. package/models/components/index.d.ts.map +1 -1
  16. package/models/components/index.js +2 -0
  17. package/models/components/index.js.map +1 -1
  18. package/models/components/v1accountbadgeownedbadge.d.ts +47 -0
  19. package/models/components/v1accountbadgeownedbadge.d.ts.map +1 -0
  20. package/models/components/v1accountbadgeownedbadge.js +65 -0
  21. package/models/components/v1accountbadgeownedbadge.js.map +1 -0
  22. package/models/components/v1accountbadgeownedbadgesresponsebody.d.ts +35 -0
  23. package/models/components/v1accountbadgeownedbadgesresponsebody.d.ts.map +1 -0
  24. package/models/components/v1accountbadgeownedbadgesresponsebody.js +71 -0
  25. package/models/components/v1accountbadgeownedbadgesresponsebody.js.map +1 -0
  26. package/models/operations/accountv1getownedbadges.d.ts +35 -0
  27. package/models/operations/accountv1getownedbadges.d.ts.map +1 -0
  28. package/models/operations/accountv1getownedbadges.js +75 -0
  29. package/models/operations/accountv1getownedbadges.js.map +1 -0
  30. package/models/operations/index.d.ts +1 -0
  31. package/models/operations/index.d.ts.map +1 -1
  32. package/models/operations/index.js +1 -0
  33. package/models/operations/index.js.map +1 -1
  34. package/package.json +1 -1
  35. package/sdk/account.d.ts +1 -0
  36. package/sdk/account.d.ts.map +1 -1
  37. package/sdk/account.js +4 -0
  38. package/sdk/account.js.map +1 -1
  39. package/sdk/badge.d.ts +1 -0
  40. package/sdk/badge.d.ts.map +1 -1
  41. package/sdk/badge.js +4 -0
  42. package/sdk/badge.js.map +1 -1
  43. package/src/funcs/accountAccountV1GetOwnedBadges.ts +125 -0
  44. package/src/funcs/badgeAccountV1GetOwnedBadges.ts +125 -0
  45. package/src/lib/config.ts +3 -3
  46. package/src/models/components/index.ts +2 -0
  47. package/src/models/components/v1accountbadgeownedbadge.ts +90 -0
  48. package/src/models/components/v1accountbadgeownedbadgesresponsebody.ts +93 -0
  49. package/src/models/operations/accountv1getownedbadges.ts +95 -0
  50. package/src/models/operations/index.ts +1 -0
  51. package/src/sdk/account.ts +10 -0
  52. package/src/sdk/badge.ts +10 -0
@@ -0,0 +1,125 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { SteamSetsCore } from "../core.js";
6
+ import * as M from "../lib/matchers.js";
7
+ import { RequestOptions } from "../lib/sdks.js";
8
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
9
+ import { pathToFunc } from "../lib/url.js";
10
+ import {
11
+ ConnectionError,
12
+ InvalidRequestError,
13
+ RequestAbortedError,
14
+ RequestTimeoutError,
15
+ UnexpectedClientError,
16
+ } from "../models/errors/httpclienterrors.js";
17
+ import * as errors from "../models/errors/index.js";
18
+ import { SDKError } from "../models/errors/sdkerror.js";
19
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
20
+ import * as operations from "../models/operations/index.js";
21
+ import { Result } from "../types/fp.js";
22
+
23
+ export async function badgeAccountV1GetOwnedBadges(
24
+ client: SteamSetsCore,
25
+ options?: RequestOptions,
26
+ ): Promise<
27
+ Result<
28
+ operations.AccountV1GetOwnedBadgesResponse,
29
+ | errors.ErrorModel
30
+ | SDKError
31
+ | SDKValidationError
32
+ | UnexpectedClientError
33
+ | InvalidRequestError
34
+ | RequestAbortedError
35
+ | RequestTimeoutError
36
+ | ConnectionError
37
+ >
38
+ > {
39
+ const path = pathToFunc("/account.v1.AccountService/GetOwnedBadges")();
40
+
41
+ const headers = new Headers({
42
+ Accept: "application/json",
43
+ });
44
+
45
+ const secConfig = await extractSecurity(client._options.token);
46
+ const securityInput = secConfig == null ? {} : { token: secConfig };
47
+ const requestSecurity = resolveGlobalSecurity(securityInput);
48
+
49
+ const context = {
50
+ operationID: "account.v1.getOwnedBadges",
51
+ oAuth2Scopes: [],
52
+
53
+ resolvedSecurity: requestSecurity,
54
+
55
+ securitySource: client._options.token,
56
+ retryConfig: options?.retries
57
+ || client._options.retryConfig
58
+ || {
59
+ strategy: "backoff",
60
+ backoff: {
61
+ initialInterval: 500,
62
+ maxInterval: 5000,
63
+ exponent: 1.5,
64
+ maxElapsedTime: 60000,
65
+ },
66
+ retryConnectionErrors: true,
67
+ }
68
+ || { strategy: "none" },
69
+ retryCodes: options?.retryCodes || ["501", "502", "503", "504"],
70
+ };
71
+
72
+ const requestRes = client._createRequest(context, {
73
+ security: requestSecurity,
74
+ method: "POST",
75
+ baseURL: options?.serverURL,
76
+ path: path,
77
+ headers: headers,
78
+ uaHeader: "x-speakeasy-user-agent",
79
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
80
+ }, options);
81
+ if (!requestRes.ok) {
82
+ return requestRes;
83
+ }
84
+ const req = requestRes.value;
85
+
86
+ const doResult = await client._do(req, {
87
+ context,
88
+ errorCodes: ["403", "404", "4XX", "500", "5XX"],
89
+ retryConfig: context.retryConfig,
90
+ retryCodes: context.retryCodes,
91
+ });
92
+ if (!doResult.ok) {
93
+ return doResult;
94
+ }
95
+ const response = doResult.value;
96
+
97
+ const responseFields = {
98
+ HttpMeta: { Response: response, Request: req },
99
+ };
100
+
101
+ const [result] = await M.match<
102
+ operations.AccountV1GetOwnedBadgesResponse,
103
+ | errors.ErrorModel
104
+ | SDKError
105
+ | SDKValidationError
106
+ | UnexpectedClientError
107
+ | InvalidRequestError
108
+ | RequestAbortedError
109
+ | RequestTimeoutError
110
+ | ConnectionError
111
+ >(
112
+ M.json(200, operations.AccountV1GetOwnedBadgesResponse$inboundSchema, {
113
+ key: "V1AccountBadgeOwnedBadgesResponseBody",
114
+ }),
115
+ M.jsonErr([403, 404, 500], errors.ErrorModel$inboundSchema, {
116
+ ctype: "application/problem+json",
117
+ }),
118
+ M.fail(["4XX", "5XX"]),
119
+ )(response, req, { extraFields: responseFields });
120
+ if (!result.ok) {
121
+ return result;
122
+ }
123
+
124
+ return result;
125
+ }
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.14.11",
59
- genVersion: "2.486.1",
58
+ sdkVersion: "0.14.12",
59
+ genVersion: "2.493.4",
60
60
  userAgent:
61
- "speakeasy-sdk/typescript 0.14.11 2.486.1 1.0.0 @steamsets/client-ts",
61
+ "speakeasy-sdk/typescript 0.14.12 2.493.4 1.0.0 @steamsets/client-ts",
62
62
  } as const;
@@ -38,6 +38,8 @@ export * from "./v1accountbadgebookmark.js";
38
38
  export * from "./v1accountbadgebookmarkrequestbody.js";
39
39
  export * from "./v1accountbadgebookmarkresponsebody.js";
40
40
  export * from "./v1accountbadgebookmarksresponsebody.js";
41
+ export * from "./v1accountbadgeownedbadge.js";
42
+ export * from "./v1accountbadgeownedbadgesresponsebody.js";
41
43
  export * from "./v1accountdatapointsresponsebody.js";
42
44
  export * from "./v1accountdeveloperappdeleterequestbody.js";
43
45
  export * from "./v1accountdeveloperappdeleteresponsebody.js";
@@ -0,0 +1,90 @@
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 V1AccountBadgeOwnedBadge = {
11
+ /**
12
+ * The app id
13
+ */
14
+ appId: number;
15
+ /**
16
+ * The badge id
17
+ */
18
+ badgeId: string;
19
+ /**
20
+ * The level of the badge
21
+ */
22
+ level: number;
23
+ /**
24
+ * The internal steam id badge id
25
+ */
26
+ steamId: number;
27
+ };
28
+
29
+ /** @internal */
30
+ export const V1AccountBadgeOwnedBadge$inboundSchema: z.ZodType<
31
+ V1AccountBadgeOwnedBadge,
32
+ z.ZodTypeDef,
33
+ unknown
34
+ > = z.object({
35
+ appId: z.number().int(),
36
+ badgeId: z.string(),
37
+ level: z.number().int(),
38
+ steamId: z.number().int(),
39
+ });
40
+
41
+ /** @internal */
42
+ export type V1AccountBadgeOwnedBadge$Outbound = {
43
+ appId: number;
44
+ badgeId: string;
45
+ level: number;
46
+ steamId: number;
47
+ };
48
+
49
+ /** @internal */
50
+ export const V1AccountBadgeOwnedBadge$outboundSchema: z.ZodType<
51
+ V1AccountBadgeOwnedBadge$Outbound,
52
+ z.ZodTypeDef,
53
+ V1AccountBadgeOwnedBadge
54
+ > = z.object({
55
+ appId: z.number().int(),
56
+ badgeId: z.string(),
57
+ level: z.number().int(),
58
+ steamId: z.number().int(),
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 V1AccountBadgeOwnedBadge$ {
66
+ /** @deprecated use `V1AccountBadgeOwnedBadge$inboundSchema` instead. */
67
+ export const inboundSchema = V1AccountBadgeOwnedBadge$inboundSchema;
68
+ /** @deprecated use `V1AccountBadgeOwnedBadge$outboundSchema` instead. */
69
+ export const outboundSchema = V1AccountBadgeOwnedBadge$outboundSchema;
70
+ /** @deprecated use `V1AccountBadgeOwnedBadge$Outbound` instead. */
71
+ export type Outbound = V1AccountBadgeOwnedBadge$Outbound;
72
+ }
73
+
74
+ export function v1AccountBadgeOwnedBadgeToJSON(
75
+ v1AccountBadgeOwnedBadge: V1AccountBadgeOwnedBadge,
76
+ ): string {
77
+ return JSON.stringify(
78
+ V1AccountBadgeOwnedBadge$outboundSchema.parse(v1AccountBadgeOwnedBadge),
79
+ );
80
+ }
81
+
82
+ export function v1AccountBadgeOwnedBadgeFromJSON(
83
+ jsonString: string,
84
+ ): SafeParseResult<V1AccountBadgeOwnedBadge, SDKValidationError> {
85
+ return safeParse(
86
+ jsonString,
87
+ (x) => V1AccountBadgeOwnedBadge$inboundSchema.parse(JSON.parse(x)),
88
+ `Failed to parse 'V1AccountBadgeOwnedBadge' from JSON`,
89
+ );
90
+ }
@@ -0,0 +1,93 @@
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 { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ V1AccountBadgeOwnedBadge,
12
+ V1AccountBadgeOwnedBadge$inboundSchema,
13
+ V1AccountBadgeOwnedBadge$Outbound,
14
+ V1AccountBadgeOwnedBadge$outboundSchema,
15
+ } from "./v1accountbadgeownedbadge.js";
16
+
17
+ export type V1AccountBadgeOwnedBadgesResponseBody = {
18
+ /**
19
+ * A URL to the JSON Schema for this object.
20
+ */
21
+ dollarSchema?: string | undefined;
22
+ ownedBadges: Array<V1AccountBadgeOwnedBadge> | null;
23
+ };
24
+
25
+ /** @internal */
26
+ export const V1AccountBadgeOwnedBadgesResponseBody$inboundSchema: z.ZodType<
27
+ V1AccountBadgeOwnedBadgesResponseBody,
28
+ z.ZodTypeDef,
29
+ unknown
30
+ > = z.object({
31
+ $schema: z.string().optional(),
32
+ ownedBadges: z.nullable(z.array(V1AccountBadgeOwnedBadge$inboundSchema)),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ "$schema": "dollarSchema",
36
+ });
37
+ });
38
+
39
+ /** @internal */
40
+ export type V1AccountBadgeOwnedBadgesResponseBody$Outbound = {
41
+ $schema?: string | undefined;
42
+ ownedBadges: Array<V1AccountBadgeOwnedBadge$Outbound> | null;
43
+ };
44
+
45
+ /** @internal */
46
+ export const V1AccountBadgeOwnedBadgesResponseBody$outboundSchema: z.ZodType<
47
+ V1AccountBadgeOwnedBadgesResponseBody$Outbound,
48
+ z.ZodTypeDef,
49
+ V1AccountBadgeOwnedBadgesResponseBody
50
+ > = z.object({
51
+ dollarSchema: z.string().optional(),
52
+ ownedBadges: z.nullable(z.array(V1AccountBadgeOwnedBadge$outboundSchema)),
53
+ }).transform((v) => {
54
+ return remap$(v, {
55
+ dollarSchema: "$schema",
56
+ });
57
+ });
58
+
59
+ /**
60
+ * @internal
61
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
+ */
63
+ export namespace V1AccountBadgeOwnedBadgesResponseBody$ {
64
+ /** @deprecated use `V1AccountBadgeOwnedBadgesResponseBody$inboundSchema` instead. */
65
+ export const inboundSchema =
66
+ V1AccountBadgeOwnedBadgesResponseBody$inboundSchema;
67
+ /** @deprecated use `V1AccountBadgeOwnedBadgesResponseBody$outboundSchema` instead. */
68
+ export const outboundSchema =
69
+ V1AccountBadgeOwnedBadgesResponseBody$outboundSchema;
70
+ /** @deprecated use `V1AccountBadgeOwnedBadgesResponseBody$Outbound` instead. */
71
+ export type Outbound = V1AccountBadgeOwnedBadgesResponseBody$Outbound;
72
+ }
73
+
74
+ export function v1AccountBadgeOwnedBadgesResponseBodyToJSON(
75
+ v1AccountBadgeOwnedBadgesResponseBody: V1AccountBadgeOwnedBadgesResponseBody,
76
+ ): string {
77
+ return JSON.stringify(
78
+ V1AccountBadgeOwnedBadgesResponseBody$outboundSchema.parse(
79
+ v1AccountBadgeOwnedBadgesResponseBody,
80
+ ),
81
+ );
82
+ }
83
+
84
+ export function v1AccountBadgeOwnedBadgesResponseBodyFromJSON(
85
+ jsonString: string,
86
+ ): SafeParseResult<V1AccountBadgeOwnedBadgesResponseBody, SDKValidationError> {
87
+ return safeParse(
88
+ jsonString,
89
+ (x) =>
90
+ V1AccountBadgeOwnedBadgesResponseBody$inboundSchema.parse(JSON.parse(x)),
91
+ `Failed to parse 'V1AccountBadgeOwnedBadgesResponseBody' from JSON`,
92
+ );
93
+ }
@@ -0,0 +1,95 @@
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 { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type AccountV1GetOwnedBadgesResponse = {
13
+ httpMeta: components.HTTPMetadata;
14
+ /**
15
+ * OK
16
+ */
17
+ v1AccountBadgeOwnedBadgesResponseBody?:
18
+ | components.V1AccountBadgeOwnedBadgesResponseBody
19
+ | undefined;
20
+ };
21
+
22
+ /** @internal */
23
+ export const AccountV1GetOwnedBadgesResponse$inboundSchema: z.ZodType<
24
+ AccountV1GetOwnedBadgesResponse,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ HttpMeta: components.HTTPMetadata$inboundSchema,
29
+ V1AccountBadgeOwnedBadgesResponseBody: components
30
+ .V1AccountBadgeOwnedBadgesResponseBody$inboundSchema.optional(),
31
+ }).transform((v) => {
32
+ return remap$(v, {
33
+ "HttpMeta": "httpMeta",
34
+ "V1AccountBadgeOwnedBadgesResponseBody":
35
+ "v1AccountBadgeOwnedBadgesResponseBody",
36
+ });
37
+ });
38
+
39
+ /** @internal */
40
+ export type AccountV1GetOwnedBadgesResponse$Outbound = {
41
+ HttpMeta: components.HTTPMetadata$Outbound;
42
+ V1AccountBadgeOwnedBadgesResponseBody?:
43
+ | components.V1AccountBadgeOwnedBadgesResponseBody$Outbound
44
+ | undefined;
45
+ };
46
+
47
+ /** @internal */
48
+ export const AccountV1GetOwnedBadgesResponse$outboundSchema: z.ZodType<
49
+ AccountV1GetOwnedBadgesResponse$Outbound,
50
+ z.ZodTypeDef,
51
+ AccountV1GetOwnedBadgesResponse
52
+ > = z.object({
53
+ httpMeta: components.HTTPMetadata$outboundSchema,
54
+ v1AccountBadgeOwnedBadgesResponseBody: components
55
+ .V1AccountBadgeOwnedBadgesResponseBody$outboundSchema.optional(),
56
+ }).transform((v) => {
57
+ return remap$(v, {
58
+ httpMeta: "HttpMeta",
59
+ v1AccountBadgeOwnedBadgesResponseBody:
60
+ "V1AccountBadgeOwnedBadgesResponseBody",
61
+ });
62
+ });
63
+
64
+ /**
65
+ * @internal
66
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
+ */
68
+ export namespace AccountV1GetOwnedBadgesResponse$ {
69
+ /** @deprecated use `AccountV1GetOwnedBadgesResponse$inboundSchema` instead. */
70
+ export const inboundSchema = AccountV1GetOwnedBadgesResponse$inboundSchema;
71
+ /** @deprecated use `AccountV1GetOwnedBadgesResponse$outboundSchema` instead. */
72
+ export const outboundSchema = AccountV1GetOwnedBadgesResponse$outboundSchema;
73
+ /** @deprecated use `AccountV1GetOwnedBadgesResponse$Outbound` instead. */
74
+ export type Outbound = AccountV1GetOwnedBadgesResponse$Outbound;
75
+ }
76
+
77
+ export function accountV1GetOwnedBadgesResponseToJSON(
78
+ accountV1GetOwnedBadgesResponse: AccountV1GetOwnedBadgesResponse,
79
+ ): string {
80
+ return JSON.stringify(
81
+ AccountV1GetOwnedBadgesResponse$outboundSchema.parse(
82
+ accountV1GetOwnedBadgesResponse,
83
+ ),
84
+ );
85
+ }
86
+
87
+ export function accountV1GetOwnedBadgesResponseFromJSON(
88
+ jsonString: string,
89
+ ): SafeParseResult<AccountV1GetOwnedBadgesResponse, SDKValidationError> {
90
+ return safeParse(
91
+ jsonString,
92
+ (x) => AccountV1GetOwnedBadgesResponse$inboundSchema.parse(JSON.parse(x)),
93
+ `Failed to parse 'AccountV1GetOwnedBadgesResponse' from JSON`,
94
+ );
95
+ }
@@ -14,6 +14,7 @@ export * from "./accountv1getdatapoints.js";
14
14
  export * from "./accountv1getfriends.js";
15
15
  export * from "./accountv1getinfo.js";
16
16
  export * from "./accountv1getleaderboardhistory.js";
17
+ export * from "./accountv1getownedbadges.js";
17
18
  export * from "./accountv1getstaff.js";
18
19
  export * from "./accountv1imagesdelete.js";
19
20
  export * from "./accountv1imagesget.js";
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  import { accountAccountV1GetBadgeBookmarks } from "../funcs/accountAccountV1GetBadgeBookmarks.js";
6
+ import { accountAccountV1GetOwnedBadges } from "../funcs/accountAccountV1GetOwnedBadges.js";
6
7
  import { accountAccountV1ImagesGet } from "../funcs/accountAccountV1ImagesGet.js";
7
8
  import { accountAccountV1ImagesUpdate } from "../funcs/accountAccountV1ImagesUpdate.js";
8
9
  import { accountDeleteImages } from "../funcs/accountDeleteImages.js";
@@ -117,6 +118,15 @@ export class Account extends ClientSDK {
117
118
  ));
118
119
  }
119
120
 
121
+ async accountV1GetOwnedBadges(
122
+ options?: RequestOptions,
123
+ ): Promise<operations.AccountV1GetOwnedBadgesResponse> {
124
+ return unwrapAsync(accountAccountV1GetOwnedBadges(
125
+ this,
126
+ options,
127
+ ));
128
+ }
129
+
120
130
  async getStaff(
121
131
  options?: RequestOptions,
122
132
  ): Promise<operations.AccountV1GetStaffResponse> {
package/src/sdk/badge.ts CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { badgeAccountV1BookmarkBadge } from "../funcs/badgeAccountV1BookmarkBadge.js";
6
6
  import { badgeAccountV1GetBadgeBookmarks } from "../funcs/badgeAccountV1GetBadgeBookmarks.js";
7
+ import { badgeAccountV1GetOwnedBadges } from "../funcs/badgeAccountV1GetOwnedBadges.js";
7
8
  import { badgeBadgeV1Search } from "../funcs/badgeBadgeV1Search.js";
8
9
  import { badgeGetTags } from "../funcs/badgeGetTags.js";
9
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
@@ -32,6 +33,15 @@ export class Badge extends ClientSDK {
32
33
  ));
33
34
  }
34
35
 
36
+ async accountV1GetOwnedBadges(
37
+ options?: RequestOptions,
38
+ ): Promise<operations.AccountV1GetOwnedBadgesResponse> {
39
+ return unwrapAsync(badgeAccountV1GetOwnedBadges(
40
+ this,
41
+ options,
42
+ ));
43
+ }
44
+
35
45
  async getTags(
36
46
  options?: RequestOptions,
37
47
  ): Promise<operations.BadgeV1TagsResponse> {