--[[
	MarketplaceService does not expose a type for the result of GetProductInfo,
	so we have to do it ourselves.

	See the GetProductInfo method for more info:
	https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/GetProductInfo
]]

export type ProductInfo = {
	Name: string,
	Description: string,
	PriceInRobux: number,
	Created: string,
	Updated: string,
	ContentRatingTypeId: number,
	MinimumMembershipLevel: number,
	IsPublicDomain: boolean,

	-- Creator Information
	Creator: {
		CreatorType: string,
		CreatorTargetId: number,
		Name: string,
		Id: number,
	},

	-- Assets
	AssetId: number,
	AssetTypeId: number,
	IsForSale: boolean,
	IsLimited: boolean,
	IsLimitedUnique: boolean,
	IsNew: boolean,
	Remaining: number,
	Sales: number,
	SaleAvailabilityLocations: Enum.ProductLocationRestriction,
	CanBeSoldInThisGame: boolean,
	ProductType: string,

	-- Developer Products and Game Passes
	ProductId: number,
	IconImageAssetId: number,
}
