pokenode-ts 1.16.1 → 1.18.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 (87) hide show
  1. package/README.md +0 -11
  2. package/lib/index.d.ts +4106 -0
  3. package/lib/index.global.js +133 -0
  4. package/lib/index.js +14 -0
  5. package/lib/index.mjs +14 -0
  6. package/package.json +71 -58
  7. package/CHANGELOG.md +0 -6
  8. package/dist/clients/berry.client.js +0 -156
  9. package/dist/clients/contest.client.js +0 -133
  10. package/dist/clients/encounter.client.js +0 -163
  11. package/dist/clients/evolution.client.js +0 -103
  12. package/dist/clients/game.client.js +0 -210
  13. package/dist/clients/index.js +0 -15
  14. package/dist/clients/item.client.js +0 -257
  15. package/dist/clients/location.client.js +0 -210
  16. package/dist/clients/machine.client.js +0 -54
  17. package/dist/clients/main.client.js +0 -48
  18. package/dist/clients/move.client.js +0 -351
  19. package/dist/clients/pokemon.client.js +0 -728
  20. package/dist/clients/utility.client.js +0 -82
  21. package/dist/config/logger.js +0 -28
  22. package/dist/constants/base.js +0 -7
  23. package/dist/constants/berries.js +0 -88
  24. package/dist/constants/contests.js +0 -11
  25. package/dist/constants/encounters.js +0 -88
  26. package/dist/constants/endpoints.js +0 -58
  27. package/dist/constants/evolutions.js +0 -16
  28. package/dist/constants/games.js +0 -114
  29. package/dist/constants/index.js +0 -15
  30. package/dist/constants/items.js +0 -88
  31. package/dist/constants/locations.js +0 -23
  32. package/dist/constants/moves.js +0 -88
  33. package/dist/constants/pokemons.js +0 -148
  34. package/dist/constants/utilities.js +0 -19
  35. package/dist/index.d.ts +0 -3933
  36. package/dist/index.js +0 -9
  37. package/dist/models/Berry/berry.js +0 -2
  38. package/dist/models/Berry/index.js +0 -4
  39. package/dist/models/Common/description.js +0 -2
  40. package/dist/models/Common/effect.js +0 -2
  41. package/dist/models/Common/encounter.js +0 -2
  42. package/dist/models/Common/flavor-text.js +0 -2
  43. package/dist/models/Common/generation.js +0 -2
  44. package/dist/models/Common/index.js +0 -14
  45. package/dist/models/Common/language.js +0 -2
  46. package/dist/models/Common/machine.js +0 -2
  47. package/dist/models/Common/name.js +0 -2
  48. package/dist/models/Common/resource.js +0 -2
  49. package/dist/models/Common/verbose.js +0 -2
  50. package/dist/models/Common/version.js +0 -2
  51. package/dist/models/Contest/contest.js +0 -2
  52. package/dist/models/Contest/index.js +0 -4
  53. package/dist/models/Encounter/encounter.js +0 -2
  54. package/dist/models/Encounter/index.js +0 -4
  55. package/dist/models/Evolution/evolution.js +0 -2
  56. package/dist/models/Evolution/index.js +0 -4
  57. package/dist/models/Game/generation.js +0 -2
  58. package/dist/models/Game/index.js +0 -7
  59. package/dist/models/Game/pokedex.js +0 -2
  60. package/dist/models/Game/pokemon-entry.js +0 -2
  61. package/dist/models/Game/version.js +0 -2
  62. package/dist/models/Item/index.js +0 -4
  63. package/dist/models/Item/item.js +0 -2
  64. package/dist/models/Location/encounter.js +0 -2
  65. package/dist/models/Location/index.js +0 -7
  66. package/dist/models/Location/location.js +0 -2
  67. package/dist/models/Location/palpark.js +0 -2
  68. package/dist/models/Location/region.js +0 -2
  69. package/dist/models/Machine/index.js +0 -4
  70. package/dist/models/Machine/machine.js +0 -2
  71. package/dist/models/Moves/index.js +0 -4
  72. package/dist/models/Moves/moves.js +0 -2
  73. package/dist/models/Pokemon/ability.js +0 -2
  74. package/dist/models/Pokemon/characteristics.js +0 -2
  75. package/dist/models/Pokemon/egg-group.js +0 -2
  76. package/dist/models/Pokemon/gender.js +0 -2
  77. package/dist/models/Pokemon/growth-rates.js +0 -2
  78. package/dist/models/Pokemon/index.js +0 -13
  79. package/dist/models/Pokemon/nature.js +0 -2
  80. package/dist/models/Pokemon/pokeathlon-stat.js +0 -2
  81. package/dist/models/Pokemon/pokemon.js +0 -2
  82. package/dist/models/Pokemon/stats.js +0 -2
  83. package/dist/models/Pokemon/type.js +0 -2
  84. package/dist/models/index.js +0 -14
  85. package/dist/structures/base.js +0 -29
  86. package/dist/structures/index.js +0 -4
  87. package/jest.config.js +0 -25
