warframe-worldstate-parser 5.2.18 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/{Calendar-C-rbmV_t.d.mts → Calendar-C99Wr_NC.d.mts} +1 -1
  2. package/dist/{CambionCycle-BzR_MfPH.d.mts → CambionCycle-CEVo0BPO.d.mts} +8 -2
  3. package/dist/{CetusCycle-DaqfF4J1.d.mts → CetusCycle-sbJ_VYPO.d.mts} +1 -1
  4. package/dist/{ConstructionProgress-BRxmro3-.d.mts → ConstructionProgress-CffeDtau.d.mts} +10 -1
  5. package/dist/{DarkSectorBattle-DHRl5tG1.d.mts → DarkSectorBattle-DwaJyGk3.d.mts} +1 -1
  6. package/dist/{Dependency-Cd-TxBJy.d.mts → Dependency-CtryMjKU.d.mts} +1 -1
  7. package/dist/{EarthCycle-C_oB5gDc.d.mts → EarthCycle-BsMMsVT4.d.mts} +1 -1
  8. package/dist/{ExternalMission-CT__oi7Q.d.mts → ExternalMission-DaE_6ccj.d.mts} +1 -1
  9. package/dist/{MidrathCycle-CxveqDtx.d.mts → MidrathCycle-UgLh7wgF.d.mts} +1 -1
  10. package/dist/{News-CJ3lD7_g.d.mts → News-CmoQ_nEf.d.mts} +1 -1
  11. package/dist/{Nightwave-BLHH02ht.d.mts → Nightwave-BBRJbyr8.d.mts} +2 -2
  12. package/dist/{NightwaveChallenge-j_m4hVQU.d.mts → NightwaveChallenge-C6J7ymli.d.mts} +1 -1
  13. package/dist/{PersistentEnemy-BJ4twtUY.d.mts → PersistentEnemy-WkvIZ9Mx.d.mts} +1 -1
  14. package/dist/{SteelPathOffering-DYjZ29sT.d.mts → SteelPathOffering-K2Ji4d5c.d.mts} +21 -0
  15. package/dist/{VallisCycle-as7DM4a-.d.mts → VallisCycle-BTYgGev7.d.mts} +1 -1
  16. package/dist/{ZarimanCycle-DyYiVfyG.d.mts → ZarimanCycle-D4YCSLmR.d.mts} +1 -1
  17. package/dist/decorate-CltSo06_.mjs +14 -0
  18. package/dist/{index-C4EJ_Mpd.d.mts → index-BK5W1mAn.d.mts} +57 -6
  19. package/dist/lib/WorldState.d.mts +16 -16
  20. package/dist/lib/WorldState.mjs +325 -0
  21. package/dist/lib/models/Alert.d.mts +1 -1
  22. package/dist/lib/models/Alert.mjs +29 -0
  23. package/dist/lib/models/Archimedea.d.mts +1 -1
  24. package/dist/lib/models/Archimedea.mjs +75 -0
  25. package/dist/lib/models/Calendar.d.mts +1 -1
  26. package/dist/lib/models/CambionCycle.d.mts +1 -1
  27. package/dist/lib/models/CambionCycle.mjs +19 -0
  28. package/dist/lib/models/CetusCycle.d.mts +1 -1
  29. package/dist/lib/models/CetusCycle.mjs +26 -0
  30. package/dist/lib/models/ChallengeInstance.d.mts +1 -1
  31. package/dist/lib/models/ChallengeInstance.mjs +38 -0
  32. package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
  33. package/dist/lib/models/ConclaveChallenge.mjs +53 -0
  34. package/dist/lib/models/ConstructionProgress.d.mts +1 -1
  35. package/dist/lib/models/ConstructionProgress.mjs +27 -0
  36. package/dist/lib/models/DailyDeal.d.mts +1 -1
  37. package/dist/lib/models/DailyDeal.mjs +48 -0
  38. package/dist/lib/models/DarkSector.d.mts +1 -1
  39. package/dist/lib/models/DarkSector.mjs +152 -0
  40. package/dist/lib/models/DarkSectorBattle.d.mts +1 -1
  41. package/dist/lib/models/DarkSectorBattle.mjs +48 -0
  42. package/dist/lib/models/DuviriCycle.d.mts +1 -1
  43. package/dist/lib/models/DuviriCycle.mjs +20 -0
  44. package/dist/lib/models/EarthCycle.d.mts +1 -1
  45. package/dist/lib/models/EarthCycle.mjs +21 -0
  46. package/dist/lib/models/Fissure.d.mts +1 -1
  47. package/dist/lib/models/Fissure.mjs +49 -0
  48. package/dist/lib/models/FlashSale.d.mts +1 -1
  49. package/dist/lib/models/FlashSale.mjs +46 -0
  50. package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
  51. package/dist/lib/models/GlobalUpgrade.mjs +23 -0
  52. package/dist/lib/models/Invasion.d.mts +1 -1
  53. package/dist/lib/models/Invasion.mjs +68 -0
  54. package/dist/lib/models/Kinepage.d.mts +1 -1
  55. package/dist/lib/models/Kinepage.mjs +24 -0
  56. package/dist/lib/models/Kuva.d.mts +1 -1
  57. package/dist/lib/models/Kuva.mjs +25 -0
  58. package/dist/lib/models/MidrathCycle.d.mts +1 -1
  59. package/dist/lib/models/MidrathCycle.mjs +13 -0
  60. package/dist/lib/models/Mission.d.mts +1 -1
  61. package/dist/lib/models/Mission.mjs +150 -0
  62. package/dist/lib/models/News.d.mts +1 -1
  63. package/dist/lib/models/News.mjs +63 -1
  64. package/dist/lib/models/Nightwave.d.mts +1 -1
  65. package/dist/lib/models/Nightwave.mjs +50 -0
  66. package/dist/lib/models/NightwaveChallenge.d.mts +1 -1
  67. package/dist/lib/models/NightwaveChallenge.mjs +34 -0
  68. package/dist/lib/models/PersistentEnemy.d.mts +1 -1
  69. package/dist/lib/models/PersistentEnemy.mjs +62 -0
  70. package/dist/lib/models/Reward.d.mts +1 -1
  71. package/dist/lib/models/Reward.mjs +50 -0
  72. package/dist/lib/models/SentientOutpost.d.mts +1 -1
  73. package/dist/lib/models/SentientOutpost.mjs +44 -0
  74. package/dist/lib/models/Simaris.d.mts +1 -1
  75. package/dist/lib/models/Simaris.mjs +13 -0
  76. package/dist/lib/models/Sortie.d.mts +1 -1
  77. package/dist/lib/models/Sortie.mjs +44 -0
  78. package/dist/lib/models/SortieVariant.d.mts +1 -1
  79. package/dist/lib/models/SortieVariant.mjs +33 -0
  80. package/dist/lib/models/SteelPathOffering.d.mts +1 -1
  81. package/dist/lib/models/SteelPathOffering.mjs +83 -0
  82. package/dist/lib/models/SyndicateJob.d.mts +1 -1
  83. package/dist/lib/models/SyndicateJob.mjs +73 -0
  84. package/dist/lib/models/SyndicateMission.d.mts +1 -1
  85. package/dist/lib/models/SyndicateMission.mjs +33 -0
  86. package/dist/lib/models/Tmp.d.mts +1 -1
  87. package/dist/lib/models/Tmp.mjs +43 -0
  88. package/dist/lib/models/VallisCycle.d.mts +1 -1
  89. package/dist/lib/models/VallisCycle.mjs +13 -0
  90. package/dist/lib/models/VoidTrader.d.mts +1 -1
  91. package/dist/lib/models/VoidTrader.mjs +54 -0
  92. package/dist/lib/models/VoidTraderItem.d.mts +1 -1
  93. package/dist/lib/models/VoidTraderItem.mjs +25 -0
  94. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
  95. package/dist/lib/models/VoidTraderSchedule.mjs +19 -0
  96. package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
  97. package/dist/lib/models/WeeklyChallenge.mjs +17 -0
  98. package/dist/lib/models/WorldEvent.d.mts +1 -1
  99. package/dist/lib/models/WorldEvent.mjs +263 -0
  100. package/dist/lib/models/WorldStateObject.d.mts +1 -1
  101. package/dist/lib/models/WorldStateObject.mjs +28 -0
  102. package/dist/lib/models/ZarimanCycle.d.mts +1 -1
  103. package/dist/lib/models/ZarimanCycle.mjs +18 -0
  104. package/dist/lib/models/index.d.mts +17 -17
  105. package/dist/lib/supporting/Dependency.d.mts +1 -1
  106. package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
  107. package/dist/lib/supporting/DuviriChoice.mjs +31 -0
  108. package/dist/lib/supporting/ExternalMission.d.mts +1 -1
  109. package/dist/lib/supporting/FetchProxy.d.mts +1 -1
  110. package/dist/lib/supporting/ImgCdn.d.mts +1 -1
  111. package/dist/lib/supporting/KuvaLogEntry.d.mts +1 -1
  112. package/dist/lib/supporting/RewardData.d.mts +1 -1
  113. package/dist/lib/supporting/RewardTypes.d.mts +1 -1
  114. package/dist/lib/supporting/index.d.mts +8 -8
  115. package/dist/main.d.mts +24 -24
  116. package/package.json +7 -1
  117. /package/dist/{FetchProxy-DHSI4JPP.d.mts → FetchProxy-Bgoi37sM.d.mts} +0 -0
  118. /package/dist/{ImgCdn-DIhZrwap.d.mts → ImgCdn-By4Qj9kk.d.mts} +0 -0
  119. /package/dist/{Kinepage-CKBuvbv5.d.mts → Kinepage-BDZm950n.d.mts} +0 -0
  120. /package/dist/{KuvaLogEntry-f4ZBn2Xf.d.mts → KuvaLogEntry-B0SaM7MX.d.mts} +0 -0
  121. /package/dist/{RewardData-BdtdUFnh.d.mts → RewardData-B5TstL-h.d.mts} +0 -0
  122. /package/dist/{RewardTypes-BnGaD7VF.d.mts → RewardTypes-DMW4dYrB.d.mts} +0 -0
  123. /package/dist/{WorldStateObject-C2KjQZjd.d.mts → WorldStateObject-BgeCocs9.d.mts} +0 -0
