@steamsets/client-ts 0.12.3 → 0.12.5
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.
- package/README.md +19 -30
- package/docs/sdks/admin/README.md +180 -0
- package/docs/sdks/steamsets/README.md +148 -1
- package/funcs/accountV1GetEmbed.d.ts +11 -0
- package/funcs/accountV1GetEmbed.d.ts.map +1 -0
- package/funcs/accountV1GetEmbed.js +96 -0
- package/funcs/accountV1GetEmbed.js.map +1 -0
- package/funcs/accountV1GetMeta.d.ts +11 -0
- package/funcs/accountV1GetMeta.d.ts.map +1 -0
- package/funcs/accountV1GetMeta.js +95 -0
- package/funcs/accountV1GetMeta.js.map +1 -0
- package/funcs/adminAdminV1UpdateResources.d.ts +11 -0
- package/funcs/adminAdminV1UpdateResources.d.ts.map +1 -0
- package/funcs/adminAdminV1UpdateResources.js +93 -0
- package/funcs/adminAdminV1UpdateResources.js.map +1 -0
- package/funcs/adminAdminV1UpdateRoles.d.ts +11 -0
- package/funcs/adminAdminV1UpdateRoles.d.ts.map +1 -0
- package/funcs/adminAdminV1UpdateRoles.js +93 -0
- package/funcs/adminAdminV1UpdateRoles.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/accountinfobody.d.ts +5 -5
- package/models/components/accountinfobody.d.ts.map +1 -1
- package/models/components/accountinfobody.js +2 -2
- package/models/components/accountinfobody.js.map +1 -1
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/leaderboardaccount.d.ts +0 -5
- package/models/components/leaderboardaccount.d.ts.map +1 -1
- package/models/components/leaderboardaccount.js +0 -2
- package/models/components/leaderboardaccount.js.map +1 -1
- package/models/components/v1accountfriend.d.ts +0 -5
- package/models/components/v1accountfriend.d.ts.map +1 -1
- package/models/components/v1accountfriend.js +0 -2
- package/models/components/v1accountfriend.js.map +1 -1
- package/models/components/v1accountleaderboardaccount.d.ts +0 -5
- package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
- package/models/components/v1accountleaderboardaccount.js +0 -2
- package/models/components/v1accountleaderboardaccount.js.map +1 -1
- package/models/components/v1accountmetaresponsebody.d.ts +28 -0
- package/models/components/v1accountmetaresponsebody.d.ts.map +1 -0
- package/models/components/v1accountmetaresponsebody.js +59 -0
- package/models/components/v1accountmetaresponsebody.js.map +1 -0
- package/models/components/v1adminupdateresourcesrequestbody.d.ts +111 -0
- package/models/components/v1adminupdateresourcesrequestbody.d.ts.map +1 -0
- package/models/components/v1adminupdateresourcesrequestbody.js +95 -0
- package/models/components/v1adminupdateresourcesrequestbody.js.map +1 -0
- package/models/components/v1adminupdaterolessrequestbody.d.ts +180 -0
- package/models/components/v1adminupdaterolessrequestbody.d.ts.map +1 -0
- package/models/components/v1adminupdaterolessrequestbody.js +129 -0
- package/models/components/v1adminupdaterolessrequestbody.js.map +1 -0
- package/models/operations/accountv1getembed.d.ts +37 -0
- package/models/operations/accountv1getembed.d.ts.map +1 -0
- package/models/operations/accountv1getembed.js +66 -0
- package/models/operations/accountv1getembed.js.map +1 -0
- package/models/operations/accountv1getmeta.d.ts +31 -0
- package/models/operations/accountv1getmeta.d.ts.map +1 -0
- package/models/operations/accountv1getmeta.js +66 -0
- package/models/operations/accountv1getmeta.js.map +1 -0
- package/models/operations/adminv1updateresources.d.ts +26 -0
- package/models/operations/adminv1updateresources.d.ts.map +1 -0
- package/models/operations/adminv1updateresources.js +60 -0
- package/models/operations/adminv1updateresources.js.map +1 -0
- package/models/operations/adminv1updateroles.d.ts +26 -0
- package/models/operations/adminv1updateroles.d.ts.map +1 -0
- package/models/operations/adminv1updateroles.js +60 -0
- package/models/operations/adminv1updateroles.js.map +1 -0
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/admin.d.ts +2 -0
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +8 -0
- package/sdk/admin.js.map +1 -1
- package/sdk/sdk.d.ts +5 -1
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +9 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountV1GetEmbed.ts +125 -0
- package/src/funcs/accountV1GetMeta.ts +124 -0
- package/src/funcs/adminAdminV1UpdateResources.ts +123 -0
- package/src/funcs/adminAdminV1UpdateRoles.ts +123 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/accountinfobody.ts +7 -7
- package/src/models/components/index.ts +3 -0
- package/src/models/components/leaderboardaccount.ts +0 -7
- package/src/models/components/v1accountfriend.ts +0 -7
- package/src/models/components/v1accountleaderboardaccount.ts +0 -7
- package/src/models/components/v1accountmetaresponsebody.ts +57 -0
- package/src/models/components/v1adminupdateresourcesrequestbody.ts +131 -0
- package/src/models/components/v1adminupdaterolessrequestbody.ts +152 -0
- package/src/models/operations/accountv1getembed.ts +68 -0
- package/src/models/operations/accountv1getmeta.ts +68 -0
- package/src/models/operations/adminv1updateresources.ts +55 -0
- package/src/models/operations/adminv1updateroles.ts +55 -0
- package/src/models/operations/index.ts +4 -0
- package/src/sdk/admin.ts +24 -0
- package/src/sdk/sdk.ts +28 -1
|
@@ -0,0 +1,68 @@
|
|
|
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 AccountV1GetEmbedResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
string?: string | undefined;
|
|
15
|
+
headers: { [k: string]: Array<string> };
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const AccountV1GetEmbedResponse$inboundSchema: z.ZodType<
|
|
20
|
+
AccountV1GetEmbedResponse,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
25
|
+
string: z.string().optional(),
|
|
26
|
+
Headers: z.record(z.array(z.string())),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
"HttpMeta": "httpMeta",
|
|
30
|
+
"Headers": "headers",
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type AccountV1GetEmbedResponse$Outbound = {
|
|
36
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
37
|
+
string?: string | undefined;
|
|
38
|
+
Headers: { [k: string]: Array<string> };
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const AccountV1GetEmbedResponse$outboundSchema: z.ZodType<
|
|
43
|
+
AccountV1GetEmbedResponse$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
AccountV1GetEmbedResponse
|
|
46
|
+
> = z.object({
|
|
47
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
48
|
+
string: z.string().optional(),
|
|
49
|
+
headers: z.record(z.array(z.string())),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
httpMeta: "HttpMeta",
|
|
53
|
+
headers: "Headers",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
+
*/
|
|
61
|
+
export namespace AccountV1GetEmbedResponse$ {
|
|
62
|
+
/** @deprecated use `AccountV1GetEmbedResponse$inboundSchema` instead. */
|
|
63
|
+
export const inboundSchema = AccountV1GetEmbedResponse$inboundSchema;
|
|
64
|
+
/** @deprecated use `AccountV1GetEmbedResponse$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema = AccountV1GetEmbedResponse$outboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1GetEmbedResponse$Outbound` instead. */
|
|
67
|
+
export type Outbound = AccountV1GetEmbedResponse$Outbound;
|
|
68
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 AccountV1GetMetaResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* OK
|
|
13
|
+
*/
|
|
14
|
+
v1AccountMetaResponseBody?: components.V1AccountMetaResponseBody | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const AccountV1GetMetaResponse$inboundSchema: z.ZodType<
|
|
19
|
+
AccountV1GetMetaResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
24
|
+
V1AccountMetaResponseBody: components.V1AccountMetaResponseBody$inboundSchema
|
|
25
|
+
.optional(),
|
|
26
|
+
}).transform((v) => {
|
|
27
|
+
return remap$(v, {
|
|
28
|
+
"HttpMeta": "httpMeta",
|
|
29
|
+
"V1AccountMetaResponseBody": "v1AccountMetaResponseBody",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type AccountV1GetMetaResponse$Outbound = {
|
|
35
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
36
|
+
V1AccountMetaResponseBody?:
|
|
37
|
+
| components.V1AccountMetaResponseBody$Outbound
|
|
38
|
+
| undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const AccountV1GetMetaResponse$outboundSchema: z.ZodType<
|
|
43
|
+
AccountV1GetMetaResponse$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
AccountV1GetMetaResponse
|
|
46
|
+
> = z.object({
|
|
47
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
48
|
+
v1AccountMetaResponseBody: components.V1AccountMetaResponseBody$outboundSchema
|
|
49
|
+
.optional(),
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
httpMeta: "HttpMeta",
|
|
53
|
+
v1AccountMetaResponseBody: "V1AccountMetaResponseBody",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
+
*/
|
|
61
|
+
export namespace AccountV1GetMetaResponse$ {
|
|
62
|
+
/** @deprecated use `AccountV1GetMetaResponse$inboundSchema` instead. */
|
|
63
|
+
export const inboundSchema = AccountV1GetMetaResponse$inboundSchema;
|
|
64
|
+
/** @deprecated use `AccountV1GetMetaResponse$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema = AccountV1GetMetaResponse$outboundSchema;
|
|
66
|
+
/** @deprecated use `AccountV1GetMetaResponse$Outbound` instead. */
|
|
67
|
+
export type Outbound = AccountV1GetMetaResponse$Outbound;
|
|
68
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 AdminV1UpdateResourcesResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const AdminV1UpdateResourcesResponse$inboundSchema: z.ZodType<
|
|
15
|
+
AdminV1UpdateResourcesResponse,
|
|
16
|
+
z.ZodTypeDef,
|
|
17
|
+
unknown
|
|
18
|
+
> = z.object({
|
|
19
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
20
|
+
}).transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
"HttpMeta": "httpMeta",
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type AdminV1UpdateResourcesResponse$Outbound = {
|
|
28
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const AdminV1UpdateResourcesResponse$outboundSchema: z.ZodType<
|
|
33
|
+
AdminV1UpdateResourcesResponse$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
AdminV1UpdateResourcesResponse
|
|
36
|
+
> = z.object({
|
|
37
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
httpMeta: "HttpMeta",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace AdminV1UpdateResourcesResponse$ {
|
|
49
|
+
/** @deprecated use `AdminV1UpdateResourcesResponse$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = AdminV1UpdateResourcesResponse$inboundSchema;
|
|
51
|
+
/** @deprecated use `AdminV1UpdateResourcesResponse$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = AdminV1UpdateResourcesResponse$outboundSchema;
|
|
53
|
+
/** @deprecated use `AdminV1UpdateResourcesResponse$Outbound` instead. */
|
|
54
|
+
export type Outbound = AdminV1UpdateResourcesResponse$Outbound;
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 AdminV1UpdateRolesResponse = {
|
|
10
|
+
httpMeta: components.HTTPMetadata;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const AdminV1UpdateRolesResponse$inboundSchema: z.ZodType<
|
|
15
|
+
AdminV1UpdateRolesResponse,
|
|
16
|
+
z.ZodTypeDef,
|
|
17
|
+
unknown
|
|
18
|
+
> = z.object({
|
|
19
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
20
|
+
}).transform((v) => {
|
|
21
|
+
return remap$(v, {
|
|
22
|
+
"HttpMeta": "httpMeta",
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type AdminV1UpdateRolesResponse$Outbound = {
|
|
28
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const AdminV1UpdateRolesResponse$outboundSchema: z.ZodType<
|
|
33
|
+
AdminV1UpdateRolesResponse$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
AdminV1UpdateRolesResponse
|
|
36
|
+
> = z.object({
|
|
37
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
httpMeta: "HttpMeta",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace AdminV1UpdateRolesResponse$ {
|
|
49
|
+
/** @deprecated use `AdminV1UpdateRolesResponse$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = AdminV1UpdateRolesResponse$inboundSchema;
|
|
51
|
+
/** @deprecated use `AdminV1UpdateRolesResponse$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = AdminV1UpdateRolesResponse$outboundSchema;
|
|
53
|
+
/** @deprecated use `AdminV1UpdateRolesResponse$Outbound` instead. */
|
|
54
|
+
export type Outbound = AdminV1UpdateRolesResponse$Outbound;
|
|
55
|
+
}
|
|
@@ -9,9 +9,11 @@ export * from "./accountv1connectionverifyconnection.js";
|
|
|
9
9
|
export * from "./accountv1getapps.js";
|
|
10
10
|
export * from "./accountv1getbadges.js";
|
|
11
11
|
export * from "./accountv1getdatapoints.js";
|
|
12
|
+
export * from "./accountv1getembed.js";
|
|
12
13
|
export * from "./accountv1getfriends.js";
|
|
13
14
|
export * from "./accountv1getinfo.js";
|
|
14
15
|
export * from "./accountv1getleaderboardhistory.js";
|
|
16
|
+
export * from "./accountv1getmeta.js";
|
|
15
17
|
export * from "./accountv1getstaff.js";
|
|
16
18
|
export * from "./accountv1queue.js";
|
|
17
19
|
export * from "./accountv1sessioncreate.js";
|
|
@@ -29,6 +31,8 @@ export * from "./accountv1settingsupdateimage.js";
|
|
|
29
31
|
export * from "./accountv1settingsuploadimages.js";
|
|
30
32
|
export * from "./accountv1settingsverfyemail.js";
|
|
31
33
|
export * from "./adminv1getaccount.js";
|
|
34
|
+
export * from "./adminv1updateresources.js";
|
|
35
|
+
export * from "./adminv1updateroles.js";
|
|
32
36
|
export * from "./appv1get.js";
|
|
33
37
|
export * from "./appv1queue.js";
|
|
34
38
|
export * from "./badgev1tag.js";
|
package/src/sdk/admin.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { adminAdminV1UpdateResources } from "../funcs/adminAdminV1UpdateResources.js";
|
|
6
|
+
import { adminAdminV1UpdateRoles } from "../funcs/adminAdminV1UpdateRoles.js";
|
|
5
7
|
import { adminGetAccount } from "../funcs/adminGetAccount.js";
|
|
6
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
9
|
import * as components from "../models/components/index.js";
|
|
@@ -19,4 +21,26 @@ export class Admin extends ClientSDK {
|
|
|
19
21
|
options,
|
|
20
22
|
));
|
|
21
23
|
}
|
|
24
|
+
|
|
25
|
+
async adminV1UpdateResources(
|
|
26
|
+
request: components.V1AdminUpdateResourcesRequestBody,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): Promise<operations.AdminV1UpdateResourcesResponse> {
|
|
29
|
+
return unwrapAsync(adminAdminV1UpdateResources(
|
|
30
|
+
this,
|
|
31
|
+
request,
|
|
32
|
+
options,
|
|
33
|
+
));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async adminV1UpdateRoles(
|
|
37
|
+
request: components.V1AdminUpdateRolessRequestBody,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): Promise<operations.AdminV1UpdateRolesResponse> {
|
|
40
|
+
return unwrapAsync(adminAdminV1UpdateRoles(
|
|
41
|
+
this,
|
|
42
|
+
request,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
22
46
|
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { accountV1GetEmbed } from "../funcs/accountV1GetEmbed.js";
|
|
6
|
+
import { accountV1GetMeta } from "../funcs/accountV1GetMeta.js";
|
|
7
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as components from "../models/components/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
6
11
|
import { Account } from "./account.js";
|
|
7
12
|
import { Accounts } from "./accounts.js";
|
|
8
13
|
import { Admin } from "./admin.js";
|
|
@@ -106,4 +111,26 @@ export class SteamSets extends ClientSDK {
|
|
|
106
111
|
get liveness(): Liveness {
|
|
107
112
|
return (this._liveness ??= new Liveness(this._options));
|
|
108
113
|
}
|
|
114
|
+
|
|
115
|
+
async accountV1GetEmbed(
|
|
116
|
+
request: components.AccountSearch,
|
|
117
|
+
options?: RequestOptions,
|
|
118
|
+
): Promise<operations.AccountV1GetEmbedResponse> {
|
|
119
|
+
return unwrapAsync(accountV1GetEmbed(
|
|
120
|
+
this,
|
|
121
|
+
request,
|
|
122
|
+
options,
|
|
123
|
+
));
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
async accountV1GetMeta(
|
|
127
|
+
request: components.AccountSearch,
|
|
128
|
+
options?: RequestOptions,
|
|
129
|
+
): Promise<operations.AccountV1GetMetaResponse> {
|
|
130
|
+
return unwrapAsync(accountV1GetMeta(
|
|
131
|
+
this,
|
|
132
|
+
request,
|
|
133
|
+
options,
|
|
134
|
+
));
|
|
135
|
+
}
|
|
109
136
|
}
|