userplex
Version:
The official TypeScript library for the Userplex API
16 lines • 608 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Events = void 0;
const resource_1 = require("../core/resource.js");
class Events extends resource_1.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 });
}
}
exports.Events = Events;
//# sourceMappingURL=events.js.map
;