payi 0.1.0a37__py3-none-any.whl → 0.1.0a38__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/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "payi"
4
- __version__ = "0.1.0-alpha.37" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.38" # x-release-please-version
@@ -4,14 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
- from .types import (
8
- TypesResource,
9
- AsyncTypesResource,
10
- TypesResourceWithRawResponse,
11
- AsyncTypesResourceWithRawResponse,
12
- TypesResourceWithStreamingResponse,
13
- AsyncTypesResourceWithStreamingResponse,
14
- )
15
7
  from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
16
8
  from ..._compat import cached_property
17
9
  from .properties import (
@@ -29,6 +21,14 @@ from ..._response import (
29
21
  async_to_raw_response_wrapper,
30
22
  async_to_streamed_response_wrapper,
31
23
  )
24
+ from .types.types import (
25
+ TypesResource,
26
+ AsyncTypesResource,
27
+ TypesResourceWithRawResponse,
28
+ AsyncTypesResourceWithRawResponse,
29
+ TypesResourceWithStreamingResponse,
30
+ AsyncTypesResourceWithStreamingResponse,
31
+ )
32
32
  from ..._base_client import make_request_options
33
33
  from ...types.experience_instance_response import ExperienceInstanceResponse
34
34
 
@@ -0,0 +1,33 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from .types import (
4
+ TypesResource,
5
+ AsyncTypesResource,
6
+ TypesResourceWithRawResponse,
7
+ AsyncTypesResourceWithRawResponse,
8
+ TypesResourceWithStreamingResponse,
9
+ AsyncTypesResourceWithStreamingResponse,
10
+ )
11
+ from .limit_config import (
12
+ LimitConfigResource,
13
+ AsyncLimitConfigResource,
14
+ LimitConfigResourceWithRawResponse,
15
+ AsyncLimitConfigResourceWithRawResponse,
16
+ LimitConfigResourceWithStreamingResponse,
17
+ AsyncLimitConfigResourceWithStreamingResponse,
18
+ )
19
+
20
+ __all__ = [
21
+ "LimitConfigResource",
22
+ "AsyncLimitConfigResource",
23
+ "LimitConfigResourceWithRawResponse",
24
+ "AsyncLimitConfigResourceWithRawResponse",
25
+ "LimitConfigResourceWithStreamingResponse",
26
+ "AsyncLimitConfigResourceWithStreamingResponse",
27
+ "TypesResource",
28
+ "AsyncTypesResource",
29
+ "TypesResourceWithRawResponse",
30
+ "AsyncTypesResourceWithRawResponse",
31
+ "TypesResourceWithStreamingResponse",
32
+ "AsyncTypesResourceWithStreamingResponse",
33
+ ]
@@ -0,0 +1,275 @@
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
7
+
8
+ import httpx
9
+
10
+ from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11
+ from ...._utils import (
12
+ maybe_transform,
13
+ async_maybe_transform,
14
+ )
15
+ from ...._compat import cached_property
16
+ from ...._resource import SyncAPIResource, AsyncAPIResource
17
+ from ...._response import (
18
+ to_raw_response_wrapper,
19
+ to_streamed_response_wrapper,
20
+ async_to_raw_response_wrapper,
21
+ async_to_streamed_response_wrapper,
22
+ )
23
+ from ...._base_client import make_request_options
24
+ from ....types.experiences.types import limit_config_create_params
25
+ from ....types.experiences.experience_type import ExperienceType
26
+
27
+ __all__ = ["LimitConfigResource", "AsyncLimitConfigResource"]
28
+
29
+
30
+ class LimitConfigResource(SyncAPIResource):
31
+ @cached_property
32
+ def with_raw_response(self) -> LimitConfigResourceWithRawResponse:
33
+ """
34
+ This property can be used as a prefix for any HTTP method call to return
35
+ the raw response object instead of the parsed content.
36
+
37
+ For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
38
+ """
39
+ return LimitConfigResourceWithRawResponse(self)
40
+
41
+ @cached_property
42
+ def with_streaming_response(self) -> LimitConfigResourceWithStreamingResponse:
43
+ """
44
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
45
+
46
+ For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
47
+ """
48
+ return LimitConfigResourceWithStreamingResponse(self)
49
+
50
+ def create(
51
+ self,
52
+ experience_name: str,
53
+ *,
54
+ max: float,
55
+ limit_tags: Optional[List[str]] | NotGiven = NOT_GIVEN,
56
+ limit_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
57
+ threshold: Optional[float] | NotGiven = NOT_GIVEN,
58
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
59
+ # The extra values given here take precedence over values defined on the client or passed to this method.
60
+ extra_headers: Headers | None = None,
61
+ extra_query: Query | None = None,
62
+ extra_body: Body | None = None,
63
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
64
+ ) -> ExperienceType:
65
+ """
66
+ Create a new Experience Type default limit configuration
67
+
68
+ Args:
69
+ extra_headers: Send extra headers
70
+
71
+ extra_query: Add additional query parameters to the request
72
+
73
+ extra_body: Add additional JSON properties to the request
74
+
75
+ timeout: Override the client-level default timeout for this request, in seconds
76
+ """
77
+ if not experience_name:
78
+ raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
79
+ return self._post(
80
+ f"/api/v1/experiences/types/{experience_name}/limit_config",
81
+ body=maybe_transform(
82
+ {
83
+ "max": max,
84
+ "limit_tags": limit_tags,
85
+ "limit_type": limit_type,
86
+ "threshold": threshold,
87
+ },
88
+ limit_config_create_params.LimitConfigCreateParams,
89
+ ),
90
+ options=make_request_options(
91
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
92
+ ),
93
+ cast_to=ExperienceType,
94
+ )
95
+
96
+ def delete(
97
+ self,
98
+ experience_name: str,
99
+ *,
100
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
101
+ # The extra values given here take precedence over values defined on the client or passed to this method.
102
+ extra_headers: Headers | None = None,
103
+ extra_query: Query | None = None,
104
+ extra_body: Body | None = None,
105
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
106
+ ) -> ExperienceType:
107
+ """
108
+ Delete an Experience Type default limit configuration
109
+
110
+ Args:
111
+ extra_headers: Send extra headers
112
+
113
+ extra_query: Add additional query parameters to the request
114
+
115
+ extra_body: Add additional JSON properties to the request
116
+
117
+ timeout: Override the client-level default timeout for this request, in seconds
118
+ """
119
+ if not experience_name:
120
+ raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
121
+ return self._delete(
122
+ f"/api/v1/experiences/types/{experience_name}/limit_config",
123
+ options=make_request_options(
124
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
125
+ ),
126
+ cast_to=ExperienceType,
127
+ )
128
+
129
+
130
+ class AsyncLimitConfigResource(AsyncAPIResource):
131
+ @cached_property
132
+ def with_raw_response(self) -> AsyncLimitConfigResourceWithRawResponse:
133
+ """
134
+ This property can be used as a prefix for any HTTP method call to return
135
+ the raw response object instead of the parsed content.
136
+
137
+ For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
138
+ """
139
+ return AsyncLimitConfigResourceWithRawResponse(self)
140
+
141
+ @cached_property
142
+ def with_streaming_response(self) -> AsyncLimitConfigResourceWithStreamingResponse:
143
+ """
144
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
145
+
146
+ For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
147
+ """
148
+ return AsyncLimitConfigResourceWithStreamingResponse(self)
149
+
150
+ async def create(
151
+ self,
152
+ experience_name: str,
153
+ *,
154
+ max: float,
155
+ limit_tags: Optional[List[str]] | NotGiven = NOT_GIVEN,
156
+ limit_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
157
+ threshold: Optional[float] | NotGiven = NOT_GIVEN,
158
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
159
+ # The extra values given here take precedence over values defined on the client or passed to this method.
160
+ extra_headers: Headers | None = None,
161
+ extra_query: Query | None = None,
162
+ extra_body: Body | None = None,
163
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
164
+ ) -> ExperienceType:
165
+ """
166
+ Create a new Experience Type default limit configuration
167
+
168
+ Args:
169
+ extra_headers: Send extra headers
170
+
171
+ extra_query: Add additional query parameters to the request
172
+
173
+ extra_body: Add additional JSON properties to the request
174
+
175
+ timeout: Override the client-level default timeout for this request, in seconds
176
+ """
177
+ if not experience_name:
178
+ raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
179
+ return await self._post(
180
+ f"/api/v1/experiences/types/{experience_name}/limit_config",
181
+ body=await async_maybe_transform(
182
+ {
183
+ "max": max,
184
+ "limit_tags": limit_tags,
185
+ "limit_type": limit_type,
186
+ "threshold": threshold,
187
+ },
188
+ limit_config_create_params.LimitConfigCreateParams,
189
+ ),
190
+ options=make_request_options(
191
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
192
+ ),
193
+ cast_to=ExperienceType,
194
+ )
195
+
196
+ async def delete(
197
+ self,
198
+ experience_name: str,
199
+ *,
200
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
201
+ # The extra values given here take precedence over values defined on the client or passed to this method.
202
+ extra_headers: Headers | None = None,
203
+ extra_query: Query | None = None,
204
+ extra_body: Body | None = None,
205
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
206
+ ) -> ExperienceType:
207
+ """
208
+ Delete an Experience Type default limit configuration
209
+
210
+ Args:
211
+ extra_headers: Send extra headers
212
+
213
+ extra_query: Add additional query parameters to the request
214
+
215
+ extra_body: Add additional JSON properties to the request
216
+
217
+ timeout: Override the client-level default timeout for this request, in seconds
218
+ """
219
+ if not experience_name:
220
+ raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
221
+ return await self._delete(
222
+ f"/api/v1/experiences/types/{experience_name}/limit_config",
223
+ options=make_request_options(
224
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
225
+ ),
226
+ cast_to=ExperienceType,
227
+ )
228
+
229
+
230
+ class LimitConfigResourceWithRawResponse:
231
+ def __init__(self, limit_config: LimitConfigResource) -> None:
232
+ self._limit_config = limit_config
233
+
234
+ self.create = to_raw_response_wrapper(
235
+ limit_config.create,
236
+ )
237
+ self.delete = to_raw_response_wrapper(
238
+ limit_config.delete,
239
+ )
240
+
241
+
242
+ class AsyncLimitConfigResourceWithRawResponse:
243
+ def __init__(self, limit_config: AsyncLimitConfigResource) -> None:
244
+ self._limit_config = limit_config
245
+
246
+ self.create = async_to_raw_response_wrapper(
247
+ limit_config.create,
248
+ )
249
+ self.delete = async_to_raw_response_wrapper(
250
+ limit_config.delete,
251
+ )
252
+
253
+
254
+ class LimitConfigResourceWithStreamingResponse:
255
+ def __init__(self, limit_config: LimitConfigResource) -> None:
256
+ self._limit_config = limit_config
257
+
258
+ self.create = to_streamed_response_wrapper(
259
+ limit_config.create,
260
+ )
261
+ self.delete = to_streamed_response_wrapper(
262
+ limit_config.delete,
263
+ )
264
+
265
+
266
+ class AsyncLimitConfigResourceWithStreamingResponse:
267
+ def __init__(self, limit_config: AsyncLimitConfigResource) -> None:
268
+ self._limit_config = limit_config
269
+
270
+ self.create = async_to_streamed_response_wrapper(
271
+ limit_config.create,
272
+ )
273
+ self.delete = async_to_streamed_response_wrapper(
274
+ limit_config.delete,
275
+ )
@@ -6,28 +6,40 @@ from typing import Optional
6
6
 
7
7
  import httpx
8
8
 
9
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10
- from ..._utils import (
9
+ from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10
+ from ...._utils import (
11
11
  maybe_transform,
12
12
  async_maybe_transform,
13
13
  )
14
- from ..._compat import cached_property
15
- from ..._resource import SyncAPIResource, AsyncAPIResource
16
- from ..._response import (
14
+ from ...._compat import cached_property
15
+ from ...._resource import SyncAPIResource, AsyncAPIResource
16
+ from ...._response import (
17
17
  to_raw_response_wrapper,
18
18
  to_streamed_response_wrapper,
19
19
  async_to_raw_response_wrapper,
20
20
  async_to_streamed_response_wrapper,
21
21
  )
22
- from ..._base_client import make_request_options
23
- from ...types.experiences import type_list_params, type_create_params, type_update_params
24
- from ...types.experiences.experience_type import ExperienceType
25
- from ...types.experiences.type_list_response import TypeListResponse
22
+ from .limit_config import (
23
+ LimitConfigResource,
24
+ AsyncLimitConfigResource,
25
+ LimitConfigResourceWithRawResponse,
26
+ AsyncLimitConfigResourceWithRawResponse,
27
+ LimitConfigResourceWithStreamingResponse,
28
+ AsyncLimitConfigResourceWithStreamingResponse,
29
+ )
30
+ from ...._base_client import make_request_options
31
+ from ....types.experiences import type_list_params, type_create_params, type_update_params
32
+ from ....types.experiences.experience_type import ExperienceType
33
+ from ....types.experiences.type_list_response import TypeListResponse
26
34
 
27
35
  __all__ = ["TypesResource", "AsyncTypesResource"]
28
36
 
29
37
 
30
38
  class TypesResource(SyncAPIResource):
39
+ @cached_property
40
+ def limit_config(self) -> LimitConfigResource:
41
+ return LimitConfigResource(self._client)
42
+
31
43
  @cached_property
32
44
  def with_raw_response(self) -> TypesResourceWithRawResponse:
33
45
  """
@@ -52,6 +64,7 @@ class TypesResource(SyncAPIResource):
52
64
  *,
53
65
  description: str,
54
66
  name: str,
67
+ limit_config: type_create_params.LimitConfig | NotGiven = NOT_GIVEN,
55
68
  logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
56
69
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
57
70
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -78,6 +91,7 @@ class TypesResource(SyncAPIResource):
78
91
  {
79
92
  "description": description,
80
93
  "name": name,
94
+ "limit_config": limit_config,
81
95
  "logging_enabled": logging_enabled,
82
96
  },
83
97
  type_create_params.TypeCreateParams,
@@ -125,7 +139,7 @@ class TypesResource(SyncAPIResource):
125
139
  self,
126
140
  experience_name: str,
127
141
  *,
128
- description: Optional[str],
142
+ description: Optional[str] | NotGiven = NOT_GIVEN,
129
143
  logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
130
144
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
131
145
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -235,6 +249,10 @@ class TypesResource(SyncAPIResource):
235
249
 
236
250
 
237
251
  class AsyncTypesResource(AsyncAPIResource):
252
+ @cached_property
253
+ def limit_config(self) -> AsyncLimitConfigResource:
254
+ return AsyncLimitConfigResource(self._client)
255
+
238
256
  @cached_property
239
257
  def with_raw_response(self) -> AsyncTypesResourceWithRawResponse:
240
258
  """
@@ -259,6 +277,7 @@ class AsyncTypesResource(AsyncAPIResource):
259
277
  *,
260
278
  description: str,
261
279
  name: str,
280
+ limit_config: type_create_params.LimitConfig | NotGiven = NOT_GIVEN,
262
281
  logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
263
282
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
264
283
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -285,6 +304,7 @@ class AsyncTypesResource(AsyncAPIResource):
285
304
  {
286
305
  "description": description,
287
306
  "name": name,
307
+ "limit_config": limit_config,
288
308
  "logging_enabled": logging_enabled,
289
309
  },
290
310
  type_create_params.TypeCreateParams,
@@ -332,7 +352,7 @@ class AsyncTypesResource(AsyncAPIResource):
332
352
  self,
333
353
  experience_name: str,
334
354
  *,
335
- description: Optional[str],
355
+ description: Optional[str] | NotGiven = NOT_GIVEN,
336
356
  logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
337
357
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
338
358
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -461,6 +481,10 @@ class TypesResourceWithRawResponse:
461
481
  types.delete,
462
482
  )
463
483
 
484
+ @cached_property
485
+ def limit_config(self) -> LimitConfigResourceWithRawResponse:
486
+ return LimitConfigResourceWithRawResponse(self._types.limit_config)
487
+
464
488
 
465
489
  class AsyncTypesResourceWithRawResponse:
466
490
  def __init__(self, types: AsyncTypesResource) -> None:
@@ -482,6 +506,10 @@ class AsyncTypesResourceWithRawResponse:
482
506
  types.delete,
483
507
  )
484
508
 
509
+ @cached_property
510
+ def limit_config(self) -> AsyncLimitConfigResourceWithRawResponse:
511
+ return AsyncLimitConfigResourceWithRawResponse(self._types.limit_config)
512
+
485
513
 
486
514
  class TypesResourceWithStreamingResponse:
487
515
  def __init__(self, types: TypesResource) -> None:
@@ -503,6 +531,10 @@ class TypesResourceWithStreamingResponse:
503
531
  types.delete,
504
532
  )
