UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

75 lines 2.8 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LiveEventType = void 0; exports.instanceOfLiveEventType = instanceOfLiveEventType; exports.LiveEventTypeFromJSON = LiveEventTypeFromJSON; exports.LiveEventTypeFromJSONTyped = LiveEventTypeFromJSONTyped; exports.LiveEventTypeToJSON = LiveEventTypeToJSON; exports.LiveEventTypeToJSONTyped = LiveEventTypeToJSONTyped; /** * * @export * @enum {string} */ var LiveEventType; (function (LiveEventType) { LiveEventType["update_badges"] = "update-badges"; LiveEventType["notification"] = "notification"; LiveEventType["notification_update"] = "notification-update"; LiveEventType["p_u"] = "p-u"; LiveEventType["new_vote"] = "new-vote"; LiveEventType["deleted_vote"] = "deleted-vote"; LiveEventType["new_comment"] = "new-comment"; LiveEventType["updated_comment"] = "updated-comment"; LiveEventType["deleted_comment"] = "deleted-comment"; LiveEventType["cvc"] = "cvc"; LiveEventType["new_config"] = "new-config"; LiveEventType["thread_state_change"] = "thread-state-change"; LiveEventType["fr"] = "fr"; LiveEventType["dfr"] = "dfr"; LiveEventType["new_feed_post"] = "new-feed-post"; LiveEventType["updated_feed_post"] = "updated-feed-post"; LiveEventType["deleted_feed_post"] = "deleted-feed-post"; LiveEventType["new_ticket"] = "new-ticket"; LiveEventType["updated_ticket_state"] = "updated-ticket-state"; LiveEventType["updated_ticket_assignment"] = "updated-ticket-assignment"; LiveEventType["deleted_ticket"] = "deleted-ticket"; LiveEventType["page_react"] = "page-react"; LiveEventType["question_result"] = "question-result"; })(LiveEventType || (exports.LiveEventType = LiveEventType = {})); function instanceOfLiveEventType(value) { for (const key in LiveEventType) { if (Object.prototype.hasOwnProperty.call(LiveEventType, key)) { if (LiveEventType[key] === value) { return true; } } } return false; } function LiveEventTypeFromJSON(json) { return LiveEventTypeFromJSONTyped(json, false); } function LiveEventTypeFromJSONTyped(json, ignoreDiscriminator) { return json; } function LiveEventTypeToJSON(value) { return value; } function LiveEventTypeToJSONTyped(value, ignoreDiscriminator) { return value; } //# sourceMappingURL=LiveEventType.js.map