@dendotdev/grunt 1.0.5 → 1.0.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.
package/dist/index.d.mts CHANGED
@@ -1798,25 +1798,38 @@ interface ChallengeDecksResponse {
1798
1798
  upcomingDecks?: ChallengeDeck[];
1799
1799
  }
1800
1800
  /**
1801
- * Reward track (battle pass / operation).
1801
+ * Reward track progress measurement.
1802
+ */
1803
+ interface RewardTrackProgress {
1804
+ /** Reward track rank */
1805
+ Rank?: number;
1806
+ /** Partial progress within rank */
1807
+ PartialProgress?: number;
1808
+ /** Whether the reward track is owned */
1809
+ IsOwned?: boolean;
1810
+ /** Whether maximum rank has been reached */
1811
+ HasReachedMaxRank?: boolean;
1812
+ }
1813
+ /**
1814
+ * Reward track (battle pass / operation / career rank).
1802
1815
  */
1803
1816
  interface RewardTrack {
1804
- /** Track identifier */
1805
- id?: string;
1806
- /** Track path */
1807
- path?: string;
1808
- /** Current rank */
1809
- currentRank?: number;
1810
- /** Current progress in rank */
1811
- currentProgress?: number;
1812
- /** XP for next rank */
1813
- xpForNextRank?: number;
1814
- /** Total XP earned */
1815
- totalXpEarned?: number;
1816
- /** Whether track is completed */
1817
- isCompleted?: boolean;
1818
- /** Whether track is active */
1819
- isActive?: boolean;
1817
+ /** Path to the reward track */
1818
+ RewardTrackPath?: string;
1819
+ /** Type of reward track */
1820
+ TrackType?: string;
1821
+ /** Current progress */
1822
+ CurrentProgress?: RewardTrackProgress;
1823
+ /** Previous progress */
1824
+ PreviousProgress?: RewardTrackProgress;
1825
+ /** Whether the player owns the reward track */
1826
+ IsOwned?: boolean;
1827
+ /** Base XP amount */
1828
+ BaseXp?: number;
1829
+ /** Boost XP amount */
1830
+ BoostXp?: number;
1831
+ /** Whether maximum rank has been reached */
1832
+ HasReachedMaxRank?: boolean;
1820
1833
  }
1821
1834
  /**
1822
1835
  * Reward track metadata.
@@ -2245,13 +2258,13 @@ declare class EconomyModule extends ModuleBase {
2245
2258
  */
2246
2259
  getPlayerOperations(player: string): Promise<HaloApiResult<OperationRewardTrackSnapshot>>;
2247
2260
  /**
2248
- * Get career rank for players.
2261
+ * Get career rank for a player.
2249
2262
  *
2250
- * @param playerIds - List of player XUIDs
2263
+ * @param player - Player's numeric XUID
2251
2264
  * @param careerPathId - Career path identifier
2252
- * @returns Career rank results
2265
+ * @returns Reward track with career rank progress
2253
2266
  */
2254
- getPlayerCareerRank(playerIds: string[], careerPathId: string): Promise<HaloApiResult<RewardTrackResultContainer>>;
2267
+ getPlayerCareerRank(player: string, careerPathId: string): Promise<HaloApiResult<RewardTrack>>;
2255
2268
  }
2256
2269
 
2257
2270
  /**
@@ -5732,4 +5745,4 @@ declare const WAYPOINT_ENDPOINTS: {
5732
5745
  */
5733
5746
  declare function buildServiceUrl(origin: string, path: string): string;
5734
5747
 
