warframe-worldstate-parser 5.2.16 → 5.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/lib/WorldState.d.mts +35 -19
  2. package/dist/lib/WorldState.mjs +31 -45
  3. package/dist/lib/models/Alert.d.mts +45 -17
  4. package/dist/lib/models/Alert.mjs +49 -5
  5. package/dist/lib/models/Archimedea.d.mts +86 -17
  6. package/dist/lib/models/Archimedea.mjs +88 -2
  7. package/dist/lib/models/Calendar.d.mts +77 -2
  8. package/dist/lib/models/Calendar.mjs +79 -2
  9. package/dist/lib/models/CambionCycle.d.mts +21 -3
  10. package/dist/lib/models/CambionCycle.mjs +28 -2
  11. package/dist/lib/models/CetusCycle.d.mts +48 -2
  12. package/dist/lib/models/CetusCycle.mjs +87 -2
  13. package/dist/lib/models/ChallengeInstance.d.mts +53 -17
  14. package/dist/lib/models/ChallengeInstance.mjs +46 -1
  15. package/dist/lib/models/ConclaveChallenge.d.mts +76 -17
  16. package/dist/lib/models/ConclaveChallenge.mjs +77 -2
  17. package/dist/lib/models/ConstructionProgress.d.mts +17 -2
  18. package/dist/lib/models/ConstructionProgress.mjs +23 -2
  19. package/dist/lib/models/DailyDeal.d.mts +66 -17
  20. package/dist/lib/models/DailyDeal.mjs +64 -2
  21. package/dist/lib/models/DarkSector.d.mts +142 -17
  22. package/dist/lib/models/DarkSector.mjs +136 -6
  23. package/dist/lib/models/DarkSectorBattle.d.mts +52 -2
  24. package/dist/lib/models/DarkSectorBattle.mjs +49 -1
  25. package/dist/lib/models/DuviriCycle.d.mts +23 -17
  26. package/dist/lib/models/DuviriCycle.mjs +55 -2
  27. package/dist/lib/models/EarthCycle.d.mts +59 -2
  28. package/dist/lib/models/EarthCycle.mjs +73 -2
  29. package/dist/lib/models/Fissure.d.mts +78 -17
  30. package/dist/lib/models/Fissure.mjs +83 -2
  31. package/dist/lib/models/FlashSale.d.mts +71 -17
  32. package/dist/lib/models/FlashSale.mjs +73 -2
  33. package/dist/lib/models/GlobalUpgrade.d.mts +55 -17
  34. package/dist/lib/models/GlobalUpgrade.mjs +56 -2
  35. package/dist/lib/models/Invasion.d.mts +113 -17
  36. package/dist/lib/models/Invasion.mjs +106 -4
  37. package/dist/lib/models/Kinepage.d.mts +21 -1
  38. package/dist/lib/models/Kinepage.mjs +22 -1
  39. package/dist/lib/models/Kuva.d.mts +20 -17
  40. package/dist/lib/models/Kuva.mjs +85 -1
  41. package/dist/lib/models/MidrathCycle.d.mts +24 -2
  42. package/dist/lib/models/MidrathCycle.mjs +66 -2
  43. package/dist/lib/models/Mission.d.mts +138 -17
  44. package/dist/lib/models/Mission.mjs +138 -3
  45. package/dist/lib/models/News.d.mts +100 -2
  46. package/dist/lib/models/News.mjs +116 -2
  47. package/dist/lib/models/Nightwave.d.mts +58 -3
  48. package/dist/lib/models/Nightwave.mjs +58 -3
  49. package/dist/lib/models/NightwaveChallenge.d.mts +50 -2
  50. package/dist/lib/models/NightwaveChallenge.mjs +51 -2
  51. package/dist/lib/models/PersistentEnemy.d.mts +78 -2
  52. package/dist/lib/models/PersistentEnemy.mjs +74 -2
  53. package/dist/lib/models/Reward.d.mts +67 -17
  54. package/dist/lib/models/Reward.mjs +71 -2
  55. package/dist/lib/models/SentientOutpost.d.mts +46 -17
  56. package/dist/lib/models/SentientOutpost.mjs +63 -1
  57. package/dist/lib/models/Simaris.d.mts +36 -17
  58. package/dist/lib/models/Simaris.mjs +33 -1
  59. package/dist/lib/models/Sortie.d.mts +60 -17
  60. package/dist/lib/models/Sortie.mjs +71 -6
  61. package/dist/lib/models/SortieVariant.d.mts +49 -17
  62. package/dist/lib/models/SortieVariant.mjs +49 -1
  63. package/dist/lib/models/SteelPathOffering.d.mts +36 -1
  64. package/dist/lib/models/SteelPathOffering.mjs +81 -1
  65. package/dist/lib/models/SyndicateJob.d.mts +92 -17
  66. package/dist/lib/models/SyndicateJob.mjs +161 -5
  67. package/dist/lib/models/SyndicateMission.d.mts +58 -17
  68. package/dist/lib/models/SyndicateMission.mjs +64 -6
  69. package/dist/lib/models/Tmp.d.mts +34 -17
  70. package/dist/lib/models/Tmp.mjs +28 -2
  71. package/dist/lib/models/VallisCycle.d.mts +29 -2
  72. package/dist/lib/models/VallisCycle.mjs +72 -2
  73. package/dist/lib/models/VoidTrader.d.mts +76 -17
  74. package/dist/lib/models/VoidTrader.mjs +76 -4
  75. package/dist/lib/models/VoidTraderItem.d.mts +43 -17
  76. package/dist/lib/models/VoidTraderItem.mjs +36 -1
  77. package/dist/lib/models/VoidTraderSchedule.d.mts +16 -17
  78. package/dist/lib/models/VoidTraderSchedule.mjs +12 -1
  79. package/dist/lib/models/WeeklyChallenge.d.mts +19 -17
  80. package/dist/lib/models/WeeklyChallenge.mjs +19 -3
  81. package/dist/lib/models/WorldEvent.d.mts +204 -17
  82. package/dist/lib/models/WorldEvent.mjs +211 -7
  83. package/dist/lib/models/WorldStateObject.d.mts +47 -1
  84. package/dist/lib/models/WorldStateObject.mjs +52 -1
  85. package/dist/lib/models/ZarimanCycle.d.mts +44 -2
  86. package/dist/lib/models/ZarimanCycle.mjs +77 -2
  87. package/dist/lib/models/index.d.mts +42 -18
  88. package/dist/lib/models/index.mjs +42 -45
  89. package/dist/lib/supporting/Dependency.d.mts +40 -1
  90. package/dist/lib/supporting/DuviriChoice.d.mts +18 -17
  91. package/dist/lib/supporting/DuviriChoice.mjs +23 -1
  92. package/dist/lib/supporting/ExternalMission.d.mts +48 -1
  93. package/dist/lib/supporting/FetchProxy.d.mts +9 -1
  94. package/dist/lib/supporting/FetchProxy.mjs +44 -1
  95. package/dist/lib/supporting/ImgCdn.d.mts +5 -1
  96. package/dist/lib/supporting/ImgCdn.mjs +5 -1
  97. package/dist/lib/supporting/KuvaLogEntry.d.mts +20 -1
  98. package/dist/lib/supporting/RewardData.d.mts +10 -1
  99. package/dist/lib/supporting/RewardData.mjs +74 -1
  100. package/dist/lib/supporting/RewardTypes.d.mts +33 -1
  101. package/dist/lib/supporting/RewardTypes.mjs +326 -1
  102. package/dist/lib/supporting/index.d.mts +8 -23
  103. package/dist/lib/supporting/index.mjs +5 -6
  104. package/dist/main.d.mts +52 -24
  105. package/dist/main.mjs +47 -48
  106. package/package.json +1 -1
  107. package/dist/Alert-CPT2sBmd.mjs +0 -51
  108. package/dist/Archimedea-Vo36QE99.mjs +0 -90
  109. package/dist/Calendar-CRM0XhAy.d.mts +0 -78
  110. package/dist/Calendar-_gEQ9BEd.mjs +0 -81
  111. package/dist/CambionCycle-B1pqIgks.mjs +0 -30
  112. package/dist/CambionCycle-OI3v1knd.d.mts +0 -22
  113. package/dist/CetusCycle-Ct51M2pd.mjs +0 -89
  114. package/dist/CetusCycle-DQ4n05vO.d.mts +0 -49
  115. package/dist/ChallengeInstance-BOu_e7ML.mjs +0 -48
  116. package/dist/ConclaveChallenge-BTN6UyV6.mjs +0 -79
  117. package/dist/ConstructionProgress-BoF2P9fx.mjs +0 -25
  118. package/dist/ConstructionProgress-DG2KzS0X.d.mts +0 -18
  119. package/dist/DailyDeal-aoNeCFWT.mjs +0 -66
  120. package/dist/DarkSector-D0uJWCg7.mjs +0 -138
  121. package/dist/DarkSectorBattle-CiSe3kFm.d.mts +0 -53
  122. package/dist/DarkSectorBattle-CqRYeNpe.mjs +0 -51
  123. package/dist/Dependency-BR-dAeHI.mjs +0 -1
  124. package/dist/Dependency-CNqXngHD.d.mts +0 -41
  125. package/dist/DuviriChoice-BEBiWA-g.mjs +0 -25
  126. package/dist/DuviriCycle-Do7mMnoC.mjs +0 -57
  127. package/dist/EarthCycle-BOAlcAuQ.mjs +0 -75
  128. package/dist/EarthCycle-CxtijnVV.d.mts +0 -60
  129. package/dist/ExternalMission-C82w4uMq.d.mts +0 -49
  130. package/dist/ExternalMission-D3MSZgnN.mjs +0 -1
  131. package/dist/FetchProxy-Bkdk15SX.mjs +0 -46
  132. package/dist/FetchProxy-DfSTUgkf.d.mts +0 -10
  133. package/dist/Fissure-diM4hyi3.mjs +0 -85
  134. package/dist/FlashSale-CNfRaZhM.mjs +0 -75
  135. package/dist/GlobalUpgrade-CUtZw05z.mjs +0 -58
  136. package/dist/ImgCdn-BJOdWAbU.mjs +0 -7
  137. package/dist/ImgCdn-D0hSGSB1.d.mts +0 -6
  138. package/dist/Invasion-Corx1lxf.mjs +0 -108
  139. package/dist/Kinepage-B-Ym_VW5.d.mts +0 -22
  140. package/dist/Kinepage-CbSzge67.mjs +0 -24
  141. package/dist/Kuva-Ijy2ZGBL.mjs +0 -87
  142. package/dist/KuvaLogEntry-D_VzIT3W.mjs +0 -1
  143. package/dist/KuvaLogEntry-cftxhjfU.d.mts +0 -21
  144. package/dist/MidrathCycle-E0gMF3AR.d.mts +0 -25
  145. package/dist/MidrathCycle-XD2T8Dx5.mjs +0 -68
  146. package/dist/Mission-b8KP-YDf.mjs +0 -140
  147. package/dist/News-DxEm-q6V.d.mts +0 -101
  148. package/dist/News-zAK-sYRg.mjs +0 -118
  149. package/dist/Nightwave-CPqMSqGK.d.mts +0 -59
  150. package/dist/Nightwave-cTRmlbwH.mjs +0 -60
  151. package/dist/NightwaveChallenge-C8ARG7LC.mjs +0 -53
  152. package/dist/NightwaveChallenge-CG3uychc.d.mts +0 -51
  153. package/dist/PersistentEnemy-3Sw5E8AN.mjs +0 -76
  154. package/dist/PersistentEnemy-DnnnreSz.d.mts +0 -79
  155. package/dist/Reward-3FBJF_hS.mjs +0 -73
  156. package/dist/RewardData-C_9b8Yhi.mjs +0 -76
  157. package/dist/RewardData-DWCgJ3UT.d.mts +0 -11
  158. package/dist/RewardTypes-DUrR7H3G.mjs +0 -328
  159. package/dist/RewardTypes-Y3tHrtIJ.d.mts +0 -34
  160. package/dist/SentientOutpost-Cadk-pIW.mjs +0 -65
  161. package/dist/Simaris-D6etEQp_.mjs +0 -35
  162. package/dist/Sortie-rSBgJc6U.mjs +0 -73
  163. package/dist/SortieVariant-CnuLkkNZ.mjs +0 -51
  164. package/dist/SteelPathOffering--wm-7hwb.mjs +0 -83
  165. package/dist/SteelPathOffering-CQkoKi5T.d.mts +0 -37
  166. package/dist/SyndicateJob-R89tWqvT.mjs +0 -162
  167. package/dist/SyndicateMission-CKZDWNyf.mjs +0 -66
  168. package/dist/Tmp-BYL_mYIG.mjs +0 -30
  169. package/dist/VallisCycle-6DCaWFoR.d.mts +0 -30
  170. package/dist/VallisCycle-BW2g49wB.mjs +0 -74
  171. package/dist/VoidTrader-DtjtVUgR.mjs +0 -78
  172. package/dist/VoidTraderItem-Cz6x1KTF.mjs +0 -38
  173. package/dist/VoidTraderSchedule-BsJLu50V.mjs +0 -14
  174. package/dist/WeeklyChallenge-Dl2ekl6X.mjs +0 -21
  175. package/dist/WorldEvent-C-LaV2ug.mjs +0 -213
  176. package/dist/WorldStateObject-45dbRgp7.mjs +0 -54
  177. package/dist/WorldStateObject-C1HEDkH7.d.mts +0 -48
  178. package/dist/ZarimanCycle-BrSLIWhD.d.mts +0 -45
  179. package/dist/ZarimanCycle-DoAPwgaM.mjs +0 -79
  180. package/dist/index-Bgx8kIDy.d.mts +0 -1671
  181. package/dist/supporting-BLSXhlWM.mjs +0 -1
