# Packages

{% hint style="info" %}
Type [`VidalPackageDto`](../types/package)
{% endhint %}

#### VidalClient::getPackages

```typescript
await client.getPackages() => VidalPackageDto[]
await client.getPackages("advil") => VidalPackageDto[]
```

#### VidalClient::getPackage

```typescript
await client.getPackage(37939) => VidalPackageDto
```

#### VidalClient::getPackageByCip

```typescript
await client.getPackageByCip(3400937710343) => VidalPackageDto
```

#### VidalClient::getPackagesByProductId

```typescript
await client.getPackagesByProductId(76005) => VidalPackageDto[]
```

#### VidalClient::getGenericsFromPackageId

```typescript
await client.getGenericsFromPackageId(76005) => Record<string, VidalPackageDto[]>
```
