@fireballgg/sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/abis/sparks.abi.json +195 -0
- package/dist/chunk-3GG7NNPX.js +2 -0
- package/dist/chunk-3GG7NNPX.js.map +1 -0
- package/dist/chunk-4C666HHU.js +2 -0
- package/dist/chunk-4C666HHU.js.map +1 -0
- package/dist/chunk-CAWVA63V.js +10 -0
- package/dist/chunk-CAWVA63V.js.map +1 -0
- package/dist/chunk-HSPNA3WS.js +40 -0
- package/dist/chunk-HSPNA3WS.js.map +1 -0
- package/dist/chunk-VFDUHPNG.js +2185 -0
- package/dist/chunk-VFDUHPNG.js.map +1 -0
- package/dist/chunk-VMT37ZHW.js +2 -0
- package/dist/chunk-VMT37ZHW.js.map +1 -0
- package/dist/chunk-ZBGOXQP5.js +4 -0
- package/dist/chunk-ZBGOXQP5.js.map +1 -0
- package/dist/data/checkpoints.json +22 -0
- package/dist/data/constants.json +9 -0
- package/dist/data/enemies.json +632 -0
- package/dist/data/fishing_cards.json +1152 -0
- package/dist/data/fishing_exchange_rates.json +236 -0
- package/dist/data/gear.json +11617 -0
- package/dist/data/hatchery.json +54 -0
- package/dist/data/items.json +6073 -0
- package/dist/data/recipes.json +9471 -0
- package/dist/fireball-api/index.d.ts +5 -0
- package/dist/fireball-api/index.js +2 -0
- package/dist/fireball-api/index.js.map +1 -0
- package/dist/gigaverse-api/index.d.ts +5 -0
- package/dist/gigaverse-api/index.js +2 -0
- package/dist/gigaverse-api/index.js.map +1 -0
- package/dist/index-BPihDahL.d.ts +2514 -0
- package/dist/index-D5hv4Edu.d.ts +2474 -0
- package/dist/index-DKZ1Igbv.d.ts +88 -0
- package/dist/index-DO_0xTs_.d.ts +7499 -0
- package/dist/index.d.ts +1691 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/juiced-api/index.d.ts +1 -0
- package/dist/juiced-api/index.js +2 -0
- package/dist/juiced-api/index.js.map +1 -0
- package/dist/juiced-subgraph/index.d.ts +3 -0
- package/dist/juiced-subgraph/index.js +2 -0
- package/dist/juiced-subgraph/index.js.map +1 -0
- package/dist/logger/index.d.ts +56 -0
- package/dist/logger/index.js +2 -0
- package/dist/logger/index.js.map +1 -0
- package/package.json +125 -0
|
@@ -0,0 +1,2474 @@
|
|
|
1
|
+
import { IBackOffOptions } from 'exponential-backoff';
|
|
2
|
+
import { LogMetadata } from './logger/index.js';
|
|
3
|
+
|
|
4
|
+
declare enum Scroll {
|
|
5
|
+
SCROLL_OF_NOOB = 1,
|
|
6
|
+
SCROLL_OF_FIRE = 2
|
|
7
|
+
}
|
|
8
|
+
declare enum SparkTransactionType {
|
|
9
|
+
GAME = 1,
|
|
10
|
+
PURCHASE = 2,
|
|
11
|
+
AIRDROP = 3,
|
|
12
|
+
SERVICE = 4,
|
|
13
|
+
HINT = 5
|
|
14
|
+
}
|
|
15
|
+
declare enum GameType {
|
|
16
|
+
DUNGEON = 1,
|
|
17
|
+
FISHING = 2
|
|
18
|
+
}
|
|
19
|
+
declare enum DungeonType {
|
|
20
|
+
NORMAL = 1,
|
|
21
|
+
GIGUS = 2,
|
|
22
|
+
UNDERHAUL = 3,
|
|
23
|
+
VOID = 4
|
|
24
|
+
}
|
|
25
|
+
declare enum SkillId {
|
|
26
|
+
DUNGEON_NORMAL = 1,// Used for NORMAL and GIGUS dungeons
|
|
27
|
+
DUNGEON_UNDERHAUL = 2
|
|
28
|
+
}
|
|
29
|
+
declare enum FishingType {
|
|
30
|
+
SMALL = 0,
|
|
31
|
+
NORMAL = 1,
|
|
32
|
+
BIG = 2
|
|
33
|
+
}
|
|
34
|
+
declare enum FishMoveStrategy {
|
|
35
|
+
CARDINAL = 0,
|
|
36
|
+
CORNERS = 1,
|
|
37
|
+
PLUS = 2
|
|
38
|
+
}
|
|
39
|
+
declare enum DungeonLegacyType {
|
|
40
|
+
FIVE_THOUSAND = 1,
|
|
41
|
+
UNDERHAUL = 2,
|
|
42
|
+
FISHING = 3,
|
|
43
|
+
VOID = 4
|
|
44
|
+
}
|
|
45
|
+
declare enum DungeonModel {
|
|
46
|
+
PRO = 1,
|
|
47
|
+
PRO_2 = 2,
|
|
48
|
+
OLD = 3,
|
|
49
|
+
V3 = 6,
|
|
50
|
+
VOID = 9
|
|
51
|
+
}
|
|
52
|
+
declare enum DungeonPreset {
|
|
53
|
+
DEFENSIVE = "DEFENSIVE",
|
|
54
|
+
BALANCED = "BALANCED",
|
|
55
|
+
OFFENSIVE = "OFFENSIVE"
|
|
56
|
+
}
|
|
57
|
+
declare enum FishingModel {
|
|
58
|
+
V1 = 4,
|
|
59
|
+
V2 = 5,
|
|
60
|
+
HEURISTIC = 7,
|
|
61
|
+
V3 = 8
|
|
62
|
+
}
|
|
63
|
+
type Action = GameAction | LootAction | OtherAction;
|
|
64
|
+
declare enum ActionType {
|
|
65
|
+
UNKNOWN = 0,
|
|
66
|
+
START = 1,
|
|
67
|
+
MOVE = 2,
|
|
68
|
+
LOOT = 3,
|
|
69
|
+
USE_ITEM = 4,
|
|
70
|
+
FLEE = 5,
|
|
71
|
+
NERF = 6
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Tool types
|
|
75
|
+
*/
|
|
76
|
+
declare enum GameAction {
|
|
77
|
+
ROCK = "rock",
|
|
78
|
+
PAPER = "paper",
|
|
79
|
+
SCISSOR = "scissor"
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Loot actions
|
|
83
|
+
*/
|
|
84
|
+
declare enum LootAction {
|
|
85
|
+
LOOT_ONE = "loot_one",
|
|
86
|
+
LOOT_TWO = "loot_two",
|
|
87
|
+
LOOT_THREE = "loot_three",
|
|
88
|
+
LOOT_FOUR = "loot_four"
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Other action
|
|
92
|
+
*/
|
|
93
|
+
declare enum OtherAction {
|
|
94
|
+
START = "start_run",
|
|
95
|
+
USE_ITEM = "use_item",
|
|
96
|
+
FLEE = "flee",
|
|
97
|
+
NERF = "nerf"
|
|
98
|
+
}
|
|
99
|
+
declare enum FishingAction {
|
|
100
|
+
START = "start_run",
|
|
101
|
+
PLAY_CARDS = "play_cards",
|
|
102
|
+
LOOT = "loot"
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Possible outcomes of a game round
|
|
106
|
+
*/
|
|
107
|
+
declare enum GameOutcome {
|
|
108
|
+
WIN = "win",
|
|
109
|
+
LOSE = "lose",
|
|
110
|
+
DRAW = "draw"
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Types of rewards/boons available in the game
|
|
114
|
+
*/
|
|
115
|
+
declare enum LootType {
|
|
116
|
+
UPGRADE_ROCK = "UpgradeRock",
|
|
117
|
+
UPGRADE_PAPER = "UpgradePaper",
|
|
118
|
+
UPGRADE_SCISSOR = "UpgradeScissor",
|
|
119
|
+
ADD_MAX_ARMOR = "AddMaxArmor",
|
|
120
|
+
ADD_MAX_HEALTH = "AddMaxHealth",
|
|
121
|
+
HEAL = "Heal",
|
|
122
|
+
ADD_LUCK = "AddLuck",
|
|
123
|
+
ADD_TENACITY = "AddTenacity",
|
|
124
|
+
ADD_EVASION = "AddEvasion",
|
|
125
|
+
ADD_INTUITION = "AddIntuition",
|
|
126
|
+
ADD_BLOCK = "AddBlock"
|
|
127
|
+
}
|
|
128
|
+
declare enum LootSubType {
|
|
129
|
+
DEFAULT = 1,
|
|
130
|
+
SECONDARY = 2
|
|
131
|
+
}
|
|
132
|
+
declare enum Skill {
|
|
133
|
+
ROCK_ATK = 1,
|
|
134
|
+
ROCK_DEF = 2,
|
|
135
|
+
PAPER_ATK = 3,
|
|
136
|
+
PAPER_DEF = 4,
|
|
137
|
+
SCISSOR_ATK = 5,
|
|
138
|
+
SCISSOR_DEF = 6,
|
|
139
|
+
MAX_HEALTH = 7,
|
|
140
|
+
MAX_ARMOR = 8
|
|
141
|
+
}
|
|
142
|
+
declare enum Rarity {
|
|
143
|
+
COMMON = 0,
|
|
144
|
+
UNCOMMON = 1,
|
|
145
|
+
RARE = 2,
|
|
146
|
+
EPIC = 3,
|
|
147
|
+
LEGENDARY = 4,
|
|
148
|
+
RELIC = 5,
|
|
149
|
+
GIGA = 6
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Resource types
|
|
153
|
+
*/
|
|
154
|
+
declare enum ResourceType {
|
|
155
|
+
ENERGY = "energy",
|
|
156
|
+
DUST = "dust",
|
|
157
|
+
SHARD = "shard",
|
|
158
|
+
GIGUS_DUST = "gigusDust"
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Log levels for the bot
|
|
162
|
+
*/
|
|
163
|
+
declare enum LogLevel {
|
|
164
|
+
DEFAULT = 0,
|
|
165
|
+
DETAILED = 1,
|
|
166
|
+
DEBUG = 2
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Log types for the bot
|
|
170
|
+
*/
|
|
171
|
+
declare enum LogType {
|
|
172
|
+
INFO = 0,
|
|
173
|
+
WARN = 1,
|
|
174
|
+
ERROR = 2,
|
|
175
|
+
SUCCESS = 3,
|
|
176
|
+
DEBUG = 4
|
|
177
|
+
}
|
|
178
|
+
declare enum Faction {
|
|
179
|
+
CRUSADER = 1,
|
|
180
|
+
OVERSEER = 2,
|
|
181
|
+
ATHENA = 3,
|
|
182
|
+
ARCHON = 4,
|
|
183
|
+
FOXGLOVE = 5,
|
|
184
|
+
SUMMONER = 6,
|
|
185
|
+
CHOBO = 7,
|
|
186
|
+
GIGUS = 8
|
|
187
|
+
}
|
|
188
|
+
declare enum Checkpoint {
|
|
189
|
+
GATE_SWITCH_HUB = 1,
|
|
190
|
+
DUNGETRON_UNDERHAUL_UNLOCK = 2
|
|
191
|
+
}
|
|
192
|
+
declare enum Node {
|
|
193
|
+
NOOB_CHEST = 1,
|
|
194
|
+
JUICED_CHEST = 2,
|
|
195
|
+
BLUE_POT_1 = 3,
|
|
196
|
+
TAN_POT_1 = 4
|
|
197
|
+
}
|
|
198
|
+
declare enum JobStatus {
|
|
199
|
+
QUEUED = "queued",
|
|
200
|
+
IN_PROGRESS = "in_progress",
|
|
201
|
+
COMPLETED = "completed",
|
|
202
|
+
FAILED = "failed",
|
|
203
|
+
CANCELLED = "cancelled",
|
|
204
|
+
PAUSED = "paused"
|
|
205
|
+
}
|
|
206
|
+
declare enum RomTier {
|
|
207
|
+
SILVER = "Silver",
|
|
208
|
+
GOLD = "Gold",
|
|
209
|
+
VOID = "Void",
|
|
210
|
+
GIGA = "Giga"
|
|
211
|
+
}
|
|
212
|
+
declare enum EggType {
|
|
213
|
+
GIGA_ROM = "Giga ROM",
|
|
214
|
+
VOID_ROM = "Void ROM",
|
|
215
|
+
GOLD_ROM = "Gold ROM",
|
|
216
|
+
SILVER_ROM = "Silver ROM",
|
|
217
|
+
INAUGURAL_STEED = "Inaugural Steed"
|
|
218
|
+
}
|
|
219
|
+
declare enum PetType {
|
|
220
|
+
EGG = "Egg",
|
|
221
|
+
PET = "Pet"
|
|
222
|
+
}
|
|
223
|
+
declare enum RomMemory {
|
|
224
|
+
EIGHT_MB = "8MB",
|
|
225
|
+
SIXTEEN_MB = "16MB",
|
|
226
|
+
THIRTY_TWO_MB = "32MB",
|
|
227
|
+
SIXTY_FOUR_MB = "64MB",
|
|
228
|
+
ONE_HUNDRED_TWENTY_EIGHT_MB = "128MB",
|
|
229
|
+
TWO_HUNDRED_FIFTY_SIX_MB = "256MB",
|
|
230
|
+
FIVE_HUNDRED_TWELVE_MB = "512MB",
|
|
231
|
+
ONE_GIGA = "1GB"
|
|
232
|
+
}
|
|
233
|
+
declare enum ItemType {
|
|
234
|
+
MATERIAL = "Material",
|
|
235
|
+
CONSUMABLE = "Consumable",
|
|
236
|
+
SKIN = "Skin",
|
|
237
|
+
COLLECTABLE = "Collectable",
|
|
238
|
+
FISH = "Fish",
|
|
239
|
+
REDEEMABLE = "Redeemable",
|
|
240
|
+
RING = "Ring",
|
|
241
|
+
FOOD = "Food",
|
|
242
|
+
PRODUCE = "Produce",
|
|
243
|
+
OTHER = "Other"
|
|
244
|
+
}
|
|
245
|
+
declare enum QuestType {
|
|
246
|
+
GENERAL = 0,
|
|
247
|
+
SOCIAL = 1
|
|
248
|
+
}
|
|
249
|
+
declare enum QuestItemType {
|
|
250
|
+
XP = 1,
|
|
251
|
+
SCROLL = 2,
|
|
252
|
+
SPARKS = 3
|
|
253
|
+
}
|
|
254
|
+
declare enum StatusEffectType {
|
|
255
|
+
WEAK = "Weak",
|
|
256
|
+
VULNERABLE = "Vulnerable",
|
|
257
|
+
BURN = "Burn"
|
|
258
|
+
}
|
|
259
|
+
declare enum ActiveEffectType {
|
|
260
|
+
PREVENT = "Prevent",
|
|
261
|
+
HEAL = "Heal"
|
|
262
|
+
}
|
|
263
|
+
declare enum GearType {
|
|
264
|
+
HEAD = 1,
|
|
265
|
+
BODY = 2,
|
|
266
|
+
CHARM = 3,
|
|
267
|
+
HANDS = 5,
|
|
268
|
+
ROD = 9,
|
|
269
|
+
LURE = 11
|
|
270
|
+
}
|
|
271
|
+
declare enum GearSlot {
|
|
272
|
+
HEAD = 2,
|
|
273
|
+
BODY = 3,
|
|
274
|
+
CHARM = 6,
|
|
275
|
+
HANDS = 7,
|
|
276
|
+
ROD = 8,
|
|
277
|
+
LURE = 10
|
|
278
|
+
}
|
|
279
|
+
declare enum DungeonGearSlot {
|
|
280
|
+
HEAD = 2,
|
|
281
|
+
BODY = 3,
|
|
282
|
+
CHARM = 6
|
|
283
|
+
}
|
|
284
|
+
declare enum FishingGearSlot {
|
|
285
|
+
ROD = 8,
|
|
286
|
+
LURE = 10
|
|
287
|
+
}
|
|
288
|
+
declare enum ToolGearSlot {
|
|
289
|
+
HANDS = 7
|
|
290
|
+
}
|
|
291
|
+
declare enum EffectTriggerType {
|
|
292
|
+
ON_START_DUNGEON = "OnStartDungeon",
|
|
293
|
+
ON_DEATH = "OnDeath",
|
|
294
|
+
ON_DAMAGE = "OnDamage",
|
|
295
|
+
ON_DROP_JUICE = "OnDropJuice",
|
|
296
|
+
ON_USE_BATTLE = "OnUseBattle"
|
|
297
|
+
}
|
|
298
|
+
declare enum EffectPlayerType {
|
|
299
|
+
THIS_PLAYER = "ThisPlayer",
|
|
300
|
+
OTHER_PLAYER = "OtherPlayer"
|
|
301
|
+
}
|
|
302
|
+
declare enum NotificationType {
|
|
303
|
+
GENERAL = 1,
|
|
304
|
+
SPARKS = 2
|
|
305
|
+
}
|
|
306
|
+
declare enum ServiceType {
|
|
307
|
+
ROM_CLAIMER = 1,
|
|
308
|
+
POTS_BREAKER = 2,
|
|
309
|
+
FISH_SELLER = 3,
|
|
310
|
+
HATCHERY = 4
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
interface DayProgressEntity {
|
|
314
|
+
CONSUMABLES_CID: any[];
|
|
315
|
+
_id: string;
|
|
316
|
+
docId: string;
|
|
317
|
+
UINT256_CID: number;
|
|
318
|
+
ID_CID: string;
|
|
319
|
+
TIMESTAMP_CID: number;
|
|
320
|
+
PLAYER_CID: string;
|
|
321
|
+
DOC_TYPE_CID: string;
|
|
322
|
+
createdAt: string;
|
|
323
|
+
updatedAt: string;
|
|
324
|
+
__v: number;
|
|
325
|
+
}
|
|
326
|
+
interface EntryData {
|
|
327
|
+
name: string;
|
|
328
|
+
tier: number;
|
|
329
|
+
inputItems: number[];
|
|
330
|
+
inputAmounts: number[];
|
|
331
|
+
inputsBasedOnFactionDay: boolean;
|
|
332
|
+
dropItemIds: number[];
|
|
333
|
+
dropRateMultipliers: number[];
|
|
334
|
+
jackpotChance: number;
|
|
335
|
+
jackpotItemId: number;
|
|
336
|
+
}
|
|
337
|
+
interface DungeonDataEntity {
|
|
338
|
+
CHECKPOINT_CID: number;
|
|
339
|
+
ENERGY_CID: number;
|
|
340
|
+
ID_CID: number;
|
|
341
|
+
NAME_CID: string;
|
|
342
|
+
UINT256_CID: number;
|
|
343
|
+
dungeonDisabled: boolean;
|
|
344
|
+
entryData: EntryData[];
|
|
345
|
+
gearEnabled: boolean;
|
|
346
|
+
juicedMaxRunsPerDay: number;
|
|
347
|
+
juicedMultiplier: number;
|
|
348
|
+
maxRoom: number;
|
|
349
|
+
minLevelForInvader: number;
|
|
350
|
+
invaderPercentage: number;
|
|
351
|
+
invaderPercentageByRoom: Record<string, number>;
|
|
352
|
+
}
|
|
353
|
+
interface SkillStat {
|
|
354
|
+
id: number;
|
|
355
|
+
name: string;
|
|
356
|
+
desc: string;
|
|
357
|
+
levelsPerIncrease: number;
|
|
358
|
+
increaseKey: string;
|
|
359
|
+
increaseIndex: number;
|
|
360
|
+
increaseValue: number;
|
|
361
|
+
}
|
|
362
|
+
interface StatusEffect {
|
|
363
|
+
type: StatusEffectType;
|
|
364
|
+
amount: number;
|
|
365
|
+
}
|
|
366
|
+
interface ActiveStatusEffect {
|
|
367
|
+
type: ActiveEffectType;
|
|
368
|
+
amount: number;
|
|
369
|
+
}
|
|
370
|
+
interface ActiveEffect {
|
|
371
|
+
effects: ActiveStatusEffect[];
|
|
372
|
+
playerType: EffectPlayerType;
|
|
373
|
+
triggerType: EffectTriggerType;
|
|
374
|
+
}
|
|
375
|
+
interface SimpleStat {
|
|
376
|
+
current: number;
|
|
377
|
+
starting: number;
|
|
378
|
+
}
|
|
379
|
+
interface DungeonPlayer {
|
|
380
|
+
id: string;
|
|
381
|
+
rock: ToolStats;
|
|
382
|
+
paper: ToolStats;
|
|
383
|
+
scissor: ToolStats;
|
|
384
|
+
health: ResourceStats;
|
|
385
|
+
shield: ResourceStats;
|
|
386
|
+
equipment: GigaverseEquipment[] | VanityEquipment[];
|
|
387
|
+
lastMove: string;
|
|
388
|
+
thisPlayerWin: boolean;
|
|
389
|
+
otherPlayerWin: boolean;
|
|
390
|
+
activeEffects: ActiveEffect[];
|
|
391
|
+
statusEffects: StatusEffect[];
|
|
392
|
+
tenacity: SimpleStat;
|
|
393
|
+
evasion: SimpleStat;
|
|
394
|
+
lck: SimpleStat;
|
|
395
|
+
intuition: SimpleStat;
|
|
396
|
+
block: SimpleStat;
|
|
397
|
+
_id: string;
|
|
398
|
+
}
|
|
399
|
+
interface ToolStats {
|
|
400
|
+
startingATK: number;
|
|
401
|
+
startingDEF: number;
|
|
402
|
+
currentATK: number;
|
|
403
|
+
currentDEF: number;
|
|
404
|
+
currentCharges: number;
|
|
405
|
+
maxCharges: number;
|
|
406
|
+
blocked?: boolean;
|
|
407
|
+
}
|
|
408
|
+
interface ResourceStats {
|
|
409
|
+
current: number;
|
|
410
|
+
starting: number;
|
|
411
|
+
currentMax: number;
|
|
412
|
+
startingMax: number;
|
|
413
|
+
}
|
|
414
|
+
interface GigaverseEquipment {
|
|
415
|
+
docId: string;
|
|
416
|
+
RARITY_CID: number;
|
|
417
|
+
UINT256_CID: number;
|
|
418
|
+
UINT256_CID_array: (number | null)[];
|
|
419
|
+
selectedVal1: number;
|
|
420
|
+
selectedVal2: number;
|
|
421
|
+
boonTypeString: string;
|
|
422
|
+
}
|
|
423
|
+
interface VanityEquipment {
|
|
424
|
+
headVanity?: number;
|
|
425
|
+
bodyVanity?: number;
|
|
426
|
+
}
|
|
427
|
+
type PlayerEquipment = GigaverseEquipment[] | VanityEquipment;
|
|
428
|
+
interface GameItemBalanceChange {
|
|
429
|
+
id: number;
|
|
430
|
+
amount: number;
|
|
431
|
+
gearInstanceId: string;
|
|
432
|
+
rarity: number;
|
|
433
|
+
}
|
|
434
|
+
interface SkillsEntity {
|
|
435
|
+
docId: string;
|
|
436
|
+
name: string;
|
|
437
|
+
NAME_CID: string;
|
|
438
|
+
LEVEL_CID: number;
|
|
439
|
+
GAME_ITEM_ID_CID: number;
|
|
440
|
+
UINT256_CID: number;
|
|
441
|
+
stats: SkillStat[];
|
|
442
|
+
xpPerLvl: number[];
|
|
443
|
+
}
|
|
444
|
+
interface SkillsResponse {
|
|
445
|
+
entities: SkillsEntity[];
|
|
446
|
+
}
|
|
447
|
+
interface SkillProgressEntity {
|
|
448
|
+
_id: string;
|
|
449
|
+
docId: string;
|
|
450
|
+
LEVEL_CID_array: (number | null)[];
|
|
451
|
+
LEVEL_CID: number;
|
|
452
|
+
NOOB_TOKEN_CID: number;
|
|
453
|
+
SKILL_CID: number;
|
|
454
|
+
createdAt: string;
|
|
455
|
+
updatedAt: string;
|
|
456
|
+
}
|
|
457
|
+
interface SkillProgressResponse {
|
|
458
|
+
entities: SkillProgressEntity[];
|
|
459
|
+
}
|
|
460
|
+
interface AvailableDungeonsResponse {
|
|
461
|
+
dayProgressEntities: DayProgressEntity[];
|
|
462
|
+
dungeonDataEntities: DungeonDataEntity[];
|
|
463
|
+
}
|
|
464
|
+
interface NoobSkillsEntity {
|
|
465
|
+
skillId: number;
|
|
466
|
+
name: string;
|
|
467
|
+
level: number;
|
|
468
|
+
maxLevel: number;
|
|
469
|
+
skillStats: SkillStat[];
|
|
470
|
+
stats: (number | null)[];
|
|
471
|
+
}
|
|
472
|
+
type NoobSkillsResponse = NoobSkillsEntity[];
|
|
473
|
+
interface DungeonRun {
|
|
474
|
+
_id: string;
|
|
475
|
+
DUNGEON_ID_CID: number;
|
|
476
|
+
userId: string;
|
|
477
|
+
players: DungeonPlayer[];
|
|
478
|
+
lootPhase: boolean;
|
|
479
|
+
version: number;
|
|
480
|
+
lootOptions: GigaverseEquipment[];
|
|
481
|
+
activeEffects?: any[];
|
|
482
|
+
createdAt: string;
|
|
483
|
+
updatedAt: string;
|
|
484
|
+
__v: number;
|
|
485
|
+
}
|
|
486
|
+
interface PlayerEquipmentEntity {
|
|
487
|
+
_id: string;
|
|
488
|
+
docId: string;
|
|
489
|
+
CONSUMABLES_CID?: any[];
|
|
490
|
+
createdAt: string;
|
|
491
|
+
updatedAt: string;
|
|
492
|
+
EQUIPMENT_HEAD_CID?: number;
|
|
493
|
+
EQUIPMENT_BODY_CID?: number;
|
|
494
|
+
}
|
|
495
|
+
interface GearInstance {
|
|
496
|
+
GAME_ITEM_ID_CID: number;
|
|
497
|
+
RARITY_CID: number;
|
|
498
|
+
DURABILITY_CID: number;
|
|
499
|
+
EQUIPPED_TO_SLOT_CID: number;
|
|
500
|
+
EQUIPPED_TO_INDEX_CID: number;
|
|
501
|
+
}
|
|
502
|
+
interface NerfCost {
|
|
503
|
+
ID_CID: number;
|
|
504
|
+
BALANCE_CID: number;
|
|
505
|
+
}
|
|
506
|
+
interface InvaderData {
|
|
507
|
+
_id: string;
|
|
508
|
+
docId: string;
|
|
509
|
+
data: {
|
|
510
|
+
rock: ToolStats;
|
|
511
|
+
paper: ToolStats;
|
|
512
|
+
scissor: ToolStats;
|
|
513
|
+
health: ResourceStats;
|
|
514
|
+
shield: ResourceStats;
|
|
515
|
+
faction: number;
|
|
516
|
+
equipment: VanityEquipment;
|
|
517
|
+
gearInstances: GearInstance[];
|
|
518
|
+
tenacity: SimpleStat;
|
|
519
|
+
evasion: SimpleStat;
|
|
520
|
+
lck: SimpleStat;
|
|
521
|
+
intuition: SimpleStat;
|
|
522
|
+
block: SimpleStat;
|
|
523
|
+
matchHistory: any[];
|
|
524
|
+
};
|
|
525
|
+
LEVEL_CID: number;
|
|
526
|
+
ID_CID: string;
|
|
527
|
+
PLAYER_CID: string;
|
|
528
|
+
ROOM_NUM_CID: number;
|
|
529
|
+
DUNGEON_ID_CID: number;
|
|
530
|
+
FACTION_CID: number;
|
|
531
|
+
createdAt: string;
|
|
532
|
+
NAME_CID: string;
|
|
533
|
+
}
|
|
534
|
+
interface JackpotResult {
|
|
535
|
+
payoutPercentage: number;
|
|
536
|
+
payoutName: string;
|
|
537
|
+
payoutAmount: number;
|
|
538
|
+
payoutRoom: number;
|
|
539
|
+
payoutRarity: number;
|
|
540
|
+
}
|
|
541
|
+
interface DungeonEntity {
|
|
542
|
+
_id: string;
|
|
543
|
+
docId: string;
|
|
544
|
+
data: {
|
|
545
|
+
v: number;
|
|
546
|
+
playerEquipment?: PlayerEquipmentEntity;
|
|
547
|
+
gearInstances?: any[];
|
|
548
|
+
invader?: InvaderData | null;
|
|
549
|
+
additionalInvaderPercentage?: number;
|
|
550
|
+
nerfCost?: NerfCost | null;
|
|
551
|
+
roomNerfCount?: number;
|
|
552
|
+
roomInvaderItemsEarned?: GameItemBalanceChange[];
|
|
553
|
+
totalNerfs?: number;
|
|
554
|
+
jackpotResult?: JackpotResult;
|
|
555
|
+
};
|
|
556
|
+
COMPLETE_CID: boolean;
|
|
557
|
+
LEVEL_CID: number;
|
|
558
|
+
GAME_ITEM_ID_CID_array: number[];
|
|
559
|
+
ID_CID: string;
|
|
560
|
+
PLAYER_CID: string;
|
|
561
|
+
ROOM_NUM_CID: number;
|
|
562
|
+
NOOB_TOKEN_CID: number;
|
|
563
|
+
DUNGEON_ID_CID: number;
|
|
564
|
+
MULTIPLIER_CID: number;
|
|
565
|
+
IS_JUICED_CID: boolean;
|
|
566
|
+
ENEMY_CID: number;
|
|
567
|
+
GEAR_CID_array: string[];
|
|
568
|
+
TIER_CID: number;
|
|
569
|
+
FACTION_CID: number;
|
|
570
|
+
WEEK_CID: number;
|
|
571
|
+
DAY_CID: number;
|
|
572
|
+
DAY_OF_WEEK_CID: number;
|
|
573
|
+
createdAt: string;
|
|
574
|
+
updatedAt: string;
|
|
575
|
+
__v: number;
|
|
576
|
+
}
|
|
577
|
+
interface UseMoveEventData {
|
|
578
|
+
blockProc0?: boolean;
|
|
579
|
+
blockProc1?: boolean;
|
|
580
|
+
evadeProc0?: boolean;
|
|
581
|
+
evadeProc1?: boolean;
|
|
582
|
+
critProc0?: boolean;
|
|
583
|
+
critProc1?: boolean;
|
|
584
|
+
intuitionProc0?: boolean;
|
|
585
|
+
intuitionProc1?: boolean;
|
|
586
|
+
tenacityProc0?: boolean;
|
|
587
|
+
tenacityProc1?: boolean;
|
|
588
|
+
}
|
|
589
|
+
interface OnDamageEventData {
|
|
590
|
+
ignoreShield: boolean;
|
|
591
|
+
prevent: number;
|
|
592
|
+
source: string;
|
|
593
|
+
}
|
|
594
|
+
interface IntuitionBlockEventData {
|
|
595
|
+
blockedMove: string;
|
|
596
|
+
}
|
|
597
|
+
interface OnUpdateStatusEventData {
|
|
598
|
+
}
|
|
599
|
+
type DungeonEvent = {
|
|
600
|
+
type: "use_move";
|
|
601
|
+
value: string;
|
|
602
|
+
playerId: number;
|
|
603
|
+
batch: number;
|
|
604
|
+
data: UseMoveEventData;
|
|
605
|
+
} | {
|
|
606
|
+
type: "OnDamage";
|
|
607
|
+
value: number;
|
|
608
|
+
playerId: number;
|
|
609
|
+
batch: number;
|
|
610
|
+
data: OnDamageEventData;
|
|
611
|
+
} | {
|
|
612
|
+
type: "intuition_block";
|
|
613
|
+
value: string;
|
|
614
|
+
playerId: number;
|
|
615
|
+
batch: number;
|
|
616
|
+
data: IntuitionBlockEventData;
|
|
617
|
+
} | {
|
|
618
|
+
type: "OnUpdateStatus";
|
|
619
|
+
value: number;
|
|
620
|
+
playerId: number;
|
|
621
|
+
batch: number;
|
|
622
|
+
data: OnUpdateStatusEventData;
|
|
623
|
+
} | {
|
|
624
|
+
type: "OnNerfEnemy";
|
|
625
|
+
value: number;
|
|
626
|
+
playerId: number;
|
|
627
|
+
batch: number;
|
|
628
|
+
data: Record<string, any>;
|
|
629
|
+
} | {
|
|
630
|
+
type: "OnDeath" | "OnApplyShield" | "dungeon_started" | string;
|
|
631
|
+
value?: string | number;
|
|
632
|
+
playerId?: number;
|
|
633
|
+
batch?: number;
|
|
634
|
+
data?: Record<string, any>;
|
|
635
|
+
};
|
|
636
|
+
interface DungeonActionResponse {
|
|
637
|
+
success: boolean;
|
|
638
|
+
message: string;
|
|
639
|
+
data: {
|
|
640
|
+
run: DungeonRun;
|
|
641
|
+
entity: DungeonEntity;
|
|
642
|
+
events?: DungeonEvent[];
|
|
643
|
+
};
|
|
644
|
+
actionToken: number;
|
|
645
|
+
gameItemBalanceChanges?: GameItemBalanceChange[];
|
|
646
|
+
}
|
|
647
|
+
interface FactionResponse {
|
|
648
|
+
_id: string;
|
|
649
|
+
docId: string;
|
|
650
|
+
docType: string;
|
|
651
|
+
LAST_TRANSFER_TIME_CID: number;
|
|
652
|
+
PLAYER_CID: string;
|
|
653
|
+
FACTION_CID: number;
|
|
654
|
+
createdAt: string;
|
|
655
|
+
updatedAt: string;
|
|
656
|
+
__v: number;
|
|
657
|
+
}
|
|
658
|
+
interface UsernameResponse {
|
|
659
|
+
docId: string;
|
|
660
|
+
tableName: string;
|
|
661
|
+
OWNER_CID: string;
|
|
662
|
+
createdAt: string;
|
|
663
|
+
updatedAt: string;
|
|
664
|
+
INITIALIZED_CID: boolean;
|
|
665
|
+
NAME_CID: string;
|
|
666
|
+
IS_GIGA_NAME_CID: boolean;
|
|
667
|
+
LAST_TRANSFER_TIME_CID: number;
|
|
668
|
+
}
|
|
669
|
+
interface EnergyResponse {
|
|
670
|
+
_id: string;
|
|
671
|
+
docId: string;
|
|
672
|
+
ENERGY_CID: number;
|
|
673
|
+
TIMESTAMP_CID: number;
|
|
674
|
+
createdAt: string;
|
|
675
|
+
updatedAt: string;
|
|
676
|
+
parsedData: {
|
|
677
|
+
energy: number;
|
|
678
|
+
energyValue: number;
|
|
679
|
+
isPlayerJuiced: boolean;
|
|
680
|
+
maxEnergy: number;
|
|
681
|
+
regenPerHour: number;
|
|
682
|
+
regenPerSecond: number;
|
|
683
|
+
secondsSinceLastUpdate: number;
|
|
684
|
+
};
|
|
685
|
+
__v: number;
|
|
686
|
+
}
|
|
687
|
+
interface JuiceData {
|
|
688
|
+
isJuiced: boolean;
|
|
689
|
+
juicedSeconds: number;
|
|
690
|
+
_id: string;
|
|
691
|
+
TIMESTAMP_CID: number;
|
|
692
|
+
createdAt: string;
|
|
693
|
+
updatedAt: string;
|
|
694
|
+
docId: string;
|
|
695
|
+
tableName: string;
|
|
696
|
+
}
|
|
697
|
+
interface JuiceListing {
|
|
698
|
+
_id: string;
|
|
699
|
+
docId: string;
|
|
700
|
+
tableName: string;
|
|
701
|
+
END_TIMESTAMP_CID: number;
|
|
702
|
+
ETH_MINT_PRICE_CID: string;
|
|
703
|
+
LOOT_AMOUNT_CID_array: number[];
|
|
704
|
+
LOOT_ID_CID_array: number[];
|
|
705
|
+
NAME_CID: string;
|
|
706
|
+
OFFERING_NAME: string;
|
|
707
|
+
START_TIMESTAMP_CID: number;
|
|
708
|
+
TIME_BETWEEN_CID: number;
|
|
709
|
+
createdAt: string;
|
|
710
|
+
updatedAt: string;
|
|
711
|
+
}
|
|
712
|
+
interface JuicePurchase {
|
|
713
|
+
_id: string;
|
|
714
|
+
docId: string;
|
|
715
|
+
tableName: string;
|
|
716
|
+
ETH_MINT_PRICE_CID: string;
|
|
717
|
+
ID_CID: string;
|
|
718
|
+
LOOT_AMOUNT_CID_array: number[];
|
|
719
|
+
LOOT_ID_CID_array: number[];
|
|
720
|
+
NAME_CID: string;
|
|
721
|
+
PLAYER_CID: string;
|
|
722
|
+
TIMESTAMP_CID: number;
|
|
723
|
+
UINT256_CID: number;
|
|
724
|
+
analyticsProcessed: boolean;
|
|
725
|
+
createdAt: string;
|
|
726
|
+
updatedAt: string;
|
|
727
|
+
referrals: any[];
|
|
728
|
+
}
|
|
729
|
+
interface JuicedDataResponse {
|
|
730
|
+
juiceData: JuiceData;
|
|
731
|
+
listings: JuiceListing[];
|
|
732
|
+
purchases: JuicePurchase[];
|
|
733
|
+
}
|
|
734
|
+
interface RomFactoryStats {
|
|
735
|
+
hasValidChildRom: boolean;
|
|
736
|
+
tier: string;
|
|
737
|
+
memory: string;
|
|
738
|
+
faction: string;
|
|
739
|
+
serialNumber: string;
|
|
740
|
+
shardProductionPerWeek: number;
|
|
741
|
+
dustProductionPerWeek: number;
|
|
742
|
+
baseMaxShard: number;
|
|
743
|
+
baseMaxDust: number;
|
|
744
|
+
baseMaxEnergy: number;
|
|
745
|
+
maxEnergy: number;
|
|
746
|
+
maxShard: number;
|
|
747
|
+
maxDust: number;
|
|
748
|
+
dustItemId: number;
|
|
749
|
+
shardItemId: number;
|
|
750
|
+
timeSinceLastTransfer: number;
|
|
751
|
+
secondsSinceEpoch: number;
|
|
752
|
+
secondsSinceLastEnergyClaim: number;
|
|
753
|
+
secondsSinceLastShardClaim: number;
|
|
754
|
+
secondsSinceLastDustClaim: number;
|
|
755
|
+
timeSinceLastCollectEnergy: number;
|
|
756
|
+
timeSinceLastCollectShard: number;
|
|
757
|
+
timeSinceLastCollectDust: number;
|
|
758
|
+
percentageOfAWeekSinceLastEnergyClaim: number;
|
|
759
|
+
percentageOfAWeekSinceLastShardClaim: number;
|
|
760
|
+
percentageOfAWeekSinceLastDustClaim: number;
|
|
761
|
+
energyCollectable: number;
|
|
762
|
+
gigusDustPerEnergy: number;
|
|
763
|
+
gigusDustCollectable: number;
|
|
764
|
+
shardCollectable: number;
|
|
765
|
+
dustCollectable: number;
|
|
766
|
+
baseStubBonus: number;
|
|
767
|
+
weeklyStubBonus: number;
|
|
768
|
+
stubBoost: number;
|
|
769
|
+
stubBoostLvl: number;
|
|
770
|
+
totalBoost: number;
|
|
771
|
+
juiceBoost: number;
|
|
772
|
+
romBoost: number;
|
|
773
|
+
stubBoostCost: number;
|
|
774
|
+
}
|
|
775
|
+
interface RomEntity {
|
|
776
|
+
_id: string;
|
|
777
|
+
docId: string;
|
|
778
|
+
tableName: string;
|
|
779
|
+
tableId: string;
|
|
780
|
+
OWNER_CID: string;
|
|
781
|
+
createdAt: string;
|
|
782
|
+
updatedAt: string;
|
|
783
|
+
__v: number;
|
|
784
|
+
LAST_TRANSFER_TIME_CID: number;
|
|
785
|
+
INITIALIZED_CID: boolean;
|
|
786
|
+
factoryStats: RomFactoryStats;
|
|
787
|
+
offchainRomDoc: OffchainRomDoc;
|
|
788
|
+
isChildRom?: boolean;
|
|
789
|
+
parentRomId?: string;
|
|
790
|
+
}
|
|
791
|
+
interface OffchainRomDoc {
|
|
792
|
+
_id: string;
|
|
793
|
+
docId: string;
|
|
794
|
+
TIMESTAMP_CID_array: number[];
|
|
795
|
+
TIMESTAMP_CID: number;
|
|
796
|
+
createdAt: string;
|
|
797
|
+
updatedAt: string;
|
|
798
|
+
__v: number;
|
|
799
|
+
ENERGY_CID: number;
|
|
800
|
+
OWNER_CID: string;
|
|
801
|
+
CHILD_CID?: string;
|
|
802
|
+
LEVEL_CID?: number;
|
|
803
|
+
data: {
|
|
804
|
+
tier: string;
|
|
805
|
+
faction: string;
|
|
806
|
+
serialNumber: string;
|
|
807
|
+
memory: string;
|
|
808
|
+
imgUrl: string;
|
|
809
|
+
gifUrl: string;
|
|
810
|
+
mp4Url: string;
|
|
811
|
+
boostTimeSet: number;
|
|
812
|
+
dustSpentUpgrading?: number;
|
|
813
|
+
lvlUpTime?: number;
|
|
814
|
+
};
|
|
815
|
+
}
|
|
816
|
+
interface RomsRawResponse {
|
|
817
|
+
entities: RomEntity[];
|
|
818
|
+
}
|
|
819
|
+
interface RomsResponse {
|
|
820
|
+
allRoms: RomEntity[];
|
|
821
|
+
activeRoms: RomEntity[];
|
|
822
|
+
childRoms: RomEntity[];
|
|
823
|
+
currentEnergy: number;
|
|
824
|
+
maxEnergy: number;
|
|
825
|
+
}
|
|
826
|
+
interface AccountResponse {
|
|
827
|
+
accountEntity: {
|
|
828
|
+
_id: string;
|
|
829
|
+
docId: string;
|
|
830
|
+
tableName: string;
|
|
831
|
+
GIGA_NAME_TOKENDID_CID: string;
|
|
832
|
+
createdAt: string;
|
|
833
|
+
updatedAt: string;
|
|
834
|
+
NOOB_TOKEN_CID: number;
|
|
835
|
+
};
|
|
836
|
+
usernames: Array<{
|
|
837
|
+
_id: string;
|
|
838
|
+
docId: string;
|
|
839
|
+
tableName: string;
|
|
840
|
+
INITIALIZED_CID: boolean;
|
|
841
|
+
createdAt: string;
|
|
842
|
+
updatedAt: string;
|
|
843
|
+
OWNER_CID: string;
|
|
844
|
+
NAME_CID: string;
|
|
845
|
+
IS_GIGA_NAME_CID: boolean;
|
|
846
|
+
LAST_TRANSFER_TIME_CID: number;
|
|
847
|
+
}>;
|
|
848
|
+
noob: {
|
|
849
|
+
_id: string;
|
|
850
|
+
docId: string;
|
|
851
|
+
tableName: string;
|
|
852
|
+
LAST_TRANSFER_TIME_CID: number;
|
|
853
|
+
createdAt: string;
|
|
854
|
+
updatedAt: string;
|
|
855
|
+
IS_NOOB_CID: boolean;
|
|
856
|
+
OWNER_CID: string;
|
|
857
|
+
INITIALIZED_CID: boolean;
|
|
858
|
+
LEVEL_CID: number;
|
|
859
|
+
};
|
|
860
|
+
checkpointProgress: Array<{
|
|
861
|
+
COMPLETE_CID: boolean;
|
|
862
|
+
COMPLETIONS_CID: number;
|
|
863
|
+
ID_CID: string;
|
|
864
|
+
PLAYER_CID: string;
|
|
865
|
+
createdAt: string;
|
|
866
|
+
docId: string;
|
|
867
|
+
updatedAt: string;
|
|
868
|
+
__v: number;
|
|
869
|
+
_id: string;
|
|
870
|
+
}>;
|
|
871
|
+
}
|
|
872
|
+
interface RecipeEntity {
|
|
873
|
+
_id: string;
|
|
874
|
+
docId: string;
|
|
875
|
+
COMPLETE_CID: boolean;
|
|
876
|
+
UINT256_CID: number;
|
|
877
|
+
ID_CID: string;
|
|
878
|
+
PLAYER_CID: string;
|
|
879
|
+
NOOB_TOKEN_CID: number;
|
|
880
|
+
START_TIMESTAMP_CID: number;
|
|
881
|
+
END_TIMESTAMP_CID: number;
|
|
882
|
+
createdAt: string;
|
|
883
|
+
updatedAt: string;
|
|
884
|
+
__v: number;
|
|
885
|
+
LOOT_AMOUNT_CID_array: number[];
|
|
886
|
+
LOOT_FULFILLER_ID_CID_array: number[];
|
|
887
|
+
LOOT_ID_CID_array: number[];
|
|
888
|
+
RARITY_CID: number;
|
|
889
|
+
STRING_CID: string;
|
|
890
|
+
SUCCESS_CID: boolean;
|
|
891
|
+
}
|
|
892
|
+
interface StartRecipeResponse {
|
|
893
|
+
entities: RecipeEntity[];
|
|
894
|
+
}
|
|
895
|
+
interface PlayerRecipesResponse {
|
|
896
|
+
entities: PlayerRecipeEntity[];
|
|
897
|
+
}
|
|
898
|
+
interface PlayerRecipeEntity {
|
|
899
|
+
_id: string;
|
|
900
|
+
docId: string;
|
|
901
|
+
COMPLETIONS_CID: number;
|
|
902
|
+
ID_CID: string;
|
|
903
|
+
PLAYER_CID: string;
|
|
904
|
+
STARTS_CID: number;
|
|
905
|
+
__v: number;
|
|
906
|
+
createdAt: string;
|
|
907
|
+
docType: string;
|
|
908
|
+
updatedAt: string;
|
|
909
|
+
END_TIMESTAMP_CID?: number;
|
|
910
|
+
END_TIMESTAMP_CID_array?: number[];
|
|
911
|
+
DAY_CID?: number;
|
|
912
|
+
DAY_COUNT_CID?: number;
|
|
913
|
+
WEEK_CID?: number;
|
|
914
|
+
WEEK_COUNT_CID?: number;
|
|
915
|
+
}
|
|
916
|
+
interface NoobGearEntity {
|
|
917
|
+
_id: string;
|
|
918
|
+
docId: string;
|
|
919
|
+
GAME_ITEM_ID_CID: number;
|
|
920
|
+
OWNER_CID: string;
|
|
921
|
+
PLAYER_CID: string;
|
|
922
|
+
RARITY_CID: number;
|
|
923
|
+
DURABILITY_CID: number;
|
|
924
|
+
EQUIPPED_TO_SLOT_CID: number;
|
|
925
|
+
EQUIPPED_TO_INDEX_CID: number;
|
|
926
|
+
REPAIR_COUNT_CID: number;
|
|
927
|
+
createdAt: string;
|
|
928
|
+
updatedAt: string;
|
|
929
|
+
__v: number;
|
|
930
|
+
}
|
|
931
|
+
interface NoobGearResponse {
|
|
932
|
+
entities: NoobGearEntity[];
|
|
933
|
+
}
|
|
934
|
+
interface VanityEquipmentEntity {
|
|
935
|
+
_id: string;
|
|
936
|
+
docId: string;
|
|
937
|
+
createdAt: string;
|
|
938
|
+
updatedAt: string;
|
|
939
|
+
EQUIPMENT_HEAD_CID: number;
|
|
940
|
+
EQUIPMENT_BODY_CID: number;
|
|
941
|
+
}
|
|
942
|
+
interface VanityEquipmentResponse {
|
|
943
|
+
entities: VanityEquipmentEntity[];
|
|
944
|
+
}
|
|
945
|
+
interface CheckpointEntity {
|
|
946
|
+
docId: string;
|
|
947
|
+
ID_CID: string;
|
|
948
|
+
NAME_CID: string;
|
|
949
|
+
DESCRIPTION_CID: string;
|
|
950
|
+
INPUT_ID_CID_array: number[];
|
|
951
|
+
INPUT_AMOUNT_CID_array: number[];
|
|
952
|
+
UINT256_CID_array: number[];
|
|
953
|
+
MAX_COMPLETIONS_CID: number;
|
|
954
|
+
}
|
|
955
|
+
interface Constants {
|
|
956
|
+
minTimeBetweenImports: number;
|
|
957
|
+
minTimeBetweenExports: number;
|
|
958
|
+
maxEnergy: number;
|
|
959
|
+
energyRegenRate: number;
|
|
960
|
+
maxEnergyJuiced: number;
|
|
961
|
+
regenRateJuiced: number;
|
|
962
|
+
dungeonEnergyCost: number;
|
|
963
|
+
}
|
|
964
|
+
interface EnemyEntity {
|
|
965
|
+
docId: string;
|
|
966
|
+
ID_CID: string;
|
|
967
|
+
EQUIPMENT_HEAD_CID: number;
|
|
968
|
+
EQUIPMENT_BODY_CID: number;
|
|
969
|
+
NAME_CID: string;
|
|
970
|
+
LOOT_ID_CID: number;
|
|
971
|
+
MOVE_STATS_CID_array: number[];
|
|
972
|
+
}
|
|
973
|
+
interface GameItemEntity {
|
|
974
|
+
ID_CID: number;
|
|
975
|
+
docId: string;
|
|
976
|
+
NAME_CID: string;
|
|
977
|
+
DESCRIPTION_CID: string;
|
|
978
|
+
RARITY_CID: number;
|
|
979
|
+
RARITY_NAME: string;
|
|
980
|
+
IMG_URL_CID: string;
|
|
981
|
+
ICON_URL_CID: string;
|
|
982
|
+
TYPE_CID: string;
|
|
983
|
+
GUIDE_CID?: string;
|
|
984
|
+
itemEffect?: {
|
|
985
|
+
effects: Array<{
|
|
986
|
+
triggerType: string;
|
|
987
|
+
effects: Array<{
|
|
988
|
+
type: string;
|
|
989
|
+
amount: number;
|
|
990
|
+
playerType: string;
|
|
991
|
+
statusType?: string;
|
|
992
|
+
}>;
|
|
993
|
+
durabilityChange: number;
|
|
994
|
+
playerType: string;
|
|
995
|
+
}>;
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
interface RecipeStaticEntity {
|
|
999
|
+
docId: string;
|
|
1000
|
+
ID_CID: string;
|
|
1001
|
+
NAME_CID: string;
|
|
1002
|
+
FACTION_CID_array: number[];
|
|
1003
|
+
GEAR_TYPE_CID: number;
|
|
1004
|
+
DURABILITY_CID: number;
|
|
1005
|
+
TIER_CID: number;
|
|
1006
|
+
UINT256_CID: number;
|
|
1007
|
+
INPUT_NAMES_CID_array: string[];
|
|
1008
|
+
INPUT_ID_CID_array: number[];
|
|
1009
|
+
INPUT_AMOUNT_CID_array: number[];
|
|
1010
|
+
LOOT_ID_CID_array: number[];
|
|
1011
|
+
LOOT_AMOUNT_CID_array: number[];
|
|
1012
|
+
LOOT_FULFILLER_ID_CID_array: string[];
|
|
1013
|
+
TIME_BETWEEN_CID: number;
|
|
1014
|
+
TAG_CID_array: string[];
|
|
1015
|
+
SUCCESS_RATE_CID: number;
|
|
1016
|
+
COOLDOWN_CID: number;
|
|
1017
|
+
MAX_COMPLETIONS_CID: number;
|
|
1018
|
+
ENERGY_CID: number;
|
|
1019
|
+
IS_JUICED_CID: boolean;
|
|
1020
|
+
IS_WEEKLY_CID: boolean;
|
|
1021
|
+
IS_DAILY_CID: boolean;
|
|
1022
|
+
JUICED_MULTIPLIER_CID: number;
|
|
1023
|
+
}
|
|
1024
|
+
interface HatcheryConfig {
|
|
1025
|
+
hatcheryStartingMaterials: {
|
|
1026
|
+
INPUT_ID_CID_array: number[];
|
|
1027
|
+
INPUT_AMOUNT_CID_array: number[];
|
|
1028
|
+
};
|
|
1029
|
+
maxPetsInHatchery: number;
|
|
1030
|
+
maxProgress: number;
|
|
1031
|
+
maxRarity: number;
|
|
1032
|
+
comfortConfig: {
|
|
1033
|
+
minValue: number;
|
|
1034
|
+
maxValue: number;
|
|
1035
|
+
increment: number;
|
|
1036
|
+
};
|
|
1037
|
+
temperatureConfig: {
|
|
1038
|
+
minValue: number;
|
|
1039
|
+
maxValue: number;
|
|
1040
|
+
increment: number;
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
interface StaticDataResponse {
|
|
1044
|
+
currentDay: number;
|
|
1045
|
+
currentWeek: number;
|
|
1046
|
+
currentDayOfWeek: number;
|
|
1047
|
+
secondsTillNextDay: number;
|
|
1048
|
+
secondsTillNextWeek: number;
|
|
1049
|
+
readableTimeTillNextDay: string;
|
|
1050
|
+
checkpoints: CheckpointEntity[];
|
|
1051
|
+
constants: Constants;
|
|
1052
|
+
enemies: EnemyEntity[];
|
|
1053
|
+
gameItems: GameItemEntity[];
|
|
1054
|
+
recipes: RecipeStaticEntity[];
|
|
1055
|
+
hatchery: HatcheryConfig;
|
|
1056
|
+
}
|
|
1057
|
+
interface GameInventoryEntity {
|
|
1058
|
+
_id: string;
|
|
1059
|
+
ID_CID: string;
|
|
1060
|
+
PLAYER_CID: string;
|
|
1061
|
+
docId: string;
|
|
1062
|
+
BALANCE_CID: number;
|
|
1063
|
+
__v: number;
|
|
1064
|
+
createdAt: string;
|
|
1065
|
+
updatedAt: string;
|
|
1066
|
+
}
|
|
1067
|
+
interface GameInventoryEntity2 {
|
|
1068
|
+
ID_CID: string;
|
|
1069
|
+
PLAYER_CID: string;
|
|
1070
|
+
docId: string;
|
|
1071
|
+
BALANCE_CID: number;
|
|
1072
|
+
}
|
|
1073
|
+
interface GameInventoryResponse {
|
|
1074
|
+
entities: GameInventoryEntity[];
|
|
1075
|
+
}
|
|
1076
|
+
interface GameInventory2Response {
|
|
1077
|
+
entities: GameInventoryEntity2[];
|
|
1078
|
+
}
|
|
1079
|
+
interface OnchainInventoryEntity {
|
|
1080
|
+
_id: string;
|
|
1081
|
+
docId: string;
|
|
1082
|
+
tableName: string;
|
|
1083
|
+
tableId: string;
|
|
1084
|
+
colSetData: {
|
|
1085
|
+
PLAYER_CID: {
|
|
1086
|
+
block_number: number;
|
|
1087
|
+
log_index: number;
|
|
1088
|
+
transaction_index: number;
|
|
1089
|
+
};
|
|
1090
|
+
ID_CID: {
|
|
1091
|
+
block_number: number;
|
|
1092
|
+
log_index: number;
|
|
1093
|
+
transaction_index: number;
|
|
1094
|
+
};
|
|
1095
|
+
BALANCE_CID: {
|
|
1096
|
+
block_number: number;
|
|
1097
|
+
log_index: number;
|
|
1098
|
+
transaction_index: number;
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
firstTx: string;
|
|
1102
|
+
lastTx: string;
|
|
1103
|
+
PLAYER_CID: string;
|
|
1104
|
+
createdAt: string;
|
|
1105
|
+
updatedAt: string;
|
|
1106
|
+
__v: number;
|
|
1107
|
+
ID_CID: string;
|
|
1108
|
+
BALANCE_CID: number;
|
|
1109
|
+
}
|
|
1110
|
+
interface OnchainInventoryResponse {
|
|
1111
|
+
entities: OnchainInventoryEntity[];
|
|
1112
|
+
}
|
|
1113
|
+
interface RepairEntity {
|
|
1114
|
+
_id: string;
|
|
1115
|
+
docId: string;
|
|
1116
|
+
GAME_ITEM_ID_CID: number;
|
|
1117
|
+
OWNER_CID: string;
|
|
1118
|
+
PLAYER_CID: string;
|
|
1119
|
+
RARITY_CID: number;
|
|
1120
|
+
DURABILITY_CID: number;
|
|
1121
|
+
EQUIPPED_TO_SLOT_CID: number;
|
|
1122
|
+
EQUIPPED_TO_INDEX_CID: number;
|
|
1123
|
+
createdAt: string;
|
|
1124
|
+
updatedAt: string;
|
|
1125
|
+
__v: number;
|
|
1126
|
+
REPAIR_COUNT_CID: number;
|
|
1127
|
+
}
|
|
1128
|
+
interface RepairResponse {
|
|
1129
|
+
entities: RepairEntity[];
|
|
1130
|
+
}
|
|
1131
|
+
interface ItemFloorPriceDTO {
|
|
1132
|
+
ETH_MINT_PRICE_CID: number;
|
|
1133
|
+
GAME_ITEM_ID_CID: number;
|
|
1134
|
+
}
|
|
1135
|
+
interface ItemsPricesResponse {
|
|
1136
|
+
entities: ItemFloorPriceDTO[];
|
|
1137
|
+
}
|
|
1138
|
+
interface PlayerListingEntity {
|
|
1139
|
+
_id: string;
|
|
1140
|
+
docId: string;
|
|
1141
|
+
tableName: string;
|
|
1142
|
+
firstTx: string;
|
|
1143
|
+
lastTx: string;
|
|
1144
|
+
OWNER_CID: string;
|
|
1145
|
+
createdAt: string;
|
|
1146
|
+
updatedAt: string;
|
|
1147
|
+
ID_CID: string;
|
|
1148
|
+
ETH_MINT_PRICE_CID: number;
|
|
1149
|
+
EXPORT_AMOUNT_CID: number;
|
|
1150
|
+
UINT256_CID: number;
|
|
1151
|
+
TIMESTAMP_CID: number;
|
|
1152
|
+
GAME_ITEM_ID_CID: number;
|
|
1153
|
+
}
|
|
1154
|
+
interface PlayerListingsResponse {
|
|
1155
|
+
entities: PlayerListingEntity[];
|
|
1156
|
+
entities2: any[];
|
|
1157
|
+
}
|
|
1158
|
+
interface FishingActionResponse {
|
|
1159
|
+
success: boolean;
|
|
1160
|
+
message: string;
|
|
1161
|
+
data: {
|
|
1162
|
+
doc: FishingGameDocument;
|
|
1163
|
+
events: FishingEvent[];
|
|
1164
|
+
};
|
|
1165
|
+
actionToken: number;
|
|
1166
|
+
gameItemBalanceChanges?: GameItemBalanceChange[];
|
|
1167
|
+
}
|
|
1168
|
+
interface SellFishRequest {
|
|
1169
|
+
fishId: number;
|
|
1170
|
+
amount: number;
|
|
1171
|
+
expectedValue: number;
|
|
1172
|
+
}
|
|
1173
|
+
interface SellFishResponse {
|
|
1174
|
+
success: boolean;
|
|
1175
|
+
message: string;
|
|
1176
|
+
data: {
|
|
1177
|
+
value: number;
|
|
1178
|
+
boost: number;
|
|
1179
|
+
};
|
|
1180
|
+
gameItemBalanceChanges: GameItemBalanceChange[];
|
|
1181
|
+
}
|
|
1182
|
+
interface CookFishResponse {
|
|
1183
|
+
success: boolean;
|
|
1184
|
+
message: string;
|
|
1185
|
+
data: {
|
|
1186
|
+
outputId: number;
|
|
1187
|
+
outputAmount: number;
|
|
1188
|
+
};
|
|
1189
|
+
gameItemBalanceChanges: GameItemBalanceChange[];
|
|
1190
|
+
}
|
|
1191
|
+
interface FishingGameDocument {
|
|
1192
|
+
_id: string;
|
|
1193
|
+
docId: string;
|
|
1194
|
+
docType: "FISHING_GAME";
|
|
1195
|
+
data: FishingGameState;
|
|
1196
|
+
COMPLETE_CID: boolean;
|
|
1197
|
+
LEVEL_CID: number;
|
|
1198
|
+
ID_CID: string;
|
|
1199
|
+
PLAYER_CID: string;
|
|
1200
|
+
FACTION_CID: number;
|
|
1201
|
+
GEAR_CID_array: string[];
|
|
1202
|
+
DAY_CID: number;
|
|
1203
|
+
createdAt: string;
|
|
1204
|
+
updatedAt: string;
|
|
1205
|
+
SUCCESS_CID?: boolean;
|
|
1206
|
+
__v: number;
|
|
1207
|
+
}
|
|
1208
|
+
interface FishingGameState {
|
|
1209
|
+
deckCardData: FishingCard[];
|
|
1210
|
+
playerMaxHp: number;
|
|
1211
|
+
playerHp: number;
|
|
1212
|
+
fishHp: number;
|
|
1213
|
+
fishMaxHp: number;
|
|
1214
|
+
fishPosition: [number, number];
|
|
1215
|
+
previousFishPosition: [number, number];
|
|
1216
|
+
nextPosition?: [number, number];
|
|
1217
|
+
fullDeck: number[];
|
|
1218
|
+
nextCardIndex: number;
|
|
1219
|
+
cardInDrawPile: number;
|
|
1220
|
+
hand: number[];
|
|
1221
|
+
discard: number[];
|
|
1222
|
+
jebaitorTriggered: boolean;
|
|
1223
|
+
day: number;
|
|
1224
|
+
week: number;
|
|
1225
|
+
caughtFish?: CaughtFish;
|
|
1226
|
+
cardsToAdd?: FishingCard[];
|
|
1227
|
+
cardChosenId?: number;
|
|
1228
|
+
}
|
|
1229
|
+
interface FishingCard {
|
|
1230
|
+
id: number;
|
|
1231
|
+
startingAmount: number;
|
|
1232
|
+
manaCost: number;
|
|
1233
|
+
hitZones: number[];
|
|
1234
|
+
critZones: number[];
|
|
1235
|
+
hitEffects: Effect[];
|
|
1236
|
+
missEffects: Effect[];
|
|
1237
|
+
critEffects: Effect[];
|
|
1238
|
+
unlockLevel: number;
|
|
1239
|
+
rarity: number;
|
|
1240
|
+
isDayCard: boolean;
|
|
1241
|
+
earnable: boolean;
|
|
1242
|
+
}
|
|
1243
|
+
interface Effect {
|
|
1244
|
+
type: "FISH_HP";
|
|
1245
|
+
amount: number;
|
|
1246
|
+
}
|
|
1247
|
+
interface FishingEvent {
|
|
1248
|
+
type: "FISH_MOVED" | "CARD_PLAYED" | "FISH_HP_DIFF" | "PREDICT_NEXT_MOVE" | "NEW_HAND" | "HIT" | "FISH_DIED";
|
|
1249
|
+
value: number;
|
|
1250
|
+
playerId: number;
|
|
1251
|
+
batch: number;
|
|
1252
|
+
data: any;
|
|
1253
|
+
}
|
|
1254
|
+
interface CaughtFish {
|
|
1255
|
+
gameItemId: number;
|
|
1256
|
+
name: string;
|
|
1257
|
+
rarity: number;
|
|
1258
|
+
size: "SM" | "MED" | "LG" | "XL";
|
|
1259
|
+
startDate: string | null;
|
|
1260
|
+
endDate: string | null;
|
|
1261
|
+
moveDistances: number[];
|
|
1262
|
+
levelRequired: number;
|
|
1263
|
+
quality: number;
|
|
1264
|
+
sizes: FishSizes;
|
|
1265
|
+
plusOneRarity: boolean;
|
|
1266
|
+
plusOneQuality: boolean;
|
|
1267
|
+
doubled: boolean;
|
|
1268
|
+
findexResult: FindexResult;
|
|
1269
|
+
seaweedEarned: number;
|
|
1270
|
+
}
|
|
1271
|
+
interface FishSizes {
|
|
1272
|
+
weight: number;
|
|
1273
|
+
length: number;
|
|
1274
|
+
girth: number;
|
|
1275
|
+
}
|
|
1276
|
+
interface FindexResult {
|
|
1277
|
+
newFish: boolean;
|
|
1278
|
+
newLength: boolean;
|
|
1279
|
+
newGirth: boolean;
|
|
1280
|
+
newWeight: boolean;
|
|
1281
|
+
newQuality: boolean;
|
|
1282
|
+
totalCaught: number;
|
|
1283
|
+
}
|
|
1284
|
+
interface FishingDayDocument {
|
|
1285
|
+
_id: string;
|
|
1286
|
+
docId: string;
|
|
1287
|
+
UINT256_CID: number;
|
|
1288
|
+
ID_CID: string;
|
|
1289
|
+
TIMESTAMP_CID: number;
|
|
1290
|
+
PLAYER_CID: string;
|
|
1291
|
+
DOC_TYPE_CID: string;
|
|
1292
|
+
createdAt: string;
|
|
1293
|
+
updatedAt: string;
|
|
1294
|
+
__v: number;
|
|
1295
|
+
data: {
|
|
1296
|
+
deck: number[];
|
|
1297
|
+
};
|
|
1298
|
+
}
|
|
1299
|
+
interface FishingCookingRecipe {
|
|
1300
|
+
outputId: number;
|
|
1301
|
+
outputAmount: number;
|
|
1302
|
+
inputAmount: number;
|
|
1303
|
+
inputRarity: number;
|
|
1304
|
+
energyCost: number;
|
|
1305
|
+
}
|
|
1306
|
+
interface FishingStateResponse {
|
|
1307
|
+
gameState: FishingGameDocument;
|
|
1308
|
+
dayDoc: FishingDayDocument;
|
|
1309
|
+
maxPerDay: number;
|
|
1310
|
+
maxPerDayJuiced: number;
|
|
1311
|
+
node0Energy: number;
|
|
1312
|
+
node1Energy: number;
|
|
1313
|
+
node2Energy: number;
|
|
1314
|
+
node0Weights: number[];
|
|
1315
|
+
node1Weights: number[];
|
|
1316
|
+
node2Weights: number[];
|
|
1317
|
+
qualityWeights: number[];
|
|
1318
|
+
unlockLvlsPerQuality: number[];
|
|
1319
|
+
skillLevel: number;
|
|
1320
|
+
exchangeRates: Array<{
|
|
1321
|
+
id: number;
|
|
1322
|
+
tier: number;
|
|
1323
|
+
baseVal: number;
|
|
1324
|
+
value: number;
|
|
1325
|
+
}>;
|
|
1326
|
+
cookingRecipes: FishingCookingRecipe[];
|
|
1327
|
+
nonCookable: number[];
|
|
1328
|
+
}
|
|
1329
|
+
interface FishingCardsResponse {
|
|
1330
|
+
entities: FishingCard[];
|
|
1331
|
+
}
|
|
1332
|
+
interface HatcheryTemperature {
|
|
1333
|
+
current: number;
|
|
1334
|
+
max: number;
|
|
1335
|
+
nextDayIncreaseRate: number;
|
|
1336
|
+
itemsForNextIncrement: {
|
|
1337
|
+
ID_CID: number;
|
|
1338
|
+
BALANCE_CID: number;
|
|
1339
|
+
};
|
|
1340
|
+
}
|
|
1341
|
+
interface HatcheryComfort {
|
|
1342
|
+
current: number;
|
|
1343
|
+
max: number;
|
|
1344
|
+
nextDayIncreaseRate: number;
|
|
1345
|
+
itemsForNextIncrement: {
|
|
1346
|
+
ID_CID: number;
|
|
1347
|
+
BALANCE_CID: number;
|
|
1348
|
+
};
|
|
1349
|
+
}
|
|
1350
|
+
interface HatcheryFate {
|
|
1351
|
+
probabilities: number[];
|
|
1352
|
+
upgrades: number[];
|
|
1353
|
+
lastInfluenceDay: number;
|
|
1354
|
+
interactionCount: number;
|
|
1355
|
+
temperatureRequirement: number;
|
|
1356
|
+
meetsTemperatureRequirement: boolean;
|
|
1357
|
+
itemsForNextIncrement: Array<{
|
|
1358
|
+
FACTION_CID: number;
|
|
1359
|
+
ID_CID: number;
|
|
1360
|
+
BALANCE_CID: number;
|
|
1361
|
+
}>;
|
|
1362
|
+
max: number;
|
|
1363
|
+
canInfluenceToday: boolean;
|
|
1364
|
+
canInfluence: boolean;
|
|
1365
|
+
incPerInput: number;
|
|
1366
|
+
gigusIncPerInput: number;
|
|
1367
|
+
}
|
|
1368
|
+
interface HatcheryRarityDistribution {
|
|
1369
|
+
level: number;
|
|
1370
|
+
rates: number[];
|
|
1371
|
+
}
|
|
1372
|
+
interface HatcheryStatus {
|
|
1373
|
+
progress: number;
|
|
1374
|
+
temperature: HatcheryTemperature;
|
|
1375
|
+
rarity: number;
|
|
1376
|
+
comfort: HatcheryComfort;
|
|
1377
|
+
fate: HatcheryFate;
|
|
1378
|
+
daysSinceCheckpoint: number;
|
|
1379
|
+
isInHatchery: boolean;
|
|
1380
|
+
isReadyToHatch: boolean;
|
|
1381
|
+
rarityDistribution?: HatcheryRarityDistribution;
|
|
1382
|
+
eggspedited?: boolean;
|
|
1383
|
+
}
|
|
1384
|
+
interface PetFactoryEffect {
|
|
1385
|
+
type: string;
|
|
1386
|
+
amount: number;
|
|
1387
|
+
chance: number;
|
|
1388
|
+
playerType: string;
|
|
1389
|
+
statusType: string;
|
|
1390
|
+
}
|
|
1391
|
+
interface PetFactoryInputOption {
|
|
1392
|
+
itemId: number;
|
|
1393
|
+
amountPer: number;
|
|
1394
|
+
effects: PetFactoryEffect[];
|
|
1395
|
+
}
|
|
1396
|
+
interface PetFactory {
|
|
1397
|
+
baseOutputItemId: number;
|
|
1398
|
+
factionOutputItemId: number;
|
|
1399
|
+
additionalOutput: number;
|
|
1400
|
+
factionVariantChance: number;
|
|
1401
|
+
inputOptions: PetFactoryInputOption[];
|
|
1402
|
+
maxHunger: number;
|
|
1403
|
+
daysPerHunger: number;
|
|
1404
|
+
daysTillNextHunger: number;
|
|
1405
|
+
}
|
|
1406
|
+
interface PetData {
|
|
1407
|
+
eggType: string;
|
|
1408
|
+
hatcheryStatus?: HatcheryStatus;
|
|
1409
|
+
gender?: string;
|
|
1410
|
+
hatchedAt?: string;
|
|
1411
|
+
hunger?: number;
|
|
1412
|
+
factory?: PetFactory;
|
|
1413
|
+
}
|
|
1414
|
+
interface PetEntity {
|
|
1415
|
+
_id: string;
|
|
1416
|
+
docId: string;
|
|
1417
|
+
tableName: string;
|
|
1418
|
+
OWNER_CID: string;
|
|
1419
|
+
LAST_TRANSFER_TIME_CID: number;
|
|
1420
|
+
INITIALIZED_CID: boolean;
|
|
1421
|
+
ID_CID: string;
|
|
1422
|
+
IMG_URL_CID: string;
|
|
1423
|
+
NAME_CID: string;
|
|
1424
|
+
DESCRIPTION_CID: string;
|
|
1425
|
+
TYPE_CID: string;
|
|
1426
|
+
createdAt: string;
|
|
1427
|
+
updatedAt: string;
|
|
1428
|
+
data: PetData;
|
|
1429
|
+
RARITY_CID?: number;
|
|
1430
|
+
FACTION_CID?: number;
|
|
1431
|
+
COMPLETE_CID?: boolean;
|
|
1432
|
+
}
|
|
1433
|
+
interface PlayerPetsResponse {
|
|
1434
|
+
listOfPetIds: number[];
|
|
1435
|
+
entities: PetEntity[];
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Generic item structure used in hatchery API requests
|
|
1439
|
+
* This structure is used for fuel, comfort, and faction dust items
|
|
1440
|
+
* Only ID_CID and BALANCE_CID are required; all other fields are optional
|
|
1441
|
+
*/
|
|
1442
|
+
interface HatcheryItem {
|
|
1443
|
+
ID_CID: number;
|
|
1444
|
+
BALANCE_CID: number;
|
|
1445
|
+
docId?: string;
|
|
1446
|
+
docType?: string;
|
|
1447
|
+
tableName?: string;
|
|
1448
|
+
NAME_CID?: string;
|
|
1449
|
+
DESCRIPTION_CID?: string;
|
|
1450
|
+
COMPLETE_CID?: boolean;
|
|
1451
|
+
UINT256_CID?: string;
|
|
1452
|
+
PLAYER_CID?: string;
|
|
1453
|
+
IMG_URL_CID?: string;
|
|
1454
|
+
ICON_URL_CID?: string;
|
|
1455
|
+
SPRITE_SHEET_URL_CID?: string;
|
|
1456
|
+
TIMESTAMP_CID?: string;
|
|
1457
|
+
LEVEL_CID?: number;
|
|
1458
|
+
LEVEL_CID_array?: number[];
|
|
1459
|
+
ENERGY_CID?: string;
|
|
1460
|
+
ROOM_NUM_CID?: number;
|
|
1461
|
+
RARITY_CID?: number;
|
|
1462
|
+
TYPE_CID?: string;
|
|
1463
|
+
FLOOR_NUM_CID?: number;
|
|
1464
|
+
IS_SKIN_ID?: boolean;
|
|
1465
|
+
EQUIPMENT_HEAD_CID?: number;
|
|
1466
|
+
EQUIPMENT_BODY_CID?: number;
|
|
1467
|
+
ENEMY_CID?: number;
|
|
1468
|
+
GAME_ITEM_ID_CID?: number;
|
|
1469
|
+
SKILL_CID?: number;
|
|
1470
|
+
NOOB_TOKEN_ID_CID?: number;
|
|
1471
|
+
createdAt?: string;
|
|
1472
|
+
updatedAt?: string;
|
|
1473
|
+
IS_SOULBOUND_CID?: boolean;
|
|
1474
|
+
TIME_BETWEEN_CID?: number;
|
|
1475
|
+
GUIDE_CID?: string;
|
|
1476
|
+
firstTx?: string;
|
|
1477
|
+
lastTx?: string;
|
|
1478
|
+
IsGear?: boolean;
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* Response from hatchery API endpoints (fuel, comfort, fate, add)
|
|
1482
|
+
* All hatchery endpoints return the updated pet entity
|
|
1483
|
+
*/
|
|
1484
|
+
interface HatcheryResponse {
|
|
1485
|
+
success: boolean;
|
|
1486
|
+
message: string;
|
|
1487
|
+
entity: PetEntity;
|
|
1488
|
+
}
|
|
1489
|
+
/**
|
|
1490
|
+
* Response from start egg hatching endpoint
|
|
1491
|
+
*/
|
|
1492
|
+
type StartHatchingResponse = HatcheryResponse;
|
|
1493
|
+
/**
|
|
1494
|
+
* Response from add fuel (temperature) endpoint
|
|
1495
|
+
*/
|
|
1496
|
+
type AddFuelResponse = HatcheryResponse;
|
|
1497
|
+
/**
|
|
1498
|
+
* Response from add comfort endpoint
|
|
1499
|
+
*/
|
|
1500
|
+
type AddComfortResponse = HatcheryResponse;
|
|
1501
|
+
/**
|
|
1502
|
+
* Response from influence fate endpoint
|
|
1503
|
+
*/
|
|
1504
|
+
type InfluenceFateResponse = HatcheryResponse;
|
|
1505
|
+
interface ActiveDungeonGearInstance {
|
|
1506
|
+
_id: string;
|
|
1507
|
+
docId: string;
|
|
1508
|
+
GAME_ITEM_ID_CID: number;
|
|
1509
|
+
OWNER_CID: string;
|
|
1510
|
+
PLAYER_CID: string;
|
|
1511
|
+
RARITY_CID: number;
|
|
1512
|
+
DURABILITY_CID: number;
|
|
1513
|
+
EQUIPPED_TO_SLOT_CID: number;
|
|
1514
|
+
EQUIPPED_TO_INDEX_CID: number;
|
|
1515
|
+
REPAIR_COUNT_CID?: number;
|
|
1516
|
+
createdAt: string;
|
|
1517
|
+
updatedAt: string;
|
|
1518
|
+
__v?: number;
|
|
1519
|
+
}
|
|
1520
|
+
interface ActiveDungeonInvaderStats {
|
|
1521
|
+
startingATK: number;
|
|
1522
|
+
startingDEF: number;
|
|
1523
|
+
currentATK: number;
|
|
1524
|
+
currentDEF: number;
|
|
1525
|
+
currentCharges: number;
|
|
1526
|
+
maxCharges: number;
|
|
1527
|
+
}
|
|
1528
|
+
interface ActiveDungeonInvaderHealth {
|
|
1529
|
+
current: number;
|
|
1530
|
+
starting: number;
|
|
1531
|
+
currentMax: number;
|
|
1532
|
+
startingMax: number;
|
|
1533
|
+
}
|
|
1534
|
+
interface ActiveDungeonInvaderData {
|
|
1535
|
+
rock: ActiveDungeonInvaderStats;
|
|
1536
|
+
paper: ActiveDungeonInvaderStats;
|
|
1537
|
+
scissor: ActiveDungeonInvaderStats;
|
|
1538
|
+
health: ActiveDungeonInvaderHealth;
|
|
1539
|
+
shield: ActiveDungeonInvaderHealth;
|
|
1540
|
+
faction: number;
|
|
1541
|
+
equipment: {
|
|
1542
|
+
headVanity: number;
|
|
1543
|
+
bodyVanity: number;
|
|
1544
|
+
};
|
|
1545
|
+
gearInstances: Array<{
|
|
1546
|
+
GAME_ITEM_ID_CID: number;
|
|
1547
|
+
RARITY_CID: number;
|
|
1548
|
+
DURABILITY_CID: number;
|
|
1549
|
+
EQUIPPED_TO_SLOT_CID: number;
|
|
1550
|
+
EQUIPPED_TO_INDEX_CID: number;
|
|
1551
|
+
}>;
|
|
1552
|
+
matchHistory: any[];
|
|
1553
|
+
}
|
|
1554
|
+
interface ActiveDungeonInvader {
|
|
1555
|
+
_id: string;
|
|
1556
|
+
docId: string;
|
|
1557
|
+
data: ActiveDungeonInvaderData;
|
|
1558
|
+
LEVEL_CID: number;
|
|
1559
|
+
ID_CID: string;
|
|
1560
|
+
PLAYER_CID: string;
|
|
1561
|
+
ROOM_NUM_CID: number;
|
|
1562
|
+
DUNGEON_ID_CID: number;
|
|
1563
|
+
FACTION_CID: number;
|
|
1564
|
+
NAME_CID: string;
|
|
1565
|
+
createdAt: string;
|
|
1566
|
+
}
|
|
1567
|
+
interface ActiveDungeonPlayerEquipment {
|
|
1568
|
+
_id: string;
|
|
1569
|
+
docId: string;
|
|
1570
|
+
EQUIPMENT_HEAD_CID: number;
|
|
1571
|
+
EQUIPMENT_BODY_CID: number;
|
|
1572
|
+
createdAt: string;
|
|
1573
|
+
updatedAt: string;
|
|
1574
|
+
}
|
|
1575
|
+
interface ActiveDungeonData {
|
|
1576
|
+
v: number;
|
|
1577
|
+
playerEquipment: ActiveDungeonPlayerEquipment;
|
|
1578
|
+
gearInstances: ActiveDungeonGearInstance[];
|
|
1579
|
+
invader: ActiveDungeonInvader | null;
|
|
1580
|
+
}
|
|
1581
|
+
interface DayCountEntity {
|
|
1582
|
+
_id: string;
|
|
1583
|
+
docId: string;
|
|
1584
|
+
UINT256_CID: number;
|
|
1585
|
+
ID_CID: string;
|
|
1586
|
+
TIMESTAMP_CID: number;
|
|
1587
|
+
PLAYER_CID: string;
|
|
1588
|
+
DOC_TYPE_CID: string;
|
|
1589
|
+
CONSUMABLES_CID?: any[];
|
|
1590
|
+
createdAt: string;
|
|
1591
|
+
updatedAt: string;
|
|
1592
|
+
}
|
|
1593
|
+
interface ActiveDungeonEntity {
|
|
1594
|
+
_id: string;
|
|
1595
|
+
docId: string;
|
|
1596
|
+
LEVEL_CID: number;
|
|
1597
|
+
PLAYER_CID: string;
|
|
1598
|
+
NOOB_TOKEN_CID: number;
|
|
1599
|
+
DUNGEON_ID_CID: number;
|
|
1600
|
+
FACTION_CID: number;
|
|
1601
|
+
COMPLETE_CID: boolean;
|
|
1602
|
+
ROOM_NUM_CID: number;
|
|
1603
|
+
ENEMY_CID: number;
|
|
1604
|
+
GEAR_CID_array: string[];
|
|
1605
|
+
TIER_CID: number;
|
|
1606
|
+
IS_JUICED_CID: boolean;
|
|
1607
|
+
MULTIPLIER_CID: number;
|
|
1608
|
+
WEEK_CID: number;
|
|
1609
|
+
DAY_CID: number;
|
|
1610
|
+
DAY_OF_WEEK_CID: number;
|
|
1611
|
+
GAME_ITEM_ID_CID_array: number[];
|
|
1612
|
+
ID_CID: string;
|
|
1613
|
+
UINT256_CID?: number;
|
|
1614
|
+
TIMESTAMP_CID?: number;
|
|
1615
|
+
DOC_TYPE_CID?: string;
|
|
1616
|
+
CONSUMABLES_CID?: any[];
|
|
1617
|
+
data?: ActiveDungeonData;
|
|
1618
|
+
createdAt: string;
|
|
1619
|
+
updatedAt: string;
|
|
1620
|
+
}
|
|
1621
|
+
type ActiveDungeonResponseEntity = DayCountEntity | ActiveDungeonEntity;
|
|
1622
|
+
interface ActiveDungeonResponse {
|
|
1623
|
+
entities: ActiveDungeonResponseEntity[];
|
|
1624
|
+
}
|
|
1625
|
+
interface HexPosition {
|
|
1626
|
+
q: number;
|
|
1627
|
+
r: number;
|
|
1628
|
+
}
|
|
1629
|
+
interface ConquestTile {
|
|
1630
|
+
isFort: boolean;
|
|
1631
|
+
pos: HexPosition;
|
|
1632
|
+
factionId: number;
|
|
1633
|
+
factionScores: number[];
|
|
1634
|
+
}
|
|
1635
|
+
interface ConquestLastState {
|
|
1636
|
+
didNotExist: boolean;
|
|
1637
|
+
tick: number;
|
|
1638
|
+
gameTick: number;
|
|
1639
|
+
timestamp: number;
|
|
1640
|
+
tiles: ConquestTile[];
|
|
1641
|
+
factionControlCounts: number[];
|
|
1642
|
+
}
|
|
1643
|
+
interface ConquestConfigCell {
|
|
1644
|
+
q: number;
|
|
1645
|
+
r: number;
|
|
1646
|
+
isFort: boolean;
|
|
1647
|
+
pts: number;
|
|
1648
|
+
}
|
|
1649
|
+
interface ConquestConfig {
|
|
1650
|
+
id: number;
|
|
1651
|
+
startingTick: number;
|
|
1652
|
+
startUnixTime: number;
|
|
1653
|
+
endUnixTime: number;
|
|
1654
|
+
intervalSeconds: number;
|
|
1655
|
+
isActive: boolean;
|
|
1656
|
+
heroMode: boolean;
|
|
1657
|
+
defaultPoints: number;
|
|
1658
|
+
cells: ConquestConfigCell[];
|
|
1659
|
+
}
|
|
1660
|
+
interface ConquestConfigWrapper {
|
|
1661
|
+
config: ConquestConfig;
|
|
1662
|
+
}
|
|
1663
|
+
interface ConquestResponse {
|
|
1664
|
+
conquestId: number;
|
|
1665
|
+
heroMode: boolean;
|
|
1666
|
+
lastTickProcessed: number;
|
|
1667
|
+
pendingProcessing: boolean;
|
|
1668
|
+
lastTick: number;
|
|
1669
|
+
nextTick: number;
|
|
1670
|
+
startUnixTime: number;
|
|
1671
|
+
endUnixTime: number;
|
|
1672
|
+
gameHasEnded: boolean;
|
|
1673
|
+
gameHasStarted: boolean;
|
|
1674
|
+
tickIntervalSeconds: number;
|
|
1675
|
+
totalTurns: number;
|
|
1676
|
+
secondsUntilNextTick: number;
|
|
1677
|
+
nextTickUnixTimestamp: number;
|
|
1678
|
+
minsTillNextTick: number;
|
|
1679
|
+
movesReadyForProcessing?: number;
|
|
1680
|
+
pendingMoveCountForTick?: number;
|
|
1681
|
+
lastState: ConquestLastState;
|
|
1682
|
+
conquest: ConquestConfigWrapper;
|
|
1683
|
+
factionItems: number[];
|
|
1684
|
+
isActive: boolean;
|
|
1685
|
+
}
|
|
1686
|
+
interface ConquestTileChange {
|
|
1687
|
+
q: number;
|
|
1688
|
+
r: number;
|
|
1689
|
+
previousFaction: number;
|
|
1690
|
+
newFaction: number;
|
|
1691
|
+
factionScoreChanges: number[];
|
|
1692
|
+
factionScoreChangesPositive: number[];
|
|
1693
|
+
factionScoreChangesNegative: number[];
|
|
1694
|
+
}
|
|
1695
|
+
interface ConquestDelta {
|
|
1696
|
+
factionControlChanges: number[];
|
|
1697
|
+
tileChanges: ConquestTileChange[];
|
|
1698
|
+
}
|
|
1699
|
+
interface ConquestSnapshotEntity {
|
|
1700
|
+
didNotExist: boolean;
|
|
1701
|
+
tick: number;
|
|
1702
|
+
gameTick: number;
|
|
1703
|
+
timestamp: number;
|
|
1704
|
+
tiles: ConquestTile[];
|
|
1705
|
+
factionControlCounts: number[];
|
|
1706
|
+
delta?: ConquestDelta;
|
|
1707
|
+
}
|
|
1708
|
+
interface ConquestSnapshotResponse {
|
|
1709
|
+
success: boolean;
|
|
1710
|
+
entities: ConquestSnapshotEntity[];
|
|
1711
|
+
}
|
|
1712
|
+
interface ConquestActivityData {
|
|
1713
|
+
q: number;
|
|
1714
|
+
r: number;
|
|
1715
|
+
action: string;
|
|
1716
|
+
id: number;
|
|
1717
|
+
amount: number;
|
|
1718
|
+
isOwnFaction: boolean;
|
|
1719
|
+
}
|
|
1720
|
+
interface ConquestActivityEntity {
|
|
1721
|
+
_id: string;
|
|
1722
|
+
docId: string;
|
|
1723
|
+
data: ConquestActivityData;
|
|
1724
|
+
ID_CID: string;
|
|
1725
|
+
TIMESTAMP_CID: number;
|
|
1726
|
+
PLAYER_CID: string;
|
|
1727
|
+
FACTION_CID: number;
|
|
1728
|
+
COMPLETE_CID: boolean;
|
|
1729
|
+
HOUR_CID: number;
|
|
1730
|
+
createdAt: string;
|
|
1731
|
+
updatedAt: string;
|
|
1732
|
+
__v: number;
|
|
1733
|
+
}
|
|
1734
|
+
interface ConquestActivityPagination {
|
|
1735
|
+
page: number;
|
|
1736
|
+
pageSize: number;
|
|
1737
|
+
total: number;
|
|
1738
|
+
totalPages: number;
|
|
1739
|
+
}
|
|
1740
|
+
interface ConquestActivityResponse {
|
|
1741
|
+
success: boolean;
|
|
1742
|
+
entities: ConquestActivityEntity[];
|
|
1743
|
+
pagination: ConquestActivityPagination;
|
|
1744
|
+
}
|
|
1745
|
+
type ConquestActionType = "attack";
|
|
1746
|
+
interface ConquestActionResponse {
|
|
1747
|
+
success: boolean;
|
|
1748
|
+
message?: string;
|
|
1749
|
+
}
|
|
1750
|
+
interface FeedPetResponse {
|
|
1751
|
+
success: boolean;
|
|
1752
|
+
gameItemBalanceChanges: Array<{
|
|
1753
|
+
id: number;
|
|
1754
|
+
amount: number;
|
|
1755
|
+
}>;
|
|
1756
|
+
triggeredEffects: PetFactoryEffect[];
|
|
1757
|
+
}
|
|
1758
|
+
interface CrownsStanding {
|
|
1759
|
+
factionId: number;
|
|
1760
|
+
factionName: string;
|
|
1761
|
+
factionPoints: number;
|
|
1762
|
+
totalScore: number;
|
|
1763
|
+
totalPumpStubs: number;
|
|
1764
|
+
totalDumpStubs: number;
|
|
1765
|
+
rank: number;
|
|
1766
|
+
participantCount: number;
|
|
1767
|
+
}
|
|
1768
|
+
interface CrownsParticipationPlayer {
|
|
1769
|
+
playerAddress: string;
|
|
1770
|
+
factionId: number;
|
|
1771
|
+
totalMoves: number;
|
|
1772
|
+
ticksParticipated: number;
|
|
1773
|
+
totalPumpStubs: number;
|
|
1774
|
+
totalDumpStubs: number;
|
|
1775
|
+
}
|
|
1776
|
+
interface CrownsParticipation {
|
|
1777
|
+
factionId: number;
|
|
1778
|
+
factionName: string;
|
|
1779
|
+
players: CrownsParticipationPlayer[];
|
|
1780
|
+
totalPumpStubs: number;
|
|
1781
|
+
totalDumpStubs: number;
|
|
1782
|
+
}
|
|
1783
|
+
interface CrownsPlayerCrown {
|
|
1784
|
+
playerAddress: string;
|
|
1785
|
+
finalFactionId: number;
|
|
1786
|
+
finalFactionName: string;
|
|
1787
|
+
factionRank: number;
|
|
1788
|
+
factionMultiplier: number;
|
|
1789
|
+
totalPumpStubs: number;
|
|
1790
|
+
totalDumpStubs: number;
|
|
1791
|
+
weightedContribution: number;
|
|
1792
|
+
contributionPct: number;
|
|
1793
|
+
crowns: number;
|
|
1794
|
+
username: string;
|
|
1795
|
+
}
|
|
1796
|
+
interface ConquestCrownsResponse {
|
|
1797
|
+
success: boolean;
|
|
1798
|
+
conquestId: number;
|
|
1799
|
+
tick: number;
|
|
1800
|
+
isComplete: boolean;
|
|
1801
|
+
configVersion: string;
|
|
1802
|
+
standings: CrownsStanding[];
|
|
1803
|
+
participation: CrownsParticipation[];
|
|
1804
|
+
playerCrowns: CrownsPlayerCrown[];
|
|
1805
|
+
}
|
|
1806
|
+
interface EventPoolConfig {
|
|
1807
|
+
poolId: string;
|
|
1808
|
+
balance: number;
|
|
1809
|
+
payoutPercentages?: number[];
|
|
1810
|
+
description: string;
|
|
1811
|
+
}
|
|
1812
|
+
interface PrizePotData {
|
|
1813
|
+
gigabitInPot: number;
|
|
1814
|
+
candlesInCirculation: number;
|
|
1815
|
+
conversionPer100Candles: number;
|
|
1816
|
+
gigabitPerCandle: number;
|
|
1817
|
+
}
|
|
1818
|
+
interface EventPoolsConfig {
|
|
1819
|
+
gigapotPoolPercentage: number;
|
|
1820
|
+
boxesPoolPercentage: number;
|
|
1821
|
+
gigapotPayoutPercentages: number[];
|
|
1822
|
+
gigapotPayoutNames: string[];
|
|
1823
|
+
gigapotPayoutRarities: number[];
|
|
1824
|
+
gigapotPayoutWeights: number[];
|
|
1825
|
+
gigapotChanceByTier: number[];
|
|
1826
|
+
}
|
|
1827
|
+
interface EventPoolsResponse {
|
|
1828
|
+
success: boolean;
|
|
1829
|
+
pools: {
|
|
1830
|
+
[key: string]: EventPoolConfig;
|
|
1831
|
+
};
|
|
1832
|
+
prizePot: PrizePotData;
|
|
1833
|
+
config: EventPoolsConfig;
|
|
1834
|
+
}
|
|
1835
|
+
interface LeaderboardEntry {
|
|
1836
|
+
rank: number;
|
|
1837
|
+
wallet: string;
|
|
1838
|
+
username: string;
|
|
1839
|
+
amount: number;
|
|
1840
|
+
}
|
|
1841
|
+
interface LeaderboardRankLootConfig {
|
|
1842
|
+
minRank: number;
|
|
1843
|
+
maxRank: number;
|
|
1844
|
+
lootIds: number[];
|
|
1845
|
+
lootAmounts: number[];
|
|
1846
|
+
lootFulfiller: string[];
|
|
1847
|
+
}
|
|
1848
|
+
interface LeaderboardConfig {
|
|
1849
|
+
name: string;
|
|
1850
|
+
leaderboardId: number;
|
|
1851
|
+
leaderboardType: number;
|
|
1852
|
+
itemId: number;
|
|
1853
|
+
isWeekly: boolean;
|
|
1854
|
+
isLocked: boolean;
|
|
1855
|
+
claimingIsLocked: boolean;
|
|
1856
|
+
startDay: number;
|
|
1857
|
+
endDay: number;
|
|
1858
|
+
startWeek: number;
|
|
1859
|
+
hasFactionVersion: boolean;
|
|
1860
|
+
factionStartWeek: number;
|
|
1861
|
+
rankLootConfigs: LeaderboardRankLootConfig[];
|
|
1862
|
+
factionLootConfigs: LeaderboardRankLootConfig[];
|
|
1863
|
+
}
|
|
1864
|
+
interface LeaderboardPagination {
|
|
1865
|
+
page: number;
|
|
1866
|
+
limit: number;
|
|
1867
|
+
total: number;
|
|
1868
|
+
totalPages: number;
|
|
1869
|
+
hasNext: boolean;
|
|
1870
|
+
hasPrev: boolean;
|
|
1871
|
+
}
|
|
1872
|
+
interface LeaderboardUserPosition {
|
|
1873
|
+
rank: number;
|
|
1874
|
+
playerAddress: string;
|
|
1875
|
+
balance: number;
|
|
1876
|
+
}
|
|
1877
|
+
interface LeaderboardResponse {
|
|
1878
|
+
week: number;
|
|
1879
|
+
leaderboard: LeaderboardEntry[];
|
|
1880
|
+
config: LeaderboardConfig;
|
|
1881
|
+
secondsTillEnd: number;
|
|
1882
|
+
pagination: LeaderboardPagination;
|
|
1883
|
+
userPosition?: LeaderboardUserPosition;
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
/** Logger interface that works with both pino Logger and console fallback */
|
|
1887
|
+
interface ApiLogger {
|
|
1888
|
+
trace(message: string, metadata?: LogMetadata): void;
|
|
1889
|
+
debug(message: string, metadata?: LogMetadata): void;
|
|
1890
|
+
info(message: string, metadata?: LogMetadata): void;
|
|
1891
|
+
warn(message: string, metadata?: LogMetadata): void;
|
|
1892
|
+
error(message: string, metadata?: LogMetadata): void;
|
|
1893
|
+
fatal(message: string, metadata?: LogMetadata): void;
|
|
1894
|
+
child(context: LogMetadata): ApiLogger;
|
|
1895
|
+
}
|
|
1896
|
+
/**
|
|
1897
|
+
* Implementation of the ApiClient interface for Gigaverse game
|
|
1898
|
+
*/
|
|
1899
|
+
declare class GigaverseApi {
|
|
1900
|
+
private axiosInstance;
|
|
1901
|
+
defaultWalletAddress?: string;
|
|
1902
|
+
private defaultJwt?;
|
|
1903
|
+
private logger;
|
|
1904
|
+
constructor(defaultWalletAddress?: string, defaultJwt?: string, logger?: ApiLogger);
|
|
1905
|
+
/**
|
|
1906
|
+
* Set JWT token for authenticated requests
|
|
1907
|
+
*/
|
|
1908
|
+
setJwt(jwt: string): void;
|
|
1909
|
+
/**
|
|
1910
|
+
* Set default wallet address
|
|
1911
|
+
*/
|
|
1912
|
+
setWalletAddress(address: string): void;
|
|
1913
|
+
/**
|
|
1914
|
+
* Get headers with JWT if available
|
|
1915
|
+
*/
|
|
1916
|
+
private getHeaders;
|
|
1917
|
+
/**
|
|
1918
|
+
* Extract a readable error message from API response data
|
|
1919
|
+
*/
|
|
1920
|
+
private extractErrorMessage;
|
|
1921
|
+
/**
|
|
1922
|
+
* Get list of enemies
|
|
1923
|
+
*/
|
|
1924
|
+
getEnemies(): Promise<any>;
|
|
1925
|
+
/**
|
|
1926
|
+
* Get game items
|
|
1927
|
+
*/
|
|
1928
|
+
getGameItems(): Promise<any>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Get player energy
|
|
1931
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1932
|
+
* @returns Current energy value as a number, considering regeneration rate
|
|
1933
|
+
*/
|
|
1934
|
+
getNoobEnergy(address?: string): Promise<EnergyResponse>;
|
|
1935
|
+
/**
|
|
1936
|
+
* Get noob ROMs
|
|
1937
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1938
|
+
*/
|
|
1939
|
+
getNoobRoms(address?: string): Promise<RomsResponse>;
|
|
1940
|
+
/**
|
|
1941
|
+
* Get juiced data
|
|
1942
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1943
|
+
*/
|
|
1944
|
+
getJuicedData(address?: string): Promise<JuicedDataResponse>;
|
|
1945
|
+
/**
|
|
1946
|
+
* Get noob inventory
|
|
1947
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1948
|
+
*/
|
|
1949
|
+
getGameInventory(address?: string): Promise<GameInventoryResponse>;
|
|
1950
|
+
/**
|
|
1951
|
+
* Get inventory
|
|
1952
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
1953
|
+
*/
|
|
1954
|
+
getGameInventory2(jwt?: string): Promise<GameInventory2Response>;
|
|
1955
|
+
/**
|
|
1956
|
+
* Get noob inventory
|
|
1957
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1958
|
+
*/
|
|
1959
|
+
getOnchainInventory(address?: string): Promise<OnchainInventoryResponse>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Get wallet game items
|
|
1962
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1963
|
+
*/
|
|
1964
|
+
getWalletGameItems(address?: string): Promise<any>;
|
|
1965
|
+
/**
|
|
1966
|
+
* Get wallet address
|
|
1967
|
+
*/
|
|
1968
|
+
getWalletAddress(): string | undefined;
|
|
1969
|
+
/**
|
|
1970
|
+
* Get player data (faction, username, energy)
|
|
1971
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1972
|
+
*/
|
|
1973
|
+
getNoobData(address?: string): Promise<[AccountResponse, FactionResponse, NoobSkillsResponse, NoobGearResponse]>;
|
|
1974
|
+
getNoobState(address?: string, jwt?: string): Promise<[AvailableDungeonsResponse, EnergyResponse, JuicedDataResponse]>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Get noob faction
|
|
1977
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1978
|
+
*/
|
|
1979
|
+
getFaction(address?: string): Promise<FactionResponse>;
|
|
1980
|
+
/**
|
|
1981
|
+
* Get noob username
|
|
1982
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
1983
|
+
*/
|
|
1984
|
+
getNoobUsername(address?: string): Promise<UsernameResponse>;
|
|
1985
|
+
/**
|
|
1986
|
+
* Get skills
|
|
1987
|
+
*/
|
|
1988
|
+
getSkills(): Promise<SkillsResponse>;
|
|
1989
|
+
/**
|
|
1990
|
+
* Get account
|
|
1991
|
+
*/
|
|
1992
|
+
getAccount(address?: string): Promise<AccountResponse>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Get noob skills progress
|
|
1995
|
+
* @param noobTokenId The token ID of the noob character
|
|
1996
|
+
*/
|
|
1997
|
+
getSkillsProgress(noobTokenId: number): Promise<SkillProgressResponse>;
|
|
1998
|
+
/**
|
|
1999
|
+
* Get combined skills and progress data for a noob
|
|
2000
|
+
* @param noobTokenId The token ID of the noob character
|
|
2001
|
+
* @returns Combined information about available skills and the noob's progress
|
|
2002
|
+
*/
|
|
2003
|
+
getNoobSkills(noobTokenId: number): Promise<NoobSkillsResponse>;
|
|
2004
|
+
getNoobGear(address?: string): Promise<NoobGearResponse>;
|
|
2005
|
+
/**
|
|
2006
|
+
* Get available dungeons for today (requires JWT)
|
|
2007
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2008
|
+
* @returns Information about available dungeons including energy cost and rewards
|
|
2009
|
+
*/
|
|
2010
|
+
getAvailableDungeons(jwt?: string): Promise<AvailableDungeonsResponse>;
|
|
2011
|
+
/**
|
|
2012
|
+
* Get active dungeon
|
|
2013
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
2014
|
+
*/
|
|
2015
|
+
getActiveDungeon(address?: string): Promise<ActiveDungeonResponse>;
|
|
2016
|
+
/**
|
|
2017
|
+
* Get dungeon state (requires JWT)
|
|
2018
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2019
|
+
*/
|
|
2020
|
+
getDungeonState(jwt?: string): Promise<DungeonActionResponse>;
|
|
2021
|
+
/**
|
|
2022
|
+
* Get fishing state (requires JWT)
|
|
2023
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
2024
|
+
*/
|
|
2025
|
+
getFishingState(address?: string): Promise<FishingStateResponse>;
|
|
2026
|
+
/**
|
|
2027
|
+
* Sell fish from inventory
|
|
2028
|
+
* @param fishId The ID of the fish item to sell
|
|
2029
|
+
* @param amount The amount of fish to sell
|
|
2030
|
+
* @param expectedValue The total expected value for this batch (not per fish)
|
|
2031
|
+
* @param jwt Optional JWT token override
|
|
2032
|
+
* @returns Sell fish response with transaction details
|
|
2033
|
+
*/
|
|
2034
|
+
sellFish(fishId: number, amount: number, expectedValue: number, jwt?: string): Promise<SellFishResponse>;
|
|
2035
|
+
/**
|
|
2036
|
+
* Cook fish into a recipe output
|
|
2037
|
+
* @param fishId The ID of the fish to cook
|
|
2038
|
+
* @param amount The amount of fish to cook
|
|
2039
|
+
* @param expectedOutputId The expected output item ID
|
|
2040
|
+
* @param expectedOutputAmount The expected output amount
|
|
2041
|
+
* @param jwt Optional JWT token override
|
|
2042
|
+
* @returns Cook fish response with output details
|
|
2043
|
+
*/
|
|
2044
|
+
cookFish(fishId: number, amount: number, expectedOutputId: number, expectedOutputAmount: number, jwt?: string): Promise<CookFishResponse>;
|
|
2045
|
+
/**
|
|
2046
|
+
* Feed a pet to reduce its hunger
|
|
2047
|
+
* @param petId The ID of the pet to feed
|
|
2048
|
+
* @param factionId The faction ID (default 0)
|
|
2049
|
+
* @param items Array of items to use for feeding (ID_CID and BALANCE_CID required)
|
|
2050
|
+
* @param jwt Optional JWT token override
|
|
2051
|
+
* @returns Feed pet response with balance changes and triggered effects
|
|
2052
|
+
*/
|
|
2053
|
+
feedPet(petId: string, factionId?: number, items?: Array<{
|
|
2054
|
+
ID_CID: string;
|
|
2055
|
+
BALANCE_CID: number;
|
|
2056
|
+
}>, jwt?: string): Promise<FeedPetResponse>;
|
|
2057
|
+
/**
|
|
2058
|
+
* Check if the noob has an active dungeon
|
|
2059
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
2060
|
+
*/
|
|
2061
|
+
hasActiveDungeon(address?: string): Promise<boolean>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Sends a move to the game API and returns the raw response
|
|
2064
|
+
* @param action The action to send to the game API
|
|
2065
|
+
* @param dungeonType The type of dungeon to send the action to
|
|
2066
|
+
* @param actionToken The action token from the previous response (enables fast sequential calls)
|
|
2067
|
+
* @param data Optional data for the action
|
|
2068
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2069
|
+
* @returns The raw API response
|
|
2070
|
+
*/
|
|
2071
|
+
sendAction({ action, dungeonType, actionToken, data, jwt, }: {
|
|
2072
|
+
action: Action;
|
|
2073
|
+
dungeonType?: DungeonType;
|
|
2074
|
+
actionToken?: number | string;
|
|
2075
|
+
data?: {
|
|
2076
|
+
consumables?: number[];
|
|
2077
|
+
itemId?: number;
|
|
2078
|
+
index?: number;
|
|
2079
|
+
isJuiced?: boolean;
|
|
2080
|
+
gearInstanceIds?: number[];
|
|
2081
|
+
expectedAmount?: number;
|
|
2082
|
+
};
|
|
2083
|
+
jwt?: string;
|
|
2084
|
+
}): Promise<DungeonActionResponse>;
|
|
2085
|
+
sendFishingAction({ action, type, cards, actionToken, jwt, }: {
|
|
2086
|
+
action: FishingAction;
|
|
2087
|
+
type?: FishingType;
|
|
2088
|
+
cards?: number[];
|
|
2089
|
+
actionToken?: number | string;
|
|
2090
|
+
jwt?: string;
|
|
2091
|
+
}): Promise<FishingActionResponse>;
|
|
2092
|
+
/**
|
|
2093
|
+
* Start a recipe
|
|
2094
|
+
* @param params Recipe parameters including optional gear instance and node index
|
|
2095
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2096
|
+
* @returns The raw API response
|
|
2097
|
+
*/
|
|
2098
|
+
startRecipe(params: {
|
|
2099
|
+
recipeId: string;
|
|
2100
|
+
noobId: number;
|
|
2101
|
+
gearInstanceId?: string;
|
|
2102
|
+
nodeIndex?: number;
|
|
2103
|
+
quantity?: number;
|
|
2104
|
+
}, jwt?: string): Promise<StartRecipeResponse>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Claim a resource from a ROM
|
|
2107
|
+
* @param romId The ID of the ROM
|
|
2108
|
+
* @param resourceId The ID of the resource to claim
|
|
2109
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2110
|
+
* @returns The raw API response
|
|
2111
|
+
*/
|
|
2112
|
+
claimResource({ romId, resourceId, jwt, }: {
|
|
2113
|
+
romId: string;
|
|
2114
|
+
resourceId: ResourceType;
|
|
2115
|
+
jwt?: string;
|
|
2116
|
+
}): Promise<{
|
|
2117
|
+
success: boolean;
|
|
2118
|
+
}>;
|
|
2119
|
+
repairGear(gearInstanceId: string, jwt?: string): Promise<RepairResponse>;
|
|
2120
|
+
restoreGear(gearInstanceId: string, jwt?: string): Promise<RepairResponse>;
|
|
2121
|
+
equipGear(gearInstanceId: string, slotType: number, slotIndex: number, jwt?: string): Promise<any>;
|
|
2122
|
+
getStaticData(): Promise<StaticDataResponse>;
|
|
2123
|
+
getFishingCards(): Promise<FishingCardsResponse[]>;
|
|
2124
|
+
getStaticGearData(): Promise<any[]>;
|
|
2125
|
+
/**
|
|
2126
|
+
* Get vanity equipment for a specific noob token
|
|
2127
|
+
*/
|
|
2128
|
+
getVanityEquipment(noobTokenId: number, jwt?: string): Promise<VanityEquipmentResponse>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Get floor items prices
|
|
2131
|
+
*/
|
|
2132
|
+
getItemsPrices(): Promise<ItemsPricesResponse>;
|
|
2133
|
+
/**
|
|
2134
|
+
* Get player item listings for a specific address
|
|
2135
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
2136
|
+
* @returns PlayerListingsResponse with entities array containing listings
|
|
2137
|
+
*
|
|
2138
|
+
* The response contains:
|
|
2139
|
+
* - EXPORT_AMOUNT_CID: Total amount originally listed
|
|
2140
|
+
* - UINT256_CID: Amount remaining/available
|
|
2141
|
+
* - GAME_ITEM_ID_CID: Item ID
|
|
2142
|
+
* - ETH_MINT_PRICE_CID: Price in wei
|
|
2143
|
+
*/
|
|
2144
|
+
getPlayerListings(address?: string): Promise<PlayerListingsResponse>;
|
|
2145
|
+
getPlayerBalanceAndEthPrice(address?: string): Promise<{
|
|
2146
|
+
ethBalance: number;
|
|
2147
|
+
ethPriceUsd: number;
|
|
2148
|
+
}>;
|
|
2149
|
+
/**
|
|
2150
|
+
* Get all listings for a specific item ID
|
|
2151
|
+
* @param itemId The ID of the item to get listings for
|
|
2152
|
+
* @returns PlayerListingsResponse with entities array containing all listings for the item
|
|
2153
|
+
*
|
|
2154
|
+
* The response contains:
|
|
2155
|
+
* - EXPORT_AMOUNT_CID: Total amount originally listed
|
|
2156
|
+
* - UINT256_CID: Amount remaining/available
|
|
2157
|
+
* - GAME_ITEM_ID_CID: Item ID
|
|
2158
|
+
* - ETH_MINT_PRICE_CID: Price in wei
|
|
2159
|
+
* - OWNER_CID: Seller address
|
|
2160
|
+
*/
|
|
2161
|
+
getItemListings(itemId: number): Promise<PlayerListingsResponse>;
|
|
2162
|
+
/**
|
|
2163
|
+
* Get player recipes (pot breaking recipes)
|
|
2164
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
2165
|
+
* @returns PlayerRecipesResponse with entities array containing recipe progress
|
|
2166
|
+
*/
|
|
2167
|
+
getPlayerRecipes(address?: string): Promise<PlayerRecipesResponse>;
|
|
2168
|
+
/**
|
|
2169
|
+
* Get player pets/eggs (for egg hatching)
|
|
2170
|
+
* @param address Optional wallet address (uses default if not provided)
|
|
2171
|
+
* @returns PlayerPetsResponse with list of pet IDs and full entity data
|
|
2172
|
+
*/
|
|
2173
|
+
getPlayerPets(address?: string): Promise<PlayerPetsResponse>;
|
|
2174
|
+
/**
|
|
2175
|
+
* Add fuel (temperature) to an egg in the hatchery
|
|
2176
|
+
* @param petId The pet/egg ID
|
|
2177
|
+
* @param amount Amount of fuel to add (will be converted to items)
|
|
2178
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2179
|
+
* @returns Updated pet entity
|
|
2180
|
+
*/
|
|
2181
|
+
addEggFuel(petId: string, amount: number, jwt?: string): Promise<AddFuelResponse>;
|
|
2182
|
+
/**
|
|
2183
|
+
* Add comfort to an egg in the hatchery
|
|
2184
|
+
* @param petId The pet/egg ID
|
|
2185
|
+
* @param amount Amount of comfort to add
|
|
2186
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2187
|
+
* @returns Updated pet entity
|
|
2188
|
+
*/
|
|
2189
|
+
addEggComfort(petId: string, amount: number, jwt?: string): Promise<AddComfortResponse>;
|
|
2190
|
+
/**
|
|
2191
|
+
* Influence fate for an egg in the hatchery
|
|
2192
|
+
* @param petId The pet/egg ID
|
|
2193
|
+
* @param factionId The faction ID to influence towards (null for no faction/GIGUS)
|
|
2194
|
+
* @param amount Amount of faction dust to use (default: 5)
|
|
2195
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2196
|
+
* @returns Updated pet entity
|
|
2197
|
+
*/
|
|
2198
|
+
influenceEggFate(petId: string, factionId: number | null, amount?: number, jwt?: string): Promise<InfluenceFateResponse>;
|
|
2199
|
+
/**
|
|
2200
|
+
* Add egg to hatchery to start hatching process
|
|
2201
|
+
* @param petId The pet/egg ID
|
|
2202
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2203
|
+
* @returns Updated pet entity
|
|
2204
|
+
*/
|
|
2205
|
+
startEggHatching(petId: string, items?: Array<{
|
|
2206
|
+
ID_CID: number;
|
|
2207
|
+
BALANCE_CID: number;
|
|
2208
|
+
}>, factionId?: number, jwt?: string): Promise<StartHatchingResponse>;
|
|
2209
|
+
/**
|
|
2210
|
+
* Get the current conquest game state and configuration
|
|
2211
|
+
*/
|
|
2212
|
+
getLastConquest(): Promise<ConquestResponse>;
|
|
2213
|
+
getConquestSnapshot(ticks: number[]): Promise<ConquestSnapshotResponse>;
|
|
2214
|
+
getConquestActivity(page?: number, pageSize?: number, player?: string, jwt?: string): Promise<ConquestActivityResponse>;
|
|
2215
|
+
/**
|
|
2216
|
+
* Send a conquest action
|
|
2217
|
+
* @param action The action type ("attack")
|
|
2218
|
+
* @param q The q coordinate of the tile
|
|
2219
|
+
* @param r The r coordinate of the tile
|
|
2220
|
+
* @param stubsId The faction stubs item ID (e.g., 553=Crusader, 555=Athena)
|
|
2221
|
+
* @param amount The amount of stubs to use
|
|
2222
|
+
* @param jwt Optional JWT token (uses default if not provided)
|
|
2223
|
+
*/
|
|
2224
|
+
sendConquestAction({ action, q, r, stubsId, amount, jwt, }: {
|
|
2225
|
+
action: ConquestActionType;
|
|
2226
|
+
q: number;
|
|
2227
|
+
r: number;
|
|
2228
|
+
stubsId: number;
|
|
2229
|
+
amount: number;
|
|
2230
|
+
jwt?: string;
|
|
2231
|
+
}): Promise<ConquestActionResponse>;
|
|
2232
|
+
/**
|
|
2233
|
+
* Get conquest crowns leaderboard data including standings, participation, and player crowns
|
|
2234
|
+
*/
|
|
2235
|
+
getConquestCrowns(): Promise<ConquestCrownsResponse>;
|
|
2236
|
+
/**
|
|
2237
|
+
* Get public item pools data including gigapot and prize pot information for events
|
|
2238
|
+
* @returns Item pools configuration and current balances
|
|
2239
|
+
*/
|
|
2240
|
+
getEventPools(): Promise<EventPoolsResponse>;
|
|
2241
|
+
/**
|
|
2242
|
+
* Get leaderboard data for a specific leaderboard ID
|
|
2243
|
+
* @param leaderboardId The ID of the leaderboard to fetch
|
|
2244
|
+
* @param options Optional parameters for filtering the leaderboard
|
|
2245
|
+
* @param options.week The week number to filter by (for weekly leaderboards)
|
|
2246
|
+
* @param options.page The page number for pagination (default: 1)
|
|
2247
|
+
* @param options.wallet Optional wallet address to include user position in response
|
|
2248
|
+
* @returns Leaderboard data including entries, config, and pagination
|
|
2249
|
+
*/
|
|
2250
|
+
getLeaderboard(leaderboardId: number, options?: {
|
|
2251
|
+
week?: number;
|
|
2252
|
+
page?: number;
|
|
2253
|
+
wallet?: string;
|
|
2254
|
+
}): Promise<LeaderboardResponse>;
|
|
2255
|
+
}
|
|
2256
|
+
/**
|
|
2257
|
+
* Configuration options for retry decorator
|
|
2258
|
+
*/
|
|
2259
|
+
interface GigaverseRetryOptions {
|
|
2260
|
+
/**
|
|
2261
|
+
* Custom retry options to override defaults
|
|
2262
|
+
*/
|
|
2263
|
+
retryOptions?: Partial<IBackOffOptions>;
|
|
2264
|
+
/**
|
|
2265
|
+
* Custom logger function for retry events
|
|
2266
|
+
*/
|
|
2267
|
+
onRetry?: (attemptNumber: number, error: Error) => void;
|
|
2268
|
+
}
|
|
2269
|
+
/**
|
|
2270
|
+
* Options for creating a Gigaverse API client
|
|
2271
|
+
*/
|
|
2272
|
+
interface GigaverseApiOptions {
|
|
2273
|
+
/**
|
|
2274
|
+
* Default wallet address
|
|
2275
|
+
*/
|
|
2276
|
+
defaultWalletAddress?: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* Default JWT token for authentication
|
|
2279
|
+
*/
|
|
2280
|
+
defaultJwt?: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* Enable automatic retry with exponential backoff
|
|
2283
|
+
* - `true` - enable with default settings
|
|
2284
|
+
* - `GigaverseRetryOptions` - enable with custom settings
|
|
2285
|
+
* @default false
|
|
2286
|
+
*/
|
|
2287
|
+
retriable?: boolean | GigaverseRetryOptions;
|
|
2288
|
+
/**
|
|
2289
|
+
* Optional logger instance for structured logging
|
|
2290
|
+
*/
|
|
2291
|
+
logger?: ApiLogger;
|
|
2292
|
+
}
|
|
2293
|
+
/**
|
|
2294
|
+
* Creates a configured GigaverseApi with optional automatic retry.
|
|
2295
|
+
*
|
|
2296
|
+
* @param options - API configuration options
|
|
2297
|
+
* @returns Configured GigaverseApi instance
|
|
2298
|
+
*
|
|
2299
|
+
* @example
|
|
2300
|
+
* ```ts
|
|
2301
|
+
* // Basic usage
|
|
2302
|
+
* const api = createGigaverseApi({ defaultWalletAddress: '0x...' });
|
|
2303
|
+
*
|
|
2304
|
+
* // With automatic retry on 5xx errors
|
|
2305
|
+
* const api = createGigaverseApi({ retriable: true });
|
|
2306
|
+
*
|
|
2307
|
+
* // With custom retry options
|
|
2308
|
+
* const api = createGigaverseApi({
|
|
2309
|
+
* retriable: {
|
|
2310
|
+
* retryOptions: { numOfAttempts: 3 },
|
|
2311
|
+
* onRetry: (attempt, error) => console.log(`Retry ${attempt}:`, error.message),
|
|
2312
|
+
* },
|
|
2313
|
+
* });
|
|
2314
|
+
* ```
|
|
2315
|
+
*/
|
|
2316
|
+
declare function createGigaverseApi(options?: GigaverseApiOptions): GigaverseApi;
|
|
2317
|
+
|
|
2318
|
+
type index_AccountResponse = AccountResponse;
|
|
2319
|
+
type index_ActiveDungeonData = ActiveDungeonData;
|
|
2320
|
+
type index_ActiveDungeonEntity = ActiveDungeonEntity;
|
|
2321
|
+
type index_ActiveDungeonGearInstance = ActiveDungeonGearInstance;
|
|
2322
|
+
type index_ActiveDungeonInvader = ActiveDungeonInvader;
|
|
2323
|
+
type index_ActiveDungeonInvaderData = ActiveDungeonInvaderData;
|
|
2324
|
+
type index_ActiveDungeonInvaderHealth = ActiveDungeonInvaderHealth;
|
|
2325
|
+
type index_ActiveDungeonInvaderStats = ActiveDungeonInvaderStats;
|
|
2326
|
+
type index_ActiveDungeonPlayerEquipment = ActiveDungeonPlayerEquipment;
|
|
2327
|
+
type index_ActiveDungeonResponse = ActiveDungeonResponse;
|
|
2328
|
+
type index_ActiveDungeonResponseEntity = ActiveDungeonResponseEntity;
|
|
2329
|
+
type index_ActiveEffect = ActiveEffect;
|
|
2330
|
+
type index_ActiveStatusEffect = ActiveStatusEffect;
|
|
2331
|
+
type index_AddComfortResponse = AddComfortResponse;
|
|
2332
|
+
type index_AddFuelResponse = AddFuelResponse;
|
|
2333
|
+
type index_ApiLogger = ApiLogger;
|
|
2334
|
+
type index_AvailableDungeonsResponse = AvailableDungeonsResponse;
|
|
2335
|
+
type index_CaughtFish = CaughtFish;
|
|
2336
|
+
type index_CheckpointEntity = CheckpointEntity;
|
|
2337
|
+
type index_ConquestActionResponse = ConquestActionResponse;
|
|
2338
|
+
type index_ConquestActionType = ConquestActionType;
|
|
2339
|
+
type index_ConquestActivityData = ConquestActivityData;
|
|
2340
|
+
type index_ConquestActivityEntity = ConquestActivityEntity;
|
|
2341
|
+
type index_ConquestActivityPagination = ConquestActivityPagination;
|
|
2342
|
+
type index_ConquestActivityResponse = ConquestActivityResponse;
|
|
2343
|
+
type index_ConquestConfig = ConquestConfig;
|
|
2344
|
+
type index_ConquestConfigCell = ConquestConfigCell;
|
|
2345
|
+
type index_ConquestConfigWrapper = ConquestConfigWrapper;
|
|
2346
|
+
type index_ConquestCrownsResponse = ConquestCrownsResponse;
|
|
2347
|
+
type index_ConquestDelta = ConquestDelta;
|
|
2348
|
+
type index_ConquestLastState = ConquestLastState;
|
|
2349
|
+
type index_ConquestResponse = ConquestResponse;
|
|
2350
|
+
type index_ConquestSnapshotEntity = ConquestSnapshotEntity;
|
|
2351
|
+
type index_ConquestSnapshotResponse = ConquestSnapshotResponse;
|
|
2352
|
+
type index_ConquestTile = ConquestTile;
|
|
2353
|
+
type index_ConquestTileChange = ConquestTileChange;
|
|
2354
|
+
type index_Constants = Constants;
|
|
2355
|
+
type index_CookFishResponse = CookFishResponse;
|
|
2356
|
+
type index_CrownsParticipation = CrownsParticipation;
|
|
2357
|
+
type index_CrownsParticipationPlayer = CrownsParticipationPlayer;
|
|
2358
|
+
type index_CrownsPlayerCrown = CrownsPlayerCrown;
|
|
2359
|
+
type index_CrownsStanding = CrownsStanding;
|
|
2360
|
+
type index_DayCountEntity = DayCountEntity;
|
|
2361
|
+
type index_DayProgressEntity = DayProgressEntity;
|
|
2362
|
+
type index_DungeonActionResponse = DungeonActionResponse;
|
|
2363
|
+
type index_DungeonDataEntity = DungeonDataEntity;
|
|
2364
|
+
type index_DungeonEntity = DungeonEntity;
|
|
2365
|
+
type index_DungeonEvent = DungeonEvent;
|
|
2366
|
+
type index_DungeonPlayer = DungeonPlayer;
|
|
2367
|
+
type index_DungeonRun = DungeonRun;
|
|
2368
|
+
type index_EnemyEntity = EnemyEntity;
|
|
2369
|
+
type index_EnergyResponse = EnergyResponse;
|
|
2370
|
+
type index_EntryData = EntryData;
|
|
2371
|
+
type index_EventPoolConfig = EventPoolConfig;
|
|
2372
|
+
type index_EventPoolsConfig = EventPoolsConfig;
|
|
2373
|
+
type index_EventPoolsResponse = EventPoolsResponse;
|
|
2374
|
+
type index_FactionResponse = FactionResponse;
|
|
2375
|
+
type index_FeedPetResponse = FeedPetResponse;
|
|
2376
|
+
type index_FindexResult = FindexResult;
|
|
2377
|
+
type index_FishSizes = FishSizes;
|
|
2378
|
+
type index_FishingActionResponse = FishingActionResponse;
|
|
2379
|
+
type index_FishingCard = FishingCard;
|
|
2380
|
+
type index_FishingCardsResponse = FishingCardsResponse;
|
|
2381
|
+
type index_FishingCookingRecipe = FishingCookingRecipe;
|
|
2382
|
+
type index_FishingGameDocument = FishingGameDocument;
|
|
2383
|
+
type index_FishingStateResponse = FishingStateResponse;
|
|
2384
|
+
type index_GameInventory2Response = GameInventory2Response;
|
|
2385
|
+
type index_GameInventoryEntity = GameInventoryEntity;
|
|
2386
|
+
type index_GameInventoryEntity2 = GameInventoryEntity2;
|
|
2387
|
+
type index_GameInventoryResponse = GameInventoryResponse;
|
|
2388
|
+
type index_GameItemBalanceChange = GameItemBalanceChange;
|
|
2389
|
+
type index_GameItemEntity = GameItemEntity;
|
|
2390
|
+
type index_GearInstance = GearInstance;
|
|
2391
|
+
type index_GigaverseApi = GigaverseApi;
|
|
2392
|
+
declare const index_GigaverseApi: typeof GigaverseApi;
|
|
2393
|
+
type index_GigaverseApiOptions = GigaverseApiOptions;
|
|
2394
|
+
type index_GigaverseEquipment = GigaverseEquipment;
|
|
2395
|
+
type index_GigaverseRetryOptions = GigaverseRetryOptions;
|
|
2396
|
+
type index_HatcheryComfort = HatcheryComfort;
|
|
2397
|
+
type index_HatcheryConfig = HatcheryConfig;
|
|
2398
|
+
type index_HatcheryFate = HatcheryFate;
|
|
2399
|
+
type index_HatcheryItem = HatcheryItem;
|
|
2400
|
+
type index_HatcheryRarityDistribution = HatcheryRarityDistribution;
|
|
2401
|
+
type index_HatcheryResponse = HatcheryResponse;
|
|
2402
|
+
type index_HatcheryStatus = HatcheryStatus;
|
|
2403
|
+
type index_HatcheryTemperature = HatcheryTemperature;
|
|
2404
|
+
type index_HexPosition = HexPosition;
|
|
2405
|
+
type index_InfluenceFateResponse = InfluenceFateResponse;
|
|
2406
|
+
type index_IntuitionBlockEventData = IntuitionBlockEventData;
|
|
2407
|
+
type index_InvaderData = InvaderData;
|
|
2408
|
+
type index_ItemsPricesResponse = ItemsPricesResponse;
|
|
2409
|
+
type index_JackpotResult = JackpotResult;
|
|
2410
|
+
type index_JuiceData = JuiceData;
|
|
2411
|
+
type index_JuiceListing = JuiceListing;
|
|
2412
|
+
type index_JuicePurchase = JuicePurchase;
|
|
2413
|
+
type index_JuicedDataResponse = JuicedDataResponse;
|
|
2414
|
+
type index_LeaderboardConfig = LeaderboardConfig;
|
|
2415
|
+
type index_LeaderboardEntry = LeaderboardEntry;
|
|
2416
|
+
type index_LeaderboardPagination = LeaderboardPagination;
|
|
2417
|
+
type index_LeaderboardRankLootConfig = LeaderboardRankLootConfig;
|
|
2418
|
+
type index_LeaderboardResponse = LeaderboardResponse;
|
|
2419
|
+
type index_LeaderboardUserPosition = LeaderboardUserPosition;
|
|
2420
|
+
type index_NerfCost = NerfCost;
|
|
2421
|
+
type index_NoobGearEntity = NoobGearEntity;
|
|
2422
|
+
type index_NoobGearResponse = NoobGearResponse;
|
|
2423
|
+
type index_NoobSkillsEntity = NoobSkillsEntity;
|
|
2424
|
+
type index_NoobSkillsResponse = NoobSkillsResponse;
|
|
2425
|
+
type index_OffchainRomDoc = OffchainRomDoc;
|
|
2426
|
+
type index_OnDamageEventData = OnDamageEventData;
|
|
2427
|
+
type index_OnUpdateStatusEventData = OnUpdateStatusEventData;
|
|
2428
|
+
type index_OnchainInventoryEntity = OnchainInventoryEntity;
|
|
2429
|
+
type index_OnchainInventoryResponse = OnchainInventoryResponse;
|
|
2430
|
+
type index_PetData = PetData;
|
|
2431
|
+
type index_PetEntity = PetEntity;
|
|
2432
|
+
type index_PetFactory = PetFactory;
|
|
2433
|
+
type index_PetFactoryEffect = PetFactoryEffect;
|
|
2434
|
+
type index_PetFactoryInputOption = PetFactoryInputOption;
|
|
2435
|
+
type index_PlayerEquipment = PlayerEquipment;
|
|
2436
|
+
type index_PlayerEquipmentEntity = PlayerEquipmentEntity;
|
|
2437
|
+
type index_PlayerListingEntity = PlayerListingEntity;
|
|
2438
|
+
type index_PlayerListingsResponse = PlayerListingsResponse;
|
|
2439
|
+
type index_PlayerPetsResponse = PlayerPetsResponse;
|
|
2440
|
+
type index_PlayerRecipeEntity = PlayerRecipeEntity;
|
|
2441
|
+
type index_PlayerRecipesResponse = PlayerRecipesResponse;
|
|
2442
|
+
type index_PrizePotData = PrizePotData;
|
|
2443
|
+
type index_RecipeEntity = RecipeEntity;
|
|
2444
|
+
type index_RecipeStaticEntity = RecipeStaticEntity;
|
|
2445
|
+
type index_RepairResponse = RepairResponse;
|
|
2446
|
+
type index_ResourceStats = ResourceStats;
|
|
2447
|
+
type index_RomEntity = RomEntity;
|
|
2448
|
+
type index_RomFactoryStats = RomFactoryStats;
|
|
2449
|
+
type index_RomsRawResponse = RomsRawResponse;
|
|
2450
|
+
type index_RomsResponse = RomsResponse;
|
|
2451
|
+
type index_SellFishRequest = SellFishRequest;
|
|
2452
|
+
type index_SellFishResponse = SellFishResponse;
|
|
2453
|
+
type index_SimpleStat = SimpleStat;
|
|
2454
|
+
type index_SkillProgressEntity = SkillProgressEntity;
|
|
2455
|
+
type index_SkillProgressResponse = SkillProgressResponse;
|
|
2456
|
+
type index_SkillStat = SkillStat;
|
|
2457
|
+
type index_SkillsEntity = SkillsEntity;
|
|
2458
|
+
type index_SkillsResponse = SkillsResponse;
|
|
2459
|
+
type index_StartHatchingResponse = StartHatchingResponse;
|
|
2460
|
+
type index_StartRecipeResponse = StartRecipeResponse;
|
|
2461
|
+
type index_StaticDataResponse = StaticDataResponse;
|
|
2462
|
+
type index_StatusEffect = StatusEffect;
|
|
2463
|
+
type index_ToolStats = ToolStats;
|
|
2464
|
+
type index_UseMoveEventData = UseMoveEventData;
|
|
2465
|
+
type index_UsernameResponse = UsernameResponse;
|
|
2466
|
+
type index_VanityEquipment = VanityEquipment;
|
|
2467
|
+
type index_VanityEquipmentEntity = VanityEquipmentEntity;
|
|
2468
|
+
type index_VanityEquipmentResponse = VanityEquipmentResponse;
|
|
2469
|
+
declare const index_createGigaverseApi: typeof createGigaverseApi;
|
|
2470
|
+
declare namespace index {
|
|
2471
|
+
export { type index_AccountResponse as AccountResponse, type index_ActiveDungeonData as ActiveDungeonData, type index_ActiveDungeonEntity as ActiveDungeonEntity, type index_ActiveDungeonGearInstance as ActiveDungeonGearInstance, type index_ActiveDungeonInvader as ActiveDungeonInvader, type index_ActiveDungeonInvaderData as ActiveDungeonInvaderData, type index_ActiveDungeonInvaderHealth as ActiveDungeonInvaderHealth, type index_ActiveDungeonInvaderStats as ActiveDungeonInvaderStats, type index_ActiveDungeonPlayerEquipment as ActiveDungeonPlayerEquipment, type index_ActiveDungeonResponse as ActiveDungeonResponse, type index_ActiveDungeonResponseEntity as ActiveDungeonResponseEntity, type index_ActiveEffect as ActiveEffect, type index_ActiveStatusEffect as ActiveStatusEffect, type index_AddComfortResponse as AddComfortResponse, type index_AddFuelResponse as AddFuelResponse, type index_ApiLogger as ApiLogger, type index_AvailableDungeonsResponse as AvailableDungeonsResponse, type index_CaughtFish as CaughtFish, type index_CheckpointEntity as CheckpointEntity, type index_ConquestActionResponse as ConquestActionResponse, type index_ConquestActionType as ConquestActionType, type index_ConquestActivityData as ConquestActivityData, type index_ConquestActivityEntity as ConquestActivityEntity, type index_ConquestActivityPagination as ConquestActivityPagination, type index_ConquestActivityResponse as ConquestActivityResponse, type index_ConquestConfig as ConquestConfig, type index_ConquestConfigCell as ConquestConfigCell, type index_ConquestConfigWrapper as ConquestConfigWrapper, type index_ConquestCrownsResponse as ConquestCrownsResponse, type index_ConquestDelta as ConquestDelta, type index_ConquestLastState as ConquestLastState, type index_ConquestResponse as ConquestResponse, type index_ConquestSnapshotEntity as ConquestSnapshotEntity, type index_ConquestSnapshotResponse as ConquestSnapshotResponse, type index_ConquestTile as ConquestTile, type index_ConquestTileChange as ConquestTileChange, type index_Constants as Constants, type index_CookFishResponse as CookFishResponse, type index_CrownsParticipation as CrownsParticipation, type index_CrownsParticipationPlayer as CrownsParticipationPlayer, type index_CrownsPlayerCrown as CrownsPlayerCrown, type index_CrownsStanding as CrownsStanding, type index_DayCountEntity as DayCountEntity, type index_DayProgressEntity as DayProgressEntity, type index_DungeonActionResponse as DungeonActionResponse, type index_DungeonDataEntity as DungeonDataEntity, type index_DungeonEntity as DungeonEntity, type index_DungeonEvent as DungeonEvent, type index_DungeonPlayer as DungeonPlayer, type index_DungeonRun as DungeonRun, type index_EnemyEntity as EnemyEntity, type index_EnergyResponse as EnergyResponse, type index_EntryData as EntryData, type index_EventPoolConfig as EventPoolConfig, type index_EventPoolsConfig as EventPoolsConfig, type index_EventPoolsResponse as EventPoolsResponse, type index_FactionResponse as FactionResponse, type index_FeedPetResponse as FeedPetResponse, type index_FindexResult as FindexResult, type index_FishSizes as FishSizes, type index_FishingActionResponse as FishingActionResponse, type index_FishingCard as FishingCard, type index_FishingCardsResponse as FishingCardsResponse, type index_FishingCookingRecipe as FishingCookingRecipe, type index_FishingGameDocument as FishingGameDocument, type index_FishingStateResponse as FishingStateResponse, type index_GameInventory2Response as GameInventory2Response, type index_GameInventoryEntity as GameInventoryEntity, type index_GameInventoryEntity2 as GameInventoryEntity2, type index_GameInventoryResponse as GameInventoryResponse, type index_GameItemBalanceChange as GameItemBalanceChange, type index_GameItemEntity as GameItemEntity, type index_GearInstance as GearInstance, index_GigaverseApi as GigaverseApi, type index_GigaverseApiOptions as GigaverseApiOptions, type index_GigaverseEquipment as GigaverseEquipment, type index_GigaverseRetryOptions as GigaverseRetryOptions, type index_HatcheryComfort as HatcheryComfort, type index_HatcheryConfig as HatcheryConfig, type index_HatcheryFate as HatcheryFate, type index_HatcheryItem as HatcheryItem, type index_HatcheryRarityDistribution as HatcheryRarityDistribution, type index_HatcheryResponse as HatcheryResponse, type index_HatcheryStatus as HatcheryStatus, type index_HatcheryTemperature as HatcheryTemperature, type index_HexPosition as HexPosition, type index_InfluenceFateResponse as InfluenceFateResponse, type index_IntuitionBlockEventData as IntuitionBlockEventData, type index_InvaderData as InvaderData, type index_ItemsPricesResponse as ItemsPricesResponse, type index_JackpotResult as JackpotResult, type index_JuiceData as JuiceData, type index_JuiceListing as JuiceListing, type index_JuicePurchase as JuicePurchase, type index_JuicedDataResponse as JuicedDataResponse, type index_LeaderboardConfig as LeaderboardConfig, type index_LeaderboardEntry as LeaderboardEntry, type index_LeaderboardPagination as LeaderboardPagination, type index_LeaderboardRankLootConfig as LeaderboardRankLootConfig, type index_LeaderboardResponse as LeaderboardResponse, type index_LeaderboardUserPosition as LeaderboardUserPosition, type index_NerfCost as NerfCost, type index_NoobGearEntity as NoobGearEntity, type index_NoobGearResponse as NoobGearResponse, type index_NoobSkillsEntity as NoobSkillsEntity, type index_NoobSkillsResponse as NoobSkillsResponse, type index_OffchainRomDoc as OffchainRomDoc, type index_OnDamageEventData as OnDamageEventData, type index_OnUpdateStatusEventData as OnUpdateStatusEventData, type index_OnchainInventoryEntity as OnchainInventoryEntity, type index_OnchainInventoryResponse as OnchainInventoryResponse, type index_PetData as PetData, type index_PetEntity as PetEntity, type index_PetFactory as PetFactory, type index_PetFactoryEffect as PetFactoryEffect, type index_PetFactoryInputOption as PetFactoryInputOption, type index_PlayerEquipment as PlayerEquipment, type index_PlayerEquipmentEntity as PlayerEquipmentEntity, type index_PlayerListingEntity as PlayerListingEntity, type index_PlayerListingsResponse as PlayerListingsResponse, type index_PlayerPetsResponse as PlayerPetsResponse, type index_PlayerRecipeEntity as PlayerRecipeEntity, type index_PlayerRecipesResponse as PlayerRecipesResponse, type index_PrizePotData as PrizePotData, type index_RecipeEntity as RecipeEntity, type index_RecipeStaticEntity as RecipeStaticEntity, type index_RepairResponse as RepairResponse, type index_ResourceStats as ResourceStats, type index_RomEntity as RomEntity, type index_RomFactoryStats as RomFactoryStats, type index_RomsRawResponse as RomsRawResponse, type index_RomsResponse as RomsResponse, type index_SellFishRequest as SellFishRequest, type index_SellFishResponse as SellFishResponse, type index_SimpleStat as SimpleStat, type index_SkillProgressEntity as SkillProgressEntity, type index_SkillProgressResponse as SkillProgressResponse, type index_SkillStat as SkillStat, type index_SkillsEntity as SkillsEntity, type index_SkillsResponse as SkillsResponse, type index_StartHatchingResponse as StartHatchingResponse, type index_StartRecipeResponse as StartRecipeResponse, type index_StaticDataResponse as StaticDataResponse, type index_StatusEffect as StatusEffect, type index_ToolStats as ToolStats, type index_UseMoveEventData as UseMoveEventData, type index_UsernameResponse as UsernameResponse, type index_VanityEquipment as VanityEquipment, type index_VanityEquipmentEntity as VanityEquipmentEntity, type index_VanityEquipmentResponse as VanityEquipmentResponse, index_createGigaverseApi as createGigaverseApi };
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
export { StatusEffectType as $, ActiveEffectType as A, FishingGearSlot as B, Checkpoint as C, DungeonModel as D, EffectTriggerType as E, FishingType as F, GameAction as G, GameOutcome as H, GearSlot as I, JobStatus as J, GearType as K, LootSubType as L, index as M, Node as N, ItemType as O, LogLevel as P, QuestItemType as Q, Rarity as R, SparkTransactionType as S, LogType as T, LootAction as U, OtherAction as V, PetType as W, QuestType as X, Scroll as Y, Skill as Z, SkillId as _, DungeonType as a, type GameInventory2Response as a$, ToolGearSlot as a0, type AccountResponse as a1, type ActiveDungeonData as a2, type ActiveDungeonEntity as a3, type ActiveDungeonGearInstance as a4, type ActiveDungeonInvader as a5, type ActiveDungeonInvaderData as a6, type ActiveDungeonInvaderHealth as a7, type ActiveDungeonInvaderStats as a8, type ActiveDungeonPlayerEquipment as a9, type Constants as aA, type CookFishResponse as aB, type CrownsParticipation as aC, type CrownsParticipationPlayer as aD, type CrownsPlayerCrown as aE, type CrownsStanding as aF, type DayCountEntity as aG, type DayProgressEntity as aH, type DungeonActionResponse as aI, type DungeonDataEntity as aJ, type DungeonEntity as aK, type DungeonEvent as aL, type DungeonPlayer as aM, type DungeonRun as aN, type EnemyEntity as aO, type EntryData as aP, type EventPoolConfig as aQ, type EventPoolsConfig as aR, type EventPoolsResponse as aS, type FactionResponse as aT, type FeedPetResponse as aU, type FindexResult as aV, type FishSizes as aW, type FishingActionResponse as aX, type FishingCardsResponse as aY, type FishingCookingRecipe as aZ, type FishingGameDocument as a_, type ActiveDungeonResponse as aa, type ActiveDungeonResponseEntity as ab, type ActiveEffect as ac, type ActiveStatusEffect as ad, type AddComfortResponse as ae, type AddFuelResponse as af, type ApiLogger as ag, type CaughtFish as ah, type CheckpointEntity as ai, type ConquestActionResponse as aj, type ConquestActionType as ak, type ConquestActivityData as al, type ConquestActivityEntity as am, type ConquestActivityPagination as an, type ConquestActivityResponse as ao, type ConquestConfig as ap, type ConquestConfigCell as aq, type ConquestConfigWrapper as ar, type ConquestCrownsResponse as as, type ConquestDelta as at, type ConquestLastState as au, type ConquestResponse as av, type ConquestSnapshotEntity as aw, type ConquestSnapshotResponse as ax, type ConquestTile as ay, type ConquestTileChange as az, FishingModel as b, type SellFishResponse as b$, type GameInventoryEntity2 as b0, type GameInventoryResponse as b1, type GameItemBalanceChange as b2, type GameItemEntity as b3, type GearInstance as b4, type GigaverseApiOptions as b5, type GigaverseEquipment as b6, type GigaverseRetryOptions as b7, type HatcheryComfort as b8, type HatcheryConfig as b9, type NoobSkillsResponse as bA, type OffchainRomDoc as bB, type OnDamageEventData as bC, type OnUpdateStatusEventData as bD, type OnchainInventoryEntity as bE, type OnchainInventoryResponse as bF, type PetData as bG, type PetEntity as bH, type PetFactory as bI, type PetFactoryEffect as bJ, type PetFactoryInputOption as bK, type PlayerEquipment as bL, type PlayerEquipmentEntity as bM, type PlayerListingEntity as bN, type PlayerListingsResponse as bO, type PlayerPetsResponse as bP, type PlayerRecipeEntity as bQ, type PlayerRecipesResponse as bR, type PrizePotData as bS, type RecipeEntity as bT, type RecipeStaticEntity as bU, type RepairResponse as bV, type ResourceStats as bW, type RomFactoryStats as bX, type RomsRawResponse as bY, type RomsResponse as bZ, type SellFishRequest as b_, type HatcheryFate as ba, type HatcheryItem as bb, type HatcheryRarityDistribution as bc, type HatcheryResponse as bd, type HatcheryStatus as be, type HatcheryTemperature as bf, type HexPosition as bg, type InfluenceFateResponse as bh, type IntuitionBlockEventData as bi, type InvaderData as bj, type ItemsPricesResponse as bk, type JackpotResult as bl, type JuiceData as bm, type JuiceListing as bn, type JuicePurchase as bo, type JuicedDataResponse as bp, type LeaderboardConfig as bq, type LeaderboardEntry as br, type LeaderboardPagination as bs, type LeaderboardRankLootConfig as bt, type LeaderboardResponse as bu, type LeaderboardUserPosition as bv, type NerfCost as bw, type NoobGearEntity as bx, type NoobGearResponse as by, type NoobSkillsEntity as bz, LootType as c, type SimpleStat as c0, type SkillProgressEntity as c1, type SkillProgressResponse as c2, type SkillStat as c3, type SkillsEntity as c4, type SkillsResponse as c5, type StartHatchingResponse as c6, type StartRecipeResponse as c7, type StaticDataResponse as c8, type StatusEffect as c9, type ToolStats as ca, type UseMoveEventData as cb, type UsernameResponse as cc, type VanityEquipment as cd, type VanityEquipmentEntity as ce, type VanityEquipmentResponse as cf, createGigaverseApi as cg, type AvailableDungeonsResponse as d, type EnergyResponse as e, type FishingStateResponse as f, type FishingCard as g, DungeonLegacyType as h, DungeonPreset as i, EggType as j, Faction as k, FishMoveStrategy as l, GameType as m, NotificationType as n, RomMemory as o, RomTier as p, type GameInventoryEntity as q, GigaverseApi as r, ResourceType as s, type RomEntity as t, ServiceType as u, type Action as v, ActionType as w, DungeonGearSlot as x, EffectPlayerType as y, FishingAction as z };
|