@@ -1,5 +1,8 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { Reward } from "./Reward.mjs";
2
3
  import { WorldStateObject } from "./WorldStateObject.mjs";
4
+ import { ApiProperty } from "@nestjs/swagger";
5
+ import { IsArray, IsBoolean, IsInt, IsNumber, IsString, ValidateNested } from "class-validator";
3
6
  import { faction, languageString, node, timeDeltaToString, toNow } from "warframe-worldstate-data/utilities";
4
7
  //#region lib/models/Invasion.ts
5
8
  /**
@@ -102,5 +105,70 @@ var Invasion = class extends WorldStateObject {
102
105
  return (this.requiredRuns - completedRuns) * (elapsedMillis / completedRuns);
103
106
  }
104
107
  };
108
+ __decorate([
109
+ ApiProperty({ description: "Localized node name where invasion is occurring" }),
110
+ IsString(),
111
+ __decorateMetadata("design:type", String)
112
+ ], Invasion.prototype, "node", void 0);
113
+ __decorate([
114
+ ApiProperty({ description: "Unlocalized node key" }),
115
+ IsString(),
116
+ __decorateMetadata("design:type", String)
117
+ ], Invasion.prototype, "nodeKey", void 0);
118
+ __decorate([
119
+ ApiProperty({ description: "Invasion description" }),
120
+ IsString(),
121
+ __decorateMetadata("design:type", String)
122
+ ], Invasion.prototype, "desc", void 0);
123
+ __decorate([
124
+ ApiProperty({
125
+ description: "Attacker information",
126
+ type: "object"
127
+ }),
128
+ ValidateNested(),
129
+ __decorateMetadata("design:type", Object)
130
+ ], Invasion.prototype, "attacker", void 0);
131
+ __decorate([
132
+ ApiProperty({
133
+ description: "Defender information",
134
+ type: "object"
135
+ }),
136
+ ValidateNested(),
137
+ __decorateMetadata("design:type", Object)
138
+ ], Invasion.prototype, "defender", void 0);
139
+ __decorate([
140
+ ApiProperty({ description: "Whether this is an infestation invasion" }),
141
+ IsBoolean(),
142
+ __decorateMetadata("design:type", Boolean)
143
+ ], Invasion.prototype, "vsInfestation", void 0);
144
+ __decorate([
145
+ ApiProperty({ description: "Signed count of completed runs" }),
146
+ IsInt(),
147
+ __decorateMetadata("design:type", Number)
148
+ ], Invasion.prototype, "count", void 0);
149
+ __decorate([
150
+ ApiProperty({ description: "Number of runs required to win" }),
151
+ IsInt(),
152
+ __decorateMetadata("design:type", Number)
153
+ ], Invasion.prototype, "requiredRuns", void 0);
154
+ __decorate([
155
+ ApiProperty({ description: "Completion percentage (0-100)" }),
156
+ IsNumber(),
157
+ __decorateMetadata("design:type", Number)
158
+ ], Invasion.prototype, "completion", void 0);
159
+ __decorate([
160
+ ApiProperty({ description: "Whether the invasion is completed" }),
161
+ IsBoolean(),
162
+ __decorateMetadata("design:type", Boolean)
163
+ ], Invasion.prototype, "completed", void 0);
164
+ __decorate([
165
+ ApiProperty({
166
+ description: "Types of rewards offered",
167
+ type: [String]
168
+ }),
169
+ IsArray(),
170
+ IsString({ each: true }),
171
+ __decorateMetadata("design:type", Array)
172
+ ], Invasion.prototype, "rewardTypes", void 0);
105
173
  //#endregion
106
174
  export { Invasion };
@@ -1,2 +1,2 @@
1
- import { t as Kinepage } from "../../Kinepage-CKBuvbv5.mjs";
1
+ import { t as Kinepage } from "../../Kinepage-BDZm950n.mjs";
2
2
  export { Kinepage };
@@ -1,4 +1,9 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
2
+ import { ApiProperty } from "@nestjs/swagger";
3
+ import { Type } from "class-transformer";
4
+ import { IsDate, IsObject, IsString } from "class-validator";
1
5
  //#region lib/models/Kinepage.ts
6
+ var _ref;
2
7
  var Kinepage = class {
3
8
  /**
4
9
  * Timestamp of when the message appeared on
@@ -19,5 +24,24 @@ var Kinepage = class {
19
24
  this.translations = Object.fromEntries(Object.entries(translations).filter(([key]) => key !== locale));
20
25
  }
21
26
  };
27
+ __decorate([
28
+ ApiProperty({
29
+ description: "Timestamp of when the message appeared on",
30
+ type: Date
31
+ }),
32
+ IsDate(),
33
+ Type(() => Date),
34
+ __decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
35
+ ], Kinepage.prototype, "timestamp", void 0);
36
+ __decorate([
37
+ ApiProperty({ description: "The message itself" }),
38
+ IsString(),
39
+ __decorateMetadata("design:type", String)
40
+ ], Kinepage.prototype, "message", void 0);
41
+ __decorate([
42
+ ApiProperty({ description: "Message translations" }),
43
+ IsObject(),
44
+ __decorateMetadata("design:type", Object)
45
+ ], Kinepage.prototype, "translations", void 0);
22
46
  //#endregion
23
47
  export { Kinepage };
@@ -1,2 +1,2 @@
1
- import { O as Kuva } from "../../index-C4EJ_Mpd.mjs";
1
+ import { O as Kuva } from "../../index-BK5W1mAn.mjs";
2
2
  export { Kuva };
@@ -1,4 +1,8 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { createHash } from "node:crypto";
3
+ import { ApiPropertyOptional } from "@nestjs/swagger";
4
+ import { Type } from "class-transformer";
5
+ import { IsArray, IsOptional, ValidateNested } from "class-validator";
2
6
  import { node, nodeMissionType } from "warframe-worldstate-data/utilities";
3
7
  //#region lib/models/Kuva.ts
4
8
  const HOURS_2 = 72e5;
@@ -81,5 +85,26 @@ var Kuva = class {
81
85
  }
82
86
  }
83
87
  };
88
+ __decorate([
89
+ ApiPropertyOptional({
90
+ description: "Currently active kuva missions",
91
+ type: [Object]
92
+ }),
93
+ IsOptional(),
94
+ IsArray(),
95
+ ValidateNested({ each: true }),
96
+ Type(() => Object),
97
+ __decorateMetadata("design:type", Array)
98
+ ], Kuva.prototype, "kuva", void 0);
99
+ __decorate([
100
+ ApiPropertyOptional({
101
+ description: "Current arbitration mission",
102
+ type: Object
103
+ }),
104
+ IsOptional(),
105
+ ValidateNested(),
106
+ Type(() => Object),
107
+ __decorateMetadata("design:type", Object)
108
+ ], Kuva.prototype, "arbitration", void 0);
84
109
  //#endregion
85
110
  export { Kuva };
@@ -1,2 +1,2 @@
1
- import { t as MidrathCycle } from "../../MidrathCycle-CxveqDtx.mjs";
1
+ import { t as MidrathCycle } from "../../MidrathCycle-UgLh7wgF.mjs";
2
2
  export { MidrathCycle };
@@ -1,5 +1,8 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
3
  import { createHash } from "node:crypto";
4
+ import { ApiProperty } from "@nestjs/swagger";
5
+ import { IsBoolean, IsString } from "class-validator";
3
6
  import { fromNow, timeDeltaToString } from "warframe-worldstate-data/utilities";
4
7
  //#region lib/models/MidrathCycle.ts
5
8
  /**
@@ -62,5 +65,15 @@ var MidrathCycle = class extends WorldStateObject {
62
65
  return timeDeltaToString(fromNow(this.expiry));
63
66
  }
64
67
  };
68
+ __decorate([
69
+ ApiProperty({ description: "Whether it's day or not" }),
70
+ IsBoolean(),
71
+ __decorateMetadata("design:type", Boolean)
72
+ ], MidrathCycle.prototype, "isDay", void 0);
73
+ __decorate([
74
+ ApiProperty({ description: "The current state" }),
75
+ IsString(),
76
+ __decorateMetadata("design:type", String)
77
+ ], MidrathCycle.prototype, "state", void 0);
65
78
  //#endregion
66
79
  export { MidrathCycle };
@@ -1,2 +1,2 @@
1
- import { at as RawMission, it as Mission } from "../../index-C4EJ_Mpd.mjs";
1
+ import { at as RawMission, it as Mission } from "../../index-BK5W1mAn.mjs";
2
2
  export { Mission, RawMission };
@@ -1,6 +1,11 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { Reward } from "./Reward.mjs";
3
+ import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
4
+ import { Type } from "class-transformer";
5
+ import { IsArray, IsBoolean, IsInt, IsOptional, IsString, Min, ValidateNested } from "class-validator";
2
6
  import { faction, insist, languageString, missionType, node } from "warframe-worldstate-data/utilities";
3
7
  //#region lib/models/Mission.ts
8
+ var _ref;
4
9
  /**
5
10
  * Represents an in-game mission
6
11
  */
