@steamsets/client-ts 0.11.4 → 0.11.6
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 +31 -10
- package/docs/sdks/account/README.md +239 -99
- package/docs/sdks/app/README.md +12 -13
- package/docs/sdks/badge/README.md +6 -7
- package/docs/sdks/connection/README.md +12 -15
- package/docs/sdks/data/README.md +106 -35
- package/docs/sdks/developer/README.md +9 -11
- package/docs/sdks/leaderboard/README.md +99 -15
- package/docs/sdks/liveness/README.md +2 -2
- package/docs/sdks/location/README.md +3 -3
- package/docs/sdks/public/README.md +103 -31
- package/docs/sdks/session/README.md +11 -14
- package/docs/sdks/settings/README.md +20 -26
- package/funcs/accountAccountV1LeaderboardPreview.d.ts +14 -0
- package/funcs/accountAccountV1LeaderboardPreview.d.ts.map +1 -0
- package/funcs/accountAccountV1LeaderboardPreview.js +99 -0
- package/funcs/accountAccountV1LeaderboardPreview.js.map +1 -0
- package/funcs/accountAccountV1Queue.d.ts +14 -0
- package/funcs/accountAccountV1Queue.d.ts.map +1 -0
- package/funcs/{appAccountV1Queue.js → accountAccountV1Queue.js} +6 -6
- package/funcs/accountAccountV1Queue.js.map +1 -0
- package/funcs/{appAccountV1Queue.d.ts → appAppV1Queue.d.ts} +2 -2
- package/funcs/appAppV1Queue.d.ts.map +1 -0
- package/funcs/appAppV1Queue.js +97 -0
- package/funcs/appAppV1Queue.js.map +1 -0
- package/funcs/dataAccountV1Queue.d.ts +2 -2
- package/funcs/dataAccountV1Queue.d.ts.map +1 -1
- package/funcs/dataAccountV1Queue.js +3 -3
- package/funcs/dataAccountV1Queue.js.map +1 -1
- package/funcs/dataAppV1Queue.d.ts +14 -0
- package/funcs/dataAppV1Queue.d.ts.map +1 -0
- package/funcs/dataAppV1Queue.js +97 -0
- package/funcs/dataAppV1Queue.js.map +1 -0
- package/funcs/leaderboardAccountV1LeaderboardPreview.d.ts +14 -0
- package/funcs/leaderboardAccountV1LeaderboardPreview.d.ts.map +1 -0
- package/funcs/leaderboardAccountV1LeaderboardPreview.js +99 -0
- package/funcs/leaderboardAccountV1LeaderboardPreview.js.map +1 -0
- package/funcs/publicAccountV1Queue.d.ts +2 -2
- package/funcs/publicAccountV1Queue.d.ts.map +1 -1
- package/funcs/publicAccountV1Queue.js +3 -3
- package/funcs/publicAccountV1Queue.js.map +1 -1
- package/funcs/publicAppV1Queue.d.ts +14 -0
- package/funcs/publicAppV1Queue.d.ts.map +1 -0
- package/funcs/publicAppV1Queue.js +97 -0
- package/funcs/publicAppV1Queue.js.map +1 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- 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/leaderboardapp.d.ts +21 -0
- package/models/components/leaderboardapp.d.ts.map +1 -0
- package/models/components/leaderboardapp.js +46 -0
- package/models/components/leaderboardapp.js.map +1 -0
- package/models/components/v1accountleaderboardpreviewrequestbody.d.ts +110 -0
- package/models/components/v1accountleaderboardpreviewrequestbody.d.ts.map +1 -0
- package/models/components/v1accountleaderboardpreviewrequestbody.js +90 -0
- package/models/components/v1accountleaderboardpreviewrequestbody.js.map +1 -0
- package/models/components/v1accountleaderboardpreviewresponsebody.d.ts +38 -0
- package/models/components/v1accountleaderboardpreviewresponsebody.d.ts.map +1 -0
- package/models/components/v1accountleaderboardpreviewresponsebody.js +63 -0
- package/models/components/v1accountleaderboardpreviewresponsebody.js.map +1 -0
- package/models/components/v1accountleaderboardrequestbody.d.ts +5 -2
- package/models/components/v1accountleaderboardrequestbody.d.ts.map +1 -1
- package/models/components/v1accountleaderboardrequestbody.js +3 -2
- package/models/components/v1accountleaderboardrequestbody.js.map +1 -1
- package/models/components/v1accountleaderboardresponsebody.d.ts +7 -7
- package/models/components/v1accountleaderboardresponsebody.d.ts.map +1 -1
- package/models/components/v1accountleaderboardresponsebody.js +8 -7
- package/models/components/v1accountleaderboardresponsebody.js.map +1 -1
- package/models/operations/accountv1leaderboardpreview.d.ts +31 -0
- package/models/operations/accountv1leaderboardpreview.d.ts.map +1 -0
- package/models/operations/accountv1leaderboardpreview.js +66 -0
- package/models/operations/accountv1leaderboardpreview.js.map +1 -0
- package/models/operations/appv1queue.d.ts +32 -0
- package/models/operations/appv1queue.d.ts.map +1 -0
- package/models/operations/appv1queue.js +64 -0
- package/models/operations/appv1queue.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/account.d.ts +8 -0
- package/sdk/account.d.ts.map +1 -1
- package/sdk/account.js +14 -0
- package/sdk/account.js.map +1 -1
- package/sdk/app.d.ts +1 -1
- package/sdk/app.d.ts.map +1 -1
- package/sdk/app.js +3 -3
- package/sdk/app.js.map +1 -1
- package/sdk/data.d.ts +5 -1
- package/sdk/data.d.ts.map +1 -1
- package/sdk/data.js +8 -1
- package/sdk/data.js.map +1 -1
- package/sdk/leaderboard.d.ts +4 -0
- package/sdk/leaderboard.d.ts.map +1 -1
- package/sdk/leaderboard.js +7 -0
- package/sdk/leaderboard.js.map +1 -1
- package/sdk/public.d.ts +5 -1
- package/sdk/public.d.ts.map +1 -1
- package/sdk/public.js +8 -1
- package/sdk/public.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/accountAccountV1LeaderboardPreview.ts +132 -0
- package/src/funcs/accountAccountV1Queue.ts +127 -0
- package/src/funcs/{appAccountV1Queue.ts → appAppV1Queue.ts} +5 -5
- package/src/funcs/dataAccountV1Queue.ts +4 -4
- package/src/funcs/dataAppV1Queue.ts +127 -0
- package/src/funcs/leaderboardAccountV1LeaderboardPreview.ts +132 -0
- package/src/funcs/publicAccountV1Queue.ts +4 -4
- package/src/funcs/publicAppV1Queue.ts +127 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/index.ts +3 -0
- package/src/models/components/leaderboardapp.ts +37 -0
- package/src/models/components/v1accountleaderboardpreviewrequestbody.ts +110 -0
- package/src/models/components/v1accountleaderboardpreviewresponsebody.ts +73 -0
- package/src/models/components/v1accountleaderboardrequestbody.ts +8 -4
- package/src/models/components/v1accountleaderboardresponsebody.ts +18 -17
- package/src/models/operations/accountv1leaderboardpreview.ts +74 -0
- package/src/models/operations/appv1queue.ts +61 -0
- package/src/models/operations/index.ts +2 -0
- package/src/sdk/account.ts +30 -0
- package/src/sdk/app.ts +4 -4
- package/src/sdk/data.ts +17 -2
- package/src/sdk/leaderboard.ts +15 -0
- package/src/sdk/public.ts +17 -2
- package/src/sdk/sdk.ts +5 -5
- package/funcs/appAccountV1Queue.d.ts.map +0 -1
- package/funcs/appAccountV1Queue.js.map +0 -1
package/sdk/sdk.js
CHANGED
|
@@ -46,6 +46,10 @@ class SteamSets extends sdks_js_1.ClientSDK {
|
|
|
46
46
|
var _a;
|
|
47
47
|
return ((_a = this._public) !== null && _a !== void 0 ? _a : (this._public = new public_js_1.Public(this._options)));
|
|
48
48
|
}
|
|
49
|
+
get leaderboard() {
|
|
50
|
+
var _a;
|
|
51
|
+
return ((_a = this._leaderboard) !== null && _a !== void 0 ? _a : (this._leaderboard = new leaderboard_js_1.Leaderboard(this._options)));
|
|
52
|
+
}
|
|
49
53
|
get app() {
|
|
50
54
|
var _a;
|
|
51
55
|
return ((_a = this._app) !== null && _a !== void 0 ? _a : (this._app = new app_js_1.App(this._options)));
|
|
@@ -54,10 +58,6 @@ class SteamSets extends sdks_js_1.ClientSDK {
|
|
|
54
58
|
var _a;
|
|
55
59
|
return ((_a = this._badge) !== null && _a !== void 0 ? _a : (this._badge = new badge_js_1.Badge(this._options)));
|
|
56
60
|
}
|
|
57
|
-
get leaderboard() {
|
|
58
|
-
var _a;
|
|
59
|
-
return ((_a = this._leaderboard) !== null && _a !== void 0 ? _a : (this._leaderboard = new leaderboard_js_1.Leaderboard(this._options)));
|
|
60
|
-
}
|
|
61
61
|
get liveness() {
|
|
62
62
|
var _a;
|
|
63
63
|
return ((_a = this._liveness) !== null && _a !== void 0 ? _a : (this._liveness = new liveness_js_1.Liveness(this._options)));
|
package/sdk/sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,6CAAuC;AACvC,qCAA+B;AAC/B,yCAAmC;AACnC,mDAA6C;AAC7C,uCAAiC;AACjC,iDAA2C;AAC3C,qDAA+C;AAC/C,+CAAyC;AACzC,+CAAyC;AACzC,2CAAqC;AACrC,6CAAuC;AACvC,+CAAyC;AAEzC,MAAa,SAAU,SAAQ,mBAAS;IAEtC,IAAI,OAAO;;QACT,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAGD,IAAI,UAAU;;QACZ,OAAO,OAAC,IAAI,CAAC,WAAW,oCAAhB,IAAI,CAAC,WAAW,GAAK,IAAI,0BAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAGD,IAAI,SAAS;;QACX,OAAO,OAAC,IAAI,CAAC,UAAU,oCAAf,IAAI,CAAC,UAAU,GAAK,IAAI,wBAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAGD,IAAI,OAAO;;QACT,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAGD,IAAI,QAAQ;;QACV,OAAO,OAAC,IAAI,CAAC,SAAS,oCAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;IAGD,IAAI,IAAI;;QACN,OAAO,OAAC,IAAI,CAAC,KAAK,oCAAV,IAAI,CAAC,KAAK,GAAK,IAAI,cAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAClD,CAAC;IAGD,IAAI,MAAM;;QACR,OAAO,OAAC,IAAI,CAAC,OAAO,oCAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,kBAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtD,CAAC;IAGD,IAAI,
|
|
1
|
+
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,6CAAuC;AACvC,qCAA+B;AAC/B,yCAAmC;AACnC,mDAA6C;AAC7C,uCAAiC;AACjC,iDAA2C;AAC3C,qDAA+C;AAC/C,+CAAyC;AACzC,+CAAyC;AACzC,2CAAqC;AACrC,6CAAuC;AACvC,+CAAyC;AAEzC,MAAa,SAAU,SAAQ,mBAAS;IAEtC,IAAI,OAAO;;QACT,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAGD,IAAI,UAAU;;QACZ,OAAO,OAAC,IAAI,CAAC,WAAW,oCAAhB,IAAI,CAAC,WAAW,GAAK,IAAI,0BAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAGD,IAAI,SAAS;;QACX,OAAO,OAAC,IAAI,CAAC,UAAU,oCAAf,IAAI,CAAC,UAAU,GAAK,IAAI,wBAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAGD,IAAI,OAAO;;QACT,OAAO,OAAC,IAAI,CAAC,QAAQ,oCAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxD,CAAC;IAGD,IAAI,QAAQ;;QACV,OAAO,OAAC,IAAI,CAAC,SAAS,oCAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;IAGD,IAAI,IAAI;;QACN,OAAO,OAAC,IAAI,CAAC,KAAK,oCAAV,IAAI,CAAC,KAAK,GAAK,IAAI,cAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAClD,CAAC;IAGD,IAAI,MAAM;;QACR,OAAO,OAAC,IAAI,CAAC,OAAO,oCAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,kBAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtD,CAAC;IAGD,IAAI,WAAW;;QACb,OAAO,OAAC,IAAI,CAAC,YAAY,oCAAjB,IAAI,CAAC,YAAY,GAAK,IAAI,4BAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAChE,CAAC;IAGD,IAAI,GAAG;;QACL,OAAO,OAAC,IAAI,CAAC,IAAI,oCAAT,IAAI,CAAC,IAAI,GAAK,IAAI,YAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAChD,CAAC;IAGD,IAAI,KAAK;;QACP,OAAO,OAAC,IAAI,CAAC,MAAM,oCAAX,IAAI,CAAC,MAAM,GAAK,IAAI,gBAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACpD,CAAC;IAGD,IAAI,QAAQ;;QACV,OAAO,OAAC,IAAI,CAAC,SAAS,oCAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;IAGD,IAAI,QAAQ;;QACV,OAAO,OAAC,IAAI,CAAC,SAAS,oCAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;CACF;AA5DD,8BA4DC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SteamSetsCore } from "../core.js";
|
|
6
|
+
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as components from "../models/components/index.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectionError,
|
|
15
|
+
InvalidRequestError,
|
|
16
|
+
RequestAbortedError,
|
|
17
|
+
RequestTimeoutError,
|
|
18
|
+
UnexpectedClientError,
|
|
19
|
+
} from "../models/errors/httpclienterrors.js";
|
|
20
|
+
import * as errors from "../models/errors/index.js";
|
|
21
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
22
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
+
import * as operations from "../models/operations/index.js";
|
|
24
|
+
import { Result } from "../types/fp.js";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Preview what a given score would result in
|
|
28
|
+
*/
|
|
29
|
+
export async function accountAccountV1LeaderboardPreview(
|
|
30
|
+
client: SteamSetsCore,
|
|
31
|
+
request: components.V1AccountLeaderboardPreviewRequestBody,
|
|
32
|
+
options?: RequestOptions,
|
|
33
|
+
): Promise<
|
|
34
|
+
Result<
|
|
35
|
+
operations.AccountV1LeaderboardPreviewResponse,
|
|
36
|
+
| errors.ErrorModel
|
|
37
|
+
| SDKError
|
|
38
|
+
| SDKValidationError
|
|
39
|
+
| UnexpectedClientError
|
|
40
|
+
| InvalidRequestError
|
|
41
|
+
| RequestAbortedError
|
|
42
|
+
| RequestTimeoutError
|
|
43
|
+
| ConnectionError
|
|
44
|
+
>
|
|
45
|
+
> {
|
|
46
|
+
const input = request;
|
|
47
|
+
|
|
48
|
+
const parsed = safeParse(
|
|
49
|
+
input,
|
|
50
|
+
(value) =>
|
|
51
|
+
components.V1AccountLeaderboardPreviewRequestBody$outboundSchema.parse(
|
|
52
|
+
value,
|
|
53
|
+
),
|
|
54
|
+
"Input validation failed",
|
|
55
|
+
);
|
|
56
|
+
if (!parsed.ok) {
|
|
57
|
+
return parsed;
|
|
58
|
+
}
|
|
59
|
+
const payload = parsed.value;
|
|
60
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
61
|
+
|
|
62
|
+
const path = pathToFunc("/account.v1.AccountService/GetLeaderboardPreview")();
|
|
63
|
+
|
|
64
|
+
const headers = new Headers({
|
|
65
|
+
"Content-Type": "application/json",
|
|
66
|
+
Accept: "application/json",
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
const secConfig = await extractSecurity(client._options.session);
|
|
70
|
+
const securityInput = secConfig == null ? {} : { session: secConfig };
|
|
71
|
+
const context = {
|
|
72
|
+
operationID: "account.v1.leaderboardPreview",
|
|
73
|
+
oAuth2Scopes: [],
|
|
74
|
+
securitySource: client._options.session,
|
|
75
|
+
};
|
|
76
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
77
|
+
|
|
78
|
+
const requestRes = client._createRequest(context, {
|
|
79
|
+
security: requestSecurity,
|
|
80
|
+
method: "POST",
|
|
81
|
+
path: path,
|
|
82
|
+
headers: headers,
|
|
83
|
+
body: body,
|
|
84
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
85
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
86
|
+
}, options);
|
|
87
|
+
if (!requestRes.ok) {
|
|
88
|
+
return requestRes;
|
|
89
|
+
}
|
|
90
|
+
const req = requestRes.value;
|
|
91
|
+
|
|
92
|
+
const doResult = await client._do(req, {
|
|
93
|
+
context,
|
|
94
|
+
errorCodes: ["404", "422", "4XX", "500", "5XX"],
|
|
95
|
+
retryConfig: options?.retries
|
|
96
|
+
|| client._options.retryConfig,
|
|
97
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
98
|
+
});
|
|
99
|
+
if (!doResult.ok) {
|
|
100
|
+
return doResult;
|
|
101
|
+
}
|
|
102
|
+
const response = doResult.value;
|
|
103
|
+
|
|
104
|
+
const responseFields = {
|
|
105
|
+
HttpMeta: { Response: response, Request: req },
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
const [result] = await M.match<
|
|
109
|
+
operations.AccountV1LeaderboardPreviewResponse,
|
|
110
|
+
| errors.ErrorModel
|
|
111
|
+
| SDKError
|
|
112
|
+
| SDKValidationError
|
|
113
|
+
| UnexpectedClientError
|
|
114
|
+
| InvalidRequestError
|
|
115
|
+
| RequestAbortedError
|
|
116
|
+
| RequestTimeoutError
|
|
117
|
+
| ConnectionError
|
|
118
|
+
>(
|
|
119
|
+
M.json(200, operations.AccountV1LeaderboardPreviewResponse$inboundSchema, {
|
|
120
|
+
key: "V1AccountLeaderboardPreviewResponseBody",
|
|
121
|
+
}),
|
|
122
|
+
M.jsonErr([404, 422, 500], errors.ErrorModel$inboundSchema, {
|
|
123
|
+
ctype: "application/problem+json",
|
|
124
|
+
}),
|
|
125
|
+
M.fail(["4XX", "5XX"]),
|
|
126
|
+
)(response, req, { extraFields: responseFields });
|
|
127
|
+
if (!result.ok) {
|
|
128
|
+
return result;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return result;
|
|
132
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SteamSetsCore } from "../core.js";
|
|
6
|
+
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as components from "../models/components/index.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectionError,
|
|
15
|
+
InvalidRequestError,
|
|
16
|
+
RequestAbortedError,
|
|
17
|
+
RequestTimeoutError,
|
|
18
|
+
UnexpectedClientError,
|
|
19
|
+
} from "../models/errors/httpclienterrors.js";
|
|
20
|
+
import * as errors from "../models/errors/index.js";
|
|
21
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
22
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
+
import * as operations from "../models/operations/index.js";
|
|
24
|
+
import { Result } from "../types/fp.js";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Queue an account for processing
|
|
28
|
+
*/
|
|
29
|
+
export async function accountAccountV1Queue(
|
|
30
|
+
client: SteamSetsCore,
|
|
31
|
+
request: components.AccountSearch,
|
|
32
|
+
options?: RequestOptions,
|
|
33
|
+
): Promise<
|
|
34
|
+
Result<
|
|
35
|
+
operations.AccountV1QueueResponse,
|
|
36
|
+
| errors.ErrorModel
|
|
37
|
+
| SDKError
|
|
38
|
+
| SDKValidationError
|
|
39
|
+
| UnexpectedClientError
|
|
40
|
+
| InvalidRequestError
|
|
41
|
+
| RequestAbortedError
|
|
42
|
+
| RequestTimeoutError
|
|
43
|
+
| ConnectionError
|
|
44
|
+
>
|
|
45
|
+
> {
|
|
46
|
+
const input = request;
|
|
47
|
+
|
|
48
|
+
const parsed = safeParse(
|
|
49
|
+
input,
|
|
50
|
+
(value) => components.AccountSearch$outboundSchema.parse(value),
|
|
51
|
+
"Input validation failed",
|
|
52
|
+
);
|
|
53
|
+
if (!parsed.ok) {
|
|
54
|
+
return parsed;
|
|
55
|
+
}
|
|
56
|
+
const payload = parsed.value;
|
|
57
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
58
|
+
|
|
59
|
+
const path = pathToFunc("/account.v1.AccountService/Queue")();
|
|
60
|
+
|
|
61
|
+
const headers = new Headers({
|
|
62
|
+
"Content-Type": "application/json",
|
|
63
|
+
Accept: "application/problem+json",
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const secConfig = await extractSecurity(client._options.session);
|
|
67
|
+
const securityInput = secConfig == null ? {} : { session: secConfig };
|
|
68
|
+
const context = {
|
|
69
|
+
operationID: "account.v1.queue",
|
|
70
|
+
oAuth2Scopes: [],
|
|
71
|
+
securitySource: client._options.session,
|
|
72
|
+
};
|
|
73
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
74
|
+
|
|
75
|
+
const requestRes = client._createRequest(context, {
|
|
76
|
+
security: requestSecurity,
|
|
77
|
+
method: "POST",
|
|
78
|
+
path: path,
|
|
79
|
+
headers: headers,
|
|
80
|
+
body: body,
|
|
81
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
82
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
83
|
+
}, options);
|
|
84
|
+
if (!requestRes.ok) {
|
|
85
|
+
return requestRes;
|
|
86
|
+
}
|
|
87
|
+
const req = requestRes.value;
|
|
88
|
+
|
|
89
|
+
const doResult = await client._do(req, {
|
|
90
|
+
context,
|
|
91
|
+
errorCodes: ["400", "422", "429", "4XX", "500", "5XX"],
|
|
92
|
+
retryConfig: options?.retries
|
|
93
|
+
|| client._options.retryConfig,
|
|
94
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
95
|
+
});
|
|
96
|
+
if (!doResult.ok) {
|
|
97
|
+
return doResult;
|
|
98
|
+
}
|
|
99
|
+
const response = doResult.value;
|
|
100
|
+
|
|
101
|
+
const responseFields = {
|
|
102
|
+
HttpMeta: { Response: response, Request: req },
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const [result] = await M.match<
|
|
106
|
+
operations.AccountV1QueueResponse,
|
|
107
|
+
| errors.ErrorModel
|
|
108
|
+
| SDKError
|
|
109
|
+
| SDKValidationError
|
|
110
|
+
| UnexpectedClientError
|
|
111
|
+
| InvalidRequestError
|
|
112
|
+
| RequestAbortedError
|
|
113
|
+
| RequestTimeoutError
|
|
114
|
+
| ConnectionError
|
|
115
|
+
>(
|
|
116
|
+
M.nil(204, operations.AccountV1QueueResponse$inboundSchema, { hdrs: true }),
|
|
117
|
+
M.jsonErr([400, 422, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
118
|
+
ctype: "application/problem+json",
|
|
119
|
+
}),
|
|
120
|
+
M.fail(["4XX", "5XX"]),
|
|
121
|
+
)(response, req, { extraFields: responseFields });
|
|
122
|
+
if (!result.ok) {
|
|
123
|
+
return result;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return result;
|
|
127
|
+
}
|
|
@@ -26,13 +26,13 @@ import { Result } from "../types/fp.js";
|
|
|
26
26
|
/**
|
|
27
27
|
* Queue a app for processing
|
|
28
28
|
*/
|
|
29
|
-
export async function
|
|
29
|
+
export async function appAppV1Queue(
|
|
30
30
|
client: SteamSetsCore,
|
|
31
31
|
request: components.AppSearch,
|
|
32
32
|
options?: RequestOptions,
|
|
33
33
|
): Promise<
|
|
34
34
|
Result<
|
|
35
|
-
operations.
|
|
35
|
+
operations.AppV1QueueResponse,
|
|
36
36
|
| errors.ErrorModel
|
|
37
37
|
| SDKError
|
|
38
38
|
| SDKValidationError
|
|
@@ -66,7 +66,7 @@ export async function appAccountV1Queue(
|
|
|
66
66
|
const secConfig = await extractSecurity(client._options.session);
|
|
67
67
|
const securityInput = secConfig == null ? {} : { session: secConfig };
|
|
68
68
|
const context = {
|
|
69
|
-
operationID: "
|
|
69
|
+
operationID: "app.v1.queue",
|
|
70
70
|
oAuth2Scopes: [],
|
|
71
71
|
securitySource: client._options.session,
|
|
72
72
|
};
|
|
@@ -103,7 +103,7 @@ export async function appAccountV1Queue(
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
const [result] = await M.match<
|
|
106
|
-
operations.
|
|
106
|
+
operations.AppV1QueueResponse,
|
|
107
107
|
| errors.ErrorModel
|
|
108
108
|
| SDKError
|
|
109
109
|
| SDKValidationError
|
|
@@ -113,7 +113,7 @@ export async function appAccountV1Queue(
|
|
|
113
113
|
| RequestTimeoutError
|
|
114
114
|
| ConnectionError
|
|
115
115
|
>(
|
|
116
|
-
M.nil(204, operations.
|
|
116
|
+
M.nil(204, operations.AppV1QueueResponse$inboundSchema, { hdrs: true }),
|
|
117
117
|
M.jsonErr([400, 422, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
118
118
|
ctype: "application/problem+json",
|
|
119
119
|
}),
|
|
@@ -24,11 +24,11 @@ import * as operations from "../models/operations/index.js";
|
|
|
24
24
|
import { Result } from "../types/fp.js";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Queue
|
|
27
|
+
* Queue an account for processing
|
|
28
28
|
*/
|
|
29
29
|
export async function dataAccountV1Queue(
|
|
30
30
|
client: SteamSetsCore,
|
|
31
|
-
request: components.
|
|
31
|
+
request: components.AccountSearch,
|
|
32
32
|
options?: RequestOptions,
|
|
33
33
|
): Promise<
|
|
34
34
|
Result<
|
|
@@ -47,7 +47,7 @@ export async function dataAccountV1Queue(
|
|
|
47
47
|
|
|
48
48
|
const parsed = safeParse(
|
|
49
49
|
input,
|
|
50
|
-
(value) => components.
|
|
50
|
+
(value) => components.AccountSearch$outboundSchema.parse(value),
|
|
51
51
|
"Input validation failed",
|
|
52
52
|
);
|
|
53
53
|
if (!parsed.ok) {
|
|
@@ -56,7 +56,7 @@ export async function dataAccountV1Queue(
|
|
|
56
56
|
const payload = parsed.value;
|
|
57
57
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
58
|
|
|
59
|
-
const path = pathToFunc("/
|
|
59
|
+
const path = pathToFunc("/account.v1.AccountService/Queue")();
|
|
60
60
|
|
|
61
61
|
const headers = new Headers({
|
|
62
62
|
"Content-Type": "application/json",
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SteamSetsCore } from "../core.js";
|
|
6
|
+
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as components from "../models/components/index.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectionError,
|
|
15
|
+
InvalidRequestError,
|
|
16
|
+
RequestAbortedError,
|
|
17
|
+
RequestTimeoutError,
|
|
18
|
+
UnexpectedClientError,
|
|
19
|
+
} from "../models/errors/httpclienterrors.js";
|
|
20
|
+
import * as errors from "../models/errors/index.js";
|
|
21
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
22
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
+
import * as operations from "../models/operations/index.js";
|
|
24
|
+
import { Result } from "../types/fp.js";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Queue a app for processing
|
|
28
|
+
*/
|
|
29
|
+
export async function dataAppV1Queue(
|
|
30
|
+
client: SteamSetsCore,
|
|
31
|
+
request: components.AppSearch,
|
|
32
|
+
options?: RequestOptions,
|
|
33
|
+
): Promise<
|
|
34
|
+
Result<
|
|
35
|
+
operations.AppV1QueueResponse,
|
|
36
|
+
| errors.ErrorModel
|
|
37
|
+
| SDKError
|
|
38
|
+
| SDKValidationError
|
|
39
|
+
| UnexpectedClientError
|
|
40
|
+
| InvalidRequestError
|
|
41
|
+
| RequestAbortedError
|
|
42
|
+
| RequestTimeoutError
|
|
43
|
+
| ConnectionError
|
|
44
|
+
>
|
|
45
|
+
> {
|
|
46
|
+
const input = request;
|
|
47
|
+
|
|
48
|
+
const parsed = safeParse(
|
|
49
|
+
input,
|
|
50
|
+
(value) => components.AppSearch$outboundSchema.parse(value),
|
|
51
|
+
"Input validation failed",
|
|
52
|
+
);
|
|
53
|
+
if (!parsed.ok) {
|
|
54
|
+
return parsed;
|
|
55
|
+
}
|
|
56
|
+
const payload = parsed.value;
|
|
57
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
58
|
+
|
|
59
|
+
const path = pathToFunc("/app.v1.AppService/Queue")();
|
|
60
|
+
|
|
61
|
+
const headers = new Headers({
|
|
62
|
+
"Content-Type": "application/json",
|
|
63
|
+
Accept: "application/problem+json",
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const secConfig = await extractSecurity(client._options.session);
|
|
67
|
+
const securityInput = secConfig == null ? {} : { session: secConfig };
|
|
68
|
+
const context = {
|
|
69
|
+
operationID: "app.v1.queue",
|
|
70
|
+
oAuth2Scopes: [],
|
|
71
|
+
securitySource: client._options.session,
|
|
72
|
+
};
|
|
73
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
74
|
+
|
|
75
|
+
const requestRes = client._createRequest(context, {
|
|
76
|
+
security: requestSecurity,
|
|
77
|
+
method: "POST",
|
|
78
|
+
path: path,
|
|
79
|
+
headers: headers,
|
|
80
|
+
body: body,
|
|
81
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
82
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
83
|
+
}, options);
|
|
84
|
+
if (!requestRes.ok) {
|
|
85
|
+
return requestRes;
|
|
86
|
+
}
|
|
87
|
+
const req = requestRes.value;
|
|
88
|
+
|
|
89
|
+
const doResult = await client._do(req, {
|
|
90
|
+
context,
|
|
91
|
+
errorCodes: ["400", "422", "429", "4XX", "500", "5XX"],
|
|
92
|
+
retryConfig: options?.retries
|
|
93
|
+
|| client._options.retryConfig,
|
|
94
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
95
|
+
});
|
|
96
|
+
if (!doResult.ok) {
|
|
97
|
+
return doResult;
|
|
98
|
+
}
|
|
99
|
+
const response = doResult.value;
|
|
100
|
+
|
|
101
|
+
const responseFields = {
|
|
102
|
+
HttpMeta: { Response: response, Request: req },
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const [result] = await M.match<
|
|
106
|
+
operations.AppV1QueueResponse,
|
|
107
|
+
| errors.ErrorModel
|
|
108
|
+
| SDKError
|
|
109
|
+
| SDKValidationError
|
|
110
|
+
| UnexpectedClientError
|
|
111
|
+
| InvalidRequestError
|
|
112
|
+
| RequestAbortedError
|
|
113
|
+
| RequestTimeoutError
|
|
114
|
+
| ConnectionError
|
|
115
|
+
>(
|
|
116
|
+
M.nil(204, operations.AppV1QueueResponse$inboundSchema, { hdrs: true }),
|
|
117
|
+
M.jsonErr([400, 422, 429, 500], errors.ErrorModel$inboundSchema, {
|
|
118
|
+
ctype: "application/problem+json",
|
|
119
|
+
}),
|
|
120
|
+
M.fail(["4XX", "5XX"]),
|
|
121
|
+
)(response, req, { extraFields: responseFields });
|
|
122
|
+
if (!result.ok) {
|
|
123
|
+
return result;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return result;
|
|
127
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SteamSetsCore } from "../core.js";
|
|
6
|
+
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as components from "../models/components/index.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectionError,
|
|
15
|
+
InvalidRequestError,
|
|
16
|
+
RequestAbortedError,
|
|
17
|
+
RequestTimeoutError,
|
|
18
|
+
UnexpectedClientError,
|
|
19
|
+
} from "../models/errors/httpclienterrors.js";
|
|
20
|
+
import * as errors from "../models/errors/index.js";
|
|
21
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
22
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
23
|
+
import * as operations from "../models/operations/index.js";
|
|
24
|
+
import { Result } from "../types/fp.js";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Preview what a given score would result in
|
|
28
|
+
*/
|
|
29
|
+
export async function leaderboardAccountV1LeaderboardPreview(
|
|
30
|
+
client: SteamSetsCore,
|
|
31
|
+
request: components.V1AccountLeaderboardPreviewRequestBody,
|
|
32
|
+
options?: RequestOptions,
|
|
33
|
+
): Promise<
|
|
34
|
+
Result<
|
|
35
|
+
operations.AccountV1LeaderboardPreviewResponse,
|
|
36
|
+
| errors.ErrorModel
|
|
37
|
+
| SDKError
|
|
38
|
+
| SDKValidationError
|
|
39
|
+
| UnexpectedClientError
|
|
40
|
+
| InvalidRequestError
|
|
41
|
+
| RequestAbortedError
|
|
42
|
+
| RequestTimeoutError
|
|
43
|
+
| ConnectionError
|
|
44
|
+
>
|
|
45
|
+
> {
|
|
46
|
+
const input = request;
|
|
47
|
+
|
|
48
|
+
const parsed = safeParse(
|
|
49
|
+
input,
|
|
50
|
+
(value) =>
|
|
51
|
+
components.V1AccountLeaderboardPreviewRequestBody$outboundSchema.parse(
|
|
52
|
+
value,
|
|
53
|
+
),
|
|
54
|
+
"Input validation failed",
|
|
55
|
+
);
|
|
56
|
+
if (!parsed.ok) {
|
|
57
|
+
return parsed;
|
|
58
|
+
}
|
|
59
|
+
const payload = parsed.value;
|
|
60
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
61
|
+
|
|
62
|
+
const path = pathToFunc("/account.v1.AccountService/GetLeaderboardPreview")();
|
|
63
|
+
|
|
64
|
+
const headers = new Headers({
|
|
65
|
+
"Content-Type": "application/json",
|
|
66
|
+
Accept: "application/json",
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
const secConfig = await extractSecurity(client._options.session);
|
|
70
|
+
const securityInput = secConfig == null ? {} : { session: secConfig };
|
|
71
|
+
const context = {
|
|
72
|
+
operationID: "account.v1.leaderboardPreview",
|
|
73
|
+
oAuth2Scopes: [],
|
|
74
|
+
securitySource: client._options.session,
|
|
75
|
+
};
|
|
76
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
77
|
+
|
|
78
|
+
const requestRes = client._createRequest(context, {
|
|
79
|
+
security: requestSecurity,
|
|
80
|
+
method: "POST",
|
|
81
|
+
path: path,
|
|
82
|
+
headers: headers,
|
|
83
|
+
body: body,
|
|
84
|
+
uaHeader: "x-speakeasy-user-agent",
|
|
85
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
86
|
+
}, options);
|
|
87
|
+
if (!requestRes.ok) {
|
|
88
|
+
return requestRes;
|
|
89
|
+
}
|
|
90
|
+
const req = requestRes.value;
|
|
91
|
+
|
|
92
|
+
const doResult = await client._do(req, {
|
|
93
|
+
context,
|
|
94
|
+
errorCodes: ["404", "422", "4XX", "500", "5XX"],
|
|
95
|
+
retryConfig: options?.retries
|
|
96
|
+
|| client._options.retryConfig,
|
|
97
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
98
|
+
});
|
|
99
|
+
if (!doResult.ok) {
|
|
100
|
+
return doResult;
|
|
101
|
+
}
|
|
102
|
+
const response = doResult.value;
|
|
103
|
+
|
|
104
|
+
const responseFields = {
|
|
105
|
+
HttpMeta: { Response: response, Request: req },
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
const [result] = await M.match<
|
|
109
|
+
operations.AccountV1LeaderboardPreviewResponse,
|
|
110
|
+
| errors.ErrorModel
|
|
111
|
+
| SDKError
|
|
112
|
+
| SDKValidationError
|
|
113
|
+
| UnexpectedClientError
|
|
114
|
+
| InvalidRequestError
|
|
115
|
+
| RequestAbortedError
|
|
116
|
+
| RequestTimeoutError
|
|
117
|
+
| ConnectionError
|
|
118
|
+
>(
|
|
119
|
+
M.json(200, operations.AccountV1LeaderboardPreviewResponse$inboundSchema, {
|
|
120
|
+
key: "V1AccountLeaderboardPreviewResponseBody",
|
|
121
|
+
}),
|
|
122
|
+
M.jsonErr([404, 422, 500], errors.ErrorModel$inboundSchema, {
|
|
123
|
+
ctype: "application/problem+json",
|
|
124
|
+
}),
|
|
125
|
+
M.fail(["4XX", "5XX"]),
|
|
126
|
+
)(response, req, { extraFields: responseFields });
|
|
127
|
+
if (!result.ok) {
|
|
128
|
+
return result;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return result;
|
|
132
|
+
}
|
|
@@ -24,11 +24,11 @@ import * as operations from "../models/operations/index.js";
|
|
|
24
24
|
import { Result } from "../types/fp.js";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Queue
|
|
27
|
+
* Queue an account for processing
|
|
28
28
|
*/
|
|
29
29
|
export async function publicAccountV1Queue(
|
|
30
30
|
client: SteamSetsCore,
|
|
31
|
-
request: components.
|
|
31
|
+
request: components.AccountSearch,
|
|
32
32
|
options?: RequestOptions,
|
|
33
33
|
): Promise<
|
|
34
34
|
Result<
|
|
@@ -47,7 +47,7 @@ export async function publicAccountV1Queue(
|
|
|
47
47
|
|
|
48
48
|
const parsed = safeParse(
|
|
49
49
|
input,
|
|
50
|
-
(value) => components.
|
|
50
|
+
(value) => components.AccountSearch$outboundSchema.parse(value),
|
|
51
51
|
"Input validation failed",
|
|
52
52
|
);
|
|
53
53
|
if (!parsed.ok) {
|
|
@@ -56,7 +56,7 @@ export async function publicAccountV1Queue(
|
|
|
56
56
|
const payload = parsed.value;
|
|
57
57
|
const body = encodeJSON("body", payload, { explode: true });
|
|
58
58
|
|
|
59
|
-
const path = pathToFunc("/
|
|
59
|
+
const path = pathToFunc("/account.v1.AccountService/Queue")();
|
|
60
60
|
|
|
61
61
|
const headers = new Headers({
|
|
62
62
|
"Content-Type": "application/json",
|