@steamsets/client-ts 0.31.0 → 0.31.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 +15 -4
- package/examples/package-lock.json +1 -1
- package/funcs/{accountAccountListInventorySets.d.ts → accountListInventorySets.d.ts} +2 -2
- package/funcs/accountListInventorySets.d.ts.map +1 -0
- package/funcs/{accountAccountListInventorySets.js → accountListInventorySets.js} +3 -3
- package/funcs/accountListInventorySets.js.map +1 -0
- package/funcs/{accountAccountRefreshInventory.d.ts → accountRefreshInventory.d.ts} +2 -2
- package/funcs/accountRefreshInventory.d.ts.map +1 -0
- package/funcs/{accountAccountRefreshInventory.js → accountRefreshInventory.js} +3 -3
- package/funcs/accountRefreshInventory.js.map +1 -0
- package/funcs/adminGetAccount.d.ts +16 -0
- package/funcs/adminGetAccount.d.ts.map +1 -0
- package/funcs/adminGetAccount.js +133 -0
- package/funcs/adminGetAccount.js.map +1 -0
- package/funcs/adminRemoveVanity.d.ts +16 -0
- package/funcs/adminRemoveVanity.d.ts.map +1 -0
- package/funcs/adminRemoveVanity.js +133 -0
- package/funcs/adminRemoveVanity.js.map +1 -0
- package/funcs/adminUpdateResources.d.ts +16 -0
- package/funcs/adminUpdateResources.d.ts.map +1 -0
- package/funcs/adminUpdateResources.js +131 -0
- package/funcs/adminUpdateResources.js.map +1 -0
- package/funcs/adminUpdateRoles.d.ts +16 -0
- package/funcs/adminUpdateRoles.d.ts.map +1 -0
- package/funcs/adminUpdateRoles.js +131 -0
- package/funcs/adminUpdateRoles.js.map +1 -0
- package/hooks/hooks.d.ts.map +1 -1
- package/hooks/hooks.js +2 -0
- package/hooks/hooks.js.map +1 -1
- package/hooks/registration.d.ts +3 -0
- package/hooks/registration.d.ts.map +1 -0
- package/hooks/registration.js +15 -0
- package/hooks/registration.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/historyvalue.d.ts +17 -0
- package/models/components/historyvalue.d.ts.map +1 -0
- package/models/components/historyvalue.js +51 -0
- package/models/components/historyvalue.js.map +1 -0
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/resource.d.ts +10 -0
- package/models/components/resource.d.ts.map +1 -1
- package/models/components/resource.js +12 -1
- package/models/components/resource.js.map +1 -1
- package/models/components/v1accountlocationupdate.d.ts +19 -0
- package/models/components/v1accountlocationupdate.d.ts.map +1 -0
- package/models/components/v1accountlocationupdate.js +56 -0
- package/models/components/v1accountlocationupdate.js.map +1 -0
- package/models/components/v1accountnameupdate.d.ts +15 -0
- package/models/components/v1accountnameupdate.d.ts.map +1 -0
- package/models/components/v1accountnameupdate.js +52 -0
- package/models/components/v1accountnameupdate.js.map +1 -0
- package/models/components/v1accountvanityupdate.d.ts +15 -0
- package/models/components/v1accountvanityupdate.d.ts.map +1 -0
- package/models/components/v1accountvanityupdate.js +52 -0
- package/models/components/v1accountvanityupdate.js.map +1 -0
- package/models/components/v1admingetaccountresponsebody.d.ts +104 -0
- package/models/components/v1admingetaccountresponsebody.d.ts.map +1 -0
- package/models/components/v1admingetaccountresponsebody.js +90 -0
- package/models/components/v1admingetaccountresponsebody.js.map +1 -0
- package/models/components/v1adminremovevanityresponsebody.d.ts +13 -0
- package/models/components/v1adminremovevanityresponsebody.d.ts.map +1 -0
- package/models/components/v1adminremovevanityresponsebody.js +55 -0
- package/models/components/v1adminremovevanityresponsebody.js.map +1 -0
- package/models/components/v1adminupdateresourcesrequestbody.d.ts +22 -0
- package/models/components/v1adminupdateresourcesrequestbody.d.ts.map +1 -0
- package/models/components/v1adminupdateresourcesrequestbody.js +54 -0
- package/models/components/v1adminupdateresourcesrequestbody.js.map +1 -0
- package/models/components/v1adminupdaterolesrequestbody.d.ts +45 -0
- package/models/components/v1adminupdaterolesrequestbody.d.ts.map +1 -0
- package/models/components/v1adminupdaterolesrequestbody.js +78 -0
- package/models/components/v1adminupdaterolesrequestbody.js.map +1 -0
- package/models/operations/admingetaccount.d.ts +15 -0
- package/models/operations/admingetaccount.d.ts.map +1 -0
- package/models/operations/admingetaccount.js +59 -0
- package/models/operations/admingetaccount.js.map +1 -0
- package/models/operations/adminremovevanity.d.ts +15 -0
- package/models/operations/adminremovevanity.d.ts.map +1 -0
- package/models/operations/adminremovevanity.js +59 -0
- package/models/operations/adminremovevanity.js.map +1 -0
- package/models/operations/adminupdateresources.d.ts +11 -0
- package/models/operations/adminupdateresources.d.ts.map +1 -0
- package/models/operations/adminupdateresources.js +56 -0
- package/models/operations/adminupdateresources.js.map +1 -0
- package/models/operations/adminupdateroles.d.ts +11 -0
- package/models/operations/adminupdateroles.d.ts.map +1 -0
- package/models/operations/adminupdateroles.js +56 -0
- package/models/operations/adminupdateroles.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 +2 -2
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +6 -6
- package/sdk/account.js.map +1 -1
- package/sdk/admin.d.ts +22 -0
- package/sdk/admin.d.ts.map +1 -0
- package/sdk/admin.js +40 -0
- package/sdk/admin.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/{accountAccountListInventorySets.ts → accountListInventorySets.ts} +1 -1
- package/src/funcs/{accountAccountRefreshInventory.ts → accountRefreshInventory.ts} +1 -1
- package/src/funcs/adminGetAccount.ts +185 -0
- package/src/funcs/adminRemoveVanity.ts +185 -0
- package/src/funcs/adminUpdateResources.ts +184 -0
- package/src/funcs/adminUpdateRoles.ts +184 -0
- package/src/hooks/hooks.ts +3 -0
- package/src/hooks/registration.ts +14 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/historyvalue.ts +39 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/resource.ts +22 -0
- package/src/models/components/v1accountlocationupdate.ts +45 -0
- package/src/models/components/v1accountnameupdate.ts +37 -0
- package/src/models/components/v1accountvanityupdate.ts +37 -0
- package/src/models/components/v1admingetaccountresponsebody.ts +163 -0
- package/src/models/components/v1adminremovevanityresponsebody.ts +39 -0
- package/src/models/components/v1adminupdateresourcesrequestbody.ts +57 -0
- package/src/models/components/v1adminupdaterolesrequestbody.ts +80 -0
- package/src/models/operations/admingetaccount.ts +46 -0
- package/src/models/operations/adminremovevanity.ts +46 -0
- package/src/models/operations/adminupdateresources.ts +37 -0
- package/src/models/operations/adminupdateroles.ts +37 -0
- package/src/models/operations/index.ts +4 -0
- package/src/sdk/account.ts +6 -6
- package/src/sdk/admin.ts +70 -0
- package/src/sdk/sdk.ts +6 -0
- package/funcs/accountAccountListInventorySets.d.ts.map +0 -1
- package/funcs/accountAccountListInventorySets.js.map +0 -1
- package/funcs/accountAccountRefreshInventory.d.ts.map +0 -1
- package/funcs/accountAccountRefreshInventory.js.map +0 -1
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import { Connection, Connection$inboundSchema } from "./connection.js";
|
|
12
|
+
import { DeveloperApp, DeveloperApp$inboundSchema } from "./developerapp.js";
|
|
13
|
+
import { Resource, Resource$inboundSchema } from "./resource.js";
|
|
14
|
+
import { Role, Role$inboundSchema } from "./role.js";
|
|
15
|
+
import { Session, Session$inboundSchema } from "./session.js";
|
|
16
|
+
import {
|
|
17
|
+
V1AccountLocationUpdate,
|
|
18
|
+
V1AccountLocationUpdate$inboundSchema,
|
|
19
|
+
} from "./v1accountlocationupdate.js";
|
|
20
|
+
import {
|
|
21
|
+
V1AccountNameUpdate,
|
|
22
|
+
V1AccountNameUpdate$inboundSchema,
|
|
23
|
+
} from "./v1accountnameupdate.js";
|
|
24
|
+
import {
|
|
25
|
+
V1AccountVanityUpdate,
|
|
26
|
+
V1AccountVanityUpdate$inboundSchema,
|
|
27
|
+
} from "./v1accountvanityupdate.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The privacy of the account
|
|
31
|
+
*/
|
|
32
|
+
export const V1AdminGetAccountResponseBodyPrivacy = {
|
|
33
|
+
Private: "private",
|
|
34
|
+
Public: "public",
|
|
35
|
+
FriendsOnly: "friends_only",
|
|
36
|
+
} as const;
|
|
37
|
+
/**
|
|
38
|
+
* The privacy of the account
|
|
39
|
+
*/
|
|
40
|
+
export type V1AdminGetAccountResponseBodyPrivacy = ClosedEnum<
|
|
41
|
+
typeof V1AdminGetAccountResponseBodyPrivacy
|
|
42
|
+
>;
|
|
43
|
+
|
|
44
|
+
export type V1AdminGetAccountResponseBody = {
|
|
45
|
+
/**
|
|
46
|
+
* A URL to the JSON Schema for this object.
|
|
47
|
+
*/
|
|
48
|
+
dollarSchema?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* The avatar of the account
|
|
51
|
+
*/
|
|
52
|
+
avatar: string;
|
|
53
|
+
/**
|
|
54
|
+
* The city of the account
|
|
55
|
+
*/
|
|
56
|
+
city: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* The connections the account has
|
|
59
|
+
*/
|
|
60
|
+
connections: Array<Connection> | null;
|
|
61
|
+
/**
|
|
62
|
+
* The country code of the account
|
|
63
|
+
*/
|
|
64
|
+
country: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* The developer apps the account has
|
|
67
|
+
*/
|
|
68
|
+
developerApps: Array<DeveloperApp> | null;
|
|
69
|
+
/**
|
|
70
|
+
* The email of the account
|
|
71
|
+
*/
|
|
72
|
+
email: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* The location updates the account has
|
|
75
|
+
*/
|
|
76
|
+
locationUpdates: Array<V1AccountLocationUpdate> | null;
|
|
77
|
+
/**
|
|
78
|
+
* The name of the account
|
|
79
|
+
*/
|
|
80
|
+
name: string;
|
|
81
|
+
/**
|
|
82
|
+
* The name updates the account has
|
|
83
|
+
*/
|
|
84
|
+
nameUpdates: Array<V1AccountNameUpdate> | null;
|
|
85
|
+
/**
|
|
86
|
+
* The privacy of the account
|
|
87
|
+
*/
|
|
88
|
+
privacy: V1AdminGetAccountResponseBodyPrivacy;
|
|
89
|
+
/**
|
|
90
|
+
* The region of the account
|
|
91
|
+
*/
|
|
92
|
+
region: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* The resources the account has (permissions)
|
|
95
|
+
*/
|
|
96
|
+
resources: Array<Resource> | null;
|
|
97
|
+
/**
|
|
98
|
+
* The roles the account has
|
|
99
|
+
*/
|
|
100
|
+
roles: Array<Role> | null;
|
|
101
|
+
/**
|
|
102
|
+
* The sessions the account has
|
|
103
|
+
*/
|
|
104
|
+
sessions: Array<Session> | null;
|
|
105
|
+
/**
|
|
106
|
+
* The state of the account
|
|
107
|
+
*/
|
|
108
|
+
state: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* The vanity of the account
|
|
111
|
+
*/
|
|
112
|
+
vanity: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* The vanity updates the account has
|
|
115
|
+
*/
|
|
116
|
+
vanityUpdates: Array<V1AccountVanityUpdate> | null;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const V1AdminGetAccountResponseBodyPrivacy$inboundSchema:
|
|
121
|
+
z.ZodNativeEnum<typeof V1AdminGetAccountResponseBodyPrivacy> = z.nativeEnum(
|
|
122
|
+
V1AdminGetAccountResponseBodyPrivacy,
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
/** @internal */
|
|
126
|
+
export const V1AdminGetAccountResponseBody$inboundSchema: z.ZodType<
|
|
127
|
+
V1AdminGetAccountResponseBody,
|
|
128
|
+
z.ZodTypeDef,
|
|
129
|
+
unknown
|
|
130
|
+
> = z.object({
|
|
131
|
+
$schema: z.string().optional(),
|
|
132
|
+
avatar: z.string(),
|
|
133
|
+
city: z.nullable(z.string()),
|
|
134
|
+
connections: z.nullable(z.array(Connection$inboundSchema)),
|
|
135
|
+
country: z.nullable(z.string()),
|
|
136
|
+
developerApps: z.nullable(z.array(DeveloperApp$inboundSchema)),
|
|
137
|
+
email: z.nullable(z.string()),
|
|
138
|
+
locationUpdates: z.nullable(z.array(V1AccountLocationUpdate$inboundSchema)),
|
|
139
|
+
name: z.string(),
|
|
140
|
+
nameUpdates: z.nullable(z.array(V1AccountNameUpdate$inboundSchema)),
|
|
141
|
+
privacy: V1AdminGetAccountResponseBodyPrivacy$inboundSchema,
|
|
142
|
+
region: z.nullable(z.string()),
|
|
143
|
+
resources: z.nullable(z.array(Resource$inboundSchema)),
|
|
144
|
+
roles: z.nullable(z.array(Role$inboundSchema)),
|
|
145
|
+
sessions: z.nullable(z.array(Session$inboundSchema)),
|
|
146
|
+
state: z.nullable(z.string()),
|
|
147
|
+
vanity: z.nullable(z.string()),
|
|
148
|
+
vanityUpdates: z.nullable(z.array(V1AccountVanityUpdate$inboundSchema)),
|
|
149
|
+
}).transform((v) => {
|
|
150
|
+
return remap$(v, {
|
|
151
|
+
"$schema": "dollarSchema",
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
export function v1AdminGetAccountResponseBodyFromJSON(
|
|
156
|
+
jsonString: string,
|
|
157
|
+
): SafeParseResult<V1AdminGetAccountResponseBody, SDKValidationError> {
|
|
158
|
+
return safeParse(
|
|
159
|
+
jsonString,
|
|
160
|
+
(x) => V1AdminGetAccountResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
161
|
+
`Failed to parse 'V1AdminGetAccountResponseBody' from JSON`,
|
|
162
|
+
);
|
|
163
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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
|
+
|
|
11
|
+
export type V1AdminRemoveVanityResponseBody = {
|
|
12
|
+
/**
|
|
13
|
+
* A URL to the JSON Schema for this object.
|
|
14
|
+
*/
|
|
15
|
+
dollarSchema?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const V1AdminRemoveVanityResponseBody$inboundSchema: z.ZodType<
|
|
20
|
+
V1AdminRemoveVanityResponseBody,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
$schema: z.string().optional(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"$schema": "dollarSchema",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export function v1AdminRemoveVanityResponseBodyFromJSON(
|
|
32
|
+
jsonString: string,
|
|
33
|
+
): SafeParseResult<V1AdminRemoveVanityResponseBody, SDKValidationError> {
|
|
34
|
+
return safeParse(
|
|
35
|
+
jsonString,
|
|
36
|
+
(x) => V1AdminRemoveVanityResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
37
|
+
`Failed to parse 'V1AdminRemoveVanityResponseBody' from JSON`,
|
|
38
|
+
);
|
|
39
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import {
|
|
7
|
+
IDSearch,
|
|
8
|
+
IDSearch$Outbound,
|
|
9
|
+
IDSearch$outboundSchema,
|
|
10
|
+
} from "./idsearch.js";
|
|
11
|
+
import {
|
|
12
|
+
Resource,
|
|
13
|
+
Resource$Outbound,
|
|
14
|
+
Resource$outboundSchema,
|
|
15
|
+
} from "./resource.js";
|
|
16
|
+
import {
|
|
17
|
+
VanitySearch,
|
|
18
|
+
VanitySearch$Outbound,
|
|
19
|
+
VanitySearch$outboundSchema,
|
|
20
|
+
} from "./vanitysearch.js";
|
|
21
|
+
|
|
22
|
+
export type V1AdminUpdateResourcesRequestBody = {
|
|
23
|
+
id?: IDSearch | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The resources to add for this account
|
|
26
|
+
*/
|
|
27
|
+
resources: Array<Resource> | null;
|
|
28
|
+
vanity?: VanitySearch | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type V1AdminUpdateResourcesRequestBody$Outbound = {
|
|
33
|
+
id?: IDSearch$Outbound | undefined;
|
|
34
|
+
resources: Array<Resource$Outbound> | null;
|
|
35
|
+
vanity?: VanitySearch$Outbound | undefined;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const V1AdminUpdateResourcesRequestBody$outboundSchema: z.ZodType<
|
|
40
|
+
V1AdminUpdateResourcesRequestBody$Outbound,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
V1AdminUpdateResourcesRequestBody
|
|
43
|
+
> = z.object({
|
|
44
|
+
id: IDSearch$outboundSchema.optional(),
|
|
45
|
+
resources: z.nullable(z.array(Resource$outboundSchema)),
|
|
46
|
+
vanity: VanitySearch$outboundSchema.optional(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function v1AdminUpdateResourcesRequestBodyToJSON(
|
|
50
|
+
v1AdminUpdateResourcesRequestBody: V1AdminUpdateResourcesRequestBody,
|
|
51
|
+
): string {
|
|
52
|
+
return JSON.stringify(
|
|
53
|
+
V1AdminUpdateResourcesRequestBody$outboundSchema.parse(
|
|
54
|
+
v1AdminUpdateResourcesRequestBody,
|
|
55
|
+
),
|
|
56
|
+
);
|
|
57
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
import {
|
|
8
|
+
IDSearch,
|
|
9
|
+
IDSearch$Outbound,
|
|
10
|
+
IDSearch$outboundSchema,
|
|
11
|
+
} from "./idsearch.js";
|
|
12
|
+
import {
|
|
13
|
+
VanitySearch,
|
|
14
|
+
VanitySearch$Outbound,
|
|
15
|
+
VanitySearch$outboundSchema,
|
|
16
|
+
} from "./vanitysearch.js";
|
|
17
|
+
|
|
18
|
+
export const Roles = {
|
|
19
|
+
User: "user",
|
|
20
|
+
Donator: "donator",
|
|
21
|
+
Staff: "staff",
|
|
22
|
+
Developer: "developer",
|
|
23
|
+
Partner: "partner",
|
|
24
|
+
Owner: "owner",
|
|
25
|
+
Amethyst: "amethyst",
|
|
26
|
+
Amber: "amber",
|
|
27
|
+
Emerald: "emerald",
|
|
28
|
+
Sapphire: "sapphire",
|
|
29
|
+
Ruby: "ruby",
|
|
30
|
+
Diamond: "diamond",
|
|
31
|
+
Contributor: "contributor",
|
|
32
|
+
EarlySupporter: "early_supporter",
|
|
33
|
+
Beta: "beta",
|
|
34
|
+
Translator: "translator",
|
|
35
|
+
Top100: "top_100",
|
|
36
|
+
BadgeScout: "badge_scout",
|
|
37
|
+
NitroBooster: "nitro_booster",
|
|
38
|
+
Astral: "astral",
|
|
39
|
+
Nebula: "nebula",
|
|
40
|
+
} as const;
|
|
41
|
+
export type Roles = ClosedEnum<typeof Roles>;
|
|
42
|
+
|
|
43
|
+
export type V1AdminUpdateRolesRequestBody = {
|
|
44
|
+
id?: IDSearch | undefined;
|
|
45
|
+
roles: Array<Roles> | null;
|
|
46
|
+
vanity?: VanitySearch | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const Roles$outboundSchema: z.ZodNativeEnum<typeof Roles> = z.nativeEnum(
|
|
51
|
+
Roles,
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export type V1AdminUpdateRolesRequestBody$Outbound = {
|
|
56
|
+
id?: IDSearch$Outbound | undefined;
|
|
57
|
+
roles: Array<string> | null;
|
|
58
|
+
vanity?: VanitySearch$Outbound | undefined;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const V1AdminUpdateRolesRequestBody$outboundSchema: z.ZodType<
|
|
63
|
+
V1AdminUpdateRolesRequestBody$Outbound,
|
|
64
|
+
z.ZodTypeDef,
|
|
65
|
+
V1AdminUpdateRolesRequestBody
|
|
66
|
+
> = z.object({
|
|
67
|
+
id: IDSearch$outboundSchema.optional(),
|
|
68
|
+
roles: z.nullable(z.array(Roles$outboundSchema)),
|
|
69
|
+
vanity: VanitySearch$outboundSchema.optional(),
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
export function v1AdminUpdateRolesRequestBodyToJSON(
|
|
73
|
+
v1AdminUpdateRolesRequestBody: V1AdminUpdateRolesRequestBody,
|
|
74
|
+
): string {
|
|
75
|
+
return JSON.stringify(
|
|
76
|
+
V1AdminUpdateRolesRequestBody$outboundSchema.parse(
|
|
77
|
+
v1AdminUpdateRolesRequestBody,
|
|
78
|
+
),
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 AdminGetAccountResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
/**
|
|
15
|
+
* OK
|
|
16
|
+
*/
|
|
17
|
+
v1AdminGetAccountResponseBody?:
|
|
18
|
+
| components.V1AdminGetAccountResponseBody
|
|
19
|
+
| undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const AdminGetAccountResponse$inboundSchema: z.ZodType<
|
|
24
|
+
AdminGetAccountResponse,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
29
|
+
V1AdminGetAccountResponseBody: components
|
|
30
|
+
.V1AdminGetAccountResponseBody$inboundSchema.optional(),
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
"HttpMeta": "httpMeta",
|
|
34
|
+
"V1AdminGetAccountResponseBody": "v1AdminGetAccountResponseBody",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function adminGetAccountResponseFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<AdminGetAccountResponse, SDKValidationError> {
|
|
41
|
+
return safeParse(
|
|
42
|
+
jsonString,
|
|
43
|
+
(x) => AdminGetAccountResponse$inboundSchema.parse(JSON.parse(x)),
|
|
44
|
+
`Failed to parse 'AdminGetAccountResponse' from JSON`,
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 AdminRemoveVanityResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
/**
|
|
15
|
+
* OK
|
|
16
|
+
*/
|
|
17
|
+
v1AdminRemoveVanityResponseBody?:
|
|
18
|
+
| components.V1AdminRemoveVanityResponseBody
|
|
19
|
+
| undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const AdminRemoveVanityResponse$inboundSchema: z.ZodType<
|
|
24
|
+
AdminRemoveVanityResponse,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
29
|
+
V1AdminRemoveVanityResponseBody: components
|
|
30
|
+
.V1AdminRemoveVanityResponseBody$inboundSchema.optional(),
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
"HttpMeta": "httpMeta",
|
|
34
|
+
"V1AdminRemoveVanityResponseBody": "v1AdminRemoveVanityResponseBody",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function adminRemoveVanityResponseFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<AdminRemoveVanityResponse, SDKValidationError> {
|
|
41
|
+
return safeParse(
|
|
42
|
+
jsonString,
|
|
43
|
+
(x) => AdminRemoveVanityResponse$inboundSchema.parse(JSON.parse(x)),
|
|
44
|
+
`Failed to parse 'AdminRemoveVanityResponse' from JSON`,
|
|
45
|
+
);
|
|
46
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 AdminUpdateResourcesResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const AdminUpdateResourcesResponse$inboundSchema: z.ZodType<
|
|
18
|
+
AdminUpdateResourcesResponse,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
23
|
+
}).transform((v) => {
|
|
24
|
+
return remap$(v, {
|
|
25
|
+
"HttpMeta": "httpMeta",
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function adminUpdateResourcesResponseFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<AdminUpdateResourcesResponse, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => AdminUpdateResourcesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'AdminUpdateResourcesResponse' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 AdminUpdateRolesResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const AdminUpdateRolesResponse$inboundSchema: z.ZodType<
|
|
18
|
+
AdminUpdateRolesResponse,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
HttpMeta: components.HTTPMetadata$inboundSchema,
|
|
23
|
+
}).transform((v) => {
|
|
24
|
+
return remap$(v, {
|
|
25
|
+
"HttpMeta": "httpMeta",
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function adminUpdateRolesResponseFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<AdminUpdateRolesResponse, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => AdminUpdateRolesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'AdminUpdateRolesResponse' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -40,6 +40,10 @@ export * from "./accountupdatevanity.js";
|
|
|
40
40
|
export * from "./accountuploadimages.js";
|
|
41
41
|
export * from "./accountverifyconnection.js";
|
|
42
42
|
export * from "./accountverifyemail.js";
|
|
43
|
+
export * from "./admingetaccount.js";
|
|
44
|
+
export * from "./adminremovevanity.js";
|
|
45
|
+
export * from "./adminupdateresources.js";
|
|
46
|
+
export * from "./adminupdateroles.js";
|
|
43
47
|
export * from "./applistbadges.js";
|
|
44
48
|
export * from "./badgelisttags.js";
|
|
45
49
|
export * from "./badgesearchbadges.js";
|
package/src/sdk/account.ts
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { accountAccountListInventorySets } from "../funcs/accountAccountListInventorySets.js";
|
|
6
|
-
import { accountAccountRefreshInventory } from "../funcs/accountAccountRefreshInventory.js";
|
|
7
5
|
import { accountBookmarkBadge } from "../funcs/accountBookmarkBadge.js";
|
|
8
6
|
import { accountCreateConnection } from "../funcs/accountCreateConnection.js";
|
|
9
7
|
import { accountCreateDeveloperApp } from "../funcs/accountCreateDeveloperApp.js";
|
|
@@ -22,12 +20,14 @@ import { accountListBadgeBookmarks } from "../funcs/accountListBadgeBookmarks.js
|
|
|
22
20
|
import { accountListBadges } from "../funcs/accountListBadges.js";
|
|
23
21
|
import { accountListFriends } from "../funcs/accountListFriends.js";
|
|
24
22
|
import { accountListImages } from "../funcs/accountListImages.js";
|
|
23
|
+
import { accountListInventorySets } from "../funcs/accountListInventorySets.js";
|
|
25
24
|
import { accountListLeaderboardHistory } from "../funcs/accountListLeaderboardHistory.js";
|
|
26
25
|
import { accountListOwnedBadges } from "../funcs/accountListOwnedBadges.js";
|
|
27
26
|
import { accountLogin } from "../funcs/accountLogin.js";
|
|
28
27
|
import { accountLogout } from "../funcs/accountLogout.js";
|
|
29
28
|
import { accountQueueUpdate } from "../funcs/accountQueueUpdate.js";
|
|
30
29
|
import { accountReconnectConnection } from "../funcs/accountReconnectConnection.js";
|
|
30
|
+
import { accountRefreshInventory } from "../funcs/accountRefreshInventory.js";
|
|
31
31
|
import { accountRefreshSession } from "../funcs/accountRefreshSession.js";
|
|
32
32
|
import { accountSendEmailVerification } from "../funcs/accountSendEmailVerification.js";
|
|
33
33
|
import { accountSubscribeEmail } from "../funcs/accountSubscribeEmail.js";
|
|
@@ -296,10 +296,10 @@ export class Account extends ClientSDK {
|
|
|
296
296
|
* @remarks
|
|
297
297
|
* Get all trading card sets with ownership information for the authenticated user
|
|
298
298
|
*/
|
|
299
|
-
async
|
|
299
|
+
async listInventorySets(
|
|
300
300
|
options?: RequestOptions,
|
|
301
301
|
): Promise<operations.AccountListInventorySetsResponse> {
|
|
302
|
-
return unwrapAsync(
|
|
302
|
+
return unwrapAsync(accountListInventorySets(
|
|
303
303
|
this,
|
|
304
304
|
options,
|
|
305
305
|
));
|
|
@@ -391,10 +391,10 @@ export class Account extends ClientSDK {
|
|
|
391
391
|
* @remarks
|
|
392
392
|
* Trigger a refresh of the authenticated user's Steam inventory. Rate limited based on account tier.
|
|
393
393
|
*/
|
|
394
|
-
async
|
|
394
|
+
async refreshInventory(
|
|
395
395
|
options?: RequestOptions,
|
|
396
396
|
): Promise<operations.AccountRefreshInventoryResponse> {
|
|
397
|
-
return unwrapAsync(
|
|
397
|
+
return unwrapAsync(accountRefreshInventory(
|
|
398
398
|
this,
|
|
399
399
|
options,
|
|
400
400
|
));
|
package/src/sdk/admin.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { adminGetAccount } from "../funcs/adminGetAccount.js";
|
|
6
|
+
import { adminRemoveVanity } from "../funcs/adminRemoveVanity.js";
|
|
7
|
+
import { adminUpdateResources } from "../funcs/adminUpdateResources.js";
|
|
8
|
+
import { adminUpdateRoles } from "../funcs/adminUpdateRoles.js";
|
|
9
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import * as components from "../models/components/index.js";
|
|
11
|
+
import * as operations from "../models/operations/index.js";
|
|
12
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
+
|
|
14
|
+
export class Admin extends ClientSDK {
|
|
15
|
+
/**
|
|
16
|
+
* Get account for admin
|
|
17
|
+
*/
|
|
18
|
+
async getAccount(
|
|
19
|
+
request: components.AccountSearch,
|
|
20
|
+
options?: RequestOptions,
|
|
21
|
+
): Promise<operations.AdminGetAccountResponse> {
|
|
22
|
+
return unwrapAsync(adminGetAccount(
|
|
23
|
+
this,
|
|
24
|
+
request,
|
|
25
|
+
options,
|
|
26
|
+
));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Remove vanity URL
|
|
31
|
+
*/
|
|
32
|
+
async removeVanity(
|
|
33
|
+
request: components.AccountSearch,
|
|
34
|
+
options?: RequestOptions,
|
|
35
|
+
): Promise<operations.AdminRemoveVanityResponse> {
|
|
36
|
+
return unwrapAsync(adminRemoveVanity(
|
|
37
|
+
this,
|
|
38
|
+
request,
|
|
39
|
+
options,
|
|
40
|
+
));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Update account resources
|
|
45
|
+
*/
|
|
46
|
+
async updateResources(
|
|
47
|
+
request: components.V1AdminUpdateResourcesRequestBody,
|
|
48
|
+
options?: RequestOptions,
|
|
49
|
+
): Promise<operations.AdminUpdateResourcesResponse> {
|
|
50
|
+
return unwrapAsync(adminUpdateResources(
|
|
51
|
+
this,
|
|
52
|
+
request,
|
|
53
|
+
options,
|
|
54
|
+
));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Update account roles
|
|
59
|
+
*/
|
|
60
|
+
async updateRoles(
|
|
61
|
+
request: components.V1AdminUpdateRolesRequestBody,
|
|
62
|
+
options?: RequestOptions,
|
|
63
|
+
): Promise<operations.AdminUpdateRolesResponse> {
|
|
64
|
+
return unwrapAsync(adminUpdateRoles(
|
|
65
|
+
this,
|
|
66
|
+
request,
|
|
67
|
+
options,
|
|
68
|
+
));
|
|
69
|
+
}
|
|
70
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
6
|
import { Account } from "./account.js";
|
|
7
|
+
import { Admin } from "./admin.js";
|
|
7
8
|
import { Apps } from "./apps.js";
|
|
8
9
|
import { Badge } from "./badge.js";
|
|
9
10
|
import { Badges } from "./badges.js";
|
|
@@ -19,6 +20,11 @@ export class SteamSets extends ClientSDK {
|
|
|
19
20
|
return (this._account ??= new Account(this._options));
|
|
20
21
|
}
|
|
21
22
|
|
|
23
|
+
private _admin?: Admin;
|
|
24
|
+
get admin(): Admin {
|
|
25
|
+
return (this._admin ??= new Admin(this._options));
|
|
26
|
+
}
|
|
27
|
+
|
|
22
28
|
private _apps?: Apps;
|
|
23
29
|
get apps(): Apps {
|
|
24
30
|
return (this._apps ??= new Apps(this._options));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountListInventorySets.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountListInventorySets.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,gCAAgC,EACzC,MAAM,CAAC,UAAU,GACjB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountListInventorySets.js","sourceRoot":"","sources":["../src/funcs/accountAccountListInventorySets.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accountAccountRefreshInventory.d.ts","sourceRoot":"","sources":["../src/funcs/accountAccountRefreshInventory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,+BAA+B,EACxC,MAAM,CAAC,UAAU,GACjB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|