cloudflare
Version:
The official TypeScript library for the Cloudflare API
16 lines • 692 B
JavaScript
;
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.LastSeenIdentity = void 0;
const resource_1 = require("../../../../resource.js");
class LastSeenIdentity extends resource_1.APIResource {
/**
* Get last seen identity for a single user.
*/
get(userId, params, options) {
const { account_id } = params;
return this._client.get(`/accounts/${account_id}/access/users/${userId}/last_seen_identity`, options)._thenUnwrap((obj) => obj.result);
}
}
exports.LastSeenIdentity = LastSeenIdentity;
//# sourceMappingURL=last-seen-identity.js.map