5735
- export { type AcademyCategory, type AcademyClientManifest, type AcademyDrill, type AcademySeries, type AcademyStarDefinition, type AcademyStarDefinitions, type ActiveBoost, type ActiveBoostsContainer, type AiCore, type AiCoreContainer, type AiCoreTheme, ApiContentType, type Appearance, type AppearanceCustomization, type ArmorCore, type ArmorCoreCollection, type ArmorCoreTheme, type Article, type ArticleAttribute, type ArticleBlock, type ArticleCategory, type AssetAuthoringSession, type AssetBase, AssetKind, type AssetLinks, type AssetReport, type AssetVersionFile, type AuthoringAsset, type AuthoringAssetContainer, type AuthoringAssetRating, type AuthoringAssetVersion, type AuthoringAssetVersionContainer, type AuthoringFavoritesContainer, type AuthoringSessionSourceStarter, type Authority, type BanResult, type BansSummaryQueryResult, type BombStats, type BotAppearance, type BotAttributes, type BotCustomizationData, type BotDifficulty, type CaptureTheFlagStats, type CareerRank, type CareerRankProgress, type CareerTrackContainer, type Challenge, type ChallengeDeck, type ChallengeDeckDefinition, type ChallengeDecksResponse, type ChallengeProgress, type CodeRedemptionResult, type Configuration, type CoreBase, type CoreStats, type Csr, type CurrencyAmount, type CurrencyDefinition, type CurrencySnapshot, type CustomizationData, DEFAULT_AUTH_SCOPES, DEFAULT_CACHE_TTL_MS, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT_MS, type DisplayString, type EliminationStats, type EmblemConfiguration, type ExtractionStats, type FavoriteAsset, type FilmAsset, type FilmCustomData, type FlightedFeatureFlags, type GameVariantCustomData, type GameVariantServiceRecord, type GameplayInteraction, type Gamerpic, type GenericAsset, type GiveawayReward, HALO_CORE_ENDPOINTS, HEADERS, HaloApiError, type HaloApiResult, HaloAuthenticationClient, HaloInfiniteClient, type HaloInfiniteClientOptions, type InfectionStats, type InventoryAmount, type JoinLobbyResponse, LifecycleMode, type LobbyJoinHandle, type LobbyPresenceContainer, type LobbyPresenceRequest, type LobbyPresenceRequestContainer, type LobbyPresenceResult, type MapAsset, type MapCustomData, type MapServiceRecord, type MatchHistoryResponse, type MatchInfo, type MatchLinks, type MatchProgression, type MatchSkillInfo, type MatchStats, MatchType, type MatchesPrivacy, type Medal, type MedalCount, type MedalMetadata, type News, type NewsArticle, type Notification, type NotificationData, type OddballStats, type OnlineUriReference, type OperationRewardTrackSnapshot, Outcome, type ParticipationInfo, type Permission, type PersonalScoreEntry, type PlayAssetStats, type Player, type PlayerCareerRankResult, type PlayerDailyCustomExperience, type PlayerGiveaways, type PlayerInventory, type PlayerItem, type PlayerMatchCount, type PlayerMatchHistoryRecord, type PlayerMatchSkill, type PlayerPlaylistCsr, type PlayerServiceRecord, type PlayerTeamStat, PlayerType, type PlaylistCsrResultContainer, type PlaylistExperience, type PlaylistServiceRecord, type PrefabAsset, type PrefabCustomData, type PveStats, type PvpStats, type RawResponse, type RequestOptions, ResultOrder, type RetryOptionsConfig, type RetryPolicyConfig, type Reward, type RewardSnapshot, type RewardTrack, type RewardTrackMetadata, type RewardTrackResultContainer, type SearchLinks, type SeasonCalendar, type SeasonCalendarEntry, type SeasonServiceRecord, type Server, type ServiceAward, type ServiceAwardSnapshot, type ServiceRecordSubqueries, type SettingsConfig, type SpartanBody, type SpartanToken, type SpartanTokenProof, type SpartanTokenRequest, type SpriteSheet, type Stats, type StockpileStats, type StoreItem, type StoreOffering, type StorePrice, type Team, type TestAcademyClientManifest, type ThemeBase, type TimePlayed, type TransactionSnapshot, USER_AGENTS, type UgcGameVariant, type UgcGameVariantAsset, type UgcSearchParams, type UgcSearchResult, type UserEmail, type UserNotificationsSettings, type UserProfile, type UserSettings, type VehicleCore, type VehicleCoreCollection, type VehicleCoreTheme, type VipStats, WAYPOINT_ENDPOINTS, WaypointClient, type WaypointClientOptions, type WeaponCore, type WeaponCoreCollection, type WeaponCoreTheme, type WinLossRecord, type XpBreakdown, type ZonesStats, buildServiceUrl, getContentTypeHeader, isClientError, isNotModified, isServerError, isSuccess };
5748
+ export { type AcademyCategory, type AcademyClientManifest, type AcademyDrill, type AcademySeries, type AcademyStarDefinition, type AcademyStarDefinitions, type ActiveBoost, type ActiveBoostsContainer, type AiCore, type AiCoreContainer, type AiCoreTheme, ApiContentType, type Appearance, type AppearanceCustomization, type ArmorCore, type ArmorCoreCollection, type ArmorCoreTheme, type Article, type ArticleAttribute, type ArticleBlock, type ArticleCategory, type AssetAuthoringSession, type AssetBase, AssetKind, type AssetLinks, type AssetReport, type AssetVersionFile, type AuthoringAsset, type AuthoringAssetContainer, type AuthoringAssetRating, type AuthoringAssetVersion, type AuthoringAssetVersionContainer, type AuthoringFavoritesContainer, type AuthoringSessionSourceStarter, type Authority, type BanResult, type BansSummaryQueryResult, type BombStats, type BotAppearance, type BotAttributes, type BotCustomizationData, type BotDifficulty, type CaptureTheFlagStats, type CareerRank, type CareerRankProgress, type CareerTrackContainer, type Challenge, type ChallengeDeck, type ChallengeDeckDefinition, type ChallengeDecksResponse, type ChallengeProgress, type CodeRedemptionResult, type Configuration, type CoreBase, type CoreStats, type Csr, type CurrencyAmount, type CurrencyDefinition, type CurrencySnapshot, type CustomizationData, DEFAULT_AUTH_SCOPES, DEFAULT_CACHE_TTL_MS, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT_MS, type DisplayString, type EliminationStats, type EmblemConfiguration, type ExtractionStats, type FavoriteAsset, type FilmAsset, type FilmCustomData, type FlightedFeatureFlags, type GameVariantCustomData, type GameVariantServiceRecord, type GameplayInteraction, type Gamerpic, type GenericAsset, type GiveawayReward, HALO_CORE_ENDPOINTS, HEADERS, HaloApiError, type HaloApiResult, HaloAuthenticationClient, HaloInfiniteClient, type HaloInfiniteClientOptions, type InfectionStats, type InventoryAmount, type JoinLobbyResponse, LifecycleMode, type LobbyJoinHandle, type LobbyPresenceContainer, type LobbyPresenceRequest, type LobbyPresenceRequestContainer, type LobbyPresenceResult, type MapAsset, type MapCustomData, type MapServiceRecord, type MatchHistoryResponse, type MatchInfo, type MatchLinks, type MatchProgression, type MatchSkillInfo, type MatchStats, MatchType, type MatchesPrivacy, type Medal, type MedalCount, type MedalMetadata, type News, type NewsArticle, type Notification, type NotificationData, type OddballStats, type OnlineUriReference, type OperationRewardTrackSnapshot, Outcome, type ParticipationInfo, type Permission, type PersonalScoreEntry, type PlayAssetStats, type Player, type PlayerCareerRankResult, type PlayerDailyCustomExperience, type PlayerGiveaways, type PlayerInventory, type PlayerItem, type PlayerMatchCount, type PlayerMatchHistoryRecord, type PlayerMatchSkill, type PlayerPlaylistCsr, type PlayerServiceRecord, type PlayerTeamStat, PlayerType, type PlaylistCsrResultContainer, type PlaylistExperience, type PlaylistServiceRecord, type PrefabAsset, type PrefabCustomData, type PveStats, type PvpStats, type RawResponse, type RequestOptions, ResultOrder, type RetryOptionsConfig, type RetryPolicyConfig, type Reward, type RewardSnapshot, type RewardTrack, type RewardTrackMetadata, type RewardTrackProgress, type RewardTrackResultContainer, type SearchLinks, type SeasonCalendar, type SeasonCalendarEntry, type SeasonServiceRecord, type Server, type ServiceAward, type ServiceAwardSnapshot, type ServiceRecordSubqueries, type SettingsConfig, type SpartanBody, type SpartanToken, type SpartanTokenProof, type SpartanTokenRequest, type SpriteSheet, type Stats, type StockpileStats, type StoreItem, type StoreOffering, type StorePrice, type Team, type TestAcademyClientManifest, type ThemeBase, type TimePlayed, type TransactionSnapshot, USER_AGENTS, type UgcGameVariant, type UgcGameVariantAsset, type UgcSearchParams, type UgcSearchResult, type UserEmail, type UserNotificationsSettings, type UserProfile, type UserSettings, type VehicleCore, type VehicleCoreCollection, type VehicleCoreTheme, type VipStats, WAYPOINT_ENDPOINTS, WaypointClient, type WaypointClientOptions, type WeaponCore, type WeaponCoreCollection, type WeaponCoreTheme, type WinLossRecord, type XpBreakdown, type ZonesStats, buildServiceUrl, getContentTypeHeader, isClientError, isNotModified, isServerError, isSuccess };
package/dist/index.d.ts CHANGED
@@ -1798,25 +1798,38 @@ interface ChallengeDecksResponse {
1798
1798
  upcomingDecks?: ChallengeDeck[];
1799
1799
  }
