@steamsets/client-ts 0.31.1 → 0.32.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 +4 -4
- package/examples/package-lock.json +3 -3
- 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/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/sdks.js +2 -2
- package/lib/sdks.js.map +1 -1
- package/models/components/accountleaderboardhistory.d.ts +3 -3
- package/models/components/accountleaderboardhistory.d.ts.map +1 -1
- package/models/components/accountleaderboardhistory.js +2 -1
- package/models/components/accountleaderboardhistory.js.map +1 -1
- package/models/components/badge.d.ts +4 -0
- package/models/components/badge.d.ts.map +1 -1
- package/models/components/badge.js +4 -0
- package/models/components/badge.js.map +1 -1
- package/models/components/bestleaderboardrank.d.ts +3 -3
- package/models/components/bestleaderboardrank.d.ts.map +1 -1
- package/models/components/bestleaderboardrank.js +2 -2
- package/models/components/bestleaderboardrank.js.map +1 -1
- package/models/components/chosenrole.d.ts +3 -3
- package/models/components/chosenrole.d.ts.map +1 -1
- package/models/components/chosenrole.js +2 -1
- package/models/components/chosenrole.js.map +1 -1
- package/models/components/connection.d.ts +3 -3
- package/models/components/connection.d.ts.map +1 -1
- package/models/components/connection.js +2 -1
- package/models/components/connection.js.map +1 -1
- package/models/components/developerapp.d.ts +3 -3
- package/models/components/developerapp.d.ts.map +1 -1
- package/models/components/developerapp.js +2 -1
- package/models/components/developerapp.js.map +1 -1
- package/models/components/developerappanalyticsoutcome.d.ts +3 -3
- package/models/components/developerappanalyticsoutcome.d.ts.map +1 -1
- package/models/components/developerappanalyticsoutcome.js +2 -2
- package/models/components/developerappanalyticsoutcome.js.map +1 -1
- package/models/components/image.d.ts +3 -3
- package/models/components/image.d.ts.map +1 -1
- package/models/components/image.js +2 -2
- package/models/components/image.js.map +1 -1
- package/models/components/leaderboardaccount.d.ts +3 -3
- package/models/components/leaderboardaccount.d.ts.map +1 -1
- package/models/components/leaderboardaccount.js +2 -1
- package/models/components/leaderboardaccount.js.map +1 -1
- package/models/components/previewaccount.d.ts +3 -3
- package/models/components/previewaccount.d.ts.map +1 -1
- package/models/components/previewaccount.js +2 -1
- package/models/components/previewaccount.js.map +1 -1
- package/models/components/resource.d.ts +4 -4
- package/models/components/resource.d.ts.map +1 -1
- package/models/components/resource.js +3 -2
- package/models/components/resource.js.map +1 -1
- package/models/components/role.d.ts +3 -3
- package/models/components/role.d.ts.map +1 -1
- package/models/components/role.js +2 -2
- package/models/components/role.js.map +1 -1
- package/models/components/v1accountfriend.d.ts +3 -3
- package/models/components/v1accountfriend.d.ts.map +1 -1
- package/models/components/v1accountfriend.js +2 -1
- package/models/components/v1accountfriend.js.map +1 -1
- package/models/components/v1accountgetinforesponsebody.d.ts +9 -9
- package/models/components/v1accountgetinforesponsebody.d.ts.map +1 -1
- package/models/components/v1accountgetinforesponsebody.js +5 -6
- package/models/components/v1accountgetinforesponsebody.js.map +1 -1
- package/models/components/v1accountgetsettingsbody.d.ts +15 -3
- package/models/components/v1accountgetsettingsbody.d.ts.map +1 -1
- package/models/components/v1accountgetsettingsbody.js +5 -1
- package/models/components/v1accountgetsettingsbody.js.map +1 -1
- package/models/components/v1accountleaderboardaccount.d.ts +3 -3
- package/models/components/v1accountleaderboardaccount.d.ts.map +1 -1
- package/models/components/v1accountleaderboardaccount.js +2 -1
- package/models/components/v1accountleaderboardaccount.js.map +1 -1
- package/models/components/v1accountupdatesettingsrequestbody.d.ts +5 -0
- package/models/components/v1accountupdatesettingsrequestbody.d.ts.map +1 -1
- package/models/components/v1accountupdatesettingsrequestbody.js +1 -0
- package/models/components/v1accountupdatesettingsrequestbody.js.map +1 -1
- package/models/components/v1admingetaccountresponsebody.d.ts +3 -3
- package/models/components/v1admingetaccountresponsebody.d.ts.map +1 -1
- package/models/components/v1admingetaccountresponsebody.js +2 -1
- package/models/components/v1admingetaccountresponsebody.js.map +1 -1
- package/models/components/v1groupleaderboardgroup.d.ts +3 -3
- package/models/components/v1groupleaderboardgroup.d.ts.map +1 -1
- package/models/components/v1groupleaderboardgroup.js +2 -1
- package/models/components/v1groupleaderboardgroup.js.map +1 -1
- package/models/operations/locationgetlocations.d.ts +0 -3
- package/models/operations/locationgetlocations.d.ts.map +1 -1
- package/models/operations/locationgetlocations.js +0 -2
- package/models/operations/locationgetlocations.js.map +1 -1
- package/models/operations/staffliststaff.d.ts +0 -3
- package/models/operations/staffliststaff.d.ts.map +1 -1
- package/models/operations/staffliststaff.js +0 -2
- package/models/operations/staffliststaff.js.map +1 -1
- package/models/operations/statsgetstats.d.ts +0 -3
- package/models/operations/statsgetstats.d.ts.map +1 -1
- package/models/operations/statsgetstats.js +0 -2
- package/models/operations/statsgetstats.js.map +1 -1
- package/package.json +3 -3
- 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/src/funcs/{accountAccountListInventorySets.ts → accountListInventorySets.ts} +1 -1
- package/src/funcs/{accountAccountRefreshInventory.ts → accountRefreshInventory.ts} +1 -1
- package/src/hooks/registration.ts +14 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -2
- package/src/models/components/accountleaderboardhistory.ts +8 -6
- package/src/models/components/badge.ts +8 -0
- package/src/models/components/bestleaderboardrank.ts +8 -4
- package/src/models/components/chosenrole.ts +8 -5
- package/src/models/components/connection.ts +8 -5
- package/src/models/components/developerapp.ts +8 -7
- package/src/models/components/developerappanalyticsoutcome.ts +5 -4
- package/src/models/components/image.ts +8 -4
- package/src/models/components/leaderboardaccount.ts +8 -5
- package/src/models/components/previewaccount.ts +8 -5
- package/src/models/components/resource.ts +13 -8
- package/src/models/components/role.ts +8 -4
- package/src/models/components/v1accountfriend.ts +8 -5
- package/src/models/components/v1accountgetinforesponsebody.ts +23 -15
- package/src/models/components/v1accountgetsettingsbody.ts +23 -5
- package/src/models/components/v1accountleaderboardaccount.ts +8 -5
- package/src/models/components/v1accountupdatesettingsrequestbody.ts +6 -0
- package/src/models/components/v1admingetaccountresponsebody.ts +8 -6
- package/src/models/components/v1groupleaderboardgroup.ts +8 -5
- package/src/models/operations/locationgetlocations.ts +0 -3
- package/src/models/operations/staffliststaff.ts +0 -3
- package/src/models/operations/statsgetstats.ts +0 -3
- package/src/sdk/account.ts +6 -6
- 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
package/sdk/account.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../src/sdk/account.ts"],"names":[],"mappings":"AA0CA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;OAEG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC;IAQnD;;OAEG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AAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
|
package/sdk/account.js
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Account = void 0;
|
|
7
|
-
const accountAccountListInventorySets_js_1 = require("../funcs/accountAccountListInventorySets.js");
|
|
8
|
-
const accountAccountRefreshInventory_js_1 = require("../funcs/accountAccountRefreshInventory.js");
|
|
9
7
|
const accountBookmarkBadge_js_1 = require("../funcs/accountBookmarkBadge.js");
|
|
10
8
|
const accountCreateConnection_js_1 = require("../funcs/accountCreateConnection.js");
|
|
11
9
|
const accountCreateDeveloperApp_js_1 = require("../funcs/accountCreateDeveloperApp.js");
|
|
@@ -24,12 +22,14 @@ const accountListBadgeBookmarks_js_1 = require("../funcs/accountListBadgeBookmar
|
|
|
24
22
|
const accountListBadges_js_1 = require("../funcs/accountListBadges.js");
|
|
25
23
|
const accountListFriends_js_1 = require("../funcs/accountListFriends.js");
|
|
26
24
|
const accountListImages_js_1 = require("../funcs/accountListImages.js");
|
|
25
|
+
const accountListInventorySets_js_1 = require("../funcs/accountListInventorySets.js");
|
|
27
26
|
const accountListLeaderboardHistory_js_1 = require("../funcs/accountListLeaderboardHistory.js");
|
|
28
27
|
const accountListOwnedBadges_js_1 = require("../funcs/accountListOwnedBadges.js");
|
|
29
28
|
const accountLogin_js_1 = require("../funcs/accountLogin.js");
|
|
30
29
|
const accountLogout_js_1 = require("../funcs/accountLogout.js");
|
|
31
30
|
const accountQueueUpdate_js_1 = require("../funcs/accountQueueUpdate.js");
|
|
32
31
|
const accountReconnectConnection_js_1 = require("../funcs/accountReconnectConnection.js");
|
|
32
|
+
const accountRefreshInventory_js_1 = require("../funcs/accountRefreshInventory.js");
|
|
33
33
|
const accountRefreshSession_js_1 = require("../funcs/accountRefreshSession.js");
|
|
34
34
|
const accountSendEmailVerification_js_1 = require("../funcs/accountSendEmailVerification.js");
|
|
35
35
|
const accountSubscribeEmail_js_1 = require("../funcs/accountSubscribeEmail.js");
|
|
@@ -159,8 +159,8 @@ class Account extends sdks_js_1.ClientSDK {
|
|
|
159
159
|
* @remarks
|
|
160
160
|
* Get all trading card sets with ownership information for the authenticated user
|
|
161
161
|
*/
|
|
162
|
-
async
|
|
163
|
-
return (0, fp_js_1.unwrapAsync)((0,
|
|
162
|
+
async listInventorySets(options) {
|
|
163
|
+
return (0, fp_js_1.unwrapAsync)((0, accountListInventorySets_js_1.accountListInventorySets)(this, options));
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
166
|
* Get leaderboard history
|
|
@@ -204,8 +204,8 @@ class Account extends sdks_js_1.ClientSDK {
|
|
|
204
204
|
* @remarks
|
|
205
205
|
* Trigger a refresh of the authenticated user's Steam inventory. Rate limited based on account tier.
|
|
206
206
|
*/
|
|
207
|
-
async
|
|
208
|
-
return (0, fp_js_1.unwrapAsync)((0,
|
|
207
|
+
async refreshInventory(options) {
|
|
208
|
+
return (0, fp_js_1.unwrapAsync)((0, accountRefreshInventory_js_1.accountRefreshInventory)(this, options));
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
211
|
* Refresh session token
|
package/sdk/account.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../src/sdk/account.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../src/sdk/account.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAAwE;AACxE,oFAA8E;AAC9E,wFAAkF;AAClF,oFAA8E;AAC9E,wFAAkF;AAClF,4EAAsE;AACtE,8EAAwE;AACxE,8EAAwE;AACxE,8EAAwE;AACxE,kEAA4D;AAC5D,kEAA4D;AAC5D,wEAAkE;AAClE,0EAAoE;AACpE,oEAA8D;AAC9D,wFAAkF;AAClF,wEAAkE;AAClE,0EAAoE;A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;IAED;;OAEG;IACH,KAAK,CAAC,YAAY,CAChB,OAAoD,EACpD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAwD,EACxD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAuB,EACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,CACf,OAAmD,EACnD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA1gBD,0BA0gBC"}
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Get all trading card sets with ownership information for the authenticated user
|
|
31
31
|
*/
|
|
32
|
-
export function
|
|
32
|
+
export function accountListInventorySets(
|
|
33
33
|
client: SteamSetsCore,
|
|
34
34
|
options?: RequestOptions,
|
|
35
35
|
): APIPromise<
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Trigger a refresh of the authenticated user's Steam inventory. Rate limited based on account tier.
|
|
31
31
|
*/
|
|
32
|
-
export function
|
|
32
|
+
export function accountRefreshInventory(
|
|
33
33
|
client: SteamSetsCore,
|
|
34
34
|
options?: RequestOptions,
|
|
35
35
|
): APIPromise<
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Hooks } from "./types.js";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* This file is only ever generated once on the first generation and then is free to be modified.
|
|
5
|
+
* Any hooks you wish to add should be registered in the initHooks function. Feel free to define them
|
|
6
|
+
* in this file or in separate files in the hooks folder.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
// @ts-expect-error remove this line when you add your first hook and hooks is used
|
|
10
|
+
export function initHooks(hooks: Hooks) {
|
|
11
|
+
// Add hooks by calling hooks.register{ClientInit/BeforeCreateRequest/BeforeRequest/AfterSuccess/AfterError}Hook
|
|
12
|
+
// with an instance of a hook that implements that specific Hook interface
|
|
13
|
+
// Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
|
|
14
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -59,8 +59,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
59
59
|
export const SDK_METADATA = {
|
|
60
60
|
language: "typescript",
|
|
61
61
|
openapiDocVersion: "1.0.0",
|
|
62
|
-
sdkVersion: "0.
|
|
63
|
-
genVersion: "2.
|
|
62
|
+
sdkVersion: "0.32.0",
|
|
63
|
+
genVersion: "2.812.2",
|
|
64
64
|
userAgent:
|
|
65
|
-
"speakeasy-sdk/typescript 0.
|
|
65
|
+
"speakeasy-sdk/typescript 0.32.0 2.812.2 1.0.0 @steamsets/client-ts",
|
|
66
66
|
} as const;
|
package/src/lib/sdks.ts
CHANGED
|
@@ -304,9 +304,9 @@ export class ClientSDK {
|
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
const jsonLikeContentTypeRE =
|
|
307
|
+
const jsonLikeContentTypeRE = /^(application|text)\/([^+]+\+)*json.*/;
|
|
308
308
|
const jsonlLikeContentTypeRE =
|
|
309
|
-
|
|
309
|
+
/^(application|text)\/([^+]+\+)*(jsonl|x-ndjson)\b.*/;
|
|
310
310
|
async function logRequest(logger: Logger | undefined, req: Request) {
|
|
311
311
|
if (!logger) {
|
|
312
312
|
return;
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -24,7 +25,7 @@ export const AccountLeaderboardHistoryLeaderboard = {
|
|
|
24
25
|
SteamSets: "steam_sets",
|
|
25
26
|
Xp: "xp",
|
|
26
27
|
} as const;
|
|
27
|
-
export type AccountLeaderboardHistoryLeaderboard =
|
|
28
|
+
export type AccountLeaderboardHistoryLeaderboard = OpenEnum<
|
|
28
29
|
typeof AccountLeaderboardHistoryLeaderboard
|
|
29
30
|
>;
|
|
30
31
|
|
|
@@ -36,10 +37,11 @@ export type AccountLeaderboardHistory = {
|
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
/** @internal */
|
|
39
|
-
export const AccountLeaderboardHistoryLeaderboard$inboundSchema:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
export const AccountLeaderboardHistoryLeaderboard$inboundSchema: z.ZodType<
|
|
41
|
+
AccountLeaderboardHistoryLeaderboard,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
unknown
|
|
44
|
+
> = openEnums.inboundSchema(AccountLeaderboardHistoryLeaderboard);
|
|
43
45
|
|
|
44
46
|
/** @internal */
|
|
45
47
|
export const AccountLeaderboardHistory$inboundSchema: z.ZodType<
|
|
@@ -15,7 +15,9 @@ export type Badge = {
|
|
|
15
15
|
appImage: string;
|
|
16
16
|
appName: string;
|
|
17
17
|
bookmarks: number;
|
|
18
|
+
cardCount: number;
|
|
18
19
|
colors: Array<string> | null;
|
|
20
|
+
craftCost?: number | undefined;
|
|
19
21
|
designs: Array<string> | null;
|
|
20
22
|
firstCompletion: number;
|
|
21
23
|
highestLevel: number;
|
|
@@ -23,11 +25,13 @@ export type Badge = {
|
|
|
23
25
|
image: string;
|
|
24
26
|
isEvent: boolean;
|
|
25
27
|
isFoil: boolean;
|
|
28
|
+
isNmc: boolean;
|
|
26
29
|
isSale: boolean;
|
|
27
30
|
lastChangedAt: number;
|
|
28
31
|
lastCompletion: number;
|
|
29
32
|
level: number;
|
|
30
33
|
name: string;
|
|
34
|
+
noListing: boolean;
|
|
31
35
|
scarcity: number;
|
|
32
36
|
steamId: number;
|
|
33
37
|
xp: number;
|
|
@@ -41,7 +45,9 @@ export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
|
|
|
41
45
|
appImage: z.string(),
|
|
42
46
|
appName: z.string(),
|
|
43
47
|
bookmarks: z.number().int(),
|
|
48
|
+
cardCount: z.number().int(),
|
|
44
49
|
colors: z.nullable(z.array(z.string())),
|
|
50
|
+
craftCost: z.number().int().optional(),
|
|
45
51
|
designs: z.nullable(z.array(z.string())),
|
|
46
52
|
firstCompletion: z.number().int(),
|
|
47
53
|
highestLevel: z.number().int(),
|
|
@@ -49,11 +55,13 @@ export const Badge$inboundSchema: z.ZodType<Badge, z.ZodTypeDef, unknown> = z
|
|
|
49
55
|
image: z.string(),
|
|
50
56
|
isEvent: z.boolean(),
|
|
51
57
|
isFoil: z.boolean(),
|
|
58
|
+
isNmc: z.boolean(),
|
|
52
59
|
isSale: z.boolean(),
|
|
53
60
|
lastChangedAt: z.number().int(),
|
|
54
61
|
lastCompletion: z.number().int(),
|
|
55
62
|
level: z.number().int(),
|
|
56
63
|
name: z.string(),
|
|
64
|
+
noListing: z.boolean(),
|
|
57
65
|
scarcity: z.number().int(),
|
|
58
66
|
steamId: z.number().int(),
|
|
59
67
|
xp: z.number(),
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -34,7 +35,7 @@ export const Leaderboard = {
|
|
|
34
35
|
/**
|
|
35
36
|
* The leaderboard of the best leaderboard
|
|
36
37
|
*/
|
|
37
|
-
export type Leaderboard =
|
|
38
|
+
export type Leaderboard = OpenEnum<typeof Leaderboard>;
|
|
38
39
|
|
|
39
40
|
export type BestLeaderboardRank = {
|
|
40
41
|
/**
|
|
@@ -48,8 +49,11 @@ export type BestLeaderboardRank = {
|
|
|
48
49
|
};
|
|
49
50
|
|
|
50
51
|
/** @internal */
|
|
51
|
-
export const Leaderboard$inboundSchema: z.
|
|
52
|
-
|
|
52
|
+
export const Leaderboard$inboundSchema: z.ZodType<
|
|
53
|
+
Leaderboard,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
unknown
|
|
56
|
+
> = openEnums.inboundSchema(Leaderboard);
|
|
53
57
|
|
|
54
58
|
/** @internal */
|
|
55
59
|
export const BestLeaderboardRank$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -31,7 +32,7 @@ export const ChosenRoleRole = {
|
|
|
31
32
|
Astral: "astral",
|
|
32
33
|
Nebula: "nebula",
|
|
33
34
|
} as const;
|
|
34
|
-
export type ChosenRoleRole =
|
|
35
|
+
export type ChosenRoleRole = OpenEnum<typeof ChosenRoleRole>;
|
|
35
36
|
|
|
36
37
|
export type ChosenRole = {
|
|
37
38
|
role: ChosenRoleRole;
|
|
@@ -42,9 +43,11 @@ export type ChosenRole = {
|
|
|
42
43
|
};
|
|
43
44
|
|
|
44
45
|
/** @internal */
|
|
45
|
-
export const ChosenRoleRole$inboundSchema: z.
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
export const ChosenRoleRole$inboundSchema: z.ZodType<
|
|
47
|
+
ChosenRoleRole,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = openEnums.inboundSchema(ChosenRoleRole);
|
|
48
51
|
|
|
49
52
|
/** @internal */
|
|
50
53
|
export const ChosenRole$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -24,7 +25,7 @@ export const ConnectionProvider = {
|
|
|
24
25
|
/**
|
|
25
26
|
* The provider to connect with
|
|
26
27
|
*/
|
|
27
|
-
export type ConnectionProvider =
|
|
28
|
+
export type ConnectionProvider = OpenEnum<typeof ConnectionProvider>;
|
|
28
29
|
|
|
29
30
|
export type Connection = {
|
|
30
31
|
/**
|
|
@@ -62,9 +63,11 @@ export type Connection = {
|
|
|
62
63
|
};
|
|
63
64
|
|
|
64
65
|
/** @internal */
|
|
65
|
-
export const ConnectionProvider$inboundSchema: z.
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
export const ConnectionProvider$inboundSchema: z.ZodType<
|
|
67
|
+
ConnectionProvider,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
unknown
|
|
70
|
+
> = openEnums.inboundSchema(ConnectionProvider);
|
|
68
71
|
|
|
69
72
|
/** @internal */
|
|
70
73
|
export const Connection$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
import {
|
|
@@ -23,9 +24,7 @@ export const DeveloperAppEnvironment = {
|
|
|
23
24
|
/**
|
|
24
25
|
* The environment of the developer app
|
|
25
26
|
*/
|
|
26
|
-
export type DeveloperAppEnvironment =
|
|
27
|
-
typeof DeveloperAppEnvironment
|
|
28
|
-
>;
|
|
27
|
+
export type DeveloperAppEnvironment = OpenEnum<typeof DeveloperAppEnvironment>;
|
|
29
28
|
|
|
30
29
|
export type DeveloperApp = {
|
|
31
30
|
analytics?: DeveloperAppAnalytics | undefined;
|
|
@@ -62,9 +61,11 @@ export type DeveloperApp = {
|
|
|
62
61
|
};
|
|
63
62
|
|
|
64
63
|
/** @internal */
|
|
65
|
-
export const DeveloperAppEnvironment$inboundSchema: z.
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
export const DeveloperAppEnvironment$inboundSchema: z.ZodType<
|
|
65
|
+
DeveloperAppEnvironment,
|
|
66
|
+
z.ZodTypeDef,
|
|
67
|
+
unknown
|
|
68
|
+
> = openEnums.inboundSchema(DeveloperAppEnvironment);
|
|
68
69
|
|
|
69
70
|
/** @internal */
|
|
70
71
|
export const DeveloperApp$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -24,7 +25,7 @@ export const Outcome = {
|
|
|
24
25
|
/**
|
|
25
26
|
* The outcome of the verification
|
|
26
27
|
*/
|
|
27
|
-
export type Outcome =
|
|
28
|
+
export type Outcome = OpenEnum<typeof Outcome>;
|
|
28
29
|
|
|
29
30
|
export type DeveloperAppAnalyticsOutcome = {
|
|
30
31
|
/**
|
|
@@ -38,8 +39,8 @@ export type DeveloperAppAnalyticsOutcome = {
|
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
/** @internal */
|
|
41
|
-
export const Outcome$inboundSchema: z.
|
|
42
|
-
.
|
|
42
|
+
export const Outcome$inboundSchema: z.ZodType<Outcome, z.ZodTypeDef, unknown> =
|
|
43
|
+
openEnums.inboundSchema(Outcome);
|
|
43
44
|
|
|
44
45
|
/** @internal */
|
|
45
46
|
export const DeveloperAppAnalyticsOutcome$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -21,7 +22,7 @@ export const ImageType = {
|
|
|
21
22
|
/**
|
|
22
23
|
* The type of the image
|
|
23
24
|
*/
|
|
24
|
-
export type ImageType =
|
|
25
|
+
export type ImageType = OpenEnum<typeof ImageType>;
|
|
25
26
|
|
|
26
27
|
export type Image = {
|
|
27
28
|
/**
|
|
@@ -43,8 +44,11 @@ export type Image = {
|
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
/** @internal */
|
|
46
|
-
export const ImageType$inboundSchema: z.
|
|
47
|
-
|
|
47
|
+
export const ImageType$inboundSchema: z.ZodType<
|
|
48
|
+
ImageType,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
unknown
|
|
51
|
+
> = openEnums.inboundSchema(ImageType);
|
|
48
52
|
|
|
49
53
|
/** @internal */
|
|
50
54
|
export const Image$inboundSchema: z.ZodType<Image, z.ZodTypeDef, unknown> = z
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
import {
|
|
@@ -36,7 +37,7 @@ export const LeaderboardAccountPrivacy = {
|
|
|
36
37
|
/**
|
|
37
38
|
* The privacy of the account
|
|
38
39
|
*/
|
|
39
|
-
export type LeaderboardAccountPrivacy =
|
|
40
|
+
export type LeaderboardAccountPrivacy = OpenEnum<
|
|
40
41
|
typeof LeaderboardAccountPrivacy
|
|
41
42
|
>;
|
|
42
43
|
|
|
@@ -170,9 +171,11 @@ export type LeaderboardAccount = {
|
|
|
170
171
|
};
|
|
171
172
|
|
|
172
173
|
/** @internal */
|
|
173
|
-
export const LeaderboardAccountPrivacy$inboundSchema: z.
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
export const LeaderboardAccountPrivacy$inboundSchema: z.ZodType<
|
|
175
|
+
LeaderboardAccountPrivacy,
|
|
176
|
+
z.ZodTypeDef,
|
|
177
|
+
unknown
|
|
178
|
+
> = openEnums.inboundSchema(LeaderboardAccountPrivacy);
|
|
176
179
|
|
|
177
180
|
/** @internal */
|
|
178
181
|
export const LeaderboardAccount$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
import {
|
|
@@ -36,7 +37,7 @@ export const PreviewAccountPrivacy = {
|
|
|
36
37
|
/**
|
|
37
38
|
* The privacy of the account
|
|
38
39
|
*/
|
|
39
|
-
export type PreviewAccountPrivacy =
|
|
40
|
+
export type PreviewAccountPrivacy = OpenEnum<typeof PreviewAccountPrivacy>;
|
|
40
41
|
|
|
41
42
|
export type PreviewAccount = {
|
|
42
43
|
/**
|
|
@@ -180,9 +181,11 @@ export type PreviewAccount = {
|
|
|
180
181
|
};
|
|
181
182
|
|
|
182
183
|
/** @internal */
|
|
183
|
-
export const PreviewAccountPrivacy$inboundSchema: z.
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
export const PreviewAccountPrivacy$inboundSchema: z.ZodType<
|
|
185
|
+
PreviewAccountPrivacy,
|
|
186
|
+
z.ZodTypeDef,
|
|
187
|
+
unknown
|
|
188
|
+
> = openEnums.inboundSchema(PreviewAccountPrivacy);
|
|
186
189
|
|
|
187
190
|
/** @internal */
|
|
188
191
|
export const PreviewAccount$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -24,7 +25,7 @@ export const ResourceResource = {
|
|
|
24
25
|
AccountQueues: "account_queues",
|
|
25
26
|
ShortLinkDomain: "short_link_domain",
|
|
26
27
|
} as const;
|
|
27
|
-
export type ResourceResource =
|
|
28
|
+
export type ResourceResource = OpenEnum<typeof ResourceResource>;
|
|
28
29
|
|
|
29
30
|
export type Resource = {
|
|
30
31
|
resource: ResourceResource;
|
|
@@ -35,13 +36,17 @@ export type Resource = {
|
|
|
35
36
|
};
|
|
36
37
|
|
|
37
38
|
/** @internal */
|
|
38
|
-
export const ResourceResource$inboundSchema: z.
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
export const ResourceResource$inboundSchema: z.ZodType<
|
|
40
|
+
ResourceResource,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
unknown
|
|
43
|
+
> = openEnums.inboundSchema(ResourceResource);
|
|
41
44
|
/** @internal */
|
|
42
|
-
export const ResourceResource$outboundSchema: z.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
export const ResourceResource$outboundSchema: z.ZodType<
|
|
46
|
+
string,
|
|
47
|
+
z.ZodTypeDef,
|
|
48
|
+
ResourceResource
|
|
49
|
+
> = openEnums.outboundSchema(ResourceResource);
|
|
45
50
|
|
|
46
51
|
/** @internal */
|
|
47
52
|
export const Resource$inboundSchema: z.ZodType<
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
@@ -31,7 +32,7 @@ export const RoleRole = {
|
|
|
31
32
|
Astral: "astral",
|
|
32
33
|
Nebula: "nebula",
|
|
33
34
|
} as const;
|
|
34
|
-
export type RoleRole =
|
|
35
|
+
export type RoleRole = OpenEnum<typeof RoleRole>;
|
|
35
36
|
|
|
36
37
|
export type Role = {
|
|
37
38
|
/**
|
|
@@ -46,8 +47,11 @@ export type Role = {
|
|
|
46
47
|
};
|
|
47
48
|
|
|
48
49
|
/** @internal */
|
|
49
|
-
export const RoleRole$inboundSchema: z.
|
|
50
|
-
|
|
50
|
+
export const RoleRole$inboundSchema: z.ZodType<
|
|
51
|
+
RoleRole,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
unknown
|
|
54
|
+
> = openEnums.inboundSchema(RoleRole);
|
|
51
55
|
|
|
52
56
|
/** @internal */
|
|
53
57
|
export const Role$inboundSchema: z.ZodType<Role, z.ZodTypeDef, unknown> = z
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
import {
|
|
@@ -36,7 +37,7 @@ export const V1AccountFriendPrivacy = {
|
|
|
36
37
|
/**
|
|
37
38
|
* The privacy of the account
|
|
38
39
|
*/
|
|
39
|
-
export type V1AccountFriendPrivacy =
|
|
40
|
+
export type V1AccountFriendPrivacy = OpenEnum<typeof V1AccountFriendPrivacy>;
|
|
40
41
|
|
|
41
42
|
export type V1AccountFriend = {
|
|
42
43
|
/**
|
|
@@ -169,9 +170,11 @@ export type V1AccountFriend = {
|
|
|
169
170
|
};
|
|
170
171
|
|
|
171
172
|
/** @internal */
|
|
172
|
-
export const V1AccountFriendPrivacy$inboundSchema: z.
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
export const V1AccountFriendPrivacy$inboundSchema: z.ZodType<
|
|
174
|
+
V1AccountFriendPrivacy,
|
|
175
|
+
z.ZodTypeDef,
|
|
176
|
+
unknown
|
|
177
|
+
> = openEnums.inboundSchema(V1AccountFriendPrivacy);
|
|
175
178
|
|
|
176
179
|
/** @internal */
|
|
177
180
|
export const V1AccountFriend$inboundSchema: z.ZodType<
|