payi 0.1.0a10__tar.gz → 0.1.0a11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of payi might be problematic. Click here for more details.
- payi-0.1.0a11/.release-please-manifest.json +3 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/CHANGELOG.md +9 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/PKG-INFO +1 -1
- {payi-0.1.0a10 → payi-0.1.0a11}/pyproject.toml +1 -1
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_version.py +1 -1
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/resources/budgets/budgets.py +4 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budget_create_params.py +2 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/proxy_result.py +2 -1
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/api_resources/test_budgets.py +2 -0
- payi-0.1.0a10/.release-please-manifest.json +0 -3
- {payi-0.1.0a10 → payi-0.1.0a11}/.gitignore +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/CONTRIBUTING.md +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/LICENSE +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/README.md +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/SECURITY.md +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/api.md +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/bin/check-release-environment +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/bin/publish-pypi +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/examples/.keep +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/mypy.ini +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/noxfile.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/release-please-config.json +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/requirements-dev.lock +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/requirements.lock +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_base_client.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_client.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_compat.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_constants.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_exceptions.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_files.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_models.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_qs.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_resource.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_streaming.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_types.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_logs.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_proxy.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_reflection.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_streams.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_sync.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_transform.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_typing.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/_utils/_utils.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/lib/.keep +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/lib/helpers.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/py.typed +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/resources/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/resources/budgets/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/resources/budgets/tags.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/resources/ingest.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budget_history_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budget_list_params.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budget_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budget_update_params.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/budget_tags.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_create_params.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_create_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_delete_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_list_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_remove_params.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_remove_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_update_params.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/budgets/tag_update_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/cost_data.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/cost_details.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/default_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/ingest_units_params.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/paged_budget_list.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/src/payi/types/requests_data.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/api_resources/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/api_resources/budgets/__init__.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/api_resources/budgets/test_tags.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/api_resources/test_ingest.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/conftest.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/sample_file.txt +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_client.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_deepcopy.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_extract_files.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_files.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_models.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_qs.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_required_args.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_response.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_streaming.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_transform.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_utils/test_proxy.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/test_utils/test_typing.py +0 -0
- {payi-0.1.0a10 → payi-0.1.0a11}/tests/utils.py +0 -0
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.11 (2024-07-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** update via SDK Studio ([#39](https://github.com/Pay-i/pay-i-python/issues/39)) ([924942e](https://github.com/Pay-i/pay-i-python/commit/924942ed83577f9d6d6bc9709d22e5423a2c50b4))
|
|
10
|
+
* **api:** update via SDK Studio ([#41](https://github.com/Pay-i/pay-i-python/issues/41)) ([5fb515c](https://github.com/Pay-i/pay-i-python/commit/5fb515c9399354230bda965857e2dfa090db83b7))
|
|
11
|
+
|
|
3
12
|
## 0.1.0-alpha.10 (2024-07-02)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
|
|
@@ -62,6 +62,7 @@ class BudgetsResource(SyncAPIResource):
|
|
|
62
62
|
budget_response_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
|
|
63
63
|
budget_tags: Optional[List[str]] | NotGiven = NOT_GIVEN,
|
|
64
64
|
budget_type: Literal["conservative", "liberal"] | NotGiven = NOT_GIVEN,
|
|
65
|
+
currency: Literal["usd"] | NotGiven = NOT_GIVEN,
|
|
65
66
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
66
67
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
67
68
|
extra_headers: Headers | None = None,
|
|
@@ -94,6 +95,7 @@ class BudgetsResource(SyncAPIResource):
|
|
|
94
95
|
"budget_response_type": budget_response_type,
|
|
95
96
|
"budget_tags": budget_tags,
|
|
96
97
|
"budget_type": budget_type,
|
|
98
|
+
"currency": currency,
|
|
97
99
|
},
|
|
98
100
|
budget_create_params.BudgetCreateParams,
|
|
99
101
|
),
|
|
@@ -308,6 +310,7 @@ class AsyncBudgetsResource(AsyncAPIResource):
|
|
|
308
310
|
budget_response_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
|
|
309
311
|
budget_tags: Optional[List[str]] | NotGiven = NOT_GIVEN,
|
|
310
312
|
budget_type: Literal["conservative", "liberal"] | NotGiven = NOT_GIVEN,
|
|
313
|
+
currency: Literal["usd"] | NotGiven = NOT_GIVEN,
|
|
311
314
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
312
315
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
313
316
|
extra_headers: Headers | None = None,
|
|
@@ -337,6 +340,7 @@ class AsyncBudgetsResource(AsyncAPIResource):
|
|
|
337
340
|
"budget_response_type": budget_response_type,
|
|
338
341
|
"budget_tags": budget_tags,
|
|
339
342
|
"budget_type": budget_type,
|
|
343
|
+
"currency": currency,
|
|
340
344
|
},
|
|
341
345
|
budget_create_params.BudgetCreateParams,
|
|
342
346
|
),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
from typing import Dict, List, Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
4
5
|
|
|
5
6
|
from .._models import BaseModel
|
|
6
7
|
from .cost_details import CostDetails
|
|
@@ -13,7 +14,7 @@ class Budgets(BaseModel):
|
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
class Cost(BaseModel):
|
|
16
|
-
currency: Optional[
|
|
17
|
+
currency: Optional[Literal["usd"]] = None
|
|
17
18
|
|
|
18
19
|
input: Optional[CostDetails] = None
|
|
19
20
|
|
|
@@ -39,6 +39,7 @@ class TestBudgets:
|
|
|
39
39
|
budget_response_type="block",
|
|
40
40
|
budget_tags=["tag1", "tag2"],
|
|
41
41
|
budget_type="conservative",
|
|
42
|
+
currency="usd",
|
|
42
43
|
)
|
|
43
44
|
assert_matches_type(BudgetResponse, budget, path=["response"])
|
|
44
45
|
|
|
@@ -291,6 +292,7 @@ class TestAsyncBudgets:
|
|
|
291
292
|
budget_response_type="block",
|
|
292
293
|
budget_tags=["tag1", "tag2"],
|
|
293
294
|
budget_type="conservative",
|
|
295
|
+
currency="usd",
|
|
294
296
|
)
|
|
295
297
|
assert_matches_type(BudgetResponse, budget, path=["response"])
|
|
296
298
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|