@@ -134,5 +139,150 @@ var Mission = class {
134
139
  this.exclusiveWeapon = languageString(data.exclusiveWeapon, locale);
135
140
  }
136
141
  };
142
+ __decorate([
143
+ ApiProperty({ description: "Mission description" }),
144
+ IsString(),
145
+ __decorateMetadata("design:type", String)
146
+ ], Mission.prototype, "description", void 0);
147
+ __decorate([
148
+ ApiProperty({ description: "Localized mission node name" }),
149
+ IsString(),
150
+ __decorateMetadata("design:type", String)
151
+ ], Mission.prototype, "node", void 0);
152
+ __decorate([
153
+ ApiProperty({ description: "Unlocalized mission node key" }),
154
+ IsString(),
155
+ __decorateMetadata("design:type", String)
156
+ ], Mission.prototype, "nodeKey", void 0);
157
+ __decorate([
158
+ ApiProperty({ description: "Localized mission type" }),
159
+ IsString(),
160
+ __decorateMetadata("design:type", String)
161
+ ], Mission.prototype, "type", void 0);
162
+ __decorate([
163
+ ApiProperty({ description: "Unlocalized mission type key" }),
164
+ IsString(),
165
+ __decorateMetadata("design:type", String)
166
+ ], Mission.prototype, "typeKey", void 0);
167
+ __decorate([
168
+ ApiProperty({ description: "Localized faction name" }),
169
+ IsString(),
170
+ __decorateMetadata("design:type", String)
171
+ ], Mission.prototype, "faction", void 0);
172
+ __decorate([
173
+ ApiProperty({ description: "Unlocalized faction key" }),
174
+ IsString(),
175
+ __decorateMetadata("design:type", String)
176
+ ], Mission.prototype, "factionKey", void 0);
177
+ __decorate([
178
+ ApiPropertyOptional({
179
+ description: "Mission rewards",
180
+ type: () => Reward
181
+ }),
182
+ IsOptional(),
183
+ ValidateNested(),
184
+ Type(() => Reward),
185
+ __decorateMetadata("design:type", typeof (_ref = typeof Reward !== "undefined" && Reward) === "function" ? _ref : Object)
186
+ ], Mission.prototype, "reward", void 0);
187
+ __decorate([
188
+ ApiProperty({ description: "Minimum enemy level" }),
189
+ IsInt(),
190
+ Min(0),
191
+ __decorateMetadata("design:type", Number)
192
+ ], Mission.prototype, "minEnemyLevel", void 0);
193
+ __decorate([
194
+ ApiProperty({ description: "Maximum enemy level" }),
195
+ IsInt(),
196
+ Min(0),
197
+ __decorateMetadata("design:type", Number)
198
+ ], Mission.prototype, "maxEnemyLevel", void 0);
199
+ __decorate([
200
+ ApiPropertyOptional({ description: "Maximum wave number (for wave-based missions)" }),
201
+ IsOptional(),
202
+ IsInt(),
203
+ Min(0),
204
+ __decorateMetadata("design:type", Number)
205
+ ], Mission.prototype, "maxWaveNum", void 0);
206
+ __decorate([
207
+ ApiProperty({ description: "Whether this is a nightmare mission" }),
208
+ IsBoolean(),
209
+ __decorateMetadata("design:type", Boolean)
210
+ ], Mission.prototype, "nightmare", void 0);
211
+ __decorate([
212
+ ApiProperty({ description: "Whether archwing is required" }),
213
+ IsBoolean(),
214
+ __decorateMetadata("design:type", Boolean)
215
+ ], Mission.prototype, "archwingRequired", void 0);
216
+ __decorate([
217
+ ApiProperty({ description: "Whether sharkwing is required" }),
218
+ IsBoolean(),
219
+ __decorateMetadata("design:type", Boolean)
220
+ ], Mission.prototype, "isSharkwing", void 0);
221
+ __decorate([
222
+ ApiProperty({ description: "Level override for the mission" }),
223
+ IsString(),
224
+ __decorateMetadata("design:type", String)
225
+ ], Mission.prototype, "levelOverride", void 0);
226
+ __decorate([
227
+ ApiProperty({ description: "Enemy specification" }),
228
+ IsString(),
229
+ __decorateMetadata("design:type", String)
230
+ ], Mission.prototype, "enemySpec", void 0);
231
+ __decorate([
232
+ ApiProperty({
233
+ description: "Advanced spawners for the mission",
234
+ type: [String]
235
+ }),
236
+ IsArray(),
237
+ IsString({ each: true }),
238
+ __decorateMetadata("design:type", Array)
239
+ ], Mission.prototype, "advancedSpawners", void 0);
240
+ __decorate([
241
+ ApiProperty({
242
+ description: "Items required to enter the mission",
243
+ type: [String]
244
+ }),
245
+ IsArray(),
246
+ IsString({ each: true }),
247
+ __decorateMetadata("design:type", Array)
248
+ ], Mission.prototype, "requiredItems", void 0);
249
+ __decorate([
250
+ ApiPropertyOptional({ description: "Whether required items are consumed" }),
251
+ IsOptional(),
252
+ IsBoolean(),
253
+ __decorateMetadata("design:type", Boolean)
254
+ ], Mission.prototype, "consumeRequiredItems", void 0);
255
+ __decorate([
256
+ ApiPropertyOptional({ description: "VIP target for the mission" }),
257
+ IsOptional(),
258
+ IsString(),
259
+ __decorateMetadata("design:type", String)
260
+ ], Mission.prototype, "target", void 0);
261
+ __decorate([
262
+ ApiPropertyOptional({ description: "Whether leaders are always allowed" }),
263
+ IsOptional(),
264
+ IsBoolean(),
265
+ __decorateMetadata("design:type", Boolean)
266
+ ], Mission.prototype, "leadersAlwaysAllowed", void 0);
267
+ __decorate([
268
+ ApiPropertyOptional({ description: "Event goal tag" }),
269
+ IsOptional(),
270
+ IsString(),
271
+ __decorateMetadata("design:type", String)
272
+ ], Mission.prototype, "goalTag", void 0);
273
+ __decorate([
274
+ ApiProperty({
275
+ description: "Level auras affecting the mission",
276
+ type: [String]
277
+ }),
278
+ IsArray(),
279
+ IsString({ each: true }),
280
+ __decorateMetadata("design:type", Array)
281
+ ], Mission.prototype, "levelAuras", void 0);
282
+ __decorate([
283
+ ApiProperty({ description: "Exclusive weapon allowed for the mission" }),
284
+ IsString(),
285
+ __decorateMetadata("design:type", String)
286
+ ], Mission.prototype, "exclusiveWeapon", void 0);
137
287
  //#endregion
