payi 0.1.0a25__py3-none-any.whl → 0.1.0a27__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 +13 -3
- payi/_client.py +24 -8
- payi/_response.py +3 -0
- payi/_version.py +1 -1
- payi/resources/__init__.py +42 -14
- payi/resources/billing_models.py +492 -0
- payi/resources/budgets/budgets.py +4 -4
- payi/resources/categories/resources.py +9 -9
- payi/resources/{evaluations/experiences.py → csat.py} +49 -49
- payi/resources/ingest.py +23 -11
- payi/resources/price_modifiers.py +353 -0
- payi/types/__init__.py +10 -1
- payi/types/billing_model.py +29 -0
- payi/types/billing_model_create_params.py +20 -0
- payi/types/billing_model_list_response.py +10 -0
- payi/types/billing_model_update_params.py +20 -0
- payi/types/budget_create_params.py +2 -2
- payi/types/budget_response.py +2 -2
- payi/types/bulk_ingest_response.py +7 -0
- payi/types/categories/resource_create_params.py +10 -4
- payi/types/category_resource_response.py +10 -4
- payi/types/cost_data.py +0 -1
- payi/types/{shared/evaluation_response.py → csat.py} +3 -4
- payi/types/csat_create_params.py +14 -0
- payi/types/experience_instance.py +0 -1
- payi/types/experiences/experience_type.py +0 -1
- payi/types/ingest_event_param.py +14 -6
- payi/types/ingest_response.py +7 -1
- payi/types/ingest_units_params.py +13 -6
- payi/types/paged_budget_list.py +2 -2
- payi/types/price_modifier.py +26 -0
- payi/types/price_modifier_create_params.py +17 -0
- payi/types/price_modifier_retrieve_response.py +10 -0
- payi/types/price_modifier_update_params.py +17 -0
- payi/types/requests_data.py +2 -1
- payi/types/shared/__init__.py +0 -1
- payi/types/total_cost_data.py +0 -1
- {payi-0.1.0a25.dist-info → payi-0.1.0a27.dist-info}/METADATA +5 -1
- {payi-0.1.0a25.dist-info → payi-0.1.0a27.dist-info}/RECORD +41 -33
- payi/resources/evaluations/__init__.py +0 -47
- payi/resources/evaluations/evaluations.py +0 -134
- payi/resources/evaluations/requests.py +0 -200
- {payi-0.1.0a25.dist-info → payi-0.1.0a27.dist-info}/WHEEL +0 -0
- {payi-0.1.0a25.dist-info → payi-0.1.0a27.dist-info}/licenses/LICENSE +0 -0
payi/types/ingest_event_param.py
CHANGED
|
@@ -2,30 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import List, Union, Optional
|
|
5
|
+
from typing import Dict, List, Union, Optional
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from typing_extensions import Required, Annotated, TypedDict
|
|
8
8
|
|
|
9
9
|
from .._utils import PropertyInfo
|
|
10
10
|
|
|
11
|
-
__all__ = ["IngestEventParam"]
|
|
11
|
+
__all__ = ["IngestEventParam", "Units"]
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
class
|
|
15
|
-
|
|
14
|
+
class Units(TypedDict, total=False):
|
|
15
|
+
input: int
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
output: int
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
class IngestEventParam(TypedDict, total=False):
|
|
21
|
+
category: Required[str]
|
|
20
22
|
|
|
21
23
|
resource: Required[str]
|
|
22
24
|
|
|
25
|
+
units: Required[Dict[str, Units]]
|
|
26
|
+
|
|
23
27
|
budget_ids: Optional[List[str]]
|
|
24
28
|
|
|
25
29
|
event_timestamp: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
|
|
26
30
|
|
|
27
31
|
experience_id: Optional[str]
|
|
28
32
|
|
|
33
|
+
experience_name: Optional[str]
|
|
34
|
+
|
|
35
|
+
provisioned_resource_name: Optional[str]
|
|
36
|
+
|
|
29
37
|
request_tags: Optional[List[str]]
|
|
30
38
|
|
|
31
39
|
user_id: Optional[str]
|
payi/types/ingest_response.py
CHANGED
|
@@ -11,7 +11,7 @@ __all__ = ["IngestResponse", "XproxyResult", "XproxyResultBudgets", "XproxyResul
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class XproxyResultBudgets(BaseModel):
|
|
14
|
-
state: Optional[Literal["ok", "blocked", "blocked_external", "exceeded", "failed"]] = None
|
|
14
|
+
state: Optional[Literal["ok", "blocked", "blocked_external", "exceeded", "overrun", "failed"]] = None
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class XproxyResultCost(BaseModel):
|
|
@@ -29,10 +29,16 @@ class XproxyResult(BaseModel):
|
|
|
29
29
|
|
|
30
30
|
cost: Optional[XproxyResultCost] = None
|
|
31
31
|
|
|
32
|
+
experience_id: Optional[str] = None
|
|
33
|
+
|
|
32
34
|
request_id: Optional[str] = None
|
|
33
35
|
|
|
34
36
|
request_tags: Optional[List[str]] = None
|
|
35
37
|
|
|
38
|
+
resource_id: Optional[str] = None
|
|
39
|
+
|
|
40
|
+
user_id: Optional[str] = None
|
|
41
|
+
|
|
36
42
|
|
|
37
43
|
class IngestResponse(BaseModel):
|
|
38
44
|
event_timestamp: datetime
|
|
@@ -2,30 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Union
|
|
5
|
+
from typing import Dict, Union, Optional
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from typing_extensions import Required, Annotated, TypedDict
|
|
8
8
|
|
|
9
9
|
from .._utils import PropertyInfo
|
|
10
10
|
|
|
11
|
-
__all__ = ["IngestUnitsParams"]
|
|
11
|
+
__all__ = ["IngestUnitsParams", "Units"]
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class IngestUnitsParams(TypedDict, total=False):
|
|
15
15
|
category: Required[str]
|
|
16
16
|
|
|
17
|
-
input: Required[int]
|
|
18
|
-
|
|
19
|
-
output: Required[int]
|
|
20
|
-
|
|
21
17
|
resource: Required[str]
|
|
22
18
|
|
|
19
|
+
units: Required[Dict[str, Units]]
|
|
20
|
+
|
|
23
21
|
event_timestamp: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")]
|
|
24
22
|
|
|
23
|
+
provisioned_resource_name: Optional[str]
|
|
24
|
+
|
|
25
25
|
budget_ids: Annotated[Union[list[str], None], PropertyInfo(alias="xProxy-Budget-IDs")]
|
|
26
26
|
|
|
27
27
|
request_tags: Annotated[Union[list[str], None], PropertyInfo(alias="xProxy-Request-Tags")]
|
|
28
28
|
|
|
29
|
+
experience_name: Annotated[Union[str, None], PropertyInfo(alias="xProxy-Experience-Name")]
|
|
30
|
+
|
|
29
31
|
experience_id: Annotated[Union[str, None], PropertyInfo(alias="xProxy-Experience-Id")]
|
|
30
32
|
|
|
31
33
|
user_id: Annotated[Union[str, None], PropertyInfo(alias="xProxy-User-ID")]
|
|
34
|
+
|
|
35
|
+
class Units(TypedDict, total=False):
|
|
36
|
+
input: int
|
|
37
|
+
|
|
38
|
+
output: int
|
payi/types/paged_budget_list.py
CHANGED
|
@@ -23,8 +23,6 @@ class Item(BaseModel):
|
|
|
23
23
|
|
|
24
24
|
budget_response_type: Literal["block", "allow"]
|
|
25
25
|
|
|
26
|
-
budget_type: Literal["conservative", "liberal"]
|
|
27
|
-
|
|
28
26
|
budget_update_timestamp: datetime
|
|
29
27
|
|
|
30
28
|
currency: Literal["usd"]
|
|
@@ -35,6 +33,8 @@ class Item(BaseModel):
|
|
|
35
33
|
|
|
36
34
|
budget_tags: Optional[List[str]] = None
|
|
37
35
|
|
|
36
|
+
threshold: Optional[float] = None
|
|
37
|
+
|
|
38
38
|
|
|
39
39
|
class PagedBudgetList(BaseModel):
|
|
40
40
|
current_page: Optional[int] = FieldInfo(alias="currentPage", default=None)
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
|
@@ -0,0 +1,17 @@
|
|
|
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]
|
|
@@ -0,0 +1,10 @@
|
|
|
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]
|
|
@@ -0,0 +1,17 @@
|
|
|
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]
|
payi/types/requests_data.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
from .._models import BaseModel
|
|
6
5
|
|
|
7
6
|
__all__ = ["RequestsData"]
|
|
@@ -18,4 +17,6 @@ class RequestsData(BaseModel):
|
|
|
18
17
|
|
|
19
18
|
ok: int
|
|
20
19
|
|
|
20
|
+
overrun: int
|
|
21
|
+
|
|
21
22
|
total: int
|
payi/types/shared/__init__.py
CHANGED
payi/types/total_cost_data.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: payi
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a27
|
|
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
|
|
@@ -370,3 +370,7 @@ print(payi.__version__)
|
|
|
370
370
|
## Requirements
|
|
371
371
|
|
|
372
372
|
Python 3.7 or higher.
|
|
373
|
+
|
|
374
|
+
## Contributing
|
|
375
|
+
|
|
376
|
+
See [the contributing documentation](https://github.com/Pay-i/pay-i-python/tree/main/./CONTRIBUTING.md).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
payi/__init__.py,sha256=LWpfR6WSMPTnmmx3ToqqZ0A8CNduLcuxY1SSOqhPxuk,2381
|
|
2
|
-
payi/_base_client.py,sha256=
|
|
3
|
-
payi/_client.py,sha256=
|
|
2
|
+
payi/_base_client.py,sha256=Jq9mZjEknHo-6ZANRPCQXVHTbbC4Hh7QLFv2jrNtGJ0,67842
|
|
3
|
+
payi/_client.py,sha256=ljPrM5gfpC2WHYmifPcdLIedJUuKD91GWcS49c3RE38,18472
|
|
4
4
|
payi/_compat.py,sha256=9CWnEaYK0kot7aSNW-m2W9xZb5giIdvKN9sWxvBbbSA,6488
|
|
5
5
|
payi/_constants.py,sha256=JE8kyZa2Q4NK_i4fO--8siEYTzeHnT0fYbOFDgDP4uk,464
|
|
6
6
|
payi/_exceptions.py,sha256=ItygKNrNXIVY0H6LsGVZvFuAHB3Vtm_VZXmWzCnpHy0,3216
|
|
@@ -8,10 +8,10 @@ payi/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
|
|
|
8
8
|
payi/_models.py,sha256=pXirq94yiihFXBbiR50vA-0NIlDurxbJ_rLXK062vWQ,28267
|
|
9
9
|
payi/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
|
10
10
|
payi/_resource.py,sha256=j2jIkTr8OIC8sU6-05nxSaCyj4MaFlbZrwlyg4_xJos,1088
|
|
11
|
-
payi/_response.py,sha256=
|
|
11
|
+
payi/_response.py,sha256=9ZpP3Agz-3ReY0RSJo7O7BAwD0UluwRsTSvljdTh1dg,28597
|
|
12
12
|
payi/_streaming.py,sha256=Z_wIyo206T6Jqh2rolFg2VXZgX24PahLmpURp0-NssU,10092
|
|
13
13
|
payi/_types.py,sha256=mb6zn5qmTK5j0QMh0fevdShT091HBL4w0YCUfQ3u5VY,6101
|
|
14
|
-
payi/_version.py,sha256=
|
|
14
|
+
payi/_version.py,sha256=hNxmK25K5CFd8y7EdjZnmmwT5sQZXdk3veswB1PvBOM,165
|
|
15
15
|
payi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
payi/_utils/__init__.py,sha256=Uzq1-FIih_VUjzdNVWXks0sdC39KBKLMrZoz-_JOjJ4,1988
|
|
17
17
|
payi/_utils/_logs.py,sha256=fmnf5D9TOgkgZKfgYmSa3PiUc3SZgkchn6CzJUeo0SQ,768
|
|
@@ -24,45 +24,54 @@ payi/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_LegGkY,3838
|
|
|
24
24
|
payi/_utils/_utils.py,sha256=tYrr7IX-5NMwsVKbNggbzOM84uNw7XnAe06e2Ln8Or0,11472
|
|
25
25
|
payi/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
26
26
|
payi/lib/helpers.py,sha256=JpI9vy--oJP5kUlcWK0yfyRUbIRMXkvLeUQC4g8rLNY,1472
|
|
27
|
-
payi/resources/__init__.py,sha256=
|
|
28
|
-
payi/resources/
|
|
27
|
+
payi/resources/__init__.py,sha256=cnFr2LhHLYehosTS7idW9lW_CrDwFClh-Wpgp9uHxh0,3553
|
|
28
|
+
payi/resources/billing_models.py,sha256=QOCR1PVOxpZlvwO_L_EJS_nQFJOfXHPdnli1P9BpHPU,19488
|
|
29
|
+
payi/resources/csat.py,sha256=56Sn2JM3xbc33J7xiC0Q0aLd5KuZK0ty_jxN-ZNPz7M,6526
|
|
30
|
+
payi/resources/ingest.py,sha256=mETi2sihDKDptJzdLo7AwAxVOREDRA-jAs7Mc6dC7pk,16105
|
|
31
|
+
payi/resources/price_modifiers.py,sha256=m9IX__C7_oPcZzGNpHJ2BsjMkGQ29JZrxLM1nFa8dL4,13483
|
|
29
32
|
payi/resources/budgets/__init__.py,sha256=w1UhOdDXtUH4A91ME5Tw2nr9bRvPJyJY1YWiVVy7jj0,989
|
|
30
|
-
payi/resources/budgets/budgets.py,sha256=
|
|
33
|
+
payi/resources/budgets/budgets.py,sha256=GCTSojdFjDdWuJM2lO_-QKktFhncaA84xPx5C-RI7ks,27456
|
|
31
34
|
payi/resources/budgets/tags.py,sha256=akVs7lGBb7O697lv-_nXT_xlh6dgQuaj6pWqTenO86s,18827
|
|
32
35
|
payi/resources/categories/__init__.py,sha256=w5gMiPdBSzJA_qfoVtFBElaoe8wGf_O63R7R1Spr6Gk,1093
|
|
33
36
|
payi/resources/categories/categories.py,sha256=dGsAX313gZlLy5pSRo5_TexD1rPeWU666yHNwiUEFBA,16082
|
|
34
|
-
payi/resources/categories/resources.py,sha256=
|
|
35
|
-
payi/resources/evaluations/__init__.py,sha256=Q0OueYOSwNEYDZVMVyRneDbw2Gf74qT9sUlojllfnU0,1608
|
|
36
|
-
payi/resources/evaluations/evaluations.py,sha256=158wKYWTkNriyTgl8JfbFlbLZuYKJEFQKJLTFd3eL5c,5055
|
|
37
|
-
payi/resources/evaluations/experiences.py,sha256=glKJ_YVj1HabwKxgf-vuXjK7MZ4m7ZGwZo7mHroZ8Os,6926
|
|
38
|
-
payi/resources/evaluations/requests.py,sha256=MidR2eKMBdPtsCXTYqj3or1UEfpTvuIkbC2lbufqWGI,7067
|
|
37
|
+
payi/resources/categories/resources.py,sha256=I38bjAvpsLg4LRwJEvnKX3yyr_ErTxkkv12y19sYd7E,18712
|
|
39
38
|
payi/resources/experiences/__init__.py,sha256=gguTTCoGlAWDyrDJh1CtZwIVsyBbzERX63vRtFtjxjI,1054
|
|
40
39
|
payi/resources/experiences/experiences.py,sha256=fdWaZox-WRCGwo8CJLsQFYVE8bf-yn7lFDO_dtwpyFQ,13264
|
|
41
40
|
payi/resources/experiences/types.py,sha256=QuNX3B7mtUNuxREn9tOGNRRI0dEfiDX2fvLp6mIL7dQ,18679
|
|
42
|
-
payi/types/__init__.py,sha256=
|
|
43
|
-
payi/types/
|
|
41
|
+
payi/types/__init__.py,sha256=U-QUsH_PYmS3gRyxADTjcj_yWAIchziTeOqT-b2Oe-A,2603
|
|
42
|
+
payi/types/billing_model.py,sha256=KXx2FlyeRJ9CLdtCufxehSrCT-h0X4msvM2hAKsCvxg,561
|
|
43
|
+
payi/types/billing_model_create_params.py,sha256=3AjATUFt_ZEBJqAwHKnpo3i0OqQLMCVpZlXOcCunAsk,476
|
|
44
|
+
payi/types/billing_model_list_response.py,sha256=hOFjJPQAKiWEArZeZwd8e1lDi5e41zbN6NvV_1rzJeM,290
|
|
45
|
+
payi/types/billing_model_update_params.py,sha256=x-r3EyBFovv4TgDqavsc9Jcz4XiGBZG3x9F-lVX5DMo,476
|
|
46
|
+
payi/types/budget_create_params.py,sha256=MDXUCZFK9SZHUTkB9OrQ8SeF1Xu7gmivuYSbcN9X-3w,632
|
|
44
47
|
payi/types/budget_history_response.py,sha256=4SnisCLr1HImVecgonZK7HIm9WTmYl0YMaTbMP70qZY,934
|
|
45
48
|
payi/types/budget_list_params.py,sha256=KaJ0H4tfp6mpCyanpysVJBTAMa5aA2Kv73uO_EsBsKE,367
|
|
46
|
-
payi/types/budget_response.py,sha256=
|
|
49
|
+
payi/types/budget_response.py,sha256=Zh8rC7fNaN7lIfGB-cF911x1lL9wU0L161FjuFve6Qc,813
|
|
47
50
|
payi/types/budget_update_params.py,sha256=foD5cPa1p2M2cpVUqlwkXwSEQlQcBLaigUQMUGkvcic,334
|
|
48
|
-
payi/types/bulk_ingest_response.py,sha256=
|
|
51
|
+
payi/types/bulk_ingest_response.py,sha256=78J3vlL7muZx9Z20H--UkvM8P19g0cDL9SZoHy7XM68,1330
|
|
49
52
|
payi/types/category_delete_resource_response.py,sha256=PLz4wZA1XMpS9SUYB_j4hEw5EoZ0VVE9Ll-MQ26SAfc,339
|
|
50
53
|
payi/types/category_delete_response.py,sha256=exq8rNDGoq2-YN528V8osdcmuptJ-k63rmCvPMm6hLA,323
|
|
51
54
|
payi/types/category_list_resources_response.py,sha256=n0DxY7N3Iftwfl0lUEx5v55V0kxbOX0EgjXlEfJtYRQ,337
|
|
52
55
|
payi/types/category_list_response.py,sha256=5i7BhQ7kVlx8_r2MLJqAJwIELGitKE0uR63kIloLATI,294
|
|
53
|
-
payi/types/category_resource_response.py,sha256=
|
|
56
|
+
payi/types/category_resource_response.py,sha256=4PfQZbOIMOlE701uXGU-qegZOH8DN1VYcSClhfe_GOA,601
|
|
54
57
|
payi/types/category_response.py,sha256=43i8bii20Sb-z9R5M1Ia6RGfRZmdQqsWPlv4Bl1XQf0,293
|
|
55
|
-
payi/types/cost_data.py,sha256=
|
|
58
|
+
payi/types/cost_data.py,sha256=PDmleZu-HKKOIh_EZ5EgWvpGiTUSJQadsxedWhFVgEI,283
|
|
56
59
|
payi/types/cost_details.py,sha256=3ldvnYILAG6Sz9wGWMs1SZvIfdGEbn5i4-CauWEXMPA,265
|
|
60
|
+
payi/types/csat.py,sha256=q-RdlcEJQpyWCdEJw7s-ntAeaY1SgLyMflehZ01CDFU,185
|
|
61
|
+
payi/types/csat_create_params.py,sha256=YK2M8yuqkZ7p-Z5S_6nSOeALX0Ox6QI8xiA2AzZ9vJI,342
|
|
57
62
|
payi/types/default_response.py,sha256=o617LpRsCIZHCZxAc5nVI2JQ3HPGZo4gCDvSDkxkIJ8,270
|
|
58
|
-
payi/types/experience_instance.py,sha256=
|
|
63
|
+
payi/types/experience_instance.py,sha256=l-y2oD91l5t9mDYkgz8UR_Sx6JcjLVBRYjxflaJhzCY,237
|
|
59
64
|
payi/types/ingest_bulk_params.py,sha256=aIsugHkiAe_DnGQ8JVpDUDYr1YNzR5cUY9mMPqusIP0,381
|
|
60
|
-
payi/types/ingest_event_param.py,sha256=
|
|
61
|
-
payi/types/ingest_response.py,sha256=
|
|
62
|
-
payi/types/ingest_units_params.py,sha256=
|
|
63
|
-
payi/types/paged_budget_list.py,sha256=
|
|
64
|
-
payi/types/
|
|
65
|
-
payi/types/
|
|
65
|
+
payi/types/ingest_event_param.py,sha256=UzGSJUQCl6B2_UaSg-F-bc5nxbpnD8Wc1Idl38R8Mvo,866
|
|
66
|
+
payi/types/ingest_response.py,sha256=Ug83Sfl-3tELRh5rWFclOZYgsZBkvCjUXJXrp1J5Uac,1197
|
|
67
|
+
payi/types/ingest_units_params.py,sha256=vOos7NhlcAy7s11wTgOR4B5gDy5Kau2-gzRoaivP0Ho,1143
|
|
68
|
+
payi/types/paged_budget_list.py,sha256=WGX0c6QGyTwjhsgkABsvXXRaBFPLVg6gPbph_qtVmJg,1371
|
|
69
|
+
payi/types/price_modifier.py,sha256=Sw_5tzCGnpjQzR5aZ70_ATpfBRQA_0ue2NRM3yMcvj0,531
|
|
70
|
+
payi/types/price_modifier_create_params.py,sha256=RpcYr2JYFu-pxzY4Dx1ESMp9-FBHfKt03Iw-3tlZvXQ,404
|
|
71
|
+
payi/types/price_modifier_retrieve_response.py,sha256=oFXWr38-O7KHItQlSsr7K8-Arpjq0yKexSUnbWqu62Q,303
|
|
72
|
+
payi/types/price_modifier_update_params.py,sha256=lqZW1J5akLSNv-6i4dGPCqwe1p3d7rM8JzzQ4Hofsbo,404
|
|
73
|
+
payi/types/requests_data.py,sha256=sGhAykQ5lh8iEwYfIsDRO5Tso139N8nlmQUL9hg3YSQ,308
|
|
74
|
+
payi/types/total_cost_data.py,sha256=FGh5XO5DwAIqkdmW9umyrJ7uD7U0w6CLDimzhP34Dmc,302
|
|
66
75
|
payi/types/budgets/__init__.py,sha256=5ByVuqOcgSYLHmGzhuj6-HG48mtQhC6oT5U5tNjQtxk,725
|
|
67
76
|
payi/types/budgets/budget_tags.py,sha256=nOYMf7YgRdTZgGdedJw0UbQ2uupCq9MHlevLJoXxWB4,348
|
|
68
77
|
payi/types/budgets/tag_create_params.py,sha256=_zEYfH2uKF44WenAdedx4TB9Az6RbIoAUMwqW8SAiuc,314
|
|
@@ -74,20 +83,19 @@ payi/types/budgets/tag_remove_response.py,sha256=v7ysGVZ-54dKurvMA-3ySKco4LgTz3M
|
|
|
74
83
|
payi/types/budgets/tag_update_params.py,sha256=bWWeDqfySt7CZ6HDsZzENREOWGWGWFgnAtyleNMwUsE,314
|
|
75
84
|
payi/types/budgets/tag_update_response.py,sha256=0L-0k2pGw9GndpwArjKhHwOOJgOTOTY4mM7ukUM3Pwc,270
|
|
76
85
|
payi/types/categories/__init__.py,sha256=HQScxfK3F_J9HYbphrhG6bYb7S6vtrwafLViar5pHcM,285
|
|
77
|
-
payi/types/categories/resource_create_params.py,sha256=
|
|
86
|
+
payi/types/categories/resource_create_params.py,sha256=jEXNx_FvWA9D5170Gwf_YUcuAOaDq0RIGaGgPSEsheA,725
|
|
78
87
|
payi/types/categories/resource_list_response.py,sha256=ODMelDlXvYcwxBsJwTX8miofywUY_JB0OvsFVCKJunU,320
|
|
79
88
|
payi/types/evaluations/__init__.py,sha256=crWSnR2SwRTTp1nadR_i_dfpGCv4dTPuBh_sMoss0tQ,288
|
|
80
89
|
payi/types/evaluations/experience_create_params.py,sha256=3leYJN4FHKJbTeym_uPlvX0vSqD8G8Lr8iPV8BwM5gw,353
|
|
81
90
|
payi/types/evaluations/request_create_params.py,sha256=OPV7ff1fGgi6FbUzndN4j5omqFcCUaRzblHLxDsoQaI,347
|
|
82
91
|
payi/types/experiences/__init__.py,sha256=8gAwTPOFwf87LFLyCwmDek2cIb2DHJYyI4Ymqoz6X1o,455
|
|
83
|
-
payi/types/experiences/experience_type.py,sha256=
|
|
92
|
+
payi/types/experiences/experience_type.py,sha256=UoFekiOnkBZ5kqIHcBa8YE9T7uxwp-gLp3QGgxAxOoc,243
|
|
84
93
|
payi/types/experiences/type_create_params.py,sha256=8dNpffodzeD5vm3s6UJrZVOG7YsiTkXo7viDnoEoCZY,311
|
|
85
94
|
payi/types/experiences/type_list_params.py,sha256=VDZjHmK2tNAW_YLewcIzM-OG13iI2v-xCykokxkcgbs,286
|
|
86
95
|
payi/types/experiences/type_list_response.py,sha256=DgkPLw40oUqBETLePVMVenstMsGG12rZRU9w6kgQN28,280
|
|
87
96
|
payi/types/experiences/type_update_params.py,sha256=SOHb1GQiHktLB6YtEzdPllDDowS3FCfQqVWSmf0pD8Q,286
|
|
88
|
-
payi/types/shared/__init__.py,sha256=
|
|
89
|
-
payi/
|
|
90
|
-
payi-0.1.
|
|
91
|
-
payi-0.1.
|
|
92
|
-
payi-0.1.
|
|
93
|
-
payi-0.1.0a25.dist-info/RECORD,,
|
|
97
|
+
payi/types/shared/__init__.py,sha256=3y7YS-bs2g4eULmnsGcuBLsTZX1fg_05Ab5PdL1vEns,87
|
|
98
|
+
payi-0.1.0a27.dist-info/METADATA,sha256=EREhH6xd4VVwlug7IPVFcF8ba4gwSPWdqGNAd0jat4I,12447
|
|
99
|
+
payi-0.1.0a27.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
100
|
+
payi-0.1.0a27.dist-info/licenses/LICENSE,sha256=8vX1pjh3esb6D5DvXAf6NxiBcVyon8aHWNJCxmmHXeY,11334
|
|
101
|
+
payi-0.1.0a27.dist-info/RECORD,,
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from .requests import (
|
|
4
|
-
RequestsResource,
|
|
5
|
-
AsyncRequestsResource,
|
|
6
|
-
RequestsResourceWithRawResponse,
|
|
7
|
-
AsyncRequestsResourceWithRawResponse,
|
|
8
|
-
RequestsResourceWithStreamingResponse,
|
|
9
|
-
AsyncRequestsResourceWithStreamingResponse,
|
|
10
|
-
)
|
|
11
|
-
from .evaluations import (
|
|
12
|
-
EvaluationsResource,
|
|
13
|
-
AsyncEvaluationsResource,
|
|
14
|
-
EvaluationsResourceWithRawResponse,
|
|
15
|
-
AsyncEvaluationsResourceWithRawResponse,
|
|
16
|
-
EvaluationsResourceWithStreamingResponse,
|
|
17
|
-
AsyncEvaluationsResourceWithStreamingResponse,
|
|
18
|
-
)
|
|
19
|
-
from .experiences import (
|
|
20
|
-
ExperiencesResource,
|
|
21
|
-
AsyncExperiencesResource,
|
|
22
|
-
ExperiencesResourceWithRawResponse,
|
|
23
|
-
AsyncExperiencesResourceWithRawResponse,
|
|
24
|
-
ExperiencesResourceWithStreamingResponse,
|
|
25
|
-
AsyncExperiencesResourceWithStreamingResponse,
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
__all__ = [
|
|
29
|
-
"ExperiencesResource",
|
|
30
|
-
"AsyncExperiencesResource",
|
|
31
|
-
"ExperiencesResourceWithRawResponse",
|
|
32
|
-
"AsyncExperiencesResourceWithRawResponse",
|
|
33
|
-
"ExperiencesResourceWithStreamingResponse",
|
|
34
|
-
"AsyncExperiencesResourceWithStreamingResponse",
|
|
35
|
-
"RequestsResource",
|
|
36
|
-
"AsyncRequestsResource",
|
|
37
|
-
"RequestsResourceWithRawResponse",
|
|
38
|
-
"AsyncRequestsResourceWithRawResponse",
|
|
39
|
-
"RequestsResourceWithStreamingResponse",
|
|
40
|
-
"AsyncRequestsResourceWithStreamingResponse",
|
|
41
|
-
"EvaluationsResource",
|
|
42
|
-
"AsyncEvaluationsResource",
|
|
43
|
-
"EvaluationsResourceWithRawResponse",
|
|
44
|
-
"AsyncEvaluationsResourceWithRawResponse",
|
|
45
|
-
"EvaluationsResourceWithStreamingResponse",
|
|
46
|
-
"AsyncEvaluationsResourceWithStreamingResponse",
|
|
47
|
-
]
|
|
@@ -1,134 +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 .requests import (
|
|
6
|
-
RequestsResource,
|
|
7
|
-
AsyncRequestsResource,
|
|
8
|
-
RequestsResourceWithRawResponse,
|
|
9
|
-
AsyncRequestsResourceWithRawResponse,
|
|
10
|
-
RequestsResourceWithStreamingResponse,
|
|
11
|
-
AsyncRequestsResourceWithStreamingResponse,
|
|
12
|
-
)
|
|
13
|
-
from ..._compat import cached_property
|
|
14
|
-
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
-
from .experiences import (
|
|
16
|
-
ExperiencesResource,
|
|
17
|
-
AsyncExperiencesResource,
|
|
18
|
-
ExperiencesResourceWithRawResponse,
|
|
19
|
-
AsyncExperiencesResourceWithRawResponse,
|
|
20
|
-
ExperiencesResourceWithStreamingResponse,
|
|
21
|
-
AsyncExperiencesResourceWithStreamingResponse,
|
|
22
|
-
)
|
|
23
|
-
|
|
24
|
-
__all__ = ["EvaluationsResource", "AsyncEvaluationsResource"]
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class EvaluationsResource(SyncAPIResource):
|
|
28
|
-
@cached_property
|
|
29
|
-
def experiences(self) -> ExperiencesResource:
|
|
30
|
-
return ExperiencesResource(self._client)
|
|
31
|
-
|
|
32
|
-
@cached_property
|
|
33
|
-
def requests(self) -> RequestsResource:
|
|
34
|
-
return RequestsResource(self._client)
|
|
35
|
-
|
|
36
|
-
@cached_property
|
|
37
|
-
def with_raw_response(self) -> EvaluationsResourceWithRawResponse:
|
|
38
|
-
"""
|
|
39
|
-
This property can be used as a prefix for any HTTP method call to return the
|
|
40
|
-
the raw response object instead of the parsed content.
|
|
41
|
-
|
|
42
|
-
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
43
|
-
"""
|
|
44
|
-
return EvaluationsResourceWithRawResponse(self)
|
|
45
|
-
|
|
46
|
-
@cached_property
|
|
47
|
-
def with_streaming_response(self) -> EvaluationsResourceWithStreamingResponse:
|
|
48
|
-
"""
|
|
49
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
50
|
-
|
|
51
|
-
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
52
|
-
"""
|
|
53
|
-
return EvaluationsResourceWithStreamingResponse(self)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
class AsyncEvaluationsResource(AsyncAPIResource):
|
|
57
|
-
@cached_property
|
|
58
|
-
def experiences(self) -> AsyncExperiencesResource:
|
|
59
|
-
return AsyncExperiencesResource(self._client)
|
|
60
|
-
|
|
61
|
-
@cached_property
|
|
62
|
-
def requests(self) -> AsyncRequestsResource:
|
|
63
|
-
return AsyncRequestsResource(self._client)
|
|
64
|
-
|
|
65
|
-
@cached_property
|
|
66
|
-
def with_raw_response(self) -> AsyncEvaluationsResourceWithRawResponse:
|
|
67
|
-
"""
|
|
68
|
-
This property can be used as a prefix for any HTTP method call to return the
|
|
69
|
-
the raw response object instead of the parsed content.
|
|
70
|
-
|
|
71
|
-
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
72
|
-
"""
|
|
73
|
-
return AsyncEvaluationsResourceWithRawResponse(self)
|
|
74
|
-
|
|
75
|
-
@cached_property
|
|
76
|
-
def with_streaming_response(self) -> AsyncEvaluationsResourceWithStreamingResponse:
|
|
77
|
-
"""
|
|
78
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
79
|
-
|
|
80
|
-
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
81
|
-
"""
|
|
82
|
-
return AsyncEvaluationsResourceWithStreamingResponse(self)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
class EvaluationsResourceWithRawResponse:
|
|
86
|
-
def __init__(self, evaluations: EvaluationsResource) -> None:
|
|
87
|
-
self._evaluations = evaluations
|
|
88
|
-
|
|
89
|
-
@cached_property
|
|
90
|
-
def experiences(self) -> ExperiencesResourceWithRawResponse:
|
|
91
|
-
return ExperiencesResourceWithRawResponse(self._evaluations.experiences)
|
|
92
|
-
|
|
93
|
-
@cached_property
|
|
94
|
-
def requests(self) -> RequestsResourceWithRawResponse:
|
|
95
|
-
return RequestsResourceWithRawResponse(self._evaluations.requests)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
class AsyncEvaluationsResourceWithRawResponse:
|
|
99
|
-
def __init__(self, evaluations: AsyncEvaluationsResource) -> None:
|
|
100
|
-
self._evaluations = evaluations
|
|
101
|
-
|
|
102
|
-
@cached_property
|
|
103
|
-
def experiences(self) -> AsyncExperiencesResourceWithRawResponse:
|
|
104
|
-
return AsyncExperiencesResourceWithRawResponse(self._evaluations.experiences)
|
|
105
|
-
|
|
106
|
-
@cached_property
|
|
107
|
-
def requests(self) -> AsyncRequestsResourceWithRawResponse:
|
|
108
|
-
return AsyncRequestsResourceWithRawResponse(self._evaluations.requests)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
class EvaluationsResourceWithStreamingResponse:
|
|
112
|
-
def __init__(self, evaluations: EvaluationsResource) -> None:
|
|
113
|
-
self._evaluations = evaluations
|
|
114
|
-
|
|
115
|
-
@cached_property
|
|
116
|
-
def experiences(self) -> ExperiencesResourceWithStreamingResponse:
|
|
117
|
-
return ExperiencesResourceWithStreamingResponse(self._evaluations.experiences)
|
|
118
|
-
|
|
119
|
-
@cached_property
|
|
120
|
-
def requests(self) -> RequestsResourceWithStreamingResponse:
|
|
121
|
-
return RequestsResourceWithStreamingResponse(self._evaluations.requests)
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
class AsyncEvaluationsResourceWithStreamingResponse:
|
|
125
|
-
def __init__(self, evaluations: AsyncEvaluationsResource) -> None:
|
|
126
|
-
self._evaluations = evaluations
|
|
127
|
-
|
|
128
|
-
@cached_property
|
|
129
|
-
def experiences(self) -> AsyncExperiencesResourceWithStreamingResponse:
|
|
130
|
-
return AsyncExperiencesResourceWithStreamingResponse(self._evaluations.experiences)
|
|
131
|
-
|
|
132
|
-
@cached_property
|
|
133
|
-
def requests(self) -> AsyncRequestsResourceWithStreamingResponse:
|
|
134
|
-
return AsyncRequestsResourceWithStreamingResponse(self._evaluations.requests)
|