@@ -71,7 +71,7 @@ npm install
7171
7272## Initialize the API Client
7373
74- ** _ Note:_ ** Documentation for the client can be found [ here.] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/client.md )
74+ ** _ Note:_ ** Documentation for the client can be found [ here.] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/client.md )
7575
7676The following parameters are configurable for the API Client:
7777
@@ -81,8 +81,6 @@ The following parameters are configurable for the API Client:
8181| ` timeout ` | ` number ` | Timeout for API calls.<br >* Default* : ` 0 ` |
8282| ` httpClientOptions ` | ` Partial<HttpClientOptions> ` | Stable configurable http client options. |
8383| ` unstableHttpClientOptions ` | ` any ` | Unstable configurable http client options. |
84- | ` basicAuthUserName ` | ` string ` | The username to use with basic authentication |
85- | ` basicAuthPassword ` | ` string ` | The password to use with basic authentication |
8684
8785### HttpClientOptions
8886
@@ -111,45 +109,39 @@ The API client can be initialized as follows:
111109const client = new Client ({
112110 serviceRefererName: ' ServiceRefererName' ,
113111 timeout: 0 ,
114- basicAuthUserName: ' BasicAuthUserName' ,
115- basicAuthPassword: ' BasicAuthPassword' ,
116112});
117113```
118114
119- ## Authorization
120-
121- This API uses ` Basic Authentication ` .
122-
123115## API Errors
124116
125117Here is the list of errors that the API might throw.
126118
127119| HTTP Status Code | Error Description | Exception Class |
128120| --- | --- | --- |
129- | 400 | Invalid request | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/models/custom-error.md ) |
130- | 401 | Invalid API key | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/models/custom-error.md ) |
131- | 404 | An informed resource was not found | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/models/custom-error.md ) |
132- | 412 | Business validation error | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/models/custom-error.md ) |
133- | 422 | Contract validation error | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/models/custom-error.md ) |
134- | 500 | Internal server error | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/models/custom-error.md ) |
121+ | 400 | Invalid request | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/models/custom-error.md ) |
122+ | 401 | Invalid API key | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/models/custom-error.md ) |
123+ | 404 | An informed resource was not found | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/models/custom-error.md ) |
124+ | 412 | Business validation error | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/models/custom-error.md ) |
125+ | 422 | Contract validation error | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/models/custom-error.md ) |
126+ | 500 | Internal server error | [ ` CustomError ` ] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/models/custom-error.md ) |
135127
136128## List of APIs
137129
138- * [ Subscriptions] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/subscriptions.md )
139- * [ Orders] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/orders.md )
140- * [ Plans] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/plans.md )
141- * [ Invoices] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/invoices.md )
142- * [ Customers] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/customers.md )
143- * [ Charges] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/charges.md )
144- * [ Recipients] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/recipients.md )
145- * [ Tokens] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/tokens.md )
146- * [ Transactions] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/transactions.md )
147- * [ Transfers] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/transfers.md )
148- * [ Payables] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/payables.md )
149- * [ Balance Operations] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/controllers/balance-operations.md )
130+ * [ Subscriptions] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/subscriptions.md )
131+ * [ Orders] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/orders.md )
132+ * [ Plans] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/plans.md )
133+ * [ Invoices] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/invoices.md )
134+ * [ Customers] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/customers.md )
135+ * [ Charges] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/charges.md )
136+ * [ Recipients] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/recipients.md )
137+ * [ Tokens] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/tokens.md )
138+ * [ Transactions] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/transactions.md )
139+ * [ Transfers] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/transfers.md )
140+ * [ Payables] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/payables.md )
141+ * [ Balance Operations] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/controllers/balance-operations.md )
150142
151143## Classes Documentation
152144
153- * [ ApiResponse] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/api-response.md )
154- * [ ApiError] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.1 /doc/api-error.md )
145+ * [ ApiResponse] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/api-response.md )
146+ * [ ApiError] ( https://www.github.com/pagarme/pagarme-nodejs-sdk/tree/6.8.5 /doc/api-error.md )
155147
0 commit comments