@steamsets/client-ts 0.13.4 → 0.13.7
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 +36 -26
- package/docs/sdks/account/README.md +72 -0
- package/docs/sdks/admin/README.md +159 -0
- package/docs/sdks/badge/README.md +150 -0
- package/funcs/accountAccountV1GetBadgeBookmarks.d.ts +11 -0
- package/funcs/accountAccountV1GetBadgeBookmarks.d.ts.map +1 -0
- package/funcs/accountAccountV1GetBadgeBookmarks.js +99 -0
- package/funcs/accountAccountV1GetBadgeBookmarks.js.map +1 -0
- package/funcs/adminAdminV1GetEvents.d.ts +10 -0
- package/funcs/adminAdminV1GetEvents.d.ts.map +1 -0
- package/funcs/adminAdminV1GetEvents.js +98 -0
- package/funcs/adminAdminV1GetEvents.js.map +1 -0
- package/funcs/adminAdminV1UpdateEvent.d.ts +11 -0
- package/funcs/adminAdminV1UpdateEvent.d.ts.map +1 -0
- package/funcs/adminAdminV1UpdateEvent.js +109 -0
- package/funcs/adminAdminV1UpdateEvent.js.map +1 -0
- package/funcs/badgeAccountV1BookmarkBadge.d.ts +11 -0
- package/funcs/badgeAccountV1BookmarkBadge.d.ts.map +1 -0
- package/funcs/badgeAccountV1BookmarkBadge.js +109 -0
- package/funcs/badgeAccountV1BookmarkBadge.js.map +1 -0
- package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts +11 -0
- package/funcs/badgeAccountV1GetBadgeBookmarks.d.ts.map +1 -0
- package/funcs/badgeAccountV1GetBadgeBookmarks.js +99 -0
- package/funcs/badgeAccountV1GetBadgeBookmarks.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/index.d.ts +11 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +11 -0
- package/models/components/index.js.map +1 -1
- package/models/components/v1accountbadgebookmark.d.ts +37 -0
- package/models/components/v1accountbadgebookmark.d.ts.map +1 -0
- package/models/components/v1accountbadgebookmark.js +61 -0
- package/models/components/v1accountbadgebookmark.js.map +1 -0
- package/models/components/v1accountbadgebookmarkrequestbody.d.ts +37 -0
- package/models/components/v1accountbadgebookmarkrequestbody.d.ts.map +1 -0
- package/models/components/v1accountbadgebookmarkrequestbody.js +61 -0
- package/models/components/v1accountbadgebookmarkrequestbody.js.map +1 -0
- package/models/components/v1accountbadgebookmarkresponsebody.d.ts +32 -0
- package/models/components/v1accountbadgebookmarkresponsebody.d.ts.map +1 -0
- package/models/components/v1accountbadgebookmarkresponsebody.js +68 -0
- package/models/components/v1accountbadgebookmarkresponsebody.js.map +1 -0
- package/models/components/v1accountbadgebookmarksrequestbody.d.ts +25 -0
- package/models/components/v1accountbadgebookmarksrequestbody.d.ts.map +1 -0
- package/models/components/v1accountbadgebookmarksrequestbody.js +55 -0
- package/models/components/v1accountbadgebookmarksrequestbody.js.map +1 -0
- package/models/components/v1accountbadgebookmarksresponsebody.d.ts +35 -0
- package/models/components/v1accountbadgebookmarksresponsebody.d.ts.map +1 -0
- package/models/components/v1accountbadgebookmarksresponsebody.js +71 -0
- package/models/components/v1accountbadgebookmarksresponsebody.js.map +1 -0
- package/models/components/v1admingeteventsresponsebody.d.ts +35 -0
- package/models/components/v1admingeteventsresponsebody.d.ts.map +1 -0
- package/models/components/v1admingeteventsresponsebody.js +71 -0
- package/models/components/v1admingeteventsresponsebody.js.map +1 -0
- package/models/components/v1adminupdateeventrequestbody.d.ts +38 -0
- package/models/components/v1adminupdateeventrequestbody.d.ts.map +1 -0
- package/models/components/v1adminupdateeventrequestbody.js +62 -0
- package/models/components/v1adminupdateeventrequestbody.js.map +1 -0
- package/models/components/v1adminupdateeventresponsebody.d.ts +32 -0
- package/models/components/v1adminupdateeventresponsebody.d.ts.map +1 -0
- package/models/components/v1adminupdateeventresponsebody.js +68 -0
- package/models/components/v1adminupdateeventresponsebody.js.map +1 -0
- package/models/components/v1appeventmapping.d.ts +37 -0
- package/models/components/v1appeventmapping.d.ts.map +1 -0
- package/models/components/v1appeventmapping.js +61 -0
- package/models/components/v1appeventmapping.js.map +1 -0
- package/models/components/v1event.d.ts +88 -0
- package/models/components/v1event.d.ts.map +1 -0
- package/models/components/v1event.js +82 -0
- package/models/components/v1event.js.map +1 -0
- package/models/components/v1getsessionbody.d.ts +10 -0
- package/models/components/v1getsessionbody.d.ts.map +1 -1
- package/models/components/v1getsessionbody.js +4 -0
- package/models/components/v1getsessionbody.js.map +1 -1
- package/models/components/v1leaderboardbadge.d.ts +3 -0
- package/models/components/v1leaderboardbadge.d.ts.map +1 -1
- package/models/components/v1leaderboardbadge.js +3 -0
- package/models/components/v1leaderboardbadge.js.map +1 -1
- package/models/components/v1leaderboardbadgeevent.d.ts +77 -0
- package/models/components/v1leaderboardbadgeevent.d.ts.map +1 -0
- package/models/components/v1leaderboardbadgeevent.js +77 -0
- package/models/components/v1leaderboardbadgeevent.js.map +1 -0
- package/models/operations/accountv1bookmarkbadge.d.ts +35 -0
- package/models/operations/accountv1bookmarkbadge.d.ts.map +1 -0
- package/models/operations/accountv1bookmarkbadge.js +75 -0
- package/models/operations/accountv1bookmarkbadge.js.map +1 -0
- package/models/operations/accountv1getbadgebookmarks.d.ts +35 -0
- package/models/operations/accountv1getbadgebookmarks.d.ts.map +1 -0
- package/models/operations/accountv1getbadgebookmarks.js +75 -0
- package/models/operations/accountv1getbadgebookmarks.js.map +1 -0
- package/models/operations/adminv1getevents.d.ts +35 -0
- package/models/operations/adminv1getevents.d.ts.map +1 -0
- package/models/operations/adminv1getevents.js +75 -0
- package/models/operations/adminv1getevents.js.map +1 -0
- package/models/operations/adminv1updateevent.d.ts +35 -0
- package/models/operations/adminv1updateevent.d.ts.map +1 -0
- package/models/operations/adminv1updateevent.js +75 -0
- package/models/operations/adminv1updateevent.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/account.d.ts +1 -0
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +4 -0
- package/sdk/account.js.map +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/badge.d.ts +2 -0
- package/sdk/badge.d.ts.map +1 -1
- package/sdk/badge.js +8 -0
- package/sdk/badge.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -4
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/accountAccountV1GetBadgeBookmarks.ts +127 -0
- package/src/funcs/adminAdminV1GetEvents.ts +124 -0
- package/src/funcs/adminAdminV1UpdateEvent.ts +142 -0
- package/src/funcs/badgeAccountV1BookmarkBadge.ts +142 -0
- package/src/funcs/badgeAccountV1GetBadgeBookmarks.ts +127 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/index.ts +11 -0
- package/src/models/components/v1accountbadgebookmark.ts +78 -0
- package/src/models/components/v1accountbadgebookmarkrequestbody.ts +79 -0
- package/src/models/components/v1accountbadgebookmarkresponsebody.ts +82 -0
- package/src/models/components/v1accountbadgebookmarksrequestbody.ts +62 -0
- package/src/models/components/v1accountbadgebookmarksresponsebody.ts +93 -0
- package/src/models/components/v1admingeteventsresponsebody.ts +90 -0
- package/src/models/components/v1adminupdateeventrequestbody.ts +84 -0
- package/src/models/components/v1adminupdateeventresponsebody.ts +80 -0
- package/src/models/components/v1appeventmapping.ts +76 -0
- package/src/models/components/v1event.ts +145 -0
- package/src/models/components/v1getsessionbody.ts +14 -0
- package/src/models/components/v1leaderboardbadge.ts +10 -0
- package/src/models/components/v1leaderboardbadgeevent.ts +132 -0
- package/src/models/operations/accountv1bookmarkbadge.ts +93 -0
- package/src/models/operations/accountv1getbadgebookmarks.ts +96 -0
- package/src/models/operations/adminv1getevents.ts +91 -0
- package/src/models/operations/adminv1updateevent.ts +91 -0
- package/src/models/operations/index.ts +4 -0
- package/src/sdk/account.ts +12 -0
- package/src/sdk/admin.ts +22 -0
- package/src/sdk/badge.ts +24 -0
- package/src/sdk/sdk.ts +5 -5
|
@@ -0,0 +1,91 @@
|
|
|
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 AdminV1GetEventsResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
/**
|
|
15
|
+
* OK
|
|
16
|
+
*/
|
|
17
|
+
v1AdminGetEventsResponseBody?:
|
|
18
|
+
| components.V1AdminGetEventsResponseBody
|
|
19
|
+
| undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const AdminV1GetEventsResponse$inboundSchema: z.ZodType<
|
|
24
|
+
AdminV1GetEventsResponse,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
29
|
+
V1AdminGetEventsResponseBody: components
|
|
30
|
+
.V1AdminGetEventsResponseBody$inboundSchema.optional(),
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
"HttpMeta": "httpMeta",
|
|
34
|
+
"V1AdminGetEventsResponseBody": "v1AdminGetEventsResponseBody",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type AdminV1GetEventsResponse$Outbound = {
|
|
40
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
41
|
+
V1AdminGetEventsResponseBody?:
|
|
42
|
+
| components.V1AdminGetEventsResponseBody$Outbound
|
|
43
|
+
| undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const AdminV1GetEventsResponse$outboundSchema: z.ZodType<
|
|
48
|
+
AdminV1GetEventsResponse$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
AdminV1GetEventsResponse
|
|
51
|
+
> = z.object({
|
|
52
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
53
|
+
v1AdminGetEventsResponseBody: components
|
|
54
|
+
.V1AdminGetEventsResponseBody$outboundSchema.optional(),
|
|
55
|
+
}).transform((v) => {
|
|
56
|
+
return remap$(v, {
|
|
57
|
+
httpMeta: "HttpMeta",
|
|
58
|
+
v1AdminGetEventsResponseBody: "V1AdminGetEventsResponseBody",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export namespace AdminV1GetEventsResponse$ {
|
|
67
|
+
/** @deprecated use `AdminV1GetEventsResponse$inboundSchema` instead. */
|
|
68
|
+
export const inboundSchema = AdminV1GetEventsResponse$inboundSchema;
|
|
69
|
+
/** @deprecated use `AdminV1GetEventsResponse$outboundSchema` instead. */
|
|
70
|
+
export const outboundSchema = AdminV1GetEventsResponse$outboundSchema;
|
|
71
|
+
/** @deprecated use `AdminV1GetEventsResponse$Outbound` instead. */
|
|
72
|
+
export type Outbound = AdminV1GetEventsResponse$Outbound;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function adminV1GetEventsResponseToJSON(
|
|
76
|
+
adminV1GetEventsResponse: AdminV1GetEventsResponse,
|
|
77
|
+
): string {
|
|
78
|
+
return JSON.stringify(
|
|
79
|
+
AdminV1GetEventsResponse$outboundSchema.parse(adminV1GetEventsResponse),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function adminV1GetEventsResponseFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<AdminV1GetEventsResponse, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => AdminV1GetEventsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'AdminV1GetEventsResponse' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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 AdminV1UpdateEventResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
/**
|
|
15
|
+
* OK
|
|
16
|
+
*/
|
|
17
|
+
v1AdminUpdateEventResponseBody?:
|
|
18
|
+
| components.V1AdminUpdateEventResponseBody
|
|
19
|
+
| undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const AdminV1UpdateEventResponse$inboundSchema: z.ZodType<
|
|
24
|
+
AdminV1UpdateEventResponse,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
29
|
+
V1AdminUpdateEventResponseBody: components
|
|
30
|
+
.V1AdminUpdateEventResponseBody$inboundSchema.optional(),
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
"HttpMeta": "httpMeta",
|
|
34
|
+
"V1AdminUpdateEventResponseBody": "v1AdminUpdateEventResponseBody",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type AdminV1UpdateEventResponse$Outbound = {
|
|
40
|
+
HttpMeta: components.HTTPMetadata$Outbound;
|
|
41
|
+
V1AdminUpdateEventResponseBody?:
|
|
42
|
+
| components.V1AdminUpdateEventResponseBody$Outbound
|
|
43
|
+
| undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const AdminV1UpdateEventResponse$outboundSchema: z.ZodType<
|
|
48
|
+
AdminV1UpdateEventResponse$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
AdminV1UpdateEventResponse
|
|
51
|
+
> = z.object({
|
|
52
|
+
httpMeta: components.HTTPMetadata$outboundSchema,
|
|
53
|
+
v1AdminUpdateEventResponseBody: components
|
|
54
|
+
.V1AdminUpdateEventResponseBody$outboundSchema.optional(),
|
|
55
|
+
}).transform((v) => {
|
|
56
|
+
return remap$(v, {
|
|
57
|
+
httpMeta: "HttpMeta",
|
|
58
|
+
v1AdminUpdateEventResponseBody: "V1AdminUpdateEventResponseBody",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export namespace AdminV1UpdateEventResponse$ {
|
|
67
|
+
/** @deprecated use `AdminV1UpdateEventResponse$inboundSchema` instead. */
|
|
68
|
+
export const inboundSchema = AdminV1UpdateEventResponse$inboundSchema;
|
|
69
|
+
/** @deprecated use `AdminV1UpdateEventResponse$outboundSchema` instead. */
|
|
70
|
+
export const outboundSchema = AdminV1UpdateEventResponse$outboundSchema;
|
|
71
|
+
/** @deprecated use `AdminV1UpdateEventResponse$Outbound` instead. */
|
|
72
|
+
export type Outbound = AdminV1UpdateEventResponse$Outbound;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function adminV1UpdateEventResponseToJSON(
|
|
76
|
+
adminV1UpdateEventResponse: AdminV1UpdateEventResponse,
|
|
77
|
+
): string {
|
|
78
|
+
return JSON.stringify(
|
|
79
|
+
AdminV1UpdateEventResponse$outboundSchema.parse(adminV1UpdateEventResponse),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function adminV1UpdateEventResponseFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<AdminV1UpdateEventResponse, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => AdminV1UpdateEventResponse$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'AdminV1UpdateEventResponse' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./accountv1bookmarkbadge.js";
|
|
5
6
|
export * from "./accountv1connectionconnect.js";
|
|
6
7
|
export * from "./accountv1connectiondeleteconnection.js";
|
|
7
8
|
export * from "./accountv1connectionupdateconnection.js";
|
|
8
9
|
export * from "./accountv1connectionverifyconnection.js";
|
|
9
10
|
export * from "./accountv1getapps.js";
|
|
11
|
+
export * from "./accountv1getbadgebookmarks.js";
|
|
10
12
|
export * from "./accountv1getbadges.js";
|
|
11
13
|
export * from "./accountv1getdatapoints.js";
|
|
12
14
|
export * from "./accountv1getembed.js";
|
|
@@ -31,6 +33,8 @@ export * from "./accountv1settingsupdateimage.js";
|
|
|
31
33
|
export * from "./accountv1settingsuploadimages.js";
|
|
32
34
|
export * from "./accountv1settingsverfyemail.js";
|
|
33
35
|
export * from "./adminv1getaccount.js";
|
|
36
|
+
export * from "./adminv1getevents.js";
|
|
37
|
+
export * from "./adminv1updateevent.js";
|
|
34
38
|
export * from "./adminv1updateresources.js";
|
|
35
39
|
export * from "./adminv1updateroles.js";
|
|
36
40
|
export * from "./badgev1tag.js";
|
package/src/sdk/account.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { accountAccountV1GetBadgeBookmarks } from "../funcs/accountAccountV1GetBadgeBookmarks.js";
|
|
5
6
|
import { accountDeleteImages } from "../funcs/accountDeleteImages.js";
|
|
6
7
|
import { accountGetApps } from "../funcs/accountGetApps.js";
|
|
7
8
|
import { accountGetBadges } from "../funcs/accountGetBadges.js";
|
|
@@ -42,6 +43,17 @@ export class Account extends ClientSDK {
|
|
|
42
43
|
));
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
async accountV1GetBadgeBookmarks(
|
|
47
|
+
request: components.V1AccountBadgeBookmarksRequestBody,
|
|
48
|
+
options?: RequestOptions,
|
|
49
|
+
): Promise<operations.AccountV1GetBadgeBookmarksResponse> {
|
|
50
|
+
return unwrapAsync(accountAccountV1GetBadgeBookmarks(
|
|
51
|
+
this,
|
|
52
|
+
request,
|
|
53
|
+
options,
|
|
54
|
+
));
|
|
55
|
+
}
|
|
56
|
+
|
|
45
57
|
async getBadges(
|
|
46
58
|
request: components.AccountSearch,
|
|
47
59
|
options?: RequestOptions,
|
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 { adminAdminV1GetEvents } from "../funcs/adminAdminV1GetEvents.js";
|
|
6
|
+
import { adminAdminV1UpdateEvent } from "../funcs/adminAdminV1UpdateEvent.js";
|
|
5
7
|
import { adminAdminV1UpdateResources } from "../funcs/adminAdminV1UpdateResources.js";
|
|
6
8
|
import { adminAdminV1UpdateRoles } from "../funcs/adminAdminV1UpdateRoles.js";
|
|
7
9
|
import { adminGetAccount } from "../funcs/adminGetAccount.js";
|
|
@@ -22,6 +24,26 @@ export class Admin extends ClientSDK {
|
|
|
22
24
|
));
|
|
23
25
|
}
|
|
24
26
|
|
|
27
|
+
async adminV1GetEvents(
|
|
28
|
+
options?: RequestOptions,
|
|
29
|
+
): Promise<operations.AdminV1GetEventsResponse> {
|
|
30
|
+
return unwrapAsync(adminAdminV1GetEvents(
|
|
31
|
+
this,
|
|
32
|
+
options,
|
|
33
|
+
));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async adminV1UpdateEvent(
|
|
37
|
+
request: components.V1AdminUpdateEventRequestBody,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): Promise<operations.AdminV1UpdateEventResponse> {
|
|
40
|
+
return unwrapAsync(adminAdminV1UpdateEvent(
|
|
41
|
+
this,
|
|
42
|
+
request,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
46
|
+
|
|
25
47
|
async adminV1UpdateResources(
|
|
26
48
|
request: components.V1AdminUpdateResourcesRequestBody,
|
|
27
49
|
options?: RequestOptions,
|
package/src/sdk/badge.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { badgeAccountV1BookmarkBadge } from "../funcs/badgeAccountV1BookmarkBadge.js";
|
|
6
|
+
import { badgeAccountV1GetBadgeBookmarks } from "../funcs/badgeAccountV1GetBadgeBookmarks.js";
|
|
5
7
|
import { badgeGetTags } from "../funcs/badgeGetTags.js";
|
|
6
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
9
|
import * as components from "../models/components/index.js";
|
|
@@ -9,6 +11,28 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
10
12
|
|
|
11
13
|
export class Badge extends ClientSDK {
|
|
14
|
+
async accountV1BookmarkBadge(
|
|
15
|
+
request: components.V1AccountBadgeBookmarkRequestBody,
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): Promise<operations.AccountV1BookmarkBadgeResponse> {
|
|
18
|
+
return unwrapAsync(badgeAccountV1BookmarkBadge(
|
|
19
|
+
this,
|
|
20
|
+
request,
|
|
21
|
+
options,
|
|
22
|
+
));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
async accountV1GetBadgeBookmarks(
|
|
26
|
+
request: components.V1AccountBadgeBookmarksRequestBody,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): Promise<operations.AccountV1GetBadgeBookmarksResponse> {
|
|
29
|
+
return unwrapAsync(badgeAccountV1GetBadgeBookmarks(
|
|
30
|
+
this,
|
|
31
|
+
request,
|
|
32
|
+
options,
|
|
33
|
+
));
|
|
34
|
+
}
|
|
35
|
+
|
|
12
36
|
async getTags(
|
|
13
37
|
request: components.V1BadgeTagsRequestBody,
|
|
14
38
|
options?: RequestOptions,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -22,6 +22,11 @@ import { Sessions } from "./sessions.js";
|
|
|
22
22
|
import { Settings } from "./settings.js";
|
|
23
23
|
|
|
24
24
|
export class SteamSets extends ClientSDK {
|
|
25
|
+
private _badge?: Badge;
|
|
26
|
+
get badge(): Badge {
|
|
27
|
+
return (this._badge ??= new Badge(this._options));
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
private _connections?: Connections;
|
|
26
31
|
get connections(): Connections {
|
|
27
32
|
return (this._connections ??= new Connections(this._options));
|
|
@@ -82,11 +87,6 @@ export class SteamSets extends ClientSDK {
|
|
|
82
87
|
return (this._admin ??= new Admin(this._options));
|
|
83
88
|
}
|
|
84
89
|
|
|
85
|
-
private _badge?: Badge;
|
|
86
|
-
get badge(): Badge {
|
|
87
|
-
return (this._badge ??= new Badge(this._options));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
90
|
private _badges?: Badges;
|
|
91
91
|
get badges(): Badges {
|
|
92
92
|
return (this._badges ??= new Badges(this._options));
|