src/rest_client.js
async function insertEntries(worksheetInfo, entries, options) {
    let response;
    let insertEntry = (entry) => {
        var payload = Object.assign({
                body: api.converter.createEntryRequest(entry)
            },
            worksheetInfo
        );

        return executeRequest('create_entry', payload);
    };

    if (options.ordered) {
        for (let entry of entries) {
            response = await insertEntry(entry);
        }
    } else {
        response = await Promise.all(entries.map(entry => insertEntry(entry)));
    }

    cache.clear();
    return response;
}
async function insertEntries(worksheetInfo, entries, options) {
    let response;
    let insertEntry = (entry) => {
        var payload = Object.assign({
                body: api.converter.createEntryRequest(entry)
            },
            worksheetInfo
        );

        return executeRequest('create_entry', payload);
    };

    if (options.ordered) {
        for (let entry of entries) {
            response = await insertEntry(entry);
        }
    } else {
        response = await Promise.all(entries.map(entry => insertEntry(entry)));
    }

    cache.clear();
    return response;
}
async function insertEntries ( worksheetInfo , entries , options ) { let response ; let insertEntry = ( entry ) => { var payload = Object . assign ( { body : api . converter . createEntryRequest ( entry ) } , worksheetInfo ) ; return executeRequest ( 'create_entry' , payload ) ; } ; if ( options . ordered ) { for ( let entry of entries ) { response = await insertEntry ( entry ) ; } } else { response = await Promise . all ( entries . map ( entry => insertEntry ( entry ) ) ) ; } cache . clear ( ) ; return response ; }
Creates the specific entry

@param {string} worksheetInfo
@param {array} entries
@param {object} options
Creates the specific entry