@valpro-labs/valorant-api 1.1.0 → 1.3.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.
Files changed (105) hide show
  1. package/dist/ValorantApi.d.ts +45 -0
  2. package/dist/ValorantApi.js +48 -0
  3. package/dist/endpoints/AgentsEndpoints.d.ts +13 -0
  4. package/dist/endpoints/AgentsEndpoints.js +13 -0
  5. package/dist/endpoints/BaseEndpoint.d.ts +22 -0
  6. package/dist/endpoints/BaseEndpoint.js +14 -0
  7. package/dist/endpoints/BuddiesEndpoints.d.ts +17 -0
  8. package/dist/endpoints/BuddiesEndpoints.js +17 -0
  9. package/dist/endpoints/BundlesEndpoints.d.ts +12 -0
  10. package/dist/endpoints/BundlesEndpoints.js +12 -0
  11. package/dist/endpoints/CeremoniesEndpoints.d.ts +20 -0
  12. package/dist/endpoints/CeremoniesEndpoints.js +28 -0
  13. package/dist/endpoints/CompetitiveTiersEndpoints.d.ts +12 -0
  14. package/dist/endpoints/CompetitiveTiersEndpoints.js +12 -0
  15. package/dist/endpoints/ContentTierEndpoints.d.ts +12 -0
  16. package/dist/endpoints/ContentTierEndpoints.js +12 -0
  17. package/dist/endpoints/ContractsEndpoints.d.ts +8 -5
  18. package/dist/endpoints/ContractsEndpoints.js +8 -5
  19. package/dist/endpoints/CurrenciesEndpoints.d.ts +12 -0
  20. package/dist/endpoints/CurrenciesEndpoints.js +12 -0
  21. package/dist/endpoints/EventsEndpoints.d.ts +8 -5
  22. package/dist/endpoints/EventsEndpoints.js +8 -5
  23. package/dist/endpoints/FlexEndpoints.d.ts +12 -0
  24. package/dist/endpoints/FlexEndpoints.js +12 -0
  25. package/dist/endpoints/GameModesEndpoints.d.ts +24 -1
  26. package/dist/endpoints/GameModesEndpoints.js +27 -0
  27. package/dist/endpoints/GearEndpoints.d.ts +20 -0
  28. package/dist/endpoints/GearEndpoints.js +28 -0
  29. package/dist/endpoints/LevelBordersEndpoints.d.ts +12 -0
  30. package/dist/endpoints/LevelBordersEndpoints.js +12 -0
  31. package/dist/endpoints/MapsEndpoints.d.ts +12 -0
  32. package/dist/endpoints/MapsEndpoints.js +12 -0
  33. package/dist/endpoints/MissionsEndpoints.d.ts +12 -0
  34. package/dist/endpoints/MissionsEndpoints.js +12 -0
  35. package/dist/endpoints/ObjectivesEndpoints.d.ts +12 -0
  36. package/dist/endpoints/ObjectivesEndpoints.js +12 -0
  37. package/dist/endpoints/PlayerCardsEndpoints.d.ts +12 -0
  38. package/dist/endpoints/PlayerCardsEndpoints.js +12 -0
  39. package/dist/endpoints/PlayerTitlesEndpoints.d.ts +12 -0
  40. package/dist/endpoints/PlayerTitlesEndpoints.js +12 -0
  41. package/dist/endpoints/SeasonsEndpoints.d.ts +20 -6
  42. package/dist/endpoints/SeasonsEndpoints.js +23 -5
  43. package/dist/endpoints/SpraysEndpoints.d.ts +19 -1
  44. package/dist/endpoints/SpraysEndpoints.js +20 -0
  45. package/dist/endpoints/ThemesEndpoints.d.ts +20 -0
  46. package/dist/endpoints/ThemesEndpoints.js +28 -0
  47. package/dist/endpoints/VersionEndpoint.d.ts +7 -0
  48. package/dist/endpoints/VersionEndpoint.js +7 -0
  49. package/dist/endpoints/WeaponsEndpoints.d.ts +36 -1
  50. package/dist/endpoints/WeaponsEndpoints.js +43 -0
  51. package/dist/endpoints/index.d.ts +3 -0
  52. package/dist/endpoints/index.js +3 -0
  53. package/dist/schemas/AgentSchemas.d.ts +14 -0
  54. package/dist/schemas/AgentSchemas.js +7 -0
  55. package/dist/schemas/BuddySchemas.d.ts +8 -0
  56. package/dist/schemas/BuddySchemas.js +4 -0
  57. package/dist/schemas/BundleSchemas.d.ts +6 -0
  58. package/dist/schemas/BundleSchemas.js +3 -0
  59. package/dist/schemas/CeremonySchemas.d.ts +17 -0
  60. package/dist/schemas/CeremonySchemas.js +12 -0
  61. package/dist/schemas/CompetitiveTierSchemas.d.ts +6 -0
  62. package/dist/schemas/CompetitiveTierSchemas.js +3 -0
  63. package/dist/schemas/ContentTierSchemas.d.ts +4 -0
  64. package/dist/schemas/ContentTierSchemas.js +2 -0
  65. package/dist/schemas/ContractSchemas.d.ts +12 -0
  66. package/dist/schemas/ContractSchemas.js +6 -0
  67. package/dist/schemas/CurrencySchemas.d.ts +4 -0
  68. package/dist/schemas/CurrencySchemas.js +2 -0
  69. package/dist/schemas/EventSchemas.d.ts +4 -0
  70. package/dist/schemas/EventSchemas.js +2 -0
  71. package/dist/schemas/FlexSchemas.d.ts +4 -0
  72. package/dist/schemas/FlexSchemas.js +2 -0
  73. package/dist/schemas/GameModeEquippableSchemas.d.ts +23 -0
  74. package/dist/schemas/GameModeEquippableSchemas.js +16 -0
  75. package/dist/schemas/GameModeSchemas.d.ts +8 -0
  76. package/dist/schemas/GameModeSchemas.js +4 -0
  77. package/dist/schemas/GearSchemas.d.ts +69 -0
  78. package/dist/schemas/GearSchemas.js +30 -0
  79. package/dist/schemas/LevelBorderSchemas.d.ts +4 -0
  80. package/dist/schemas/LevelBorderSchemas.js +2 -0
  81. package/dist/schemas/MapSchemas.d.ts +12 -0
  82. package/dist/schemas/MapSchemas.js +6 -0
  83. package/dist/schemas/MissionSchemas.d.ts +6 -0
  84. package/dist/schemas/MissionSchemas.js +3 -0
  85. package/dist/schemas/ObjectiveSchemas.d.ts +4 -0
  86. package/dist/schemas/ObjectiveSchemas.js +2 -0
  87. package/dist/schemas/PlayerCardSchemas.d.ts +4 -0
  88. package/dist/schemas/PlayerCardSchemas.js +2 -0
  89. package/dist/schemas/PlayerTitleSchemas.d.ts +4 -0
  90. package/dist/schemas/PlayerTitleSchemas.js +2 -0
  91. package/dist/schemas/SeasonSchemas.d.ts +53 -0
  92. package/dist/schemas/SeasonSchemas.js +24 -1
  93. package/dist/schemas/SharedSchemas.d.ts +2 -0
  94. package/dist/schemas/SharedSchemas.js +1 -0
  95. package/dist/schemas/SpraySchemas.d.ts +6 -0
  96. package/dist/schemas/SpraySchemas.js +3 -0
  97. package/dist/schemas/ThemeSchemas.d.ts +21 -0
  98. package/dist/schemas/ThemeSchemas.js +14 -0
  99. package/dist/schemas/VersionSchemas.d.ts +2 -0
  100. package/dist/schemas/VersionSchemas.js +1 -0
  101. package/dist/schemas/WeaponSchemas.d.ts +26 -0
  102. package/dist/schemas/WeaponSchemas.js +13 -0
  103. package/dist/schemas/index.d.ts +4 -0
  104. package/dist/schemas/index.js +4 -0
  105. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single in-game currency. */
