Skip to content
Merged
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
48 changes: 29 additions & 19 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 833c6a67-4a4a-4ef1-ba24-165a29264e4a
management:
docChecksum: 3a391aa6a288e86b171ba238cc881af1
docChecksum: 1d0fb5b6bab280a5eac1a2c04e304d0b
docVersion: 1.0.0
speakeasyVersion: 1.797.0
generationVersion: 2.937.18
releaseVersion: 2.4.13
configChecksum: b6372218f14fd3463d51a03dbcf20ebd
releaseVersion: 2.4.14
configChecksum: 02ddf58791f91eec2902165ea4d204a2
repoURL: https://github.com/gr4vy/gr4vy-python.git
installationURL: https://github.com/gr4vy/gr4vy-python.git
published: true
persistentEdits:
generation_id: 47a7b759-311a-4f93-b226-561e851a5f91
pristine_commit_hash: f3294dab6f46798935ca33050d019bc93e76d396
pristine_tree_hash: 788fdf280b86b8edb09f66432d259a656550cd54
generation_id: 572bf9ba-afa5-4936-a3cb-e7a82442e107
pristine_commit_hash: 8e7797823617e3b536b5668a613ca88ff6d5b124
pristine_tree_hash: cd1b161b517b122f0975b664c470f57978bf79cf
features:
python:
additionalDependencies: 1.1.0
Expand Down Expand Up @@ -2107,6 +2107,10 @@ trackedFiles:
id: 085c194a74ff
last_write_checksum: sha1:330b811c9987d52dbf197392a15022668d44158b
pristine_git_object: 9646307f5bc43fc06a5a034f3da29a2690b402a2
docs/models/repaybankoptions.md:
id: 98207bb6737f
last_write_checksum: sha1:68b3407c5097aedf251ed746259655f32dfc96b3
pristine_git_object: 5608b447d1bb554e16861b9dd7e1730f94cde7dc
docs/models/report.md:
id: 1c5ff456462e
last_write_checksum: sha1:6da8554c909ae5248b2bb9565eae36b7ca57ca85
Expand Down Expand Up @@ -2235,6 +2239,10 @@ trackedFiles:
id: b1706609606d
last_write_checksum: sha1:a87cf1fb7aae8ebada53fe2ad4e3e9702533317f
pristine_git_object: fd6cfbd69620a4e5cec586a9f96fd9dd4c846c2d
docs/models/seccode.md:
id: ac5fa1d0d45c
last_write_checksum: sha1:c4e882a9ddb800a75a0de1078dfd564a6ad25db0
pristine_git_object: e89d8597cc390c75fca6f8368f5568daa5555cca
docs/models/security.md:
id: 452e4d4eb67a
last_write_checksum: sha1:b92237f55b89698b718cee58634a51a5cdb29edb
Expand Down Expand Up @@ -2453,8 +2461,8 @@ trackedFiles:
pristine_git_object: e602a67e734781d6191b3d7877be574779918646
docs/models/transactionconnectionoptions.md:
id: 4c92c21f3107
last_write_checksum: sha1:64b0184300611f9d0005368b7dd31b41f770bf7c
pristine_git_object: fb1d562858f7cfe2e13dbaf81eddb6edc65f5690
last_write_checksum: sha1:8f452e69d28906b1bc8e9f7d35cdc99cee8097da
pristine_git_object: 9183c355fbf0631169bd2e98f158d6ab15833a15
docs/models/transactioncreate.md:
id: 2eccca1e0d3d
last_write_checksum: sha1:87142af67fe9cada8f5e863eb2c91d306c740ecb
Expand Down Expand Up @@ -2889,8 +2897,8 @@ trackedFiles:
pristine_git_object: cb9c15d314c1930557401074329ed7a737147919
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:a3479ad450aa543d47bc647f84b9932dd4d073f2
pristine_git_object: 7d7b9c312b95b7ff2d506e0b2a477e87f4fe19ed
last_write_checksum: sha1:af076fb130c22bfc7fb32304669b1e126fb17942
pristine_git_object: f75d66cbb17ecb7bf6c4631efa347fff9a08ddc9
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:63a92abbd1de3323613f0d4c1ae4412076577710
Expand All @@ -2917,8 +2925,8 @@ trackedFiles:
pristine_git_object: f8ef109bb6a9dbe37d0a7092606176a0738986fd
src/gr4vy/_version.py:
id: 1b5ad1da47aa
last_write_checksum: sha1:02377166821de06935765d8c13375aaf6c29deb1
pristine_git_object: d810297c9166ca7f6fddeee365ec28a6b680cdc6
last_write_checksum: sha1:3b536b7854e11bdaff71c021bc8396c55c0dff4b
pristine_git_object: 540f9243a5e39db8c48df318f2fcbad1b3df2118
src/gr4vy/account_updater.py:
id: 6dc8f39e2fb9
last_write_checksum: sha1:fabc79a59dd06fb927ce2d834fbafbcad5836a4b
Expand Down Expand Up @@ -3085,8 +3093,8 @@ trackedFiles:
pristine_git_object: becb7dcefb2ea12bf3e199ed39ece68944623c13
src/gr4vy/models/__init__.py:
id: 427cc7fddfe2
last_write_checksum: sha1:7c54466524d5a98df6fa491ebb64f9f67de90bba
pristine_git_object: 183cf8131aed976d9d760715b505078ac556ad44
last_write_checksum: sha1:54e26e7f781c889f02268effa94cb4c38e91fc48
pristine_git_object: a984d7a6a75f99a4e6f48bb1035e0ada17351e87
src/gr4vy/models/accountsreceivablesreportspec.py:
id: cc6a9368f988
last_write_checksum: sha1:1ce9432ce7ae682a7fff1e0fe1ddc7f82dc937e7
Expand Down Expand Up @@ -4539,6 +4547,10 @@ trackedFiles:
id: 77b78b8d979c
last_write_checksum: sha1:1baded0fb14f72d3192200a7b600e9eb607a8b79
pristine_git_object: 5de3cba33206f133c8514f5c4ae4ea5959b5958f
src/gr4vy/models/repaybankoptions.py:
id: 32b186668475
last_write_checksum: sha1:e74353169455cc511e301796b62318719c23aecd
pristine_git_object: 791eb531ff003caa652d5de118455aa632cd021c
src/gr4vy/models/report.py:
id: 02da3b3612c8
last_write_checksum: sha1:ef720790313e0fb5402df1daab4205bb530db4de
Expand Down Expand Up @@ -4805,8 +4817,8 @@ trackedFiles:
pristine_git_object: a4479bc5b78e10966944f0e58e5bf6e71478adfd
src/gr4vy/models/transactionconnectionoptions.py:
id: e12dfa576d74
last_write_checksum: sha1:4dd0f5a25f3443dd4f7822a24eda042b437abfc5
pristine_git_object: 8df51bdebf52c9e806d26dc24c6b87a14ef6bd0d
last_write_checksum: sha1:b483f5ef486186f97a036702585358fc3086323e
pristine_git_object: 0481bff63d2bfd8bc6bc2e4f9bf30a202fd31f04
src/gr4vy/models/transactioncreate.py:
id: 640e0433670e
last_write_checksum: sha1:500bcb324f067c42437f661bf932ff6b1bf30b4e
Expand Down Expand Up @@ -9481,9 +9493,7 @@ examples:
application/json: {"type": "error", "code": "gateway_timeout", "status": 504, "message": "Request could not be processed"}
examplesVersion: 1.0.2
generatedTests: {}
releaseNotes: |
## Python SDK Changes:
* `gr4vy.transactions.capture()`: `response.union(TransactionCapture).tracking` **Added**
releaseNotes: "## Python SDK Changes:\n* `gr4vy.transactions.create()`: \n * `request.connection_options.repay_bank` **Added**\n* `gr4vy.transactions.update()`: \n * `request.connection_options.repay_bank` **Added**\n* `gr4vy.payment_links.create()`: \n * `request.connection_options.repay_bank` **Added**\n"
generatedFiles:
- .gitattributes
- .vscode/settings.json
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.4.13
version: 2.4.14
additionalDependencies:
dev:
freezegun: ^1.5.1
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.797.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:27540c3f898ba60f9582cbe5f27208d796abc8020106273306106aed02d6fd5d
sourceBlobDigest: sha256:66a3fabe1598577ae2ec671cac26ec607c0b793e551eba5ae25688330cbbea6d
sourceRevisionDigest: sha256:f22f5965f8c19b287df7b5811d77ce80c5b43d93c5cfdd27092d1eef3c15d438
sourceBlobDigest: sha256:1a6d2a906c3e78d51cb89bc442e800370e00baa7d49ff1070881c302890293c0
tags:
- latest
- 1.0.0
targets:
python:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:27540c3f898ba60f9582cbe5f27208d796abc8020106273306106aed02d6fd5d
sourceBlobDigest: sha256:66a3fabe1598577ae2ec671cac26ec607c0b793e551eba5ae25688330cbbea6d
sourceRevisionDigest: sha256:f22f5965f8c19b287df7b5811d77ce80c5b43d93c5cfdd27092d1eef3c15d438
sourceBlobDigest: sha256:1a6d2a906c3e78d51cb89bc442e800370e00baa7d49ff1070881c302890293c0
codeSamplesNamespace: openapi-python-code-samples
codeSamplesRevisionDigest: sha256:6c722bf3a67b7f725a0d35db78f17bc6d41616bf5cd1cefbb51253cb84f3e927
codeSamplesRevisionDigest: sha256:09b6991a9a5e2387cb0b88cdf53787ff37efebcaa8e8366733150a471e35a71b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2598,4 +2598,14 @@ Based on:
### Generated
- [python v2.4.13] .
### Releases
- [PyPI v2.4.13] https://pypi.org/project/gr4vy/2.4.13 - .
- [PyPI v2.4.13] https://pypi.org/project/gr4vy/2.4.13 - .

