warframe-worldstate-parser 5.3.5 → 5.3.7

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 (78) hide show
  1. package/dist/{index-BiofND5v.d.mts → index-BBJQtZk1.d.mts} +3 -3
  2. package/dist/lib/WorldState.d.mts +1 -1
  3. package/dist/lib/WorldState.mjs +1 -141
  4. package/dist/lib/models/Alert.d.mts +1 -1
  5. package/dist/lib/models/Alert.mjs +0 -10
  6. package/dist/lib/models/Archimedea.d.mts +1 -1
  7. package/dist/lib/models/Archimedea.mjs +17 -102
  8. package/dist/lib/models/CambionCycle.mjs +2 -11
  9. package/dist/lib/models/CetusCycle.mjs +4 -24
  10. package/dist/lib/models/ChallengeInstance.d.mts +1 -1
  11. package/dist/lib/models/ChallengeInstance.mjs +1 -11
  12. package/dist/lib/models/ConclaveChallenge.d.mts +1 -1
  13. package/dist/lib/models/ConclaveChallenge.mjs +7 -32
  14. package/dist/lib/models/ConstructionProgress.mjs +3 -16
  15. package/dist/lib/models/DailyDeal.d.mts +1 -1
  16. package/dist/lib/models/DailyDeal.mjs +3 -21
  17. package/dist/lib/models/DarkSector.d.mts +1 -1
  18. package/dist/lib/models/DarkSector.mjs +12 -79
  19. package/dist/lib/models/DarkSectorBattle.mjs +5 -34
  20. package/dist/lib/models/DuviriCycle.d.mts +1 -1
  21. package/dist/lib/models/DuviriCycle.mjs +1 -10
  22. package/dist/lib/models/EarthCycle.mjs +3 -19
  23. package/dist/lib/models/Fissure.d.mts +1 -1
  24. package/dist/lib/models/Fissure.mjs +9 -47
  25. package/dist/lib/models/FlashSale.d.mts +1 -1
  26. package/dist/lib/models/FlashSale.mjs +5 -29
  27. package/dist/lib/models/GlobalUpgrade.d.mts +1 -1
  28. package/dist/lib/models/GlobalUpgrade.mjs +4 -21
  29. package/dist/lib/models/Invasion.d.mts +1 -1
  30. package/dist/lib/models/Invasion.mjs +10 -61
  31. package/dist/lib/models/Kinepage.mjs +2 -15
  32. package/dist/lib/models/Kuva.d.mts +1 -1
  33. package/dist/lib/models/Kuva.mjs +0 -9
  34. package/dist/lib/models/MidrathCycle.mjs +2 -11
  35. package/dist/lib/models/Mission.d.mts +1 -1
  36. package/dist/lib/models/Mission.mjs +13 -89
  37. package/dist/lib/models/News.mjs +9 -53
  38. package/dist/lib/models/Nightwave.mjs +2 -24
  39. package/dist/lib/models/NightwaveChallenge.mjs +5 -27
  40. package/dist/lib/models/PersistentEnemy.mjs +7 -43
  41. package/dist/lib/models/Reward.d.mts +1 -1
  42. package/dist/lib/models/Reward.mjs +3 -38
  43. package/dist/lib/models/SentientOutpost.d.mts +1 -1
  44. package/dist/lib/models/SentientOutpost.mjs +4 -28
  45. package/dist/lib/models/Simaris.d.mts +1 -1
  46. package/dist/lib/models/Simaris.mjs +2 -11
  47. package/dist/lib/models/Sortie.d.mts +1 -1
  48. package/dist/lib/models/Sortie.mjs +4 -29
  49. package/dist/lib/models/SortieVariant.d.mts +1 -1
  50. package/dist/lib/models/SortieVariant.mjs +6 -31
  51. package/dist/lib/models/SteelPathOffering.mjs +5 -48
  52. package/dist/lib/models/SyndicateJob.d.mts +1 -1
  53. package/dist/lib/models/SyndicateJob.mjs +3 -36
  54. package/dist/lib/models/SyndicateMission.d.mts +1 -1
  55. package/dist/lib/models/SyndicateMission.mjs +2 -19
  56. package/dist/lib/models/Tmp.d.mts +1 -1
  57. package/dist/lib/models/Tmp.mjs +0 -31
  58. package/dist/lib/models/VallisCycle.mjs +2 -11
  59. package/dist/lib/models/VoidTrader.d.mts +1 -1
  60. package/dist/lib/models/VoidTrader.mjs +4 -33
  61. package/dist/lib/models/VoidTraderItem.d.mts +1 -1
  62. package/dist/lib/models/VoidTraderItem.mjs +2 -13
  63. package/dist/lib/models/VoidTraderSchedule.d.mts +1 -1
  64. package/dist/lib/models/VoidTraderSchedule.mjs +1 -10
  65. package/dist/lib/models/WeeklyChallenge.d.mts +1 -1
  66. package/dist/lib/models/WeeklyChallenge.mjs +0 -5
  67. package/dist/lib/models/WorldEvent.d.mts +1 -1
  68. package/dist/lib/models/WorldEvent.mjs +9 -111
  69. package/dist/lib/models/WorldStateObject.mjs +0 -10
  70. package/dist/lib/models/ZarimanCycle.mjs +3 -16
  71. package/dist/lib/models/index.d.mts +1 -1
  72. package/dist/lib/supporting/DuviriChoice.d.mts +1 -1
  73. package/dist/lib/supporting/DuviriChoice.mjs +2 -15
  74. package/dist/lib/supporting/ExternalMission.mjs +16 -99
  75. package/dist/lib/supporting/index.d.mts +1 -1
  76. package/dist/main.d.mts +1 -1
  77. package/dist/main.mjs +1 -0
  78. package/package.json +1 -2
