UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
50 lines (49 loc) 1.47 kB
/* tslint:disable */ /* eslint-disable */ /** * AskNews API * AskNews API [![status](https://status.asknews.app/api/badge/2/status?style=for-the-badge)](https://status.asknews.app/status/prod) * * The version of the OpenAPI document: 0.24.66 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * @export */ export const AnthropicThinkingBlockTypeEnum = { Thinking: 'thinking' }; /** * Check if a given object implements the AnthropicThinkingBlock interface. */ export function instanceOfAnthropicThinkingBlock(value) { return true; } export function AnthropicThinkingBlockFromJSON(json) { return AnthropicThinkingBlockFromJSONTyped(json, false); } export function AnthropicThinkingBlockFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'] == null ? undefined : json['type'], 'thinking': json['thinking'] == null ? undefined : json['thinking'], }; } export function AnthropicThinkingBlockToJSON(json) { return AnthropicThinkingBlockToJSONTyped(json, false); } export function AnthropicThinkingBlockToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'thinking': value['thinking'], }; }