138
288
  export { Mission };
@@ -1,2 +1,2 @@
1
- import { n as RawNews, t as News } from "../../News-CJ3lD7_g.mjs";
1
+ import { n as RawNews, t as News } from "../../News-CmoQ_nEf.mjs";
2
2
  export { News, RawNews };
@@ -1,7 +1,12 @@
1
1
  import { cdn, deProxy } from "../supporting/ImgCdn.mjs";
2
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
2
3
  import { WorldStateObject } from "./WorldStateObject.mjs";
4
+ import { ApiProperty } from "@nestjs/swagger";
5
+ import { Type } from "class-transformer";
6
+ import { IsBoolean, IsDate, IsObject, IsString } from "class-validator";
3
7
  import { fromNow, languageString, parseDate, timeDeltaToString, toNow } from "warframe-worldstate-data/utilities";
4
8
  //#region lib/models/News.ts
9
+ var _ref, _ref2;
5
10
  const updateReg = /(update|hotfix|patch-notes)/i;
6
11
  const primeAccessReg = /(access)/i;
7
12
  const streamReg = /(devstream|prime-time|warframeinternational|stream)/i;
@@ -64,7 +69,7 @@ var News = class extends WorldStateObject {
64
69
  this.message = (data.Messages.find((msg) => msg.LanguageCode === locale) || { Message: "" }).Message;
65
70
  if (langString.test(this.message)) this.message = languageString(this.message, locale);
66
71
  this.link = data.Prop;
67
- if ((!this.link || !this.link.length) && data.Links && data.Links.length) this.link = (data.Links.find((l) => l.LanguageCode === locale) || { Link: "https://www.warframe.com/" }).Link;
72
+ if (!this.link?.length && data.Links && data.Links.length) this.link = (data.Links.find((l) => l.LanguageCode === locale) || { Link: "https://www.warframe.com/" }).Link;
68
73
  this.imageLink = data.ImageUrl ? deProxy(data.ImageUrl) : cdn("img/news-placeholder.png");
69
74
  this.priority = data.Priority;
70
75
  this.date = parseDate(data.Date);
@@ -112,5 +117,62 @@ var News = class extends WorldStateObject {
112
117
  return langCode in this.translations ? this.translations[langCode] : this.message;
113
118
  }
114
119
  };
