Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/speakeasy-sdks/infobip-moments-ts
- Owner: speakeasy-sdks
- License: mit
- Created: 2023-05-02T13:12:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T21:20:36.000Z (7 months ago)
- Last Synced: 2024-04-28T05:14:45.036Z (6 months ago)
- Topics: api, infobip, sdk, typescript
- Language: TypeScript
- Homepage: https://www.infobip.com/docs/api/customer-engagement/moments
- Size: 74.2 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## 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)