@@ -1,5 +1,4 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
- import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
3
2
  import { IsInt, IsOptional, IsString, Min } from "class-validator";
4
3
  import { languageString } from "warframe-worldstate-data/utilities";
5
4
  //#region lib/models/ChallengeInstance.ts
@@ -45,37 +44,28 @@ var ChallengeInstance = class {
45
44
  this.target = data.VictimType?.[0] ? languageString(data.VictimType[0], locale) : data.Script?._faction;
46
45
  }
47
46
  };
47
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ChallengeInstance.prototype, "type", void 0);
48
48
  __decorate([
49
- ApiProperty({ description: "Type of challenge" }),
50
- IsString(),
51
- __decorateMetadata("design:type", String)
52
- ], ChallengeInstance.prototype, "type", void 0);
53
- __decorate([
54
- ApiProperty({ description: "Minimum enemy level to fulfill challenge" }),
55
49
  IsInt(),
56
50
  Min(0),
57
51
  __decorateMetadata("design:type", Number)
58
52
  ], ChallengeInstance.prototype, "minEnemyLevel", void 0);
59
53
  __decorate([
60
- ApiProperty({ description: "Required number of units to complete challenge" }),
61
54
  IsInt(),
62
55
  Min(0),
63
56
  __decorateMetadata("design:type", Number)
64
57
  ], ChallengeInstance.prototype, "requiredAmount", void 0);
65
58
  __decorate([
66
- ApiProperty({ description: "Waypoint for amount of units between progression updates" }),
67
59
  IsInt(),
68
60
  Min(0),
69
61
  __decorateMetadata("design:type", Number)
70
62
  ], ChallengeInstance.prototype, "progressAmount", void 0);
71
63
  __decorate([
72
- ApiPropertyOptional({ description: "Required damage type" }),
73
64
  IsOptional(),
74
65
  IsString(),
75
66
  __decorateMetadata("design:type", String)
76
67
  ], ChallengeInstance.prototype, "damageType", void 0);
