@valpro-labs/valorant-api 1.0.1 → 1.0.2
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/LICENSE +21 -21
- package/README.md +44 -44
- package/dist/endpoints/AgentsEndpoints.d.ts +1 -161
- package/dist/endpoints/AgentsEndpoints.js +6 -66
- package/dist/endpoints/BuddiesEndpoints.d.ts +1 -45
- package/dist/endpoints/BuddiesEndpoints.js +1 -19
- package/dist/endpoints/BundlesEndpoints.d.ts +1 -29
- package/dist/endpoints/BundlesEndpoints.js +1 -16
- package/dist/endpoints/CompetitiveTiersEndpoints.d.ts +1 -50
- package/dist/endpoints/CompetitiveTiersEndpoints.js +1 -21
- package/dist/endpoints/ContentTierEndpoints.d.ts +1 -25
- package/dist/endpoints/ContentTierEndpoints.js +1 -14
- package/dist/endpoints/ContractsEndpoints.d.ts +1 -152
- package/dist/endpoints/ContractsEndpoints.js +1 -40
- package/dist/endpoints/CurrenciesEndpoints.d.ts +1 -21
- package/dist/endpoints/CurrenciesEndpoints.js +1 -12
- package/dist/endpoints/EventsEndpoints.d.ts +1 -19
- package/dist/endpoints/EventsEndpoints.js +1 -11
- package/dist/endpoints/FlexEndpoints.d.ts +1 -17
- package/dist/endpoints/FlexEndpoints.js +1 -11
- package/dist/endpoints/GameModesEndpoints.d.ts +1 -63
- package/dist/endpoints/GameModesEndpoints.js +1 -31
- package/dist/endpoints/LevelBordersEndpoints.d.ts +1 -21
- package/dist/endpoints/LevelBordersEndpoints.js +0 -11
- package/dist/endpoints/MapsEndpoints.d.ts +1 -120
- package/dist/endpoints/MapsEndpoints.js +1 -47
- package/dist/endpoints/MissionsEndpoints.d.ts +1 -38
- package/dist/endpoints/MissionsEndpoints.js +1 -20
- package/dist/endpoints/ObjectivesEndpoints.d.ts +1 -13
- package/dist/endpoints/ObjectivesEndpoints.js +1 -8
- package/dist/endpoints/PlayerCardsEndpoints.d.ts +1 -25
- package/dist/endpoints/PlayerCardsEndpoints.js +1 -14
- package/dist/endpoints/PlayerTitlesEndpoints.d.ts +1 -17
- package/dist/endpoints/PlayerTitlesEndpoints.js +1 -10
- package/dist/endpoints/SeasonsEndpoints.d.ts +1 -23
- package/dist/endpoints/SeasonsEndpoints.js +1 -13
- package/dist/endpoints/SpraysEndpoints.d.ts +1 -51
- package/dist/endpoints/SpraysEndpoints.js +1 -24
- package/dist/endpoints/VersionEndpoint.d.ts +1 -12
- package/dist/endpoints/VersionEndpoint.js +1 -12
- package/dist/endpoints/WeaponsEndpoints.d.ts +1 -302
- package/dist/endpoints/WeaponsEndpoints.js +1 -99
- package/dist/endpoints/index.d.ts +21 -0
- package/dist/endpoints/index.js +37 -0
- package/dist/index.d.ts +2 -22
- package/dist/index.js +2 -22
- package/dist/schemas/AgentSchemas.d.ts +161 -0
- package/dist/schemas/AgentSchemas.js +65 -0
- package/dist/schemas/BuddySchemas.d.ts +45 -0
- package/dist/schemas/BuddySchemas.js +21 -0
- package/dist/schemas/BundleSchemas.d.ts +29 -0
- package/dist/schemas/BundleSchemas.js +18 -0
- package/dist/schemas/CompetitiveTierSchemas.d.ts +50 -0
- package/dist/schemas/CompetitiveTierSchemas.js +23 -0
- package/dist/schemas/ContentTierSchemas.d.ts +25 -0
- package/dist/schemas/ContentTierSchemas.js +16 -0
- package/dist/schemas/ContractSchemas.d.ts +152 -0
- package/dist/schemas/ContractSchemas.js +42 -0
- package/dist/schemas/CurrencySchemas.d.ts +21 -0
- package/dist/schemas/CurrencySchemas.js +14 -0
- package/dist/schemas/EventSchemas.d.ts +19 -0
- package/dist/schemas/EventSchemas.js +13 -0
- package/dist/schemas/FlexSchemas.d.ts +17 -0
- package/dist/schemas/FlexSchemas.js +13 -0
- package/dist/schemas/GameModeSchemas.d.ts +63 -0
- package/dist/schemas/GameModeSchemas.js +33 -0
- package/dist/schemas/LevelBorderSchemas.d.ts +21 -0
- package/dist/schemas/LevelBorderSchemas.js +14 -0
- package/dist/schemas/MapSchemas.d.ts +120 -0
- package/dist/schemas/MapSchemas.js +49 -0
- package/dist/schemas/MissionSchemas.d.ts +38 -0
- package/dist/schemas/MissionSchemas.js +22 -0
- package/dist/schemas/ObjectiveSchemas.d.ts +13 -0
- package/dist/schemas/ObjectiveSchemas.js +10 -0
- package/dist/schemas/PlayerCardSchemas.d.ts +25 -0
- package/dist/schemas/PlayerCardSchemas.js +16 -0
- package/dist/schemas/PlayerTitleSchemas.d.ts +17 -0
- package/dist/schemas/PlayerTitleSchemas.js +12 -0
- package/dist/schemas/SeasonSchemas.d.ts +23 -0
- package/dist/schemas/SeasonSchemas.js +15 -0
- package/dist/schemas/SpraySchemas.d.ts +51 -0
- package/dist/schemas/SpraySchemas.js +26 -0
- package/dist/schemas/VersionSchemas.d.ts +12 -0
- package/dist/schemas/VersionSchemas.js +14 -0
- package/dist/schemas/WeaponSchemas.d.ts +302 -0
- package/dist/schemas/WeaponSchemas.js +101 -0
- package/dist/schemas/index.d.ts +21 -0
- package/dist/schemas/index.js +37 -0
- package/package.json +40 -40
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AgentsSchema = exports.AgentSchema = exports.RecruitmentDataSchema = exports.RoleSchema = exports.AbilitySchema = exports.VoiceLineSchema = exports.VoiceLineMediaSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const SharedSchemas_1 = require("./SharedSchemas");
|
|
6
|
+
exports.VoiceLineMediaSchema = zod_1.z.object({
|
|
7
|
+
id: zod_1.z.number().int(),
|
|
8
|
+
wwise: zod_1.z.string(),
|
|
9
|
+
wave: zod_1.z.string(),
|
|
10
|
+
});
|
|
11
|
+
exports.VoiceLineSchema = zod_1.z.object({
|
|
12
|
+
minDuration: zod_1.z.number(),
|
|
13
|
+
maxDuration: zod_1.z.number(),
|
|
14
|
+
mediaList: zod_1.z.array(exports.VoiceLineMediaSchema),
|
|
15
|
+
});
|
|
16
|
+
exports.AbilitySchema = zod_1.z.object({
|
|
17
|
+
slot: zod_1.z.string(),
|
|
18
|
+
displayName: SharedSchemas_1.LocalizedStringSchema,
|
|
19
|
+
description: SharedSchemas_1.LocalizedStringSchema,
|
|
20
|
+
displayIcon: zod_1.z.string(),
|
|
21
|
+
voiceLine: exports.VoiceLineSchema,
|
|
22
|
+
});
|
|
23
|
+
exports.RoleSchema = zod_1.z.object({
|
|
24
|
+
uuid: zod_1.z.string().uuid(),
|
|
25
|
+
displayName: SharedSchemas_1.LocalizedStringSchema,
|
|
26
|
+
description: SharedSchemas_1.LocalizedStringSchema,
|
|
27
|
+
displayIcon: zod_1.z.string(),
|
|
28
|
+
assetPath: zod_1.z.string(),
|
|
29
|
+
});
|
|
30
|
+
exports.RecruitmentDataSchema = zod_1.z.object({
|
|
31
|
+
counterId: zod_1.z.string().uuid(),
|
|
32
|
+
milestoneId: zod_1.z.string().uuid(),
|
|
33
|
+
milestoneThreshold: zod_1.z.number().int(),
|
|
34
|
+
useLevelVpCostOverride: zod_1.z.boolean(),
|
|
35
|
+
levelVpCostOverride: zod_1.z.number().int(),
|
|
36
|
+
startDate: zod_1.z.string().datetime(),
|
|
37
|
+
endDate: zod_1.z.string().datetime(),
|
|
38
|
+
});
|
|
39
|
+
exports.AgentSchema = zod_1.z.object({
|
|
40
|
+
uuid: zod_1.z.string().uuid(),
|
|
41
|
+
displayName: SharedSchemas_1.LocalizedStringSchema,
|
|
42
|
+
description: SharedSchemas_1.LocalizedStringSchema,
|
|
43
|
+
developerName: zod_1.z.string(),
|
|
44
|
+
releaseDate: zod_1.z.string().datetime(),
|
|
45
|
+
characterTags: zod_1.z.array(SharedSchemas_1.LocalizedStringSchema),
|
|
46
|
+
displayIcon: zod_1.z.string(),
|
|
47
|
+
displayIconSmall: zod_1.z.string(),
|
|
48
|
+
bustPortrait: zod_1.z.string(),
|
|
49
|
+
fullPortrait: zod_1.z.string(),
|
|
50
|
+
fullPortraitV2: zod_1.z.string(),
|
|
51
|
+
killfeedPortrait: zod_1.z.string(),
|
|
52
|
+
minimapPortrait: zod_1.z.string(),
|
|
53
|
+
homeScreenPromoTileImage: zod_1.z.string(),
|
|
54
|
+
background: zod_1.z.string(),
|
|
55
|
+
backgroundGradientColors: zod_1.z.array(zod_1.z.string()),
|
|
56
|
+
assetPath: zod_1.z.string(),
|
|
57
|
+
isFullPortraitRightFacing: zod_1.z.boolean(),
|
|
58
|
+
isPlayableCharacter: zod_1.z.boolean(),
|
|
59
|
+
isAvailableForTest: zod_1.z.boolean(),
|
|
60
|
+
isBaseContent: zod_1.z.boolean(),
|
|
61
|
+
role: exports.RoleSchema,
|
|
62
|
+
recruitmentData: exports.RecruitmentDataSchema,
|
|
63
|
+
abilities: zod_1.z.array(exports.AbilitySchema),
|
|
64
|
+
});
|
|
65
|
+
exports.AgentsSchema = zod_1.z.array(exports.AgentSchema);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BuddyLevelSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodString;
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
displayIcon: z.ZodString;
|
|
6
|
+
assetPath: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type BuddyLevelResponse = z.infer<typeof BuddyLevelSchema>;
|
|
9
|
+
export declare const BuddySchema: z.ZodObject<{
|
|
10
|
+
uuid: z.ZodString;
|
|
11
|
+
displayName: z.ZodString;
|
|
12
|
+
isHiddenIfNotOwned: z.ZodBoolean;
|
|
13
|
+
themeUuid: z.ZodNullable<z.ZodString>;
|
|
14
|
+
displayIcon: z.ZodString;
|
|
15
|
+
assetPath: z.ZodString;
|
|
16
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
17
|
+
uuid: z.ZodString;
|
|
18
|
+
displayName: z.ZodString;
|
|
19
|
+
displayIcon: z.ZodString;
|
|
20
|
+
assetPath: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type BuddyResponse = z.infer<typeof BuddySchema>;
|
|
24
|
+
export declare const BuddiesSchema: z.ZodArray<z.ZodObject<{
|
|
25
|
+
uuid: z.ZodString;
|
|
26
|
+
displayName: z.ZodString;
|
|
27
|
+
isHiddenIfNotOwned: z.ZodBoolean;
|
|
28
|
+
themeUuid: z.ZodNullable<z.ZodString>;
|
|
29
|
+
displayIcon: z.ZodString;
|
|
30
|
+
assetPath: z.ZodString;
|
|
31
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
32
|
+
uuid: z.ZodString;
|
|
33
|
+
displayName: z.ZodString;
|
|
34
|
+
displayIcon: z.ZodString;
|
|
35
|
+
assetPath: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
export type BuddiesResponse = z.infer<typeof BuddiesSchema>;
|
|
39
|
+
export declare const BuddyLevelsSchema: z.ZodArray<z.ZodObject<{
|
|
40
|
+
uuid: z.ZodString;
|
|
41
|
+
displayName: z.ZodString;
|
|
42
|
+
displayIcon: z.ZodString;
|
|
43
|
+
assetPath: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
export type BuddyLevelsResponse = z.infer<typeof BuddyLevelsSchema>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BuddyLevelsSchema = exports.BuddiesSchema = exports.BuddySchema = exports.BuddyLevelSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.BuddyLevelSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string().uuid(),
|
|
7
|
+
displayName: zod_1.z.string(),
|
|
8
|
+
displayIcon: zod_1.z.string(),
|
|
9
|
+
assetPath: zod_1.z.string(),
|
|
10
|
+
});
|
|
11
|
+
exports.BuddySchema = zod_1.z.object({
|
|
12
|
+
uuid: zod_1.z.string().uuid(),
|
|
13
|
+
displayName: zod_1.z.string(),
|
|
14
|
+
isHiddenIfNotOwned: zod_1.z.boolean(),
|
|
15
|
+
themeUuid: zod_1.z.string().uuid().nullable(),
|
|
16
|
+
displayIcon: zod_1.z.string(),
|
|
17
|
+
assetPath: zod_1.z.string(),
|
|
18
|
+
levels: zod_1.z.array(exports.BuddyLevelSchema),
|
|
19
|
+
});
|
|
20
|
+
exports.BuddiesSchema = zod_1.z.array(exports.BuddySchema);
|
|
21
|
+
exports.BuddyLevelsSchema = zod_1.z.array(exports.BuddyLevelSchema);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BundleSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodString;
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
displayNameSubtext: z.ZodString;
|
|
6
|
+
description: z.ZodString;
|
|
7
|
+
extraDescription: z.ZodString;
|
|
8
|
+
promoDescription: z.ZodString;
|
|
9
|
+
useBackgroundGradient: z.ZodBoolean;
|
|
10
|
+
displayIcon: z.ZodString;
|
|
11
|
+
displayIcon2: z.ZodString;
|
|
12
|
+
verticalPromoImage: z.ZodString;
|
|
13
|
+
assetPath: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type BundleResponse = z.infer<typeof BundleSchema>;
|
|
16
|
+
export declare const BundlesSchema: z.ZodArray<z.ZodObject<{
|
|
17
|
+
uuid: z.ZodString;
|
|
18
|
+
displayName: z.ZodString;
|
|
19
|
+
displayNameSubtext: z.ZodString;
|
|
20
|
+
description: z.ZodString;
|
|
21
|
+
extraDescription: z.ZodString;
|
|
22
|
+
promoDescription: z.ZodString;
|
|
23
|
+
useBackgroundGradient: z.ZodBoolean;
|
|
24
|
+
displayIcon: z.ZodString;
|
|
25
|
+
displayIcon2: z.ZodString;
|
|
26
|
+
verticalPromoImage: z.ZodString;
|
|
27
|
+
assetPath: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
export type BundlesResponse = z.infer<typeof BundlesSchema>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BundlesSchema = exports.BundleSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.BundleSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string().uuid(),
|
|
7
|
+
displayName: zod_1.z.string(),
|
|
8
|
+
displayNameSubtext: zod_1.z.string(),
|
|
9
|
+
description: zod_1.z.string(),
|
|
10
|
+
extraDescription: zod_1.z.string(),
|
|
11
|
+
promoDescription: zod_1.z.string(),
|
|
12
|
+
useBackgroundGradient: zod_1.z.boolean(),
|
|
13
|
+
displayIcon: zod_1.z.string(),
|
|
14
|
+
displayIcon2: zod_1.z.string(),
|
|
15
|
+
verticalPromoImage: zod_1.z.string(),
|
|
16
|
+
assetPath: zod_1.z.string(),
|
|
17
|
+
});
|
|
18
|
+
exports.BundlesSchema = zod_1.z.array(exports.BundleSchema);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TierSchema: z.ZodObject<{
|
|
3
|
+
tier: z.ZodNumber;
|
|
4
|
+
tierName: z.ZodString;
|
|
5
|
+
division: z.ZodString;
|
|
6
|
+
divisionName: z.ZodString;
|
|
7
|
+
color: z.ZodString;
|
|
8
|
+
backgroundColor: z.ZodString;
|
|
9
|
+
smallIcon: z.ZodNullable<z.ZodString>;
|
|
10
|
+
largeIcon: z.ZodNullable<z.ZodString>;
|
|
11
|
+
rankTriangleDownIcon: z.ZodNullable<z.ZodString>;
|
|
12
|
+
rankTriangleUpIcon: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type TierResponse = z.infer<typeof TierSchema>;
|
|
15
|
+
export declare const CompetitiveTierSetSchema: z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
assetObjectName: z.ZodString;
|
|
18
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
19
|
+
tier: z.ZodNumber;
|
|
20
|
+
tierName: z.ZodString;
|
|
21
|
+
division: z.ZodString;
|
|
22
|
+
divisionName: z.ZodString;
|
|
23
|
+
color: z.ZodString;
|
|
24
|
+
backgroundColor: z.ZodString;
|
|
25
|
+
smallIcon: z.ZodNullable<z.ZodString>;
|
|
26
|
+
largeIcon: z.ZodNullable<z.ZodString>;
|
|
27
|
+
rankTriangleDownIcon: z.ZodNullable<z.ZodString>;
|
|
28
|
+
rankTriangleUpIcon: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
assetPath: z.ZodString;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type CompetitiveTierSetResponse = z.infer<typeof CompetitiveTierSetSchema>;
|
|
33
|
+
export declare const CompetitiveTiersSchema: z.ZodArray<z.ZodObject<{
|
|
34
|
+
uuid: z.ZodString;
|
|
35
|
+
assetObjectName: z.ZodString;
|
|
36
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
37
|
+
tier: z.ZodNumber;
|
|
38
|
+
tierName: z.ZodString;
|
|
39
|
+
division: z.ZodString;
|
|
40
|
+
divisionName: z.ZodString;
|
|
41
|
+
color: z.ZodString;
|
|
42
|
+
backgroundColor: z.ZodString;
|
|
43
|
+
smallIcon: z.ZodNullable<z.ZodString>;
|
|
44
|
+
largeIcon: z.ZodNullable<z.ZodString>;
|
|
45
|
+
rankTriangleDownIcon: z.ZodNullable<z.ZodString>;
|
|
46
|
+
rankTriangleUpIcon: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
assetPath: z.ZodString;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
export type CompetitiveTiersResponse = z.infer<typeof CompetitiveTiersSchema>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompetitiveTiersSchema = exports.CompetitiveTierSetSchema = exports.TierSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.TierSchema = zod_1.z.object({
|
|
6
|
+
tier: zod_1.z.number().int(),
|
|
7
|
+
tierName: zod_1.z.string(),
|
|
8
|
+
division: zod_1.z.string(),
|
|
9
|
+
divisionName: zod_1.z.string(),
|
|
10
|
+
color: zod_1.z.string(),
|
|
11
|
+
backgroundColor: zod_1.z.string(),
|
|
12
|
+
smallIcon: zod_1.z.string().nullable(),
|
|
13
|
+
largeIcon: zod_1.z.string().nullable(),
|
|
14
|
+
rankTriangleDownIcon: zod_1.z.string().nullable(),
|
|
15
|
+
rankTriangleUpIcon: zod_1.z.string().nullable(),
|
|
16
|
+
});
|
|
17
|
+
exports.CompetitiveTierSetSchema = zod_1.z.object({
|
|
18
|
+
uuid: zod_1.z.string().uuid(),
|
|
19
|
+
assetObjectName: zod_1.z.string(),
|
|
20
|
+
tiers: zod_1.z.array(exports.TierSchema),
|
|
21
|
+
assetPath: zod_1.z.string(),
|
|
22
|
+
});
|
|
23
|
+
exports.CompetitiveTiersSchema = zod_1.z.array(exports.CompetitiveTierSetSchema);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ContentTierSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodString;
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
devName: z.ZodString;
|
|
6
|
+
rank: z.ZodNumber;
|
|
7
|
+
juiceValue: z.ZodNumber;
|
|
8
|
+
juiceCost: z.ZodNumber;
|
|
9
|
+
highlightColor: z.ZodString;
|
|
10
|
+
displayIcon: z.ZodString;
|
|
11
|
+
assetPath: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type ContentTierResponse = z.infer<typeof ContentTierSchema>;
|
|
14
|
+
export declare const ContentTiersSchema: z.ZodArray<z.ZodObject<{
|
|
15
|
+
uuid: z.ZodString;
|
|
16
|
+
displayName: z.ZodString;
|
|
17
|
+
devName: z.ZodString;
|
|
18
|
+
rank: z.ZodNumber;
|
|
19
|
+
juiceValue: z.ZodNumber;
|
|
20
|
+
juiceCost: z.ZodNumber;
|
|
21
|
+
highlightColor: z.ZodString;
|
|
22
|
+
displayIcon: z.ZodString;
|
|
23
|
+
assetPath: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
export type ContentTiersResponse = z.infer<typeof ContentTiersSchema>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ContentTiersSchema = exports.ContentTierSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.ContentTierSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string().uuid(),
|
|
7
|
+
displayName: zod_1.z.string(),
|
|
8
|
+
devName: zod_1.z.string(),
|
|
9
|
+
rank: zod_1.z.number().int(),
|
|
10
|
+
juiceValue: zod_1.z.number().int(),
|
|
11
|
+
juiceCost: zod_1.z.number().int(),
|
|
12
|
+
highlightColor: zod_1.z.string(),
|
|
13
|
+
displayIcon: zod_1.z.string().url(),
|
|
14
|
+
assetPath: zod_1.z.string(),
|
|
15
|
+
});
|
|
16
|
+
exports.ContentTiersSchema = zod_1.z.array(exports.ContentTierSchema);
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const RewardSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodString;
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
amount: z.ZodNumber;
|
|
6
|
+
isHighlighted: z.ZodBoolean;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type RewardResponse = z.infer<typeof RewardSchema>;
|
|
9
|
+
export declare const ContractLevelSchema: z.ZodObject<{
|
|
10
|
+
reward: z.ZodObject<{
|
|
11
|
+
type: z.ZodString;
|
|
12
|
+
uuid: z.ZodString;
|
|
13
|
+
amount: z.ZodNumber;
|
|
14
|
+
isHighlighted: z.ZodBoolean;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
xp: z.ZodNumber;
|
|
17
|
+
vpCost: z.ZodNumber;
|
|
18
|
+
isPurchasableWithVP: z.ZodBoolean;
|
|
19
|
+
doughCost: z.ZodNumber;
|
|
20
|
+
isPurchasableWithDough: z.ZodBoolean;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export type ContractLevelResponse = z.infer<typeof ContractLevelSchema>;
|
|
23
|
+
export declare const ChapterSchema: z.ZodObject<{
|
|
24
|
+
isEpilogue: z.ZodBoolean;
|
|
25
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
26
|
+
reward: z.ZodObject<{
|
|
27
|
+
type: z.ZodString;
|
|
28
|
+
uuid: z.ZodString;
|
|
29
|
+
amount: z.ZodNumber;
|
|
30
|
+
isHighlighted: z.ZodBoolean;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
xp: z.ZodNumber;
|
|
33
|
+
vpCost: z.ZodNumber;
|
|
34
|
+
isPurchasableWithVP: z.ZodBoolean;
|
|
35
|
+
doughCost: z.ZodNumber;
|
|
36
|
+
isPurchasableWithDough: z.ZodBoolean;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
freeRewards: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
|
+
type: z.ZodString;
|
|
40
|
+
uuid: z.ZodString;
|
|
41
|
+
amount: z.ZodNumber;
|
|
42
|
+
isHighlighted: z.ZodBoolean;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export type ChapterResponse = z.infer<typeof ChapterSchema>;
|
|
46
|
+
export declare const ContractContentSchema: z.ZodObject<{
|
|
47
|
+
relationType: z.ZodNullable<z.ZodString>;
|
|
48
|
+
relationUuid: z.ZodNullable<z.ZodString>;
|
|
49
|
+
chapters: z.ZodArray<z.ZodObject<{
|
|
50
|
+
isEpilogue: z.ZodBoolean;
|
|
51
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
52
|
+
reward: z.ZodObject<{
|
|
53
|
+
type: z.ZodString;
|
|
54
|
+
uuid: z.ZodString;
|
|
55
|
+
amount: z.ZodNumber;
|
|
56
|
+
isHighlighted: z.ZodBoolean;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
xp: z.ZodNumber;
|
|
59
|
+
vpCost: z.ZodNumber;
|
|
60
|
+
isPurchasableWithVP: z.ZodBoolean;
|
|
61
|
+
doughCost: z.ZodNumber;
|
|
62
|
+
isPurchasableWithDough: z.ZodBoolean;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
freeRewards: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
65
|
+
type: z.ZodString;
|
|
66
|
+
uuid: z.ZodString;
|
|
67
|
+
amount: z.ZodNumber;
|
|
68
|
+
isHighlighted: z.ZodBoolean;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
premiumRewardScheduleUuid: z.ZodNullable<z.ZodString>;
|
|
72
|
+
premiumVPCost: z.ZodNumber;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export type ContractContentResponse = z.infer<typeof ContractContentSchema>;
|
|
75
|
+
export declare const ContractSchema: z.ZodObject<{
|
|
76
|
+
uuid: z.ZodString;
|
|
77
|
+
displayName: z.ZodString;
|
|
78
|
+
displayIcon: z.ZodNullable<z.ZodString>;
|
|
79
|
+
shipIt: z.ZodBoolean;
|
|
80
|
+
useLevelVPCostOverride: z.ZodBoolean;
|
|
81
|
+
levelVPCostOverride: z.ZodNumber;
|
|
82
|
+
freeRewardScheduleUuid: z.ZodNullable<z.ZodString>;
|
|
83
|
+
content: z.ZodObject<{
|
|
84
|
+
relationType: z.ZodNullable<z.ZodString>;
|
|
85
|
+
relationUuid: z.ZodNullable<z.ZodString>;
|
|
86
|
+
chapters: z.ZodArray<z.ZodObject<{
|
|
87
|
+
isEpilogue: z.ZodBoolean;
|
|
88
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
89
|
+
reward: z.ZodObject<{
|
|
90
|
+
type: z.ZodString;
|
|
91
|
+
uuid: z.ZodString;
|
|
92
|
+
amount: z.ZodNumber;
|
|
93
|
+
isHighlighted: z.ZodBoolean;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
xp: z.ZodNumber;
|
|
96
|
+
vpCost: z.ZodNumber;
|
|
97
|
+
isPurchasableWithVP: z.ZodBoolean;
|
|
98
|
+
doughCost: z.ZodNumber;
|
|
99
|
+
isPurchasableWithDough: z.ZodBoolean;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
freeRewards: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
102
|
+
type: z.ZodString;
|
|
103
|
+
uuid: z.ZodString;
|
|
104
|
+
amount: z.ZodNumber;
|
|
105
|
+
isHighlighted: z.ZodBoolean;
|
|
106
|
+
}, z.core.$strip>>>;
|
|
107
|
+
}, z.core.$strip>>;
|
|
108
|
+
premiumRewardScheduleUuid: z.ZodNullable<z.ZodString>;
|
|
109
|
+
premiumVPCost: z.ZodNumber;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
assetPath: z.ZodString;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
export type ContractResponse = z.infer<typeof ContractSchema>;
|
|
114
|
+
export declare const ContractsSchema: z.ZodArray<z.ZodObject<{
|
|
115
|
+
uuid: z.ZodString;
|
|
116
|
+
displayName: z.ZodString;
|
|
117
|
+
displayIcon: z.ZodNullable<z.ZodString>;
|
|
118
|
+
shipIt: z.ZodBoolean;
|
|
119
|
+
useLevelVPCostOverride: z.ZodBoolean;
|
|
120
|
+
levelVPCostOverride: z.ZodNumber;
|
|
121
|
+
freeRewardScheduleUuid: z.ZodNullable<z.ZodString>;
|
|
122
|
+
content: z.ZodObject<{
|
|
123
|
+
relationType: z.ZodNullable<z.ZodString>;
|
|
124
|
+
relationUuid: z.ZodNullable<z.ZodString>;
|
|
125
|
+
chapters: z.ZodArray<z.ZodObject<{
|
|
126
|
+
isEpilogue: z.ZodBoolean;
|
|
127
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
128
|
+
reward: z.ZodObject<{
|
|
129
|
+
type: z.ZodString;
|
|
130
|
+
uuid: z.ZodString;
|
|
131
|
+
amount: z.ZodNumber;
|
|
132
|
+
isHighlighted: z.ZodBoolean;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
xp: z.ZodNumber;
|
|
135
|
+
vpCost: z.ZodNumber;
|
|
136
|
+
isPurchasableWithVP: z.ZodBoolean;
|
|
137
|
+
doughCost: z.ZodNumber;
|
|
138
|
+
isPurchasableWithDough: z.ZodBoolean;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
freeRewards: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
141
|
+
type: z.ZodString;
|
|
142
|
+
uuid: z.ZodString;
|
|
143
|
+
amount: z.ZodNumber;
|
|
144
|
+
isHighlighted: z.ZodBoolean;
|
|
145
|
+
}, z.core.$strip>>>;
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
|
+
premiumRewardScheduleUuid: z.ZodNullable<z.ZodString>;
|
|
148
|
+
premiumVPCost: z.ZodNumber;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
assetPath: z.ZodString;
|
|
151
|
+
}, z.core.$strip>>;
|
|
152
|
+
export type ContractsResponse = z.infer<typeof ContractsSchema>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ContractsSchema = exports.ContractSchema = exports.ContractContentSchema = exports.ChapterSchema = exports.ContractLevelSchema = exports.RewardSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.RewardSchema = zod_1.z.object({
|
|
6
|
+
type: zod_1.z.string(),
|
|
7
|
+
uuid: zod_1.z.string().uuid(),
|
|
8
|
+
amount: zod_1.z.number().int(),
|
|
9
|
+
isHighlighted: zod_1.z.boolean(),
|
|
10
|
+
});
|
|
11
|
+
exports.ContractLevelSchema = zod_1.z.object({
|
|
12
|
+
reward: exports.RewardSchema,
|
|
13
|
+
xp: zod_1.z.number().int(),
|
|
14
|
+
vpCost: zod_1.z.number().int(),
|
|
15
|
+
isPurchasableWithVP: zod_1.z.boolean(),
|
|
16
|
+
doughCost: zod_1.z.number().int(),
|
|
17
|
+
isPurchasableWithDough: zod_1.z.boolean(),
|
|
18
|
+
});
|
|
19
|
+
exports.ChapterSchema = zod_1.z.object({
|
|
20
|
+
isEpilogue: zod_1.z.boolean(),
|
|
21
|
+
levels: zod_1.z.array(exports.ContractLevelSchema),
|
|
22
|
+
freeRewards: zod_1.z.array(exports.RewardSchema).nullable(),
|
|
23
|
+
});
|
|
24
|
+
exports.ContractContentSchema = zod_1.z.object({
|
|
25
|
+
relationType: zod_1.z.string().nullable(),
|
|
26
|
+
relationUuid: zod_1.z.string().uuid().nullable(),
|
|
27
|
+
chapters: zod_1.z.array(exports.ChapterSchema),
|
|
28
|
+
premiumRewardScheduleUuid: zod_1.z.string().uuid().nullable(),
|
|
29
|
+
premiumVPCost: zod_1.z.number().int(),
|
|
30
|
+
});
|
|
31
|
+
exports.ContractSchema = zod_1.z.object({
|
|
32
|
+
uuid: zod_1.z.string().uuid(),
|
|
33
|
+
displayName: zod_1.z.string(),
|
|
34
|
+
displayIcon: zod_1.z.string().nullable(),
|
|
35
|
+
shipIt: zod_1.z.boolean(),
|
|
36
|
+
useLevelVPCostOverride: zod_1.z.boolean(),
|
|
37
|
+
levelVPCostOverride: zod_1.z.number().int(),
|
|
38
|
+
freeRewardScheduleUuid: zod_1.z.string().uuid().nullable(),
|
|
39
|
+
content: exports.ContractContentSchema,
|
|
40
|
+
assetPath: zod_1.z.string(),
|
|
41
|
+
});
|
|
42
|
+
exports.ContractsSchema = zod_1.z.array(exports.ContractSchema);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CurrencySchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodString;
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
displayNameSingular: z.ZodString;
|
|
6
|
+
displayIcon: z.ZodString;
|
|
7
|
+
largeIcon: z.ZodString;
|
|
8
|
+
rewardPreviewIcon: z.ZodString;
|
|
9
|
+
assetPath: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type CurrencyResponse = z.infer<typeof CurrencySchema>;
|
|
12
|
+
export declare const CurrenciesSchema: z.ZodArray<z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
displayName: z.ZodString;
|
|
15
|
+
displayNameSingular: z.ZodString;
|
|
16
|
+
displayIcon: z.ZodString;
|
|
17
|
+
largeIcon: z.ZodString;
|
|
18
|
+
rewardPreviewIcon: z.ZodString;
|
|
19
|
+
assetPath: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
export type CurrenciesResponse = z.infer<typeof CurrenciesSchema>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CurrenciesSchema = exports.CurrencySchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.CurrencySchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string().uuid(),
|
|
7
|
+
displayName: zod_1.z.string(),
|
|
8
|
+
displayNameSingular: zod_1.z.string(),
|
|
9
|
+
displayIcon: zod_1.z.string().url(),
|
|
10
|
+
largeIcon: zod_1.z.string().url(),
|
|
11
|
+
rewardPreviewIcon: zod_1.z.string().url(),
|
|
12
|
+
assetPath: zod_1.z.string(),
|
|
13
|
+
});
|
|
14
|
+
exports.CurrenciesSchema = zod_1.z.array(exports.CurrencySchema);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const EventSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodString;
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
shortDisplayName: z.ZodString;
|
|
6
|
+
startTime: z.ZodString;
|
|
7
|
+
endTime: z.ZodString;
|
|
8
|
+
assetPath: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export type EventResponse = z.infer<typeof EventSchema>;
|
|
11
|
+
export declare const EventsSchema: z.ZodArray<z.ZodObject<{
|
|
12
|
+
uuid: z.ZodString;
|
|
13
|
+
displayName: z.ZodString;
|
|
14
|
+
shortDisplayName: z.ZodString;
|
|
15
|
+
startTime: z.ZodString;
|
|
16
|
+
endTime: z.ZodString;
|
|
17
|
+
assetPath: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
export type EventsResponse = z.infer<typeof EventsSchema>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventsSchema = exports.EventSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.EventSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.string().uuid(),
|
|
7
|
+
displayName: zod_1.z.string(),
|
|
8
|
+
shortDisplayName: zod_1.z.string(),
|
|
9
|
+
startTime: zod_1.z.string(),
|
|
10
|
+
endTime: zod_1.z.string(),
|
|
11
|
+
assetPath: zod_1.z.string(),
|
|
12
|
+
});
|
|
13
|
+
exports.EventsSchema = zod_1.z.array(exports.EventSchema);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FlexSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodString;
|
|
4
|
+
displayName: z.ZodString;
|
|
5
|
+
displayNameAllCaps: z.ZodString;
|
|
6
|
+
displayIcon: z.ZodString;
|
|
7
|
+
assetPath: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export type FlexResponse = z.infer<typeof FlexSchema>;
|
|
10
|
+
export declare const FlexsSchema: z.ZodArray<z.ZodObject<{
|
|
11
|
+
uuid: z.ZodString;
|
|
12
|
+
displayName: z.ZodString;
|
|
13
|
+
displayNameAllCaps: z.ZodString;
|
|
14
|
+
displayIcon: z.ZodString;
|
|
15
|
+
assetPath: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
export type FlexsResponse = z.infer<typeof FlexsSchema>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FlexsSchema = exports.FlexSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const SharedSchemas_1 = require("./SharedSchemas");
|
|
6
|
+
exports.FlexSchema = zod_1.z.object({
|
|
7
|
+
uuid: zod_1.z.string().uuid(),
|
|
8
|
+
displayName: SharedSchemas_1.LocalizedStringSchema,
|
|
9
|
+
displayNameAllCaps: SharedSchemas_1.LocalizedStringSchema,
|
|
10
|
+
displayIcon: zod_1.z.string(),
|
|
11
|
+
assetPath: zod_1.z.string(),
|
|
12
|
+
});
|
|
13
|
+
exports.FlexsSchema = zod_1.z.array(exports.FlexSchema);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GameFeatureOverrideSchema: z.ZodObject<{
|
|
3
|
+
featureName: z.ZodString;
|
|
4
|
+
state: z.ZodBoolean;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export type GameFeatureOverrideResponse = z.infer<typeof GameFeatureOverrideSchema>;
|
|
7
|
+
export declare const GameRuleBoolOverrideSchema: z.ZodObject<{
|
|
8
|
+
ruleName: z.ZodString;
|
|
9
|
+
state: z.ZodBoolean;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type GameRuleBoolOverrideResponse = z.infer<typeof GameRuleBoolOverrideSchema>;
|
|
12
|
+
export declare const GameModeSchema: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
displayName: z.ZodString;
|
|
15
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16
|
+
duration: z.ZodNullable<z.ZodString>;
|
|
17
|
+
economyType: z.ZodNullable<z.ZodString>;
|
|
18
|
+
allowsMatchTimeouts: z.ZodBoolean;
|
|
19
|
+
allowsCustomGameReplays: z.ZodBoolean;
|
|
20
|
+
isTeamVoiceAllowed: z.ZodBoolean;
|
|
21
|
+
isMinimapHidden: z.ZodBoolean;
|
|
22
|
+
orbCount: z.ZodNumber;
|
|
23
|
+
roundsPerHalf: z.ZodNumber;
|
|
24
|
+
teamRoles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
25
|
+
gameFeatureOverrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
26
|
+
featureName: z.ZodString;
|
|
27
|
+
state: z.ZodBoolean;
|
|
28
|
+
}, z.core.$strip>>>>;
|
|
29
|
+
gameRuleBoolOverrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
30
|
+
ruleName: z.ZodString;
|
|
31
|
+
state: z.ZodBoolean;
|
|
32
|
+
}, z.core.$strip>>>>;
|
|
33
|
+
displayIcon: z.ZodNullable<z.ZodString>;
|
|
34
|
+
listViewIconTall: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
assetPath: z.ZodString;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export type GameModeResponse = z.infer<typeof GameModeSchema>;
|
|
38
|
+
export declare const GameModesSchema: z.ZodArray<z.ZodObject<{
|
|
39
|
+
uuid: z.ZodString;
|
|
40
|
+
displayName: z.ZodString;
|
|
41
|
+
description: z.ZodNullable<z.ZodString>;
|
|
42
|
+
duration: z.ZodNullable<z.ZodString>;
|
|
43
|
+
economyType: z.ZodNullable<z.ZodString>;
|
|
44
|
+
allowsMatchTimeouts: z.ZodBoolean;
|
|
45
|
+
allowsCustomGameReplays: z.ZodBoolean;
|
|
46
|
+
isTeamVoiceAllowed: z.ZodBoolean;
|
|
47
|
+
isMinimapHidden: z.ZodBoolean;
|
|
48
|
+
orbCount: z.ZodNumber;
|
|
49
|
+
roundsPerHalf: z.ZodNumber;
|
|
50
|
+
teamRoles: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
51
|
+
gameFeatureOverrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
52
|
+
featureName: z.ZodString;
|
|
53
|
+
state: z.ZodBoolean;
|
|
54
|
+
}, z.core.$strip>>>>;
|
|
55
|
+
gameRuleBoolOverrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
56
|
+
ruleName: z.ZodString;
|
|
57
|
+
state: z.ZodBoolean;
|
|
58
|
+
}, z.core.$strip>>>>;
|
|
59
|
+
displayIcon: z.ZodNullable<z.ZodString>;
|
|
60
|
+
listViewIconTall: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
assetPath: z.ZodString;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
export type GameModesResponse = z.infer<typeof GameModesSchema>;
|