payi 0.1.0a30__py3-none-any.whl → 0.1.0a31__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/_client.py +8 -8
- payi/_version.py +1 -1
- payi/resources/__init__.py +14 -14
- payi/resources/billing_models.py +4 -4
- payi/resources/experiences/__init__.py +28 -0
- payi/resources/{csat.py → experiences/csat.py} +16 -16
- payi/resources/experiences/experiences.py +77 -13
- payi/resources/experiences/properties.py +174 -0
- payi/resources/requests/__init__.py +33 -0
- payi/resources/requests/properties.py +174 -0
- payi/resources/requests/requests.py +102 -0
- payi/types/__init__.py +1 -3
- payi/types/billing_model.py +1 -1
- payi/types/billing_model_create_params.py +1 -1
- payi/types/billing_model_update_params.py +1 -1
- payi/types/{experience_instance.py → experience_instance_response.py} +5 -2
- payi/types/experiences/__init__.py +4 -0
- payi/types/{csat.py → experiences/csat_response.py} +3 -3
- payi/types/experiences/properties_response.py +11 -0
- payi/types/experiences/property_create_params.py +12 -0
- payi/types/requests/__init__.py +5 -0
- payi/types/requests/property_create_params.py +12 -0
- {payi-0.1.0a30.dist-info → payi-0.1.0a31.dist-info}/METADATA +1 -1
- {payi-0.1.0a30.dist-info → payi-0.1.0a31.dist-info}/RECORD +27 -19
- /payi/types/{csat_create_params.py → experiences/csat_create_params.py} +0 -0
- {payi-0.1.0a30.dist-info → payi-0.1.0a31.dist-info}/WHEEL +0 -0
- {payi-0.1.0a30.dist-info → payi-0.1.0a31.dist-info}/licenses/LICENSE +0 -0
payi/_client.py
CHANGED
|
@@ -50,9 +50,9 @@ class Payi(SyncAPIClient):
|
|
|
50
50
|
ingest: resources.IngestResource
|
|
51
51
|
categories: resources.CategoriesResource
|
|
52
52
|
experiences: resources.ExperiencesResource
|
|
53
|
-
csat: resources.CsatResource
|
|
54
53
|
billing_models: resources.BillingModelsResource
|
|
55
54
|
price_modifiers: resources.PriceModifiersResource
|
|
55
|
+
requests: resources.RequestsResource
|
|
56
56
|
with_raw_response: PayiWithRawResponse
|
|
57
57
|
with_streaming_response: PayiWithStreamedResponse
|
|
58
58
|
|
|
@@ -114,9 +114,9 @@ class Payi(SyncAPIClient):
|
|
|
114
114
|
self.ingest = resources.IngestResource(self)
|
|
115
115
|
self.categories = resources.CategoriesResource(self)
|
|
116
116
|
self.experiences = resources.ExperiencesResource(self)
|
|
117
|
-
self.csat = resources.CsatResource(self)
|
|
118
117
|
self.billing_models = resources.BillingModelsResource(self)
|
|
119
118
|
self.price_modifiers = resources.PriceModifiersResource(self)
|
|
119
|
+
self.requests = resources.RequestsResource(self)
|
|
120
120
|
self.with_raw_response = PayiWithRawResponse(self)
|
|
121
121
|
self.with_streaming_response = PayiWithStreamedResponse(self)
|
|
122
122
|
|
|
@@ -230,9 +230,9 @@ class AsyncPayi(AsyncAPIClient):
|
|
|
230
230
|
ingest: resources.AsyncIngestResource
|
|
231
231
|
categories: resources.AsyncCategoriesResource
|
|
232
232
|
experiences: resources.AsyncExperiencesResource
|
|
233
|
-
csat: resources.AsyncCsatResource
|
|
234
233
|
billing_models: resources.AsyncBillingModelsResource
|
|
235
234
|
price_modifiers: resources.AsyncPriceModifiersResource
|
|
235
|
+
requests: resources.AsyncRequestsResource
|
|
236
236
|
with_raw_response: AsyncPayiWithRawResponse
|
|
237
237
|
with_streaming_response: AsyncPayiWithStreamedResponse
|
|
238
238
|
|
|
@@ -294,9 +294,9 @@ class AsyncPayi(AsyncAPIClient):
|
|
|
294
294
|
self.ingest = resources.AsyncIngestResource(self)
|
|
295
295
|
self.categories = resources.AsyncCategoriesResource(self)
|
|
296
296
|
self.experiences = resources.AsyncExperiencesResource(self)
|
|
297
|
-
self.csat = resources.AsyncCsatResource(self)
|
|
298
297
|
self.billing_models = resources.AsyncBillingModelsResource(self)
|
|
299
298
|
self.price_modifiers = resources.AsyncPriceModifiersResource(self)
|
|
299
|
+
self.requests = resources.AsyncRequestsResource(self)
|
|
300
300
|
self.with_raw_response = AsyncPayiWithRawResponse(self)
|
|
301
301
|
self.with_streaming_response = AsyncPayiWithStreamedResponse(self)
|
|
302
302
|
|
|
@@ -411,9 +411,9 @@ class PayiWithRawResponse:
|
|
|
411
411
|
self.ingest = resources.IngestResourceWithRawResponse(client.ingest)
|
|
412
412
|
self.categories = resources.CategoriesResourceWithRawResponse(client.categories)
|
|
413
413
|
self.experiences = resources.ExperiencesResourceWithRawResponse(client.experiences)
|
|
414
|
-
self.csat = resources.CsatResourceWithRawResponse(client.csat)
|
|
415
414
|
self.billing_models = resources.BillingModelsResourceWithRawResponse(client.billing_models)
|
|
416
415
|
self.price_modifiers = resources.PriceModifiersResourceWithRawResponse(client.price_modifiers)
|
|
416
|
+
self.requests = resources.RequestsResourceWithRawResponse(client.requests)
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
class AsyncPayiWithRawResponse:
|
|
@@ -422,9 +422,9 @@ class AsyncPayiWithRawResponse:
|
|
|
422
422
|
self.ingest = resources.AsyncIngestResourceWithRawResponse(client.ingest)
|
|
423
423
|
self.categories = resources.AsyncCategoriesResourceWithRawResponse(client.categories)
|
|
424
424
|
self.experiences = resources.AsyncExperiencesResourceWithRawResponse(client.experiences)
|
|
425
|
-
self.csat = resources.AsyncCsatResourceWithRawResponse(client.csat)
|
|
426
425
|
self.billing_models = resources.AsyncBillingModelsResourceWithRawResponse(client.billing_models)
|
|
427
426
|
self.price_modifiers = resources.AsyncPriceModifiersResourceWithRawResponse(client.price_modifiers)
|
|
427
|
+
self.requests = resources.AsyncRequestsResourceWithRawResponse(client.requests)
|
|
428
428
|
|
|
429
429
|
|
|
430
430
|
class PayiWithStreamedResponse:
|
|
@@ -433,9 +433,9 @@ class PayiWithStreamedResponse:
|
|
|
433
433
|
self.ingest = resources.IngestResourceWithStreamingResponse(client.ingest)
|
|
434
434
|
self.categories = resources.CategoriesResourceWithStreamingResponse(client.categories)
|
|
435
435
|
self.experiences = resources.ExperiencesResourceWithStreamingResponse(client.experiences)
|
|
436
|
-
self.csat = resources.CsatResourceWithStreamingResponse(client.csat)
|
|
437
436
|
self.billing_models = resources.BillingModelsResourceWithStreamingResponse(client.billing_models)
|
|
438
437
|
self.price_modifiers = resources.PriceModifiersResourceWithStreamingResponse(client.price_modifiers)
|
|
438
|
+
self.requests = resources.RequestsResourceWithStreamingResponse(client.requests)
|
|
439
439
|
|
|
440
440
|
|
|
441
441
|
class AsyncPayiWithStreamedResponse:
|
|
@@ -444,9 +444,9 @@ class AsyncPayiWithStreamedResponse:
|
|
|
444
444
|
self.ingest = resources.AsyncIngestResourceWithStreamingResponse(client.ingest)
|
|
445
445
|
self.categories = resources.AsyncCategoriesResourceWithStreamingResponse(client.categories)
|
|
446
446
|
self.experiences = resources.AsyncExperiencesResourceWithStreamingResponse(client.experiences)
|
|
447
|
-
self.csat = resources.AsyncCsatResourceWithStreamingResponse(client.csat)
|
|
448
447
|
self.billing_models = resources.AsyncBillingModelsResourceWithStreamingResponse(client.billing_models)
|
|
449
448
|
self.price_modifiers = resources.AsyncPriceModifiersResourceWithStreamingResponse(client.price_modifiers)
|
|
449
|
+
self.requests = resources.AsyncRequestsResourceWithStreamingResponse(client.requests)
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
Client = Payi
|
payi/_version.py
CHANGED
payi/resources/__init__.py
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
from .csat import (
|
|
4
|
-
CsatResource,
|
|
5
|
-
AsyncCsatResource,
|
|
6
|
-
CsatResourceWithRawResponse,
|
|
7
|
-
AsyncCsatResourceWithRawResponse,
|
|
8
|
-
CsatResourceWithStreamingResponse,
|
|
9
|
-
AsyncCsatResourceWithStreamingResponse,
|
|
10
|
-
)
|
|
11
3
|
from .ingest import (
|
|
12
4
|
IngestResource,
|
|
13
5
|
AsyncIngestResource,
|
|
@@ -24,6 +16,14 @@ from .budgets import (
|
|
|
24
16
|
BudgetsResourceWithStreamingResponse,
|
|
25
17
|
AsyncBudgetsResourceWithStreamingResponse,
|
|
26
18
|
)
|
|
19
|
+
from .requests import (
|
|
20
|
+
RequestsResource,
|
|
21
|
+
AsyncRequestsResource,
|
|
22
|
+
RequestsResourceWithRawResponse,
|
|
23
|
+
AsyncRequestsResourceWithRawResponse,
|
|
24
|
+
RequestsResourceWithStreamingResponse,
|
|
25
|
+
AsyncRequestsResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
27
27
|
from .categories import (
|
|
28
28
|
CategoriesResource,
|
|
29
29
|
AsyncCategoriesResource,
|
|
@@ -82,12 +82,6 @@ __all__ = [
|
|
|
82
82
|
"AsyncExperiencesResourceWithRawResponse",
|
|
83
83
|
"ExperiencesResourceWithStreamingResponse",
|
|
84
84
|
"AsyncExperiencesResourceWithStreamingResponse",
|
|
85
|
-
"CsatResource",
|
|
86
|
-
"AsyncCsatResource",
|
|
87
|
-
"CsatResourceWithRawResponse",
|
|
88
|
-
"AsyncCsatResourceWithRawResponse",
|
|
89
|
-
"CsatResourceWithStreamingResponse",
|
|
90
|
-
"AsyncCsatResourceWithStreamingResponse",
|
|
91
85
|
"BillingModelsResource",
|
|
92
86
|
"AsyncBillingModelsResource",
|
|
93
87
|
"BillingModelsResourceWithRawResponse",
|
|
@@ -100,4 +94,10 @@ __all__ = [
|
|
|
100
94
|
"AsyncPriceModifiersResourceWithRawResponse",
|
|
101
95
|
"PriceModifiersResourceWithStreamingResponse",
|
|
102
96
|
"AsyncPriceModifiersResourceWithStreamingResponse",
|
|
97
|
+
"RequestsResource",
|
|
98
|
+
"AsyncRequestsResource",
|
|
99
|
+
"RequestsResourceWithRawResponse",
|
|
100
|
+
"AsyncRequestsResourceWithRawResponse",
|
|
101
|
+
"RequestsResourceWithStreamingResponse",
|
|
102
|
+
"AsyncRequestsResourceWithStreamingResponse",
|
|
103
103
|
]
|
payi/resources/billing_models.py
CHANGED
|
@@ -52,7 +52,7 @@ class BillingModelsResource(SyncAPIResource):
|
|
|
52
52
|
self,
|
|
53
53
|
*,
|
|
54
54
|
name: str,
|
|
55
|
-
type: Literal["costplus"],
|
|
55
|
+
type: Literal["invalid", "costplus", "subscription", "hybrid"],
|
|
56
56
|
default_price_modifier: Optional[float] | NotGiven = NOT_GIVEN,
|
|
57
57
|
prepaid_amount: Optional[float] | NotGiven = NOT_GIVEN,
|
|
58
58
|
prepaid_max: Optional[float] | NotGiven = NOT_GIVEN,
|
|
@@ -128,7 +128,7 @@ class BillingModelsResource(SyncAPIResource):
|
|
|
128
128
|
self,
|
|
129
129
|
billing_model_id: str,
|
|
130
130
|
*,
|
|
131
|
-
type: Literal["costplus"],
|
|
131
|
+
type: Literal["invalid", "costplus", "subscription", "hybrid"],
|
|
132
132
|
default_price_modifier: Optional[float] | NotGiven = NOT_GIVEN,
|
|
133
133
|
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
134
134
|
prepaid_amount: Optional[float] | NotGiven = NOT_GIVEN,
|
|
@@ -246,7 +246,7 @@ class AsyncBillingModelsResource(AsyncAPIResource):
|
|
|
246
246
|
self,
|
|
247
247
|
*,
|
|
248
248
|
name: str,
|
|
249
|
-
type: Literal["costplus"],
|
|
249
|
+
type: Literal["invalid", "costplus", "subscription", "hybrid"],
|
|
250
250
|
default_price_modifier: Optional[float] | NotGiven = NOT_GIVEN,
|
|
251
251
|
prepaid_amount: Optional[float] | NotGiven = NOT_GIVEN,
|
|
252
252
|
prepaid_max: Optional[float] | NotGiven = NOT_GIVEN,
|
|
@@ -322,7 +322,7 @@ class AsyncBillingModelsResource(AsyncAPIResource):
|
|
|
322
322
|
self,
|
|
323
323
|
billing_model_id: str,
|
|
324
324
|
*,
|
|
325
|
-
type: Literal["costplus"],
|
|
325
|
+
type: Literal["invalid", "costplus", "subscription", "hybrid"],
|
|
326
326
|
default_price_modifier: Optional[float] | NotGiven = NOT_GIVEN,
|
|
327
327
|
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
328
328
|
prepaid_amount: Optional[float] | NotGiven = NOT_GIVEN,
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from .csat import (
|
|
4
|
+
CsatResource,
|
|
5
|
+
AsyncCsatResource,
|
|
6
|
+
CsatResourceWithRawResponse,
|
|
7
|
+
AsyncCsatResourceWithRawResponse,
|
|
8
|
+
CsatResourceWithStreamingResponse,
|
|
9
|
+
AsyncCsatResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
3
11
|
from .types import (
|
|
4
12
|
TypesResource,
|
|
5
13
|
AsyncTypesResource,
|
|
@@ -8,6 +16,14 @@ from .types import (
|
|
|
8
16
|
TypesResourceWithStreamingResponse,
|
|
9
17
|
AsyncTypesResourceWithStreamingResponse,
|
|
10
18
|
)
|
|
19
|
+
from .properties import (
|
|
20
|
+
PropertiesResource,
|
|
21
|
+
AsyncPropertiesResource,
|
|
22
|
+
PropertiesResourceWithRawResponse,
|
|
23
|
+
AsyncPropertiesResourceWithRawResponse,
|
|
24
|
+
PropertiesResourceWithStreamingResponse,
|
|
25
|
+
AsyncPropertiesResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
11
27
|
from .experiences import (
|
|
12
28
|
ExperiencesResource,
|
|
13
29
|
AsyncExperiencesResource,
|
|
@@ -24,6 +40,18 @@ __all__ = [
|
|
|
24
40
|
"AsyncTypesResourceWithRawResponse",
|
|
25
41
|
"TypesResourceWithStreamingResponse",
|
|
26
42
|
"AsyncTypesResourceWithStreamingResponse",
|
|
43
|
+
"CsatResource",
|
|
44
|
+
"AsyncCsatResource",
|
|
45
|
+
"CsatResourceWithRawResponse",
|
|
46
|
+
"AsyncCsatResourceWithRawResponse",
|
|
47
|
+
"CsatResourceWithStreamingResponse",
|
|
48
|
+
"AsyncCsatResourceWithStreamingResponse",
|
|
49
|
+
"PropertiesResource",
|
|
50
|
+
"AsyncPropertiesResource",
|
|
51
|
+
"PropertiesResourceWithRawResponse",
|
|
52
|
+
"AsyncPropertiesResourceWithRawResponse",
|
|
53
|
+
"PropertiesResourceWithStreamingResponse",
|
|
54
|
+
"AsyncPropertiesResourceWithStreamingResponse",
|
|
27
55
|
"ExperiencesResource",
|
|
28
56
|
"AsyncExperiencesResource",
|
|
29
57
|
"ExperiencesResourceWithRawResponse",
|
|
@@ -6,22 +6,22 @@ from typing import Optional
|
|
|
6
6
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
9
|
-
from
|
|
10
|
-
from
|
|
11
|
-
from .._utils import (
|
|
9
|
+
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
10
|
+
from ..._utils import (
|
|
12
11
|
maybe_transform,
|
|
13
12
|
async_maybe_transform,
|
|
14
13
|
)
|
|
15
|
-
from
|
|
16
|
-
from
|
|
17
|
-
from
|
|
14
|
+
from ..._compat import cached_property
|
|
15
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
16
|
+
from ..._response import (
|
|
18
17
|
to_raw_response_wrapper,
|
|
19
18
|
to_streamed_response_wrapper,
|
|
20
19
|
async_to_raw_response_wrapper,
|
|
21
20
|
async_to_streamed_response_wrapper,
|
|
22
21
|
)
|
|
23
|
-
from
|
|
24
|
-
from
|
|
22
|
+
from ..._base_client import make_request_options
|
|
23
|
+
from ...types.experiences import csat_create_params
|
|
24
|
+
from ...types.experiences.csat_response import CsatResponse
|
|
25
25
|
|
|
26
26
|
__all__ = ["CsatResource", "AsyncCsatResource"]
|
|
27
27
|
|
|
@@ -58,9 +58,9 @@ class CsatResource(SyncAPIResource):
|
|
|
58
58
|
extra_query: Query | None = None,
|
|
59
59
|
extra_body: Body | None = None,
|
|
60
60
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
61
|
-
) ->
|
|
61
|
+
) -> CsatResponse:
|
|
62
62
|
"""
|
|
63
|
-
|
|
63
|
+
Update an Experience properties
|
|
64
64
|
|
|
65
65
|
Args:
|
|
66
66
|
extra_headers: Send extra headers
|
|
@@ -74,7 +74,7 @@ class CsatResource(SyncAPIResource):
|
|
|
74
74
|
if not experience_id:
|
|
75
75
|
raise ValueError(f"Expected a non-empty value for `experience_id` but received {experience_id!r}")
|
|
76
76
|
return self._post(
|
|
77
|
-
f"/api/v1/
|
|
77
|
+
f"/api/v1/experiences/instances/{experience_id}/csat",
|
|
78
78
|
body=maybe_transform(
|
|
79
79
|
{
|
|
80
80
|
"csat_rating": csat_rating,
|
|
@@ -85,7 +85,7 @@ class CsatResource(SyncAPIResource):
|
|
|
85
85
|
options=make_request_options(
|
|
86
86
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
87
87
|
),
|
|
88
|
-
cast_to=
|
|
88
|
+
cast_to=CsatResponse,
|
|
89
89
|
)
|
|
90
90
|
|
|
91
91
|
|
|
@@ -121,9 +121,9 @@ class AsyncCsatResource(AsyncAPIResource):
|
|
|
121
121
|
extra_query: Query | None = None,
|
|
122
122
|
extra_body: Body | None = None,
|
|
123
123
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
124
|
-
) ->
|
|
124
|
+
) -> CsatResponse:
|
|
125
125
|
"""
|
|
126
|
-
|
|
126
|
+
Update an Experience properties
|
|
127
127
|
|
|
128
128
|
Args:
|
|
129
129
|
extra_headers: Send extra headers
|
|
@@ -137,7 +137,7 @@ class AsyncCsatResource(AsyncAPIResource):
|
|
|
137
137
|
if not experience_id:
|
|
138
138
|
raise ValueError(f"Expected a non-empty value for `experience_id` but received {experience_id!r}")
|
|
139
139
|
return await self._post(
|
|
140
|
-
f"/api/v1/
|
|
140
|
+
f"/api/v1/experiences/instances/{experience_id}/csat",
|
|
141
141
|
body=await async_maybe_transform(
|
|
142
142
|
{
|
|
143
143
|
"csat_rating": csat_rating,
|
|
@@ -148,7 +148,7 @@ class AsyncCsatResource(AsyncAPIResource):
|
|
|
148
148
|
options=make_request_options(
|
|
149
149
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
150
150
|
),
|
|
151
|
-
cast_to=
|
|
151
|
+
cast_to=CsatResponse,
|
|
152
152
|
)
|
|
153
153
|
|
|
154
154
|
|
|
@@ -4,6 +4,14 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
6
|
|
|
7
|
+
from .csat import (
|
|
8
|
+
CsatResource,
|
|
9
|
+
AsyncCsatResource,
|
|
10
|
+
CsatResourceWithRawResponse,
|
|
11
|
+
AsyncCsatResourceWithRawResponse,
|
|
12
|
+
CsatResourceWithStreamingResponse,
|
|
13
|
+
AsyncCsatResourceWithStreamingResponse,
|
|
14
|
+
)
|
|
7
15
|
from .types import (
|
|
8
16
|
TypesResource,
|
|
9
17
|
AsyncTypesResource,
|
|
@@ -14,6 +22,14 @@ from .types import (
|
|
|
14
22
|
)
|
|
15
23
|
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
16
24
|
from ..._compat import cached_property
|
|
25
|
+
from .properties import (
|
|
26
|
+
PropertiesResource,
|
|
27
|
+
AsyncPropertiesResource,
|
|
28
|
+
PropertiesResourceWithRawResponse,
|
|
29
|
+
AsyncPropertiesResourceWithRawResponse,
|
|
30
|
+
PropertiesResourceWithStreamingResponse,
|
|
31
|
+
AsyncPropertiesResourceWithStreamingResponse,
|
|
32
|
+
)
|
|
17
33
|
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
18
34
|
from ..._response import (
|
|
19
35
|
to_raw_response_wrapper,
|
|
@@ -22,7 +38,7 @@ from ..._response import (
|
|
|
22
38
|
async_to_streamed_response_wrapper,
|
|
23
39
|
)
|
|
24
40
|
from ..._base_client import make_request_options
|
|
25
|
-
from ...types.
|
|
41
|
+
from ...types.experience_instance_response import ExperienceInstanceResponse
|
|
26
42
|
|
|
27
43
|
__all__ = ["ExperiencesResource", "AsyncExperiencesResource"]
|
|
28
44
|
|
|
@@ -32,6 +48,14 @@ class ExperiencesResource(SyncAPIResource):
|
|
|
32
48
|
def types(self) -> TypesResource:
|
|
33
49
|
return TypesResource(self._client)
|
|
34
50
|
|
|
51
|
+
@cached_property
|
|
52
|
+
def csat(self) -> CsatResource:
|
|
53
|
+
return CsatResource(self._client)
|
|
54
|
+
|
|
55
|
+
@cached_property
|
|
56
|
+
def properties(self) -> PropertiesResource:
|
|
57
|
+
return PropertiesResource(self._client)
|
|
58
|
+
|
|
35
59
|
@cached_property
|
|
36
60
|
def with_raw_response(self) -> ExperiencesResourceWithRawResponse:
|
|
37
61
|
"""
|
|
@@ -61,7 +85,7 @@ class ExperiencesResource(SyncAPIResource):
|
|
|
61
85
|
extra_query: Query | None = None,
|
|
62
86
|
extra_body: Body | None = None,
|
|
63
87
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
64
|
-
) ->
|
|
88
|
+
) -> ExperienceInstanceResponse:
|
|
65
89
|
"""
|
|
66
90
|
Create an Experience
|
|
67
91
|
|
|
@@ -81,7 +105,7 @@ class ExperiencesResource(SyncAPIResource):
|
|
|
81
105
|
options=make_request_options(
|
|
82
106
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
83
107
|
),
|
|
84
|
-
cast_to=
|
|
108
|
+
cast_to=ExperienceInstanceResponse,
|
|
85
109
|
)
|
|
86
110
|
|
|
87
111
|
def retrieve(
|
|
@@ -94,7 +118,7 @@ class ExperiencesResource(SyncAPIResource):
|
|
|
94
118
|
extra_query: Query | None = None,
|
|
95
119
|
extra_body: Body | None = None,
|
|
96
120
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
97
|
-
) ->
|
|
121
|
+
) -> ExperienceInstanceResponse:
|
|
98
122
|
"""
|
|
99
123
|
Get an Experience details
|
|
100
124
|
|
|
@@ -114,7 +138,7 @@ class ExperiencesResource(SyncAPIResource):
|
|
|
114
138
|
options=make_request_options(
|
|
115
139
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
116
140
|
),
|
|
117
|
-
cast_to=
|
|
141
|
+
cast_to=ExperienceInstanceResponse,
|
|
118
142
|
)
|
|
119
143
|
|
|
120
144
|
def delete(
|
|
@@ -127,7 +151,7 @@ class ExperiencesResource(SyncAPIResource):
|
|
|
127
151
|
extra_query: Query | None = None,
|
|
128
152
|
extra_body: Body | None = None,
|
|
129
153
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
130
|
-
) ->
|
|
154
|
+
) -> ExperienceInstanceResponse:
|
|
131
155
|
"""
|
|
132
156
|
Delete an Experience
|
|
133
157
|
|
|
@@ -147,7 +171,7 @@ class ExperiencesResource(SyncAPIResource):
|
|
|
147
171
|
options=make_request_options(
|
|
148
172
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
149
173
|
),
|
|
150
|
-
cast_to=
|
|
174
|
+
cast_to=ExperienceInstanceResponse,
|
|
151
175
|
)
|
|
152
176
|
|
|
153
177
|
|
|
@@ -156,6 +180,14 @@ class AsyncExperiencesResource(AsyncAPIResource):
|
|
|
156
180
|
def types(self) -> AsyncTypesResource:
|
|
157
181
|
return AsyncTypesResource(self._client)
|
|
158
182
|
|
|
183
|
+
@cached_property
|
|
184
|
+
def csat(self) -> AsyncCsatResource:
|
|
185
|
+
return AsyncCsatResource(self._client)
|
|
186
|
+
|
|
187
|
+
@cached_property
|
|
188
|
+
def properties(self) -> AsyncPropertiesResource:
|
|
189
|
+
return AsyncPropertiesResource(self._client)
|
|
190
|
+
|
|
159
191
|
@cached_property
|
|
160
192
|
def with_raw_response(self) -> AsyncExperiencesResourceWithRawResponse:
|
|
161
193
|
"""
|
|
@@ -185,7 +217,7 @@ class AsyncExperiencesResource(AsyncAPIResource):
|
|
|
185
217
|
extra_query: Query | None = None,
|
|
186
218
|
extra_body: Body | None = None,
|
|
187
219
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
188
|
-
) ->
|
|
220
|
+
) -> ExperienceInstanceResponse:
|
|
189
221
|
"""
|
|
190
222
|
Create an Experience
|
|
191
223
|
|
|
@@ -205,7 +237,7 @@ class AsyncExperiencesResource(AsyncAPIResource):
|
|
|
205
237
|
options=make_request_options(
|
|
206
238
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
207
239
|
),
|
|
208
|
-
cast_to=
|
|
240
|
+
cast_to=ExperienceInstanceResponse,
|
|
209
241
|
)
|
|
210
242
|
|
|
211
243
|
async def retrieve(
|
|
@@ -218,7 +250,7 @@ class AsyncExperiencesResource(AsyncAPIResource):
|
|
|
218
250
|
extra_query: Query | None = None,
|
|
219
251
|
extra_body: Body | None = None,
|
|
220
252
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
221
|
-
) ->
|
|
253
|
+
) -> ExperienceInstanceResponse:
|
|
222
254
|
"""
|
|
223
255
|
Get an Experience details
|
|
224
256
|
|
|
@@ -238,7 +270,7 @@ class AsyncExperiencesResource(AsyncAPIResource):
|
|
|
238
270
|
options=make_request_options(
|
|
239
271
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
240
272
|
),
|
|
241
|
-
cast_to=
|
|
273
|
+
cast_to=ExperienceInstanceResponse,
|
|
242
274
|
)
|
|
243
275
|
|
|
244
276
|
async def delete(
|
|
@@ -251,7 +283,7 @@ class AsyncExperiencesResource(AsyncAPIResource):
|
|
|
251
283
|
extra_query: Query | None = None,
|
|
252
284
|
extra_body: Body | None = None,
|
|
253
285
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
254
|
-
) ->
|
|
286
|
+
) -> ExperienceInstanceResponse:
|
|
255
287
|
"""
|
|
256
288
|
Delete an Experience
|
|
257
289
|
|
|
@@ -271,7 +303,7 @@ class AsyncExperiencesResource(AsyncAPIResource):
|
|
|
271
303
|
options=make_request_options(
|
|
272
304
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
273
305
|
),
|
|
274
|
-
cast_to=
|
|
306
|
+
cast_to=ExperienceInstanceResponse,
|
|
275
307
|
)
|
|
276
308
|
|
|
277
309
|
|
|
@@ -293,6 +325,14 @@ class ExperiencesResourceWithRawResponse:
|
|
|
293
325
|
def types(self) -> TypesResourceWithRawResponse:
|
|
294
326
|
return TypesResourceWithRawResponse(self._experiences.types)
|
|
295
327
|
|
|
328
|
+
@cached_property
|
|
329
|
+
def csat(self) -> CsatResourceWithRawResponse:
|
|
330
|
+
return CsatResourceWithRawResponse(self._experiences.csat)
|
|
331
|
+
|
|
332
|
+
@cached_property
|
|
333
|
+
def properties(self) -> PropertiesResourceWithRawResponse:
|
|
334
|
+
return PropertiesResourceWithRawResponse(self._experiences.properties)
|
|
335
|
+
|
|
296
336
|
|
|
297
337
|
class AsyncExperiencesResourceWithRawResponse:
|
|
298
338
|
def __init__(self, experiences: AsyncExperiencesResource) -> None:
|
|
@@ -312,6 +352,14 @@ class AsyncExperiencesResourceWithRawResponse:
|
|
|
312
352
|
def types(self) -> AsyncTypesResourceWithRawResponse:
|
|
313
353
|
return AsyncTypesResourceWithRawResponse(self._experiences.types)
|
|
314
354
|
|
|
355
|
+
@cached_property
|
|
356
|
+
def csat(self) -> AsyncCsatResourceWithRawResponse:
|
|
357
|
+
return AsyncCsatResourceWithRawResponse(self._experiences.csat)
|
|
358
|
+
|
|
359
|
+
@cached_property
|
|
360
|
+
def properties(self) -> AsyncPropertiesResourceWithRawResponse:
|
|
361
|
+
return AsyncPropertiesResourceWithRawResponse(self._experiences.properties)
|
|
362
|
+
|
|
315
363
|
|
|
316
364
|
class ExperiencesResourceWithStreamingResponse:
|
|
317
365
|
def __init__(self, experiences: ExperiencesResource) -> None:
|
|
@@ -331,6 +379,14 @@ class ExperiencesResourceWithStreamingResponse:
|
|
|
331
379
|
def types(self) -> TypesResourceWithStreamingResponse:
|
|
332
380
|
return TypesResourceWithStreamingResponse(self._experiences.types)
|
|
333
381
|
|
|
382
|
+
@cached_property
|
|
383
|
+
def csat(self) -> CsatResourceWithStreamingResponse:
|
|
384
|
+
return CsatResourceWithStreamingResponse(self._experiences.csat)
|
|
385
|
+
|
|
386
|
+
@cached_property
|
|
387
|
+
def properties(self) -> PropertiesResourceWithStreamingResponse:
|
|
388
|
+
return PropertiesResourceWithStreamingResponse(self._experiences.properties)
|
|
389
|
+
|
|
334
390
|
|
|
335
391
|
class AsyncExperiencesResourceWithStreamingResponse:
|
|
336
392
|
def __init__(self, experiences: AsyncExperiencesResource) -> None:
|
|
@@ -349,3 +405,11 @@ class AsyncExperiencesResourceWithStreamingResponse:
|
|
|
349
405
|
@cached_property
|
|
350
406
|
def types(self) -> AsyncTypesResourceWithStreamingResponse:
|
|
351
407
|
return AsyncTypesResourceWithStreamingResponse(self._experiences.types)
|
|
408
|
+
|
|
409
|
+
@cached_property
|
|
410
|
+
def csat(self) -> AsyncCsatResourceWithStreamingResponse:
|
|
411
|
+
return AsyncCsatResourceWithStreamingResponse(self._experiences.csat)
|
|
412
|
+
|
|
413
|
+
@cached_property
|
|
414
|
+
def properties(self) -> AsyncPropertiesResourceWithStreamingResponse:
|
|
415
|
+
return AsyncPropertiesResourceWithStreamingResponse(self._experiences.properties)
|
|
@@ -0,0 +1,174 @@
|
|
|
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, Optional
|
|
6
|
+
|
|
7
|
+
import httpx
|
|
8
|
+
|
|
9
|
+
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
10
|
+
from ..._utils import (
|
|
11
|
+
maybe_transform,
|
|
12
|
+
async_maybe_transform,
|
|
13
|
+
)
|
|
14
|
+
from ..._compat import cached_property
|
|
15
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
16
|
+
from ..._response import (
|
|
17
|
+
to_raw_response_wrapper,
|
|
18
|
+
to_streamed_response_wrapper,
|
|
19
|
+
async_to_raw_response_wrapper,
|
|
20
|
+
async_to_streamed_response_wrapper,
|
|
21
|
+
)
|
|
22
|
+
from ..._base_client import make_request_options
|
|
23
|
+
from ...types.experiences import property_create_params
|
|
24
|
+
from ...types.experience_instance_response import ExperienceInstanceResponse
|
|
25
|
+
|
|
26
|
+
__all__ = ["PropertiesResource", "AsyncPropertiesResource"]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class PropertiesResource(SyncAPIResource):
|
|
30
|
+
@cached_property
|
|
31
|
+
def with_raw_response(self) -> PropertiesResourceWithRawResponse:
|
|
32
|
+
"""
|
|
33
|
+
This property can be used as a prefix for any HTTP method call to return the
|
|
34
|
+
the raw response object instead of the parsed content.
|
|
35
|
+
|
|
36
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
37
|
+
"""
|
|
38
|
+
return PropertiesResourceWithRawResponse(self)
|
|
39
|
+
|
|
40
|
+
@cached_property
|
|
41
|
+
def with_streaming_response(self) -> PropertiesResourceWithStreamingResponse:
|
|
42
|
+
"""
|
|
43
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
44
|
+
|
|
45
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
46
|
+
"""
|
|
47
|
+
return PropertiesResourceWithStreamingResponse(self)
|
|
48
|
+
|
|
49
|
+
def create(
|
|
50
|
+
self,
|
|
51
|
+
experience_id: str,
|
|
52
|
+
*,
|
|
53
|
+
properties: Optional[Dict[str, str]],
|
|
54
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
|
+
extra_headers: Headers | None = None,
|
|
57
|
+
extra_query: Query | None = None,
|
|
58
|
+
extra_body: Body | None = None,
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
60
|
+
) -> ExperienceInstanceResponse:
|
|
61
|
+
"""
|
|
62
|
+
Update an Experience properties
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
extra_headers: Send extra headers
|
|
66
|
+
|
|
67
|
+
extra_query: Add additional query parameters to the request
|
|
68
|
+
|
|
69
|
+
extra_body: Add additional JSON properties to the request
|
|
70
|
+
|
|
71
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
72
|
+
"""
|
|
73
|
+
if not experience_id:
|
|
74
|
+
raise ValueError(f"Expected a non-empty value for `experience_id` but received {experience_id!r}")
|
|
75
|
+
return self._post(
|
|
76
|
+
f"/api/v1/experiences/instances/{experience_id}/properties",
|
|
77
|
+
body=maybe_transform({"properties": properties}, property_create_params.PropertyCreateParams),
|
|
78
|
+
options=make_request_options(
|
|
79
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
80
|
+
),
|
|
81
|
+
cast_to=ExperienceInstanceResponse,
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AsyncPropertiesResource(AsyncAPIResource):
|
|
86
|
+
@cached_property
|
|
87
|
+
def with_raw_response(self) -> AsyncPropertiesResourceWithRawResponse:
|
|
88
|
+
"""
|
|
89
|
+
This property can be used as a prefix for any HTTP method call to return the
|
|
90
|
+
the raw response object instead of the parsed content.
|
|
91
|
+
|
|
92
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
93
|
+
"""
|
|
94
|
+
return AsyncPropertiesResourceWithRawResponse(self)
|
|
95
|
+
|
|
96
|
+
@cached_property
|
|
97
|
+
def with_streaming_response(self) -> AsyncPropertiesResourceWithStreamingResponse:
|
|
98
|
+
"""
|
|
99
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
100
|
+
|
|
101
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
102
|
+
"""
|
|
103
|
+
return AsyncPropertiesResourceWithStreamingResponse(self)
|
|
104
|
+
|
|
105
|
+
async def create(
|
|
106
|
+
self,
|
|
107
|
+
experience_id: str,
|
|
108
|
+
*,
|
|
109
|
+
properties: Optional[Dict[str, str]],
|
|
110
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
111
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
112
|
+
extra_headers: Headers | None = None,
|
|
113
|
+
extra_query: Query | None = None,
|
|
114
|
+
extra_body: Body | None = None,
|
|
115
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
116
|
+
) -> ExperienceInstanceResponse:
|
|
117
|
+
"""
|
|
118
|
+
Update an Experience properties
|
|
119
|
+
|
|
120
|
+
Args:
|
|
121
|
+
extra_headers: Send extra headers
|
|
122
|
+
|
|
123
|
+
extra_query: Add additional query parameters to the request
|
|
124
|
+
|
|
125
|
+
extra_body: Add additional JSON properties to the request
|
|
126
|
+
|
|
127
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
128
|
+
"""
|
|
129
|
+
if not experience_id:
|
|
130
|
+
raise ValueError(f"Expected a non-empty value for `experience_id` but received {experience_id!r}")
|
|
131
|
+
return await self._post(
|
|
132
|
+
f"/api/v1/experiences/instances/{experience_id}/properties",
|
|
133
|
+
body=await async_maybe_transform({"properties": properties}, property_create_params.PropertyCreateParams),
|
|
134
|
+
options=make_request_options(
|
|
135
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
136
|
+
),
|
|
137
|
+
cast_to=ExperienceInstanceResponse,
|
|
138
|
+
)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class PropertiesResourceWithRawResponse:
|
|
142
|
+
def __init__(self, properties: PropertiesResource) -> None:
|
|
143
|
+
self._properties = properties
|
|
144
|
+
|
|
145
|
+
self.create = to_raw_response_wrapper(
|
|
146
|
+
properties.create,
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class AsyncPropertiesResourceWithRawResponse:
|
|
151
|
+
def __init__(self, properties: AsyncPropertiesResource) -> None:
|
|
152
|
+
self._properties = properties
|
|
153
|
+
|
|
154
|
+
self.create = async_to_raw_response_wrapper(
|
|
155
|
+
properties.create,
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class PropertiesResourceWithStreamingResponse:
|
|
160
|
+
def __init__(self, properties: PropertiesResource) -> None:
|
|
161
|
+
self._properties = properties
|
|
162
|
+
|
|
163
|
+
self.create = to_streamed_response_wrapper(
|
|
164
|
+
properties.create,
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
class AsyncPropertiesResourceWithStreamingResponse:
|
|
169
|
+
def __init__(self, properties: AsyncPropertiesResource) -> None:
|
|
170
|
+
self._properties = properties
|
|
171
|
+
|
|
172
|
+
self.create = async_to_streamed_response_wrapper(
|
|
173
|
+
properties.create,
|
|
174
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
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 .properties import (
|
|
12
|
+
PropertiesResource,
|
|
13
|
+
AsyncPropertiesResource,
|
|
14
|
+
PropertiesResourceWithRawResponse,
|
|
15
|
+
AsyncPropertiesResourceWithRawResponse,
|
|
16
|
+
PropertiesResourceWithStreamingResponse,
|
|
17
|
+
AsyncPropertiesResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"PropertiesResource",
|
|
22
|
+
"AsyncPropertiesResource",
|
|
23
|
+
"PropertiesResourceWithRawResponse",
|
|
24
|
+
"AsyncPropertiesResourceWithRawResponse",
|
|
25
|
+
"PropertiesResourceWithStreamingResponse",
|
|
26
|
+
"AsyncPropertiesResourceWithStreamingResponse",
|
|
27
|
+
"RequestsResource",
|
|
28
|
+
"AsyncRequestsResource",
|
|
29
|
+
"RequestsResourceWithRawResponse",
|
|
30
|
+
"AsyncRequestsResourceWithRawResponse",
|
|
31
|
+
"RequestsResourceWithStreamingResponse",
|
|
32
|
+
"AsyncRequestsResourceWithStreamingResponse",
|
|
33
|
+
]
|
|
@@ -0,0 +1,174 @@
|
|
|
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, Optional
|
|
6
|
+
|
|
7
|
+
import httpx
|
|
8
|
+
|
|
9
|
+
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
10
|
+
from ..._utils import (
|
|
11
|
+
maybe_transform,
|
|
12
|
+
async_maybe_transform,
|
|
13
|
+
)
|
|
14
|
+
from ..._compat import cached_property
|
|
15
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
16
|
+
from ..._response import (
|
|
17
|
+
to_raw_response_wrapper,
|
|
18
|
+
to_streamed_response_wrapper,
|
|
19
|
+
async_to_raw_response_wrapper,
|
|
20
|
+
async_to_streamed_response_wrapper,
|
|
21
|
+
)
|
|
22
|
+
from ..._base_client import make_request_options
|
|
23
|
+
from ...types.requests import property_create_params
|
|
24
|
+
from ...types.experiences.properties_response import PropertiesResponse
|
|
25
|
+
|
|
26
|
+
__all__ = ["PropertiesResource", "AsyncPropertiesResource"]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class PropertiesResource(SyncAPIResource):
|
|
30
|
+
@cached_property
|
|
31
|
+
def with_raw_response(self) -> PropertiesResourceWithRawResponse:
|
|
32
|
+
"""
|
|
33
|
+
This property can be used as a prefix for any HTTP method call to return the
|
|
34
|
+
the raw response object instead of the parsed content.
|
|
35
|
+
|
|
36
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
37
|
+
"""
|
|
38
|
+
return PropertiesResourceWithRawResponse(self)
|
|
39
|
+
|
|
40
|
+
@cached_property
|
|
41
|
+
def with_streaming_response(self) -> PropertiesResourceWithStreamingResponse:
|
|
42
|
+
"""
|
|
43
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
44
|
+
|
|
45
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
46
|
+
"""
|
|
47
|
+
return PropertiesResourceWithStreamingResponse(self)
|
|
48
|
+
|
|
49
|
+
def create(
|
|
50
|
+
self,
|
|
51
|
+
request_id: str,
|
|
52
|
+
*,
|
|
53
|
+
properties: Optional[Dict[str, str]],
|
|
54
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
|
+
extra_headers: Headers | None = None,
|
|
57
|
+
extra_query: Query | None = None,
|
|
58
|
+
extra_body: Body | None = None,
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
60
|
+
) -> PropertiesResponse:
|
|
61
|
+
"""
|
|
62
|
+
Create properties for a Request
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
extra_headers: Send extra headers
|
|
66
|
+
|
|
67
|
+
extra_query: Add additional query parameters to the request
|
|
68
|
+
|
|
69
|
+
extra_body: Add additional JSON properties to the request
|
|
70
|
+
|
|
71
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
72
|
+
"""
|
|
73
|
+
if not request_id:
|
|
74
|
+
raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
|
|
75
|
+
return self._post(
|
|
76
|
+
f"/api/v1/requests/{request_id}/properties",
|
|
77
|
+
body=maybe_transform({"properties": properties}, property_create_params.PropertyCreateParams),
|
|
78
|
+
options=make_request_options(
|
|
79
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
80
|
+
),
|
|
81
|
+
cast_to=PropertiesResponse,
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AsyncPropertiesResource(AsyncAPIResource):
|
|
86
|
+
@cached_property
|
|
87
|
+
def with_raw_response(self) -> AsyncPropertiesResourceWithRawResponse:
|
|
88
|
+
"""
|
|
89
|
+
This property can be used as a prefix for any HTTP method call to return the
|
|
90
|
+
the raw response object instead of the parsed content.
|
|
91
|
+
|
|
92
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
93
|
+
"""
|
|
94
|
+
return AsyncPropertiesResourceWithRawResponse(self)
|
|
95
|
+
|
|
96
|
+
@cached_property
|
|
97
|
+
def with_streaming_response(self) -> AsyncPropertiesResourceWithStreamingResponse:
|
|
98
|
+
"""
|
|
99
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
100
|
+
|
|
101
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
102
|
+
"""
|
|
103
|
+
return AsyncPropertiesResourceWithStreamingResponse(self)
|
|
104
|
+
|
|
105
|
+
async def create(
|
|
106
|
+
self,
|
|
107
|
+
request_id: str,
|
|
108
|
+
*,
|
|
109
|
+
properties: Optional[Dict[str, str]],
|
|
110
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
111
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
112
|
+
extra_headers: Headers | None = None,
|
|
113
|
+
extra_query: Query | None = None,
|
|
114
|
+
extra_body: Body | None = None,
|
|
115
|
+
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
116
|
+
) -> PropertiesResponse:
|
|
117
|
+
"""
|
|
118
|
+
Create properties for a Request
|
|
119
|
+
|
|
120
|
+
Args:
|
|
121
|
+
extra_headers: Send extra headers
|
|
122
|
+
|
|
123
|
+
extra_query: Add additional query parameters to the request
|
|
124
|
+
|
|
125
|
+
extra_body: Add additional JSON properties to the request
|
|
126
|
+
|
|
127
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
128
|
+
"""
|
|
129
|
+
if not request_id:
|
|
130
|
+
raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
|
|
131
|
+
return await self._post(
|
|
132
|
+
f"/api/v1/requests/{request_id}/properties",
|
|
133
|
+
body=await async_maybe_transform({"properties": properties}, property_create_params.PropertyCreateParams),
|
|
134
|
+
options=make_request_options(
|
|
135
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
136
|
+
),
|
|
137
|
+
cast_to=PropertiesResponse,
|
|
138
|
+
)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class PropertiesResourceWithRawResponse:
|
|
142
|
+
def __init__(self, properties: PropertiesResource) -> None:
|
|
143
|
+
self._properties = properties
|
|
144
|
+
|
|
145
|
+
self.create = to_raw_response_wrapper(
|
|
146
|
+
properties.create,
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class AsyncPropertiesResourceWithRawResponse:
|
|
151
|
+
def __init__(self, properties: AsyncPropertiesResource) -> None:
|
|
152
|
+
self._properties = properties
|
|
153
|
+
|
|
154
|
+
self.create = async_to_raw_response_wrapper(
|
|
155
|
+
properties.create,
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class PropertiesResourceWithStreamingResponse:
|
|
160
|
+
def __init__(self, properties: PropertiesResource) -> None:
|
|
161
|
+
self._properties = properties
|
|
162
|
+
|
|
163
|
+
self.create = to_streamed_response_wrapper(
|
|
164
|
+
properties.create,
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
class AsyncPropertiesResourceWithStreamingResponse:
|
|
169
|
+
def __init__(self, properties: AsyncPropertiesResource) -> None:
|
|
170
|
+
self._properties = properties
|
|
171
|
+
|
|
172
|
+
self.create = async_to_streamed_response_wrapper(
|
|
173
|
+
properties.create,
|
|
174
|
+
)
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from ..._compat import cached_property
|
|
6
|
+
from .properties import (
|
|
7
|
+
PropertiesResource,
|
|
8
|
+
AsyncPropertiesResource,
|
|
9
|
+
PropertiesResourceWithRawResponse,
|
|
10
|
+
AsyncPropertiesResourceWithRawResponse,
|
|
11
|
+
PropertiesResourceWithStreamingResponse,
|
|
12
|
+
AsyncPropertiesResourceWithStreamingResponse,
|
|
13
|
+
)
|
|
14
|
+
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
+
|
|
16
|
+
__all__ = ["RequestsResource", "AsyncRequestsResource"]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class RequestsResource(SyncAPIResource):
|
|
20
|
+
@cached_property
|
|
21
|
+
def properties(self) -> PropertiesResource:
|
|
22
|
+
return PropertiesResource(self._client)
|
|
23
|
+
|
|
24
|
+
@cached_property
|
|
25
|
+
def with_raw_response(self) -> RequestsResourceWithRawResponse:
|
|
26
|
+
"""
|
|
27
|
+
This property can be used as a prefix for any HTTP method call to return the
|
|
28
|
+
the raw response object instead of the parsed content.
|
|
29
|
+
|
|
30
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
31
|
+
"""
|
|
32
|
+
return RequestsResourceWithRawResponse(self)
|
|
33
|
+
|
|
34
|
+
@cached_property
|
|
35
|
+
def with_streaming_response(self) -> RequestsResourceWithStreamingResponse:
|
|
36
|
+
"""
|
|
37
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
38
|
+
|
|
39
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
40
|
+
"""
|
|
41
|
+
return RequestsResourceWithStreamingResponse(self)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class AsyncRequestsResource(AsyncAPIResource):
|
|
45
|
+
@cached_property
|
|
46
|
+
def properties(self) -> AsyncPropertiesResource:
|
|
47
|
+
return AsyncPropertiesResource(self._client)
|
|
48
|
+
|
|
49
|
+
@cached_property
|
|
50
|
+
def with_raw_response(self) -> AsyncRequestsResourceWithRawResponse:
|
|
51
|
+
"""
|
|
52
|
+
This property can be used as a prefix for any HTTP method call to return the
|
|
53
|
+
the raw response object instead of the parsed content.
|
|
54
|
+
|
|
55
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
56
|
+
"""
|
|
57
|
+
return AsyncRequestsResourceWithRawResponse(self)
|
|
58
|
+
|
|
59
|
+
@cached_property
|
|
60
|
+
def with_streaming_response(self) -> AsyncRequestsResourceWithStreamingResponse:
|
|
61
|
+
"""
|
|
62
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
63
|
+
|
|
64
|
+
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
65
|
+
"""
|
|
66
|
+
return AsyncRequestsResourceWithStreamingResponse(self)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class RequestsResourceWithRawResponse:
|
|
70
|
+
def __init__(self, requests: RequestsResource) -> None:
|
|
71
|
+
self._requests = requests
|
|
72
|
+
|
|
73
|
+
@cached_property
|
|
74
|
+
def properties(self) -> PropertiesResourceWithRawResponse:
|
|
75
|
+
return PropertiesResourceWithRawResponse(self._requests.properties)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class AsyncRequestsResourceWithRawResponse:
|
|
79
|
+
def __init__(self, requests: AsyncRequestsResource) -> None:
|
|
80
|
+
self._requests = requests
|
|
81
|
+
|
|
82
|
+
@cached_property
|
|
83
|
+
def properties(self) -> AsyncPropertiesResourceWithRawResponse:
|
|
84
|
+
return AsyncPropertiesResourceWithRawResponse(self._requests.properties)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class RequestsResourceWithStreamingResponse:
|
|
88
|
+
def __init__(self, requests: RequestsResource) -> None:
|
|
89
|
+
self._requests = requests
|
|
90
|
+
|
|
91
|
+
@cached_property
|
|
92
|
+
def properties(self) -> PropertiesResourceWithStreamingResponse:
|
|
93
|
+
return PropertiesResourceWithStreamingResponse(self._requests.properties)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class AsyncRequestsResourceWithStreamingResponse:
|
|
97
|
+
def __init__(self, requests: AsyncRequestsResource) -> None:
|
|
98
|
+
self._requests = requests
|
|
99
|
+
|
|
100
|
+
@cached_property
|
|
101
|
+
def properties(self) -> AsyncPropertiesResourceWithStreamingResponse:
|
|
102
|
+
return AsyncPropertiesResourceWithStreamingResponse(self._requests.properties)
|
payi/types/__init__.py
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from .csat import Csat as Csat
|
|
6
5
|
from .cost_data import CostData as CostData
|
|
7
6
|
from .cost_details import CostDetails as CostDetails
|
|
8
7
|
from .billing_model import BillingModel as BillingModel
|
|
@@ -15,10 +14,8 @@ from .default_response import DefaultResponse as DefaultResponse
|
|
|
15
14
|
from .category_response import CategoryResponse as CategoryResponse
|
|
16
15
|
from .paged_budget_list import PagedBudgetList as PagedBudgetList
|
|
17
16
|
from .budget_list_params import BudgetListParams as BudgetListParams
|
|
18
|
-
from .csat_create_params import CsatCreateParams as CsatCreateParams
|
|
19
17
|
from .ingest_bulk_params import IngestBulkParams as IngestBulkParams
|
|
20
18
|
from .ingest_event_param import IngestEventParam as IngestEventParam
|
|
21
|
-
from .experience_instance import ExperienceInstance as ExperienceInstance
|
|
22
19
|
from .ingest_units_params import IngestUnitsParams as IngestUnitsParams
|
|
23
20
|
from .budget_create_params import BudgetCreateParams as BudgetCreateParams
|
|
24
21
|
from .budget_update_params import BudgetUpdateParams as BudgetUpdateParams
|
|
@@ -30,6 +27,7 @@ from .category_resource_response import CategoryResourceResponse as CategoryReso
|
|
|
30
27
|
from .billing_model_create_params import BillingModelCreateParams as BillingModelCreateParams
|
|
31
28
|
from .billing_model_list_response import BillingModelListResponse as BillingModelListResponse
|
|
32
29
|
from .billing_model_update_params import BillingModelUpdateParams as BillingModelUpdateParams
|
|
30
|
+
from .experience_instance_response import ExperienceInstanceResponse as ExperienceInstanceResponse
|
|
33
31
|
from .price_modifier_create_params import PriceModifierCreateParams as PriceModifierCreateParams
|
|
34
32
|
from .price_modifier_update_params import PriceModifierUpdateParams as PriceModifierUpdateParams
|
|
35
33
|
from .category_list_resources_response import CategoryListResourcesResponse as CategoryListResourcesResponse
|
payi/types/billing_model.py
CHANGED
|
@@ -11,7 +11,7 @@ __all__ = ["BillingModelCreateParams"]
|
|
|
11
11
|
class BillingModelCreateParams(TypedDict, total=False):
|
|
12
12
|
name: Required[str]
|
|
13
13
|
|
|
14
|
-
type: Required[Literal["costplus"]]
|
|
14
|
+
type: Required[Literal["invalid", "costplus", "subscription", "hybrid"]]
|
|
15
15
|
|
|
16
16
|
default_price_modifier: Optional[float]
|
|
17
17
|
|
|
@@ -9,7 +9,7 @@ __all__ = ["BillingModelUpdateParams"]
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class BillingModelUpdateParams(TypedDict, total=False):
|
|
12
|
-
type: Required[Literal["costplus"]]
|
|
12
|
+
type: Required[Literal["invalid", "costplus", "subscription", "hybrid"]]
|
|
13
13
|
|
|
14
14
|
default_price_modifier: Optional[float]
|
|
15
15
|
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from typing import Dict
|
|
3
4
|
|
|
4
5
|
from .._models import BaseModel
|
|
5
6
|
|
|
6
|
-
__all__ = ["
|
|
7
|
+
__all__ = ["ExperienceInstanceResponse"]
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
class
|
|
10
|
+
class ExperienceInstanceResponse(BaseModel):
|
|
10
11
|
experience_id: str
|
|
11
12
|
|
|
13
|
+
properties: Dict[str, str]
|
|
14
|
+
|
|
12
15
|
request_id: str
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from .csat_response import CsatResponse as CsatResponse
|
|
5
6
|
from .experience_type import ExperienceType as ExperienceType
|
|
6
7
|
from .type_list_params import TypeListParams as TypeListParams
|
|
8
|
+
from .csat_create_params import CsatCreateParams as CsatCreateParams
|
|
7
9
|
from .type_create_params import TypeCreateParams as TypeCreateParams
|
|
8
10
|
from .type_list_response import TypeListResponse as TypeListResponse
|
|
9
11
|
from .type_update_params import TypeUpdateParams as TypeUpdateParams
|
|
12
|
+
from .properties_response import PropertiesResponse as PropertiesResponse
|
|
13
|
+
from .property_create_params import PropertyCreateParams as PropertyCreateParams
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
from
|
|
4
|
+
from ..._models import BaseModel
|
|
5
5
|
|
|
6
|
-
__all__ = ["
|
|
6
|
+
__all__ = ["CsatResponse"]
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
class
|
|
9
|
+
class CsatResponse(BaseModel):
|
|
10
10
|
request_id: str
|
|
@@ -0,0 +1,11 @@
|
|
|
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__ = ["PropertiesResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PropertiesResponse(BaseModel):
|
|
11
|
+
request_id: Optional[str] = None
|
|
@@ -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, Optional
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["PropertyCreateParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PropertyCreateParams(TypedDict, total=False):
|
|
12
|
+
properties: Required[Optional[Dict[str, str]]]
|
|
@@ -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, Optional
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["PropertyCreateParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PropertyCreateParams(TypedDict, total=False):
|
|
12
|
+
properties: Required[Optional[Dict[str, str]]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
payi/__init__.py,sha256=LWpfR6WSMPTnmmx3ToqqZ0A8CNduLcuxY1SSOqhPxuk,2381
|
|
2
2
|
payi/_base_client.py,sha256=s3JMTpYuiwtp-jn6iB79v4iuCc29C1Rr38el1IXMtHs,68034
|
|
3
|
-
payi/_client.py,sha256=
|
|
3
|
+
payi/_client.py,sha256=pulFUK9yWV2ROjJLT1-NjSky6kFEukMilSnv4d1xkrc,18554
|
|
4
4
|
payi/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
|
5
5
|
payi/_constants.py,sha256=JE8kyZa2Q4NK_i4fO--8siEYTzeHnT0fYbOFDgDP4uk,464
|
|
6
6
|
payi/_exceptions.py,sha256=ItygKNrNXIVY0H6LsGVZvFuAHB3Vtm_VZXmWzCnpHy0,3216
|
|
@@ -11,7 +11,7 @@ payi/_resource.py,sha256=j2jIkTr8OIC8sU6-05nxSaCyj4MaFlbZrwlyg4_xJos,1088
|
|
|
11
11
|
payi/_response.py,sha256=9ZpP3Agz-3ReY0RSJo7O7BAwD0UluwRsTSvljdTh1dg,28597
|
|
12
12
|
payi/_streaming.py,sha256=Z_wIyo206T6Jqh2rolFg2VXZgX24PahLmpURp0-NssU,10092
|
|
13
13
|
payi/_types.py,sha256=J0i_n21O_stX9WmxhCAuKnzv4oJgEPGykFNVqcXg0d0,6165
|
|
14
|
-
payi/_version.py,sha256=
|
|
14
|
+
payi/_version.py,sha256=Qh0Tf3fZOi4I-n4-7SWx89BZzGMhdPIrsNiGzXIbpbA,165
|
|
15
15
|
payi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
payi/_utils/__init__.py,sha256=k266EatJr88V8Zseb7xUimTlCeno9SynRfLwadHP1b4,2016
|
|
17
17
|
payi/_utils/_logs.py,sha256=fmnf5D9TOgkgZKfgYmSa3PiUc3SZgkchn6CzJUeo0SQ,768
|
|
@@ -24,9 +24,8 @@ payi/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_LegGkY,3838
|
|
|
24
24
|
payi/_utils/_utils.py,sha256=8UmbPOy_AAr2uUjjFui-VZSrVBHRj6bfNEKRp5YZP2A,12004
|
|
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/billing_models.py,sha256=
|
|
29
|
-
payi/resources/csat.py,sha256=56Sn2JM3xbc33J7xiC0Q0aLd5KuZK0ty_jxN-ZNPz7M,6526
|
|
27
|
+
payi/resources/__init__.py,sha256=4Q0RFRJ3z9_Q0G5XSkuYYLp1t_DiDlN-kVpLYdOuNsQ,3605
|
|
28
|
+
payi/resources/billing_models.py,sha256=WTehxCPUU2Otb7i8eXOUIQibJ2dMRjzJPbYdZTCq8Z4,20204
|
|
30
29
|
payi/resources/ingest.py,sha256=37iLoReikYwGlBtSlNMjH9O4YvPGKuybfotQ_214Qlo,16903
|
|
31
30
|
payi/resources/price_modifiers.py,sha256=m9IX__C7_oPcZzGNpHJ2BsjMkGQ29JZrxLM1nFa8dL4,13483
|
|
32
31
|
payi/resources/budgets/__init__.py,sha256=w1UhOdDXtUH4A91ME5Tw2nr9bRvPJyJY1YWiVVy7jj0,989
|
|
@@ -35,14 +34,19 @@ payi/resources/budgets/tags.py,sha256=akVs7lGBb7O697lv-_nXT_xlh6dgQuaj6pWqTenO86
|
|
|
35
34
|
payi/resources/categories/__init__.py,sha256=w5gMiPdBSzJA_qfoVtFBElaoe8wGf_O63R7R1Spr6Gk,1093
|
|
36
35
|
payi/resources/categories/categories.py,sha256=dGsAX313gZlLy5pSRo5_TexD1rPeWU666yHNwiUEFBA,16082
|
|
37
36
|
payi/resources/categories/resources.py,sha256=I38bjAvpsLg4LRwJEvnKX3yyr_ErTxkkv12y19sYd7E,18712
|
|
38
|
-
payi/resources/experiences/__init__.py,sha256=
|
|
39
|
-
payi/resources/experiences/
|
|
37
|
+
payi/resources/experiences/__init__.py,sha256=w7QTV5HMdPeOmmzUXzTefx9cqvzK8Tiqzv1sGUQLNVw,1980
|
|
38
|
+
payi/resources/experiences/csat.py,sha256=b56MzdJAII-rHjWTIqDUPS2MlgIVuqGXBOWq4SgBSRI,6611
|
|
39
|
+
payi/resources/experiences/experiences.py,sha256=Cbpp9T82Dqjb3TbF0nw53DtDhdbxwGhEWvT7dwohInM,15613
|
|
40
|
+
payi/resources/experiences/properties.py,sha256=wpLSbDfp2SYVuPycP6U-BeXZZC5e9xS-WtdO68SqhfI,6612
|
|
40
41
|
payi/resources/experiences/types.py,sha256=hz5dtgmVD2eEOUU7Y29yA_UGefl77-oT4sAHFVkp-qk,19380
|
|
41
|
-
payi/
|
|
42
|
-
payi/
|
|
43
|
-
payi/
|
|
42
|
+
payi/resources/requests/__init__.py,sha256=sWDD18RLuwPB2yzxA29HiwhFdmjZAxzy1qK_4abAZ9E,1080
|
|
43
|
+
payi/resources/requests/properties.py,sha256=zVLz0mOTP2-ZgDDkAxN0TVxai0BcdrM9gJOffC_o6Rw,6516
|
|
44
|
+
payi/resources/requests/requests.py,sha256=tglPpryoEMbcz7nr1brk72Mi7-julmtmu3PfEhDYwoc,3771
|
|
45
|
+
payi/types/__init__.py,sha256=nMDlmK73Ss1cnGqEE6H1O_3XpZhruixzT_NQsAaYJTY,2528
|
|
46
|
+
payi/types/billing_model.py,sha256=zFVpBJ5T3v48Zw2wxrAC5s2eDgLO0Zl_uRqJvjioJAI,650
|
|
47
|
+
payi/types/billing_model_create_params.py,sha256=ixhGf7xvBY6g0Zr2G7MrkMFV-9gZpdMgxSXISoiQZQg,558
|
|
44
48
|
payi/types/billing_model_list_response.py,sha256=hOFjJPQAKiWEArZeZwd8e1lDi5e41zbN6NvV_1rzJeM,290
|
|
45
|
-
payi/types/billing_model_update_params.py,sha256=
|
|
49
|
+
payi/types/billing_model_update_params.py,sha256=npsGWB2A1fKVuGHxRsAZzy4BAQBxuSmrwuWAYPGvamk,558
|
|
46
50
|
payi/types/budget_create_params.py,sha256=MDXUCZFK9SZHUTkB9OrQ8SeF1Xu7gmivuYSbcN9X-3w,632
|
|
47
51
|
payi/types/budget_history_response.py,sha256=4SnisCLr1HImVecgonZK7HIm9WTmYl0YMaTbMP70qZY,934
|
|
48
52
|
payi/types/budget_list_params.py,sha256=KaJ0H4tfp6mpCyanpysVJBTAMa5aA2Kv73uO_EsBsKE,367
|
|
@@ -57,10 +61,8 @@ payi/types/category_resource_response.py,sha256=4PfQZbOIMOlE701uXGU-qegZOH8DN1VY
|
|
|
57
61
|
payi/types/category_response.py,sha256=43i8bii20Sb-z9R5M1Ia6RGfRZmdQqsWPlv4Bl1XQf0,293
|
|
58
62
|
payi/types/cost_data.py,sha256=PDmleZu-HKKOIh_EZ5EgWvpGiTUSJQadsxedWhFVgEI,283
|
|
59
63
|
payi/types/cost_details.py,sha256=w9p79opEG3kcsjkRRP7niaMcUswdfB4Y7HCkVTcQ1zQ,307
|
|
60
|
-
payi/types/csat.py,sha256=q-RdlcEJQpyWCdEJw7s-ntAeaY1SgLyMflehZ01CDFU,185
|
|
61
|
-
payi/types/csat_create_params.py,sha256=YK2M8yuqkZ7p-Z5S_6nSOeALX0Ox6QI8xiA2AzZ9vJI,342
|
|
62
64
|
payi/types/default_response.py,sha256=o617LpRsCIZHCZxAc5nVI2JQ3HPGZo4gCDvSDkxkIJ8,270
|
|
63
|
-
payi/types/
|
|
65
|
+
payi/types/experience_instance_response.py,sha256=YVWjFpCMAFXsXbU5tgMKrvXHC2F5MsTWdltzRiCUIQA,309
|
|
64
66
|
payi/types/ingest_bulk_params.py,sha256=aIsugHkiAe_DnGQ8JVpDUDYr1YNzR5cUY9mMPqusIP0,381
|
|
65
67
|
payi/types/ingest_event_param.py,sha256=2aes3mqwMQssi71LcWGsr-on6IKaLPsFu-rjaQGP7E4,1020
|
|
66
68
|
payi/types/ingest_response.py,sha256=Ug83Sfl-3tELRh5rWFclOZYgsZBkvCjUXJXrp1J5Uac,1197
|
|
@@ -85,13 +87,19 @@ payi/types/budgets/tag_update_response.py,sha256=0L-0k2pGw9GndpwArjKhHwOOJgOTOTY
|
|
|
85
87
|
payi/types/categories/__init__.py,sha256=HQScxfK3F_J9HYbphrhG6bYb7S6vtrwafLViar5pHcM,285
|
|
86
88
|
payi/types/categories/resource_create_params.py,sha256=jEXNx_FvWA9D5170Gwf_YUcuAOaDq0RIGaGgPSEsheA,725
|
|
87
89
|
payi/types/categories/resource_list_response.py,sha256=ODMelDlXvYcwxBsJwTX8miofywUY_JB0OvsFVCKJunU,320
|
|
88
|
-
payi/types/experiences/__init__.py,sha256=
|
|
90
|
+
payi/types/experiences/__init__.py,sha256=Gc4p-d906wf_ZiangTJlWZgLjdJt4lVOzTPTB--12MI,735
|
|
91
|
+
payi/types/experiences/csat_create_params.py,sha256=YK2M8yuqkZ7p-Z5S_6nSOeALX0Ox6QI8xiA2AzZ9vJI,342
|
|
92
|
+
payi/types/experiences/csat_response.py,sha256=tRJepzTgOPoeOEtm6leCCcbzwl8QJtL57mWlBk9ni3k,202
|
|
89
93
|
payi/types/experiences/experience_type.py,sha256=1L08GHoLAfdBwE691RidkHIukpyqqO2_toL5CcWxE4k,315
|
|
94
|
+
payi/types/experiences/properties_response.py,sha256=HpFNtxl_OjoMCs24xPVZLKe3FwCVcNkcRs0LsQKLrHM,259
|
|
95
|
+
payi/types/experiences/property_create_params.py,sha256=ef4XiTAa03FO_RuRQ8WbDZhNqzcfhaysnDb1HtObbB4,348
|
|
90
96
|
payi/types/experiences/type_create_params.py,sha256=56vS9kTHex1eU9QQ-DWjBMqoHNhOukPZUY4jgGhnJnQ,376
|
|
91
97
|
payi/types/experiences/type_list_params.py,sha256=VDZjHmK2tNAW_YLewcIzM-OG13iI2v-xCykokxkcgbs,286
|
|
92
98
|
payi/types/experiences/type_list_response.py,sha256=DgkPLw40oUqBETLePVMVenstMsGG12rZRU9w6kgQN28,280
|
|
93
99
|
payi/types/experiences/type_update_params.py,sha256=izwlElQB-jeFFX3K6S2TqVUMmhU0KTmwScQ5aoHZH0M,361
|
|
94
|
-
payi
|
|
95
|
-
payi
|
|
96
|
-
payi-0.1.
|
|
97
|
-
payi-0.1.
|
|
100
|
+
payi/types/requests/__init__.py,sha256=K4qfrWMIIg1-UNB0Vu5UdGEmf6TWoF-i3gPc_LT78D8,204
|
|
101
|
+
payi/types/requests/property_create_params.py,sha256=ef4XiTAa03FO_RuRQ8WbDZhNqzcfhaysnDb1HtObbB4,348
|
|
102
|
+
payi-0.1.0a31.dist-info/METADATA,sha256=SU-ru8WuPF7gGePzE2p2JGzgY5ZAyes8N86NVb9YjaI,12342
|
|
103
|
+
payi-0.1.0a31.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
104
|
+
payi-0.1.0a31.dist-info/licenses/LICENSE,sha256=8vX1pjh3esb6D5DvXAf6NxiBcVyon8aHWNJCxmmHXeY,11334
|
|
105
|
+
payi-0.1.0a31.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|