UNPKG

userplex

Version:

The official TypeScript library for the Userplex API

12 lines 479 B
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from "../core/resource.mjs"; export class Events extends APIResource { /** * Creates or uses an existing event and records an event occurrence for an end * user. Requires a valid API key for authentication. */ track(body, options) { return this._client.post('/api/event', { body, ...options }); } } //# sourceMappingURL=events.mjs.map