Skip to content

Commit 49368ce

Browse files
committed
Release 2.1.0
1 parent cad3cfd commit 49368ce

File tree

18 files changed

+1671
-3
lines changed

18 files changed

+1671
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "klavis"
33

44
[tool.poetry]
55
name = "klavis"
6-
version = "2.0.4"
6+
version = "2.1.0"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 366 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ client.mcp_server.delete_servers_from_strata(
507507
<dd>
508508

509509
Get information about an existing Strata MCP server instance.
510+
510511
Returns the strata URL, connected klavis servers, connected external servers (with URLs),
511512
and authentication URLs for klavis servers.
512513
</dd>
@@ -562,6 +563,98 @@ client.mcp_server.get_strata_instance(
562563
</dl>
563564

564565

566+
</dd>
567+
</dl>
568+
</details>
569+
570+
<details><summary><code>client.mcp_server.<a href="src/klavis/mcp_server/client.py">set_strata_auth</a>(...)</code></summary>
571+
<dl>
572+
<dd>
573+
574+
#### 📝 Description
575+
576+
<dl>
577+
<dd>
578+
579+
<dl>
580+
<dd>
581+
582+
Sets authentication data for a specific integration within a Strata MCP server.
583+
584+
Accepts either API key authentication or general authentication data.
585+
</dd>
586+
</dl>
587+
</dd>
588+
</dl>
589+
590+
#### 🔌 Usage
591+
592+
<dl>
593+
<dd>
594+
595+
<dl>
596+
<dd>
597+
598+
```python
599+
from klavis import ApiKeyAuth, Klavis, McpServerName
600+
601+
client = Klavis(
602+
api_key="YOUR_API_KEY",
603+
)
604+
client.mcp_server.set_strata_auth(
605+
strata_id="strataId",
606+
server_name=McpServerName.AFFINITY,
607+
auth_data=ApiKeyAuth(
608+
token="token",
609+
),
610+
)
611+
612+
```
613+
</dd>
614+
</dl>
615+
</dd>
616+
</dl>
617+
618+
#### ⚙️ Parameters
619+
620+
<dl>
621+
<dd>
622+
623+
<dl>
624+
<dd>
625+
626+
**strata_id:** `str` — The strata server ID
627+
628+
</dd>
629+
</dl>
630+
631+
<dl>
632+
<dd>
633+
634+
**server_name:** `McpServerName` — The name of the Klavis MCP server to set authentication for (e.g., 'GitHub', 'Jira')
635+
636+
</dd>
637+
</dl>
638+
639+
<dl>
640+
<dd>
641+
642+
**auth_data:** `Authdata` — Authentication data
643+
644+
</dd>
645+
</dl>
646+
647+
<dl>
648+
<dd>
649+
650+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
651+
652+
</dd>
653+
</dl>
654+
</dd>
655+
</dl>
656+
657+
565658
</dd>
566659
</dl>
567660
</details>
@@ -5494,3 +5587,276 @@ client.dialpad_oauth.authorize_dialpad(
54945587
</dl>
54955588
</details>
54965589

5590+
## ShopifyOauth
5591+
<details><summary><code>client.shopify_oauth.<a href="src/klavis/shopify_oauth/client.py">authorize_shopify</a>(...)</code></summary>
5592+
<dl>
5593+
<dd>
5594+
5595+
#### 📝 Description
5596+
5597+
<dl>
5598+
<dd>
5599+
5600+
<dl>
5601+
<dd>
5602+
5603+
Start Shopify OAuth flow
5604+
5605+
Parameters:
5606+
- instance_id: Identifier for the instance requesting authorization
5607+
- shop: Shopify shop domain (e.g., mystore.myshopify.com)
5608+
- client_id: Optional client ID for white labeling
5609+
- scope: Optional scopes to request (comma-separated)
5610+
- redirect_url: Optional URL to redirect to after authorization completes
5611+
</dd>
5612+
</dl>
5613+
</dd>
5614+
</dl>
5615+
5616+
#### 🔌 Usage
5617+
5618+
<dl>
5619+
<dd>
5620+
5621+
<dl>
5622+
<dd>
5623+
5624+
```python
5625+
from klavis import Klavis
5626+
5627+
client = Klavis(
5628+
api_key="YOUR_API_KEY",
5629+
)
5630+
client.shopify_oauth.authorize_shopify(
5631+
instance_id="instance_id",
5632+
shop="shop",
5633+
)
5634+
5635+
```
5636+
</dd>
5637+
</dl>
5638+
</dd>
5639+
</dl>
5640+
5641+
#### ⚙️ Parameters
5642+
5643+
<dl>
5644+
<dd>
5645+
5646+
<dl>
5647+
<dd>
5648+
5649+
**instance_id:** `str` — Unique identifier for the client instance requesting authorization
5650+
5651+
</dd>
5652+
</dl>
5653+
5654+
<dl>
5655+
<dd>
5656+
5657+
**shop:** `str` — Shopify shop domain (e.g., mystore.myshopify.com)
5658+
5659+
</dd>
5660+
</dl>
5661+
5662+
<dl>
5663+
<dd>
5664+
5665+
**client_id:** `typing.Optional[str]` — Client ID for white labeling, if not provided will use default credentials
5666+
5667+
</dd>
5668+
</dl>
5669+
5670+
<dl>
5671+
<dd>
5672+
5673+
**scope:** `typing.Optional[str]` — Optional OAuth scopes to request (comma-separated string)
5674+
5675+
</dd>
5676+
</dl>
5677+
5678+
<dl>
5679+
<dd>
5680+
5681+
**redirect_url:** `typing.Optional[str]` — Optional URL to redirect to after authorization completes
5682+
5683+
</dd>
5684+
</dl>
5685+
5686+
<dl>
5687+
<dd>
5688+
5689+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5690+
5691+
</dd>
5692+
</dl>
5693+
</dd>
5694+
</dl>
5695+
5696+
5697+
</dd>
5698+
</dl>
5699+
</details>
5700+
5701+
## OnedriveOauth
5702+
<details><summary><code>client.onedrive_oauth.<a href="src/klavis/onedrive_oauth/client.py">authorize_one_drive</a>(...)</code></summary>
5703+
<dl>
5704+
<dd>
5705+
5706+
#### 🔌 Usage
5707+
5708+
<dl>
5709+
<dd>
5710+
5711+
<dl>
5712+
<dd>
5713+
5714+
```python
5715+
from klavis import Klavis
5716+
5717+
client = Klavis(
5718+
api_key="YOUR_API_KEY",
5719+
)
5720+
client.onedrive_oauth.authorize_one_drive(
5721+
instance_id="instance_id",
5722+
)
5723+
5724+
```
5725+
</dd>
5726+
</dl>
5727+
</dd>
5728+
</dl>
5729+
5730+
#### ⚙️ Parameters
5731+
5732+
<dl>
5733+
<dd>
5734+
5735+
<dl>
5736+
<dd>
5737+
5738+
**instance_id:** `str` — Unique identifier for the client instance requesting authorization
5739+
5740+
</dd>
5741+
</dl>
5742+
5743+
<dl>
5744+
<dd>
5745+
5746+
**client_id:** `typing.Optional[str]` — Client ID for white labeling, if not provided will use default credentials
5747+
5748+
</dd>
5749+
</dl>
5750+
5751+
<dl>
5752+
<dd>
5753+
5754+
**scope:** `typing.Optional[str]` — Optional OAuth scopes to request (space-separated string)
5755+
5756+
</dd>
5757+
</dl>
5758+
5759+
<dl>
5760+
<dd>
5761+
5762+
**redirect_url:** `typing.Optional[str]` — Optional URL to redirect to after authorization completes
5763+
5764+
</dd>
5765+
</dl>
5766+
5767+
<dl>
5768+
<dd>
5769+
5770+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5771+
5772+
</dd>
5773+
</dl>
5774+
</dd>
5775+
</dl>
5776+
5777+
5778+
</dd>
5779+
</dl>
5780+
</details>
5781+
5782+
## OutlookOauth
5783+
<details><summary><code>client.outlook_oauth.<a href="src/klavis/outlook_oauth/client.py">authorize_outlook</a>(...)</code></summary>
5784+
<dl>
5785+
<dd>
5786+
5787+
#### 🔌 Usage
5788+
5789+
<dl>
5790+
<dd>
5791+
5792+
<dl>
5793+
<dd>
5794+
5795+
```python
5796+
from klavis import Klavis
5797+
5798+
client = Klavis(
5799+
api_key="YOUR_API_KEY",
5800+
)
5801+
client.outlook_oauth.authorize_outlook(
5802+
instance_id="instance_id",
5803+
)
5804+
5805+
```
5806+
</dd>
5807+
</dl>
5808+
</dd>
5809+
</dl>
5810+
5811+
#### ⚙️ Parameters
5812+
5813+
<dl>
5814+
<dd>
5815+
5816+
<dl>
5817+
<dd>
5818+
5819+
**instance_id:** `str` — Unique identifier for the client instance requesting authorization
5820+
5821+
</dd>
5822+
</dl>
5823+
5824+
<dl>
5825+
<dd>
5826+
5827+
**client_id:** `typing.Optional[str]` — Client ID for white labeling, if not provided will use default credentials
5828+
5829+
</dd>
5830+
</dl>
5831+
5832+
<dl>
5833+
<dd>
5834+
5835+
**scope:** `typing.Optional[str]` — Optional OAuth scopes to request (space-separated string)
5836+
5837+
</dd>
5838+
</dl>
5839+
5840+
<dl>
5841+
<dd>
5842+
5843+
**redirect_url:** `typing.Optional[str]` — Optional URL to redirect to after authorization completes
5844+
5845+
</dd>
5846+
</dl>
5847+
5848+
<dl>
5849+
<dd>
5850+
5851+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5852+
5853+
</dd>
5854+
</dl>
5855+
</dd>
5856+
</dl>
5857+
5858+
5859+
</dd>
5860+
</dl>
5861+
</details>
5862+

0 commit comments

Comments
 (0)