120
+ __decorate([
121
+ ApiProperty({ description: "News message content" }),
122
+ IsString(),
123
+ __decorateMetadata("design:type", String)
124
+ ], News.prototype, "message", void 0);
125
+ __decorate([
126
+ ApiProperty({ description: "Link to the forum post or article" }),
127
+ IsString(),
128
+ __decorateMetadata("design:type", String)
129
+ ], News.prototype, "link", void 0);
130
+ __decorate([
131
+ ApiProperty({ description: "Image URL for the news item" }),
132
+ IsString(),
133
+ __decorateMetadata("design:type", String)
134
+ ], News.prototype, "imageLink", void 0);
135
+ __decorate([
136
+ ApiProperty({ description: "Whether this news has priority" }),
137
+ IsBoolean(),
138
+ __decorateMetadata("design:type", Boolean)
139
+ ], News.prototype, "priority", void 0);
140
+ __decorate([
141
+ ApiProperty({
142
+ description: "Publication date",
143
+ type: Date
144
+ }),
145
+ IsDate(),
146
+ Type(() => Date),
147
+ __decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
148
+ ], News.prototype, "date", void 0);
149
+ __decorate([
150
+ ApiProperty({
151
+ description: "Translations of the message",
152
+ type: "object"
153
+ }),
154
+ IsObject(),
155
+ __decorateMetadata("design:type", typeof (_ref2 = typeof Record !== "undefined" && Record) === "function" ? _ref2 : Object)
156
+ ], News.prototype, "translations", void 0);
157
+ __decorate([
158
+ ApiProperty({ description: "Whether this is a game update announcement" }),
159
+ IsBoolean(),
160
+ __decorateMetadata("design:type", Boolean)
161
+ ], News.prototype, "update", void 0);
162
+ __decorate([
163
+ ApiProperty({ description: "Whether this is a Prime Access announcement" }),
164
+ IsBoolean(),
165
+ __decorateMetadata("design:type", Boolean)
166
+ ], News.prototype, "primeAccess", void 0);
167
+ __decorate([
168
+ ApiProperty({ description: "Whether this is a stream announcement" }),
169
+ IsBoolean(),
170
+ __decorateMetadata("design:type", Boolean)
171
+ ], News.prototype, "stream", void 0);
172
+ __decorate([
173
+ ApiProperty({ description: "Whether this news is mobile-only" }),
174
+ IsBoolean(),
175
+ __decorateMetadata("design:type", Boolean)
176
+ ], News.prototype, "mobileOnly", void 0);
115
177
  //#endregion