1800
1800
  /**
1801
- * Reward track (battle pass / operation).
1801
+ * Reward track progress measurement.
1802
+ */
1803
+ interface RewardTrackProgress {
1804
+ /** Reward track rank */
1805
+ Rank?: number;
1806
+ /** Partial progress within rank */
1807
+ PartialProgress?: number;
1808
+ /** Whether the reward track is owned */
1809
+ IsOwned?: boolean;
1810
+ /** Whether maximum rank has been reached */
1811
+ HasReachedMaxRank?: boolean;
1812
+ }
1813
+ /**
1814
+ * Reward track (battle pass / operation / career rank).
1802
1815
  */
1803
1816
  interface RewardTrack {
1804
- /** Track identifier */
1805
- id?: string;
1806
- /** Track path */
1807
- path?: string;
1808
- /** Current rank */
1809
- currentRank?: number;
1810
- /** Current progress in rank */
1811
- currentProgress?: number;
1812
- /** XP for next rank */
1813
- xpForNextRank?: number;
1814
- /** Total XP earned */
1815
- totalXpEarned?: number;
1816
- /** Whether track is completed */
1817
- isCompleted?: boolean;
1818
- /** Whether track is active */
1819
- isActive?: boolean;
1817
+ /** Path to the reward track */
1818
+ RewardTrackPath?: string;
1819
+ /** Type of reward track */
1820
+ TrackType?: string;
1821
+ /** Current progress */
1822
+ CurrentProgress?: RewardTrackProgress;
1823
+ /** Previous progress */
1824
+ PreviousProgress?: RewardTrackProgress;
1825
+ /** Whether the player owns the reward track */
1826
+ IsOwned?: boolean;
1827
+ /** Base XP amount */
1828
+ BaseXp?: number;
1829
+ /** Boost XP amount */
1830
+ BoostXp?: number;
1831
+ /** Whether maximum rank has been reached */
1832
+ HasReachedMaxRank?: boolean;
1820
1833
  }
