2023-07-21 19:33:01 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2024-04-06 22:57:52 +02:00
|
|
|
[Home](./index.md) > [trashposs-js](./trashposs-js.md) > [api](./trashposs-js.api.md) > [APIClient](./trashposs-js.api.apiclient.md)
|
2023-07-21 19:33:01 +02:00
|
|
|
|
|
|
|
## api.APIClient class
|
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare class APIClient
|
|
|
|
```
|
|
|
|
|
|
|
|
## Constructors
|
|
|
|
|
|
|
|
| Constructor | Modifiers | Description |
|
|
|
|
| --- | --- | --- |
|
2024-04-06 22:57:52 +02:00
|
|
|
| [(constructor)(opts)](./trashposs-js.api.apiclient._constructor_.md) | | Constructs a new instance of the <code>APIClient</code> class |
|
2023-07-21 19:33:01 +02:00
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --- | --- | --- | --- |
|
2024-04-06 22:57:52 +02:00
|
|
|
| [credential](./trashposs-js.api.apiclient.credential.md) | | string \| null \| undefined | |
|
|
|
|
| [fetch](./trashposs-js.api.apiclient.fetch.md) | | [FetchLike](./trashposs-js.api.fetchlike.md) | |
|
|
|
|
| [origin](./trashposs-js.api.apiclient.origin.md) | | string | |
|
2023-07-21 19:33:01 +02:00
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
|
|
| Method | Modifiers | Description |
|
|
|
|
| --- | --- | --- |
|
2024-04-06 22:57:52 +02:00
|
|
|
| [request(endpoint, params, credential)](./trashposs-js.api.apiclient.request.md) | | |
|
2023-07-21 19:33:01 +02:00
|
|
|
|