trashposs/packages/trashposs-js/markdown/trashposs-js.api.apiclient._constructor_.md
2024-04-06 22:57:52 +02:00

25 lines
924 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [trashposs-js](./trashposs-js.md) &gt; [api](./trashposs-js.api.md) &gt; [APIClient](./trashposs-js.api.apiclient.md) &gt; [(constructor)](./trashposs-js.api.apiclient._constructor_.md)
## api.APIClient.(constructor)
Constructs a new instance of the `APIClient` class
**Signature:**
```typescript
constructor(opts: {
origin: APIClient["origin"];
credential?: APIClient["credential"];
fetch?: APIClient["fetch"] | null | undefined;
});
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| opts | { origin: [APIClient](./trashposs-js.api.apiclient.md)<!-- -->\["origin"\]; credential?: [APIClient](./trashposs-js.api.apiclient.md)<!-- -->\["credential"\]; fetch?: [APIClient](./trashposs-js.api.apiclient.md)<!-- -->\["fetch"\] \| null \| undefined; } | |