import voca from 'voca' ; /**
 * Within all files generated by the SDK we use the unix style end of line delimiter.
 * We do not consider if the generator is executed on windows or unix systems.
 * It will always be `\n` to have consistent clients between operating systems.
 */ export const unixEOL = '\n' ; /**
 * For request payloads, etc., it is convention to use the `\r\n` new line.
 */ export const webEOL = '\r\n' ; param str returns export function upperCaseSnakeCase ( str ) { return voca . upperCase ( voca . snakeCase ( str ) ) ; } param str returns export function camelCase ( str ) { return voca . camelCase ( str ) ; } param str returns export function titleFormat ( str ) { return voca . titleCase ( voca . words ( str ) . join ( ' ' ) ) ; } param str returns export function pascalCase ( str ) { return voca . words ( str ) . map ( word => voca . capitalize ( word ) ) . join ( '' ) ; } param str returns export function kebabCase ( str ) { return voca . kebabCase ( str ) ; } param json returns export function formatJson ( json ) { return JSON . stringify ( json , null , 2 ) + unixEOL ; }