cloudflare
Version:
The official TypeScript library for the Cloudflare API
17 lines • 760 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("cloudflare/resource");
class LastSeenIdentity extends resource_1.APIResource {
/**
* Get last seen identity for a single user.
*/
get(identifier, id, options) {
return this._client.get(`/accounts/${identifier}/access/users/${id}/last_seen_identity`, options)._thenUnwrap((obj) => obj.result);
}
}
exports.LastSeenIdentity = LastSeenIdentity;
(function (LastSeenIdentity) {
})(LastSeenIdentity = exports.LastSeenIdentity || (exports.LastSeenIdentity = {}));
//# sourceMappingURL=last-seen-identity.js.map