payi 0.1.0a10__tar.gz → 0.1.0a12__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.

Files changed (94) hide show
  1. payi-0.1.0a12/.release-please-manifest.json +3 -0
  2. {payi-0.1.0a10 → payi-0.1.0a12}/CHANGELOG.md +18 -0
  3. {payi-0.1.0a10 → payi-0.1.0a12}/PKG-INFO +1 -1
  4. {payi-0.1.0a10 → payi-0.1.0a12}/pyproject.toml +1 -1
  5. {payi-0.1.0a10 → payi-0.1.0a12}/requirements-dev.lock +1 -0
  6. {payi-0.1.0a10 → payi-0.1.0a12}/requirements.lock +1 -0
  7. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_version.py +1 -1
  8. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/resources/budgets/budgets.py +4 -0
  9. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budget_create_params.py +2 -0
  10. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budget_response.py +1 -1
  11. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/paged_budget_list.py +1 -1
  12. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/proxy_result.py +3 -2
  13. {payi-0.1.0a10 → payi-0.1.0a12}/tests/api_resources/test_budgets.py +2 -0
  14. payi-0.1.0a10/.release-please-manifest.json +0 -3
  15. {payi-0.1.0a10 → payi-0.1.0a12}/.gitignore +0 -0
  16. {payi-0.1.0a10 → payi-0.1.0a12}/CONTRIBUTING.md +0 -0
  17. {payi-0.1.0a10 → payi-0.1.0a12}/LICENSE +0 -0
  18. {payi-0.1.0a10 → payi-0.1.0a12}/README.md +0 -0
  19. {payi-0.1.0a10 → payi-0.1.0a12}/SECURITY.md +0 -0
  20. {payi-0.1.0a10 → payi-0.1.0a12}/api.md +0 -0
  21. {payi-0.1.0a10 → payi-0.1.0a12}/bin/check-release-environment +0 -0
  22. {payi-0.1.0a10 → payi-0.1.0a12}/bin/publish-pypi +0 -0
  23. {payi-0.1.0a10 → payi-0.1.0a12}/examples/.keep +0 -0
  24. {payi-0.1.0a10 → payi-0.1.0a12}/mypy.ini +0 -0
  25. {payi-0.1.0a10 → payi-0.1.0a12}/noxfile.py +0 -0
  26. {payi-0.1.0a10 → payi-0.1.0a12}/release-please-config.json +0 -0
  27. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/__init__.py +0 -0
  28. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_base_client.py +0 -0
  29. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_client.py +0 -0
  30. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_compat.py +0 -0
  31. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_constants.py +0 -0
  32. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_exceptions.py +0 -0
  33. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_files.py +0 -0
  34. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_models.py +0 -0
  35. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_qs.py +0 -0
  36. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_resource.py +0 -0
  37. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_response.py +0 -0
  38. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_streaming.py +0 -0
  39. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_types.py +0 -0
  40. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/__init__.py +0 -0
  41. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_logs.py +0 -0
  42. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_proxy.py +0 -0
  43. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_reflection.py +0 -0
  44. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_streams.py +0 -0
  45. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_sync.py +0 -0
  46. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_transform.py +0 -0
  47. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_typing.py +0 -0
  48. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/_utils/_utils.py +0 -0
  49. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/lib/.keep +0 -0
  50. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/lib/helpers.py +0 -0
  51. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/py.typed +0 -0
  52. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/resources/__init__.py +0 -0
  53. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/resources/budgets/__init__.py +0 -0
  54. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/resources/budgets/tags.py +0 -0
  55. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/resources/ingest.py +0 -0
  56. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/__init__.py +0 -0
  57. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budget_history_response.py +0 -0
  58. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budget_list_params.py +0 -0
  59. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budget_update_params.py +0 -0
  60. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/__init__.py +0 -0
  61. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/budget_tags.py +0 -0
  62. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_create_params.py +0 -0
  63. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_create_response.py +0 -0
  64. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_delete_response.py +0 -0
  65. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_list_response.py +0 -0
  66. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_remove_params.py +0 -0
  67. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_remove_response.py +0 -0
  68. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_update_params.py +0 -0
  69. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/budgets/tag_update_response.py +0 -0
  70. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/cost_data.py +0 -0
  71. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/cost_details.py +0 -0
  72. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/default_response.py +0 -0
  73. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/ingest_units_params.py +0 -0
  74. {payi-0.1.0a10 → payi-0.1.0a12}/src/payi/types/requests_data.py +0 -0
  75. {payi-0.1.0a10 → payi-0.1.0a12}/tests/__init__.py +0 -0
  76. {payi-0.1.0a10 → payi-0.1.0a12}/tests/api_resources/__init__.py +0 -0
  77. {payi-0.1.0a10 → payi-0.1.0a12}/tests/api_resources/budgets/__init__.py +0 -0
  78. {payi-0.1.0a10 → payi-0.1.0a12}/tests/api_resources/budgets/test_tags.py +0 -0
  79. {payi-0.1.0a10 → payi-0.1.0a12}/tests/api_resources/test_ingest.py +0 -0
  80. {payi-0.1.0a10 → payi-0.1.0a12}/tests/conftest.py +0 -0
  81. {payi-0.1.0a10 → payi-0.1.0a12}/tests/sample_file.txt +0 -0
  82. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_client.py +0 -0
  83. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_deepcopy.py +0 -0
  84. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_extract_files.py +0 -0
  85. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_files.py +0 -0
  86. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_models.py +0 -0
  87. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_qs.py +0 -0
  88. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_required_args.py +0 -0
  89. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_response.py +0 -0
  90. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_streaming.py +0 -0
  91. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_transform.py +0 -0
  92. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_utils/test_proxy.py +0 -0
  93. {payi-0.1.0a10 → payi-0.1.0a12}/tests/test_utils/test_typing.py +0 -0
  94. {payi-0.1.0a10 → payi-0.1.0a12}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.0-alpha.12"
