# alfred-stephen

> ![example image](https://i.ibb.co/7bqPkGJ/PMS-integration-workflow.png "An exemplary image") **Before beginning work it is necessary that:** * Your organization is registered and activated * You have participated in a kick­off meeting * The openin

Latest version **1.0.0** (published 2021-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install alfred-stephen
pnpm add alfred-stephen
yarn add alfred-stephen
bun add alfred-stephen
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-08-10 |
| First published | 2021-08-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10.4.0 |
| Dependencies | 2 |
| Unpacked size | 197.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | APIMATIC SDK Generator |
| Maintainers | mujjazi |

## Links

- npm: https://www.npmjs.com/package/alfred-stephen
- npm.io page: https://npm.io/package/alfred-stephen

## Dependencies (2)

- [@apimatic/core](https://npm.io/package/@apimatic/core.md) ^0.6.1
- [@apimatic/schema](https://npm.io/package/@apimatic/schema.md) ^0.6.0

## Recent versions

- 1.0.0 (latest) — 2021-08-10

## README

# Getting Started with Channel Management API

## Introduction

![example image](https://i.ibb.co/7bqPkGJ/PMS-integration-workflow.png "An exemplary image")

**Before beginning work it is necessary that:**

* Your organization is registered and activated
* You have participated in a kick­off meeting
* The opening questionnaire has been filled out
* You have your login and password. (Using it you get a unique session `token` that must be used in every request to API as param `jwt`)

[Contact us](https://bookingpal.com/en/contact-us/) to be registered and get your credentials.

All responses are returned as JSON.

This document covers all the API calls and other methods that can be used to complete Razor-Cloud integration. It is important to note that all parameters are **case sensitive** in this document and should be used as documented.

**Responses:**
When a request is successful, a response body will typically be sent back in the form of a JSON object. An exception to this is when a DELETE request is processed, which will result in a successful `200` status and an empty response body.

## Install the Package

Run the following command from your project directory to install the package from npm:

```ts
npm install alfred-stephen@1.0.0
```

## Initialize the API Client

**_Note:_** Documentation for the client can be found [here.](/doc/client.md)

The following parameters are configurable for the API Client:

| Parameter | Type | Description |
|  --- | --- | --- |
| `timeout` | `number` | Timeout for API calls.<br>*Default*: `0` |
| `jwt` | `string` | Token which need to be passed in every request as GET parameter. You will get this token in authorization response. Token is valid 1 hour. |

The API client can be initialized as follows:

```ts
const client = new Client({
  timeout: 0,
  jwt: 'jwt',
})
```

## Authorization

This API uses `Custom Query Parameter`.

## List of APIs

* [Authorization](/doc/controllers/authorization.md)
* [Property Managers](/doc/controllers/property-managers.md)
* [Product](/doc/controllers/product.md)
* [Images](/doc/controllers/images.md)
* [Rates and Availability](/doc/controllers/rates-and-availability.md)
* [LOS Pricing](/doc/controllers/los-pricing.md)
* [Fee and Tax](/doc/controllers/fee-and-tax.md)
* [Fee and Tax Mandatory at the Property Level](/doc/controllers/fee-and-tax-mandatory-at-the-property-level.md)
* [Yields](/doc/controllers/yields.md)
* [Validation](/doc/controllers/validation.md)
* [Testing of Message API Calls](/doc/controllers/testing-of-message-api-calls.md)
* [Messaging](/doc/controllers/messaging.md)
* [Request to Book](/doc/controllers/request-to-book.md)
* [Push Notification](/doc/controllers/push-notification.md)
* [Reservation Notifications](/doc/controllers/reservation-notifications.md)

## Classes Documentation

* [ApiResponse](/doc/api-response.md)
* [ApiError](/doc/api-error.md)

---
_Source: https://npm.io/package/alfred-stephen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