2
3
  export declare const CurrencySchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  displayName: z.ZodString;
@@ -8,7 +9,9 @@ export declare const CurrencySchema: z.ZodObject<{
8
9
  rewardPreviewIcon: z.ZodString;
9
10
  assetPath: z.ZodString;
10
11
  }, z.core.$strip>;
12
+ /** A single in-game currency. */
11
13
  export type CurrencyResponse = z.infer<typeof CurrencySchema>;
14
+ /** Schema for a list of in-game currencies. */
12
15
  export declare const CurrenciesSchema: z.ZodArray<z.ZodObject<{
13
16
  uuid: z.ZodString;
14
17
  displayName: z.ZodString;
@@ -18,4 +21,5 @@ export declare const CurrenciesSchema: z.ZodArray<z.ZodObject<{
18
21
  rewardPreviewIcon: z.ZodString;
19
22
  assetPath: z.ZodString;
20
23
  }, z.core.$strip>>;
24
+ /** A list of in-game currencies. */
21
25
  export type CurrenciesResponse = z.infer<typeof CurrenciesSchema>;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CurrenciesSchema = exports.CurrencySchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ /** Schema for a single in-game currency. */
5
6
  exports.CurrencySchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  displayName: zod_1.z.string(),
@@ -11,4 +12,5 @@ exports.CurrencySchema = zod_1.z.object({
11
12
  rewardPreviewIcon: zod_1.z.string().url(),
12
13
  assetPath: zod_1.z.string(),
13
14
  });
15
+ /** Schema for a list of in-game currencies. */
14
16
  exports.CurrenciesSchema = zod_1.z.array(exports.CurrencySchema);
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single in-game event. */
2
3
  export declare const EventSchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  displayName: z.ZodString;
@@ -7,7 +8,9 @@ export declare const EventSchema: z.ZodObject<{
7
8
  endTime: z.ZodString;
8
9
  assetPath: z.ZodString;
9
10
  }, z.core.$strip>;
11
+ /** A single in-game event's data. */
10
12
  export type EventResponse = z.infer<typeof EventSchema>;
13
+ /** Schema for a list of in-game events. */
11
14
  export declare const EventsSchema: z.ZodArray<z.ZodObject<{
12
15
  uuid: z.ZodString;
13
16
  displayName: z.ZodString;
@@ -16,4 +19,5 @@ export declare const EventsSchema: z.ZodArray<z.ZodObject<{
16
19
  endTime: z.ZodString;
17
20
  assetPath: z.ZodString;
18
21
  }, z.core.$strip>>;
22
+ /** A list of in-game events. */
19
23
  export type EventsResponse = z.infer<typeof EventsSchema>;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventsSchema = exports.EventSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ /** Schema for a single in-game event. */
5
6
  exports.EventSchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  displayName: zod_1.z.string(),
@@ -10,4 +11,5 @@ exports.EventSchema = zod_1.z.object({
10
11
  endTime: zod_1.z.string(),
11
12
  assetPath: zod_1.z.string(),
12
13
  });
14
+ /** Schema for a list of in-game events. */
13
15
  exports.EventsSchema = zod_1.z.array(exports.EventSchema);
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single flex item. */
2
3
  export declare const FlexSchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  displayName: z.ZodString;
@@ -6,7 +7,9 @@ export declare const FlexSchema: z.ZodObject<{
6
7
  displayIcon: z.ZodString;
7
8
  assetPath: z.ZodString;
8
9
  }, z.core.$strip>;
10
+ /** A single flex item's data. */
9
11
  export type FlexResponse = z.infer<typeof FlexSchema>;
12
+ /** Schema for a list of flex items. */
10
13
  export declare const FlexsSchema: z.ZodArray<z.ZodObject<{
11
14
  uuid: z.ZodString;
12
15
  displayName: z.ZodString;
@@ -14,4 +17,5 @@ export declare const FlexsSchema: z.ZodArray<z.ZodObject<{
14
17
  displayIcon: z.ZodString;
15
18
  assetPath: z.ZodString;
16
19
  }, z.core.$strip>>;
20
+ /** A list of flex items. */
17
21
  export type FlexsResponse = z.infer<typeof FlexsSchema>;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FlexsSchema = exports.FlexSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const SharedSchemas_1 = require("./SharedSchemas");
6
+ /** Schema for a single flex item. */
6
7
  exports.FlexSchema = zod_1.z.object({
7
8
  uuid: zod_1.z.string().uuid(),
8
9
  displayName: SharedSchemas_1.LocalizedStringSchema,
@@ -10,4 +11,5 @@ exports.FlexSchema = zod_1.z.object({
10
11
  displayIcon: zod_1.z.string(),
11
12
  assetPath: zod_1.z.string(),
12
13
  });
14
+ /** Schema for a list of flex items. */
13
15
  exports.FlexsSchema = zod_1.z.array(exports.FlexSchema);
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ /** Schema for a single game mode equippable. */
3
+ export declare const GameModeEquippableSchema: z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ displayName: z.ZodString;
6
+ category: z.ZodNullable<z.ZodString>;
7
+ displayIcon: z.ZodString;
8
+ killStreamIcon: z.ZodString;
9
+ assetPath: z.ZodString;
10
+ }, z.core.$strip>;
11
+ /** A single game mode equippable's data. */
12
+ export type GameModeEquippableResponse = z.infer<typeof GameModeEquippableSchema>;
13
+ /** Schema for a list of game mode equippables. */
14
+ export declare const GameModeEquippablesSchema: z.ZodArray<z.ZodObject<{
15
+ uuid: z.ZodString;
16
+ displayName: z.ZodString;
17
+ category: z.ZodNullable<z.ZodString>;
18
+ displayIcon: z.ZodString;
19
+ killStreamIcon: z.ZodString;
20
+ assetPath: z.ZodString;
21
+ }, z.core.$strip>>;
22
+ /** A list of game mode equippables. */
23
+ export type GameModeEquippablesResponse = z.infer<typeof GameModeEquippablesSchema>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GameModeEquippablesSchema = exports.GameModeEquippableSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const SharedSchemas_1 = require("./SharedSchemas");
6
+ /** Schema for a single game mode equippable. */
7
+ exports.GameModeEquippableSchema = zod_1.z.object({
8
+ uuid: zod_1.z.string().uuid(),
9
+ displayName: SharedSchemas_1.LocalizedStringSchema,
10
+ category: zod_1.z.string().nullable(),
11
+ displayIcon: zod_1.z.string(),
12
+ killStreamIcon: zod_1.z.string(),
13
+ assetPath: zod_1.z.string(),
14
+ });
15
+ /** Schema for a list of game mode equippables. */
16
+ exports.GameModeEquippablesSchema = zod_1.z.array(exports.GameModeEquippableSchema);
@@ -1,14 +1,19 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single game feature override. */
2
3
  export declare const GameFeatureOverrideSchema: z.ZodObject<{
3
4
  featureName: z.ZodString;
4
5
  state: z.ZodBoolean;
5
6
  }, z.core.$strip>;
7
+ /** A single game feature override's data. */
6
8
  export type GameFeatureOverrideResponse = z.infer<typeof GameFeatureOverrideSchema>;
9
+ /** Schema for a single game rule boolean override. */
7
10
  export declare const GameRuleBoolOverrideSchema: z.ZodObject<{
8
11
  ruleName: z.ZodString;
9
12
  state: z.ZodBoolean;
10
13
  }, z.core.$strip>;
14
+ /** A single game rule boolean override's data. */
11
15
  export type GameRuleBoolOverrideResponse = z.infer<typeof GameRuleBoolOverrideSchema>;
16
+ /** Schema for a single game mode, including {@link GameFeatureOverrideResponse | feature overrides} and {@link GameRuleBoolOverrideResponse | rule overrides}. */
12
17
  export declare const GameModeSchema: z.ZodObject<{
13
18
  uuid: z.ZodString;
14
19
  displayName: z.ZodString;
@@ -34,7 +39,9 @@ export declare const GameModeSchema: z.ZodObject<{
34
39
  listViewIconTall: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
40
  assetPath: z.ZodString;
36
41
  }, z.core.$strip>;
42
+ /** A single game mode's data. */
37
43
  export type GameModeResponse = z.infer<typeof GameModeSchema>;
44
+ /** Schema for a list of game modes. */
38
45
  export declare const GameModesSchema: z.ZodArray<z.ZodObject<{
39
46
  uuid: z.ZodString;
40
47
  displayName: z.ZodString;
@@ -60,4 +67,5 @@ export declare const GameModesSchema: z.ZodArray<z.ZodObject<{
60
67
  listViewIconTall: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
68
  assetPath: z.ZodString;
62
69
  }, z.core.$strip>>;
70
+ /** A list of game modes. */
63
71
  export type GameModesResponse = z.infer<typeof GameModesSchema>;
@@ -3,14 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GameModesSchema = exports.GameModeSchema = exports.GameRuleBoolOverrideSchema = exports.GameFeatureOverrideSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const SharedSchemas_1 = require("./SharedSchemas");
6
+ /** Schema for a single game feature override. */
6
7
  exports.GameFeatureOverrideSchema = zod_1.z.object({
7
8
  featureName: zod_1.z.string(),
8
9
  state: zod_1.z.boolean(),
9
10
  });
11
+ /** Schema for a single game rule boolean override. */
10
12
  exports.GameRuleBoolOverrideSchema = zod_1.z.object({
11
13
  ruleName: zod_1.z.string(),
12
14
  state: zod_1.z.boolean(),
13
15
  });
16
+ /** Schema for a single game mode, including {@link GameFeatureOverrideResponse | feature overrides} and {@link GameRuleBoolOverrideResponse | rule overrides}. */
14
17
  exports.GameModeSchema = zod_1.z.object({
15
18
  uuid: zod_1.z.string().uuid(),
16
19
  displayName: SharedSchemas_1.LocalizedStringSchema,
@@ -30,4 +33,5 @@ exports.GameModeSchema = zod_1.z.object({
30
33
  listViewIconTall: zod_1.z.string().nullable().optional(),
31
34
  assetPath: zod_1.z.string(),
32
35
  });
36
+ /** Schema for a list of game modes. */
33
37
  exports.GameModesSchema = zod_1.z.array(exports.GameModeSchema);
@@ -0,0 +1,69 @@
1
+ import { z } from 'zod';
2
+ /** Schema for a gear item's shop data. */
3
+ export declare const GearShopDataSchema: z.ZodObject<{
4
+ cost: z.ZodNumber;
5
+ category: z.ZodString;
6
+ shopOrderPriority: z.ZodNumber;
7
+ categoryText: z.ZodString;
8
+ gridPosition: z.ZodNullable<z.ZodObject<{
9
+ row: z.ZodNumber;
10
+ column: z.ZodNumber;
11
+ }, z.core.$strip>>;
12
+ canBeTrashed: z.ZodBoolean;
13
+ image: z.ZodNullable<z.ZodString>;
14
+ newImage: z.ZodString;
15
+ newImage2: z.ZodNullable<z.ZodString>;
16
+ assetPath: z.ZodString;
17
+ }, z.core.$strip>;
18
+ /** A gear item's shop data. */
19
+ export type GearShopDataResponse = z.infer<typeof GearShopDataSchema>;
20
+ /** Schema for a single gear item, including its {@link GearShopDataResponse | shop data}. */
21
+ export declare const GearSchema: z.ZodObject<{
22
+ uuid: z.ZodString;
23
+ displayName: z.ZodString;
24
+ description: z.ZodString;
25
+ displayIcon: z.ZodString;
26
+ assetPath: z.ZodString;
27
+ shopData: z.ZodObject<{
28
+ cost: z.ZodNumber;
29
+ category: z.ZodString;
30
+ shopOrderPriority: z.ZodNumber;
31
+ categoryText: z.ZodString;
32
+ gridPosition: z.ZodNullable<z.ZodObject<{
33
+ row: z.ZodNumber;
34
+ column: z.ZodNumber;
35
+ }, z.core.$strip>>;
36
+ canBeTrashed: z.ZodBoolean;
37
+ image: z.ZodNullable<z.ZodString>;
38
+ newImage: z.ZodString;
39
+ newImage2: z.ZodNullable<z.ZodString>;
40
+ assetPath: z.ZodString;
41
+ }, z.core.$strip>;
42
+ }, z.core.$strip>;
43
+ /** A single gear item's data. */
44
+ export type GearResponse = z.infer<typeof GearSchema>;
45
+ /** Schema for a list of gear items. */
46
+ export declare const GearsSchema: z.ZodArray<z.ZodObject<{
47
+ uuid: z.ZodString;
48
+ displayName: z.ZodString;
49
+ description: z.ZodString;
50
+ displayIcon: z.ZodString;
51
+ assetPath: z.ZodString;
52
+ shopData: z.ZodObject<{
53
+ cost: z.ZodNumber;
54
+ category: z.ZodString;
55
+ shopOrderPriority: z.ZodNumber;
56
+ categoryText: z.ZodString;
57
+ gridPosition: z.ZodNullable<z.ZodObject<{
58
+ row: z.ZodNumber;
59
+ column: z.ZodNumber;
60
+ }, z.core.$strip>>;
61
+ canBeTrashed: z.ZodBoolean;
62
+ image: z.ZodNullable<z.ZodString>;
63
+ newImage: z.ZodString;
64
+ newImage2: z.ZodNullable<z.ZodString>;
65
+ assetPath: z.ZodString;
66
+ }, z.core.$strip>;
67
+ }, z.core.$strip>>;
68
+ /** A list of gear items. */
69
+ export type GearsResponse = z.infer<typeof GearsSchema>;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GearsSchema = exports.GearSchema = exports.GearShopDataSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const SharedSchemas_1 = require("./SharedSchemas");
6
+ const WeaponSchemas_1 = require("./WeaponSchemas");
7
+ /** Schema for a gear item's shop data. */
8
+ exports.GearShopDataSchema = zod_1.z.object({
9
+ cost: zod_1.z.number().int(),
10
+ category: zod_1.z.string(),
11
+ shopOrderPriority: zod_1.z.number().int(),
12
+ categoryText: SharedSchemas_1.LocalizedStringSchema,
13
+ gridPosition: WeaponSchemas_1.GridPositionSchema.nullable(),
14
+ canBeTrashed: zod_1.z.boolean(),
15
+ image: zod_1.z.string().nullable(),
16
+ newImage: zod_1.z.string(),
17
+ newImage2: zod_1.z.string().nullable(),
18
+ assetPath: zod_1.z.string(),
19
+ });
20
+ /** Schema for a single gear item, including its {@link GearShopDataResponse | shop data}. */
21
+ exports.GearSchema = zod_1.z.object({
22
+ uuid: zod_1.z.string().uuid(),
23
+ displayName: SharedSchemas_1.LocalizedStringSchema,
24
+ description: SharedSchemas_1.LocalizedStringSchema,
25
+ displayIcon: zod_1.z.string(),
26
+ assetPath: zod_1.z.string(),
27
+ shopData: exports.GearShopDataSchema,
28
+ });
29
+ /** Schema for a list of gear items. */
30
+ exports.GearsSchema = zod_1.z.array(exports.GearSchema);
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single level border. */
2
3
  export declare const LevelBorderSchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  displayName: z.ZodString;
@@ -8,7 +9,9 @@ export declare const LevelBorderSchema: z.ZodObject<{
8
9
  smallPlayerCardAppearance: z.ZodString;
9
10
  assetPath: z.ZodString;
10
11
  }, z.core.$strip>;
12
+ /** A single level border's data. */
11
13
  export type LevelBorderResponse = z.infer<typeof LevelBorderSchema>;
14
+ /** Schema for a list of level borders. */
12
15
  export declare const LevelBordersSchema: z.ZodArray<z.ZodObject<{
13
16
  uuid: z.ZodString;
14
17
  displayName: z.ZodString;
@@ -18,4 +21,5 @@ export declare const LevelBordersSchema: z.ZodArray<z.ZodObject<{
18
21
  smallPlayerCardAppearance: z.ZodString;
19
22
  assetPath: z.ZodString;
20
23
  }, z.core.$strip>>;
24
+ /** A list of level borders. */
21
25
  export type LevelBordersResponse = z.infer<typeof LevelBordersSchema>;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LevelBordersSchema = exports.LevelBorderSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ /** Schema for a single level border. */
5
6
  exports.LevelBorderSchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  displayName: zod_1.z.string(),
@@ -11,4 +12,5 @@ exports.LevelBorderSchema = zod_1.z.object({
11
12
  smallPlayerCardAppearance: zod_1.z.string(),
12
13
  assetPath: zod_1.z.string(),
13
14
  });
15
+ /** Schema for a list of level borders. */
14
16
  exports.LevelBordersSchema = zod_1.z.array(exports.LevelBorderSchema);
@@ -1,22 +1,29 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a 3D location. */
2
3
  export declare const LocationSchema: z.ZodObject<{
3
4
  x: z.ZodNumber;
4
5
  y: z.ZodNumber;
5
6
  z: z.ZodNumber;
6
7
  }, z.core.$strip>;
8
+ /** A 3D location's data. */
7
9
  export type LocationResponse = z.infer<typeof LocationSchema>;
10
+ /** Schema for a 3D scale. */
8
11
  export declare const Scale3DSchema: z.ZodObject<{
9
12
  x: z.ZodNumber;
10
13
  y: z.ZodNumber;
11
14
  z: z.ZodNumber;
12
15
  }, z.core.$strip>;
16
+ /** A 3D scale's data. */
13
17
  export type Scale3DResponse = z.infer<typeof Scale3DSchema>;
18
+ /** Schema for a 3D rotation. */
14
19
  export declare const RotationSchema: z.ZodObject<{
15
20
  pitch: z.ZodNumber;
16
21
  yaw: z.ZodNumber;
17
22
  roll: z.ZodNumber;
18
23
  }, z.core.$strip>;
24
+ /** A 3D rotation's data. */
19
25
  export type RotationResponse = z.infer<typeof RotationSchema>;
26
+ /** Schema for a single map callout, including its {@link LocationResponse | location}, {@link Scale3DResponse | scale}, and {@link RotationResponse | rotation}. */
20
27
  export declare const CalloutSchema: z.ZodObject<{
21
28
  regionName: z.ZodString;
22
29
  superRegion: z.ZodString;
@@ -37,7 +44,9 @@ export declare const CalloutSchema: z.ZodObject<{
37
44
  roll: z.ZodNumber;
38
45
  }, z.core.$strip>;
39
46
  }, z.core.$strip>;
47
+ /** A single map callout's data. */
40
48
  export type CalloutResponse = z.infer<typeof CalloutSchema>;
49
+ /** Schema for a single map, including its {@link CalloutResponse | callouts}. */
41
50
  export declare const MapSchema: z.ZodObject<{
42
51
  uuid: z.ZodString;
43
52
  displayName: z.ZodString;
@@ -77,7 +86,9 @@ export declare const MapSchema: z.ZodObject<{
77
86
  }, z.core.$strip>;
78
87
  }, z.core.$strip>>;
79
88
  }, z.core.$strip>;
89
+ /** A single map's data. */
80
90
  export type MapResponse = z.infer<typeof MapSchema>;
91
+ /** Schema for a list of maps. */
81
92
  export declare const MapsSchema: z.ZodArray<z.ZodObject<{
82
93
  uuid: z.ZodString;
83
94
  displayName: z.ZodString;
@@ -117,4 +128,5 @@ export declare const MapsSchema: z.ZodArray<z.ZodObject<{
117
128
  }, z.core.$strip>;
118
129
  }, z.core.$strip>>;
119
130
  }, z.core.$strip>>;
131
+ /** A list of maps. */
120
132
  export type MapsResponse = z.infer<typeof MapsSchema>;
@@ -3,21 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MapsSchema = exports.MapSchema = exports.CalloutSchema = exports.RotationSchema = exports.Scale3DSchema = exports.LocationSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const SharedSchemas_1 = require("./SharedSchemas");
6
+ /** Schema for a 3D location. */
6
7
  exports.LocationSchema = zod_1.z.object({
7
8
  x: zod_1.z.number(),
8
9
  y: zod_1.z.number(),
9
10
  z: zod_1.z.number(),
10
11
  });
12
+ /** Schema for a 3D scale. */
11
13
  exports.Scale3DSchema = zod_1.z.object({
12
14
  x: zod_1.z.number(),
13
15
  y: zod_1.z.number(),
14
16
  z: zod_1.z.number(),
15
17
  });
18
+ /** Schema for a 3D rotation. */
16
19
  exports.RotationSchema = zod_1.z.object({
17
20
  pitch: zod_1.z.number(),
18
21
  yaw: zod_1.z.number(),
19
22
  roll: zod_1.z.number(),
20
23
  });
24
+ /** Schema for a single map callout, including its {@link LocationResponse | location}, {@link Scale3DResponse | scale}, and {@link RotationResponse | rotation}. */
21
25
  exports.CalloutSchema = zod_1.z.object({
22
26
  regionName: SharedSchemas_1.LocalizedStringSchema,
23
27
  superRegion: zod_1.z.string(),
@@ -26,6 +30,7 @@ exports.CalloutSchema = zod_1.z.object({
26
30
  scale3D: exports.Scale3DSchema,
27
31
  rotation: exports.RotationSchema,
28
32
  });
33
+ /** Schema for a single map, including its {@link CalloutResponse | callouts}. */
29
34
  exports.MapSchema = zod_1.z.object({
30
35
  uuid: zod_1.z.string().uuid(),
31
36
  displayName: SharedSchemas_1.LocalizedStringSchema,
@@ -46,4 +51,5 @@ exports.MapSchema = zod_1.z.object({
46
51
  yScalarToAdd: zod_1.z.number(),
47
52
  callouts: zod_1.z.array(exports.CalloutSchema),
48
53
  });
54
+ /** Schema for a list of maps. */
49
55
  exports.MapsSchema = zod_1.z.array(exports.MapSchema);
@@ -1,9 +1,12 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single mission objective. */
2
3
  export declare const MissionObjectiveSchema: z.ZodObject<{
3
4
  objectiveUuid: z.ZodString;
4
5
  value: z.ZodNumber;
5
6
  }, z.core.$strip>;
7
+ /** A single mission objective's data. */
6
8
  export type MissionObjectiveResponse = z.infer<typeof MissionObjectiveSchema>;
9
+ /** Schema for a single mission, including its {@link MissionObjectiveResponse | objectives}. */
7
10
  export declare const MissionSchema: z.ZodObject<{
8
11
  uuid: z.ZodString;
9
12
  displayName: z.ZodString;
@@ -19,7 +22,9 @@ export declare const MissionSchema: z.ZodObject<{
19
22
  value: z.ZodNumber;
20
23
  }, z.core.$strip>>;
21
24
  }, z.core.$strip>;
25
+ /** A single mission's data. */
22
26
  export type MissionResponse = z.infer<typeof MissionSchema>;
27
+ /** Schema for a list of missions. */
23
28
  export declare const MissionsSchema: z.ZodArray<z.ZodObject<{
24
29
  uuid: z.ZodString;
25
30
  displayName: z.ZodString;
@@ -35,4 +40,5 @@ export declare const MissionsSchema: z.ZodArray<z.ZodObject<{
35
40
  value: z.ZodNumber;
36
41
  }, z.core.$strip>>;
37
42
  }, z.core.$strip>>;
43
+ /** A list of missions. */
38
44
  export type MissionsResponse = z.infer<typeof MissionsSchema>;
@@ -3,10 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MissionsSchema = exports.MissionSchema = exports.MissionObjectiveSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const SharedSchemas_1 = require("./SharedSchemas");
6
+ /** Schema for a single mission objective. */
6
7
  exports.MissionObjectiveSchema = zod_1.z.object({
7
8
  objectiveUuid: zod_1.z.string().uuid(),
8
9
  value: zod_1.z.number().int(),
9
10
  });
11
+ /** Schema for a single mission, including its {@link MissionObjectiveResponse | objectives}. */
10
12
  exports.MissionSchema = zod_1.z.object({
11
13
  uuid: zod_1.z.string().uuid(),
12
14
  displayName: SharedSchemas_1.LocalizedStringSchema,
@@ -19,4 +21,5 @@ exports.MissionSchema = zod_1.z.object({
19
21
  assetPath: zod_1.z.string(),
20
22
  objectives: zod_1.z.array(exports.MissionObjectiveSchema),
21
23
  });
24
+ /** Schema for a list of missions. */
22
25
  exports.MissionsSchema = zod_1.z.array(exports.MissionSchema);
@@ -1,13 +1,17 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single objective. */
2
3
  export declare const ObjectiveSchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  directive: z.ZodString;
5
6
  assetPath: z.ZodString;
6
7
  }, z.core.$strip>;
8
+ /** A single objective's data. */
7
9
  export type ObjectiveResponse = z.infer<typeof ObjectiveSchema>;
10
+ /** Schema for a list of objectives. */
8
11
  export declare const ObjectivesSchema: z.ZodArray<z.ZodObject<{
9
12
  uuid: z.ZodString;
10
13
  directive: z.ZodString;
11
14
  assetPath: z.ZodString;
12
15
  }, z.core.$strip>>;
16
+ /** A list of objectives. */
13
17
  export type ObjectivesResponse = z.infer<typeof ObjectivesSchema>;
@@ -2,9 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ObjectivesSchema = exports.ObjectiveSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ /** Schema for a single objective. */
5
6
  exports.ObjectiveSchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  directive: zod_1.z.string(),
8
9
  assetPath: zod_1.z.string(),
9
10
  });
11
+ /** Schema for a list of objectives. */
10
12
  exports.ObjectivesSchema = zod_1.z.array(exports.ObjectiveSchema);
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single player card. */
2
3
  export declare const PlayerCardSchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  displayName: z.ZodString;
@@ -10,7 +11,9 @@ export declare const PlayerCardSchema: z.ZodObject<{
10
11
  largeArt: z.ZodString;
11
12
  assetPath: z.ZodString;
12
13
  }, z.core.$strip>;
14
+ /** A single player card's data. */
13
15
  export type PlayerCardResponse = z.infer<typeof PlayerCardSchema>;
16
+ /** Schema for a list of player cards. */
14
17
  export declare const PlayerCardsSchema: z.ZodArray<z.ZodObject<{
15
18
  uuid: z.ZodString;
16
19
  displayName: z.ZodString;
@@ -22,4 +25,5 @@ export declare const PlayerCardsSchema: z.ZodArray<z.ZodObject<{
22
25
  largeArt: z.ZodString;
23
26
  assetPath: z.ZodString;
24
27
  }, z.core.$strip>>;
28
+ /** A list of player cards. */
25
29
  export type PlayerCardsResponse = z.infer<typeof PlayerCardsSchema>;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PlayerCardsSchema = exports.PlayerCardSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ /** Schema for a single player card. */
5
6
  exports.PlayerCardSchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  displayName: zod_1.z.string(),
@@ -13,4 +14,5 @@ exports.PlayerCardSchema = zod_1.z.object({
13
14
  largeArt: zod_1.z.string(),
14
15
  assetPath: zod_1.z.string(),
15
16
  });
17
+ /** Schema for a list of player cards. */
16
18
  exports.PlayerCardsSchema = zod_1.z.array(exports.PlayerCardSchema);
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ /** Schema for a single player title. */
2
3
  export declare const PlayerTitleSchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  displayName: z.ZodString;
@@ -6,7 +7,9 @@ export declare const PlayerTitleSchema: z.ZodObject<{
6
7
  isHiddenIfNotOwned: z.ZodBoolean;
7
8
  assetPath: z.ZodString;
8
9
  }, z.core.$strip>;
10
+ /** A single player title's data. */
9
11
  export type PlayerTitleResponse = z.infer<typeof PlayerTitleSchema>;
12
+ /** Schema for a list of player titles. */
10
13
  export declare const PlayerTitlesSchema: z.ZodArray<z.ZodObject<{
11
14
  uuid: z.ZodString;
12
15
  displayName: z.ZodString;
@@ -14,4 +17,5 @@ export declare const PlayerTitlesSchema: z.ZodArray<z.ZodObject<{
14
17
  isHiddenIfNotOwned: z.ZodBoolean;
15
18
  assetPath: z.ZodString;
16
19
  }, z.core.$strip>>;
20
+ /** A list of player titles. */
17
21
  export type PlayerTitlesResponse = z.infer<typeof PlayerTitlesSchema>;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PlayerTitlesSchema = exports.PlayerTitleSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ /** Schema for a single player title. */
5
6
  exports.PlayerTitleSchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  displayName: zod_1.z.string(),
@@ -9,4 +10,5 @@ exports.PlayerTitleSchema = zod_1.z.object({
9
10
  isHiddenIfNotOwned: zod_1.z.boolean(),
10
11
  assetPath: zod_1.z.string(),
11
12
  });
13
+ /** Schema for a list of player titles. */
12
14
  exports.PlayerTitlesSchema = zod_1.z.array(exports.PlayerTitleSchema);