116
178
  export { News };
@@ -1,2 +1,2 @@
1
- import { n as RawNightwave, t as Nightwave } from "../../Nightwave-BLHH02ht.mjs";
1
+ import { n as RawNightwave, t as Nightwave } from "../../Nightwave-BBRJbyr8.mjs";
2
2
  export { Nightwave, RawNightwave };
@@ -1,7 +1,12 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
2
3
  import { NightwaveChallenge } from "./NightwaveChallenge.mjs";
4
+ import { ApiProperty } from "@nestjs/swagger";
5
+ import { Type } from "class-transformer";
6
+ import { IsArray, IsInt, IsObject, IsString, Min, ValidateNested } from "class-validator";
3
7
  import { fromNow, languageString, timeDeltaToString } from "warframe-worldstate-data/utilities";
4
8
  //#region lib/models/Nightwave.ts
9
+ var _ref;
5
10
  /**
6
11
  * Represents a nightwave state
7
12
  * @augments {WorldStateObject}
@@ -54,5 +59,50 @@ var Nightwave = class extends WorldStateObject {
54
59
  return timeDeltaToString(fromNow(this.expiry));
55
60
  }
56
61
  };
62
+ __decorate([
63
+ ApiProperty({ description: "The current season (0-indexed)" }),
64
+ IsInt(),
65
+ Min(0),
66
+ __decorateMetadata("design:type", Number)
67
+ ], Nightwave.prototype, "season", void 0);
68
+ __decorate([
69
+ ApiProperty({ description: "Descriptor for affiliation" }),
70
+ IsString(),
71
+ __decorateMetadata("design:type", String)
72
+ ], Nightwave.prototype, "tag", void 0);
73
+ __decorate([
74
+ ApiProperty({ description: "The current season's current phase (0-indexed)" }),
75
+ IsInt(),
76
+ Min(0),
77
+ __decorateMetadata("design:type", Number)
78
+ ], Nightwave.prototype, "phase", void 0);
79
+ __decorate([
80
+ ApiProperty({
81
+ description: "Miscellaneous parameters provided",
82
+ type: "object"
83
+ }),
84
+ IsObject(),
85
+ __decorateMetadata("design:type", typeof (_ref = typeof Record !== "undefined" && Record) === "function" ? _ref : Object)
86
+ ], Nightwave.prototype, "params", void 0);
87
+ __decorate([
88
+ ApiProperty({
89
+ description: "Array of possible challenges",
90
+ type: [NightwaveChallenge]
91
+ }),
92
+ IsArray(),
93
+ ValidateNested({ each: true }),
94
+ Type(() => NightwaveChallenge),
95
+ __decorateMetadata("design:type", Array)
96
+ ], Nightwave.prototype, "possibleChallenges", void 0);
97
+ __decorate([
98
+ ApiProperty({
99
+ description: "Array of active challenges",
100
+ type: [NightwaveChallenge]
101
+ }),
102
+ IsArray(),
103
+ ValidateNested({ each: true }),
104
+ Type(() => NightwaveChallenge),
105
+ __decorateMetadata("design:type", Array)
106
+ ], Nightwave.prototype, "activeChallenges", void 0);
57
107
  //#endregion
58
108
  export { Nightwave };
@@ -1,2 +1,2 @@
1
- import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "../../NightwaveChallenge-j_m4hVQU.mjs";
1
+ import { n as RawNightwaveChallenge, t as NightwaveChallenge } from "../../NightwaveChallenge-C6J7ymli.mjs";
2
2
  export { NightwaveChallenge, RawNightwaveChallenge };
@@ -1,4 +1,7 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
+ import { ApiProperty } from "@nestjs/swagger";
4
+ import { IsBoolean, IsInt, IsString, Min } from "class-validator";
2
5
  import { languageDesc, languageString } from "warframe-worldstate-data/utilities";
3
6
  //#region lib/models/NightwaveChallenge.ts
4
7
  const repBase = 1e3;
@@ -47,5 +50,36 @@ var NightwaveChallenge = class extends WorldStateObject {
47
50
  this.isPermanent = Boolean(data?.Permanent);
48
51
  }
49
52
  };
53
+ __decorate([
54
+ ApiProperty({ description: "Whether or not this is a daily challenge" }),
55
+ IsBoolean(),
56
+ __decorateMetadata("design:type", Boolean)
57
+ ], NightwaveChallenge.prototype, "isDaily", void 0);
58
+ __decorate([
59
+ ApiProperty({ description: "Whether or not the challenge is an elite challenge" }),
60
+ IsBoolean(),
61
+ __decorateMetadata("design:type", Boolean)
62
+ ], NightwaveChallenge.prototype, "isElite", void 0);
63
+ __decorate([
64
+ ApiProperty({ description: "The description for this challenge" }),
65
+ IsString(),
66
+ __decorateMetadata("design:type", String)
67
+ ], NightwaveChallenge.prototype, "desc", void 0);
68
+ __decorate([
69
+ ApiProperty({ description: "The title for this challenge" }),
70
+ IsString(),
71
+ __decorateMetadata("design:type", String)
72
+ ], NightwaveChallenge.prototype, "title", void 0);
73
+ __decorate([
74
+ ApiProperty({ description: "Reputation reward for ranking up in the Nightwave" }),
75
+ IsInt(),
76
+ Min(0),
77
+ __decorateMetadata("design:type", Number)
78
+ ], NightwaveChallenge.prototype, "reputation", void 0);
79
+ __decorate([
80
+ ApiProperty({ description: "Whether this challenge is permanent" }),
81
+ IsBoolean(),
82
+ __decorateMetadata("design:type", Boolean)
83
+ ], NightwaveChallenge.prototype, "isPermanent", void 0);
50
84
  //#endregion
51
85
  export { NightwaveChallenge };
@@ -1,2 +1,2 @@
1
- import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-BJ4twtUY.mjs";
1
+ import { n as RawPersistentEnemy, t as PersistentEnemy } from "../../PersistentEnemy-WkvIZ9Mx.mjs";
2
2
  export { PersistentEnemy, RawPersistentEnemy };
@@ -1,6 +1,11 @@
1
+ import { n as __decorateMetadata, t as __decorate } from "../../decorate-CltSo06_.mjs";
1
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
+ import { ApiProperty } from "@nestjs/swagger";
4
+ import { Type } from "class-transformer";
5
+ import { IsBoolean, IsDate, IsInt, IsNumber, IsString, Min } from "class-validator";
2
6
  import { languageString, node, parseDate, region } from "warframe-worldstate-data/utilities";
3
7
  //#region lib/models/PersistentEnemy.ts
8
+ var _ref;
4
9
  /**
5
10
  * Represents a persistent enemy
6
11
  * @augments {WorldStateObject}
@@ -70,5 +75,62 @@ var PersistentEnemy = class extends WorldStateObject {
70
75
  this.pid = `${this.id}${this.isDiscovered}`;
71
76
  }
72
77
  };
78
+ __decorate([
79
+ ApiProperty({ description: "The enemy's type" }),
80
+ IsString(),
81
+ __decorateMetadata("design:type", String)
82
+ ], PersistentEnemy.prototype, "agentType", void 0);
83
+ __decorate([
84
+ ApiProperty({ description: "The location tag" }),
85
+ IsString(),
86
+ __decorateMetadata("design:type", String)
87
+ ], PersistentEnemy.prototype, "locationTag", void 0);
88
+ __decorate([
89
+ ApiProperty({ description: "The enemy's rank" }),
90
+ IsInt(),
91
+ Min(0),
92
+ __decorateMetadata("design:type", Number)
93
+ ], PersistentEnemy.prototype, "rank", void 0);
94
+ __decorate([
95
+ ApiProperty({ description: "The enemy's remaining health percentage" }),
96
+ IsNumber(),
97
+ Min(0),
98
+ __decorateMetadata("design:type", Number)
99
+ ], PersistentEnemy.prototype, "healthPercent", void 0);
100
+ __decorate([
101
+ ApiProperty({ description: "The percentual damage that the enemy takes when it's defeated" }),
102
+ IsNumber(),
103
+ __decorateMetadata("design:type", Number)
104
+ ], PersistentEnemy.prototype, "fleeDamage", void 0);
105
+ __decorate([ApiProperty({ description: "The region where the enemy is located" }), __decorateMetadata("design:type", Object)], PersistentEnemy.prototype, "region", void 0);
106
+ __decorate([
107
+ ApiProperty({
108
+ description: "The last time the enemy was discovered",
109
+ type: Date
110
+ }),
111
+ IsDate(),
112
+ Type(() => Date),
113
+ __decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
114
+ ], PersistentEnemy.prototype, "lastDiscoveredTime", void 0);
115
+ __decorate([
116
+ ApiProperty({ description: "The node at which the enemy was last discovered" }),
117
+ IsString(),
118
+ __decorateMetadata("design:type", String)
119
+ ], PersistentEnemy.prototype, "lastDiscoveredAt", void 0);
120
+ __decorate([
121
+ ApiProperty({ description: "Whether or not the enemy is currently available" }),
122
+ IsBoolean(),
123
+ __decorateMetadata("design:type", Boolean)
124
+ ], PersistentEnemy.prototype, "isDiscovered", void 0);
125
+ __decorate([
126
+ ApiProperty({ description: "Whether or not the enemy is using ticketing" }),
127
+ IsBoolean(),
128
+ __decorateMetadata("design:type", Boolean)
129
+ ], PersistentEnemy.prototype, "isUsingTicketing", void 0);
130
+ __decorate([
131
+ ApiProperty({ description: "Fake ID incorporating discovery" }),
132
+ IsString(),
133
+ __decorateMetadata("design:type", String)
134
+ ], PersistentEnemy.prototype, "pid", void 0);
73
135
  //#endregion
74
136
  export { PersistentEnemy };
@@ -1,2 +1,2 @@
1
- import { ct as getItemType, lt as getItemTypeFull, ot as RawReward, st as Reward } from "../../index-C4EJ_Mpd.mjs";
1
+ import { ct as getItemType, lt as getItemTypeFull, ot as RawReward, st as Reward } from "../../index-BK5W1mAn.mjs";
2
2
  export { RawReward, Reward, getItemType, getItemTypeFull };