-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dphuang2
committed
Mar 28, 2024
1 parent
554f0bb
commit 4dc8894
Showing
6 changed files
with
3,338 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import React from 'react'; | ||
import { Company } from '../../../components/Company'; | ||
|
||
const sdks = [ | ||
{ | ||
"name": "FreeAgent", | ||
"numberOfMethods": 152, | ||
"categories": [ | ||
"accounting", | ||
"finance" | ||
], | ||
"index": "free-agent/typescript", | ||
"language": "TypeScript", | ||
"link": "/sdk/free-agent/typescript/", | ||
"developerDocumentation": "dev.freeagent.com/docs", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/freeagent/openapi.yaml" | ||
}, | ||
{ | ||
"name": "FreeAgent", | ||
"numberOfMethods": 152, | ||
"categories": [ | ||
"accounting", | ||
"finance" | ||
], | ||
"index": "free-agent/python", | ||
"language": "Python", | ||
"link": "/sdk/free-agent/python/", | ||
"developerDocumentation": "dev.freeagent.com/docs", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/freeagent/openapi.yaml" | ||
}, | ||
{ | ||
"name": "FreeAgent", | ||
"numberOfMethods": 152, | ||
"categories": [ | ||
"accounting", | ||
"finance" | ||
], | ||
"index": "free-agent/java", | ||
"language": "Java", | ||
"link": "/sdk/free-agent/java/", | ||
"developerDocumentation": "dev.freeagent.com/docs", | ||
"openapiGitHubUi": "https://github.com/konfig-sdks/openapi-examples/tree/HEAD/freeagent/openapi.yaml" | ||
} | ||
]; | ||
|
||
export default function FreeAgent() { | ||
const allCategories: string[] = Array.from( | ||
new Set(sdks.flatMap((service) => service.categories)), | ||
) | ||
return ( | ||
<Company | ||
company="FreeAgent" | ||
previewLinkImage="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/freeagent/imagePreview.png" | ||
logo="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/freeagent/logo.png" | ||
favicon="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/freeagent/favicon.png" | ||
sdks={sdks} | ||
homepage="freeagent.com" | ||
companyKebabCase="free-agent" | ||
categories={allCategories} | ||
metaDescription={`One product.🤳 17 years. 📆 250+ employees. 🧑💻Over 150,000 users. 💥There's so much to say about it all. But here's the version that fits the character limit. | ||
We're FreeAgent. 👋 We make award-winning accounting software and provide superstar support for small businesses and their accountants and bookkeepers. We're a friendly bunch with a single goal bringing us all together: making users happier and more successful by putting them in control of their finances. | ||
But how did we get here? 🤔 You might remember 2007 as the year the first iPhone, Kindle and Fitbit debuted. It was also the year FreeAgent was launched.💡 Founders Ed, Olly and Roan had all been working as freelance designers or developers for a while. They created FreeAgent out of the frustration that doing the books was just too damn difficult for most of us. So they put their heads together and decided that there must be a better way to deal with their mounting piles of invoices, spreadsheets and receipts. | ||
Since our first hire back in 2008, we've also worked hard to make FreeAgent a ✨great✨ place to work. We've grown to over 250 employees and we continue to build a diverse, high-performing, happy and collaborative team. | ||
In early 2018, the company was acquired by the NatWest Group. Our growth has been given a turbo boost, yet we remain operationally independent of the group. 🚀 | ||
Today, FreeAgent helps over 150,000 users take care of their finances - from the daily admin to big-picture planning - and do it all happily and successfully. Just like Ed, Olly and Roan set out to do all those years ago. 💙`} | ||
/> | ||
) | ||
} |
8 changes: 8 additions & 0 deletions
8
generator/konfig-docs/src/pages/sdk/free-agent/typescript/_first-request.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
```typescript index.ts | ||
// Refresh access token | ||
const refreshAccessTokenResponse = freeAgent.authorization.refreshAccessToken({ | ||
client_id: "{{client_id}}" | ||
client_secret: "{{client_secret}}" | ||
grant_type: "refresh_token" | ||
}) | ||
``` |
5 changes: 5 additions & 0 deletions
5
generator/konfig-docs/src/pages/sdk/free-agent/typescript/_getting-started.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
```typescript index.ts | ||
import { FreeAgent } from 'free-agent-typescript-sdk'; | ||
|
||
const freeAgent = new FreeAgent() | ||
``` |
Oops, something went wrong.