Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
}
]
},
"originGitCommit": "efe71642022d9d3303fd78c648e5b2539192230e",
"originGitCommit": "470e0f433ab9bb0e88784674fa2e1efce62ebd9b",
"sdkVersion": "1.2.2"
}
10 changes: 10 additions & 0 deletions .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ WASM_VERSION
.gitignore
pyproject.toml
testapp/
.fern/replay.lock
.fern/replay.yml
.gitattributes
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.fern/replay.lock linguist-generated=true
1,042 changes: 9 additions & 1,033 deletions poetry.lock

Large diffs are not rendered by default.

290 changes: 290 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2519,6 +2519,65 @@ client.billing.upsert_payment_method(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.billing.<a href="src/schematic/billing/client.py">delete_payment_method_by_external_id</a>(...) -> DeletePaymentMethodByExternalIdResponse</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from schematic import Schematic
from schematic.environment import SchematicEnvironment

client = Schematic(
api_key="<value>",
environment=SchematicEnvironment.DEFAULT,
)

client.billing.delete_payment_method_by_external_id(
billing_id="billing_id",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**billing_id:** `str` — billing_id

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down Expand Up @@ -5763,6 +5822,237 @@ client.credits.list_grants_for_credit(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credits.<a href="src/schematic/credits/client.py">acquire_credit_lease</a>(...) -> AcquireCreditLeaseResponse</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from schematic import Schematic
from schematic.environment import SchematicEnvironment

client = Schematic(
api_key="<value>",
environment=SchematicEnvironment.DEFAULT,
)

client.credits.acquire_credit_lease(
company_id="company_id",
credit_type_id="credit_type_id",
requested_amount=1.1,
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**company_id:** `str`

</dd>
</dl>

<dl>
<dd>

**credit_type_id:** `str`

</dd>
</dl>

<dl>
<dd>

**requested_amount:** `float`

</dd>
</dl>

<dl>
<dd>

**expires_at:** `typing.Optional[datetime.datetime]`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credits.<a href="src/schematic/credits/client.py">extend_credit_lease</a>(...) -> ExtendCreditLeaseResponse</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from schematic import Schematic
from schematic.environment import SchematicEnvironment

client = Schematic(
api_key="<value>",
environment=SchematicEnvironment.DEFAULT,
)

client.credits.extend_credit_lease(
lease_id="lease_id",
additional_amount=1.1,
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**lease_id:** `str` — lease_id

</dd>
</dl>

<dl>
<dd>

**additional_amount:** `float`

</dd>
</dl>

<dl>
<dd>

**expires_at:** `typing.Optional[datetime.datetime]`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credits.<a href="src/schematic/credits/client.py">release_credit_lease</a>(...) -> ReleaseCreditLeaseResponse</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from schematic import Schematic
from schematic.environment import SchematicEnvironment

client = Schematic(
api_key="<value>",
environment=SchematicEnvironment.DEFAULT,
)

client.credits.release_credit_lease(
lease_id="lease_id",
request={
"key": "value"
},
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**lease_id:** `str` — lease_id

</dd>
</dl>

<dl>
<dd>

**request:** `ReleaseCreditLeaseRequestBody`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
Loading
Loading