1821
1834
  /**
1822
1835
  * Reward track metadata.
@@ -2245,13 +2258,13 @@ declare class EconomyModule extends ModuleBase {
2245
2258
  */
2246
2259
  getPlayerOperations(player: string): Promise<HaloApiResult<OperationRewardTrackSnapshot>>;
2247
2260
  /**
2248
- * Get career rank for players.
2261
+ * Get career rank for a player.
2249
2262
  *
2250
- * @param playerIds - List of player XUIDs
2263
+ * @param player - Player's numeric XUID
2251
2264
  * @param careerPathId - Career path identifier
2252
- * @returns Career rank results
2265
+ * @returns Reward track with career rank progress
2253
2266
  */
2254
- getPlayerCareerRank(playerIds: string[], careerPathId: string): Promise<HaloApiResult<RewardTrackResultContainer>>;
2267
+ getPlayerCareerRank(player: string, careerPathId: string): Promise<HaloApiResult<RewardTrack>>;
2255
2268
  }
2256
2269
 
2257
2270
  /**
@@ -5732,4 +5745,4 @@ declare const WAYPOINT_ENDPOINTS: {
5732
5745
  */
5733
5746
  declare function buildServiceUrl(origin: string, path: string): string;
5734
5747
 
5735
- export { type AcademyCategory, type AcademyClientManifest, type AcademyDrill, type AcademySeries, type AcademyStarDefinition, type AcademyStarDefinitions, type ActiveBoost, type ActiveBoostsContainer, type AiCore, type AiCoreContainer, type AiCoreTheme, ApiContentType, type Appearance, type AppearanceCustomization, type ArmorCore, type ArmorCoreCollection, type ArmorCoreTheme, type Article, type ArticleAttribute, type ArticleBlock, type ArticleCategory, type AssetAuthoringSession, type AssetBase, AssetKind, type AssetLinks, type AssetReport, type AssetVersionFile, type AuthoringAsset, type AuthoringAssetContainer, type AuthoringAssetRating, type AuthoringAssetVersion, type AuthoringAssetVersionContainer, type AuthoringFavoritesContainer, type AuthoringSessionSourceStarter, type Authority, type BanResult, type BansSummaryQueryResult, type BombStats, type BotAppearance, type BotAttributes, type BotCustomizationData, type BotDifficulty, type CaptureTheFlagStats, type CareerRank, type CareerRankProgress, type CareerTrackContainer, type Challenge, type ChallengeDeck, type ChallengeDeckDefinition, type ChallengeDecksResponse, type ChallengeProgress, type CodeRedemptionResult, type Configuration, type CoreBase, type CoreStats, type Csr, type CurrencyAmount, type CurrencyDefinition, type CurrencySnapshot, type CustomizationData, DEFAULT_AUTH_SCOPES, DEFAULT_CACHE_TTL_MS, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT_MS, type DisplayString, type EliminationStats, type EmblemConfiguration, type ExtractionStats, type FavoriteAsset, type FilmAsset, type FilmCustomData, type FlightedFeatureFlags, type GameVariantCustomData, type GameVariantServiceRecord, type GameplayInteraction, type Gamerpic, type GenericAsset, type GiveawayReward, HALO_CORE_ENDPOINTS, HEADERS, HaloApiError, type HaloApiResult, HaloAuthenticationClient, HaloInfiniteClient, type HaloInfiniteClientOptions, type InfectionStats, type InventoryAmount, type JoinLobbyResponse, LifecycleMode, type LobbyJoinHandle, type LobbyPresenceContainer, type LobbyPresenceRequest, type LobbyPresenceRequestContainer, type LobbyPresenceResult, type MapAsset, type MapCustomData, type MapServiceRecord, type MatchHistoryResponse, type MatchInfo, type MatchLinks, type MatchProgression, type MatchSkillInfo, type MatchStats, MatchType, type MatchesPrivacy, type Medal, type MedalCount, type MedalMetadata, type News, type NewsArticle, type Notification, type NotificationData, type OddballStats, type OnlineUriReference, type OperationRewardTrackSnapshot, Outcome, type ParticipationInfo, type Permission, type PersonalScoreEntry, type PlayAssetStats, type Player, type PlayerCareerRankResult, type PlayerDailyCustomExperience, type PlayerGiveaways, type PlayerInventory, type PlayerItem, type PlayerMatchCount, type PlayerMatchHistoryRecord, type PlayerMatchSkill, type PlayerPlaylistCsr, type PlayerServiceRecord, type PlayerTeamStat, PlayerType, type PlaylistCsrResultContainer, type PlaylistExperience, type PlaylistServiceRecord, type PrefabAsset, type PrefabCustomData, type PveStats, type PvpStats, type RawResponse, type RequestOptions, ResultOrder, type RetryOptionsConfig, type RetryPolicyConfig, type Reward, type RewardSnapshot, type RewardTrack, type RewardTrackMetadata, type RewardTrackResultContainer, type SearchLinks, type SeasonCalendar, type SeasonCalendarEntry, type SeasonServiceRecord, type Server, type ServiceAward, type ServiceAwardSnapshot, type ServiceRecordSubqueries, type SettingsConfig, type SpartanBody, type SpartanToken, type SpartanTokenProof, type SpartanTokenRequest, type SpriteSheet, type Stats, type StockpileStats, type StoreItem, type StoreOffering, type StorePrice, type Team, type TestAcademyClientManifest, type ThemeBase, type TimePlayed, type TransactionSnapshot, USER_AGENTS, type UgcGameVariant, type UgcGameVariantAsset, type UgcSearchParams, type UgcSearchResult, type UserEmail, type UserNotificationsSettings, type UserProfile, type UserSettings, type VehicleCore, type VehicleCoreCollection, type VehicleCoreTheme, type VipStats, WAYPOINT_ENDPOINTS, WaypointClient, type WaypointClientOptions, type WeaponCore, type WeaponCoreCollection, type WeaponCoreTheme, type WinLossRecord, type XpBreakdown, type ZonesStats, buildServiceUrl, getContentTypeHeader, isClientError, isNotModified, isServerError, isSuccess };
5748
+ export { type AcademyCategory, type AcademyClientManifest, type AcademyDrill, type AcademySeries, type AcademyStarDefinition, type AcademyStarDefinitions, type ActiveBoost, type ActiveBoostsContainer, type AiCore, type AiCoreContainer, type AiCoreTheme, ApiContentType, type Appearance, type AppearanceCustomization, type ArmorCore, type ArmorCoreCollection, type ArmorCoreTheme, type Article, type ArticleAttribute, type ArticleBlock, type ArticleCategory, type AssetAuthoringSession, type AssetBase, AssetKind, type AssetLinks, type AssetReport, type AssetVersionFile, type AuthoringAsset, type AuthoringAssetContainer, type AuthoringAssetRating, type AuthoringAssetVersion, type AuthoringAssetVersionContainer, type AuthoringFavoritesContainer, type AuthoringSessionSourceStarter, type Authority, type BanResult, type BansSummaryQueryResult, type BombStats, type BotAppearance, type BotAttributes, type BotCustomizationData, type BotDifficulty, type CaptureTheFlagStats, type CareerRank, type CareerRankProgress, type CareerTrackContainer, type Challenge, type ChallengeDeck, type ChallengeDeckDefinition, type ChallengeDecksResponse, type ChallengeProgress, type CodeRedemptionResult, type Configuration, type CoreBase, type CoreStats, type Csr, type CurrencyAmount, type CurrencyDefinition, type CurrencySnapshot, type CustomizationData, DEFAULT_AUTH_SCOPES, DEFAULT_CACHE_TTL_MS, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT_MS, type DisplayString, type EliminationStats, type EmblemConfiguration, type ExtractionStats, type FavoriteAsset, type FilmAsset, type FilmCustomData, type FlightedFeatureFlags, type GameVariantCustomData, type GameVariantServiceRecord, type GameplayInteraction, type Gamerpic, type GenericAsset, type GiveawayReward, HALO_CORE_ENDPOINTS, HEADERS, HaloApiError, type HaloApiResult, HaloAuthenticationClient, HaloInfiniteClient, type HaloInfiniteClientOptions, type InfectionStats, type InventoryAmount, type JoinLobbyResponse, LifecycleMode, type LobbyJoinHandle, type LobbyPresenceContainer, type LobbyPresenceRequest, type LobbyPresenceRequestContainer, type LobbyPresenceResult, type MapAsset, type MapCustomData, type MapServiceRecord, type MatchHistoryResponse, type MatchInfo, type MatchLinks, type MatchProgression, type MatchSkillInfo, type MatchStats, MatchType, type MatchesPrivacy, type Medal, type MedalCount, type MedalMetadata, type News, type NewsArticle, type Notification, type NotificationData, type OddballStats, type OnlineUriReference, type OperationRewardTrackSnapshot, Outcome, type ParticipationInfo, type Permission, type PersonalScoreEntry, type PlayAssetStats, type Player, type PlayerCareerRankResult, type PlayerDailyCustomExperience, type PlayerGiveaways, type PlayerInventory, type PlayerItem, type PlayerMatchCount, type PlayerMatchHistoryRecord, type PlayerMatchSkill, type PlayerPlaylistCsr, type PlayerServiceRecord, type PlayerTeamStat, PlayerType, type PlaylistCsrResultContainer, type PlaylistExperience, type PlaylistServiceRecord, type PrefabAsset, type PrefabCustomData, type PveStats, type PvpStats, type RawResponse, type RequestOptions, ResultOrder, type RetryOptionsConfig, type RetryPolicyConfig, type Reward, type RewardSnapshot, type RewardTrack, type RewardTrackMetadata, type RewardTrackProgress, type RewardTrackResultContainer, type SearchLinks, type SeasonCalendar, type SeasonCalendarEntry, type SeasonServiceRecord, type Server, type ServiceAward, type ServiceAwardSnapshot, type ServiceRecordSubqueries, type SettingsConfig, type SpartanBody, type SpartanToken, type SpartanTokenProof, type SpartanTokenRequest, type SpriteSheet, type Stats, type StockpileStats, type StoreItem, type StoreOffering, type StorePrice, type Team, type TestAcademyClientManifest, type ThemeBase, type TimePlayed, type TransactionSnapshot, USER_AGENTS, type UgcGameVariant, type UgcGameVariantAsset, type UgcSearchParams, type UgcSearchResult, type UserEmail, type UserNotificationsSettings, type UserProfile, type UserSettings, type VehicleCore, type VehicleCoreCollection, type VehicleCoreTheme, type VipStats, WAYPOINT_ENDPOINTS, WaypointClient, type WaypointClientOptions, type WeaponCore, type WeaponCoreCollection, type WeaponCoreTheme, type WinLossRecord, type XpBreakdown, type ZonesStats, buildServiceUrl, getContentTypeHeader, isClientError, isNotModified, isServerError, isSuccess };
package/dist/index.js CHANGED
@@ -1196,20 +1196,18 @@ var EconomyModule = class extends ModuleBase {
1196
1196
  );
