diff --git a/.release-please-manifest.json b/.release-please-manifest.json index fc8cb459a..4540d34c5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.206.0" + ".": "0.207.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 3b32bb026..1cce0ab4a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 198 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9c95b020510d1ae7d912fa71032eb2fef43dacfb6ee2ba7b989f18ed8d0a9348.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1a9b03edcf2324393d39557ff1597830acce6897eb2e1aed988ee03e8a6630ee.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cf496438..3c16983b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.207.0 (2025-03-14) + +Full Changelog: [v0.206.0...v0.207.0](https://github.com/Increase/increase-python/compare/v0.206.0...v0.207.0) + +### Features + +* **api:** api update ([#1024](https://github.com/Increase/increase-python/issues/1024)) ([b32c283](https://github.com/Increase/increase-python/commit/b32c28341e44b19764c62202b750aeb3ed57d636)) + ## 0.206.0 (2025-03-13) Full Changelog: [v0.205.0...v0.206.0](https://github.com/Increase/increase-python/compare/v0.205.0...v0.206.0) diff --git a/pyproject.toml b/pyproject.toml index 6a615a6f5..3747fc267 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.206.0" +version = "0.207.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/increase/_version.py b/src/increase/_version.py index 87feb9ad0..edc172554 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "increase" -__version__ = "0.206.0" # x-release-please-version +__version__ = "0.207.0" # x-release-please-version diff --git a/src/increase/resources/files.py b/src/increase/resources/files.py index ac54dc1a0..148690573 100644 --- a/src/increase/resources/files.py +++ b/src/increase/resources/files.py @@ -71,6 +71,7 @@ def create( "document_request", "entity_supplemental_document", "unusual_activity_report_attachment", + "proof_of_authorization_request_submission", ], description: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -119,6 +120,8 @@ def create( Entity. - `unusual_activity_report_attachment` - An attachment to an Unusual Activity Report. + - `proof_of_authorization_request_submission` - A file containing additional + evidence for a Proof of Authorization Request Submission. description: The description you choose to give the File. @@ -294,6 +297,7 @@ async def create( "document_request", "entity_supplemental_document", "unusual_activity_report_attachment", + "proof_of_authorization_request_submission", ], description: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -342,6 +346,8 @@ async def create( Entity. - `unusual_activity_report_attachment` - An attachment to an Unusual Activity Report. + - `proof_of_authorization_request_submission` - A file containing additional + evidence for a Proof of Authorization Request Submission. description: The description you choose to give the File. diff --git a/src/increase/resources/proof_of_authorization_request_submissions.py b/src/increase/resources/proof_of_authorization_request_submissions.py index a8a8747ea..b77a8d993 100644 --- a/src/increase/resources/proof_of_authorization_request_submissions.py +++ b/src/increase/resources/proof_of_authorization_request_submissions.py @@ -63,6 +63,7 @@ def create( validated_account_ownership_via_credential: bool, validated_account_ownership_with_account_statement: bool, validated_account_ownership_with_microdeposit: bool, + additional_evidence_file_id: str | NotGiven = NOT_GIVEN, authorizer_company: str | NotGiven = NOT_GIVEN, authorizer_ip_address: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -95,6 +96,8 @@ def create( validated_account_ownership_with_microdeposit: Whether the account ownership was validated with a microdeposit. + additional_evidence_file_id: The File containing the check's front image. + authorizer_company: Company of the authorizer. authorizer_ip_address: IP address of the authorizer. @@ -122,6 +125,7 @@ def create( "validated_account_ownership_via_credential": validated_account_ownership_via_credential, "validated_account_ownership_with_account_statement": validated_account_ownership_with_account_statement, "validated_account_ownership_with_microdeposit": validated_account_ownership_with_microdeposit, + "additional_evidence_file_id": additional_evidence_file_id, "authorizer_company": authorizer_company, "authorizer_ip_address": authorizer_ip_address, }, @@ -266,6 +270,7 @@ async def create( validated_account_ownership_via_credential: bool, validated_account_ownership_with_account_statement: bool, validated_account_ownership_with_microdeposit: bool, + additional_evidence_file_id: str | NotGiven = NOT_GIVEN, authorizer_company: str | NotGiven = NOT_GIVEN, authorizer_ip_address: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -298,6 +303,8 @@ async def create( validated_account_ownership_with_microdeposit: Whether the account ownership was validated with a microdeposit. + additional_evidence_file_id: The File containing the check's front image. + authorizer_company: Company of the authorizer. authorizer_ip_address: IP address of the authorizer. @@ -325,6 +332,7 @@ async def create( "validated_account_ownership_via_credential": validated_account_ownership_via_credential, "validated_account_ownership_with_account_statement": validated_account_ownership_with_account_statement, "validated_account_ownership_with_microdeposit": validated_account_ownership_with_microdeposit, + "additional_evidence_file_id": additional_evidence_file_id, "authorizer_company": authorizer_company, "authorizer_ip_address": authorizer_ip_address, }, diff --git a/src/increase/types/file.py b/src/increase/types/file.py index f863e0ec5..7c2e004f9 100644 --- a/src/increase/types/file.py +++ b/src/increase/types/file.py @@ -72,6 +72,7 @@ class File(BaseModel): "export", "unusual_activity_report_attachment", "deposit_account_control_agreement", + "proof_of_authorization_request_submission", ] """What the File will be used for. @@ -116,6 +117,8 @@ class File(BaseModel): Report. - `deposit_account_control_agreement` - A document granting another entity access to the funds into your account. + - `proof_of_authorization_request_submission` - A file containing additional + evidence for a Proof of Authorization Request Submission. """ type: Literal["file"] diff --git a/src/increase/types/file_create_params.py b/src/increase/types/file_create_params.py index bbf9fa309..05d007974 100644 --- a/src/increase/types/file_create_params.py +++ b/src/increase/types/file_create_params.py @@ -36,6 +36,7 @@ class FileCreateParams(TypedDict, total=False): "document_request", "entity_supplemental_document", "unusual_activity_report_attachment", + "proof_of_authorization_request_submission", ] ] """What the File will be used for in Increase's systems. @@ -66,6 +67,8 @@ class FileCreateParams(TypedDict, total=False): Entity. - `unusual_activity_report_attachment` - An attachment to an Unusual Activity Report. + - `proof_of_authorization_request_submission` - A file containing additional + evidence for a Proof of Authorization Request Submission. """ description: str diff --git a/src/increase/types/file_list_params.py b/src/increase/types/file_list_params.py index 84f353c65..25ae1bbc8 100644 --- a/src/increase/types/file_list_params.py +++ b/src/increase/types/file_list_params.py @@ -90,6 +90,7 @@ class CreatedAt(TypedDict, total=False): "export", "unusual_activity_report_attachment", "deposit_account_control_agreement", + "proof_of_authorization_request_submission", ] ], }, diff --git a/src/increase/types/proof_of_authorization_request_submission.py b/src/increase/types/proof_of_authorization_request_submission.py index d251bd28a..8e7cd02ff 100644 --- a/src/increase/types/proof_of_authorization_request_submission.py +++ b/src/increase/types/proof_of_authorization_request_submission.py @@ -13,6 +13,9 @@ class ProofOfAuthorizationRequestSubmission(BaseModel): id: str """The Proof of Authorization Request Submission identifier.""" + additional_evidence_file_id: Optional[str] = None + """File containing additional evidence.""" + authorization_terms: str """Terms of authorization.""" diff --git a/src/increase/types/proof_of_authorization_request_submission_create_params.py b/src/increase/types/proof_of_authorization_request_submission_create_params.py index 8c30d9d3f..16b22b0c3 100644 --- a/src/increase/types/proof_of_authorization_request_submission_create_params.py +++ b/src/increase/types/proof_of_authorization_request_submission_create_params.py @@ -39,6 +39,9 @@ class ProofOfAuthorizationRequestSubmissionCreateParams(TypedDict, total=False): validated_account_ownership_with_microdeposit: Required[bool] """Whether the account ownership was validated with a microdeposit.""" + additional_evidence_file_id: str + """The File containing the check's front image.""" + authorizer_company: str """Company of the authorizer.""" diff --git a/tests/api_resources/test_proof_of_authorization_request_submissions.py b/tests/api_resources/test_proof_of_authorization_request_submissions.py index 3e30c8f76..5ee9102f0 100644 --- a/tests/api_resources/test_proof_of_authorization_request_submissions.py +++ b/tests/api_resources/test_proof_of_authorization_request_submissions.py @@ -50,6 +50,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: validated_account_ownership_via_credential=True, validated_account_ownership_with_account_statement=True, validated_account_ownership_with_microdeposit=True, + additional_evidence_file_id="file_makxrc67oh9l6sg7w9yc", authorizer_company="National Phonograph Company", authorizer_ip_address="x", ) @@ -235,6 +236,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) validated_account_ownership_via_credential=True, validated_account_ownership_with_account_statement=True, validated_account_ownership_with_microdeposit=True, + additional_evidence_file_id="file_makxrc67oh9l6sg7w9yc", authorizer_company="National Phonograph Company", authorizer_ip_address="x", )