505
533
 
534
+ @cached_property
535
+ def limit_config(self) -> LimitConfigResourceWithStreamingResponse:
536
+ return LimitConfigResourceWithStreamingResponse(self._types.limit_config)
537
+
506
538
 
507
539
  class AsyncTypesResourceWithStreamingResponse:
508
540
  def __init__(self, types: AsyncTypesResource) -> None:
@@ -523,3 +555,7 @@ class AsyncTypesResourceWithStreamingResponse:
523
555
  self.delete = async_to_streamed_response_wrapper(
524
556
  types.delete,
525
557
  )
558
+
559
+ @cached_property
560
+ def limit_config(self) -> AsyncLimitConfigResourceWithStreamingResponse:
561
+ return AsyncLimitConfigResourceWithStreamingResponse(self._types.limit_config)
@@ -69,8 +69,7 @@ class LimitsResource(SyncAPIResource):
69
69
  limit_name: str,
70
70
  max: float,
71
71
  billing_model_id: Optional[str] | NotGiven = NOT_GIVEN,
72
- cost_basis: Literal["base", "billed"] | NotGiven = NOT_GIVEN,
73
- currency: Literal["usd"] | NotGiven = NOT_GIVEN,
72
+ limit_basis: Literal["base", "billed"] | NotGiven = NOT_GIVEN,
74
73
  limit_tags: Optional[List[str]] | NotGiven = NOT_GIVEN,
