@steamsets/client-ts 0.34.9 → 0.35.0
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 +6 -0
- package/funcs/accountQueueInventoryRefresh.d.ts +16 -0
- package/funcs/accountQueueInventoryRefresh.d.ts.map +1 -0
- package/funcs/accountQueueInventoryRefresh.js +132 -0
- package/funcs/accountQueueInventoryRefresh.js.map +1 -0
- package/funcs/appQueueUpdate.d.ts +16 -0
- package/funcs/appQueueUpdate.d.ts.map +1 -0
- package/funcs/appQueueUpdate.js +132 -0
- package/funcs/appQueueUpdate.js.map +1 -0
- package/funcs/groupQueueUpdate.d.ts +16 -0
- package/funcs/groupQueueUpdate.d.ts.map +1 -0
- package/funcs/groupQueueUpdate.js +132 -0
- package/funcs/groupQueueUpdate.js.map +1 -0
- package/funcs/leaderboardGetBucketLeaders.d.ts +1 -1
- package/funcs/leaderboardGetBucketLeaders.d.ts.map +1 -1
- package/funcs/leaderboardGetBucketLeaders.js +2 -2
- package/funcs/leaderboardGetBucketLeaders.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/bucketleader.d.ts +5 -2
- package/models/components/bucketleader.d.ts.map +1 -1
- package/models/components/bucketleader.js +1 -1
- package/models/components/bucketleader.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/v1accountqueueinventoryrefreshrequestbody.d.ts +15 -0
- package/models/components/v1accountqueueinventoryrefreshrequestbody.d.ts.map +1 -0
- package/models/components/v1accountqueueinventoryrefreshrequestbody.js +49 -0
- package/models/components/v1accountqueueinventoryrefreshrequestbody.js.map +1 -0
- package/models/components/v1appqueueupdaterequestbody.d.ts +15 -0
- package/models/components/v1appqueueupdaterequestbody.d.ts.map +1 -0
- package/models/components/v1appqueueupdaterequestbody.js +49 -0
- package/models/components/v1appqueueupdaterequestbody.js.map +1 -0
- package/models/components/v1groupqueueupdaterequestbody.d.ts +15 -0
- package/models/components/v1groupqueueupdaterequestbody.d.ts.map +1 -0
- package/models/components/v1groupqueueupdaterequestbody.js +49 -0
- package/models/components/v1groupqueueupdaterequestbody.js.map +1 -0
- package/models/operations/accountqueueinventoryrefresh.d.ts +11 -0
- package/models/operations/accountqueueinventoryrefresh.d.ts.map +1 -0
- package/models/operations/accountqueueinventoryrefresh.js +56 -0
- package/models/operations/accountqueueinventoryrefresh.js.map +1 -0
- package/models/operations/appqueueupdate.d.ts +11 -0
- package/models/operations/appqueueupdate.d.ts.map +1 -0
- package/models/operations/appqueueupdate.js +56 -0
- package/models/operations/appqueueupdate.js.map +1 -0
- package/models/operations/groupqueueupdate.d.ts +11 -0
- package/models/operations/groupqueueupdate.d.ts.map +1 -0
- package/models/operations/groupqueueupdate.js +56 -0
- package/models/operations/groupqueueupdate.js.map +1 -0
- package/models/operations/index.d.ts +4 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/leaderboardgetbucketleaders.d.ts +15 -0
- package/models/operations/leaderboardgetbucketleaders.d.ts.map +1 -0
- package/models/operations/{getbucketleaders.js → leaderboardgetbucketleaders.js} +6 -6
- package/models/operations/leaderboardgetbucketleaders.js.map +1 -0
- package/package.json +1 -1
- package/sdk/account.d.ts +4 -0
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +7 -0
- package/sdk/account.js.map +1 -1
- package/sdk/app.d.ts +5 -0
- package/sdk/app.d.ts.map +1 -1
- package/sdk/app.js +7 -0
- package/sdk/app.js.map +1 -1
- package/sdk/group.d.ts +5 -0
- package/sdk/group.d.ts.map +1 -1
- package/sdk/group.js +7 -0
- package/sdk/group.js.map +1 -1
- package/sdk/leaderboard.d.ts +1 -1
- package/sdk/leaderboard.d.ts.map +1 -1
- package/src/funcs/accountQueueInventoryRefresh.ts +188 -0
- package/src/funcs/appQueueUpdate.ts +186 -0
- package/src/funcs/groupQueueUpdate.ts +186 -0
- package/src/funcs/leaderboardGetBucketLeaders.ts +5 -5
- package/src/lib/config.ts +3 -3
- package/src/models/components/bucketleader.ts +6 -3
- package/src/models/components/index.ts +3 -0
- package/src/models/components/v1accountqueueinventoryrefreshrequestbody.ts +38 -0
- package/src/models/components/v1appqueueupdaterequestbody.ts +36 -0
- package/src/models/components/v1groupqueueupdaterequestbody.ts +36 -0
- package/src/models/operations/accountqueueinventoryrefresh.ts +38 -0
- package/src/models/operations/appqueueupdate.ts +37 -0
- package/src/models/operations/groupqueueupdate.ts +37 -0
- package/src/models/operations/index.ts +4 -1
- package/src/models/operations/{getbucketleaders.ts → leaderboardgetbucketleaders.ts} +8 -7
- package/src/sdk/account.ts +15 -0
- package/src/sdk/app.ts +16 -0
- package/src/sdk/group.ts +16 -0
- package/src/sdk/leaderboard.ts +1 -1
- package/models/operations/getbucketleaders.d.ts +0 -15
- package/models/operations/getbucketleaders.d.ts.map +0 -1
- package/models/operations/getbucketleaders.js.map +0 -1
|
@@ -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 GroupQueueUpdateResponse = {
|
|
13
|
+
httpMeta: components.HTTPMetadata;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const GroupQueueUpdateResponse$inboundSchema: z.ZodType<
|
|
18
|
+
GroupQueueUpdateResponse,
|
|
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 groupQueueUpdateResponseFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<GroupQueueUpdateResponse, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => GroupQueueUpdateResponse$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'GroupQueueUpdateResponse' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -29,6 +29,7 @@ export * from "./accountlistownedbadges.js";
|
|
|
29
29
|
export * from "./accountlistownedgroups.js";
|
|
30
30
|
export * from "./accountlogin.js";
|
|
31
31
|
export * from "./accountlogout.js";
|
|
32
|
+
export * from "./accountqueueinventoryrefresh.js";
|
|
32
33
|
export * from "./accountqueueupdate.js";
|
|
33
34
|
export * from "./accountreconnectconnection.js";
|
|
34
35
|
export * from "./accountrefreshinventory.js";
|
|
@@ -67,6 +68,7 @@ export * from "./analyticsgetmypercentiles.js";
|
|
|
67
68
|
export * from "./analyticsgettrend.js";
|
|
68
69
|
export * from "./analyticslistmetrics.js";
|
|
69
70
|
export * from "./applistbadges.js";
|
|
71
|
+
export * from "./appqueueupdate.js";
|
|
70
72
|
export * from "./appsearch.js";
|
|
71
73
|
export * from "./badgelisttags.js";
|
|
72
74
|
export * from "./badgepricingsearch.js";
|
|
@@ -89,13 +91,14 @@ export * from "./comparebadges.js";
|
|
|
89
91
|
export * from "./donationsclaim.js";
|
|
90
92
|
export * from "./donationsgetaddresses.js";
|
|
91
93
|
export * from "./donationslistsupportedcurrencies.js";
|
|
92
|
-
export * from "./getbucketleaders.js";
|
|
93
94
|
export * from "./getchanges.js";
|
|
94
95
|
export * from "./getviewstats.js";
|
|
96
|
+
export * from "./groupqueueupdate.js";
|
|
95
97
|
export * from "./groupsearch.js";
|
|
96
98
|
export * from "./itemfindowners.js";
|
|
97
99
|
export * from "./leaderboardgetaccountleaderboard.js";
|
|
98
100
|
export * from "./leaderboardgetaccountsmeta.js";
|
|
101
|
+
export * from "./leaderboardgetbucketleaders.js";
|
|
99
102
|
export * from "./leaderboardgetgroupleaderboard.js";
|
|
100
103
|
export * from "./leaderboardgetgroupsmeta.js";
|
|
101
104
|
export * from "./leaderboardgetlowestranks.js";
|
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export type
|
|
12
|
+
export type LeaderboardGetBucketLeadersResponse = {
|
|
13
13
|
httpMeta: components.HTTPMetadata;
|
|
14
14
|
/**
|
|
15
15
|
* OK
|
|
@@ -18,8 +18,8 @@ export type GetBucketLeadersResponse = {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
/** @internal */
|
|
21
|
-
export const
|
|
22
|
-
|
|
21
|
+
export const LeaderboardGetBucketLeadersResponse$inboundSchema: z.ZodType<
|
|
22
|
+
LeaderboardGetBucketLeadersResponse,
|
|
23
23
|
z.ZodTypeDef,
|
|
24
24
|
unknown
|
|
25
25
|
> = z.object({
|
|
@@ -33,12 +33,13 @@ export const GetBucketLeadersResponse$inboundSchema: z.ZodType<
|
|
|
33
33
|
});
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export function
|
|
36
|
+
export function leaderboardGetBucketLeadersResponseFromJSON(
|
|
37
37
|
jsonString: string,
|
|
38
|
-
): SafeParseResult<
|
|
38
|
+
): SafeParseResult<LeaderboardGetBucketLeadersResponse, SDKValidationError> {
|
|
39
39
|
return safeParse(
|
|
40
40
|
jsonString,
|
|
41
|
-
(x) =>
|
|
42
|
-
|
|
41
|
+
(x) =>
|
|
42
|
+
LeaderboardGetBucketLeadersResponse$inboundSchema.parse(JSON.parse(x)),
|
|
43
|
+
`Failed to parse 'LeaderboardGetBucketLeadersResponse' from JSON`,
|
|
43
44
|
);
|
|
44
45
|
}
|
package/src/sdk/account.ts
CHANGED
|
@@ -31,6 +31,7 @@ import { accountListLeaderboardHistory } from "../funcs/accountListLeaderboardHi
|
|
|
31
31
|
import { accountListOwnedBadges } from "../funcs/accountListOwnedBadges.js";
|
|
32
32
|
import { accountLogin } from "../funcs/accountLogin.js";
|
|
33
33
|
import { accountLogout } from "../funcs/accountLogout.js";
|
|
34
|
+
import { accountQueueInventoryRefresh } from "../funcs/accountQueueInventoryRefresh.js";
|
|
34
35
|
import { accountQueueUpdate } from "../funcs/accountQueueUpdate.js";
|
|
35
36
|
import { accountReconnectConnection } from "../funcs/accountReconnectConnection.js";
|
|
36
37
|
import { accountRefreshInventory } from "../funcs/accountRefreshInventory.js";
|
|
@@ -449,6 +450,20 @@ export class Account extends ClientSDK {
|
|
|
449
450
|
));
|
|
450
451
|
}
|
|
451
452
|
|
|
453
|
+
/**
|
|
454
|
+
* Queue inventory refresh
|
|
455
|
+
*/
|
|
456
|
+
async queueInventoryRefresh(
|
|
457
|
+
request: components.V1AccountQueueInventoryRefreshRequestBody,
|
|
458
|
+
options?: RequestOptions,
|
|
459
|
+
): Promise<operations.AccountQueueInventoryRefreshResponse> {
|
|
460
|
+
return unwrapAsync(accountQueueInventoryRefresh(
|
|
461
|
+
this,
|
|
462
|
+
request,
|
|
463
|
+
options,
|
|
464
|
+
));
|
|
465
|
+
}
|
|
466
|
+
|
|
452
467
|
/**
|
|
453
468
|
* Queue account update
|
|
454
469
|
*/
|
package/src/sdk/app.ts
CHANGED
|
@@ -2,12 +2,28 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { appQueueUpdate } from "../funcs/appQueueUpdate.js";
|
|
5
6
|
import { appSearch } from "../funcs/appSearch.js";
|
|
6
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as components from "../models/components/index.js";
|
|
7
9
|
import * as operations from "../models/operations/index.js";
|
|
8
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
11
|
|
|
10
12
|
export class App extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* Queue app update
|
|
15
|
+
*/
|
|
16
|
+
async queueUpdate(
|
|
17
|
+
request: components.V1AppQueueUpdateRequestBody,
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): Promise<operations.AppQueueUpdateResponse> {
|
|
20
|
+
return unwrapAsync(appQueueUpdate(
|
|
21
|
+
this,
|
|
22
|
+
request,
|
|
23
|
+
options,
|
|
24
|
+
));
|
|
25
|
+
}
|
|
26
|
+
|
|
11
27
|
/**
|
|
12
28
|
* Search apps
|
|
13
29
|
*/
|
package/src/sdk/group.ts
CHANGED
|
@@ -2,12 +2,28 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { groupQueueUpdate } from "../funcs/groupQueueUpdate.js";
|
|
5
6
|
import { groupSearch } from "../funcs/groupSearch.js";
|
|
6
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
|
+
import * as components from "../models/components/index.js";
|
|
7
9
|
import * as operations from "../models/operations/index.js";
|
|
8
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
11
|
|
|
10
12
|
export class Group extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* Queue group update
|
|
15
|
+
*/
|
|
16
|
+
async queueUpdate(
|
|
17
|
+
request: components.V1GroupQueueUpdateRequestBody,
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): Promise<operations.GroupQueueUpdateResponse> {
|
|
20
|
+
return unwrapAsync(groupQueueUpdate(
|
|
21
|
+
this,
|
|
22
|
+
request,
|
|
23
|
+
options,
|
|
24
|
+
));
|
|
25
|
+
}
|
|
26
|
+
|
|
11
27
|
/**
|
|
12
28
|
* Search groups
|
|
13
29
|
*/
|
package/src/sdk/leaderboard.ts
CHANGED
|
@@ -50,7 +50,7 @@ export class Leaderboard extends ClientSDK {
|
|
|
50
50
|
async getBucketLeaders(
|
|
51
51
|
request: components.V1LeaderboardGetBucketLeadersRequestBody,
|
|
52
52
|
options?: RequestOptions,
|
|
53
|
-
): Promise<operations.
|
|
53
|
+
): Promise<operations.LeaderboardGetBucketLeadersResponse> {
|
|
54
54
|
return unwrapAsync(leaderboardGetBucketLeaders(
|
|
55
55
|
this,
|
|
56
56
|
request,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import * as components from "../components/index.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type GetBucketLeadersResponse = {
|
|
6
|
-
httpMeta: components.HTTPMetadata;
|
|
7
|
-
/**
|
|
8
|
-
* OK
|
|
9
|
-
*/
|
|
10
|
-
bucketLeaders?: Array<components.BucketLeader> | null | undefined;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const GetBucketLeadersResponse$inboundSchema: z.ZodType<GetBucketLeadersResponse, z.ZodTypeDef, unknown>;
|
|
14
|
-
export declare function getBucketLeadersResponseFromJSON(jsonString: string): SafeParseResult<GetBucketLeadersResponse, SDKValidationError>;
|
|
15
|
-
//# sourceMappingURL=getbucketleaders.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getbucketleaders.d.ts","sourceRoot":"","sources":["../../src/models/operations/getbucketleaders.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe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