warframe-worldstate-parser 5.2.12 → 5.2.14

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