75
74
  limit_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
76
75
  threshold: Optional[float] | NotGiven = NOT_GIVEN,
@@ -100,8 +99,7 @@ class LimitsResource(SyncAPIResource):
100
99
  "limit_name": limit_name,
101
100
  "max": max,
102
101
  "billing_model_id": billing_model_id,
103
- "cost_basis": cost_basis,
104
- "currency": currency,
102
+ "limit_basis": limit_basis,
105
103
  "limit_tags": limit_tags,
106
104
  "limit_type": limit_type,
107
105
  "threshold": threshold,
@@ -343,8 +341,7 @@ class AsyncLimitsResource(AsyncAPIResource):
343
341
  limit_name: str,
344
342
  max: float,
345
343
  billing_model_id: Optional[str] | NotGiven = NOT_GIVEN,
346
- cost_basis: Literal["base", "billed"] | NotGiven = NOT_GIVEN,
347
- currency: Literal["usd"] | NotGiven = NOT_GIVEN,
344
+ limit_basis: Literal["base", "billed"] | NotGiven = NOT_GIVEN,
348
345
  limit_tags: Optional[List[str]] | NotGiven = NOT_GIVEN,
349
346
  limit_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
350
347
  threshold: Optional[float] | NotGiven = NOT_GIVEN,
@@ -374,8 +371,7 @@ class AsyncLimitsResource(AsyncAPIResource):
374
371
  "limit_name": limit_name,
375
372
  "max": max,
376
373
  "billing_model_id": billing_model_id,
377
- "cost_basis": cost_basis,
378
- "currency": currency,
374
+ "limit_basis": limit_basis,
379
375
  "limit_tags": limit_tags,
380
376
  "limit_type": limit_type,
381
377
  "threshold": threshold,