1197
1197
  }
1198
1198
  /**
1199
- * Get career rank for players.
1199
+ * Get career rank for a player.
1200
1200
  *
1201
- * @param playerIds - List of player XUIDs
1201
+ * @param player - Player's numeric XUID
1202
1202
  * @param careerPathId - Career path identifier
1203
- * @returns Career rank results
1203
+ * @returns Reward track with career rank progress
1204
1204
  */
1205
- getPlayerCareerRank(playerIds, careerPathId) {
1206
- if (!playerIds.length) {
1207
- throw new Error("playerIds cannot be empty");
1208
- }
1205
+ getPlayerCareerRank(player, careerPathId) {
1206
+ this.assertNotEmpty(player, "player");
1209
1207
  this.assertNotEmpty(careerPathId, "careerPathId");
1210
- const playersQuery = playerIds.map((id) => `players=xuid(${id})`).join("&");
1211
1208
  return this.get(
1212
- `/hi/careerranks/${careerPathId}?${playersQuery}`
1209
+ `/hi/players/xuid(${player})/rewardtracks/careerranks/${careerPathId}`,
1210
+ { useClearance: true }
1213
1211
  );
1214
1212
  }
1215
1213
  };
@@ -1327,7 +1325,10 @@ var GameCmsModule = class extends ModuleBase {
1327
1325
  */
1328
1326
  getCareerRanks(careerPathId) {
1329
1327
  this.assertNotEmpty(careerPathId, "careerPathId");
1330
- return this.get(`/hi/Progression/file/careerranks/${careerPathId}`);
1328
+ return this.get(
1329
+ `/hi/Progression/file/RewardTracks/CareerRanks/${careerPathId}.json`,
1330
+ { useClearance: true }
1331
+ );
1331
1332
  }
1332
1333
  /**
1333
1334
  * Get the season calendar.