<commit_before>/// <reference types="node" />

import * as Promise from "bluebird";

let binding: RfcClientBinding;
try {
    binding = require("../binding/sapnwrfc");
} catch (ex) {
    if (ex.message.indexOf("sapnwrfc.node") !== -1)
        ex.message +=
            ["win32", "linux", "darwin"].indexOf(process.platform) !== -1
                ? "\n\n The SAP NW RFC SDK could not be loaded, check the installation: http://sap.github.io/node-rfc/install.html#sap-nw-rfc-sdk-installation"
                : `\n\nPlatform not supported: ${process.platform}`;
    throw ex;
}
interface RfcConnectionInfo {
    host: string;
    partnerHost: string;
    sysNumber: string;
    sysId: string;
    client: string;
    user: string;
    language: string;
    trace: string;
    isoLanguage: string;
    codepage: string;
    partnerCodepage: string;
    rfcRole: string;
    type: string;
    partnerType: string;
    rel: string;
    partnerRel: string;
    kernelRel: string;
    cpicConvId: string;
    progName: string;
    partnerBytesPerChar: string;
    reserved: string;
}

interface RfcClientVersion {
    major: string;
    minor: string;
    patch: string;
    binding: string;
}

export interface RfcClientOptions {
    rstrip: boolean;
    bcd: string | Function;
    date: Function;
    time: Function;
}

interface RfcClientInstance {<commit_msg>New ConnectionInfo attributes added to wrapper class<commit_after>/// <reference types="node" />

import * as Promise from "bluebird";

let binding: RfcClientBinding;
try {
    binding = require("../binding/sapnwrfc");
} catch (ex) {
    if (ex.message.indexOf("sapnwrfc.node") !== -1)
        ex.message +=
            ["win32", "linux", "darwin"].indexOf(process.platform) !== -1
                ? "\n\n The SAP NW RFC SDK could not be loaded, check the installation: http://sap.github.io/node-rfc/install.html#sap-nw-rfc-sdk-installation"
                : `\n\nPlatform not supported: ${process.platform}`;
    throw ex;
}
interface RfcConnectionInfo {
    dest: string;
    host: string;
    partnerHost: string;
    sysNumber: string;
    sysId: string;
    client: string;
    user: string;
    language: string;
    trace: string;
    isoLanguage: string;
    codepage: string;
    partnerCodepage: string;
    rfcRole: string;
    type: string;
    partnerType: string;
    rel: string;
    partnerRel: string;
    kernelRel: string;
    cpicConvId: string;
    progName: string;
    partnerBytesPerChar: string;
    partnerSystemCodepage: string;
    partnerIP: string;
    partnerIPv6: string;
    //reserved: string;
}

interface RfcClientVersion {
    major: string;
    minor: string;
    patch: string;
    binding: string;
}

export interface RfcClientOptions {
    rstrip: boolean;
    bcd: string | Function;
    date: Function;
    time: Function;
}

interface RfcClientInstance {
{'fraction_non_alphanumeric': 0.12044817927170869, 'fraction_numerical': 0.0031512605042016808, 'mean_word_length': 2.908344733242134, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5543881', 'n_tokens_mistral': 901, 'n_tokens_neox': 910, 'n_words': 238}