payi 0.1.0a53__py3-none-any.whl → 0.1.0a56__py3-none-any.whl

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 (59) hide show
  1. payi/_base_client.py +1 -96
  2. payi/_client.py +10 -17
  3. payi/_models.py +5 -2
  4. payi/_version.py +1 -1
  5. payi/lib/helpers.py +12 -1
  6. payi/resources/__init__.py +14 -28
  7. payi/resources/categories/resources.py +7 -7
  8. payi/resources/experiences/types/types.py +5 -2
  9. payi/resources/ingest.py +58 -6
  10. payi/resources/limits/limits.py +4 -0
  11. payi/resources/limits/tags.py +12 -0
  12. payi/resources/requests/properties.py +1 -1
  13. payi/resources/use_cases/__init__.py +47 -0
  14. payi/resources/use_cases/properties.py +174 -0
  15. payi/resources/use_cases/types/__init__.py +33 -0
  16. payi/resources/use_cases/types/limit_config.py +275 -0
  17. payi/resources/{billing_models.py → use_cases/types/types.py} +225 -161
  18. payi/resources/{price_modifiers.py → use_cases/use_cases.py} +160 -130
  19. payi/types/__init__.py +6 -9
  20. payi/types/categories/resource_create_params.py +6 -6
  21. payi/types/category_resource_response.py +2 -2
  22. payi/types/experience_instance_response.py +2 -0
  23. payi/types/experiences/__init__.py +0 -1
  24. payi/types/experiences/experience_type.py +8 -14
  25. payi/types/experiences/type_create_params.py +8 -14
  26. payi/types/ingest_event_param.py +10 -0
  27. payi/types/ingest_response.py +2 -0
  28. payi/types/ingest_units_params.py +9 -1
  29. payi/types/limit_list_params.py +6 -1
  30. payi/types/limits/tag_create_params.py +1 -0
  31. payi/types/limits/tag_remove_params.py +1 -0
  32. payi/types/limits/tag_update_params.py +1 -0
  33. payi/types/requests/request_result.py +2 -0
  34. payi/types/shared/__init__.py +4 -0
  35. payi/types/shared/pay_i_common_models_budget_management_create_limit_base.py +18 -0
  36. payi/types/shared_params/__init__.py +5 -0
  37. payi/types/shared_params/pay_i_common_models_budget_management_create_limit_base.py +18 -0
  38. payi/types/use_case_instance_response.py +15 -0
  39. payi/types/use_cases/__init__.py +10 -0
  40. payi/types/use_cases/property_create_params.py +12 -0
  41. payi/types/use_cases/type_create_params.py +22 -0
  42. payi/types/use_cases/type_list_params.py +12 -0
  43. payi/types/{billing_model_list_response.py → use_cases/type_list_response.py} +3 -3
  44. payi/types/use_cases/type_update_params.py +14 -0
  45. payi/types/use_cases/types/__init__.py +5 -0
  46. payi/types/use_cases/types/limit_config_create_params.py +18 -0
  47. payi/types/use_cases/use_case_type.py +24 -0
  48. {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/METADATA +25 -4
  49. {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/RECORD +52 -43
  50. {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/WHEEL +1 -1
  51. payi/types/billing_model.py +0 -31
  52. payi/types/billing_model_create_params.py +0 -22
  53. payi/types/billing_model_update_params.py +0 -22
  54. payi/types/price_modifier.py +0 -26
  55. payi/types/price_modifier_create_params.py +0 -17
  56. payi/types/price_modifier_retrieve_response.py +0 -10
  57. payi/types/price_modifier_update_params.py +0 -17
  58. /payi/types/{experiences → shared}/properties_response.py +0 -0
  59. {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/licenses/LICENSE +0 -0
@@ -1,26 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
- from datetime import datetime
5
-
6
- from .._models import BaseModel
7
-
8
- __all__ = ["PriceModifier"]
9
-
10
-
11
- class PriceModifier(BaseModel):
12
- billing_model_id: Optional[str] = None
13
-
14
- category: Optional[str] = None
15
-
16
- create_timestamp: datetime
17
-
18
- price_modifier: float
19
-
20
- price_modifier_id: Optional[str] = None
21
-
22
- resource: Optional[str] = None
23
-
24
- resource_id: Optional[str] = None
25
-
26
- update_timestamp: datetime
@@ -1,17 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, TypedDict
6
-
7
- __all__ = ["PriceModifierCreateParams"]
8
-
9
-
10
- class PriceModifierCreateParams(TypedDict, total=False):
11
- billing_model_id: Required[str]
12
-
13
- category: Required[str]
14
-
15
- price_modifier: Required[float]
16
-
17
- resource: Required[str]
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List
4
- from typing_extensions import TypeAlias
5
-
6
- from .price_modifier import PriceModifier
7
-
8
- __all__ = ["PriceModifierRetrieveResponse"]
9
-
10
- PriceModifierRetrieveResponse: TypeAlias = List[PriceModifier]
@@ -1,17 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, TypedDict
6
-
7
- __all__ = ["PriceModifierUpdateParams"]
8
-
9
-
10
- class PriceModifierUpdateParams(TypedDict, total=False):
11
- billing_model_id: Required[str]
12
-
13
- category: Required[str]
14
-
15
- price_modifier: Required[float]
16
-
17
- resource: Required[str]