@@ -1,5 +1,13 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ from .result import (
4
+ ResultResource,
5
+ AsyncResultResource,
6
+ ResultResourceWithRawResponse,
7
+ AsyncResultResourceWithRawResponse,
8
+ ResultResourceWithStreamingResponse,
9
+ AsyncResultResourceWithStreamingResponse,
10
+ )
3
11
  from .requests import (
4
12
  RequestsResource,
5
13
  AsyncRequestsResource,
@@ -24,6 +32,12 @@ __all__ = [
24
32
  "AsyncPropertiesResourceWithRawResponse",
25
33
  "PropertiesResourceWithStreamingResponse",
26
34
  "AsyncPropertiesResourceWithStreamingResponse",
35
+ "ResultResource",
36
+ "AsyncResultResource",
37
+ "ResultResourceWithRawResponse",
38
+ "AsyncResultResourceWithRawResponse",
39
+ "ResultResourceWithStreamingResponse",
40
+ "AsyncResultResourceWithStreamingResponse",
27
41
  "RequestsResource",
28
42
  "AsyncRequestsResource",
29
43
  "RequestsResourceWithRawResponse",
@@ -2,6 +2,14 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from .result import (
6
+ ResultResource,
7
+ AsyncResultResource,
8
+ ResultResourceWithRawResponse,
9
+ AsyncResultResourceWithRawResponse,
10
+ ResultResourceWithStreamingResponse,
11
+ AsyncResultResourceWithStreamingResponse,
12
+ )
5
13
  from ..._compat import cached_property
6
14
  from .properties import (
7
15
  PropertiesResource,
@@ -21,6 +29,10 @@ class RequestsResource(SyncAPIResource):
21
29
  def properties(self) -> PropertiesResource:
22
30
  return PropertiesResource(self._client)
23
31
 
32
+ @cached_property
33
+ def result(self) -> ResultResource:
34
+ return ResultResource(self._client)
35
+
24
36
  @cached_property
25
37
  def with_raw_response(self) -> RequestsResourceWithRawResponse:
26
38
  """
@@ -46,6 +58,10 @@ class AsyncRequestsResource(AsyncAPIResource):
46
58
  def properties(self) -> AsyncPropertiesResource:
47
59
  return AsyncPropertiesResource(self._client)
48
60
 
61
+ @cached_property
62
+ def result(self) -> AsyncResultResource:
63
+ return AsyncResultResource(self._client)
64
+
49
65
  @cached_property
50
66
  def with_raw_response(self) -> AsyncRequestsResourceWithRawResponse:
51
67
  """
@@ -74,6 +90,10 @@ class RequestsResourceWithRawResponse:
74
90
  def properties(self) -> PropertiesResourceWithRawResponse:
75
91
  return PropertiesResourceWithRawResponse(self._requests.properties)
76
92
 
93
+ @cached_property
94
+ def result(self) -> ResultResourceWithRawResponse:
95
+ return ResultResourceWithRawResponse(self._requests.result)
96
+
77
97
 
78
98
  class AsyncRequestsResourceWithRawResponse:
79
99
  def __init__(self, requests: AsyncRequestsResource) -> None:
@@ -83,6 +103,10 @@ class AsyncRequestsResourceWithRawResponse:
83
103
  def properties(self) -> AsyncPropertiesResourceWithRawResponse:
84
104
  return AsyncPropertiesResourceWithRawResponse(self._requests.properties)
85
105
 
106
+ @cached_property
107
+ def result(self) -> AsyncResultResourceWithRawResponse:
108
+ return AsyncResultResourceWithRawResponse(self._requests.result)
109
+
86
110
 
87
111
  class RequestsResourceWithStreamingResponse:
88
112
  def __init__(self, requests: RequestsResource) -> None:
@@ -92,6 +116,10 @@ class RequestsResourceWithStreamingResponse:
92
116
  def properties(self) -> PropertiesResourceWithStreamingResponse:
93
117
  return PropertiesResourceWithStreamingResponse(self._requests.properties)
94
118
 
119
+ @cached_property
120
+ def result(self) -> ResultResourceWithStreamingResponse:
121
+ return ResultResourceWithStreamingResponse(self._requests.result)
122
+
95
123
 
96
124
  class AsyncRequestsResourceWithStreamingResponse:
97
125
  def __init__(self, requests: AsyncRequestsResource) -> None:
@@ -100,3 +128,7 @@ class AsyncRequestsResourceWithStreamingResponse:
100
128
  @cached_property
101
129
  def properties(self) -> AsyncPropertiesResourceWithStreamingResponse:
102
130
  return AsyncPropertiesResourceWithStreamingResponse(self._requests.properties)
131
+
132
+ @cached_property
133
+ def result(self) -> AsyncResultResourceWithStreamingResponse:
134
+ return AsyncResultResourceWithStreamingResponse(self._requests.result)
@@ -0,0 +1,169 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ import httpx
6
+
7
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
8
+ from ..._compat import cached_property
9
+ from ..._resource import SyncAPIResource, AsyncAPIResource
10
+ from ..._response import (
11
+ to_raw_response_wrapper,
12
+ to_streamed_response_wrapper,
13
+ async_to_raw_response_wrapper,
14
+ async_to_streamed_response_wrapper,
15
+ )
16
+ from ..._base_client import make_request_options
17
+ from ...types.requests.request_result import RequestResult
18
+
19
+ __all__ = ["ResultResource", "AsyncResultResource"]
20
+
21
+
22
+ class ResultResource(SyncAPIResource):
23
+ @cached_property
24
+ def with_raw_response(self) -> ResultResourceWithRawResponse:
25
+ """
26
+ This property can be used as a prefix for any HTTP method call to return
27
+ the raw response object instead of the parsed content.
28
+
29
+ For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
30
+ """
31
+ return ResultResourceWithRawResponse(self)
32
+
33
+ @cached_property
34
+ def with_streaming_response(self) -> ResultResourceWithStreamingResponse:
35
+ """
36
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
37
+
38
+ For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
39
+ """
40
+ return ResultResourceWithStreamingResponse(self)
41
+
42
+ def retrieve(
43
+ self,
44
+ request_id: str,
45
+ *,
46
+ category: str,
47
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
48
+ # The extra values given here take precedence over values defined on the client or passed to this method.
49
+ extra_headers: Headers | None = None,
50
+ extra_query: Query | None = None,
51
+ extra_body: Body | None = None,
52
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
53
+ ) -> RequestResult:
54
+ """
55
+ Get a Request results
56
+
57
+ Args:
58
+ extra_headers: Send extra headers
59
+
60
+ extra_query: Add additional query parameters to the request
61
+
62
+ extra_body: Add additional JSON properties to the request
63
+
64
+ timeout: Override the client-level default timeout for this request, in seconds
65
+ """
66
+ if not category:
67
+ raise ValueError(f"Expected a non-empty value for `category` but received {category!r}")
68
+ if not request_id:
69
+ raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
70
+ return self._get(
71
+ f"/api/v1/requests/result/{category}/{request_id}",
72
+ options=make_request_options(
73
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
74
+ ),
75
+ cast_to=RequestResult,
76
+ )
77
+
78
+
79
+ class AsyncResultResource(AsyncAPIResource):
80
+ @cached_property
81
+ def with_raw_response(self) -> AsyncResultResourceWithRawResponse:
82
+ """
83
+ This property can be used as a prefix for any HTTP method call to return
84
+ the raw response object instead of the parsed content.
85
+
86
+ For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
87
+ """
88
+ return AsyncResultResourceWithRawResponse(self)
89
+
90
+ @cached_property
91
+ def with_streaming_response(self) -> AsyncResultResourceWithStreamingResponse:
92
+ """
93
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
94
+
95
+ For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
96
+ """
97
+ return AsyncResultResourceWithStreamingResponse(self)
98
+
99
+ async def retrieve(
100
+ self,
101
+ request_id: str,
102
+ *,
103
+ category: str,
104
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
105
+ # The extra values given here take precedence over values defined on the client or passed to this method.
106
+ extra_headers: Headers | None = None,
107
+ extra_query: Query | None = None,
108
+ extra_body: Body | None = None,
109
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
110
+ ) -> RequestResult:
111
+ """
112
+ Get a Request results
113
+
114
+ Args:
115
+ extra_headers: Send extra headers
116
+
117
+ extra_query: Add additional query parameters to the request
118
+
119
+ extra_body: Add additional JSON properties to the request
120
+
121
+ timeout: Override the client-level default timeout for this request, in seconds
122
+ """
123
+ if not category:
124
+ raise ValueError(f"Expected a non-empty value for `category` but received {category!r}")
125
+ if not request_id:
126
+ raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
127
+ return await self._get(
128
+ f"/api/v1/requests/result/{category}/{request_id}",
129
+ options=make_request_options(
130
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
131
+ ),
132
+ cast_to=RequestResult,
133
+ )
134
+
135
+
136
+ class ResultResourceWithRawResponse:
137
+ def __init__(self, result: ResultResource) -> None:
138
+ self._result = result
139
+
140
+ self.retrieve = to_raw_response_wrapper(
141
+ result.retrieve,
142
+ )
143
+
144
+
145
+ class AsyncResultResourceWithRawResponse:
146
+ def __init__(self, result: AsyncResultResource) -> None:
147
+ self._result = result
148
+
149
+ self.retrieve = async_to_raw_response_wrapper(
150
+ result.retrieve,
151
+ )
152
+
153
+
154
+ class ResultResourceWithStreamingResponse:
155
+ def __init__(self, result: ResultResource) -> None:
156
+ self._result = result
157
+
158
+ self.retrieve = to_streamed_response_wrapper(
159
+ result.retrieve,
160
+ )
161
+
162
+
163
+ class AsyncResultResourceWithStreamingResponse:
164
+ def __init__(self, result: AsyncResultResource) -> None:
165
+ self._result = result
166
+
167
+ self.retrieve = async_to_streamed_response_wrapper(
168
+ result.retrieve,
169
+ )
payi/types/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from .shared import EvaluationResponse as EvaluationResponse
5
+ from .shared import PayICommonModelsBudgetManagementCostDetailsBase as PayICommonModelsBudgetManagementCostDetailsBase
6
6
  from .cost_data import CostData as CostData
7
7
  from .cost_details import CostDetails as CostDetails
8
8
  from .billing_model import BillingModel as BillingModel
payi/types/cost_data.py CHANGED
@@ -3,13 +3,16 @@
3
3
 
4
4
  from .._models import BaseModel
5
5
  from .cost_details import CostDetails
6
+ from .shared.pay_i_common_models_budget_management_cost_details_base import (
7
+ PayICommonModelsBudgetManagementCostDetailsBase,
8
+ )
6
9
 
7
10
  __all__ = ["CostData"]
8
11
 
9
12
 
10
13
  class CostData(BaseModel):
11
- input: CostDetails
14
+ input: PayICommonModelsBudgetManagementCostDetailsBase
12
15
 
13
- output: CostDetails
16
+ output: PayICommonModelsBudgetManagementCostDetailsBase
14
17
 
15
18
  total: CostDetails
@@ -1,6 +1,6 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- from typing import Dict
3
+ from typing import Optional
4
4
 
5
5
  from .._models import BaseModel
6
6
 
@@ -10,6 +10,4 @@ __all__ = ["ExperienceInstanceResponse"]
10
10
  class ExperienceInstanceResponse(BaseModel):
11
11
  experience_id: str
12
12
 
13
- properties: Dict[str, str]
14
-
15
- request_id: str
13
+ limit_id: Optional[str] = None
@@ -1,10 +1,21 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- from typing import Optional
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
4
5
 
5
6
  from ..._models import BaseModel
6
7
 
7
- __all__ = ["ExperienceType"]
8
+ __all__ = ["ExperienceType", "LimitConfig"]
9
+
10
+
11
+ class LimitConfig(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
8
19
 
9
20
 
10
21
  class ExperienceType(BaseModel):
@@ -14,4 +25,6 @@ class ExperienceType(BaseModel):
14
25
 
15
26
  request_id: str
16
27
 
28
+ limit_config: Optional[LimitConfig] = None
29
+
17
30
  logging_enabled: Optional[bool] = None
@@ -2,10 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import Optional
6
- from typing_extensions import Required, TypedDict
5
+ from typing import List, Optional
6
+ from typing_extensions import Literal, Required, TypedDict
7
7
 
8
- __all__ = ["TypeCreateParams"]
8
+ __all__ = ["TypeCreateParams", "LimitConfig"]
9
9
 
10
10
 
11
11
  class TypeCreateParams(TypedDict, total=False):
@@ -13,4 +13,16 @@ class TypeCreateParams(TypedDict, total=False):
13
13
 
14
14
  name: Required[str]
15
15
 
16
+ limit_config: LimitConfig
17
+
16
18
  logging_enabled: Optional[bool]
19
+
20
+
21
+ class LimitConfig(TypedDict, total=False):
22
+ max: Required[float]
23
+
24
+ limit_tags: Optional[List[str]]
25
+
26
+ limit_type: Literal["block", "allow"]
27
+
28
+ threshold: Optional[float]
@@ -3,12 +3,12 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  from typing import Optional
6
- from typing_extensions import Required, TypedDict
6
+ from typing_extensions import TypedDict
7
7
 
8
8
  __all__ = ["TypeUpdateParams"]
9
9
 
10
10
 
11
11
  class TypeUpdateParams(TypedDict, total=False):
12
- description: Required[Optional[str]]
12
+ description: Optional[str]
13
13
 
14
14
  logging_enabled: Optional[bool]
@@ -0,0 +1,5 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .limit_config_create_params import LimitConfigCreateParams as LimitConfigCreateParams
@@ -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]
@@ -6,6 +6,9 @@ from typing_extensions import Literal
6
6
 
7
7
  from .._models import BaseModel
8
8
  from .cost_details import CostDetails
9
+ from .shared.pay_i_common_models_budget_management_cost_details_base import (
10
+ PayICommonModelsBudgetManagementCostDetailsBase,
11
+ )
9
12
 
10
13
  __all__ = ["IngestResponse", "XproxyResult", "XproxyResultCost", "XproxyResultLimits"]
11
14
 
@@ -13,9 +16,9 @@ __all__ = ["IngestResponse", "XproxyResult", "XproxyResultCost", "XproxyResultLi
13
16
  class XproxyResultCost(BaseModel):
14
17
  currency: Optional[Literal["usd"]] = None
15
18
 
16
- input: Optional[CostDetails] = None
19
+ input: Optional[PayICommonModelsBudgetManagementCostDetailsBase] = None
17
20
 
18
- output: Optional[CostDetails] = None
21
+ output: Optional[PayICommonModelsBudgetManagementCostDetailsBase] = None
19
22
 
20
23
  total: Optional[CostDetails] = None
21
24
 
@@ -25,6 +28,8 @@ class XproxyResultLimits(BaseModel):
25
28
 
26
29
 
27
30
  class XproxyResult(BaseModel):
31
+ blocked_limit_ids: Optional[List[str]] = None
32
+
28
33
  cost: Optional[XproxyResultCost] = None
29
34
 
30
35
  experience_id: Optional[str] = None
@@ -15,9 +15,7 @@ class LimitCreateParams(TypedDict, total=False):
15
15
 
16
16
  billing_model_id: Optional[str]
17
17
 
18
- cost_basis: Literal["base", "billed"]
19
-
20
- currency: Literal["usd"]
18
+ limit_basis: Literal["base", "billed"]
21
19
 
22
20
  limit_tags: Optional[List[str]]
23
21
 
@@ -11,8 +11,6 @@ __all__ = ["LimitResponse", "Limit"]
11
11
 
12
12
 
13
13
  class Limit(BaseModel):
14
- currency: Literal["usd"]
15
-
16
14
  limit_creation_timestamp: datetime
17
15
 
18
16
  limit_id: str
@@ -13,8 +13,6 @@ __all__ = ["PagedLimitList", "Item"]
13
13
 
14
14
 
15
15
  class Item(BaseModel):
16
- currency: Literal["usd"]
17
-
18
16
  limit_creation_timestamp: datetime
19
17
 
20
18
  limit_id: str
@@ -2,4 +2,5 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from .request_result import RequestResult as RequestResult
5
6
  from .property_create_params import PropertyCreateParams as PropertyCreateParams
@@ -0,0 +1,48 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Dict, List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from ..._models import BaseModel
7
+ from ..cost_details import CostDetails
8
+ from ..shared.pay_i_common_models_budget_management_cost_details_base import (
9
+ PayICommonModelsBudgetManagementCostDetailsBase,
10
+ )
11
+
12
+ __all__ = ["RequestResult", "XproxyResult", "XproxyResultCost", "XproxyResultLimits"]
13
+
14
+
15
+ class XproxyResultCost(BaseModel):
16
+ currency: Optional[Literal["usd"]] = None
17
+
18
+ input: Optional[PayICommonModelsBudgetManagementCostDetailsBase] = None
19
+
20
+ output: Optional[PayICommonModelsBudgetManagementCostDetailsBase] = None
21
+
22
+ total: Optional[CostDetails] = None
23
+
24
+
25
+ class XproxyResultLimits(BaseModel):
26
+ state: Optional[Literal["ok", "blocked", "blocked_external", "exceeded", "overrun", "failed"]] = None
27
+
28
+
29
+ class XproxyResult(BaseModel):
30
+ blocked_limit_ids: Optional[List[str]] = None
31
+
32
+ cost: Optional[XproxyResultCost] = None
33
+
34
+ experience_id: Optional[str] = None
35
+
36
+ limits: Optional[Dict[str, XproxyResultLimits]] = None
37
+
38
+ request_id: Optional[str] = None
39
+
40
+ request_tags: Optional[List[str]] = None
41
+
42
+ resource_id: Optional[str] = None
43
+
44
+ user_id: Optional[str] = None
45
+
46
+
47
+ class RequestResult(BaseModel):
48
+ xproxy_result: XproxyResult
@@ -1,3 +1,5 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- from .evaluation_response import EvaluationResponse as EvaluationResponse
3
+ from .pay_i_common_models_budget_management_cost_details_base import (
4
+ PayICommonModelsBudgetManagementCostDetailsBase as PayICommonModelsBudgetManagementCostDetailsBase,
5
+ )
@@ -0,0 +1,10 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+
4
+ from ..._models import BaseModel
5
+
6
+ __all__ = ["PayICommonModelsBudgetManagementCostDetailsBase"]
7
+
8
+
9
+ class PayICommonModelsBudgetManagementCostDetailsBase(BaseModel):
10
+ base: float
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: payi
3
- Version: 0.1.0a37
3
+ Version: 0.1.0a38
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
@@ -11,7 +11,7 @@ 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=A67yjD8NLx9gXE9bL3Mfhrk1I_WHFEwI9UTylp6UwFw,165
14
+ payi/_version.py,sha256=uhFgvjXGv4Bcm_dtpDLj6GUOkYi8xP6Mz9Ctz2H_Lqc,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
@@ -37,16 +37,19 @@ payi/resources/categories/__init__.py,sha256=w5gMiPdBSzJA_qfoVtFBElaoe8wGf_O63R7
37
37
  payi/resources/categories/categories.py,sha256=FohmajDcadMXzhG3Z1HKGkbSImO7rhzQ0olZXHz8z48,16074
38
38
  payi/resources/categories/resources.py,sha256=6NriQERc9qsMjsdK3pKVCHClf33T2RFiMF4dp7QI3r4,18704
39
39
  payi/resources/experiences/__init__.py,sha256=Qiyv7Tv6UC-wWpb7XVTyHvBRE0IZTnEpykFpP27xKe0,1556
40
- payi/resources/experiences/experiences.py,sha256=ZqxkGgyfsEAS6AQhHdIdngvNt4zir6-WeB8W_NBY1io,14574
40
+ payi/resources/experiences/experiences.py,sha256=m_-C_gF-dX8aBL0OYLTsT6-NSyXTaDFWoxv8l6tPOZI,14580
41
41
  payi/resources/experiences/properties.py,sha256=CzuxZ0Guf57oFvm8hwjAp6EaALxC8QM84xu_JKHk-Ww,6568
42
- payi/resources/experiences/types.py,sha256=PcxmOC9AhYghEeLa90iW1Tnda-34V9NgK8KEWdmWMvk,19372
42
+ payi/resources/experiences/types/__init__.py,sha256=42loJPPtbwZ4qrqa1gKEg2CG5PLxCNKfOF113sIOJZc,1055
43
+ payi/resources/experiences/types/limit_config.py,sha256=DFMLM3aAuPv2oQQaDfNe871tOWBBY05QOpbf2Xytfo4,10617
44
+ payi/resources/experiences/types/types.py,sha256=OaunwbUrkRvBp6RMOTP1ORp9ZRKknNoMItINefvx7lA,20902
43
45
  payi/resources/limits/__init__.py,sha256=URXh9vglDH-dqbVGk-XcrDa8H5Bg2pgFuVQQecgEtaA,976
44
- payi/resources/limits/limits.py,sha256=_kpMb05GnyurCoy9F8WELFy1XYd60jhK-rrIByBqvGs,25824
46
+ payi/resources/limits/limits.py,sha256=2eYXyAWn3J3sBB-kn2lVU8XWqGtt5JleqySeLsuTXLY,25632
45
47
  payi/resources/limits/tags.py,sha256=s_3sIUOLZ-z67ZKRGzcFia6kBxI6POXTneP8hzNZ78o,18725
46
- payi/resources/requests/__init__.py,sha256=sWDD18RLuwPB2yzxA29HiwhFdmjZAxzy1qK_4abAZ9E,1080
48
+ payi/resources/requests/__init__.py,sha256=k7ipgDb5QXAv7WYhgQq0-6Zn9INJikMzRGexufceHeI,1530
47
49
  payi/resources/requests/properties.py,sha256=ZsUeTMKQB4PNXn-jeoRwG-fqwpXzkRQyrFB8GmaNiQg,6466
48
- payi/resources/requests/requests.py,sha256=c-kt-qnrD17FvSrxBGoSBFbQDBEYDuJrf23-rPGzN1k,3763
49
- payi/types/__init__.py,sha256=YPxEXBR-SY7g78u8cKi5cohvuRUlMmUfsY3hS-baOvo,2796
50
+ payi/resources/requests/requests.py,sha256=uxfdUe_mNmG5kzHTa4YcS5m2wwIc5h__YSx54LfiLWQ,4840
51
+ payi/resources/requests/result.py,sha256=dEIwYEi_p36t_hErr_V1E2hmBLLgopcLnIReAWT8ygk,6161
52
+ payi/types/__init__.py,sha256=WZhGgB9kGD48NljvFFu3TeLhA_PKqDdMUsnxvSKxhc4,2854
50
53
  payi/types/billing_model.py,sha256=zwpKldc0WvS3iGKtDb9KvfxCd3lkv8F4TwFy3ciGMXg,639
51
54
  payi/types/billing_model_create_params.py,sha256=iVvmCcw0VxXGI_0YolknD3gmDH2lXVydU1dg2IY4dC4,547
52
55
  payi/types/billing_model_list_response.py,sha256=hOFjJPQAKiWEArZeZwd8e1lDi5e41zbN6NvV_1rzJeM,290
@@ -58,21 +61,21 @@ payi/types/category_list_resources_response.py,sha256=n0DxY7N3Iftwfl0lUEx5v55V0k
58
61
  payi/types/category_list_response.py,sha256=5i7BhQ7kVlx8_r2MLJqAJwIELGitKE0uR63kIloLATI,294
59
62
  payi/types/category_resource_response.py,sha256=dZTQCJVaPdFCObHe2zUg6kKaHDtsgVzrO7FeyozHOs0,679
60
63
  payi/types/category_response.py,sha256=43i8bii20Sb-z9R5M1Ia6RGfRZmdQqsWPlv4Bl1XQf0,293
61
- payi/types/cost_data.py,sha256=PDmleZu-HKKOIh_EZ5EgWvpGiTUSJQadsxedWhFVgEI,283
64
+ payi/types/cost_data.py,sha256=1i842P25SBy2sB3OWGj9LO_mMKtzmyUPBrqY_mSw01o,488
62
65
  payi/types/cost_details.py,sha256=w9p79opEG3kcsjkRRP7niaMcUswdfB4Y7HCkVTcQ1zQ,307
63
66
  payi/types/default_response.py,sha256=o617LpRsCIZHCZxAc5nVI2JQ3HPGZo4gCDvSDkxkIJ8,270
64
- payi/types/experience_instance_response.py,sha256=YVWjFpCMAFXsXbU5tgMKrvXHC2F5MsTWdltzRiCUIQA,309
67
+ payi/types/experience_instance_response.py,sha256=N07MH6hjs1ISHLVpR2FG-u4awsZ_GGi97UNMXAWV1yA,296
65
68
  payi/types/ingest_bulk_params.py,sha256=d76YwiXaNeltLS3w86ZxLzTKGa7ymGLJDSelaMQGf8Y,382
66
69
  payi/types/ingest_event_param.py,sha256=wA9YuiQceNL3veHO_rVuKZg9o-EB1WLoz0aaF6Wcm-k,1498
67
- payi/types/ingest_response.py,sha256=14VWaX91XuVZth1JBHY1djw8nF-0o6EK4N_WPq_p-Wc,1193
70
+ payi/types/ingest_response.py,sha256=KZfsgUhC942QkkjDFMqjJwCRoO2vkXv-Sx3X_xjijfg,1449
68
71
  payi/types/ingest_units_params.py,sha256=0s_j6268ZmeXDw9lQ_HKLldA_EvNyPcOxM6kFxLwxkA,1749
69
- payi/types/limit_create_params.py,sha256=SbNoXHwy24kTTOxDhtcewtKxEkmXtTLYh4CTGysojys,578
72
+ payi/types/limit_create_params.py,sha256=Av8oMCxlKH7VB2MtYN5-25rAjqDDTPHjsXIQ2xubmck,549
70
73
  payi/types/limit_history_response.py,sha256=sCx2qKBiHU9X2KrYWV8NZiarYMGurof5GF4QobR2-EU,787
71
74
  payi/types/limit_list_params.py,sha256=iWM67oL53y2IZ7D3Gyy8mdYv-B7vF-rbmRFn7SBUnJk,364
72
75
  payi/types/limit_reset_params.py,sha256=vgqImSM89pRYY0Z2RNrJuQ6WeDX72ZPg3GWpL9EVEKs,476
73
- payi/types/limit_response.py,sha256=wYNsbsm5oMtF7W1sTbxlZ5VE0XaS_UbP6y7ZXGKfwqk,752
76
+ payi/types/limit_response.py,sha256=OmoFlpz_6s9YhDM_3RxXjmYaaYJG0VCWu-lqqyfMa-k,722
74
77
  payi/types/limit_update_params.py,sha256=crY4w75FWcEXbzysq1rPfD37qR5PTy_dwVRY4C_-T1w,331
75
- payi/types/paged_limit_list.py,sha256=tUMj5FsxXHGfBubxxltwahwiTl4TaCiVHpv4zmrTb4Q,1314
78
+ payi/types/paged_limit_list.py,sha256=76bEcU1u64Zi9X6DoSpfbuJtE8zbWt5dL_0rnN6Nnt0,1284
76
79
  payi/types/pay_i_common_models_api_router_header_info_param.py,sha256=91djoPLmoaMWTQOXv9-Ox24dWIrM2hudrRQTCqZpX4c,381
77
80
  payi/types/price_modifier.py,sha256=Sw_5tzCGnpjQzR5aZ70_ATpfBRQA_0ue2NRM3yMcvj0,531
78
81
  payi/types/price_modifier_create_params.py,sha256=RpcYr2JYFu-pxzY4Dx1ESMp9-FBHfKt03Iw-3tlZvXQ,404
@@ -84,13 +87,15 @@ payi/types/categories/__init__.py,sha256=HQScxfK3F_J9HYbphrhG6bYb7S6vtrwafLViar5
84
87
  payi/types/categories/resource_create_params.py,sha256=jEXNx_FvWA9D5170Gwf_YUcuAOaDq0RIGaGgPSEsheA,725
85
88
  payi/types/categories/resource_list_response.py,sha256=ODMelDlXvYcwxBsJwTX8miofywUY_JB0OvsFVCKJunU,320
86
89
  payi/types/experiences/__init__.py,sha256=-3_HQPYDVAP6g9e289iSBPU8kmEUt4WPNEbV1n4v5Ow,610
87
- payi/types/experiences/experience_type.py,sha256=1L08GHoLAfdBwE691RidkHIukpyqqO2_toL5CcWxE4k,315
90
+ payi/types/experiences/experience_type.py,sha256=QO3UZFuFZc4opk2iDf37aXJ0dk5Ut6dnkcuxYLOZeEE,612
88
91
  payi/types/experiences/properties_response.py,sha256=HpFNtxl_OjoMCs24xPVZLKe3FwCVcNkcRs0LsQKLrHM,259
89
92
  payi/types/experiences/property_create_params.py,sha256=6v1L_4pj5N5k386cbtjSAWr2QJw---WUJ5lyshRnMwc,328
90
- payi/types/experiences/type_create_params.py,sha256=56vS9kTHex1eU9QQ-DWjBMqoHNhOukPZUY4jgGhnJnQ,376
93
+ payi/types/experiences/type_create_params.py,sha256=kYm-kuPhe9NVTGs0g0bKzSerVi1ERndicZVZwxLs8ok,619
91
94
  payi/types/experiences/type_list_params.py,sha256=VDZjHmK2tNAW_YLewcIzM-OG13iI2v-xCykokxkcgbs,286
92
95
  payi/types/experiences/type_list_response.py,sha256=DgkPLw40oUqBETLePVMVenstMsGG12rZRU9w6kgQN28,280
93
- payi/types/experiences/type_update_params.py,sha256=izwlElQB-jeFFX3K6S2TqVUMmhU0KTmwScQ5aoHZH0M,361
96
+ payi/types/experiences/type_update_params.py,sha256=PaR3fuObhIuKsiEo8BQyIoO1NU0PCrUvvNg006IlXnM,341
97
+ payi/types/experiences/types/__init__.py,sha256=Uo_hbPae_AJi8UitkztBOl80AMRv7m-wH1eJlFC3Qnc,214
98
+ payi/types/experiences/types/limit_config_create_params.py,sha256=pzQza_16N3z8cFNEKr6gPbFvuGFrwNuGxAYb--Kbo2M,449
94
99
  payi/types/limits/__init__.py,sha256=yohSla0l53OaxH9WdwaU1crY1FvzM3H6IRg20LUr-MU,722
95
100
  payi/types/limits/limit_tags.py,sha256=O9I9IC7IkFBYRbiUWb4XXmIuXoHUlRLjW_4fbEF50Aw,346
96
101
  payi/types/limits/tag_create_params.py,sha256=MPN1rXRJKCV_mZX8ZwrZD4yHpME7jI_SwAusz7ruvaE,313
@@ -101,11 +106,13 @@ payi/types/limits/tag_remove_params.py,sha256=wqRc8Y9ZYqOcnIuuFVQfbPRtX0ycp-z5fl
101
106
  payi/types/limits/tag_remove_response.py,sha256=R-e-um-W1aqq8sEmTtnPMCDLGVRUmm5pVAvLCkgDVHI,267
102
107
  payi/types/limits/tag_update_params.py,sha256=8-gP8OEY7xpBPLfS2uU71ew2WkWZ-WpVOy9fRA07omY,313
103
108
  payi/types/limits/tag_update_response.py,sha256=xLa4aU4eVhNmIaQTsCyEDjx1vatBACFiJCwZOWLfrig,267
104
- payi/types/requests/__init__.py,sha256=K4qfrWMIIg1-UNB0Vu5UdGEmf6TWoF-i3gPc_LT78D8,204
109
+ payi/types/requests/__init__.py,sha256=prKzWdptHTDvIbGlQbWR9D4Gu_wDwXCG-cIMEAgKdkQ,263
105
110
  payi/types/requests/property_create_params.py,sha256=6v1L_4pj5N5k386cbtjSAWr2QJw---WUJ5lyshRnMwc,328
106
- payi/types/shared/__init__.py,sha256=zgBdtU5-a1ee8l5ABWyzuELwWRTKOCCcOx7gbCgdE4A,161
111
+ payi/types/requests/request_result.py,sha256=phYQiqhwNaR9igP-Fhs34Y-__dlT7L4wq-rgFLmJTUo,1336
112
+ payi/types/shared/__init__.py,sha256=-xz5dxK5LBjLnsi2LpLq5btaGDFp-mSjJ0y2qKy0Yus,264
107
113
  payi/types/shared/evaluation_response.py,sha256=ejEToMA57PUu1SldEtJ5z9r4fAO3U0tvdjbsyIoVX1s,214
108
- payi-0.1.0a37.dist-info/METADATA,sha256=2rDEUus361E_chlt4fOLNwxdCYj4f3-U5jsr2R4wXvI,12594
109
- payi-0.1.0a37.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
110
- payi-0.1.0a37.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
111
- payi-0.1.0a37.dist-info/RECORD,,
114
+ payi/types/shared/pay_i_common_models_budget_management_cost_details_base.py,sha256=XmIzJXy4zAi-mfrDvEXiYjO3qF1EvugGUl-Gijj4TA4,268
115
+ payi-0.1.0a38.dist-info/METADATA,sha256=5g142UgydrzpGRqyttKbGlDCw-CUXaxsAfKnhw1r7I8,12594
116
+ payi-0.1.0a38.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
117
+ payi-0.1.0a38.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
118
+ payi-0.1.0a38.dist-info/RECORD,,