Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 16, 2025
1 parent 4fd5aed commit 294b7cc
Show file tree
Hide file tree
Showing 210 changed files with 1,356 additions and 7,265 deletions.
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ following namespace:
```typescript
import { Monite } from "monite";

const request: Monite.GetAnalyticsPayablesRequest = {
const request: Monite.ApprovalPoliciesGetRequest = {
...
};
```
Expand All @@ -70,18 +70,6 @@ try {

## Advanced

### Additional Headers

If you would like to send additional headers as part of the request, use the `headers` request option.

```typescript
const response = await client.products.create(..., {
headers: {
'X-Custom-Header': 'custom value'
}
});
```

### Retries

The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@types/qs": "6.9.8",
"@types/node-fetch": "2.6.9",
"@types/readable-stream": "^4.0.15",
"fetch-mock-jest": "^1.5.1",
"webpack": "^5.94.0",
"ts-loader": "^9.3.1",
"jest": "29.7.0",
Expand Down
Loading

0 comments on commit 294b7cc

Please sign in to comment.