@@ -1,1671 +0,0 @@
1
- import { t as Dependency } from "./Dependency-CNqXngHD.mjs";
2
- import { t as ExternalMission } from "./ExternalMission-C82w4uMq.mjs";
3
- import { t as RewardType } from "./RewardTypes-Y3tHrtIJ.mjs";
4
- import { n as Identifier, r as WorldStateObject, t as BaseContentObject } from "./WorldStateObject-C1HEDkH7.mjs";
5
- import { n as RawDarkSectorBattle, t as DarkSectorBattle } from "./DarkSectorBattle-CiSe3kFm.mjs";
6
- import { t as Kinepage } from "./Kinepage-B-Ym_VW5.mjs";
7
- import { Locale } from "warframe-worldstate-data";
8
- import { ContentTimestamp } from "warframe-worldstate-data/utilities";
9
-
10
- //#region lib/supporting/DuviriChoice.d.ts
11
- interface RawChoice extends BaseContentObject {
12
- Category: 'EXC_NORMAL' | 'EXC_HARD';
13
- Choices: string[];
14
- }
15
- /**
16
- * Single category of duviri choices
17
- */
18
- declare class DuviriChoice {
19
- category: string;
20
- categoryKey: string;
21
- choices: string[];
22
- constructor(data: RawChoice);
23
- }
24
- //#endregion
25
- //#region lib/models/Reward.d.ts
26
- /**
27
- * Returns the type of a given item
28
- */
29
- declare function getItemType(item: string, types?: RewardType[]): string;
30
- /**
31
- * Returns the full type of a given item
32
- */
33
- declare function getItemTypeFull(item: string, types?: RewardType[]): RewardType;
34
- interface RawReward {
35
- items: string[];
36
- countedItems?: {
37
- ItemType: string;
38
- ItemCount: number;
39
- }[];
40
- credits?: number;
41
- }
42
- /**
43
- * Represents a mission reward
44
- */
45
- declare class Reward {
46
- /**
47
- * The items being rewarded
48
- */
49
- items: string[];
50
- /**
51
- * The counted items being rewarded
52
- */
53
- countedItems: {
54
- type: string;
55
- key: string;
56
- count: number;
57
- }[];
58
- /**
59
- * The credits being rewarded
60
- */
61
- credits: number;
62
- /**
63
- * Thumbnail url
64
- */
65
- thumbnail: string;
66
- /**
67
- * Reward color
68
- */
69
- color: number;
70
- /**
71
- * @param data The mission data
72
- * @param deps The dependencies object
73
- * @param deps.locale Locale to use for translations
74
- */
75
- constructor(data: RawReward, {
76
- locale
77
- }?: Dependency);
78
- /**
79
- * The types of all items that are being rewarded
80
- */
81
- getTypes(): string[];
82
- /**
83
- * The types of all the items that are being rewarded
84
- */
85
- private getTypesFull;
86
- }
87
- //#endregion
88
- //#region lib/models/Mission.d.ts
89
- interface RawMission {
90
- descText: string;
91
- location: string;
92
- node?: string;
93
- missionType: string;
94
- faction: string;
95
- missionReward: RawReward;
96
- minEnemyLevel: number;
97
- maxEnemyLevel: number;
98
- maxWaveNum?: number;
99
- nightmare?: boolean;
100
- archwingRequired?: boolean;
101
- isSharkwingMission?: boolean;
102
- levelOverride: string;
103
- enemySpec: string;
104
- advancedSpawners?: string[];
105
- requiredItems?: string[];
106
- consumeRequiredItems?: boolean;
107
- vipAgent?: string;
108
- leadersAlwaysAllowed?: boolean;
109
- goalTag?: string;
110
- levelAuras?: string[];
111
- exclusiveWeapon: string;
112
- }
113
- /**
114
- * Represents an in-game mission
115
- */
116
- declare class Mission {
117
- /**
118
- * The mission's description
119
- */
120
- description: string;
121
- /**
122
- * The node where the mission takes place
123
- */
124
- node: string;
125
- /**
126
- * Unlocalized node
127
- */
128
- nodeKey: string;
129
- /**
130
- * The mission's type
131
- */
132
- type: string;
133
- /**
134
- * The mission's type
135
- */
136
- typeKey: string;
137
- /**
138
- * The factions that the players must fight in the mission
139
- */
140
- faction: string;
141
- /**
142
- * The factions that the players must fight in the mission
143
- */
144
- factionKey: string;
145
- /**
146
- * The mission's reward
147
- */
148
- reward?: Reward;
149
- /**
150
- * The minimum level of the enemies in the mission
151
- */
152
- minEnemyLevel: number;
153
- /**
154
- * The maximum level of the enemies in the mission
155
- */
156
- maxEnemyLevel: number;
157
- /**
158
- * The number of waves that the players need to complete (undefined if not applicable)
159
- */
160
- maxWaveNum?: number;
161
- /**
162
- * The Mission's nightmare boolean
163
- */
164
- nightmare: boolean;
165
- /**
166
- * The Mission's archwing requirement
167
- */
168
- archwingRequired: boolean;
169
- /**
170
- * The Mission's sharkwing requirement
171
- */
172
- isSharkwing: boolean;
173
- /**
174
- * Override for the map on this mission
175
- */
176
- levelOverride: string;
177
- /**
178
- * Enemy specification for the mission
179
- */
180
- enemySpec: string;
181
- /**
182
- * Array of strings denoting extra spawners for a mission
183
- */
184
- advancedSpawners: string[];
185
- /**
186
- * Items required to enter the mission
187
- */
188
- requiredItems: string[];
189
- /**
190
- * Whether or not the required items are consumed
191
- */
192
- consumeRequiredItems?: boolean;
193
- /**
194
- * Target for the mission
195
- */
196
- target?: string;
197
- /**
198
- * Whether or not leaders are always allowed
199
- */
200
- leadersAlwaysAllowed?: boolean;
201
- /**
202
- * A tag for the event that this corresponds to
203
- */
204
- goalTag?: string;
205
- /**
206
- * Affectors for this mission
207
- */
208
- levelAuras: string[];
209
- /**
210
- * Only weapon allowed for the mission
211
- */
212
- exclusiveWeapon: string;
213
- /**
214
- * @param data The mission data
215
- * @param locale Locale to use for translations
216
- */
217
- constructor(data: RawMission, {
218
- locale
219
- }?: Dependency);
220
- }
221
- //#endregion
222
- //#region lib/models/Alert.d.ts
223
- interface RawAlert extends BaseContentObject {
224
- MissionInfo: RawMission;
225
- Tag?: string;
226
- }
227
- /**
228
- * Represents an alert
229
- * @augments {WorldStateObject}
230
- */
231
- declare class Alert extends WorldStateObject {
232
- /**
233
- * The mission that the players have to complete
234
- */
235
- mission: Mission;
236
- /**
237
- * An array containing the types of all of the alert's rewards
238
- */
239
- rewardTypes: string[];
240
- /**
241
- * A tag that DE occasionally provides, such as `LotusGift`
242
- */
243
- tag?: string;
244
- constructor(data: RawAlert, {
245
- locale
246
- }?: Dependency);
247
- /**
248
- * Alert's description
249
- */
250
- get description(): string;
251
- /**
252
- * Alert rewards
253
- */
254
- get reward(): Reward | undefined;
255
- /**
256
- * How much time is left before the alert expires
257
- */
258
- get eta(): string;
259
- }
260
- //#endregion
261
- //#region lib/models/Archimedea.d.ts
262
- /**
263
- * @deprecated use Archimedea to reference temporal and deep
264
- */
265
- type DeepArchimedea = Archimedea;
266
- interface RawArchimedea extends BaseContentObject {
267
- Type: string;
268
- Missions: RawArchimedeaMission[];
269
- Variables: string[];
270
- }
271
- type Difficulty = {
272
- type: string;
273
- deviation: string;
274
- risks: string[];
275
- };
276
- interface RawArchimedeaMission {
277
- faction: string;
278
- missionType: string;
279
- difficulties: Difficulty[];
280
- }
281
- interface ArchimedeaMissionDifficultyRisk {
282
- key: string;
283
- name: string;
284
- description: string;
285
- isHard: boolean;
286
- }
287
- interface ArchimedeaMissionDifficulty {
288
- key: string;
289
- name: string;
290
- description: string;
291
- }
292
- /**
293
- * An Archimedea mission with risk and deviations
294
- */
295
- declare class ArchimedeaMission {
296
- faction: string;
297
- factionKey: string;
298
- missionType: string;
299
- missionTypeKey: string;
300
- deviation: ArchimedeaMissionDifficulty;
301
- risks: ArchimedeaMissionDifficultyRisk[];
302
- /**
303
- * @param mission Challenge mission type
304
- * @param locale Locale for translation
305
- */
306
- constructor(mission: RawArchimedeaMission, locale: Locale);
307
- }
308
- declare class Archimedea extends WorldStateObject {
309
- /**
310
- * MD5 generated ID
311
- */
312
- id: string;
313
- /**
314
- * Archimedea type
315
- */
316
- type: string;
317
- /**
318
- * Archimedea type untranslated
319
- */
320
- typeKey: string;
321
- /**
322
- * Missions along with deviations and risks
323
- */
324
- missions: ArchimedeaMission[];
325
- /**
326
- * Modifiers applied to the player
327
- */
328
- personalModifiers: {
329
- key: string;
330
- name: string;
331
- description: string;
332
- }[];
333
- /**
334
- * @param data Data to parse
335
- * @param locale Locale to translate to
336
- */
337
- constructor(data: RawArchimedea, {
338
- locale
339
- }?: Dependency);
340
- }
341
- //#endregion
342
- //#region lib/models/ChallengeInstance.d.ts
343
- interface RawChallengeInstance {
344
- Type: string;
345
- MinimumEnemyLevel: string;
346
- RequiredCount: string;
347
- ProgressIndicatorFreq: string;
348
- DamageType?: string;
349
- VictimType?: string[];
350
- Script?: {
351
- _faction: string;
352
- };
353
- }
354
- /**
355
- * Describes a world challenge instance
356
- */
357
- declare class ChallengeInstance {
358
- /**
359
- * Type of challenge
360
- */
361
- type: string;
362
- /**
363
- * Minimum enemy level to fulfill challenge
364
- */
365
- minEnemyLevel: number;
366
- /**
367
- * Required number of units to complete challenge
368
- */
369
- requiredAmount: number;
370
- /**
371
- * Waypoint for amount of units between progression updates
372
- */
373
- progressAmount: number;
374
- /**
375
- * Required damage type
376
- */
377
- damageType?: string;
378
- /**
379
- * Target to fulfill challenge
380
- */
381
- target?: string;
382
- /**
383
- * @param data The challenge instance data
384
- * @param deps The dependencies object
385
- * @param deps.locale Locale to use for translations
386
- */
387
- constructor(data: RawChallengeInstance, {
388
- locale
389
- }?: Dependency);
390
- }
391
- //#endregion
392
- //#region lib/models/ConclaveChallenge.d.ts
393
- interface RawChallenge extends BaseContentObject {
394
- endDate: ContentTimestamp;
395
- startDate: ContentTimestamp;
396
- params: {
397
- n: string;
398
- v: number;
399
- }[];
400
- PVPMode: string;
401
- Category: string;
402
- challengeTypeRefID: string;
403
- }
404
- /**
405
- * Represents a Conclave challenge
406
- * @augments {WorldStateObject}
407
- */
408
- declare class ConclaveChallenge extends WorldStateObject {
409
- /**
410
- * The number of times that the challenge's objective needs to be completed
411
- */
412
- amount: number;
413
- /**
414
- * The PVP mode that the challenge must be completed in
415
- */
416
- mode: string;
417
- /**
418
- * The challenge's category (daily, weekly...)
419
- */
420
- category: string;
421
- /**
422
- * The challenge category unlocalized
423
- */
424
- categoryKey: string;
425
- /**
426
- * The challenge's description text
427
- */
428
- description?: string;
429
- /**
430
- * Title of the challenge
431
- */
432
- title?: string;
433
- /**
434
- * Standing granted by completing challenge.
435
- */
436
- standing?: number;
437
- /**
438
- * Whether or not this is a daily conclave challenge.
439
- */
440
- daily: boolean;
441
- /**
442
- * Whether or not this is the root challenge
443
- */
444
- rootChallenge: boolean;
445
- /**
446
- * @param {object} data The challenge data
447
- * @param {object} deps The dependencies object
448
- * @param {string} deps.locale Locale to use for translations
449
- */
450
- constructor(data: RawChallenge, {
451
- locale
452
- }?: Dependency);
453
- /**
454
- * Whether or not this is expired (at time of object creation)
455
- */
456
- get expired(): boolean;
457
- /**
458
- * ETA string (at time of object creation)
459
- */
460
- get eta(): string;
461
- }
462
- //#endregion
463
- //#region lib/models/DailyDeal.d.ts
464
- interface RawDailyDeal {
465
- StoreItem: string;
466
- Expiry: ContentTimestamp;
467
- Activation: ContentTimestamp;
468
- OriginalPrice: number;
469
- SalePrice: number;
470
- AmountTotal: number;
471
- AmountSold: number;
472
- Discount: number;
473
- }
474
- /**
475
- * Represents a daily deal
476
- */
477
- declare class DailyDeal extends WorldStateObject {
478
- /**
479
- * The item that is being offered in the sale
480
- */
481
- item: string;
482
- /**
483
- * The uniqueName for the item on sale
484
- */
485
- uniqueName: string;
486
- /**
487
- * The item's original price
488
- */
489
- originalPrice: number;
490
- /**
491
- * The item's discounted price
492
- */
493
- salePrice: number;
494
- /**
495
- * The number of available items on sale
496
- */
497
- total: number;
498
- /**
499
- * The number of items that have already been sold
500
- */
501
- sold: number;
502
- /**
503
- * Unique identifier for this deal built from the end time and item
504
- */
505
- id: string;
506
- /**
507
- * Percent discount
508
- */
509
- discount: number;
510
- /**
511
- * @param data The deal data
512
- * @param deps The dependencies object
513
- * @param deps.locale Locale to use for translations
514
- */
515
- constructor(data: RawDailyDeal, {
516
- locale
517
- }?: Dependency);
518
- /**
519
- * Get a string indicating how much time is left before the deal expires
520
- */
521
- get eta(): string;
522
- }
523
- //#endregion
524
- //#region lib/models/DarkSector.d.ts
525
- interface DefenderInfo {
526
- CreditsTaxRate: number;
527
- MemberCreditsTax: number;
528
- ItemsTaxRate: number;
529
- MemberItemsTaxRate: number;
530
- IsAlliance: boolean;
531
- Name: string;
532
- StrengthRemaining: string;
533
- MaxStrength: string;
534
- DeploymentActivationTime: ContentTimestamp;
535
- RailType: string;
536
- MOTD: string;
537
- DeployerName: string;
538
- DeployerClan: string;
539
- RailHealReserve: number;
540
- healRate: string;
541
- DamagePerMission: number;
542
- MissionInfo?: RawMission;
543
- BattlePayReserve: number;
544
- MissionBattlePay: number;
545
- BattlePaySetBy: string;
546
- BattlePaySetByClan: string;
547
- TaxLastChangedBy: string;
548
- TaxLastChangedByClan: string;
549
- }
550
- interface RawDarkSector extends BaseContentObject {
551
- DefenderInfo: DefenderInfo;
552
- History: RawDarkSectorBattle[];
553
- }
554
- /**
555
- * Represents a dark sector
556
- * @augments {WorldStateObject}
557
- */
558
- declare class DarkSector extends WorldStateObject {
559
- /**
560
- * The dark sector credit tax rate
561
- */
562
- creditTaxRate: number;
563
- /**
564
- * The dark sector credit tax rate for clan/alliance members
565
- */
566
- memberCreditsTaxRate: number;
567
- /**
568
- * The dark sector resource tax rate
569
- */
570
- itemsTaxRate: number;
571
- /**
572
- * The dark sector resource tax rate for clan/alliance members
573
- */
574
- memberItemsTaxRate: number;
575
- /**
576
- * Whether the dark sector holder is an alliance or not
577
- */
578
- isAlliance: boolean;
579
- /**
580
- * The current holder of the dark sector
581
- */
582
- defenderName: string;
583
- /**
584
- * The remaining health of the current solar rail
585
- */
586
- defenderPoolRemaining: number;
587
- /**
588
- * The maximum health of the solar rail
589
- */
590
- defenderMaxPool: number;
591
- /**
592
- * The date and time at which the rail was deployed
593
- */
594
- defenderDeployemntActivation: number | Date;
595
- /**
596
- * The solar rail type
597
- */
598
- railType: string;
599
- /**
600
- * The MOTD set by the dark sector holder
601
- */
602
- defenderMOTD: string;
603
- /**
604
- * The player who deployed the solar rail
605
- */
606
- deployerName: string;
607
- /**
608
- * The clan of the player who deployed the solar rail
609
- */
610
- deployerClan: string;
611
- defenderRailHealReserve: number;
612
- healRate: number;
613
- damagePerMission: number;
614
- /**
615
- * The dark sector's mission
616
- */
617
- mission?: Mission;
618
- battlePayReserve: number;
619
- /**
620
- * The battle pay per mission offered to players
621
- * @type {number}
622
- */
623
- perMissionBattlePay: number;
624
- /**
625
- * The player who set the battle pay
626
- * @type {string}
627
- */
628
- battlePaySetBy: string;
629
- /**
630
- * The clan of the player who set the battle pay
631
- * @type {string}
632
- */
633
- battlePaySetByClan: string;
634
- /**
635
- * The player who changed the tax
636
- * @type {string}
637
- */
638
- taxChangedBy: string;
639
- /**
640
- * The clan of the player who set the tax
641
- * @type {string}
642
- */
643
- taxChangedByClan: string;
644
- /**
645
- * The history of the dark sector
646
- * @type {Array.<DarkSectorBattle>}
647
- */
648
- history: DarkSectorBattle[];
649
- /**
650
- * @param {object} data The dark sector data
651
- * @param {object} deps The dependencies object
652
- * @param {string} deps.locale Locale to use for translations
653
- */
654
- constructor(data: RawDarkSector, {
655
- locale
656
- }?: Dependency);
657
- }
658
- //#endregion
659
- //#region lib/models/DuviriCycle.d.ts
660
- /**
661
- * @typedef {WorldStateObject} DuviriCycle
662
- * @augments {WorldStateObject}
663
- */
664
- declare class DuviriCycle extends WorldStateObject {
665
- /**
666
- * Current stage key
667
- */
668
- state: string;
669
- /**
670
- * Choice options for this Cycle
671
- */
672
- choices: DuviriChoice[];
673
- /**
674
- * @param duviriChoices The current circuit choices
675
- */
676
- constructor(duviriChoices: DuviriChoice[]);
677
- }
678
- //#endregion
679
- //#region lib/models/Fissure.d.ts
680
- interface RawFissure extends BaseContentObject {
681
- Node: string;
682
- MissionType: string;
683
- Modifier: string;
684
- ActiveMissionTier: string;
685
- Activation: ContentTimestamp;
686
- Expiry: ContentTimestamp;
687
- Hard?: boolean;
688
- }
689
- /**
690
- * Represents a fissure mission
691
- * @augments {WorldStateObject}
692
- */
693
- declare class Fissure extends WorldStateObject {
694
- /**
695
- * The node where the fissure has appeared
696
- */
697
- node: string;
698
- /**
699
- * The fissure mission type
700
- */
701
- missionType: string;
702
- /**
703
- * The fissure mission type key
704
- */
705
- missionTypeKey: string;
706
- /**
707
- * The faction controlling the node where the fissure has appeared
708
- */
709
- enemy: string;
710
- /**
711
- * Faction enum for the faction controlling the node where the fissure has appeared
712
- */
713
- enemyKey: string;
714
- /**
715
- * The node key where the fissure has appeared
716
- */
717
- nodeKey: string;
718
- /**
719
- * The fissure's tier
720
- */
721
- tier: string;
722
- /**
723
- * The fissure's tier as a number
724
- */
725
- tierNum: string | number;
726
- /**
727
- * Whether this fissure corresponds to a RailJack Void Storm
728
- */
729
- isStorm: boolean;
730
- /**
731
- * Whether this fissure is a Steel Path fissure
732
- */
733
- isHard: boolean;
734
- /**
735
- * @param {object} data The fissure data
736
- * @param {Dependency} deps The dependencies object
737
- * @param {string} deps.locale Locale to use for translations
738
- */
739
- constructor(data: RawFissure, {
740
- locale
741
- }?: Dependency);
742
- /**
743
- * Whether this is expired (at time of object creation)
744
- */
745
- get expired(): boolean;
746
- /**
747
- * ETA string (at time of object creation)
748
- */
749
- get eta(): string;
750
- }
751
- //#endregion
752
- //#region lib/models/FlashSale.d.ts
753
- interface RawFlashSale extends BaseContentObject {
754
- TypeName: string;
755
- EndDate: ContentTimestamp;
756
- StartDate: ContentTimestamp;
757
- Discount: number;
758
- RegularOverride: number;
759
- PremiumOverride: number;
760
- ShowInMarket: boolean;
761
- Featured: boolean;
762
- Popular: boolean;
763
- }
764
- /**
765
- * Represents a flash sale
766
- */
767
- declare class FlashSale extends WorldStateObject {
768
- /**
769
- * The item being offered in the flash sale
770
- */
771
- item: string;
772
- /**
773
- * The item's discount percentage
774
- */
775
- discount: number;
776
- /**
777
- * The item's discounted credit price
778
- */
779
- regularOverride: number;
780
- /**
781
- * The item's discounted platinum price
782
- */
783
- premiumOverride: number;
784
- /**
785
- * Whether this item is show in the in-game market
786
- */
787
- isShownInMarket: boolean;
788
- /**
789
- * Whether this item is featured in the in-game market
790
- */
791
- isFeatured: boolean;
792
- /**
793
- * Whether this item is marked as popular in the in-game market
794
- */
795
- isPopular: boolean;
796
- /**
797
- * Unique identifier for this sale built from the end time and reward
798
- */
799
- id: string;
800
- /**
801
- * @param {object} data The flash sale data
802
- * @param {Dependency} deps The dependencies object
803
- * @param {string} deps.locale Locale to use for translations
804
- */
805
- constructor(data: RawFlashSale, {
806
- locale
807
- }?: Dependency);
808
- /**
809
- * ETA string (at time of object creation)
810
- */
811
- get eta(): string;
812
- /**
813
- * Whether or not this is expired (at time of object creation)
814
- */
815
- get expired(): boolean;
816
- }
817
- //#endregion
818
- //#region lib/models/GlobalUpgrade.d.ts
819
- interface RawGlobalUpgrade extends BaseContentObject {
820
- Activation: ContentTimestamp;
821
- Expiry: ContentTimestamp;
822
- UpgradeType: string;
823
- OperationType: string;
824
- Value: number;
825
- }
826
- /**
827
- * Represents an upgrade that applies to all players
828
- */
829
- declare class GlobalUpgrade extends WorldStateObject {
830
- /**
831
- * The effect of the upgrade
832
- */
833
- upgrade: string;
834
- /**
835
- * The operation type
836
- */
837
- operation: string;
838
- /**
839
- * Symbol for operation
840
- */
841
- operationSymbol: string;
842
- /**
843
- * The operation value
844
- */
845
- upgradeOperationValue: number;
846
- /**
847
- * @param {object} data The global upgrade data
848
- * @param {object} deps The dependencies object
849
- * @param {string} deps.locale Locale to use for translations
850
- */
851
- constructor(data: RawGlobalUpgrade, {
852
- locale
853
- }?: Dependency);
854
- /**
855
- * Plaintext description of upgrade
856
- */
857
- get desc(): string;
858
- /**
859
- * ETA string (at time of object creation)
860
- */
861
- get eta(): string;
862
- /**
863
- * Whether or not this is expired (at time of object creation)
864
- */
865
- get expired(): boolean;
866
- }
867
- //#endregion
868
- //#region lib/models/Invasion.d.ts
869
- interface RawInvasion extends BaseContentObject {
870
- Node: string;
871
- LocTag: string;
872
- DefenderMissionInfo: {
873
- faction: string;
874
- };
875
- AttackerReward: RawReward;
876
- DefenderReward: RawReward;
877
- AttackerMissionInfo: {
878
- faction: string;
879
- };
880
- Activation: ContentTimestamp;
881
- Count: number;
882
- Goal: number;
883
- Completed: boolean;
884
- }
885
- /**
886
- * An invasion participant
887
- */
888
- interface InvasionParticipant {
889
- /**
890
- * Reward for supporting this participant in the invasion
891
- */
892
- reward?: Reward;
893
- /**
894
- * Faction of this participant (localized)
895
- */
896
- faction: string;
897
- /**
898
- * Faction of this participant (always English)
899
- */
900
- factionKey: string;
901
- }
902
- /**
903
- * Represents an invasion
904
- */
905
- declare class Invasion extends WorldStateObject {
906
- /**
907
- * The node where the invasion is taking place
908
- */
909
- node: string;
910
- /**
911
- * The node key where the invasion is taking place
912
- */
913
- nodeKey: string;
914
- /**
915
- * The invasion's description
916
- */
917
- desc: string;
918
- /**
919
- * Invasion attacker
920
- */
921
- attacker: InvasionParticipant;
922
- /**
923
- * Invasion defender
924
- */
925
- defender: InvasionParticipant;
926
- /**
927
- * Whether this invasion is against the infestation
928
- */
929
- vsInfestation: boolean;
930
- /**
931
- * The signed count of completed runs. Supporting the attackers makes the count go up,
932
- * supporting the defenders makes it go down
933
- */
934
- count: number;
935
- /**
936
- * The number of runs that one side needs to win
937
- */
938
- requiredRuns: number;
939
- /**
940
- * The invasion's completion percentage. Defenders win if it gets to 0
941
- * Grineer vs. Corpus invasions start at 50, Infested invasions start at 100
942
- */
943
- completion: number;
944
- /**
945
- * Whether the invasion has finished
946
- */
947
- completed: boolean;
948
- /**
949
- * An array containing the types of all of the invasions's rewards
950
- */
951
- rewardTypes: string[];
952
- /**
953
- * @param {object} data The invasion data
954
- * @param {Dependency} deps The dependencies object
955
- * @param {string} deps.locale Locale to use for translations
956
- */
957
- constructor(data: RawInvasion, {
958
- locale
959
- }?: Dependency);
960
- /**
961
- * Whether or not the attackers are winning.
962
- * This is always false when the infestation is attacking
963
- */
964
- get isAttackerWinning(): boolean;
965
- /**
966
- * ETA string (at time of object creation)
967
- */
968
- get eta(): string;
969
- /**
970
- * Get an estimation of how much time is left before the invasion ends in milliseconds
971
- */
972
- private getRemainingTime;
973
- }
974
- //#endregion
975
- //#region lib/models/Kuva.d.ts
976
- /**
977
- * Stores and parses kuva data from https://10o.io/kuvalog.json
978
- * @property {ExternalMission[]} kuva currently active kuva missions
979
- * @property {ExternalMission} arbitration current arbitration
980
- */
981
- declare class Kuva {
982
- kuva?: ExternalMission[];
983
- arbitration?: ExternalMission;
984
- constructor({
985
- kuvaData,
986
- locale,
987
- logger
988
- }: Dependency);
989
- }
990
- //#endregion
991
- //#region lib/models/SentientOutpost.d.ts
992
- /**
993
- * Mission typeDef
994
- */
995
- interface OutpostMission {
996
- node: string;
997
- faction: string;
998
- type: string;
999
- }
1000
- /**
1001
- * Represents a set of sentient outposts that are present
1002
- * Parsed source is combined data from DE's worldstate and semlar.com/anomaly.json
1003
- */
1004
- declare class SentientOutpost {
1005
- private readonly node;
1006
- id: string;
1007
- /**
1008
- * Start time
1009
- */
1010
- activation: Date;
1011
- /**
1012
- * End time
1013
- */
1014
- expiry: Date;
1015
- /**
1016
- * Current Mission
1017
- */
1018
- mission?: OutpostMission;
1019
- /**
1020
- * Whether or not the object was active during creation
1021
- */
1022
- active: boolean;
1023
- /**
1024
- * @param sfn Sentient outpost node number
1025
- * @param deps Dependencies
1026
- */
1027
- constructor(sfn: string | number | undefined, {
1028
- locale,
1029
- sentientData,
1030
- logger
1031
- }: Dependency);
1032
- }
1033
- //#endregion
1034
- //#region lib/models/Simaris.d.ts
1035
- /**
1036
- * Simaris library info
1037
- */
1038
- type LibraryInfo = {
1039
- LastCompletedTargetType: string;
1040
- };
1041
- /**
1042
- * Contains information about sanctuary targets
1043
- */
1044
- declare class Simaris {
1045
- /**
1046
- * The sanctuary target
1047
- */
1048
- target: string;
1049
- /**
1050
- * Whether or not the target is currently active
1051
- */
1052
- isTargetActive: boolean;
1053
- /**
1054
- * @param data The sanctuary data
1055
- * @param deps The dependencies object
1056
- * @param deps.locale Locale to use for translations
1057
- */
1058
- constructor(data?: LibraryInfo, {
1059
- locale
1060
- }?: Dependency);
1061
- /**
1062
- * A string representation of the current sanctuary status
1063
- */
1064
- get asString(): string;
1065
- }
1066
- //#endregion
1067
- //#region lib/models/SortieVariant.d.ts
1068
- interface RawSortieVariant {
1069
- missionType: string;
1070
- modifierType: string;
1071
- node: string;
1072
- }
1073
- /**
1074
- * Represents a sortie variant
1075
- * @class
1076
- */
1077
- declare class SortieVariant {
1078
- /**
1079
- * The variant's mission type
1080
- */
1081
- missionType: string;
1082
- /**
1083
- * The variant's mission type unlocalized
1084
- */
1085
- missionTypeKey: string;
1086
- /**
1087
- * The mission modifier
1088
- */
1089
- modifier: string;
1090
- /**
1091
- * The variant's modifier description
1092
- */
1093
- modifierDescription: string;
1094
- /**
1095
- * The node where the variant takes place
1096
- */
1097
- node: string;
1098
- /**
1099
- * The node where the variant takes place unlocalized
1100
- */
1101
- nodeKey: string;
1102
- /**
1103
- * Make the SortieVariant
1104
- * @param data Sortie variant data
1105
- * @param deps Dependencies
1106
- * @param deps.locale Locale to use for translations
1107
- */
1108
- constructor(data: RawSortieVariant, {
1109
- locale
1110
- }?: Dependency);
1111
- }
1112
- //#endregion
1113
- //#region lib/models/Sortie.d.ts
1114
- interface RawSortie extends BaseContentObject {
1115
- Reward: string;
1116
- Variants?: RawSortieVariant[];
1117
- Missions?: RawMission[];
1118
- Boss: string;
1119
- }
1120
- /**
1121
- * Represents a daily sortie
1122
- * @augments {WorldStateObject}
1123
- */
1124
- declare class Sortie extends WorldStateObject {
1125
- /**
1126
- * The sortie's reward pool
1127
- */
1128
- rewardPool: string;
1129
- /**
1130
- * The sortie's variants
1131
- */
1132
- variants: SortieVariant[];
1133
- /**
1134
- * Archon hunt missions if sortie is an archon hunt
1135
- */
1136
- missions: Mission[];
1137
- /**
1138
- * The sortie's boss
1139
- */
1140
- boss: string;
1141
- /**
1142
- * The sortie's faction
1143
- */
1144
- faction: string;
1145
- /**
1146
- * The sortie's faction
1147
- */
1148
- factionKey: string;
1149
- /**
1150
- * @param data The data for all daily sorties
1151
- * @param deps The dependencies object
1152
- * @param deps.locale Locale to use for translations
1153
- */
1154
- constructor(data: RawSortie, {
1155
- locale
1156
- }?: Dependency);
1157
- /**
1158
- * ETA string (at time of object creation)
1159
- */
1160
- get eta(): string;
1161
- /**
1162
- * Whether this is expired (at time of object creation)
1163
- */
1164
- get expired(): boolean;
1165
- }
1166
- //#endregion
1167
- //#region lib/models/SyndicateJob.d.ts
1168
- interface BountyReward {
1169
- item: string;
1170
- rarity: string;
1171
- chance: number;
1172
- }
1173
- interface RawSyndicateJob {
1174
- rewards: string;
1175
- isVault?: boolean;
1176
- JobCurrentVersion?: Identifier;
1177
- jobType?: string;
1178
- locationTag?: string;
1179
- minEnemyLevel: number;
1180
- maxEnemyLevel: number;
1181
- xpAmounts: number[];
1182
- masteryReq?: number;
1183
- }
1184
- interface RewardDrop extends BountyReward {
1185
- count: number;
1186
- }
1187
- /**
1188
- * Represents a syndicate daily mission
1189
- * @augments {WorldStateObject}
1190
- */
1191
- declare class SyndicateJob extends WorldStateObject {
1192
- /**
1193
- * Reward pool unique name
1194
- */
1195
- uniqueName: string;
1196
- /**
1197
- * Array of strings describing rewards
1198
- */
1199
- rewardPool: string[];
1200
- /**
1201
- * A structured version of the reward pool
1202
- */
1203
- rewardPoolDrops: RewardDrop[];
1204
- /**
1205
- * The type of job this is
1206
- */
1207
- type?: string;
1208
- /**
1209
- * Array of enemy levels
1210
- */
1211
- enemyLevels: number[];
1212
- /**
1213
- * Array of standing gains per stage of job
1214
- */
1215
- standingStages: number[];
1216
- /**
1217
- * Minimum mastery required to participate
1218
- */
1219
- minMR: number;
1220
- /**
1221
- * Whether or not this is a Vault job.
1222
- * No indication for difference of normal vs arcana vaults.
1223
- */
1224
- isVault?: boolean;
1225
- /**
1226
- * Corresponding chamber. Nullable
1227
- */
1228
- locationTag?: string;
1229
- /**
1230
- * What time phase this bounty is bound to
1231
- */
1232
- timeBound: string | undefined;
1233
- /**
1234
- * Generate a job with async data (reward pool)
1235
- * @param data The syndicate mission data
1236
- * @param expiry The syndicate job expiration
1237
- * @param deps The dependencies object
1238
- * @returns The created SyndicateJob object with rewardPool
1239
- */
1240
- static build(data: RawSyndicateJob, expiry: Date, deps: Dependency): Promise<SyndicateJob>;
1241
- /**
1242
- * Construct a job without async data (reward pool)
1243
- * @param data The syndicate mission data
1244
- * @param expiry The syndicate job expiration
1245
- * @param deps The dependencies object
1246
- * @param deps.locale Locale to use for translations
1247
- *
1248
- * This DOES NOT populate the reward pool
1249
- */
1250
- constructor(data: RawSyndicateJob, expiry: Date, {
1251
- locale
1252
- }?: Dependency);
1253
- }
1254
- //#endregion
1255
- //#region lib/models/SyndicateMission.d.ts
1256
- interface RawSyndicateMission extends BaseContentObject {
1257
- Tag: string;
1258
- Nodes: string[];
1259
- Jobs: RawSyndicateJob[];
1260
- }
1261
- /**
1262
- * Represents a syndicate daily mission
1263
- * @augments {WorldStateObject}
1264
- */
1265
- declare class SyndicateMission extends WorldStateObject {
1266
- /**
1267
- * The syndicate that is offering the mission
1268
- * @type {string}
1269
- */
1270
- syndicate: string;
1271
- /**
1272
- * The syndicate that is offering the mission
1273
- * @type {string}
1274
- */
1275
- syndicateKey: string;
1276
- /**
1277
- * The nodes on which the missions are taking place
1278
- * @type {Array.<string>}
1279
- */
1280
- nodes: string[];
1281
- /**
1282
- * The jobs for this syndicate. Will normally be []
1283
- * @type {Array.<SyndicateJob>}
1284
- */
1285
- jobs: SyndicateJob[];
1286
- /**
1287
- * Build a new SyndicateMission with async operations & data
1288
- * @param data The syndicate mission data
1289
- * @param deps The dependencies object
1290
- * @param deps.locale Locale to use for translations
1291
- * @returns SyndicateMission object w/ async resolution of jobs
1292
- */
1293
- static build(data: RawSyndicateMission, deps?: Dependency): Promise<SyndicateMission>;
1294
- /**
1295
- * @param data The syndicate mission data
1296
- * @param deps The dependencies object
1297
- * @param deps.locale Locale to use for translations
1298
- */
1299
- constructor(data: RawSyndicateMission, {
1300
- locale
1301
- }?: Dependency);
1302
- /**
1303
- * Time delta string from now to the expiry
1304
- */
1305
- get eta(): string;
1306
- }
1307
- //#endregion
1308
- //#region lib/models/Tmp.d.ts
1309
- interface InitialTmp {
1310
- sfn: number;
1311
- pgr: {
1312
- [k: string]: string | number;
1313
- };
1314
- fbst?: {
1315
- a: number;
1316
- e: number;
1317
- n: number;
1318
- };
1319
- QTCCFloofCount?: number;
1320
- QTCCFloofLimit?: number;
1321
- }
1322
- declare class Tmp {
1323
- sentientOutposts: SentientOutpost;
1324
- kinepage: Kinepage;
1325
- faceoffBonus?: {
1326
- activation: Date;
1327
- expiry: Date;
1328
- next: Date;
1329
- };
1330
- questToConquerCancer?: {
1331
- count: number;
1332
- goal: number;
1333
- };
1334
- constructor(json: string, deps?: Dependency);
1335
- }
1336
- //#endregion
1337
- //#region lib/models/VoidTraderItem.d.ts
1338
- interface RawVoidTraderItem {
1339
- ItemType: string;
1340
- PrimePrice?: number;
1341
- RegularPrice?: number;
1342
- }
1343
- /**
1344
- * A void trader inventory item
1345
- */
1346
- declare class VoidTraderItem {
1347
- uniqueName: string;
1348
- /**
1349
- * The name of the inventory item
1350
- */
1351
- item: string;
1352
- /**
1353
- * Ducat cost of the item
1354
- */
1355
- ducats: number;
1356
- /**
1357
- * Credit cost of the item
1358
- */
1359
- credits: number;
1360
- /**
1361
- * @param data The void trader item data
1362
- * @param data.ItemType Worldstate Item i18n path
1363
- * @param data.PrimePrice Ducat cost of the item
1364
- * @param data.RegularPrice Credit price of the item
1365
- * @param deps The dependencies object
1366
- * @param deps.locale Locale to use for translations
1367
- */
1368
- constructor({
1369
- ItemType,
1370
- PrimePrice,
1371
- RegularPrice
1372
- }: RawVoidTraderItem, {
1373
- locale
1374
- }?: Dependency);
1375
- }
1376
- //#endregion
1377
- //#region lib/models/VoidTraderSchedule.d.ts
1378
- declare class VoidTraderSchedule {
1379
- expiry: Date;
1380
- item: string;
1381
- constructor(data: {
1382
- Expiry: ContentTimestamp;
1383
- FeaturedItem: string;
1384
- }, {
1385
- locale
1386
- }?: Dependency);
1387
- }
1388
- //#endregion
1389
- //#region lib/models/VoidTrader.d.ts
1390
- interface RawVoidTrader extends BaseContentObject {
1391
- Character?: string;
1392
- Node: string;
1393
- Manifest: RawVoidTraderItem[];
1394
- InitialStartDate: ContentTimestamp;
1395
- Completed: boolean;
1396
- ScheduleInfo: {
1397
- Expiry: ContentTimestamp;
1398
- FeaturedItem: string;
1399
- }[];
1400
- }
1401
- /**
1402
- * Represents a void trader
1403
- * @augments {WorldStateObject}
1404
- */
1405
- declare class VoidTrader extends WorldStateObject {
1406
- /**
1407
- * The void trader's name
1408
- */
1409
- character: string;
1410
- /**
1411
- * The node at which the Void Trader appears
1412
- */
1413
- location: string;
1414
- /**
1415
- * The trader's inventory
1416
- */
1417
- inventory: VoidTraderItem[];
1418
- /**
1419
- * Pseudo Identifier for identifying changes in inventory
1420
- */
1421
- psId: string;
1422
- /**
1423
- * The initial start date
1424
- */
1425
- initialStart: Date;
1426
- /**
1427
- * Whether it's completed or not
1428
- */
1429
- completed: boolean;
1430
- /**
1431
- * Possible schedule
1432
- */
1433
- schedule: VoidTraderSchedule[];
1434
- /**
1435
- * @param data The trader data
1436
- * @param deps The dependencies object
1437
- * @param deps.locale Locale to use for translations
1438
- * @param deps.character The trader name
1439
- */
1440
- constructor(data: RawVoidTrader, {
1441
- locale,
1442
- character
1443
- }?: Dependency);
1444
- /**
1445
- * Whether the trader is active
1446
- */
1447
- get active(): boolean;
1448
- /**
1449
- * Time delta string from now to the start
1450
- */
1451
- get startString(): string;
1452
- /**
1453
- * Time delta string from now to the end
1454
- */
1455
- get endString(): string;
1456
- }
1457
- //#endregion
1458
- //#region lib/models/WeeklyChallenge.d.ts
1459
- interface RawWeeklyChallenge extends BaseContentObject {
1460
- Challenges: RawChallengeInstance[];
1461
- }
1462
- /**
1463
- * Represents a void trader
1464
- * @augments {WorldStateObject}
1465
- */
1466
- declare class WeeklyChallenge extends WorldStateObject {
1467
- challenges: ChallengeInstance[];
1468
- /**
1469
- * @param data The Void trader data
1470
- */
1471
- constructor(data: RawWeeklyChallenge);
1472
- }
1473
- //#endregion
1474
- //#region lib/models/WorldEvent.d.ts
1475
- /**
1476
- * Interim step for an event reward system.
1477
- */
1478
- interface InterimStep {
1479
- goal: number;
1480
- reward: Reward | undefined;
1481
- winnerCount: number;
1482
- message: object;
1483
- }
1484
- /**
1485
- * Progress for one of multiple stages
1486
- */
1487
- interface ProgressStep {
1488
- type: string;
1489
- progressAmt: number;
1490
- }
1491
- interface InterimRewardMessage {
1492
- sender: string;
1493
- subject: string;
1494
- message: string;
1495
- senderIcon: string;
1496
- attachments: string;
1497
- }
1498
- interface RawWorldEvent extends BaseContentObject {
1499
- Goal: number;
1500
- Count?: number;
1501
- GoalInterim?: string;
1502
- GoalInterim2?: string;
1503
- Faction?: string;
1504
- Desc: string;
1505
- ToolTip?: string;
1506
- Node?: string;
1507
- ConcurrentNodes?: string[] | undefined;
1508
- VictimNode?: string;
1509
- Fomorian?: string;
1510
- ScoreLocTag?: string;
1511
- HealthPct?: number;
1512
- JobPreviousVersion?: Identifier;
1513
- Reward?: RawReward;
1514
- InterimRewards?: RawReward[];
1515
- InterimRewardMessages?: InterimRewardMessage[];
1516
- InterimGoals: number[];
1517
- _interimWinnerCounts?: number[];
1518
- IsMultiProgress?: boolean;
1519
- Types?: string[];
1520
- MultiProgress?: string[];
1521
- ShowTotalAtEOM?: boolean;
1522
- Personal: boolean;
1523
- Community?: boolean;
1524
- RegionDrops?: string[];
1525
- ArchwingDrops?: string[];
1526
- Metadata?: string;
1527
- CompletionBonus?: number[];
1528
- ScoreVar: string;
1529
- AltExpiry?: ContentTimestamp;
1530
- AltActivation?: ContentTimestamp;
1531
- NextAltExpiry?: ContentTimestamp;
1532
- NextAltActivation?: ContentTimestamp;
1533
- JobAffiliationTag?: string;
1534
- Tag: string;
1535
- Jobs?: RawSyndicateJob[];
1536
- PreviousJobs?: RawSyndicateJob[];
1537
- }
1538
- /**
1539
- * Represents an in-game special event
1540
- * @augments {WorldStateObject}
1541
- */
1542
- declare class WorldEvent extends WorldStateObject {
1543
- jobs: SyndicateJob[];
1544
- previousJobs: SyndicateJob[];
1545
- /**
1546
- * The event's main score goal
1547
- */
1548
- maximumScore: number;
1549
- /**
1550
- * The current score on the event
1551
- */
1552
- currentScore: number;
1553
- /**
1554
- * The first intermediate score goal
1555
- */
1556
- smallInterval: number;
1557
- /**
1558
- * The second intermediate score goal
1559
- */
1560
- largeInterval: number;
1561
- /**
1562
- * The faction that the players must fight in the event
1563
- */
1564
- faction: string | undefined;
1565
- /**
1566
- * The description of the event
1567
- */
1568
- description: string;
1569
- /**
1570
- * Tooltip for the event
1571
- */
1572
- tooltip: string | undefined;
1573
- /**
1574
- * The node where the event takes place
1575
- */
1576
- node: string | undefined;
1577
- /**
1578
- * The other nodes where the event takes place
1579
- */
1580
- concurrentNodes: string[];
1581
- /**
1582
- * The victim node
1583
- */
1584
- victimNode: string | undefined;
1585
- /**
1586
- * The score description
1587
- */
1588
- scoreLocTag: string | undefined;
1589
- /**
1590
- * The event's rewards
1591
- */
1592
- rewards: Reward[];
1593
- /**
1594
- * Health remaining for the target
1595
- */
1596
- health: number | undefined;
1597
- /**
1598
- * Previous job id
1599
- */
1600
- previousId: string | undefined;
1601
- /**
1602
- * Array of steps
1603
- */
1604
- interimSteps: InterimStep[];
1605
- /**
1606
- * Progress Steps, if any are present
1607
- */
1608
- progressSteps: ProgressStep[];
1609
- /**
1610
- * Total of all MultiProgress
1611
- */
1612
- progressTotal?: number;
1613
- /**
1614
- * Whether to show the total score at the end of the mission
1615
- */
1616
- showTotalAtEndOfMission: boolean;
1617
- /**
1618
- * Whether the event is personal
1619
- */
1620
- isPersonal: boolean;
1621
- /**
1622
- * Whether the event is community
1623
- */
1624
- isCommunity: boolean;
1625
- regionDrops: string[];
1626
- /**
1627
- * Archwing Drops in effect while this event is active
1628
- */
1629
- archwingDrops: string[];
1630
- /**
1631
- * Metadata provided by DE
1632
- */
1633
- metadata: object;
1634
- /**
1635
- * Bonuses given for completion
1636
- */
1637
- completionBonuses: number[];
1638
- scoreVar: string;
1639
- altExpiry: Date;
1640
- altActivation: Date;
1641
- nextAlt: {
1642
- expiry: Date;
1643
- activation: Date;
1644
- };
1645
- affiliatedWith?: string;
1646
- /**
1647
- * The event's tag
1648
- */
1649
- tag: string;
1650
- victim?: string;
1651
- /**
1652
- * Asynchronously build a new WorldEvent
1653
- * @param data The event data
1654
- * @param deps The dependencies object
1655
- * @returns The created WorldEvent object
1656
- */
1657
- static build(data: RawWorldEvent, deps: Dependency): Promise<WorldEvent>;
1658
- /**
1659
- * @param data The event data
1660
- * @param deps The dependencies object
1661
- */
1662
- constructor(data: RawWorldEvent, {
1663
- locale
1664
- }?: Dependency);
1665
- /**
1666
- * Whether the event has expired
1667
- */
1668
- get expired(): boolean;
1669
- }
1670
- //#endregion
1671
- export { Difficulty as $, InvasionParticipant as A, DefenderInfo as B, SortieVariant as C, SentientOutpost as D, OutpostMission as E, RawFlashSale as F, RawChallenge as G, DailyDeal as H, Fissure as I, Archimedea as J, ChallengeInstance as K, RawFissure as L, GlobalUpgrade as M, RawGlobalUpgrade as N, Kuva as O, FlashSale as P, DeepArchimedea as Q, DuviriCycle as R, RawSortieVariant as S, Simaris as T, RawDailyDeal as U, RawDarkSector as V, ConclaveChallenge as W, ArchimedeaMissionDifficulty as X, ArchimedeaMission as Y, ArchimedeaMissionDifficultyRisk as Z, RawSyndicateJob as _, WorldEvent as a, RawMission as at, RawSortie as b, RawVoidTrader as c, getItemType as ct, RawVoidTraderItem as d, RawChoice as dt, RawArchimedea as et, VoidTraderItem as f, SyndicateMission as g, RawSyndicateMission as h, RawWorldEvent as i, Mission as it, RawInvasion as j, Invasion as k, VoidTrader as l, getItemTypeFull as lt, Tmp as m, InterimStep as n, Alert as nt, RawWeeklyChallenge as o, RawReward as ot, InitialTmp as p, RawChallengeInstance as q, ProgressStep as r, RawAlert as rt, WeeklyChallenge as s, Reward as st, InterimRewardMessage as t, RawArchimedeaMission as tt, VoidTraderSchedule as u, DuviriChoice as ut, RewardDrop as v, LibraryInfo as w, Sortie as x, SyndicateJob as y, DarkSector as z };