Skip to content

Commit e54c864

Browse files
committed
rename clients to singular
1 parent fea3519 commit e54c864

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+19
-19
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/clients/invoices/index.ts renamed to src/clients/invoice/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { InvoicesSearchData, InvoicesSearchResponse } from './search/types'
77

88
import type { MercadoPagoConfig } from '@src/mercadoPagoConfig';
99

10-
export class Invoices {
10+
export class Invoice {
1111
private config: MercadoPagoConfig;
1212

1313
constructor(mercadoPagoConfig: MercadoPagoConfig) {
@@ -17,7 +17,7 @@ export class Invoices {
1717
/**
1818
* Mercado Pago Get.
1919
*
20-
* @see {@link https://github.com/mercadopago/sdk-nodejs/blob/master/src/examples/invoices/get.ts Usage Example }.
20+
* @see {@link https://github.com/mercadopago/sdk-nodejs/blob/master/src/examples/invoice/get.ts Usage Example }.
2121
*/
2222
get({ id, requestOptions }: InvoicesGetData): Promise<InvoicesResponse> {
2323
this.config.options = { ...this.config.options, ...requestOptions };
@@ -27,7 +27,7 @@ export class Invoices {
2727
/**
2828
* Mercado Pago Search.
2929
*
30-
* @see {@link https://github.com/mercadopago/sdk-nodejs/blob/master/src/examples/invoices/search.ts Usage Example }.
30+
* @see {@link https://github.com/mercadopago/sdk-nodejs/blob/master/src/examples/invoice/search.ts Usage Example }.
3131
*/
3232
search(ivoicesSearchOptions: InvoicesSearchData = {}): Promise<InvoicesSearchResponse> {
3333
const { options, requestOptions } = ivoicesSearchOptions;

0 commit comments

Comments
 (0)