## 2026-09-16 18:28:39
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.797.0 (2.937.18) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.4.14] .
### Releases
- [PyPI v2.4.14] https://pypi.org/project/gr4vy/2.4.14 - .
8 changes: 8 additions & 0 deletions docs/models/repaybankoptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# RepayBankOptions


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `sec_code` | [OptionalNullable[models.SecCode]](../models/seccode.md) | :heavy_minus_sign: | The Nacha Standard Entry Class code describing how the account holder authorized an ACH debit. When omitted, `TelDebit` is used for a `moto` payment source and `WebDebit` otherwise. Ignored for business accounts, which Repay requires to use `CcdDebit`. | WebDebit |
19 changes: 19 additions & 0 deletions docs/models/seccode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SecCode

## Example Usage

```python
from gr4vy.models import SecCode

# Open enum: unrecognized values are captured as UnrecognizedStr
value: SecCode = "WebDebit"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"WebDebit"`
- `"TelDebit"`
- `"PpdDebit"`
1 change: 1 addition & 0 deletions docs/models/transactionconnectionoptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
| `paypal_paypaldirectorder` | [OptionalNullable[models.PaypalDirectOrderOptions]](../models/paypaldirectorderoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `paypal-paypaldirectorder` connector. |
| `paypal_paypalpaylater` | [OptionalNullable[models.PaypalOptions]](../models/paypaloptions.md) | :heavy_minus_sign: | Custom options to be passed to the `paypal-paypalpaylater` connector. |
| `powertranz_card` | [OptionalNullable[models.PowertranzOptions]](../models/powertranzoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `powertranz-card` connector. |
| `repay_bank` | [OptionalNullable[models.RepayBankOptions]](../models/repaybankoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `repay-bank` connector. |
| `riskified_anti_fraud` | [OptionalNullable[models.RiskifiedAntiFraudOptions]](../models/riskifiedantifraudoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `riskified-anti-fraud` connector. |
| `stripe_affirm` | [OptionalNullable[models.StripeOptions]](../models/stripeoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `stripe-affirm` connector. |
| `stripe_card` | [OptionalNullable[models.StripeCardOptions]](../models/stripecardoptions.md) | :heavy_minus_sign: | Custom options to be passed to the `stripe-card` connector. |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[project]
name = "gr4vy"
version = "2.4.13"
version = "2.4.14"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Gr4vy" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/gr4vy/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "gr4vy"
__version__: str = "2.4.13"
__version__: str = "2.4.14"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.937.18"
__user_agent__: str = "speakeasy-sdk/python 2.4.13 2.937.18 1.0.0 gr4vy"
__user_agent__: str = "speakeasy-sdk/python 2.4.14 2.937.18 1.0.0 gr4vy"

try:
if __package__ is not None:
Expand Down
7 changes: 7 additions & 0 deletions src/gr4vy/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,7 @@
RegisterDigitalWalletDomainRequest,
RegisterDigitalWalletDomainRequestTypedDict,
)
from .repaybankoptions import RepayBankOptions, RepayBankOptionsTypedDict, SecCode
from .report import Report, ReportTypedDict
from .reportcreate import ReportCreate, ReportCreateTypedDict, Spec, SpecTypedDict
from .reportcreatortype import ReportCreatorType
Expand Down Expand Up @@ -2520,6 +2521,8 @@
"RegisterDigitalWalletDomainGlobalsTypedDict",
"RegisterDigitalWalletDomainRequest",
"RegisterDigitalWalletDomainRequestTypedDict",
"RepayBankOptions",
"RepayBankOptionsTypedDict",
"Report",
"ReportCreate",
"ReportCreateTypedDict",
Expand Down Expand Up @@ -2580,6 +2583,7 @@
"RouteType",
"SEPABankPaymentMethodCreate",
"SEPABankPaymentMethodCreateTypedDict",
"SecCode",
"Security",
"SecurityTypedDict",
"Settlement",
Expand Down Expand Up @@ -3745,6 +3749,9 @@
"RegisterDigitalWalletDomainGlobalsTypedDict": ".register_digital_wallet_domainop",
"RegisterDigitalWalletDomainRequest": ".register_digital_wallet_domainop",
"RegisterDigitalWalletDomainRequestTypedDict": ".register_digital_wallet_domainop",
"RepayBankOptions": ".repaybankoptions",
"RepayBankOptionsTypedDict": ".repaybankoptions",
"SecCode": ".repaybankoptions",
"Report": ".report",
"ReportTypedDict": ".report",
"ReportCreate": ".reportcreate",
Expand Down
59 changes: 59 additions & 0 deletions src/gr4vy/models/repaybankoptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from gr4vy.types import (
BaseModel,
Nullable,
OptionalNullable,
UNSET,
UNSET_SENTINEL,
UnrecognizedStr,
)
from pydantic import model_serializer
from typing import Literal, Union
from typing_extensions import NotRequired, TypedDict


SecCode = Union[
Literal[
"WebDebit",
"TelDebit",
"PpdDebit",
],
UnrecognizedStr,
]


class RepayBankOptionsTypedDict(TypedDict):
sec_code: NotRequired[Nullable[SecCode]]
r"""The Nacha Standard Entry Class code describing how the account holder authorized an ACH debit. When omitted, `TelDebit` is used for a `moto` payment source and `WebDebit` otherwise. Ignored for business accounts, which Repay requires to use `CcdDebit`."""


class RepayBankOptions(BaseModel):
sec_code: OptionalNullable[SecCode] = UNSET
r"""The Nacha Standard Entry Class code describing how the account holder authorized an ACH debit. When omitted, `TelDebit` is used for a `moto` payment source and `WebDebit` otherwise. Ignored for business accounts, which Repay requires to use `CcdDebit`."""

@model_serializer(mode="wrap")
def serialize_model(self, handler):
optional_fields = set(["sec_code"])
nullable_fields = set(["sec_code"])
serialized = handler(self)
m = {}

for n, f in type(self).model_fields.items():
k = f.alias or n
val = serialized.get(k, serialized.get(n))
is_nullable_and_explicitly_set = (
k in nullable_fields
and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member
)

if val != UNSET_SENTINEL:
if (
val is not None
or k not in optional_fields
or is_nullable_and_explicitly_set
):
m[k] = val

return m
Loading
Loading