3
+ }
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.12 (2024-07-08)
4
+
5
+ Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
6
+
7
+ ### Features
8
+
9
+ * **api:** update via SDK Studio ([#42](https://github.com/Pay-i/pay-i-python/issues/42)) ([acfca49](https://github.com/Pay-i/pay-i-python/commit/acfca49e245ef237ca1459f3e80c77e883a7fa4a))
10
+ * **api:** update via SDK Studio ([#44](https://github.com/Pay-i/pay-i-python/issues/44)) ([8623402](https://github.com/Pay-i/pay-i-python/commit/86234024530b7a6b26508c65aad280a3a0fc33c3))
11
+
12
+ ## 0.1.0-alpha.11 (2024-07-03)
13
+
14
+ 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)
15
+
16
+ ### Features
17
+
18
+ * **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))
19
+ * **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))
20
+
3
21
  ## 0.1.0-alpha.10 (2024-07-02)
4
22
 
5
23
  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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: payi
3
- Version: 0.1.0a10
3
+ Version: 0.1.0a12
4
4
  Summary: The official Python library for the payi API
5
5
  Project-URL: Homepage, https://github.com/Pay-i/pay-i-python
6
6
  Project-URL: Repository, https://github.com/Pay-i/pay-i-python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "payi"
3
- version = "0.1.0-alpha.10"
3
+ version = "0.1.0-alpha.12"
4
4
  description = "The official Python library for the payi API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -6,6 +6,7 @@
6
6
  # features: []
7
7
  # all-features: true
8
8
  # with-sources: false
9
+ # generate-hashes: false
9
10
 
10
11
  -e file:.
11
12
  annotated-types==0.6.0
@@ -6,6 +6,7 @@
6
6
  # features: []
7
7
  # all-features: true
8
8
  # with-sources: false
9
+ # generate-hashes: false
9
10
 
10
11
  -e file:.
11
12
  annotated-types==0.6.0
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "payi"
4
- __version__ = "0.1.0-alpha.10" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.12" # x-release-please-version
@@ -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
  ),
@@ -20,3 +20,5 @@ class BudgetCreateParams(TypedDict, total=False):
20
20
  budget_tags: Optional[List[str]]
21
21
 
22
22
  budget_type: Literal["conservative", "liberal"]
23
+
24
+ currency: Literal["usd"]
@@ -32,7 +32,7 @@ class Budget(BaseModel):
32
32
 
33
33
  budget_update_timestamp: datetime
34
34
 
35
- currency: str
35
+ currency: Literal["usd"]
36
36
 
37
37
  max: float
38
38
 
@@ -34,7 +34,7 @@ class Item(BaseModel):
34
34
 
35
35
  budget_update_timestamp: datetime
36
36
 
37
- currency: str
37
+ currency: Literal["usd"]
38
38
 
39
39
  max: float
40
40
 
@@ -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
@@ -9,11 +10,11 @@ __all__ = ["ProxyResult", "Budgets", "Cost"]
9
10
 
10
11
 
11
12
  class Budgets(BaseModel):
12
- state: Optional[str] = None
13
+ state: Optional[Literal["ok", "blocked", "blocked_external", "exceeded", "failed"]] = None
13
14
 
14
15
 
15
16
  class Cost(BaseModel):
16
- currency: Optional[str] = None
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
 
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.1.0-alpha.10"
3
- }
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