2023-06-14 02:26:19 +02:00
|
|
|
export interface IPurchaseRequest {
|
|
|
|
PurchaseParams: IPurchaseParams;
|
|
|
|
buildLabel: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPurchaseParams {
|
|
|
|
Source: number;
|
|
|
|
StoreItem: string;
|
|
|
|
StorePage: string;
|
|
|
|
SearchTerm: string;
|
|
|
|
CurrentLocation: string;
|
|
|
|
Quantity: number;
|
|
|
|
UsePremium: boolean;
|
|
|
|
ExpectedPrice: number;
|
|
|
|
}
|
|
|
|
|
2024-06-20 16:35:24 +02:00
|
|
|
export type IInventoryChanges = Record<string, IBinChanges | object[]>;
|
2023-06-14 02:26:19 +02:00
|
|
|
|
|
|
|
export type IBinChanges = {
|
|
|
|
count: number;
|
|
|
|
platinum: number;
|
|
|
|
Slots: number;
|
2023-12-28 16:24:52 +01:00
|
|
|
Extra?: number;
|
2023-06-14 02:26:19 +02:00
|
|
|
};
|
|
|
|
|
2024-09-06 02:16:27 +03:00
|
|
|
export type SlotPurchaseName = "SuitSlotItem" | "TwoSentinelSlotItem" | "TwoWeaponSlotItem";
|
2023-12-28 16:24:52 +01:00
|
|
|
|
2024-09-06 02:16:27 +03:00
|
|
|
export type SlotNames = "SuitBin" | "WeaponBin" | "MechBin" | "PveBonusLoadoutBin" | "SentinelBin";
|
2023-12-28 16:24:52 +01:00
|
|
|
|
|
|
|
export type SlotPurchase = {
|
|
|
|
[P in SlotPurchaseName]: { name: SlotNames; slotsPerPurchase: number };
|
|
|
|
};
|