UNPKG

flowus-api-sdk

Version:

Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks

58 lines (57 loc) 1.41 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * FlowUs API * FlowUs Developer API * * The version of the OpenAPI document: 1.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.UserObjectEnum = void 0; exports.instanceOfUser = instanceOfUser; exports.UserFromJSON = UserFromJSON; exports.UserFromJSONTyped = UserFromJSONTyped; exports.UserToJSON = UserToJSON; exports.UserToJSONTyped = UserToJSONTyped; /** * @export */ exports.UserObjectEnum = { User: 'user' }; /** * Check if a given object implements the User interface. */ function instanceOfUser(value) { return true; } function UserFromJSON(json) { return UserFromJSONTyped(json, false); } function UserFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'object': json['object'] == null ? undefined : json['object'], 'id': json['id'] == null ? undefined : json['id'], }; } function UserToJSON(json) { return UserToJSONTyped(json, false); } function UserToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'object': value['object'], 'id': value['id'], }; }