Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/speakeasy-sdks/infobip-moments-ts

A typescript SDK for accessing Infobip's Moments API.
https://github.com/speakeasy-sdks/infobip-moments-ts

api infobip sdk typescript

Last synced: 1 day ago
JSON representation

A typescript SDK for accessing Infobip's Moments API.

Awesome Lists containing this project

README

        



Moments Typescript SDK


The Global Communications Platform for Businesses






## SDK Installation

### NPM

```bash
npm add https://github.com/speakeasy-sdks/Infobip-moments-ts
```

### Yarn

```bash
yarn add https://github.com/speakeasy-sdks/Infobip-moments-ts
```

## SDK Example Usage

```typescript
import { Infobip } from "infobip-moments";
import { GetFormsResponse } from "infobip-moments/dist/sdk/models/operations";
import { ActionAfterSubmissionTypeEnum, FormElementDtoComponentEnum } from "infobip-moments/dist/sdk/models/shared";

const sdk = new Infobip();

sdk.moments.getForms({
ibssoTokenHeader: "YOUR_API_KEY_HERE",
}, 548814, 592845).then((res: GetFormsResponse) => {
if (res.statusCode == 200) {
// handle response
}
});
```

## Available Resources and Operations

### [moments](docs/moments/README.md)

* [addPeopleToFlow](docs/moments/README.md#addpeopletoflow) - Add Person to Flow
* [getForm](docs/moments/README.md#getform) - Get form
* [getForms](docs/moments/README.md#getforms) - Get forms
* [incrementViewCount](docs/moments/README.md#incrementviewcount) - Increment form view count
* [removePeopleFromFlow](docs/moments/README.md#removepeoplefromflow) - Remove Person from Flow

### Maturity

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
looking for the latest version.

### Contributions

While we value open-source contributions to this SDK, this library is generated programmatically.
Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !

### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)