From 90412312699787194863b1a20366617e2df59466 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 23 May 2025 16:38:19 +0000 Subject: [PATCH 1/4] chore: update SDK settings --- .github/workflows/publish-pypi.yml | 31 +++++++++ .github/workflows/release-doctor.yml | 21 ++++++ .release-please-manifest.json | 3 + .stats.yml | 2 +- CONTRIBUTING.md | 4 +- README.md | 10 +-- bin/check-release-environment | 21 ++++++ pyproject.toml | 6 +- release-please-config.json | 66 +++++++++++++++++++ src/slash_sdk/_version.py | 2 +- src/slash_sdk/resources/account.py | 8 +-- src/slash_sdk/resources/card/card.py | 8 +-- .../resources/card/spending_constraint.py | 8 +-- .../resources/card_group/card_group.py | 8 +-- .../card_group/spending_constraint.py | 8 +-- src/slash_sdk/resources/card_product.py | 8 +-- src/slash_sdk/resources/crypto.py | 8 +-- src/slash_sdk/resources/developer_account.py | 8 +-- .../resources/developer_application.py | 8 +-- .../resources/fdx/accounts/accounts.py | 8 +-- .../resources/fdx/accounts/statements.py | 8 +-- src/slash_sdk/resources/fdx/customers.py | 8 +-- src/slash_sdk/resources/fdx/fdx.py | 8 +-- src/slash_sdk/resources/legal_entity.py | 8 +-- src/slash_sdk/resources/merchant.py | 8 +-- src/slash_sdk/resources/merchant_category.py | 8 +-- src/slash_sdk/resources/oauth2/oauth2.py | 8 +-- src/slash_sdk/resources/oauth2/userinfo.py | 8 +-- src/slash_sdk/resources/pay.py | 8 +-- src/slash_sdk/resources/slash_handle.py | 8 +-- src/slash_sdk/resources/transaction.py | 8 +-- src/slash_sdk/resources/transfer.py | 8 +-- src/slash_sdk/resources/virtual_account.py | 8 +-- src/slash_sdk/resources/webhook.py | 8 +-- src/slash_sdk/resources/well_known.py | 8 +-- 35 files changed, 254 insertions(+), 112 deletions(-) create mode 100644 .github/workflows/publish-pypi.yml create mode 100644 .github/workflows/release-doctor.yml create mode 100644 .release-please-manifest.json create mode 100644 bin/check-release-environment create mode 100644 release-please-config.json diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml new file mode 100644 index 0000000..46cdbf8 --- /dev/null +++ b/.github/workflows/publish-pypi.yml @@ -0,0 +1,31 @@ +# This workflow is triggered when a GitHub release is created. +# It can also be run manually to re-publish to PyPI in case it failed for some reason. +# You can run this workflow by navigating to https://www.github.com/slashfi/slash-sdk-python/actions/workflows/publish-pypi.yml +name: Publish PyPI +on: + workflow_dispatch: + + release: + types: [published] + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Rye + run: | + curl -sSf https://rye.astral.sh/get | bash + echo "$HOME/.rye/shims" >> $GITHUB_PATH + env: + RYE_VERSION: '0.44.0' + RYE_INSTALL_OPTION: '--yes' + + - name: Publish to PyPI + run: | + bash ./bin/publish-pypi + env: + PYPI_TOKEN: ${{ secrets.SLASH_SDK_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml new file mode 100644 index 0000000..e3e8850 --- /dev/null +++ b/.github/workflows/release-doctor.yml @@ -0,0 +1,21 @@ +name: Release Doctor +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + release_doctor: + name: release doctor + runs-on: ubuntu-latest + if: github.repository == 'slashfi/slash-sdk-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + + steps: + - uses: actions/checkout@v4 + + - name: Check release environment + run: | + bash ./bin/check-release-environment + env: + PYPI_TOKEN: ${{ secrets.SLASH_SDK_PYPI_TOKEN || secrets.PYPI_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..c476280 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.1-alpha.0" +} \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index eb99578..35c38f7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/slash-financial--inc-dash%2Fslash-sdk-328c59f5cddb05543c9070c08ad121af6063f6c0d3e97da8910eb24ce7a0e610.yml openapi_spec_hash: e79d8685dd001763548013cf2f58ef94 -config_hash: f4e33b7c40b269477e19c323b288ef61 +config_hash: 24ba5c5b367caf69d00c2c6a3dcda065 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bd0b52d..d2ae7b0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -63,7 +63,7 @@ If you’d like to use the repository from source, you can either install from g To install via git: ```sh -$ pip install git+ssh://git@github.com/stainless-sdks/slash-sdk-python.git +$ pip install git+ssh://git@github.com/slashfi/slash-sdk-python.git ``` Alternatively, you can build from source and install the wheel file: @@ -121,7 +121,7 @@ the changes aren't made through the automated pipeline, you may want to make rel ### Publish with a GitHub workflow -You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/slash-sdk-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up. +You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/slashfi/slash-sdk-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up. ### Publish manually diff --git a/README.md b/README.md index 6a81b44..d430aa0 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ The full API of this library can be found in [api.md](api.md). ## Installation ```sh -# install from this staging repo -pip install git+ssh://git@github.com/stainless-sdks/slash-sdk-python.git +# install from the production repo +pip install git+ssh://git@github.com/slashfi/slash-sdk-python.git ``` > [!NOTE] @@ -260,9 +260,9 @@ legal_entity = response.parse() # get the object that `legal_entity.list()` wou print(legal_entity.items) ``` -These methods return an [`APIResponse`](https://github.com/stainless-sdks/slash-sdk-python/tree/main/src/slash_sdk/_response.py) object. +These methods return an [`APIResponse`](https://github.com/slashfi/slash-sdk-python/tree/main/src/slash_sdk/_response.py) object. -The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/slash-sdk-python/tree/main/src/slash_sdk/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. +The async client returns an [`AsyncAPIResponse`](https://github.com/slashfi/slash-sdk-python/tree/main/src/slash_sdk/_response.py) with the same structure, the only difference being `await`able methods for reading the response content. #### `.with_streaming_response` @@ -366,7 +366,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience. -We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/slash-sdk-python/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/slashfi/slash-sdk-python/issues) with questions, bugs, or suggestions. ### Determining the installed version diff --git a/bin/check-release-environment b/bin/check-release-environment new file mode 100644 index 0000000..ab1be31 --- /dev/null +++ b/bin/check-release-environment @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +errors=() + +if [ -z "${PYPI_TOKEN}" ]; then + errors+=("The SLASH_SDK_PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.") +fi + +lenErrors=${#errors[@]} + +if [[ lenErrors -gt 0 ]]; then + echo -e "Found the following errors in the release environment:\n" + + for error in "${errors[@]}"; do + echo -e "- $error\n" + done + + exit 1 +fi + +echo "The environment is ready to push releases!" diff --git a/pyproject.toml b/pyproject.toml index e13b7c3..2c0209a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,8 +34,8 @@ classifiers = [ ] [project.urls] -Homepage = "https://github.com/stainless-sdks/slash-sdk-python" -Repository = "https://github.com/stainless-sdks/slash-sdk-python" +Homepage = "https://github.com/slashfi/slash-sdk-python" +Repository = "https://github.com/slashfi/slash-sdk-python" [tool.rye] @@ -121,7 +121,7 @@ path = "README.md" [[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]] # replace relative links with absolute links pattern = '\[(.+?)\]\(((?!https?://)\S+?)\)' -replacement = '[\1](https://github.com/stainless-sdks/slash-sdk-python/tree/main/\g<2>)' +replacement = '[\1](https://github.com/slashfi/slash-sdk-python/tree/main/\g<2>)' [tool.pytest.ini_options] testpaths = ["tests"] diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..4263afd --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,66 @@ +{ + "packages": { + ".": {} + }, + "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json", + "include-v-in-tag": true, + "include-component-in-tag": false, + "versioning": "prerelease", + "prerelease": true, + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": false, + "pull-request-header": "Automated Release PR", + "pull-request-title-pattern": "release: ${version}", + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "revert", + "section": "Reverts" + }, + { + "type": "chore", + "section": "Chores" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styles" + }, + { + "type": "refactor", + "section": "Refactors" + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ], + "release-type": "python", + "extra-files": [ + "src/slash_sdk/_version.py" + ] +} \ No newline at end of file diff --git a/src/slash_sdk/_version.py b/src/slash_sdk/_version.py index 8e602b1..a5aaf6b 100644 --- a/src/slash_sdk/_version.py +++ b/src/slash_sdk/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "slash_sdk" -__version__ = "0.0.1-alpha.0" +__version__ = "0.0.1-alpha.0" # x-release-please-version diff --git a/src/slash_sdk/resources/account.py b/src/slash_sdk/resources/account.py index 47a9d9e..0852290 100644 --- a/src/slash_sdk/resources/account.py +++ b/src/slash_sdk/resources/account.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> AccountResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AccountResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> AccountResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AccountResourceWithStreamingResponse(self) @@ -161,7 +161,7 @@ def with_raw_response(self) -> AsyncAccountResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncAccountResourceWithRawResponse(self) @@ -170,7 +170,7 @@ def with_streaming_response(self) -> AsyncAccountResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncAccountResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/card/card.py b/src/slash_sdk/resources/card/card.py index d9c62a0..cc53a22 100644 --- a/src/slash_sdk/resources/card/card.py +++ b/src/slash_sdk/resources/card/card.py @@ -47,7 +47,7 @@ def with_raw_response(self) -> CardResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return CardResourceWithRawResponse(self) @@ -56,7 +56,7 @@ def with_streaming_response(self) -> CardResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return CardResourceWithStreamingResponse(self) @@ -361,7 +361,7 @@ def with_raw_response(self) -> AsyncCardResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncCardResourceWithRawResponse(self) @@ -370,7 +370,7 @@ def with_streaming_response(self) -> AsyncCardResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncCardResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/card/spending_constraint.py b/src/slash_sdk/resources/card/spending_constraint.py index 937da69..845a2f6 100644 --- a/src/slash_sdk/resources/card/spending_constraint.py +++ b/src/slash_sdk/resources/card/spending_constraint.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> SpendingConstraintResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return SpendingConstraintResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> SpendingConstraintResourceWithStreamingResp """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return SpendingConstraintResourceWithStreamingResponse(self) @@ -153,7 +153,7 @@ def with_raw_response(self) -> AsyncSpendingConstraintResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncSpendingConstraintResourceWithRawResponse(self) @@ -162,7 +162,7 @@ def with_streaming_response(self) -> AsyncSpendingConstraintResourceWithStreamin """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncSpendingConstraintResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/card_group/card_group.py b/src/slash_sdk/resources/card_group/card_group.py index dcb56b6..328b15a 100644 --- a/src/slash_sdk/resources/card_group/card_group.py +++ b/src/slash_sdk/resources/card_group/card_group.py @@ -45,7 +45,7 @@ def with_raw_response(self) -> CardGroupResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return CardGroupResourceWithRawResponse(self) @@ -54,7 +54,7 @@ def with_streaming_response(self) -> CardGroupResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return CardGroupResourceWithStreamingResponse(self) @@ -273,7 +273,7 @@ def with_raw_response(self) -> AsyncCardGroupResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncCardGroupResourceWithRawResponse(self) @@ -282,7 +282,7 @@ def with_streaming_response(self) -> AsyncCardGroupResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncCardGroupResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/card_group/spending_constraint.py b/src/slash_sdk/resources/card_group/spending_constraint.py index 914cece..0ed8e4a 100644 --- a/src/slash_sdk/resources/card_group/spending_constraint.py +++ b/src/slash_sdk/resources/card_group/spending_constraint.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> SpendingConstraintResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return SpendingConstraintResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> SpendingConstraintResourceWithStreamingResp """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return SpendingConstraintResourceWithStreamingResponse(self) @@ -153,7 +153,7 @@ def with_raw_response(self) -> AsyncSpendingConstraintResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncSpendingConstraintResourceWithRawResponse(self) @@ -162,7 +162,7 @@ def with_streaming_response(self) -> AsyncSpendingConstraintResourceWithStreamin """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncSpendingConstraintResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/card_product.py b/src/slash_sdk/resources/card_product.py index 25e4a5a..ba15e1b 100644 --- a/src/slash_sdk/resources/card_product.py +++ b/src/slash_sdk/resources/card_product.py @@ -28,7 +28,7 @@ def with_raw_response(self) -> CardProductResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return CardProductResourceWithRawResponse(self) @@ -37,7 +37,7 @@ def with_streaming_response(self) -> CardProductResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return CardProductResourceWithStreamingResponse(self) @@ -86,7 +86,7 @@ def with_raw_response(self) -> AsyncCardProductResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncCardProductResourceWithRawResponse(self) @@ -95,7 +95,7 @@ def with_streaming_response(self) -> AsyncCardProductResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncCardProductResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/crypto.py b/src/slash_sdk/resources/crypto.py index 4bf483f..57f6802 100644 --- a/src/slash_sdk/resources/crypto.py +++ b/src/slash_sdk/resources/crypto.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> CryptoResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return CryptoResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> CryptoResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return CryptoResourceWithStreamingResponse(self) @@ -94,7 +94,7 @@ def with_raw_response(self) -> AsyncCryptoResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncCryptoResourceWithRawResponse(self) @@ -103,7 +103,7 @@ def with_streaming_response(self) -> AsyncCryptoResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncCryptoResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/developer_account.py b/src/slash_sdk/resources/developer_account.py index e2db5d5..ef651d9 100644 --- a/src/slash_sdk/resources/developer_account.py +++ b/src/slash_sdk/resources/developer_account.py @@ -30,7 +30,7 @@ def with_raw_response(self) -> DeveloperAccountResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return DeveloperAccountResourceWithRawResponse(self) @@ -39,7 +39,7 @@ def with_streaming_response(self) -> DeveloperAccountResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return DeveloperAccountResourceWithStreamingResponse(self) @@ -97,7 +97,7 @@ def with_raw_response(self) -> AsyncDeveloperAccountResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncDeveloperAccountResourceWithRawResponse(self) @@ -106,7 +106,7 @@ def with_streaming_response(self) -> AsyncDeveloperAccountResourceWithStreamingR """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncDeveloperAccountResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/developer_application.py b/src/slash_sdk/resources/developer_application.py index d92fe0b..08b3a4a 100644 --- a/src/slash_sdk/resources/developer_application.py +++ b/src/slash_sdk/resources/developer_application.py @@ -29,7 +29,7 @@ def with_raw_response(self) -> DeveloperApplicationResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return DeveloperApplicationResourceWithRawResponse(self) @@ -38,7 +38,7 @@ def with_streaming_response(self) -> DeveloperApplicationResourceWithStreamingRe """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return DeveloperApplicationResourceWithStreamingResponse(self) @@ -164,7 +164,7 @@ def with_raw_response(self) -> AsyncDeveloperApplicationResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncDeveloperApplicationResourceWithRawResponse(self) @@ -173,7 +173,7 @@ def with_streaming_response(self) -> AsyncDeveloperApplicationResourceWithStream """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncDeveloperApplicationResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/fdx/accounts/accounts.py b/src/slash_sdk/resources/fdx/accounts/accounts.py index 7c39033..b0a17d8 100644 --- a/src/slash_sdk/resources/fdx/accounts/accounts.py +++ b/src/slash_sdk/resources/fdx/accounts/accounts.py @@ -50,7 +50,7 @@ def with_raw_response(self) -> AccountsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AccountsResourceWithRawResponse(self) @@ -59,7 +59,7 @@ def with_streaming_response(self) -> AccountsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AccountsResourceWithStreamingResponse(self) @@ -298,7 +298,7 @@ def with_raw_response(self) -> AsyncAccountsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncAccountsResourceWithRawResponse(self) @@ -307,7 +307,7 @@ def with_streaming_response(self) -> AsyncAccountsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncAccountsResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/fdx/accounts/statements.py b/src/slash_sdk/resources/fdx/accounts/statements.py index 547aa4d..49533d5 100644 --- a/src/slash_sdk/resources/fdx/accounts/statements.py +++ b/src/slash_sdk/resources/fdx/accounts/statements.py @@ -36,7 +36,7 @@ def with_raw_response(self) -> StatementsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return StatementsResourceWithRawResponse(self) @@ -45,7 +45,7 @@ def with_streaming_response(self) -> StatementsResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return StatementsResourceWithStreamingResponse(self) @@ -151,7 +151,7 @@ def with_raw_response(self) -> AsyncStatementsResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncStatementsResourceWithRawResponse(self) @@ -160,7 +160,7 @@ def with_streaming_response(self) -> AsyncStatementsResourceWithStreamingRespons """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncStatementsResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/fdx/customers.py b/src/slash_sdk/resources/fdx/customers.py index 548cb09..9e2533f 100644 --- a/src/slash_sdk/resources/fdx/customers.py +++ b/src/slash_sdk/resources/fdx/customers.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> CustomersResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return CustomersResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> CustomersResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return CustomersResourceWithStreamingResponse(self) @@ -66,7 +66,7 @@ def with_raw_response(self) -> AsyncCustomersResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncCustomersResourceWithRawResponse(self) @@ -75,7 +75,7 @@ def with_streaming_response(self) -> AsyncCustomersResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncCustomersResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/fdx/fdx.py b/src/slash_sdk/resources/fdx/fdx.py index 2fc696a..9b16578 100644 --- a/src/slash_sdk/resources/fdx/fdx.py +++ b/src/slash_sdk/resources/fdx/fdx.py @@ -39,7 +39,7 @@ def with_raw_response(self) -> FdxResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return FdxResourceWithRawResponse(self) @@ -48,7 +48,7 @@ def with_streaming_response(self) -> FdxResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return FdxResourceWithStreamingResponse(self) @@ -68,7 +68,7 @@ def with_raw_response(self) -> AsyncFdxResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncFdxResourceWithRawResponse(self) @@ -77,7 +77,7 @@ def with_streaming_response(self) -> AsyncFdxResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncFdxResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/legal_entity.py b/src/slash_sdk/resources/legal_entity.py index 487a2df..57874a2 100644 --- a/src/slash_sdk/resources/legal_entity.py +++ b/src/slash_sdk/resources/legal_entity.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> LegalEntityResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return LegalEntityResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> LegalEntityResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return LegalEntityResourceWithStreamingResponse(self) @@ -66,7 +66,7 @@ def with_raw_response(self) -> AsyncLegalEntityResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncLegalEntityResourceWithRawResponse(self) @@ -75,7 +75,7 @@ def with_streaming_response(self) -> AsyncLegalEntityResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncLegalEntityResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/merchant.py b/src/slash_sdk/resources/merchant.py index ef12ff0..91c333e 100644 --- a/src/slash_sdk/resources/merchant.py +++ b/src/slash_sdk/resources/merchant.py @@ -29,7 +29,7 @@ def with_raw_response(self) -> MerchantResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return MerchantResourceWithRawResponse(self) @@ -38,7 +38,7 @@ def with_streaming_response(self) -> MerchantResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return MerchantResourceWithStreamingResponse(self) @@ -129,7 +129,7 @@ def with_raw_response(self) -> AsyncMerchantResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncMerchantResourceWithRawResponse(self) @@ -138,7 +138,7 @@ def with_streaming_response(self) -> AsyncMerchantResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncMerchantResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/merchant_category.py b/src/slash_sdk/resources/merchant_category.py index 53be904..a0567d5 100644 --- a/src/slash_sdk/resources/merchant_category.py +++ b/src/slash_sdk/resources/merchant_category.py @@ -28,7 +28,7 @@ def with_raw_response(self) -> MerchantCategoryResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return MerchantCategoryResourceWithRawResponse(self) @@ -37,7 +37,7 @@ def with_streaming_response(self) -> MerchantCategoryResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return MerchantCategoryResourceWithStreamingResponse(self) @@ -86,7 +86,7 @@ def with_raw_response(self) -> AsyncMerchantCategoryResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncMerchantCategoryResourceWithRawResponse(self) @@ -95,7 +95,7 @@ def with_streaming_response(self) -> AsyncMerchantCategoryResourceWithStreamingR """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncMerchantCategoryResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/oauth2/oauth2.py b/src/slash_sdk/resources/oauth2/oauth2.py index 0b28e59..0bae5f7 100644 --- a/src/slash_sdk/resources/oauth2/oauth2.py +++ b/src/slash_sdk/resources/oauth2/oauth2.py @@ -42,7 +42,7 @@ def with_raw_response(self) -> Oauth2ResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return Oauth2ResourceWithRawResponse(self) @@ -51,7 +51,7 @@ def with_streaming_response(self) -> Oauth2ResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return Oauth2ResourceWithStreamingResponse(self) @@ -184,7 +184,7 @@ def with_raw_response(self) -> AsyncOauth2ResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncOauth2ResourceWithRawResponse(self) @@ -193,7 +193,7 @@ def with_streaming_response(self) -> AsyncOauth2ResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncOauth2ResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/oauth2/userinfo.py b/src/slash_sdk/resources/oauth2/userinfo.py index 97d66d9..d884af6 100644 --- a/src/slash_sdk/resources/oauth2/userinfo.py +++ b/src/slash_sdk/resources/oauth2/userinfo.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> UserinfoResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return UserinfoResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> UserinfoResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return UserinfoResourceWithStreamingResponse(self) @@ -85,7 +85,7 @@ def with_raw_response(self) -> AsyncUserinfoResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncUserinfoResourceWithRawResponse(self) @@ -94,7 +94,7 @@ def with_streaming_response(self) -> AsyncUserinfoResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncUserinfoResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/pay.py b/src/slash_sdk/resources/pay.py index d82cb92..59a079b 100644 --- a/src/slash_sdk/resources/pay.py +++ b/src/slash_sdk/resources/pay.py @@ -31,7 +31,7 @@ def with_raw_response(self) -> PayResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return PayResourceWithRawResponse(self) @@ -40,7 +40,7 @@ def with_streaming_response(self) -> PayResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return PayResourceWithStreamingResponse(self) @@ -130,7 +130,7 @@ def with_raw_response(self) -> AsyncPayResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncPayResourceWithRawResponse(self) @@ -139,7 +139,7 @@ def with_streaming_response(self) -> AsyncPayResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncPayResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/slash_handle.py b/src/slash_sdk/resources/slash_handle.py index 92fd347..35d90f2 100644 --- a/src/slash_sdk/resources/slash_handle.py +++ b/src/slash_sdk/resources/slash_handle.py @@ -28,7 +28,7 @@ def with_raw_response(self) -> SlashHandleResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return SlashHandleResourceWithRawResponse(self) @@ -37,7 +37,7 @@ def with_streaming_response(self) -> SlashHandleResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return SlashHandleResourceWithStreamingResponse(self) @@ -86,7 +86,7 @@ def with_raw_response(self) -> AsyncSlashHandleResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncSlashHandleResourceWithRawResponse(self) @@ -95,7 +95,7 @@ def with_streaming_response(self) -> AsyncSlashHandleResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncSlashHandleResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/transaction.py b/src/slash_sdk/resources/transaction.py index 63867d7..3529607 100644 --- a/src/slash_sdk/resources/transaction.py +++ b/src/slash_sdk/resources/transaction.py @@ -34,7 +34,7 @@ def with_raw_response(self) -> TransactionResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return TransactionResourceWithRawResponse(self) @@ -43,7 +43,7 @@ def with_streaming_response(self) -> TransactionResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return TransactionResourceWithStreamingResponse(self) @@ -348,7 +348,7 @@ def with_raw_response(self) -> AsyncTransactionResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncTransactionResourceWithRawResponse(self) @@ -357,7 +357,7 @@ def with_streaming_response(self) -> AsyncTransactionResourceWithStreamingRespon """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncTransactionResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/transfer.py b/src/slash_sdk/resources/transfer.py index b4e7a36..a298c9b 100644 --- a/src/slash_sdk/resources/transfer.py +++ b/src/slash_sdk/resources/transfer.py @@ -28,7 +28,7 @@ def with_raw_response(self) -> TransferResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return TransferResourceWithRawResponse(self) @@ -37,7 +37,7 @@ def with_streaming_response(self) -> TransferResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return TransferResourceWithStreamingResponse(self) @@ -101,7 +101,7 @@ def with_raw_response(self) -> AsyncTransferResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncTransferResourceWithRawResponse(self) @@ -110,7 +110,7 @@ def with_streaming_response(self) -> AsyncTransferResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncTransferResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/virtual_account.py b/src/slash_sdk/resources/virtual_account.py index 1530a97..d0a7114 100644 --- a/src/slash_sdk/resources/virtual_account.py +++ b/src/slash_sdk/resources/virtual_account.py @@ -38,7 +38,7 @@ def with_raw_response(self) -> VirtualAccountResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return VirtualAccountResourceWithRawResponse(self) @@ -47,7 +47,7 @@ def with_streaming_response(self) -> VirtualAccountResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return VirtualAccountResourceWithStreamingResponse(self) @@ -298,7 +298,7 @@ def with_raw_response(self) -> AsyncVirtualAccountResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncVirtualAccountResourceWithRawResponse(self) @@ -307,7 +307,7 @@ def with_streaming_response(self) -> AsyncVirtualAccountResourceWithStreamingRes """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncVirtualAccountResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/webhook.py b/src/slash_sdk/resources/webhook.py index 4732f00..475cad3 100644 --- a/src/slash_sdk/resources/webhook.py +++ b/src/slash_sdk/resources/webhook.py @@ -31,7 +31,7 @@ def with_raw_response(self) -> WebhookResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return WebhookResourceWithRawResponse(self) @@ -40,7 +40,7 @@ def with_streaming_response(self) -> WebhookResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return WebhookResourceWithStreamingResponse(self) @@ -187,7 +187,7 @@ def with_raw_response(self) -> AsyncWebhookResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncWebhookResourceWithRawResponse(self) @@ -196,7 +196,7 @@ def with_streaming_response(self) -> AsyncWebhookResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncWebhookResourceWithStreamingResponse(self) diff --git a/src/slash_sdk/resources/well_known.py b/src/slash_sdk/resources/well_known.py index 889cb23..7b3a6a8 100644 --- a/src/slash_sdk/resources/well_known.py +++ b/src/slash_sdk/resources/well_known.py @@ -26,7 +26,7 @@ def with_raw_response(self) -> WellKnownResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return WellKnownResourceWithRawResponse(self) @@ -35,7 +35,7 @@ def with_streaming_response(self) -> WellKnownResourceWithStreamingResponse: """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return WellKnownResourceWithStreamingResponse(self) @@ -66,7 +66,7 @@ def with_raw_response(self) -> AsyncWellKnownResourceWithRawResponse: This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#accessing-raw-response-data-eg-headers + For more information, see https://www.github.com/slashfi/slash-sdk-python#accessing-raw-response-data-eg-headers """ return AsyncWellKnownResourceWithRawResponse(self) @@ -75,7 +75,7 @@ def with_streaming_response(self) -> AsyncWellKnownResourceWithStreamingResponse """ An alternative to `.with_raw_response` that doesn't eagerly read the response body. - For more information, see https://www.github.com/stainless-sdks/slash-sdk-python#with_streaming_response + For more information, see https://www.github.com/slashfi/slash-sdk-python#with_streaming_response """ return AsyncWellKnownResourceWithStreamingResponse(self) From f4f4a2231d99b105cb4eb8117ee0589bf5290b01 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 23 May 2025 16:38:39 +0000 Subject: [PATCH 2/4] chore: update SDK settings --- .stats.yml | 2 +- README.md | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index 35c38f7..24c514e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/slash-financial--inc-dash%2Fslash-sdk-328c59f5cddb05543c9070c08ad121af6063f6c0d3e97da8910eb24ce7a0e610.yml openapi_spec_hash: e79d8685dd001763548013cf2f58ef94 -config_hash: 24ba5c5b367caf69d00c2c6a3dcda065 +config_hash: b31d512d1cc8a2522f7715ce6485b6e0 diff --git a/README.md b/README.md index d430aa0..4c0ec64 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,10 @@ The full API of this library can be found in [api.md](api.md). ## Installation ```sh -# install from the production repo -pip install git+ssh://git@github.com/slashfi/slash-sdk-python.git +# install from PyPI +pip install --pre slash_sdk ``` -> [!NOTE] -> Once this package is [published to PyPI](https://app.stainless.com/docs/guides/publish), this will become: `pip install --pre slash_sdk` - ## Usage The full API of this library can be found in [api.md](api.md). From f00a22bc7b33f7c323155e243cf3a8731ec81e77 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 23 May 2025 16:54:13 +0000 Subject: [PATCH 3/4] chore: update SDK settings --- .stats.yml | 2 +- README.md | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 24c514e..4f3fa52 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/slash-financial--inc-dash%2Fslash-sdk-328c59f5cddb05543c9070c08ad121af6063f6c0d3e97da8910eb24ce7a0e610.yml openapi_spec_hash: e79d8685dd001763548013cf2f58ef94 -config_hash: b31d512d1cc8a2522f7715ce6485b6e0 +config_hash: 00a9a9b9b19130c5dea0364d3bf9e6aa diff --git a/README.md b/README.md index 4c0ec64..475630e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Slash SDK Python API library -[![PyPI version](https://img.shields.io/pypi/v/slash_sdk.svg)](https://pypi.org/project/slash_sdk/) +[![PyPI version](https://img.shields.io/pypi/v/slash-sdk.svg)](https://pypi.org/project/slash-sdk/) The Slash SDK Python library provides convenient access to the Slash SDK REST API from any Python 3.8+ application. The library includes type definitions for all request params and response fields, @@ -16,7 +16,7 @@ The full API of this library can be found in [api.md](api.md). ```sh # install from PyPI -pip install --pre slash_sdk +pip install --pre slash-sdk ``` ## Usage diff --git a/pyproject.toml b/pyproject.toml index 2c0209a..67f7dec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "slash_sdk" +name = "slash-sdk" version = "0.0.1-alpha.0" description = "The official Python library for the slash-sdk API" dynamic = ["readme"] From 6b589edd86da11b050804c60aa143877a22694fd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 23 May 2025 16:54:25 +0000 Subject: [PATCH 4/4] release: 0.1.0-alpha.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 16 ++++++++++++++++ pyproject.toml | 2 +- src/slash_sdk/_version.py | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c476280..ba6c348 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1-alpha.0" + ".": "0.1.0-alpha.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..31d8504 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog + +## 0.1.0-alpha.1 (2025-05-23) + +Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/slashfi/slash-sdk-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1) + +### Features + +* **api:** update via SDK Studio ([defc219](https://github.com/slashfi/slash-sdk-python/commit/defc2195b9414cca95fa00887cc17ce384200534)) + + +### Chores + +* update SDK settings ([f00a22b](https://github.com/slashfi/slash-sdk-python/commit/f00a22bc7b33f7c323155e243cf3a8731ec81e77)) +* update SDK settings ([f4f4a22](https://github.com/slashfi/slash-sdk-python/commit/f4f4a2231d99b105cb4eb8117ee0589bf5290b01)) +* update SDK settings ([9041231](https://github.com/slashfi/slash-sdk-python/commit/90412312699787194863b1a20366617e2df59466)) diff --git a/pyproject.toml b/pyproject.toml index 67f7dec..01eeabb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "slash-sdk" -version = "0.0.1-alpha.0" +version = "0.1.0-alpha.1" description = "The official Python library for the slash-sdk API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/slash_sdk/_version.py b/src/slash_sdk/_version.py index a5aaf6b..f4ecd5e 100644 --- a/src/slash_sdk/_version.py +++ b/src/slash_sdk/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "slash_sdk" -__version__ = "0.0.1-alpha.0" # x-release-please-version +__version__ = "0.1.0-alpha.1" # x-release-please-version