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.
- payi/_base_client.py +1 -96
- payi/_client.py +10 -17
- payi/_models.py +5 -2
- payi/_version.py +1 -1
- payi/lib/helpers.py +12 -1
- payi/resources/__init__.py +14 -28
- payi/resources/categories/resources.py +7 -7
- payi/resources/experiences/types/types.py +5 -2
- payi/resources/ingest.py +58 -6
- payi/resources/limits/limits.py +4 -0
- payi/resources/limits/tags.py +12 -0
- payi/resources/requests/properties.py +1 -1
- payi/resources/use_cases/__init__.py +47 -0
- payi/resources/use_cases/properties.py +174 -0
- payi/resources/use_cases/types/__init__.py +33 -0
- payi/resources/use_cases/types/limit_config.py +275 -0
- payi/resources/{billing_models.py → use_cases/types/types.py} +225 -161
- payi/resources/{price_modifiers.py → use_cases/use_cases.py} +160 -130
- payi/types/__init__.py +6 -9
- payi/types/categories/resource_create_params.py +6 -6
- payi/types/category_resource_response.py +2 -2
- payi/types/experience_instance_response.py +2 -0
- payi/types/experiences/__init__.py +0 -1
- payi/types/experiences/experience_type.py +8 -14
- payi/types/experiences/type_create_params.py +8 -14
- payi/types/ingest_event_param.py +10 -0
- payi/types/ingest_response.py +2 -0
- payi/types/ingest_units_params.py +9 -1
- payi/types/limit_list_params.py +6 -1
- payi/types/limits/tag_create_params.py +1 -0
- payi/types/limits/tag_remove_params.py +1 -0
- payi/types/limits/tag_update_params.py +1 -0
- payi/types/requests/request_result.py +2 -0
- payi/types/shared/__init__.py +4 -0
- payi/types/shared/pay_i_common_models_budget_management_create_limit_base.py +18 -0
- payi/types/shared_params/__init__.py +5 -0
- payi/types/shared_params/pay_i_common_models_budget_management_create_limit_base.py +18 -0
- payi/types/use_case_instance_response.py +15 -0
- payi/types/use_cases/__init__.py +10 -0
- payi/types/use_cases/property_create_params.py +12 -0
- payi/types/use_cases/type_create_params.py +22 -0
- payi/types/use_cases/type_list_params.py +12 -0
- payi/types/{billing_model_list_response.py → use_cases/type_list_response.py} +3 -3
- payi/types/use_cases/type_update_params.py +14 -0
- payi/types/use_cases/types/__init__.py +5 -0
- payi/types/use_cases/types/limit_config_create_params.py +18 -0
- payi/types/use_cases/use_case_type.py +24 -0
- {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/METADATA +25 -4
- {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/RECORD +52 -43
- {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/WHEEL +1 -1
- payi/types/billing_model.py +0 -31
- payi/types/billing_model_create_params.py +0 -22
- payi/types/billing_model_update_params.py +0 -22
- payi/types/price_modifier.py +0 -26
- payi/types/price_modifier_create_params.py +0 -17
- payi/types/price_modifier_retrieve_response.py +0 -10
- payi/types/price_modifier_update_params.py +0 -17
- /payi/types/{experiences → shared}/properties_response.py +0 -0
- {payi-0.1.0a53.dist-info → payi-0.1.0a56.dist-info}/licenses/LICENSE +0 -0
payi/types/ingest_event_param.py
CHANGED
|
@@ -35,6 +35,8 @@ class IngestEventParam(TypedDict, total=False):
|
|
|
35
35
|
|
|
36
36
|
experience_properties: Optional[Dict[str, str]]
|
|
37
37
|
|
|
38
|
+
experience_version: Optional[int]
|
|
39
|
+
|
|
38
40
|
http_status_code: Optional[int]
|
|
39
41
|
|
|
40
42
|
limit_ids: Optional[List[str]]
|
|
@@ -57,4 +59,12 @@ class IngestEventParam(TypedDict, total=False):
|
|
|
57
59
|
|
|
58
60
|
time_to_first_token_ms: Optional[int]
|
|
59
61
|
|
|
62
|
+
use_case_id: Optional[str]
|
|
63
|
+
|
|
64
|
+
use_case_name: Optional[str]
|
|
65
|
+
|
|
66
|
+
use_case_version: Optional[int]
|
|
67
|
+
|
|
68
|
+
use_case_properties: Optional[Dict[str, str]]
|
|
69
|
+
|
|
60
70
|
user_id: Optional[str]
|
payi/types/ingest_response.py
CHANGED
|
@@ -43,13 +43,21 @@ class IngestUnitsParams(TypedDict, total=False):
|
|
|
43
43
|
|
|
44
44
|
time_to_first_token_ms: Optional[int]
|
|
45
45
|
|
|
46
|
+
use_case_properties: Optional[Dict[str, str]]
|
|
47
|
+
|
|
46
48
|
limit_ids: Annotated[Union[list[str], None], PropertyInfo(alias="xProxy-Limit-IDs")]
|
|
47
49
|
|
|
48
50
|
request_tags: Annotated[Union[list[str], None], PropertyInfo(alias="xProxy-Request-Tags")]
|
|
49
51
|
|
|
50
52
|
experience_name: Annotated[Union[str, None], PropertyInfo(alias="xProxy-Experience-Name")]
|
|
51
53
|
|
|
52
|
-
experience_id: Annotated[Union[str, None], PropertyInfo(alias="xProxy-Experience-
|
|
54
|
+
experience_id: Annotated[Union[str, None], PropertyInfo(alias="xProxy-Experience-ID")]
|
|
55
|
+
|
|
56
|
+
use_case_name: Annotated[Union[str, None], PropertyInfo(alias="xProxy-UseCase-Name")]
|
|
57
|
+
|
|
58
|
+
use_case_id: Annotated[Union[str, None], PropertyInfo(alias="xProxy-UseCase-ID")]
|
|
59
|
+
|
|
60
|
+
use_case_version: Annotated[Union[int, None], PropertyInfo(alias="xProxy-UseCase-Version")]
|
|
53
61
|
|
|
54
62
|
resource_scope: Annotated[Union[str, None], PropertyInfo(alias="xProxy-Resource-Scope")]
|
|
55
63
|
|
payi/types/limit_list_params.py
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import List
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
from .._utils import PropertyInfo
|
|
6
9
|
|
|
7
10
|
__all__ = ["LimitListParams"]
|
|
8
11
|
|
|
@@ -18,4 +21,6 @@ class LimitListParams(TypedDict, total=False):
|
|
|
18
21
|
|
|
19
22
|
sort_by: str
|
|
20
23
|
|
|
24
|
+
tag_list: Annotated[List[str], PropertyInfo(alias="TagList")]
|
|
25
|
+
|
|
21
26
|
tags: str
|
payi/types/shared/__init__.py
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from .properties_response import PropertiesResponse as PropertiesResponse
|
|
3
4
|
from .pay_i_common_models_budget_management_cost_details_base import (
|
|
4
5
|
PayICommonModelsBudgetManagementCostDetailsBase as PayICommonModelsBudgetManagementCostDetailsBase,
|
|
5
6
|
)
|
|
7
|
+
from .pay_i_common_models_budget_management_create_limit_base import (
|
|
8
|
+
PayICommonModelsBudgetManagementCreateLimitBase as PayICommonModelsBudgetManagementCreateLimitBase,
|
|
9
|
+
)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from typing_extensions import Literal
|
|
5
|
+
|
|
6
|
+
from ..._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["PayICommonModelsBudgetManagementCreateLimitBase"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PayICommonModelsBudgetManagementCreateLimitBase(BaseModel):
|
|
12
|
+
max: float
|
|
13
|
+
|
|
14
|
+
limit_tags: Optional[List[str]] = None
|
|
15
|
+
|
|
16
|
+
limit_type: Optional[Literal["block", "allow"]] = None
|
|
17
|
+
|
|
18
|
+
threshold: Optional[float] = None
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["PayICommonModelsBudgetManagementCreateLimitBase"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PayICommonModelsBudgetManagementCreateLimitBase(TypedDict, total=False):
|
|
12
|
+
max: Required[float]
|
|
13
|
+
|
|
14
|
+
limit_tags: Optional[List[str]]
|
|
15
|
+
|
|
16
|
+
limit_type: Literal["block", "allow"]
|
|
17
|
+
|
|
18
|
+
threshold: Optional[float]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["UseCaseInstanceResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UseCaseInstanceResponse(BaseModel):
|
|
11
|
+
use_case_id: str
|
|
12
|
+
|
|
13
|
+
limit_id: Optional[str] = None
|
|
14
|
+
|
|
15
|
+
type_version: Optional[int] = None
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from .use_case_type import UseCaseType as UseCaseType
|
|
6
|
+
from .type_list_params import TypeListParams as TypeListParams
|
|
7
|
+
from .type_create_params import TypeCreateParams as TypeCreateParams
|
|
8
|
+
from .type_list_response import TypeListResponse as TypeListResponse
|
|
9
|
+
from .type_update_params import TypeUpdateParams as TypeUpdateParams
|
|
10
|
+
from .property_create_params import PropertyCreateParams as PropertyCreateParams
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["PropertyCreateParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PropertyCreateParams(TypedDict, total=False):
|
|
12
|
+
properties: Required[Dict[str, str]]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
|
+
|
|
8
|
+
from ..shared_params.pay_i_common_models_budget_management_create_limit_base import (
|
|
9
|
+
PayICommonModelsBudgetManagementCreateLimitBase,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
__all__ = ["TypeCreateParams"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class TypeCreateParams(TypedDict, total=False):
|
|
16
|
+
description: Required[str]
|
|
17
|
+
|
|
18
|
+
name: Required[str]
|
|
19
|
+
|
|
20
|
+
limit_config: PayICommonModelsBudgetManagementCreateLimitBase
|
|
21
|
+
|
|
22
|
+
logging_enabled: Optional[bool]
|
|
@@ -0,0 +1,12 @@
|
|
|
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 TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TypeListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TypeListParams(TypedDict, total=False):
|
|
11
|
+
use_case_name: str
|
|
12
|
+
"""Use Case name"""
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
from typing import List
|
|
4
4
|
from typing_extensions import TypeAlias
|
|
5
5
|
|
|
6
|
-
from .
|
|
6
|
+
from .use_case_type import UseCaseType
|
|
7
7
|
|
|
8
|
-
__all__ = ["
|
|
8
|
+
__all__ = ["TypeListResponse"]
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
TypeListResponse: TypeAlias = List[UseCaseType]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["TypeUpdateParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TypeUpdateParams(TypedDict, total=False):
|
|
12
|
+
description: Optional[str]
|
|
13
|
+
|
|
14
|
+
logging_enabled: Optional[bool]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List, Optional
|
|
6
|
+
from typing_extensions import Literal, Required, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["LimitConfigCreateParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class LimitConfigCreateParams(TypedDict, total=False):
|
|
12
|
+
max: Required[float]
|
|
13
|
+
|
|
14
|
+
limit_tags: Optional[List[str]]
|
|
15
|
+
|
|
16
|
+
limit_type: Literal["block", "allow"]
|
|
17
|
+
|
|
18
|
+
threshold: Optional[float]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from ..._models import BaseModel
|
|
6
|
+
from ..shared.pay_i_common_models_budget_management_create_limit_base import (
|
|
7
|
+
PayICommonModelsBudgetManagementCreateLimitBase,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
__all__ = ["UseCaseType"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class UseCaseType(BaseModel):
|
|
14
|
+
description: str
|
|
15
|
+
|
|
16
|
+
name: str
|
|
17
|
+
|
|
18
|
+
request_id: str
|
|
19
|
+
|
|
20
|
+
limit_config: Optional[PayICommonModelsBudgetManagementCreateLimitBase] = None
|
|
21
|
+
|
|
22
|
+
logging_enabled: Optional[bool] = None
|
|
23
|
+
|
|
24
|
+
type_version: Optional[int] = None
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: payi
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a56
|
|
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
|
|
7
7
|
Author-email: Payi <support@payi.com>
|
|
8
|
-
License
|
|
9
|
-
License-File: LICENSE
|
|
8
|
+
License: Apache-2.0
|
|
10
9
|
Classifier: Intended Audience :: Developers
|
|
11
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
11
|
Classifier: Operating System :: MacOS
|
|
@@ -114,6 +113,28 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
|
|
|
114
113
|
|
|
115
114
|
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
|
116
115
|
|
|
116
|
+
## Nested params
|
|
117
|
+
|
|
118
|
+
Nested parameters are dictionaries, typed using `TypedDict`, for example:
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
from payi import Payi
|
|
122
|
+
|
|
123
|
+
client = Payi()
|
|
124
|
+
|
|
125
|
+
experience_type = client.experiences.types.create(
|
|
126
|
+
description="x",
|
|
127
|
+
name="x",
|
|
128
|
+
limit_config={
|
|
129
|
+
"max": 0,
|
|
130
|
+
"limit_tags": ["tag1", "tag2"],
|
|
131
|
+
"limit_type": "block",
|
|
132
|
+
"threshold": 0,
|
|
133
|
+
},
|
|
134
|
+
)
|
|
135
|
+
print(experience_type.limit_config)
|
|
136
|
+
```
|
|
137
|
+
|
|
117
138
|
## Handling errors
|
|
118
139
|
|
|
119
140
|
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `payi.APIConnectionError` is raised.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
payi/__init__.py,sha256=_eeZx9fx2Wp81adXh7qrpkmXCso7TiRSvIlLkQ0sQhY,2399
|
|
2
|
-
payi/_base_client.py,sha256=
|
|
3
|
-
payi/_client.py,sha256=
|
|
2
|
+
payi/_base_client.py,sha256=FSXF70qmWK3orED-9NeOewTYHYhnDt5gu_MYEyGJ8Bs,64955
|
|
3
|
+
payi/_client.py,sha256=yaf6NDgv70B-B8zuSzBIg0whMWyxOfq6vRSViYhwPbA,17895
|
|
4
4
|
payi/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
|
5
5
|
payi/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
6
|
payi/_exceptions.py,sha256=ItygKNrNXIVY0H6LsGVZvFuAHB3Vtm_VZXmWzCnpHy0,3216
|
|
7
7
|
payi/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
|
|
8
|
-
payi/_models.py,sha256=
|
|
8
|
+
payi/_models.py,sha256=CTC-fpbbGneROztxHX-PkLntPt1ZMmwDqoKY9VAIOVg,29071
|
|
9
9
|
payi/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
|
10
10
|
payi/_resource.py,sha256=j2jIkTr8OIC8sU6-05nxSaCyj4MaFlbZrwlyg4_xJos,1088
|
|
11
11
|
payi/_response.py,sha256=CfrNS_3wbL8o9dRyRVfZQ5E1GUlA4CUIUEK8olmfGqE,28777
|
|
12
12
|
payi/_streaming.py,sha256=Z_wIyo206T6Jqh2rolFg2VXZgX24PahLmpURp0-NssU,10092
|
|
13
13
|
payi/_types.py,sha256=2mbMK86K3W1aMTW7sOGQ-VND6-A2IuXKm8p4sYFztBU,6141
|
|
14
|
-
payi/_version.py,sha256=
|
|
14
|
+
payi/_version.py,sha256=Kr_2mIWJZkKXrOM0RpQBeWz-jBLVTh4ltu6RW5VGIAA,165
|
|
15
15
|
payi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
payi/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
|
17
17
|
payi/_utils/_logs.py,sha256=fmnf5D9TOgkgZKfgYmSa3PiUc3SZgkchn6CzJUeo0SQ,768
|
|
@@ -27,70 +27,66 @@ payi/lib/AnthropicInstrumentor.py,sha256=h-yebG7r7cSRVM_utva55Gc4BVcoW6WGrQrDg55
|
|
|
27
27
|
payi/lib/BedrockInstrumentor.py,sha256=4WSZLzLHMv-5U1OFr0ZErESNHTyPHn0kHATUw4HTDkQ,10072
|
|
28
28
|
payi/lib/OpenAIInstrumentor.py,sha256=ZUu-Byhz7AXhvxjOMdX8tB2JOpM5sCj0KnyRB49lQg0,6881
|
|
29
29
|
payi/lib/Stopwatch.py,sha256=7OJlxvr2Jyb6Zr1LYCYKczRB7rDVKkIR7gc4YoleNdE,764
|
|
30
|
-
payi/lib/helpers.py,sha256=
|
|
30
|
+
payi/lib/helpers.py,sha256=0IfKnrW3Ww7FjhYSnhFP_EGBv2TYoGyICLo9nrC74hE,3529
|
|
31
31
|
payi/lib/instrument.py,sha256=Fk-Vh9NEhfp6UNaTAkkEgL5Kiq7nFPDwUT-EuzCMF5Y,37443
|
|
32
|
-
payi/resources/__init__.py,sha256=
|
|
33
|
-
payi/resources/
|
|
34
|
-
payi/resources/ingest.py,sha256=GQtgomlSTaMzPqWq8r51JkxkQMrqWhePl_llKG1XsVs,19205
|
|
35
|
-
payi/resources/price_modifiers.py,sha256=t-k2F_zf2FhoxiqDHAPBPvhSgTjewlJqh50y58FNMuw,13475
|
|
32
|
+
payi/resources/__init__.py,sha256=1rtrPLWbNt8oJGOp6nwPumKLJ-ftez0B6qwLFyfcoP4,2972
|
|
33
|
+
payi/resources/ingest.py,sha256=ifKMKylIkfCF-uGFPttr_VG3vWxsqntOOBrrU4_g1zk,21627
|
|
36
34
|
payi/resources/categories/__init__.py,sha256=w5gMiPdBSzJA_qfoVtFBElaoe8wGf_O63R7R1Spr6Gk,1093
|
|
37
35
|
payi/resources/categories/categories.py,sha256=FohmajDcadMXzhG3Z1HKGkbSImO7rhzQ0olZXHz8z48,16074
|
|
38
|
-
payi/resources/categories/resources.py,sha256=
|
|
36
|
+
payi/resources/categories/resources.py,sha256=WiF7PRV2UdjmLH5C5fSMHkMZcBfKmjYcL8XMqRUet8o,18774
|
|
39
37
|
payi/resources/experiences/__init__.py,sha256=Qiyv7Tv6UC-wWpb7XVTyHvBRE0IZTnEpykFpP27xKe0,1556
|
|
40
38
|
payi/resources/experiences/experiences.py,sha256=m_-C_gF-dX8aBL0OYLTsT6-NSyXTaDFWoxv8l6tPOZI,14580
|
|
41
39
|
payi/resources/experiences/properties.py,sha256=CzuxZ0Guf57oFvm8hwjAp6EaALxC8QM84xu_JKHk-Ww,6568
|
|
42
40
|
payi/resources/experiences/types/__init__.py,sha256=42loJPPtbwZ4qrqa1gKEg2CG5PLxCNKfOF113sIOJZc,1055
|
|
43
41
|
payi/resources/experiences/types/limit_config.py,sha256=DFMLM3aAuPv2oQQaDfNe871tOWBBY05QOpbf2Xytfo4,10617
|
|
44
|
-
payi/resources/experiences/types/types.py,sha256=
|
|
42
|
+
payi/resources/experiences/types/types.py,sha256=9RPo3u7drZ1boXjjMUs9JszQls21O_qUw3nLPBOIGK0,21085
|
|
45
43
|
payi/resources/limits/__init__.py,sha256=URXh9vglDH-dqbVGk-XcrDa8H5Bg2pgFuVQQecgEtaA,976
|
|
46
|
-
payi/resources/limits/limits.py,sha256=
|
|
47
|
-
payi/resources/limits/tags.py,sha256=
|
|
44
|
+
payi/resources/limits/limits.py,sha256=cGBw_laVFKog2lc4q4JGhyV4mQiOTeBujALGOf8-H-Q,25828
|
|
45
|
+
payi/resources/limits/tags.py,sha256=S5loCEbaXVopu_yuTPsTqPkwT6g-wuk0tKUtsREtEmQ,18977
|
|
48
46
|
payi/resources/requests/__init__.py,sha256=k7ipgDb5QXAv7WYhgQq0-6Zn9INJikMzRGexufceHeI,1530
|
|
49
|
-
payi/resources/requests/properties.py,sha256=
|
|
47
|
+
payi/resources/requests/properties.py,sha256=yxl6dLVc7NYIG2ZrVOwdhQC1Ucg5vnKAFk_mkJuWNsM,6461
|
|
50
48
|
payi/resources/requests/requests.py,sha256=uxfdUe_mNmG5kzHTa4YcS5m2wwIc5h__YSx54LfiLWQ,4840
|
|
51
49
|
payi/resources/requests/result.py,sha256=dEIwYEi_p36t_hErr_V1E2hmBLLgopcLnIReAWT8ygk,6161
|
|
52
|
-
payi/
|
|
53
|
-
payi/
|
|
54
|
-
payi/
|
|
55
|
-
payi/types/
|
|
56
|
-
payi/types/
|
|
50
|
+
payi/resources/use_cases/__init__.py,sha256=Mi0nJqs2AOiyke7HkL0szlueLveV5CUw8mwN35GvlVs,1518
|
|
51
|
+
payi/resources/use_cases/properties.py,sha256=I5Fu6CmJYhKIrYJLIZMHlDBZSHLa0ZFKKO8gYDrD998,6539
|
|
52
|
+
payi/resources/use_cases/use_cases.py,sha256=NN_o9G5mA9I-2BXS7bavmWPIUMNtWnSzaUtcai_pCmE,14379
|
|
53
|
+
payi/resources/use_cases/types/__init__.py,sha256=42loJPPtbwZ4qrqa1gKEg2CG5PLxCNKfOF113sIOJZc,1055
|
|
54
|
+
payi/resources/use_cases/types/limit_config.py,sha256=ZzshAw38bRiC2fJtoFs5uCk80RbY8be2gQqsedlH7pQ,10506
|
|
55
|
+
payi/resources/use_cases/types/types.py,sha256=3h69SurJYTdSUp9Re9EsF2nC8WKmhZZCylLitetYCzI,20956
|
|
56
|
+
payi/types/__init__.py,sha256=pGir27BGWIlNv2dReYgKsdkEqiee8xJkIjobv6507yA,2404
|
|
57
57
|
payi/types/bulk_ingest_response.py,sha256=78J3vlL7muZx9Z20H--UkvM8P19g0cDL9SZoHy7XM68,1330
|
|
58
58
|
payi/types/category_delete_resource_response.py,sha256=PLz4wZA1XMpS9SUYB_j4hEw5EoZ0VVE9Ll-MQ26SAfc,339
|
|
59
59
|
payi/types/category_delete_response.py,sha256=exq8rNDGoq2-YN528V8osdcmuptJ-k63rmCvPMm6hLA,323
|
|
60
60
|
payi/types/category_list_resources_response.py,sha256=n0DxY7N3Iftwfl0lUEx5v55V0kxbOX0EgjXlEfJtYRQ,337
|
|
61
61
|
payi/types/category_list_response.py,sha256=5i7BhQ7kVlx8_r2MLJqAJwIELGitKE0uR63kIloLATI,294
|
|
62
|
-
payi/types/category_resource_response.py,sha256=
|
|
62
|
+
payi/types/category_resource_response.py,sha256=GWNgcOkpCzR0zECYqWz5mSh75E4COun6soP1chug1Hw,713
|
|
63
63
|
payi/types/category_response.py,sha256=43i8bii20Sb-z9R5M1Ia6RGfRZmdQqsWPlv4Bl1XQf0,293
|
|
64
64
|
payi/types/cost_data.py,sha256=1i842P25SBy2sB3OWGj9LO_mMKtzmyUPBrqY_mSw01o,488
|
|
65
65
|
payi/types/cost_details.py,sha256=w9p79opEG3kcsjkRRP7niaMcUswdfB4Y7HCkVTcQ1zQ,307
|
|
66
66
|
payi/types/default_response.py,sha256=o617LpRsCIZHCZxAc5nVI2JQ3HPGZo4gCDvSDkxkIJ8,270
|
|
67
|
-
payi/types/experience_instance_response.py,sha256=
|
|
67
|
+
payi/types/experience_instance_response.py,sha256=G07YSRjXrUa5IAS4zEJHGiCNMNlVjycYhqS42ZnVs-Q,336
|
|
68
68
|
payi/types/ingest_bulk_params.py,sha256=A-IRb39d2tmVzEQqrvhlF_3si-9ufHBKYLlvdXupAHU,362
|
|
69
|
-
payi/types/ingest_event_param.py,sha256=
|
|
70
|
-
payi/types/ingest_response.py,sha256=
|
|
71
|
-
payi/types/ingest_units_params.py,sha256=
|
|
69
|
+
payi/types/ingest_event_param.py,sha256=xLetn0ycHnkJzmt9HnrHG6C8FLA8t8O31mm2q4YT1Ro,1700
|
|
70
|
+
payi/types/ingest_response.py,sha256=g7tBnnSSJ1NAc2EY_6Mlw8qaNkAhs8q1TXxBJkFUQ6Q,1488
|
|
71
|
+
payi/types/ingest_units_params.py,sha256=go2HeZkqT1fBRvKgAZ9iAWAO1ztmrN8M8yTZGFEWavQ,2210
|
|
72
72
|
payi/types/limit_create_params.py,sha256=Av8oMCxlKH7VB2MtYN5-25rAjqDDTPHjsXIQ2xubmck,549
|
|
73
73
|
payi/types/limit_history_response.py,sha256=sCx2qKBiHU9X2KrYWV8NZiarYMGurof5GF4QobR2-EU,787
|
|
74
|
-
payi/types/limit_list_params.py,sha256=
|
|
74
|
+
payi/types/limit_list_params.py,sha256=R-pldK8X7fb7VLl-sEiYWjQpdYAS3y2RQDGJsE8U0Lo,501
|
|
75
75
|
payi/types/limit_reset_params.py,sha256=vgqImSM89pRYY0Z2RNrJuQ6WeDX72ZPg3GWpL9EVEKs,476
|
|
76
76
|
payi/types/limit_response.py,sha256=OmoFlpz_6s9YhDM_3RxXjmYaaYJG0VCWu-lqqyfMa-k,722
|
|
77
77
|
payi/types/limit_update_params.py,sha256=crY4w75FWcEXbzysq1rPfD37qR5PTy_dwVRY4C_-T1w,331
|
|
78
78
|
payi/types/paged_limit_list.py,sha256=76bEcU1u64Zi9X6DoSpfbuJtE8zbWt5dL_0rnN6Nnt0,1284
|
|
79
79
|
payi/types/pay_i_common_models_api_router_header_info_param.py,sha256=91djoPLmoaMWTQOXv9-Ox24dWIrM2hudrRQTCqZpX4c,381
|
|
80
|
-
payi/types/price_modifier.py,sha256=Sw_5tzCGnpjQzR5aZ70_ATpfBRQA_0ue2NRM3yMcvj0,531
|
|
81
|
-
payi/types/price_modifier_create_params.py,sha256=RpcYr2JYFu-pxzY4Dx1ESMp9-FBHfKt03Iw-3tlZvXQ,404
|
|
82
|
-
payi/types/price_modifier_retrieve_response.py,sha256=oFXWr38-O7KHItQlSsr7K8-Arpjq0yKexSUnbWqu62Q,303
|
|
83
|
-
payi/types/price_modifier_update_params.py,sha256=lqZW1J5akLSNv-6i4dGPCqwe1p3d7rM8JzzQ4Hofsbo,404
|
|
84
80
|
payi/types/requests_data.py,sha256=sGhAykQ5lh8iEwYfIsDRO5Tso139N8nlmQUL9hg3YSQ,308
|
|
85
81
|
payi/types/total_cost_data.py,sha256=FGh5XO5DwAIqkdmW9umyrJ7uD7U0w6CLDimzhP34Dmc,302
|
|
82
|
+
payi/types/use_case_instance_response.py,sha256=khdcmoU1L8djNVYLu4rSmWkaceZmGwkE9eHLedN1ePU,328
|
|
86
83
|
payi/types/categories/__init__.py,sha256=HQScxfK3F_J9HYbphrhG6bYb7S6vtrwafLViar5pHcM,285
|
|
87
|
-
payi/types/categories/resource_create_params.py,sha256=
|
|
84
|
+
payi/types/categories/resource_create_params.py,sha256=HVzUWhvmUhVu9h70DmUrBPUcO-g2VUIc5cg0sxbG3fs,745
|
|
88
85
|
payi/types/categories/resource_list_response.py,sha256=ODMelDlXvYcwxBsJwTX8miofywUY_JB0OvsFVCKJunU,320
|
|
89
|
-
payi/types/experiences/__init__.py,sha256
|
|
90
|
-
payi/types/experiences/experience_type.py,sha256=
|
|
91
|
-
payi/types/experiences/properties_response.py,sha256=HpFNtxl_OjoMCs24xPVZLKe3FwCVcNkcRs0LsQKLrHM,259
|
|
86
|
+
payi/types/experiences/__init__.py,sha256=JonR092_JFjXrlXdZgEU9o1i5HonnlYE9ce-Tn48ZxE,536
|
|
87
|
+
payi/types/experiences/experience_type.py,sha256=o9kjqVNu0BnhjA-wgWrdNW4V2pxrHtQYTTWHPH4gJIs,573
|
|
92
88
|
payi/types/experiences/property_create_params.py,sha256=6v1L_4pj5N5k386cbtjSAWr2QJw---WUJ5lyshRnMwc,328
|
|
93
|
-
payi/types/experiences/type_create_params.py,sha256=
|
|
89
|
+
payi/types/experiences/type_create_params.py,sha256=H-J6jal7S9B0KvRKrX5z4-T7_F82bMFv1u2X8iSiMeY,585
|
|
94
90
|
payi/types/experiences/type_list_params.py,sha256=VDZjHmK2tNAW_YLewcIzM-OG13iI2v-xCykokxkcgbs,286
|
|
95
91
|
payi/types/experiences/type_list_response.py,sha256=DgkPLw40oUqBETLePVMVenstMsGG12rZRU9w6kgQN28,280
|
|
96
92
|
payi/types/experiences/type_update_params.py,sha256=PaR3fuObhIuKsiEo8BQyIoO1NU0PCrUvvNg006IlXnM,341
|
|
@@ -98,21 +94,34 @@ payi/types/experiences/types/__init__.py,sha256=Uo_hbPae_AJi8UitkztBOl80AMRv7m-w
|
|
|
98
94
|
payi/types/experiences/types/limit_config_create_params.py,sha256=pzQza_16N3z8cFNEKr6gPbFvuGFrwNuGxAYb--Kbo2M,449
|
|
99
95
|
payi/types/limits/__init__.py,sha256=yohSla0l53OaxH9WdwaU1crY1FvzM3H6IRg20LUr-MU,722
|
|
100
96
|
payi/types/limits/limit_tags.py,sha256=O9I9IC7IkFBYRbiUWb4XXmIuXoHUlRLjW_4fbEF50Aw,346
|
|
101
|
-
payi/types/limits/tag_create_params.py,sha256=
|
|
97
|
+
payi/types/limits/tag_create_params.py,sha256=5t0qtSG1c2nonB18RK4V9ngG6rRTVc2e-r17bF47VtM,342
|
|
102
98
|
payi/types/limits/tag_create_response.py,sha256=ZBU5vjGQQnsz5twkAs102TwXaZgRv9Z1nmvPHVYDTAY,267
|
|
103
99
|
payi/types/limits/tag_delete_response.py,sha256=CzkcQxggdAjakAPC1JqjK2L6h6YGxwnWU3bKRjkAfeM,267
|
|
104
100
|
payi/types/limits/tag_list_response.py,sha256=64Au13HA8Woch4gAgMb-XEd7Q9InJy9xdo9xPZyGxY4,263
|
|
105
|
-
payi/types/limits/tag_remove_params.py,sha256=
|
|
101
|
+
payi/types/limits/tag_remove_params.py,sha256=3uxFgAH60w5EFyhzwkKFcnyqN5_Ft9VTTrj0jRdZ2hs,342
|
|
106
102
|
payi/types/limits/tag_remove_response.py,sha256=R-e-um-W1aqq8sEmTtnPMCDLGVRUmm5pVAvLCkgDVHI,267
|
|
107
|
-
payi/types/limits/tag_update_params.py,sha256=
|
|
103
|
+
payi/types/limits/tag_update_params.py,sha256=YOA7dOzdwhapxWRa23MVG77oNUvBahXEUF4I1lQbLCU,342
|
|
108
104
|
payi/types/limits/tag_update_response.py,sha256=xLa4aU4eVhNmIaQTsCyEDjx1vatBACFiJCwZOWLfrig,267
|
|
109
105
|
payi/types/requests/__init__.py,sha256=prKzWdptHTDvIbGlQbWR9D4Gu_wDwXCG-cIMEAgKdkQ,263
|
|
110
106
|
payi/types/requests/property_create_params.py,sha256=6v1L_4pj5N5k386cbtjSAWr2QJw---WUJ5lyshRnMwc,328
|
|
111
|
-
payi/types/requests/request_result.py,sha256=
|
|
112
|
-
payi/types/shared/__init__.py,sha256
|
|
107
|
+
payi/types/requests/request_result.py,sha256=s4IABJFreIZBduybdaPJnAo8XjmOFQG_OsZjVdRZsQ8,1375
|
|
108
|
+
payi/types/shared/__init__.py,sha256=IuFHDMD-Y7NdONBGG3rr20-Qi214cVMvYwlrXAOS_r8,515
|
|
113
109
|
payi/types/shared/evaluation_response.py,sha256=ejEToMA57PUu1SldEtJ5z9r4fAO3U0tvdjbsyIoVX1s,214
|
|
114
110
|
payi/types/shared/pay_i_common_models_budget_management_cost_details_base.py,sha256=XmIzJXy4zAi-mfrDvEXiYjO3qF1EvugGUl-Gijj4TA4,268
|
|
115
|
-
payi
|
|
116
|
-
payi
|
|
117
|
-
payi
|
|
118
|
-
payi
|
|
111
|
+
payi/types/shared/pay_i_common_models_budget_management_create_limit_base.py,sha256=FDFCOvxG7Dep7oELqQATc_YWrRZ-Uh9WOpL2ZKPDQ6Q,482
|
|
112
|
+
payi/types/shared/properties_response.py,sha256=HpFNtxl_OjoMCs24xPVZLKe3FwCVcNkcRs0LsQKLrHM,259
|
|
113
|
+
payi/types/shared_params/__init__.py,sha256=zuMEcTUd0E-CVh7LdU2R5mPgBUOwiOpL85M0Ub8ikbQ,264
|
|
114
|
+
payi/types/shared_params/pay_i_common_models_budget_management_create_limit_base.py,sha256=8UXPHFrNDZfF5tgEeV0mIqevksNGEWayv2NJV5DY_Rg,497
|
|
115
|
+
payi/types/use_cases/__init__.py,sha256=N3RGsrLfdvVVfKcALBd_YAPBjf98KPJOrQ-BfGbZmXU,528
|
|
116
|
+
payi/types/use_cases/property_create_params.py,sha256=6v1L_4pj5N5k386cbtjSAWr2QJw---WUJ5lyshRnMwc,328
|
|
117
|
+
payi/types/use_cases/type_create_params.py,sha256=H-J6jal7S9B0KvRKrX5z4-T7_F82bMFv1u2X8iSiMeY,585
|
|
118
|
+
payi/types/use_cases/type_list_params.py,sha256=F_fzlPOm34jiy76h-2rSSOJmxFjBks4CG7Xu8dOACQI,288
|
|
119
|
+
payi/types/use_cases/type_list_response.py,sha256=Do62Cl8v7amSO5hfno37ktMlbV4smmd9MryGzxrqII4,272
|
|
120
|
+
payi/types/use_cases/type_update_params.py,sha256=PaR3fuObhIuKsiEo8BQyIoO1NU0PCrUvvNg006IlXnM,341
|
|
121
|
+
payi/types/use_cases/use_case_type.py,sha256=9nuB2Y_lAENlHZQlxpNbnylQ1Je2EvtZRXzKAfdzz-4,567
|
|
122
|
+
payi/types/use_cases/types/__init__.py,sha256=Uo_hbPae_AJi8UitkztBOl80AMRv7m-wH1eJlFC3Qnc,214
|
|
123
|
+
payi/types/use_cases/types/limit_config_create_params.py,sha256=pzQza_16N3z8cFNEKr6gPbFvuGFrwNuGxAYb--Kbo2M,449
|
|
124
|
+
payi-0.1.0a56.dist-info/METADATA,sha256=rEowhSMY413wtovhDh-uw25WTsGEQ8l2SJSiuGwaKvw,13035
|
|
125
|
+
payi-0.1.0a56.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
126
|
+
payi-0.1.0a56.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
|
|
127
|
+
payi-0.1.0a56.dist-info/RECORD,,
|
payi/types/billing_model.py
DELETED
|
@@ -1,31 +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
|
-
from typing_extensions import Literal
|
|
6
|
-
|
|
7
|
-
from .._models import BaseModel
|
|
8
|
-
|
|
9
|
-
__all__ = ["BillingModel"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class BillingModel(BaseModel):
|
|
13
|
-
billing_model_id: Optional[str] = None
|
|
14
|
-
|
|
15
|
-
created_on: datetime
|
|
16
|
-
|
|
17
|
-
default: bool
|
|
18
|
-
|
|
19
|
-
name: str
|
|
20
|
-
|
|
21
|
-
type: Literal["costplus", "subscription", "hybrid"]
|
|
22
|
-
|
|
23
|
-
updated_on: datetime
|
|
24
|
-
|
|
25
|
-
default_price_modifier: Optional[float] = None
|
|
26
|
-
|
|
27
|
-
prepaid_amount: Optional[float] = None
|
|
28
|
-
|
|
29
|
-
prepaid_max: Optional[float] = None
|
|
30
|
-
|
|
31
|
-
threshold: Optional[float] = None
|
|
@@ -1,22 +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 import Optional
|
|
6
|
-
from typing_extensions import Literal, Required, TypedDict
|
|
7
|
-
|
|
8
|
-
__all__ = ["BillingModelCreateParams"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class BillingModelCreateParams(TypedDict, total=False):
|
|
12
|
-
name: Required[str]
|
|
13
|
-
|
|
14
|
-
type: Required[Literal["costplus", "subscription", "hybrid"]]
|
|
15
|
-
|
|
16
|
-
default_price_modifier: Optional[float]
|
|
17
|
-
|
|
18
|
-
prepaid_amount: Optional[float]
|
|
19
|
-
|
|
20
|
-
prepaid_max: Optional[float]
|
|
21
|
-
|
|
22
|
-
threshold: Optional[float]
|
|
@@ -1,22 +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 import Optional
|
|
6
|
-
from typing_extensions import Literal, Required, TypedDict
|
|
7
|
-
|
|
8
|
-
__all__ = ["BillingModelUpdateParams"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class BillingModelUpdateParams(TypedDict, total=False):
|
|
12
|
-
type: Required[Literal["costplus", "subscription", "hybrid"]]
|
|
13
|
-
|
|
14
|
-
default_price_modifier: Optional[float]
|
|
15
|
-
|
|
16
|
-
name: Optional[str]
|
|
17
|
-
|
|
18
|
-
prepaid_amount: Optional[float]
|
|
19
|
-
|
|
20
|
-
prepaid_max: Optional[float]
|
|
21
|
-
|
|
22
|
-
threshold: Optional[float]
|