@@ -1,82 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UtilityClient = void 0;
4
- const tslib_1 = require("tslib");
5
- const constants_1 = require("../constants");
6
- const base_1 = require("../structures/base");
7
- /**
8
- * ### Utility Client
9
- *
10
- * Client used to access the Utility Endpoints:
11
- * - [Languages](https://pokeapi.co/docs/v2#utility-section)
12
- * - Resources
13
- * ---
14
- * See [PokéAPI Documentation](https://pokeapi.co/docs/v2#utility-section)
15
- */
16
- class UtilityClient extends base_1.BaseClient {
17
- constructor(clientOptions) {
18
- super(clientOptions);
19
- }
20
- /**
21
- * Get a Language by it's ID
22
- * @param id The Language ID
23
- * @returns Language
24
- */
25
- getLanguageById(id) {
26
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
27
- return new Promise((resolve, reject) => {
28
- this.api
29
- .get(`${constants_1.Endpoints.Language}/${id}`)
30
- .then((response) => resolve(response.data))
31
- .catch((error) => reject(error));
32
- });
33
- });
34
- }
35
- /**
36
- * Get a Language by it's name
37
- * @param name The Language name
38
- * @returns Language
39
- */
40
- getLanguageByName(name) {
41
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
42
- return new Promise((resolve, reject) => {
43
- this.api
44
- .get(`${constants_1.Endpoints.Language}/${name}`)
45
- .then((response) => resolve(response.data))
46
- .catch((error) => reject(error));
47
- });
48
- });
49
- }
50
- /**
51
- * Get a Resource by it's url
52
- * @param url The Resource url
53
- * @returns Resource
54
- */
55
- /* eslint-disable @typescript-eslint/no-explicit-any */
56
- getResourceByUrl(url) {
57
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
58
- return new Promise((resolve, reject) => {
59
- this.api
60
- .get(url, { baseURL: '' })
61
- .then((response) => resolve(response.data))
62
- .catch((error) => reject(error));
63
- });
64
- });
65
- }
66
- /* eslint-enable @typescript-eslint/no-explicit-any */
67
- /**
68
- * List Languages
69
- * @param offset The first item that you will get
70
- * @param limit How many Languages per page
71
- * @returns A list of Languages
72
- */
73
- listLanguages(offset, limit) {
74
- return new Promise((resolve, reject) => {
75
- this.api
76
- .get(`${constants_1.Endpoints.Language}?offset=${offset || 0}&limit=${limit || 20}`)
77
- .then((response) => resolve(response.data))
78
- .catch((error) => reject(error));
79
- });
80
- }
81
- }
82
- exports.UtilityClient = UtilityClient;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.handleResponseError = exports.handleResponse = exports.handleRequestError = exports.handleRequest = exports.createLogger = void 0;
4
- const tslib_1 = require("tslib");
5
- const pino_1 = tslib_1.__importDefault(require("pino"));
6
- const createLogger = (options) => (0, pino_1.default)(options);
7
- exports.createLogger = createLogger;
8
- const handleRequest = (config, logger) => {
9
- var _a;
10
- logger.info(`[ Request Config ] ${((_a = config.method) === null || _a === void 0 ? void 0 : _a.toUpperCase()) || ''} | ${config.url || ''}`);
11
- return config;
12
- };
13
- exports.handleRequest = handleRequest;
14
- const handleRequestError = (error, logger) => {
15
- logger.error(`[ Request Error ] CODE ${error.code || 'UNKNOWN'} | ${error.message}`);
16
- throw error;
17
- };
18
- exports.handleRequestError = handleRequestError;
19
- const handleResponse = (response, logger) => {
20
- logger.info(response.data);
21
- return response;
22
- };
23
- exports.handleResponse = handleResponse;
24
- const handleResponseError = (error, logger) => {
25
- logger.error(`[ Response Error ] CODE ${error.code || 'UNKNOWN'} | ${error.message}`);
26
- throw error;
27
- };
28
- exports.handleResponseError = handleResponseError;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseURL = void 0;
4
- var BaseURL;
5
- (function (BaseURL) {
6
- BaseURL["REST"] = "https://pokeapi.co/api/v2";
7
- })(BaseURL = exports.BaseURL || (exports.BaseURL = {}));
@@ -1,88 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BerryFlavors = exports.BerryFirmnesses = exports.Berries = void 0;
4
- /** Enum of Berries (NAME - ID) */
5
- var Berries;
6
- (function (Berries) {
7
- Berries[Berries["CHERI"] = 1] = "CHERI";
8
- Berries[Berries["CHESTO"] = 2] = "CHESTO";
9
- Berries[Berries["PECHA"] = 3] = "PECHA";
10
- Berries[Berries["RAWST"] = 4] = "RAWST";
11
- Berries[Berries["ASPEAR"] = 5] = "ASPEAR";
12
- Berries[Berries["LEPPA"] = 6] = "LEPPA";
13
- Berries[Berries["ORAN"] = 7] = "ORAN";
14
- Berries[Berries["PERSIM"] = 8] = "PERSIM";
15
- Berries[Berries["LUM"] = 9] = "LUM";
16
- Berries[Berries["SITRUS"] = 10] = "SITRUS";
17
- Berries[Berries["FIGY"] = 11] = "FIGY";
18
- Berries[Berries["WIKI"] = 12] = "WIKI";
19
- Berries[Berries["MAGO"] = 13] = "MAGO";
20
- Berries[Berries["AGUAV"] = 14] = "AGUAV";
21
- Berries[Berries["IAPAPA"] = 15] = "IAPAPA";
22
- Berries[Berries["RAZZ"] = 16] = "RAZZ";
23
- Berries[Berries["BLUK"] = 17] = "BLUK";
24
- Berries[Berries["NANAB"] = 18] = "NANAB";
25
- Berries[Berries["WEPEAR"] = 19] = "WEPEAR";
26
- Berries[Berries["PINAP"] = 20] = "PINAP";
27
- Berries[Berries["POMEG"] = 21] = "POMEG";
28
- Berries[Berries["KELPSY"] = 22] = "KELPSY";
29
- Berries[Berries["QUALOT"] = 23] = "QUALOT";
30
- Berries[Berries["HONDEW"] = 24] = "HONDEW";
31
- Berries[Berries["GREPA"] = 25] = "GREPA";
32
- Berries[Berries["TAMATO"] = 26] = "TAMATO";
33
- Berries[Berries["CORNN"] = 27] = "CORNN";
34
- Berries[Berries["MAGOST"] = 28] = "MAGOST";
35
- Berries[Berries["RABUTA"] = 29] = "RABUTA";
36
- Berries[Berries["NOMEL"] = 30] = "NOMEL";
37
- Berries[Berries["SPELON"] = 31] = "SPELON";
38
- Berries[Berries["PAMTRE"] = 32] = "PAMTRE";
39
- Berries[Berries["WATMEL"] = 33] = "WATMEL";
40
- Berries[Berries["DURIN"] = 34] = "DURIN";
41
- Berries[Berries["BELUE"] = 35] = "BELUE";
42
- Berries[Berries["OCCA"] = 36] = "OCCA";
43
- Berries[Berries["PASSHO"] = 37] = "PASSHO";
44
- Berries[Berries["WACAN"] = 38] = "WACAN";
45
- Berries[Berries["RINDO"] = 39] = "RINDO";
46
- Berries[Berries["YACHE"] = 40] = "YACHE";
47
- Berries[Berries["CHOPLE"] = 41] = "CHOPLE";
48
- Berries[Berries["KEBIA"] = 42] = "KEBIA";
49
- Berries[Berries["SHUCA"] = 43] = "SHUCA";
50
- Berries[Berries["COBA"] = 44] = "COBA";
51
- Berries[Berries["PAYAPA"] = 45] = "PAYAPA";
52
- Berries[Berries["TANGA"] = 46] = "TANGA";
53
- Berries[Berries["CHARTI"] = 47] = "CHARTI";
54
- Berries[Berries["KASIB"] = 48] = "KASIB";
55
- Berries[Berries["HABAN"] = 49] = "HABAN";
56
- Berries[Berries["COLBUR"] = 50] = "COLBUR";
57
- Berries[Berries["BABIRI"] = 51] = "BABIRI";
58
- Berries[Berries["CHILAN"] = 52] = "CHILAN";
59
- Berries[Berries["LIECHI"] = 53] = "LIECHI";
60
- Berries[Berries["GANLON"] = 54] = "GANLON";
61
- Berries[Berries["SALAC"] = 55] = "SALAC";
62
- Berries[Berries["PETAYA"] = 56] = "PETAYA";
63
- Berries[Berries["APICOT"] = 57] = "APICOT";
64
- Berries[Berries["LANSAT"] = 58] = "LANSAT";
65
- Berries[Berries["STARF"] = 59] = "STARF";
66
- Berries[Berries["ENIGMA"] = 60] = "ENIGMA";
67
- Berries[Berries["MICLE"] = 61] = "MICLE";
68
- Berries[Berries["CUSTAP"] = 62] = "CUSTAP";
69
- Berries[Berries["JABOCA"] = 63] = "JABOCA";
70
- Berries[Berries["ROWAP"] = 64] = "ROWAP";
71
- })(Berries = exports.Berries || (exports.Berries = {}));
72
- /** Enum of Berry Firmnesses (NAME - ID) */
73
- var BerryFirmnesses;
74
- (function (BerryFirmnesses) {
75
- BerryFirmnesses[BerryFirmnesses["VERY_SOFT"] = 1] = "VERY_SOFT";
76
- BerryFirmnesses[BerryFirmnesses["SOFT"] = 2] = "SOFT";
77
- BerryFirmnesses[BerryFirmnesses["HARD"] = 3] = "HARD";
78
- BerryFirmnesses[BerryFirmnesses["VERY_HARD"] = 4] = "VERY_HARD";
79
- BerryFirmnesses[BerryFirmnesses["SUPER_HARD"] = 5] = "SUPER_HARD";
80
- })(BerryFirmnesses = exports.BerryFirmnesses || (exports.BerryFirmnesses = {}));
81
- var BerryFlavors;
82
- (function (BerryFlavors) {
83
- BerryFlavors[BerryFlavors["SPICY"] = 1] = "SPICY";
84
- BerryFlavors[BerryFlavors["DRY"] = 2] = "DRY";
85
- BerryFlavors[BerryFlavors["SWEET"] = 3] = "SWEET";
86
- BerryFlavors[BerryFlavors["BITTER"] = 4] = "BITTER";
87
- BerryFlavors[BerryFlavors["SOUR"] = 5] = "SOUR";
88
- })(BerryFlavors = exports.BerryFlavors || (exports.BerryFlavors = {}));
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContestTypes = void 0;
4
- var ContestTypes;
5
- (function (ContestTypes) {
6
- ContestTypes[ContestTypes["COOL"] = 1] = "COOL";
7
- ContestTypes[ContestTypes["BEAUTY"] = 2] = "BEAUTY";
8
- ContestTypes[ContestTypes["CUTE"] = 3] = "CUTE";
9
- ContestTypes[ContestTypes["SMART"] = 4] = "SMART";
10
- ContestTypes[ContestTypes["TOUGH"] = 5] = "TOUGH";
11
- })(ContestTypes = exports.ContestTypes || (exports.ContestTypes = {}));
@@ -1,88 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EncounterConditionValues = exports.EncounterConditions = exports.EncounterMethods = void 0;
4
- var EncounterMethods;
5
- (function (EncounterMethods) {
6
- EncounterMethods[EncounterMethods["WALK"] = 1] = "WALK";
7
- EncounterMethods[EncounterMethods["OLD_ROD"] = 2] = "OLD_ROD";
8
- EncounterMethods[EncounterMethods["GOOD_ROD"] = 3] = "GOOD_ROD";
9
- EncounterMethods[EncounterMethods["SUPER_ROD"] = 4] = "SUPER_ROD";
10
- EncounterMethods[EncounterMethods["SURF"] = 5] = "SURF";
11
- EncounterMethods[EncounterMethods["ROCK_SMASH"] = 6] = "ROCK_SMASH";
12
- EncounterMethods[EncounterMethods["HEADBUTT"] = 7] = "HEADBUTT";
13
- EncounterMethods[EncounterMethods["DARK_GRASS"] = 8] = "DARK_GRASS";
14
- EncounterMethods[EncounterMethods["GRASS_SPOTS"] = 9] = "GRASS_SPOTS";
15
- EncounterMethods[EncounterMethods["CAVE_SPOTS"] = 10] = "CAVE_SPOTS";
16
- EncounterMethods[EncounterMethods["BRIDGE_SPOTS"] = 11] = "BRIDGE_SPOTS";
17
- EncounterMethods[EncounterMethods["SUPER_ROD_SPOTS"] = 12] = "SUPER_ROD_SPOTS";
18
- EncounterMethods[EncounterMethods["SURF_SPOTS"] = 13] = "SURF_SPOTS";
19
- EncounterMethods[EncounterMethods["YELLOW_FLOWERS"] = 14] = "YELLOW_FLOWERS";
20
- EncounterMethods[EncounterMethods["PURPLE_FLOWERS"] = 15] = "PURPLE_FLOWERS";
21
- EncounterMethods[EncounterMethods["RED_FLOWERS"] = 16] = "RED_FLOWERS";
22
- EncounterMethods[EncounterMethods["ROUGH_TERRAIN"] = 17] = "ROUGH_TERRAIN";
23
- EncounterMethods[EncounterMethods["GIFT"] = 18] = "GIFT";
24
- EncounterMethods[EncounterMethods["GIFT_EGG"] = 19] = "GIFT_EGG";
25
- EncounterMethods[EncounterMethods["ONLY_ONE"] = 20] = "ONLY_ONE";
26
- EncounterMethods[EncounterMethods["POKEFLUTE"] = 21] = "POKEFLUTE";
27
- EncounterMethods[EncounterMethods["HEADBUTT_LOW"] = 22] = "HEADBUTT_LOW";
28
- EncounterMethods[EncounterMethods["HEADBUTT_NORMAL"] = 23] = "HEADBUTT_NORMAL";
29
- EncounterMethods[EncounterMethods["HEADBUT_HIGH"] = 24] = "HEADBUT_HIGH";
30
- EncounterMethods[EncounterMethods["SQUIRT_BOTTLE"] = 25] = "SQUIRT_BOTTLE";
31
- EncounterMethods[EncounterMethods["WAILMER_PAIL"] = 26] = "WAILMER_PAIL";
32
- EncounterMethods[EncounterMethods["SEAWEED"] = 27] = "SEAWEED";
33
- })(EncounterMethods = exports.EncounterMethods || (exports.EncounterMethods = {}));
34
- var EncounterConditions;
35
- (function (EncounterConditions) {
36
- EncounterConditions[EncounterConditions["SWARM"] = 1] = "SWARM";
37
- EncounterConditions[EncounterConditions["TIME"] = 2] = "TIME";
38
- EncounterConditions[EncounterConditions["RADAR"] = 3] = "RADAR";
39
- EncounterConditions[EncounterConditions["SLOT2"] = 4] = "SLOT2";
40
- EncounterConditions[EncounterConditions["RADIO"] = 5] = "RADIO";
41
- EncounterConditions[EncounterConditions["SEASON"] = 6] = "SEASON";
42
- EncounterConditions[EncounterConditions["STARTER"] = 7] = "STARTER";
43
- EncounterConditions[EncounterConditions["TV_OPTION"] = 8] = "TV_OPTION";
44
- EncounterConditions[EncounterConditions["STORY_PROGRESS"] = 9] = "STORY_PROGRESS";
45
- EncounterConditions[EncounterConditions["OTHER"] = 10] = "OTHER";
46
- })(EncounterConditions = exports.EncounterConditions || (exports.EncounterConditions = {}));
47
- var EncounterConditionValues;
48
- (function (EncounterConditionValues) {
49
- EncounterConditionValues[EncounterConditionValues["SWARM_YES"] = 1] = "SWARM_YES";
50
- EncounterConditionValues[EncounterConditionValues["SWARM_NO"] = 2] = "SWARM_NO";
51
- EncounterConditionValues[EncounterConditionValues["TIME_MORNING"] = 3] = "TIME_MORNING";
52
- EncounterConditionValues[EncounterConditionValues["TIME_DAY"] = 4] = "TIME_DAY";
53
- EncounterConditionValues[EncounterConditionValues["TIME_NIGHT"] = 5] = "TIME_NIGHT";
54
- EncounterConditionValues[EncounterConditionValues["RADAR_ON"] = 6] = "RADAR_ON";
55
- EncounterConditionValues[EncounterConditionValues["RADAR_OFF"] = 7] = "RADAR_OFF";
56
- EncounterConditionValues[EncounterConditionValues["SLOT2_NONE"] = 8] = "SLOT2_NONE";
57
- EncounterConditionValues[EncounterConditionValues["SLOT2_RUBY"] = 9] = "SLOT2_RUBY";
58
- EncounterConditionValues[EncounterConditionValues["SLOT2_SAPHIRE"] = 10] = "SLOT2_SAPHIRE";
59
- EncounterConditionValues[EncounterConditionValues["SLOT2_EMERALD"] = 11] = "SLOT2_EMERALD";
60
- EncounterConditionValues[EncounterConditionValues["SLOT2_FIRERED"] = 12] = "SLOT2_FIRERED";
61
- EncounterConditionValues[EncounterConditionValues["SLOT2_LEAFGREEN"] = 13] = "SLOT2_LEAFGREEN";
62
- EncounterConditionValues[EncounterConditionValues["RADIO_OFF"] = 14] = "RADIO_OFF";
63
- EncounterConditionValues[EncounterConditionValues["RADIO_HOEN"] = 15] = "RADIO_HOEN";
64
- EncounterConditionValues[EncounterConditionValues["RADIO_SINNOH"] = 16] = "RADIO_SINNOH";
65
- EncounterConditionValues[EncounterConditionValues["SEASON_SPRING"] = 17] = "SEASON_SPRING";
66
- EncounterConditionValues[EncounterConditionValues["SEASON_SUMMER"] = 18] = "SEASON_SUMMER";
67
- EncounterConditionValues[EncounterConditionValues["SWASON_AUTUMN"] = 19] = "SWASON_AUTUMN";
68
- EncounterConditionValues[EncounterConditionValues["SEASON_WINTER"] = 20] = "SEASON_WINTER";
69
- EncounterConditionValues[EncounterConditionValues["STARTER_BULBASAUR"] = 21] = "STARTER_BULBASAUR";
70
- EncounterConditionValues[EncounterConditionValues["STARTER_SQUIRTLE"] = 22] = "STARTER_SQUIRTLE";
71
- EncounterConditionValues[EncounterConditionValues["STARTER_CHARMANDER"] = 23] = "STARTER_CHARMANDER";
72
- EncounterConditionValues[EncounterConditionValues["STARTER_CHESPIN"] = 24] = "STARTER_CHESPIN";
73
- EncounterConditionValues[EncounterConditionValues["STARTER_FENNEKIN"] = 25] = "STARTER_FENNEKIN";
74
- EncounterConditionValues[EncounterConditionValues["STARTER_FROAKIE"] = 26] = "STARTER_FROAKIE";
75
- EncounterConditionValues[EncounterConditionValues["TV_OPTION_BLUE"] = 27] = "TV_OPTION_BLUE";
76
- EncounterConditionValues[EncounterConditionValues["TV_OPTION_RED"] = 28] = "TV_OPTION_RED";
77
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_AWAKENED_BEASTS"] = 29] = "STORY_PROGRESS_AWAKENED_BEASTS";
78
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_BEAT_GALACTIC_CORONET"] = 30] = "STORY_PROGRESS_BEAT_GALACTIC_CORONET";
79
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_OAK_ETERNA_CITY"] = 31] = "STORY_PROGRESS_OAK_ETERNA_CITY";
80
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_OAK_VERMILION_COPYCAT"] = 32] = "STORY_PROGRESS_OAK_VERMILION_COPYCAT";
81
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_MET_TORNADUS_THUNDURUS"] = 33] = "STORY_PROGRESS_MET_TORNADUS_THUNDURUS";
82
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_BEAT_ELITE_FOUR_ROUND_TWO"] = 34] = "STORY_PROGRESS_BEAT_ELITE_FOUR_ROUND_TWO";
83
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_HALL_OF_FAME"] = 35] = "STORY_PROGRESS_HALL_OF_FAME";
84
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_NONE"] = 36] = "STORY_PROGRESS_NONE";
85
- EncounterConditionValues[EncounterConditionValues["STORY_PROGRESS_NATIONAL_DEX"] = 37] = "STORY_PROGRESS_NATIONAL_DEX";
86
- EncounterConditionValues[EncounterConditionValues["OTHER_NONE"] = 38] = "OTHER_NONE";
87
- EncounterConditionValues[EncounterConditionValues["OTHER_SNORLAX_LL_BEAT_LEAGUE"] = 39] = "OTHER_SNORLAX_LL_BEAT_LEAGUE";
88
- })(EncounterConditionValues = exports.EncounterConditionValues || (exports.EncounterConditionValues = {}));
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Endpoints = void 0;
4
- /**
5
- * Endpoints of the PokéAPI
6
- */
7
- var Endpoints;
8
- (function (Endpoints) {
9
- Endpoints["Berry"] = "/berry";
10
- Endpoints["BerryFirmness"] = "/berry-firmness";
11
- Endpoints["BerryFlavor"] = "/berry-flavor";
12
- Endpoints["ContestType"] = "/contest-type";
13
- Endpoints["ContestEffect"] = "/contest-effect";
14
- Endpoints["SuperContestEffect"] = "/super-contest-effect";
15
- Endpoints["EncouterMethod"] = "/encounter-method";
16
- Endpoints["EncounterCondition"] = "/encounter-condition";
17
- Endpoints["EncouterConditionValue"] = "/encounter-condition-value";
18
- Endpoints["EvolutionChain"] = "/evolution-chain";
19
- Endpoints["EvolutionTrigger"] = "/evolution-trigger";
20
- Endpoints["Generation"] = "/generation";
21
- Endpoints["Pokedex"] = "/pokedex";
22
- Endpoints["Version"] = "/version";
23
- Endpoints["VersionGroup"] = "/version-group";
24
- Endpoints["Item"] = "/item";
25
- Endpoints["ItemAttribute"] = "/item-attribute";
26
- Endpoints["ItemCategory"] = "/item-category";
27
- Endpoints["ItemFlingEffect"] = "/item-fling-effect";
28
- Endpoints["ItemPocket"] = "/item-pocket";
29
- Endpoints["Location"] = "/location";
30
- Endpoints["LocationArea"] = "/location-area";
31
- Endpoints["PalParkArea"] = "/pal-park-area";
32
- Endpoints["Region"] = "/region";
33
- Endpoints["Machine"] = "/machine";
34
- Endpoints["Move"] = "/move";
35
- Endpoints["MoveAilment"] = "/move-ailment";
36
- Endpoints["MoveBattleStyle"] = "/move-battle-style";
37
- Endpoints["MoveCategory"] = "/move-category";
38
- Endpoints["MoveDamageClass"] = "/move-damage-class";
39
- Endpoints["MoveLearnMethod"] = "/move-learn-method";
40
- Endpoints["MoveTarget"] = "/move-target";
41
- Endpoints["Ability"] = "/ability";
42
- Endpoints["Characteristic"] = "/characteristic";
43
- Endpoints["EggGroup"] = "/egg-group";
44
- Endpoints["Gender"] = "/gender";
45
- Endpoints["GrowthRate"] = "/growth-rate";
46
- Endpoints["Nature"] = "/nature";
47
- Endpoints["PokeathlonStat"] = "/pokeathlon-stat";
48
- Endpoints["Pokemon"] = "/pokemon";
49
- Endpoints["PokemonLocationArea"] = "/pokemon/:id/encounters";
50
- Endpoints["PokemonColor"] = "/pokemon-color";
51
- Endpoints["PokemonForm"] = "/pokemon-form";
52
- Endpoints["PokemonHabitat"] = "/pokemon-habitat";
53
- Endpoints["PokemonShape"] = "/pokemon-shape";
54
- Endpoints["PokemonSpecies"] = "/pokemon-species";
55
- Endpoints["Stat"] = "/stat";
56
- Endpoints["Type"] = "/type";
57
- Endpoints["Language"] = "/language";
58
- })(Endpoints = exports.Endpoints || (exports.Endpoints = {}));
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EvolutionTriggers = void 0;
4
- var EvolutionTriggers;
5
- (function (EvolutionTriggers) {
6
- EvolutionTriggers[EvolutionTriggers["LEVEL_UP"] = 1] = "LEVEL_UP";
7
- EvolutionTriggers[EvolutionTriggers["TRADE"] = 2] = "TRADE";
8
- EvolutionTriggers[EvolutionTriggers["USE_ITEM"] = 3] = "USE_ITEM";
9
- EvolutionTriggers[EvolutionTriggers["SHED"] = 4] = "SHED";
10
- EvolutionTriggers[EvolutionTriggers["SPIN"] = 5] = "SPIN";
11
- EvolutionTriggers[EvolutionTriggers["TOWER_OF_DARKNESS"] = 6] = "TOWER_OF_DARKNESS";
12
- EvolutionTriggers[EvolutionTriggers["TOWER_OF_WATER"] = 7] = "TOWER_OF_WATER";
13
- EvolutionTriggers[EvolutionTriggers["THREE_CRITICAL_HITS"] = 8] = "THREE_CRITICAL_HITS";
14
- EvolutionTriggers[EvolutionTriggers["TAKE_DAMAGE"] = 9] = "TAKE_DAMAGE";
15
- EvolutionTriggers[EvolutionTriggers["OTHER"] = 10] = "OTHER";
16
- })(EvolutionTriggers = exports.EvolutionTriggers || (exports.EvolutionTriggers = {}));
@@ -1,114 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VersionGroups = exports.Versions = exports.Pokedexes = exports.Generations = void 0;
4
- var Generations;
5
- (function (Generations) {
6
- Generations[Generations["GENERATION_I"] = 1] = "GENERATION_I";
7
- Generations[Generations["GENERATION_II"] = 2] = "GENERATION_II";
8
- Generations[Generations["GENERATION_III"] = 3] = "GENERATION_III";
9
- Generations[Generations["GENERATION_IV"] = 4] = "GENERATION_IV";
10
- Generations[Generations["GENERATION_V"] = 5] = "GENERATION_V";
11
- Generations[Generations["GENERATION_VI"] = 6] = "GENERATION_VI";
12
- Generations[Generations["GENERATION_VII"] = 7] = "GENERATION_VII";
13
- Generations[Generations["GENERATION_VIII"] = 8] = "GENERATION_VIII";
14
- })(Generations = exports.Generations || (exports.Generations = {}));
15
- var Pokedexes;
16
- (function (Pokedexes) {
17
- Pokedexes[Pokedexes["NATIONAL"] = 1] = "NATIONAL";
18
- Pokedexes[Pokedexes["KANTO"] = 2] = "KANTO";
19
- Pokedexes[Pokedexes["ORIGINAL_JOHTO"] = 3] = "ORIGINAL_JOHTO";
20
- Pokedexes[Pokedexes["HOENN"] = 4] = "HOENN";
21
- Pokedexes[Pokedexes["ORIGINAL_SINNOH"] = 5] = "ORIGINAL_SINNOH";
22
- Pokedexes[Pokedexes["EXTENDED_SINNOH"] = 6] = "EXTENDED_SINNOH";
23
- Pokedexes[Pokedexes["UPDATED_JOHTO"] = 7] = "UPDATED_JOHTO";
24
- Pokedexes[Pokedexes["ORIGINAL_UNOVA"] = 8] = "ORIGINAL_UNOVA";
25
- Pokedexes[Pokedexes["UPDATED_UNOVA"] = 9] = "UPDATED_UNOVA";
26
- Pokedexes[Pokedexes["CONQUEST_GALLERY"] = 11] = "CONQUEST_GALLERY";
27
- Pokedexes[Pokedexes["KALOS_CENTRAL"] = 12] = "KALOS_CENTRAL";
28
- Pokedexes[Pokedexes["KALOS_COASTAL"] = 13] = "KALOS_COASTAL";
29
- Pokedexes[Pokedexes["KALOS_MONTAIN"] = 14] = "KALOS_MONTAIN";
30
- Pokedexes[Pokedexes["UPDATED_HOENN"] = 15] = "UPDATED_HOENN";
31
- Pokedexes[Pokedexes["ORIGINAL_ALOLA"] = 16] = "ORIGINAL_ALOLA";
32
- Pokedexes[Pokedexes["ORIGINAL_MELEMELE"] = 17] = "ORIGINAL_MELEMELE";
33
- Pokedexes[Pokedexes["ORIGINAL_AKALA"] = 18] = "ORIGINAL_AKALA";
34
- Pokedexes[Pokedexes["ORIGINAL_ULAULA"] = 19] = "ORIGINAL_ULAULA";
35
- Pokedexes[Pokedexes["ORIGINAL_PONI"] = 20] = "ORIGINAL_PONI";
36
- Pokedexes[Pokedexes["UPDATED_ALOLA"] = 21] = "UPDATED_ALOLA";
37
- Pokedexes[Pokedexes["UPDATED_MELEMELE"] = 22] = "UPDATED_MELEMELE";
38
- Pokedexes[Pokedexes["UPDATED_AKALA"] = 23] = "UPDATED_AKALA";
39
- Pokedexes[Pokedexes["UPDATED_ULAULA"] = 24] = "UPDATED_ULAULA";
40
- Pokedexes[Pokedexes["UPDATED_PONI"] = 25] = "UPDATED_PONI";
41
- Pokedexes[Pokedexes["UPDATED_KANTO"] = 26] = "UPDATED_KANTO";
42
- Pokedexes[Pokedexes["GALAR"] = 27] = "GALAR";
43
- Pokedexes[Pokedexes["ISLE_OF_ARMOR"] = 28] = "ISLE_OF_ARMOR";
44
- Pokedexes[Pokedexes["CROWN_TUNDRA"] = 29] = "CROWN_TUNDRA";
45
- })(Pokedexes = exports.Pokedexes || (exports.Pokedexes = {}));
46
- var Versions;
47
- (function (Versions) {
48
- Versions[Versions["RED"] = 1] = "RED";
49
- Versions[Versions["BLUE"] = 2] = "BLUE";
50
- Versions[Versions["YELLOW"] = 3] = "YELLOW";
51
- Versions[Versions["GOLD"] = 4] = "GOLD";
52
- Versions[Versions["SILVER"] = 5] = "SILVER";
53
- Versions[Versions["CRYSTAL"] = 6] = "CRYSTAL";
54
- Versions[Versions["RUBY"] = 7] = "RUBY";
55
- Versions[Versions["SAPPHIRE"] = 8] = "SAPPHIRE";
56
- Versions[Versions["EMERALD"] = 9] = "EMERALD";
57
- Versions[Versions["FIRERED"] = 10] = "FIRERED";
58
- Versions[Versions["LEAFGREEN"] = 11] = "LEAFGREEN";
59
- Versions[Versions["DIAMOND"] = 12] = "DIAMOND";
60
- Versions[Versions["PEARL"] = 13] = "PEARL";
61
- Versions[Versions["PLATINUM"] = 14] = "PLATINUM";
62
- Versions[Versions["HEARTGOLD"] = 15] = "HEARTGOLD";
63
- Versions[Versions["SOULSILVER"] = 16] = "SOULSILVER";
64
- Versions[Versions["BLACK"] = 17] = "BLACK";
65
- Versions[Versions["WHITE"] = 18] = "WHITE";
66
- Versions[Versions["COLOSSEUM"] = 19] = "COLOSSEUM";
67
- Versions[Versions["XD"] = 20] = "XD";
68
- Versions[Versions["BLACK_2"] = 21] = "BLACK_2";
69
- Versions[Versions["WHITE_2"] = 22] = "WHITE_2";
70
- Versions[Versions["X"] = 23] = "X";
71
- Versions[Versions["Y"] = 24] = "Y";
72
- Versions[Versions["OMEGA_RUBY"] = 25] = "OMEGA_RUBY";
73
- Versions[Versions["ALPHA_SAPPHIRE"] = 26] = "ALPHA_SAPPHIRE";
74
- Versions[Versions["SUN"] = 27] = "SUN";
75
- Versions[Versions["MOON"] = 28] = "MOON";
76
- Versions[Versions["ULTRA_SUN"] = 29] = "ULTRA_SUN";
77
- Versions[Versions["ULTRA_MOON"] = 30] = "ULTRA_MOON";
78
- Versions[Versions["LETS_GO_PIKACHU"] = 31] = "LETS_GO_PIKACHU";
79
- Versions[Versions["LETS_GO_EEVEE"] = 32] = "LETS_GO_EEVEE";
80
- Versions[Versions["SWORD"] = 33] = "SWORD";
81
- Versions[Versions["SHIELD"] = 34] = "SHIELD";
82
- Versions[Versions["THE_ISLE_OF_ARMOR"] = 35] = "THE_ISLE_OF_ARMOR";
83
- Versions[Versions["THE_CROWN_TUNDRA"] = 36] = "THE_CROWN_TUNDRA";
84
- Versions[Versions["BRILLIANT_DIAMOND"] = 37] = "BRILLIANT_DIAMOND";
85
- Versions[Versions["SHINING_PEARL"] = 38] = "SHINING_PEARL";
86
- Versions[Versions["LEGENDS_ARCEUS"] = 39] = "LEGENDS_ARCEUS";
87
- })(Versions = exports.Versions || (exports.Versions = {}));
88
- var VersionGroups;
89
- (function (VersionGroups) {
90
- VersionGroups[VersionGroups["RED_BLUE"] = 1] = "RED_BLUE";
91
- VersionGroups[VersionGroups["YELLOW"] = 2] = "YELLOW";
92
- VersionGroups[VersionGroups["GOLD_SILVER"] = 3] = "GOLD_SILVER";
93
- VersionGroups[VersionGroups["CRYSTAL"] = 4] = "CRYSTAL";
94
- VersionGroups[VersionGroups["RUBY_SAPPHIRE"] = 5] = "RUBY_SAPPHIRE";
95
- VersionGroups[VersionGroups["EMERALD"] = 6] = "EMERALD";
96
- VersionGroups[VersionGroups["FIRERED_LEAFGREEN"] = 7] = "FIRERED_LEAFGREEN";
97
- VersionGroups[VersionGroups["DIAMOND_PEARL"] = 8] = "DIAMOND_PEARL";
98
- VersionGroups[VersionGroups["PLATINUM"] = 9] = "PLATINUM";
99
- VersionGroups[VersionGroups["HEARTGOLD_SOULSILVER"] = 10] = "HEARTGOLD_SOULSILVER";
100
- VersionGroups[VersionGroups["BLACK_WHITE"] = 11] = "BLACK_WHITE";
101
- VersionGroups[VersionGroups["COLOSSEUM"] = 12] = "COLOSSEUM";
102
- VersionGroups[VersionGroups["XD"] = 13] = "XD";
103
- VersionGroups[VersionGroups["BLACK_2_WHITE_2"] = 14] = "BLACK_2_WHITE_2";
104
- VersionGroups[VersionGroups["X_Y"] = 15] = "X_Y";
105
- VersionGroups[VersionGroups["OMEGA_RUBY_ALPHA_SAPPHIRE"] = 16] = "OMEGA_RUBY_ALPHA_SAPPHIRE";
106
- VersionGroups[VersionGroups["SUN_MOON"] = 17] = "SUN_MOON";
107
- VersionGroups[VersionGroups["ULTRA_SUN_ULTRA_MOON"] = 18] = "ULTRA_SUN_ULTRA_MOON";
108
- VersionGroups[VersionGroups["LETS_GO"] = 19] = "LETS_GO";
109
- VersionGroups[VersionGroups["SWORD_SHIELD"] = 20] = "SWORD_SHIELD";
110
- VersionGroups[VersionGroups["THE_ISLE_OF_ARMOR"] = 21] = "THE_ISLE_OF_ARMOR";
111
- VersionGroups[VersionGroups["THE_CROWN_TUNDRA"] = 22] = "THE_CROWN_TUNDRA";
112
- VersionGroups[VersionGroups["BRILLIANT_DIAMOND_AND_SHINING_PEARL"] = 23] = "BRILLIANT_DIAMOND_AND_SHINING_PEARL";
113
- VersionGroups[VersionGroups["LEGENDS_ARCEUS"] = 24] = "LEGENDS_ARCEUS";
114
- })(VersionGroups = exports.VersionGroups || (exports.VersionGroups = {}));
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./base"), exports);
5
- tslib_1.__exportStar(require("./endpoints"), exports);
6
- tslib_1.__exportStar(require("./berries"), exports);
7
- tslib_1.__exportStar(require("./contests"), exports);
8
- tslib_1.__exportStar(require("./encounters"), exports);
9
- tslib_1.__exportStar(require("./evolutions"), exports);
10
- tslib_1.__exportStar(require("./games"), exports);
11
- tslib_1.__exportStar(require("./locations"), exports);
12
- tslib_1.__exportStar(require("./moves"), exports);
13
- tslib_1.__exportStar(require("./pokemons"), exports);
14
- tslib_1.__exportStar(require("./utilities"), exports);
15
- tslib_1.__exportStar(require("./items"), exports);
@@ -1,88 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ItemPockets = exports.ItemFlingEffects = exports.ItemCategories = exports.ItemAttributes = void 0;
4
- var ItemAttributes;
5
- (function (ItemAttributes) {
6
- ItemAttributes[ItemAttributes["COUNTABLE"] = 1] = "COUNTABLE";
7
- ItemAttributes[ItemAttributes["CONSUMABLE"] = 2] = "CONSUMABLE";
8
- ItemAttributes[ItemAttributes["USABLE_OVERWORLD"] = 3] = "USABLE_OVERWORLD";
9
- ItemAttributes[ItemAttributes["USABLE_IN_BATTLE"] = 4] = "USABLE_IN_BATTLE";
10
- ItemAttributes[ItemAttributes["HOLDABLE"] = 5] = "HOLDABLE";
11
- ItemAttributes[ItemAttributes["HOLDABLE_PASSIVE"] = 6] = "HOLDABLE_PASSIVE";
12
- ItemAttributes[ItemAttributes["HOLDABLE_ACTIVE"] = 7] = "HOLDABLE_ACTIVE";
13
- ItemAttributes[ItemAttributes["UNDERGROUND"] = 8] = "UNDERGROUND";
14
- })(ItemAttributes = exports.ItemAttributes || (exports.ItemAttributes = {}));
15
- var ItemCategories;
16
- (function (ItemCategories) {
17
- ItemCategories[ItemCategories["STAT_BOOSTS"] = 1] = "STAT_BOOSTS";
18
- ItemCategories[ItemCategories["EFFORT_DROP"] = 2] = "EFFORT_DROP";
19
- ItemCategories[ItemCategories["MEDICINE"] = 3] = "MEDICINE";
20
- ItemCategories[ItemCategories["OTHER"] = 4] = "OTHER";
21
- ItemCategories[ItemCategories["IN_A_PINCH"] = 5] = "IN_A_PINCH";
22
- ItemCategories[ItemCategories["PICKY_HEALING"] = 6] = "PICKY_HEALING";
23
- ItemCategories[ItemCategories["TYPE_PROTECTION"] = 7] = "TYPE_PROTECTION";
24
- ItemCategories[ItemCategories["BAKING_ONLY"] = 8] = "BAKING_ONLY";
25
- ItemCategories[ItemCategories["COLLECTIBLES"] = 9] = "COLLECTIBLES";
26
- ItemCategories[ItemCategories["EVOLUTION"] = 10] = "EVOLUTION";
27
- ItemCategories[ItemCategories["SPELUNKING"] = 11] = "SPELUNKING";
28
- ItemCategories[ItemCategories["HELD_ITEMS"] = 12] = "HELD_ITEMS";
29
- ItemCategories[ItemCategories["CHOICE"] = 13] = "CHOICE";
30
- ItemCategories[ItemCategories["EFFORT_TRAINING"] = 14] = "EFFORT_TRAINING";
31
- ItemCategories[ItemCategories["BAD_HELD_ITEMS"] = 15] = "BAD_HELD_ITEMS";
32
- ItemCategories[ItemCategories["TRAINING"] = 16] = "TRAINING";
33
- ItemCategories[ItemCategories["PLATES"] = 17] = "PLATES";
34
- ItemCategories[ItemCategories["SPECIES_SPECIFIC"] = 18] = "SPECIES_SPECIFIC";
35
- ItemCategories[ItemCategories["TYPE_ENHANCEMENT"] = 19] = "TYPE_ENHANCEMENT";
36
- ItemCategories[ItemCategories["EVENT_ITEMS"] = 20] = "EVENT_ITEMS";
37
- ItemCategories[ItemCategories["GAMEPLAY"] = 21] = "GAMEPLAY";
38
- ItemCategories[ItemCategories["PLOT_ADVANCEMENT"] = 22] = "PLOT_ADVANCEMENT";
39
- ItemCategories[ItemCategories["UNUSED"] = 23] = "UNUSED";
40
- ItemCategories[ItemCategories["LOOT"] = 24] = "LOOT";
41
- ItemCategories[ItemCategories["ALL_MAIL"] = 25] = "ALL_MAIL";
42
- ItemCategories[ItemCategories["VITAMINS"] = 26] = "VITAMINS";
43
- ItemCategories[ItemCategories["HEALING"] = 27] = "HEALING";
44
- ItemCategories[ItemCategories["PP_RECOVERY"] = 28] = "PP_RECOVERY";
45
- ItemCategories[ItemCategories["REVIVAL"] = 29] = "REVIVAL";
46
- ItemCategories[ItemCategories["STATUS_CURES"] = 30] = "STATUS_CURES";
47
- ItemCategories[ItemCategories["MULCH"] = 32] = "MULCH";
48
- ItemCategories[ItemCategories["SPECIAL_BALLS"] = 33] = "SPECIAL_BALLS";
49
- ItemCategories[ItemCategories["STANDARD_BALLS"] = 34] = "STANDARD_BALLS";
50
- ItemCategories[ItemCategories["DEX_COMPLETION"] = 35] = "DEX_COMPLETION";
51
- ItemCategories[ItemCategories["SCARVES"] = 36] = "SCARVES";
52
- ItemCategories[ItemCategories["ALL_MACHINES"] = 37] = "ALL_MACHINES";
53
- ItemCategories[ItemCategories["FLUTES"] = 38] = "FLUTES";
54
- ItemCategories[ItemCategories["APRICORN_BALLS"] = 39] = "APRICORN_BALLS";
55
- ItemCategories[ItemCategories["APRICORN_BOX"] = 40] = "APRICORN_BOX";
56
- ItemCategories[ItemCategories["DATA_CARDS"] = 41] = "DATA_CARDS";
57
- ItemCategories[ItemCategories["JEWELS"] = 42] = "JEWELS";
58
- ItemCategories[ItemCategories["MIRACLE_SHOOTER"] = 43] = "MIRACLE_SHOOTER";
59
- ItemCategories[ItemCategories["MEGA_STONES"] = 44] = "MEGA_STONES";
60
- ItemCategories[ItemCategories["MEMORIES"] = 45] = "MEMORIES";
61
- ItemCategories[ItemCategories["Z_CRYSTALS"] = 46] = "Z_CRYSTALS";
62
- ItemCategories[ItemCategories["SPECIES_CANDIES"] = 47] = "SPECIES_CANDIES";
63
- ItemCategories[ItemCategories["CATCHING_BONUS"] = 48] = "CATCHING_BONUS";
64
- ItemCategories[ItemCategories["DYNAMAX_CRISTALS"] = 49] = "DYNAMAX_CRISTALS";
65
- ItemCategories[ItemCategories["NATURE_MINTS"] = 50] = "NATURE_MINTS";
66
- ItemCategories[ItemCategories["CURRY_INGREDIENTS"] = 51] = "CURRY_INGREDIENTS";
67
- })(ItemCategories = exports.ItemCategories || (exports.ItemCategories = {}));
68
- var ItemFlingEffects;
69
- (function (ItemFlingEffects) {
70
- ItemFlingEffects[ItemFlingEffects["BADLY_POISON"] = 1] = "BADLY_POISON";
71
- ItemFlingEffects[ItemFlingEffects["BURN"] = 2] = "BURN";
72
- ItemFlingEffects[ItemFlingEffects["BERRY_EFFECT"] = 3] = "BERRY_EFFECT";
73
- ItemFlingEffects[ItemFlingEffects["HERB_EFFECT"] = 4] = "HERB_EFFECT";
74
- ItemFlingEffects[ItemFlingEffects["PARALYZE"] = 5] = "PARALYZE";
75
- ItemFlingEffects[ItemFlingEffects["POISON"] = 6] = "POISON";
76
- ItemFlingEffects[ItemFlingEffects["FLINCH"] = 7] = "FLINCH";
77
- })(ItemFlingEffects = exports.ItemFlingEffects || (exports.ItemFlingEffects = {}));
78
- var ItemPockets;
79
- (function (ItemPockets) {
80
- ItemPockets[ItemPockets["MISC"] = 1] = "MISC";
81
- ItemPockets[ItemPockets["MEDICINE"] = 2] = "MEDICINE";
82
- ItemPockets[ItemPockets["POKEBALLS"] = 3] = "POKEBALLS";
83
- ItemPockets[ItemPockets["MACHINES"] = 4] = "MACHINES";
84
- ItemPockets[ItemPockets["BERRIES"] = 5] = "BERRIES";
85
- ItemPockets[ItemPockets["MAIL"] = 6] = "MAIL";
86
- ItemPockets[ItemPockets["BATTLE"] = 7] = "BATTLE";
87
- ItemPockets[ItemPockets["KEY"] = 8] = "KEY";
88
- })(ItemPockets = exports.ItemPockets || (exports.ItemPockets = {}));
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PalParkAreas = exports.Regions = void 0;
4
- var Regions;
5
- (function (Regions) {
6
- Regions[Regions["KANTO"] = 1] = "KANTO";
7
- Regions[Regions["JOHTO"] = 2] = "JOHTO";
8
- Regions[Regions["HOENN"] = 3] = "HOENN";
9
- Regions[Regions["SINNOH"] = 4] = "SINNOH";
10
- Regions[Regions["UNOVA"] = 5] = "UNOVA";
11
- Regions[Regions["KALOS"] = 6] = "KALOS";
12
- Regions[Regions["ALOLA"] = 7] = "ALOLA";
13
- Regions[Regions["GALAR"] = 8] = "GALAR";
14
- Regions[Regions["HISUI"] = 9] = "HISUI";
15
- })(Regions = exports.Regions || (exports.Regions = {}));
16
- var PalParkAreas;
17
- (function (PalParkAreas) {
18
- PalParkAreas[PalParkAreas["FOREST"] = 1] = "FOREST";
19
- PalParkAreas[PalParkAreas["FIELD"] = 2] = "FIELD";
20
- PalParkAreas[PalParkAreas["MOUNTAIN"] = 3] = "MOUNTAIN";
21
- PalParkAreas[PalParkAreas["POND"] = 4] = "POND";
22
- PalParkAreas[PalParkAreas["SEA"] = 5] = "SEA";
23
- })(PalParkAreas = exports.PalParkAreas || (exports.PalParkAreas = {}));