77
68
  __decorate([
78
- ApiPropertyOptional({ description: "Target to fulfill challenge" }),
79
69
  IsOptional(),
80
70
  IsString(),
81
71
  __decorateMetadata("design:type", String)
@@ -1,2 +1,2 @@
1
- import { K as ConclaveChallenge, q as RawChallenge } from "../../index-BiofND5v.mjs";
1
+ import { K as ConclaveChallenge, q as RawChallenge } from "../../index-BBJQtZk1.mjs";
2
2
  export { ConclaveChallenge, RawChallenge };
@@ -1,6 +1,5 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
- import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
4
3
  import { IsBoolean, IsInt, IsOptional, IsString, Min } from "class-validator";
5
4
  import { conclaveCategory, conclaveChallenge, conclaveMode, fromNow, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
6
5
  //#region lib/models/ConclaveChallenge.ts
@@ -38,11 +37,11 @@ var ConclaveChallenge = class extends WorldStateObject {
38
37
  */
39
38
  standing;
40
39
  /**
41
- * Whether or not this is a daily conclave challenge.
40
+ * Whether this is a daily conclave challenge.
42
41
  */
43
42
  daily;
44
43
  /**
45
- * Whether or not this is the root challenge
44
+ * Whether this is the root challenge
46
45
  */
47
46
  rootChallenge;
48
47
  /**
@@ -77,54 +76,30 @@ var ConclaveChallenge = class extends WorldStateObject {
77
76
  }
78
77
  };
79
78
  __decorate([
80
- ApiProperty({ description: "The number of times that the challenge's objective needs to be completed" }),
81
79
  IsInt(),
82
80
  Min(0),
83
81
  __decorateMetadata("design:type", Number)
84
82
  ], ConclaveChallenge.prototype, "amount", void 0);
83
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ConclaveChallenge.prototype, "mode", void 0);
84
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ConclaveChallenge.prototype, "category", void 0);
85
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ConclaveChallenge.prototype, "categoryKey", void 0);
85
86
  __decorate([
86
- ApiProperty({ description: "The PVP mode that the challenge must be completed in" }),
87
- IsString(),
88
- __decorateMetadata("design:type", String)
89
- ], ConclaveChallenge.prototype, "mode", void 0);
90
- __decorate([
91
- ApiProperty({ description: "The challenge's category (daily, weekly...)" }),
92
- IsString(),
93
- __decorateMetadata("design:type", String)
94
- ], ConclaveChallenge.prototype, "category", void 0);
95
- __decorate([
96
- ApiProperty({ description: "The challenge category unlocalized" }),
97
- IsString(),
98
- __decorateMetadata("design:type", String)
99
- ], ConclaveChallenge.prototype, "categoryKey", void 0);
100
- __decorate([
101
- ApiPropertyOptional({ description: "The challenge's description text" }),
102
87
  IsOptional(),
103
88
  IsString(),
104
89
  __decorateMetadata("design:type", String)
105
90
  ], ConclaveChallenge.prototype, "description", void 0);
106
91
  __decorate([
107
- ApiPropertyOptional({ description: "Title of the challenge" }),
108
92
  IsOptional(),
109
93
  IsString(),
110
94
  __decorateMetadata("design:type", String)
111
95
  ], ConclaveChallenge.prototype, "title", void 0);
112
96
  __decorate([
113
- ApiPropertyOptional({ description: "Standing granted by completing challenge" }),
114
97
  IsOptional(),
115
98
  IsInt(),
116
99
  Min(0),
117
100
  __decorateMetadata("design:type", Number)
118
101
  ], ConclaveChallenge.prototype, "standing", void 0);
119
- __decorate([
120
- ApiProperty({ description: "Whether or not this is a daily conclave challenge" }),
121
- IsBoolean(),
122
- __decorateMetadata("design:type", Boolean)
123
- ], ConclaveChallenge.prototype, "daily", void 0);
124
- __decorate([
125
- ApiProperty({ description: "Whether or not this is the root challenge" }),
126
- IsBoolean(),
127
- __decorateMetadata("design:type", Boolean)
128
- ], ConclaveChallenge.prototype, "rootChallenge", void 0);
102
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ConclaveChallenge.prototype, "daily", void 0);
103
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], ConclaveChallenge.prototype, "rootChallenge", void 0);
129
104
  //#endregion
130
105
  export { ConclaveChallenge };
@@ -1,7 +1,6 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
3
  import { createHash } from "node:crypto";
4
- import { ApiProperty } from "@nestjs/swagger";
5
4
  import { IsString } from "class-validator";
6
5
  //#region lib/models/ConstructionProgress.ts
7
6
  /**
@@ -31,20 +30,8 @@ var ConstructionProgress = class extends WorldStateObject {
31
30
  this.unknownProgress = (data[2] ?? 0).toFixed(2);
32
31
  }
33
32
  };
34
- __decorate([
35
- ApiProperty({ description: "Fomorian construction progress percentage" }),
36
- IsString(),
37
- __decorateMetadata("design:type", String)
38
- ], ConstructionProgress.prototype, "fomorianProgress", void 0);
39
- __decorate([
40
- ApiProperty({ description: "Razorback construction progress percentage" }),
41
- IsString(),
42
- __decorateMetadata("design:type", String)
43
- ], ConstructionProgress.prototype, "razorbackProgress", void 0);
44
- __decorate([
45
- ApiProperty({ description: "Unknown construction progress percentage" }),
46
- IsString(),
47
- __decorateMetadata("design:type", String)
48
- ], ConstructionProgress.prototype, "unknownProgress", void 0);
33
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ConstructionProgress.prototype, "fomorianProgress", void 0);
34
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ConstructionProgress.prototype, "razorbackProgress", void 0);
35
+ __decorate([IsString(), __decorateMetadata("design:type", String)], ConstructionProgress.prototype, "unknownProgress", void 0);
49
36
  //#endregion
50
37
  export { ConstructionProgress };
@@ -1,2 +1,2 @@
1
- import { G as RawDailyDeal, W as DailyDeal } from "../../index-BiofND5v.mjs";
1
+ import { G as RawDailyDeal, W as DailyDeal } from "../../index-BBJQtZk1.mjs";
2
2
  export { DailyDeal, RawDailyDeal };
@@ -1,6 +1,5 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
- import { ApiProperty } from "@nestjs/swagger";
4
3
  import { IsInt, IsNumber, IsString, Min } from "class-validator";
5
4
  import { fromNow, languageString, timeDeltaToString } from "warframe-worldstate-data/utilities";
6
5
  //#region lib/models/DailyDeal.ts
@@ -63,47 +62,30 @@ var DailyDeal = class extends WorldStateObject {
63
62
  return timeDeltaToString(fromNow(this.expiry));
64
63
  }
65
64
  };
65
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DailyDeal.prototype, "item", void 0);
66
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DailyDeal.prototype, "uniqueName", void 0);
66
67
  __decorate([
67
- ApiProperty({ description: "Localized item name on sale" }),
68
- IsString(),
69
- __decorateMetadata("design:type", String)
70
- ], DailyDeal.prototype, "item", void 0);
71
- __decorate([
72
- ApiProperty({ description: "Unique item identifier" }),
73
- IsString(),
74
- __decorateMetadata("design:type", String)
75
- ], DailyDeal.prototype, "uniqueName", void 0);
76
- __decorate([
77
- ApiProperty({ description: "Original price in platinum" }),
78
68
  IsInt(),
79
69
  Min(0),
80
70
  __decorateMetadata("design:type", Number)
81
71
  ], DailyDeal.prototype, "originalPrice", void 0);
82
72
  __decorate([
83
- ApiProperty({ description: "Sale price in platinum" }),
84
73
  IsInt(),
85
74
  Min(0),
86
75
  __decorateMetadata("design:type", Number)
87
76
  ], DailyDeal.prototype, "salePrice", void 0);
88
77
  __decorate([
89
- ApiProperty({ description: "Total items available" }),
90
78
  IsInt(),
91
79
  Min(0),
92
80
  __decorateMetadata("design:type", Number)
93
81
  ], DailyDeal.prototype, "total", void 0);
94
82
  __decorate([
95
- ApiProperty({ description: "Number of items sold" }),
96
83
  IsInt(),
97
84
  Min(0),
98
85
  __decorateMetadata("design:type", Number)
99
86
  ], DailyDeal.prototype, "sold", void 0);
87
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DailyDeal.prototype, "id", void 0);
100
88
  __decorate([
101
- ApiProperty({ description: "Unique deal identifier" }),
102
- IsString(),
103
- __decorateMetadata("design:type", String)
104
- ], DailyDeal.prototype, "id", void 0);
105
- __decorate([
106
- ApiProperty({ description: "Discount percentage" }),
107
89
  IsNumber(),
108
90
  Min(0),
109
91
  __decorateMetadata("design:type", Number)
@@ -1,2 +1,2 @@
1
- import { H as DefenderInfo, U as RawDarkSector, V as DarkSector } from "../../index-BiofND5v.mjs";
1
+ import { H as DefenderInfo, U as RawDarkSector, V as DarkSector } from "../../index-BBJQtZk1.mjs";
2
2
  export { DarkSector, DefenderInfo, RawDarkSector };
@@ -2,7 +2,6 @@ import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvew
2
2
  import { Mission } from "./Mission.mjs";
3
3
  import { WorldStateObject } from "./WorldStateObject.mjs";
4
4
  import { DarkSectorBattle } from "./DarkSectorBattle.mjs";
5
- import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
6
5
  import { Type } from "class-transformer";
7
6
  import { IsArray, IsBoolean, IsNumber, IsOptional, IsString, Min, ValidateNested } from "class-validator";
8
7
  import { languageString, parseDate } from "warframe-worldstate-data/utilities";
@@ -150,135 +149,69 @@ var DarkSector = class extends WorldStateObject {
150
149
  }
151
150
  };
152
151
  __decorate([
153
- ApiProperty({ description: "The dark sector credit tax rate" }),
154
152
  IsNumber(),
155
153
  Min(0),
156
154
  __decorateMetadata("design:type", Number)
157
155
  ], DarkSector.prototype, "creditTaxRate", void 0);
158
156
  __decorate([
159
- ApiProperty({ description: "The dark sector credit tax rate for clan/alliance members" }),
160
157
  IsNumber(),
161
158
  Min(0),
162
159
  __decorateMetadata("design:type", Number)
163
160
  ], DarkSector.prototype, "memberCreditsTaxRate", void 0);
164
161
  __decorate([
165
- ApiProperty({ description: "The dark sector resource tax rate" }),
166
162
  IsNumber(),
167
163
  Min(0),
168
164
  __decorateMetadata("design:type", Number)
169
165
  ], DarkSector.prototype, "itemsTaxRate", void 0);
170
166
  __decorate([
171
- ApiProperty({ description: "The dark sector resource tax rate for clan/alliance members" }),
172
167
  IsNumber(),
173
168
  Min(0),
174
169
  __decorateMetadata("design:type", Number)
175
170
  ], DarkSector.prototype, "memberItemsTaxRate", void 0);
171
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], DarkSector.prototype, "isAlliance", void 0);
172
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "defenderName", void 0);
176
173
  __decorate([
177
- ApiProperty({ description: "Whether the dark sector holder is an alliance or not" }),
178
- IsBoolean(),
179
- __decorateMetadata("design:type", Boolean)
180
- ], DarkSector.prototype, "isAlliance", void 0);
181
- __decorate([
182
- ApiProperty({ description: "The current holder of the dark sector" }),
183
- IsString(),
184
- __decorateMetadata("design:type", String)
185
- ], DarkSector.prototype, "defenderName", void 0);
186
- __decorate([
187
- ApiProperty({ description: "The remaining health of the current solar rail" }),
188
174
  IsNumber(),
189
175
  Min(0),
190
176
  __decorateMetadata("design:type", Number)
191
177
  ], DarkSector.prototype, "defenderPoolRemaining", void 0);
192
178
  __decorate([
193
- ApiProperty({ description: "The maximum health of the solar rail" }),
194
179
  IsNumber(),
195
180
  Min(0),
196
181
  __decorateMetadata("design:type", Number)
197
182
  ], DarkSector.prototype, "defenderMaxPool", void 0);
198
- __decorate([ApiProperty({ description: "The date and time at which the rail was deployed" }), __decorateMetadata("design:type", Object)], DarkSector.prototype, "defenderDeployemntActivation", void 0);
199
- __decorate([
200
- ApiProperty({ description: "The solar rail type" }),
201
- IsString(),
202
- __decorateMetadata("design:type", String)
203
- ], DarkSector.prototype, "railType", void 0);
204
- __decorate([
205
- ApiProperty({ description: "The MOTD set by the dark sector holder" }),
206
- IsString(),
207
- __decorateMetadata("design:type", String)
208
- ], DarkSector.prototype, "defenderMOTD", void 0);
183
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "railType", void 0);
184
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "defenderMOTD", void 0);
185
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "deployerName", void 0);
186
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "deployerClan", void 0);
209
187
  __decorate([
210
- ApiProperty({ description: "The player who deployed the solar rail" }),
211
- IsString(),
212
- __decorateMetadata("design:type", String)
213
- ], DarkSector.prototype, "deployerName", void 0);
214
- __decorate([
215
- ApiProperty({ description: "The clan of the player who deployed the solar rail" }),
216
- IsString(),
217
- __decorateMetadata("design:type", String)
218
- ], DarkSector.prototype, "deployerClan", void 0);
219
- __decorate([
220
- ApiProperty({ description: "Defender rail heal reserve" }),
221
188
  IsNumber(),
222
189
  Min(0),
223
190
  __decorateMetadata("design:type", Number)
224
191
  ], DarkSector.prototype, "defenderRailHealReserve", void 0);
192
+ __decorate([IsNumber(), __decorateMetadata("design:type", Number)], DarkSector.prototype, "healRate", void 0);
193
+ __decorate([IsNumber(), __decorateMetadata("design:type", Number)], DarkSector.prototype, "damagePerMission", void 0);
225
194
  __decorate([
226
- ApiProperty({ description: "Heal rate" }),
227
- IsNumber(),
228
- __decorateMetadata("design:type", Number)
229
- ], DarkSector.prototype, "healRate", void 0);
230
- __decorate([
231
- ApiProperty({ description: "Damage per mission" }),
232
- IsNumber(),
233
- __decorateMetadata("design:type", Number)
234
- ], DarkSector.prototype, "damagePerMission", void 0);
235
- __decorate([
236
- ApiPropertyOptional({
237
- description: "The dark sector's mission",
238
- type: () => Mission
239
- }),
240
195
  IsOptional(),
241
196
  ValidateNested(),
242
197
  Type(() => Mission),
243
198
  __decorateMetadata("design:type", typeof (_ref = typeof Mission !== "undefined" && Mission) === "function" ? _ref : Object)
244
199
  ], DarkSector.prototype, "mission", void 0);
245
200
  __decorate([
246
- ApiProperty({ description: "Battle pay reserve" }),
247
201
  IsNumber(),
248
202
  Min(0),
249
203
  __decorateMetadata("design:type", Number)
250
204
  ], DarkSector.prototype, "battlePayReserve", void 0);
251
205
  __decorate([
252
- ApiProperty({ description: "The battle pay per mission offered to players" }),
253
206
  IsNumber(),
254
207
  Min(0),
255
208
  __decorateMetadata("design:type", Number)
256
209
  ], DarkSector.prototype, "perMissionBattlePay", void 0);
210
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "battlePaySetBy", void 0);
211
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "battlePaySetByClan", void 0);
212
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "taxChangedBy", void 0);
213
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSector.prototype, "taxChangedByClan", void 0);
257
214
  __decorate([
258
- ApiProperty({ description: "The player who set the battle pay" }),
259
- IsString(),
260
- __decorateMetadata("design:type", String)
261
- ], DarkSector.prototype, "battlePaySetBy", void 0);
262
- __decorate([
263
- ApiProperty({ description: "The clan of the player who set the battle pay" }),
264
- IsString(),
265
- __decorateMetadata("design:type", String)
266
- ], DarkSector.prototype, "battlePaySetByClan", void 0);
267
- __decorate([
268
- ApiProperty({ description: "The player who changed the tax" }),
269
- IsString(),
270
- __decorateMetadata("design:type", String)
271
- ], DarkSector.prototype, "taxChangedBy", void 0);
272
- __decorate([
273
- ApiProperty({ description: "The clan of the player who set the tax" }),
274
- IsString(),
275
- __decorateMetadata("design:type", String)
276
- ], DarkSector.prototype, "taxChangedByClan", void 0);
277
- __decorate([
278
- ApiProperty({
279
- description: "The history of the dark sector",
280
- type: [DarkSectorBattle]
281
- }),
282
215
  IsArray(),
283
216
  ValidateNested({ each: true }),
284
217
  Type(() => DarkSectorBattle),
@@ -1,5 +1,4 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
- import { ApiProperty } from "@nestjs/swagger";
3
2
  import { Type } from "class-transformer";
4
3
  import { IsBoolean, IsDate, IsString } from "class-validator";
5
4
  import { parseDate } from "warframe-worldstate-data/utilities";
@@ -52,45 +51,17 @@ var DarkSectorBattle = class {
52
51
  this.end = parseDate(data.End);
53
52
  }
54
53
  };
54
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSectorBattle.prototype, "defender", void 0);
55
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], DarkSectorBattle.prototype, "defenderIsAlliance", void 0);
56
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSectorBattle.prototype, "attacker", void 0);
57
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], DarkSectorBattle.prototype, "attackerIsAlliance", void 0);
58
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DarkSectorBattle.prototype, "winner", void 0);
55
59
  __decorate([
56
- ApiProperty({ description: "The defenders of the dark sector" }),
57
- IsString(),
58
- __decorateMetadata("design:type", String)
59
- ], DarkSectorBattle.prototype, "defender", void 0);
60
- __decorate([
61
- ApiProperty({ description: "Whether the defenders are an alliance or not" }),
62
- IsBoolean(),
63
- __decorateMetadata("design:type", Boolean)
64
- ], DarkSectorBattle.prototype, "defenderIsAlliance", void 0);
65
- __decorate([
66
- ApiProperty({ description: "The attackers of the dark sector" }),
67
- IsString(),
68
- __decorateMetadata("design:type", String)
69
- ], DarkSectorBattle.prototype, "attacker", void 0);
70
- __decorate([
71
- ApiProperty({ description: "Whether the attackers are an alliance or not" }),
72
- IsBoolean(),
73
- __decorateMetadata("design:type", Boolean)
74
- ], DarkSectorBattle.prototype, "attackerIsAlliance", void 0);
75
- __decorate([
76
- ApiProperty({ description: "The winner of the battle" }),
77
- IsString(),
78
- __decorateMetadata("design:type", String)
79
- ], DarkSectorBattle.prototype, "winner", void 0);
80
- __decorate([
81
- ApiProperty({
82
- description: "The date and time at which the battle started",
83
- type: Date
84
- }),
85
60
  IsDate(),
86
61
  Type(() => Date),
87
62
  __decorateMetadata("design:type", typeof (_ref = typeof Date !== "undefined" && Date) === "function" ? _ref : Object)
88
63
  ], DarkSectorBattle.prototype, "start", void 0);
89
64
  __decorate([
90
- ApiProperty({
91
- description: "The date and time at which the battle ended",
92
- type: Date
93
- }),
94
65
  IsDate(),
95
66
  Type(() => Date),
96
67
  __decorateMetadata("design:type", typeof (_ref2 = typeof Date !== "undefined" && Date) === "function" ? _ref2 : Object)
@@ -1,2 +1,2 @@
1
- import { B as DuviriCycle } from "../../index-BiofND5v.mjs";
1
+ import { B as DuviriCycle } from "../../index-BBJQtZk1.mjs";
2
2
  export { DuviriCycle };
@@ -1,7 +1,6 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
3
  import { DuviriChoice } from "../supporting/DuviriChoice.mjs";
4
- import { ApiProperty } from "@nestjs/swagger";
5
4
  import { Type } from "class-transformer";
6
5
  import { IsArray, IsString, ValidateNested } from "class-validator";
7
6
  //#region lib/models/DuviriCycle.ts
@@ -56,16 +55,8 @@ var DuviriCycle = class extends WorldStateObject {
56
55
  this.id = `duviriCycle${this.state}${this.expiry.getTime()}`;
57
56
  }
58
57
  };
58
+ __decorate([IsString(), __decorateMetadata("design:type", String)], DuviriCycle.prototype, "state", void 0);
59
59
  __decorate([
60
- ApiProperty({ description: "Current emotional state. One of 'sorrow', 'fear', 'joy', 'anger', 'envy'" }),
61
- IsString(),
62
- __decorateMetadata("design:type", String)
63
- ], DuviriCycle.prototype, "state", void 0);
64
- __decorate([
65
- ApiProperty({
66
- description: "Choice options for this Cycle",
67
- type: [DuviriChoice]
68
- }),
69
60
  IsArray(),
70
61
  ValidateNested({ each: true }),
71
62
  Type(() => DuviriChoice),
@@ -1,6 +1,5 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
- import { ApiProperty } from "@nestjs/swagger";
4
3
  import { IsBoolean, IsString } from "class-validator";
5
4
  import { fromNow } from "warframe-worldstate-data/utilities";
6
5
  //#region lib/models/EarthCycle.ts
@@ -72,23 +71,8 @@ var EarthCycle = class extends WorldStateObject {
72
71
  return fromNow(this.expiry) < 0;
73
72
  }
74
73
  };
75
- __decorate([
76
- ApiProperty({ description: "Whether it is currently day time on Earth" }),
77
- IsBoolean(),
78
- __decorateMetadata("design:type", Boolean)
79
- ], EarthCycle.prototype, "isDay", void 0);
80
- __decorate([
81
- ApiProperty({
82
- description: "Current cycle state",
83
- enum: ["day", "night"]
84
- }),
85
- IsString(),
86
- __decorateMetadata("design:type", String)
87
- ], EarthCycle.prototype, "state", void 0);
88
- __decorate([
89
- ApiProperty({ description: "Time remaining until next cycle" }),
90
- IsString(),
91
- __decorateMetadata("design:type", String)
92
- ], EarthCycle.prototype, "timeLeft", void 0);
74
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], EarthCycle.prototype, "isDay", void 0);
75
+ __decorate([IsString(), __decorateMetadata("design:type", String)], EarthCycle.prototype, "state", void 0);
76
+ __decorate([IsString(), __decorateMetadata("design:type", String)], EarthCycle.prototype, "timeLeft", void 0);
93
77
  //#endregion
94
78
  export { EarthCycle };
@@ -1,2 +1,2 @@
1
- import { R as Fissure, z as RawFissure } from "../../index-BiofND5v.mjs";
1
+ import { R as Fissure, z as RawFissure } from "../../index-BBJQtZk1.mjs";
2
2
  export { Fissure, RawFissure };
@@ -1,6 +1,5 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
- import { ApiProperty } from "@nestjs/swagger";
4
3
  import { IsBoolean, IsString } from "class-validator";
5
4
  import { fissureModifier, fissureTier, fromNow, missionType, node, nodeEnemy, nodeMissionType, parseDate, timeDeltaToString } from "warframe-worldstate-data/utilities";
6
5
  //#region lib/models/Fissure.ts
@@ -82,51 +81,14 @@ var Fissure = class extends WorldStateObject {
82
81
  return timeDeltaToString(fromNow(this.expiry));
83
82
  }
84
83
  };
85
- __decorate([
86
- ApiProperty({ description: "Localized node name" }),
87
- IsString(),
88
- __decorateMetadata("design:type", String)
89
- ], Fissure.prototype, "node", void 0);
90
- __decorate([
91
- ApiProperty({ description: "Localized mission type" }),
92
- IsString(),
93
- __decorateMetadata("design:type", String)
94
- ], Fissure.prototype, "missionType", void 0);
95
- __decorate([
96
- ApiProperty({ description: "Unlocalized mission type key" }),
97
- IsString(),
98
- __decorateMetadata("design:type", String)
99
- ], Fissure.prototype, "missionTypeKey", void 0);
100
- __decorate([
101
- ApiProperty({ description: "Localized enemy faction" }),
102
- IsString(),
103
- __decorateMetadata("design:type", String)
104
- ], Fissure.prototype, "enemy", void 0);
105
- __decorate([
106
- ApiProperty({ description: "Unlocalized enemy faction key" }),
107
- IsString(),
108
- __decorateMetadata("design:type", String)
109
- ], Fissure.prototype, "enemyKey", void 0);
110
- __decorate([
111
- ApiProperty({ description: "Unlocalized node key" }),
112
- IsString(),
113
- __decorateMetadata("design:type", String)
114
- ], Fissure.prototype, "nodeKey", void 0);
115
- __decorate([
116
- ApiProperty({ description: "Fissure tier name (e.g., Lith, Meso, Neo, Axi, Requiem)" }),
117
- IsString(),
118
- __decorateMetadata("design:type", String)
119
- ], Fissure.prototype, "tier", void 0);
120
- __decorate([ApiProperty({ description: "Fissure tier as number" }), __decorateMetadata("design:type", Object)], Fissure.prototype, "tierNum", void 0);
121
- __decorate([
122
- ApiProperty({ description: "Whether this is a Railjack Void Storm" }),
123
- IsBoolean(),
124
- __decorateMetadata("design:type", Boolean)
125
- ], Fissure.prototype, "isStorm", void 0);
126
- __decorate([
127
- ApiProperty({ description: "Whether this is a Steel Path fissure" }),
128
- IsBoolean(),
129
- __decorateMetadata("design:type", Boolean)
130
- ], Fissure.prototype, "isHard", void 0);
84
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Fissure.prototype, "node", void 0);
85
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Fissure.prototype, "missionType", void 0);
86
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Fissure.prototype, "missionTypeKey", void 0);
87
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Fissure.prototype, "enemy", void 0);
88
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Fissure.prototype, "enemyKey", void 0);
89
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Fissure.prototype, "nodeKey", void 0);
90
+ __decorate([IsString(), __decorateMetadata("design:type", String)], Fissure.prototype, "tier", void 0);
91
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], Fissure.prototype, "isStorm", void 0);
92
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], Fissure.prototype, "isHard", void 0);
131
93
  //#endregion
132
94
  export { Fissure };
@@ -1,2 +1,2 @@
1
- import { I as FlashSale, L as RawFlashSale } from "../../index-BiofND5v.mjs";
1
+ import { I as FlashSale, L as RawFlashSale } from "../../index-BBJQtZk1.mjs";
2
2
  export { FlashSale, RawFlashSale };
@@ -1,6 +1,5 @@
1
1
  import { n as __decorateMetadata, t as __decorate } from "../../decorate-DHEOvewm.mjs";
2
2
  import { WorldStateObject } from "./WorldStateObject.mjs";
3
- import { ApiProperty } from "@nestjs/swagger";
4
3
  import { IsBoolean, IsInt, IsNumber, IsString, Min } from "class-validator";
5
4
  import { fromNow, languageString, timeDeltaToString } from "warframe-worldstate-data/utilities";
6
5
  //#region lib/models/FlashSale.ts
@@ -72,48 +71,25 @@ var FlashSale = class extends WorldStateObject {
72
71
  return fromNow(this.expiry) < 0;
73
72
  }
74
73
  };
74
+ __decorate([IsString(), __decorateMetadata("design:type", String)], FlashSale.prototype, "item", void 0);
75
75
  __decorate([
76
- ApiProperty({ description: "The item being offered in the flash sale" }),
77
- IsString(),
78
- __decorateMetadata("design:type", String)
79
- ], FlashSale.prototype, "item", void 0);
80
- __decorate([
81
- ApiProperty({ description: "The item's discount percentage" }),
82
76
  IsNumber(),
83
77
  Min(0),
84
78
  __decorateMetadata("design:type", Number)
85
79
  ], FlashSale.prototype, "discount", void 0);
86
80
  __decorate([
87
- ApiProperty({ description: "The item's discounted credit price" }),
88
81
  IsInt(),
89
82
  Min(0),
90
83
  __decorateMetadata("design:type", Number)
91
84
  ], FlashSale.prototype, "regularOverride", void 0);
92
85
  __decorate([
93
- ApiProperty({ description: "The item's discounted platinum price" }),
94
86
  IsInt(),
95
87
  Min(0),
96
88
  __decorateMetadata("design:type", Number)
97
89
  ], FlashSale.prototype, "premiumOverride", void 0);
98
- __decorate([
99
- ApiProperty({ description: "Whether this item is shown in the in-game market" }),
100
- IsBoolean(),
101
- __decorateMetadata("design:type", Boolean)
102
- ], FlashSale.prototype, "isShownInMarket", void 0);
103
- __decorate([
104
- ApiProperty({ description: "Whether this item is featured in the in-game market" }),
105
- IsBoolean(),
106
- __decorateMetadata("design:type", Boolean)
107
- ], FlashSale.prototype, "isFeatured", void 0);
108
- __decorate([
109
- ApiProperty({ description: "Whether this item is marked as popular in the in-game market" }),
110
- IsBoolean(),
111
- __decorateMetadata("design:type", Boolean)
112
- ], FlashSale.prototype, "isPopular", void 0);
113
- __decorate([
114
- ApiProperty({ description: "Unique identifier for this sale built from the end time and reward" }),
115
- IsString(),
116
- __decorateMetadata("design:type", String)
117
- ], FlashSale.prototype, "id", void 0);
90
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], FlashSale.prototype, "isShownInMarket", void 0);
91
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], FlashSale.prototype, "isFeatured", void 0);
92
+ __decorate([IsBoolean(), __decorateMetadata("design:type", Boolean)], FlashSale.prototype, "isPopular", void 0);
93
+ __decorate([IsString(), __decorateMetadata("design:type", String)], FlashSale.prototype, "id", void 0);
118
94
  //#endregion
119
95
  export { FlashSale };
@@ -1,2 +1,2 @@
1
- import { F as RawGlobalUpgrade, P as GlobalUpgrade } from "../../index-BiofND5v.mjs";
1
+ import { F as RawGlobalUpgrade, P as GlobalUpgrade } from "../../index-BBJQtZk1.mjs";
2
2
  export { GlobalUpgrade, RawGlobalUpgrade };