Mangopay / mangopay2-nodejs-sdk

Node.js SDK for MANGOPAY
https://www.npmjs.com/package/mangopay2-nodejs-sdk
MIT License
51 stars 38 forks source link

Wrong return type in Disputes.getRepudiation() #339

Closed belinde closed 1 year ago

belinde commented 2 years ago

Disputes.getRepudiation() type suggests an array is returned, but is a single object instead:

export class Disputes {
// OMISSIS

    /**
     * Gets repudiation
     * @param repudiationId
     * @param options
     */
    getRepudiation: MethodOverload<string, repudiation.RepudiationData[]>;

// OMISSIS
}
fredericdelordm commented 1 year ago

Hello @belinde,

Thanks for the message. We are going to fix this in the next release.

belinde commented 1 year ago

Still not fixed.