-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ticketing-linear
- Loading branch information
Showing
289 changed files
with
35,135 additions
and
5,563 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
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 |
---|---|---|
|
@@ -53,7 +53,4 @@ | |
* { | ||
@apply border-border; | ||
} | ||
body { | ||
@apply bg-background text-foreground; | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
745 changes: 271 additions & 474 deletions
745
apps/webapp/src/components/Configuration/Connector/ConnectorDisplay.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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,10 @@ | ||
--- | ||
title: 'Overview' | ||
description: '' | ||
--- | ||
import hrisCatalog from '/snippets/hris-catalog.mdx'; | ||
|
||
Welcome to the reference documentation for the Panora HRIS API! This API allows you to integrate with Panora and read data from or write data into the integrations authorized by your users. | ||
|
||
## Supported HRIS Providers & Objects | ||
<hrisCatalog /> |
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,89 @@ | ||
--- | ||
title: "Quick Start" | ||
description: "Read and write data to multiple HRIS platforms using a single API" | ||
icon: "star" | ||
--- | ||
|
||
## Get employees in an HRIS using Panora | ||
|
||
<Check> | ||
We assume for this tutorial that you have a valid Panora API Key, and a | ||
`connection_token`. Find help [here](/core-concepts/auth). | ||
</Check> | ||
|
||
<Steps> | ||
<Info> | ||
You can find the Typescript SDK [here](https://www.npmjs.com/package/@panora/sdk-typescript) | ||
</Info> | ||
<Step title="Setup your API Key in your code:"> | ||
<CodeGroup> | ||
```javascript TypeScript SDK | ||
import { Panora } from '@panora/sdk'; | ||
const panora = new Panora({ apiKey: process.env.API_KEY }); | ||
``` | ||
|
||
```python Python SDK | ||
import os | ||
from panora_sdk import Panora | ||
panora = Panora( | ||
api_key=os.getenv("API_KEY", ""), | ||
) | ||
``` | ||
</CodeGroup> | ||
</Step> | ||
|
||
<Step title="Get employees in your HRIS:"> | ||
<Info>In this example, we will get employees in an HRIS. Visit other sections of the documentation to find category-specific examples</Info> | ||
<CodeGroup> | ||
|
||
```shell curl | ||
curl --request GET \ | ||
--url https://api.panora.dev/hris/employees \ | ||
--header 'x-api-key: <api-key> ' \ | ||
--header 'Content-Type: application/json' \ | ||
--header 'x-connection-token: <connection_token>' \ | ||
``` | ||
|
||
```javascript TypeScript | ||
import { Panora } from "@panora/sdk"; | ||
|
||
const panora = new Panora({ | ||
apiKey: process.env.API_KEY, | ||
}); | ||
|
||
const result = await panora.hris.employees.list({ | ||
xConnectionToken: "<value>", | ||
remoteData: true, | ||
limit: 10, | ||
cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", | ||
}); | ||
|
||
for await (const page of result) { | ||
// handle page | ||
} | ||
|
||
console.log(result); | ||
``` | ||
|
||
```python Python | ||
import os | ||
from panora_sdk import Panora | ||
|
||
panora = Panora( | ||
api_key=os.getenv("API_KEY", ""), | ||
) | ||
|
||
res = panora.ticketing.tickets.list(x_connection_token="<value>", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") | ||
|
||
if res is not None: | ||
while True: | ||
# handle items | ||
|
||
res = res.Next() | ||
if res is None: | ||
break | ||
``` | ||
</CodeGroup> | ||
</Step> | ||
|
||
</Steps> |
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,21 @@ | ||
--- | ||
title: "Amazon" | ||
description: "" | ||
--- | ||
|
||
# Common Objects | ||
|
||
|
||
| Unified Model | Supported | Provider Endpoints | | ||
| -------- | ------------------------------------- | ------------------------------------- | | ||
| Customer | Yes ✅ | /admin/api/2024-07/customers.json | | ||
| Order | Yes ✅ | /admin/api/2024-07/orders.json | | ||
| Fulfillment | Yes ✅ | /admin/api/2024-07/orders/:remote_order_id/fulfillments.json| | ||
| Fulfillment Orders | No 🚫| | | ||
| Product | Yes ✅ | /admin/api/2024-07/products.json | | ||
|
||
|
||
| Features | Supported | | ||
| -------- | ------------------------------------- | | ||
| Scopes | | | ||
| Realtime webhook | No 🚫| |
Oops, something went wrong.