payi 0.1.0a94__py3-none-any.whl → 0.1.0a96__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of payi might be problematic. Click here for more details.

Files changed (38) hide show
  1. payi/_client.py +0 -9
  2. payi/_version.py +1 -1
  3. payi/lib/AnthropicInstrumentor.py +1 -2
  4. payi/lib/BedrockInstrumentor.py +3 -3
  5. payi/lib/instrument.py +2 -2
  6. payi/resources/__init__.py +0 -14
  7. payi/resources/ingest.py +14 -28
  8. payi/resources/limits/limits.py +8 -0
  9. payi/resources/use_cases/kpis.py +1 -177
  10. payi/resources/use_cases/properties.py +5 -5
  11. payi/resources/use_cases/use_cases.py +15 -13
  12. payi/types/__init__.py +3 -2
  13. payi/types/ingest_units_params.py +2 -4
  14. payi/types/limit_create_params.py +2 -2
  15. payi/types/{use_case_instance_response.py → use_case_create_response.py} +2 -2
  16. payi/types/{experience_instance_response.py → use_case_delete_response.py} +3 -3
  17. payi/types/use_case_retrieve_response.py +15 -0
  18. payi/types/use_cases/__init__.py +1 -1
  19. payi/types/use_cases/property_create_response.py +15 -0
  20. {payi-0.1.0a94.dist-info → payi-0.1.0a96.dist-info}/METADATA +1 -1
  21. {payi-0.1.0a94.dist-info → payi-0.1.0a96.dist-info}/RECORD +23 -36
  22. payi/resources/experiences/__init__.py +0 -47
  23. payi/resources/experiences/experiences.py +0 -383
  24. payi/resources/experiences/properties.py +0 -171
  25. payi/resources/experiences/types/__init__.py +0 -33
  26. payi/resources/experiences/types/limit_config.py +0 -272
  27. payi/resources/experiences/types/types.py +0 -581
  28. payi/types/experiences/__init__.py +0 -9
  29. payi/types/experiences/experience_type.py +0 -24
  30. payi/types/experiences/property_create_params.py +0 -12
  31. payi/types/experiences/type_create_params.py +0 -22
  32. payi/types/experiences/type_list_params.py +0 -17
  33. payi/types/experiences/type_update_params.py +0 -14
  34. payi/types/experiences/types/__init__.py +0 -5
  35. payi/types/experiences/types/limit_config_create_params.py +0 -18
  36. payi/types/use_cases/kpi_create_params.py +0 -13
  37. {payi-0.1.0a94.dist-info → payi-0.1.0a96.dist-info}/WHEEL +0 -0
  38. {payi-0.1.0a94.dist-info → payi-0.1.0a96.dist-info}/licenses/LICENSE +0 -0
@@ -1,581 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Optional
6
-
7
- import httpx
8
-
9
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10
- from ...._utils import maybe_transform, async_maybe_transform
11
- from ...._compat import cached_property
12
- from ...._resource import SyncAPIResource, AsyncAPIResource
13
- from ...._response import (
14
- to_raw_response_wrapper,
15
- to_streamed_response_wrapper,
16
- async_to_raw_response_wrapper,
17
- async_to_streamed_response_wrapper,
18
- )
19
- from .limit_config import (
20
- LimitConfigResource,
21
- AsyncLimitConfigResource,
22
- LimitConfigResourceWithRawResponse,
23
- AsyncLimitConfigResourceWithRawResponse,
24
- LimitConfigResourceWithStreamingResponse,
25
- AsyncLimitConfigResourceWithStreamingResponse,
26
- )
27
- from ....pagination import SyncCursorPage, AsyncCursorPage
28
- from ...._base_client import AsyncPaginator, make_request_options
29
- from ....types.experiences import type_list_params, type_create_params, type_update_params
30
- from ....types.experiences.experience_type import ExperienceType
31
- from ....types.shared_params.pay_i_common_models_budget_management_create_limit_base import (
32
- PayICommonModelsBudgetManagementCreateLimitBase,
33
- )
34
-
35
- __all__ = ["TypesResource", "AsyncTypesResource"]
36
-
37
-
38
- class TypesResource(SyncAPIResource):
39
- @cached_property
40
- def limit_config(self) -> LimitConfigResource:
41
- return LimitConfigResource(self._client)
42
-
43
- @cached_property
44
- def with_raw_response(self) -> TypesResourceWithRawResponse:
45
- """
46
- This property can be used as a prefix for any HTTP method call to return
47
- the raw response object instead of the parsed content.
48
-
49
- For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
50
- """
51
- return TypesResourceWithRawResponse(self)
52
-
53
- @cached_property
54
- def with_streaming_response(self) -> TypesResourceWithStreamingResponse:
55
- """
56
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
57
-
58
- For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
59
- """
60
- return TypesResourceWithStreamingResponse(self)
61
-
62
- def create(
63
- self,
64
- *,
65
- description: str,
66
- name: str,
67
- limit_config: PayICommonModelsBudgetManagementCreateLimitBase | NotGiven = NOT_GIVEN,
68
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
69
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
70
- # The extra values given here take precedence over values defined on the client or passed to this method.
71
- extra_headers: Headers | None = None,
72
- extra_query: Query | None = None,
73
- extra_body: Body | None = None,
74
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
75
- ) -> ExperienceType:
76
- """
77
- Create an new Experience Type
78
-
79
- Args:
80
- extra_headers: Send extra headers
81
-
82
- extra_query: Add additional query parameters to the request
83
-
84
- extra_body: Add additional JSON properties to the request
85
-
86
- timeout: Override the client-level default timeout for this request, in seconds
87
- """
88
- return self._post(
89
- "/api/v1/experiences/types",
90
- body=maybe_transform(
91
- {
92
- "description": description,
93
- "name": name,
94
- "limit_config": limit_config,
95
- "logging_enabled": logging_enabled,
96
- },
97
- type_create_params.TypeCreateParams,
98
- ),
99
- options=make_request_options(
100
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
101
- ),
102
- cast_to=ExperienceType,
103
- )
104
-
105
- def retrieve(
106
- self,
107
- experience_name: str,
108
- *,
109
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
110
- # The extra values given here take precedence over values defined on the client or passed to this method.
111
- extra_headers: Headers | None = None,
112
- extra_query: Query | None = None,
113
- extra_body: Body | None = None,
114
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
115
- ) -> ExperienceType:
116
- """
117
- Get Experience Type details
118
-
119
- Args:
120
- extra_headers: Send extra headers
121
-
122
- extra_query: Add additional query parameters to the request
123
-
124
- extra_body: Add additional JSON properties to the request
125
-
126
- timeout: Override the client-level default timeout for this request, in seconds
127
- """
128
- if not experience_name:
129
- raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
130
- return self._get(
131
- f"/api/v1/experiences/types/{experience_name}",
132
- options=make_request_options(
133
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
134
- ),
135
- cast_to=ExperienceType,
136
- )
137
-
138
- def update(
139
- self,
140
- experience_name: str,
141
- *,
142
- description: Optional[str] | NotGiven = NOT_GIVEN,
143
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
144
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
145
- # The extra values given here take precedence over values defined on the client or passed to this method.
146
- extra_headers: Headers | None = None,
147
- extra_query: Query | None = None,
148
- extra_body: Body | None = None,
149
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
150
- ) -> ExperienceType:
151
- """
152
- Update an Experience Type
153
-
154
- Args:
155
- extra_headers: Send extra headers
156
-
157
- extra_query: Add additional query parameters to the request
158
-
159
- extra_body: Add additional JSON properties to the request
160
-
161
- timeout: Override the client-level default timeout for this request, in seconds
162
- """
163
- if not experience_name:
164
- raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
165
- return self._put(
166
- f"/api/v1/experiences/types/{experience_name}",
167
- body=maybe_transform(
168
- {
169
- "description": description,
170
- "logging_enabled": logging_enabled,
171
- },
172
- type_update_params.TypeUpdateParams,
173
- ),
174
- options=make_request_options(
175
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
176
- ),
177
- cast_to=ExperienceType,
178
- )
179
-
180
- def list(
181
- self,
182
- *,
183
- cursor: str | NotGiven = NOT_GIVEN,
184
- limit: int | NotGiven = NOT_GIVEN,
185
- name: str | NotGiven = NOT_GIVEN,
186
- sort_ascending: bool | NotGiven = NOT_GIVEN,
187
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
188
- # The extra values given here take precedence over values defined on the client or passed to this method.
189
- extra_headers: Headers | None = None,
190
- extra_query: Query | None = None,
191
- extra_body: Body | None = None,
192
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
193
- ) -> SyncCursorPage[ExperienceType]:
194
- """
195
- Get all Experience Types
196
-
197
- Args:
198
- extra_headers: Send extra headers
199
-
200
- extra_query: Add additional query parameters to the request
201
-
202
- extra_body: Add additional JSON properties to the request
203
-
204
- timeout: Override the client-level default timeout for this request, in seconds
205
- """
206
- return self._get_api_list(
207
- "/api/v1/experiences/types",
208
- page=SyncCursorPage[ExperienceType],
209
- options=make_request_options(
210
- extra_headers=extra_headers,
211
- extra_query=extra_query,
212
- extra_body=extra_body,
213
- timeout=timeout,
214
- query=maybe_transform(
215
- {
216
- "cursor": cursor,
217
- "limit": limit,
218
- "name": name,
219
- "sort_ascending": sort_ascending,
220
- },
221
- type_list_params.TypeListParams,
222
- ),
223
- ),
224
- model=ExperienceType,
225
- )
226
-
227
- def delete(
228
- self,
229
- experience_name: str,
230
- *,
231
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
232
- # The extra values given here take precedence over values defined on the client or passed to this method.
233
- extra_headers: Headers | None = None,
234
- extra_query: Query | None = None,
235
- extra_body: Body | None = None,
236
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
237
- ) -> ExperienceType:
238
- """
239
- Delete an Experience Type
240
-
241
- Args:
242
- extra_headers: Send extra headers
243
-
244
- extra_query: Add additional query parameters to the request
245
-
246
- extra_body: Add additional JSON properties to the request
247
-
248
- timeout: Override the client-level default timeout for this request, in seconds
249
- """
250
- if not experience_name:
251
- raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
252
- return self._delete(
253
- f"/api/v1/experiences/types/{experience_name}",
254
- options=make_request_options(
255
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
256
- ),
257
- cast_to=ExperienceType,
258
- )
259
-
260
-
261
- class AsyncTypesResource(AsyncAPIResource):
262
- @cached_property
263
- def limit_config(self) -> AsyncLimitConfigResource:
264
- return AsyncLimitConfigResource(self._client)
265
-
266
- @cached_property
267
- def with_raw_response(self) -> AsyncTypesResourceWithRawResponse:
268
- """
269
- This property can be used as a prefix for any HTTP method call to return
270
- the raw response object instead of the parsed content.
271
-
272
- For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
273
- """
274
- return AsyncTypesResourceWithRawResponse(self)
275
-
276
- @cached_property
277
- def with_streaming_response(self) -> AsyncTypesResourceWithStreamingResponse:
278
- """
279
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
280
-
281
- For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
282
- """
283
- return AsyncTypesResourceWithStreamingResponse(self)
284
-
285
- async def create(
286
- self,
287
- *,
288
- description: str,
289
- name: str,
290
- limit_config: PayICommonModelsBudgetManagementCreateLimitBase | NotGiven = NOT_GIVEN,
291
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
292
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
293
- # The extra values given here take precedence over values defined on the client or passed to this method.
294
- extra_headers: Headers | None = None,
295
- extra_query: Query | None = None,
296
- extra_body: Body | None = None,
297
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
298
- ) -> ExperienceType:
299
- """
300
- Create an new Experience Type
301
-
302
- Args:
303
- extra_headers: Send extra headers
304
-
305
- extra_query: Add additional query parameters to the request
306
-
307
- extra_body: Add additional JSON properties to the request
308
-
309
- timeout: Override the client-level default timeout for this request, in seconds
310
- """
311
- return await self._post(
312
- "/api/v1/experiences/types",
313
- body=await async_maybe_transform(
314
- {
315
- "description": description,
316
- "name": name,
317
- "limit_config": limit_config,
318
- "logging_enabled": logging_enabled,
319
- },
320
- type_create_params.TypeCreateParams,
321
- ),
322
- options=make_request_options(
323
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
324
- ),
325
- cast_to=ExperienceType,
326
- )
327
-
328
- async def retrieve(
329
- self,
330
- experience_name: str,
331
- *,
332
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
333
- # The extra values given here take precedence over values defined on the client or passed to this method.
334
- extra_headers: Headers | None = None,
335
- extra_query: Query | None = None,
336
- extra_body: Body | None = None,
337
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
338
- ) -> ExperienceType:
339
- """
340
- Get Experience Type details
341
-
342
- Args:
343
- extra_headers: Send extra headers
344
-
345
- extra_query: Add additional query parameters to the request
346
-
347
- extra_body: Add additional JSON properties to the request
348
-
349
- timeout: Override the client-level default timeout for this request, in seconds
350
- """
351
- if not experience_name:
352
- raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
353
- return await self._get(
354
- f"/api/v1/experiences/types/{experience_name}",
355
- options=make_request_options(
356
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
357
- ),
358
- cast_to=ExperienceType,
359
- )
360
-
361
- async def update(
362
- self,
363
- experience_name: str,
364
- *,
365
- description: Optional[str] | NotGiven = NOT_GIVEN,
366
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
367
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
368
- # The extra values given here take precedence over values defined on the client or passed to this method.
369
- extra_headers: Headers | None = None,
370
- extra_query: Query | None = None,
371
- extra_body: Body | None = None,
372
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
373
- ) -> ExperienceType:
374
- """
375
- Update an Experience Type
376
-
377
- Args:
378
- extra_headers: Send extra headers
379
-
380
- extra_query: Add additional query parameters to the request
381
-
382
- extra_body: Add additional JSON properties to the request
383
-
384
- timeout: Override the client-level default timeout for this request, in seconds
385
- """
386
- if not experience_name:
387
- raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
388
- return await self._put(
389
- f"/api/v1/experiences/types/{experience_name}",
390
- body=await async_maybe_transform(
391
- {
392
- "description": description,
393
- "logging_enabled": logging_enabled,
394
- },
395
- type_update_params.TypeUpdateParams,
396
- ),
397
- options=make_request_options(
398
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
399
- ),
400
- cast_to=ExperienceType,
401
- )
402
-
403
- def list(
404
- self,
405
- *,
406
- cursor: str | NotGiven = NOT_GIVEN,
407
- limit: int | NotGiven = NOT_GIVEN,
408
- name: str | NotGiven = NOT_GIVEN,
409
- sort_ascending: bool | NotGiven = NOT_GIVEN,
410
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
411
- # The extra values given here take precedence over values defined on the client or passed to this method.
412
- extra_headers: Headers | None = None,
413
- extra_query: Query | None = None,
414
- extra_body: Body | None = None,
415
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
416
- ) -> AsyncPaginator[ExperienceType, AsyncCursorPage[ExperienceType]]:
417
- """
418
- Get all Experience Types
419
-
420
- Args:
421
- extra_headers: Send extra headers
422
-
423
- extra_query: Add additional query parameters to the request
424
-
425
- extra_body: Add additional JSON properties to the request
426
-
427
- timeout: Override the client-level default timeout for this request, in seconds
428
- """
429
- return self._get_api_list(
430
- "/api/v1/experiences/types",
431
- page=AsyncCursorPage[ExperienceType],
432
- options=make_request_options(
433
- extra_headers=extra_headers,
434
- extra_query=extra_query,
435
- extra_body=extra_body,
436
- timeout=timeout,
437
- query=maybe_transform(
438
- {
439
- "cursor": cursor,
440
- "limit": limit,
441
- "name": name,
442
- "sort_ascending": sort_ascending,
443
- },
444
- type_list_params.TypeListParams,
445
- ),
446
- ),
447
- model=ExperienceType,
448
- )
449
-
450
- async def delete(
451
- self,
452
- experience_name: str,
453
- *,
454
- # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
455
- # The extra values given here take precedence over values defined on the client or passed to this method.
456
- extra_headers: Headers | None = None,
457
- extra_query: Query | None = None,
458
- extra_body: Body | None = None,
459
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
460
- ) -> ExperienceType:
461
- """
462
- Delete an Experience Type
463
-
464
- Args:
465
- extra_headers: Send extra headers
466
-
467
- extra_query: Add additional query parameters to the request
468
-
469
- extra_body: Add additional JSON properties to the request
470
-
471
- timeout: Override the client-level default timeout for this request, in seconds
472
- """
473
- if not experience_name:
474
- raise ValueError(f"Expected a non-empty value for `experience_name` but received {experience_name!r}")
475
- return await self._delete(
476
- f"/api/v1/experiences/types/{experience_name}",
477
- options=make_request_options(
478
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
479
- ),
480
- cast_to=ExperienceType,
481
- )
482
-
483
-
484
- class TypesResourceWithRawResponse:
485
- def __init__(self, types: TypesResource) -> None:
486
- self._types = types
487
-
488
- self.create = to_raw_response_wrapper(
489
- types.create,
490
- )
491
- self.retrieve = to_raw_response_wrapper(
492
- types.retrieve,
493
- )
494
- self.update = to_raw_response_wrapper(
495
- types.update,
496
- )
497
- self.list = to_raw_response_wrapper(
498
- types.list,
499
- )
500
- self.delete = to_raw_response_wrapper(
501
- types.delete,
502
- )
503
-
504
- @cached_property
505
- def limit_config(self) -> LimitConfigResourceWithRawResponse:
506
- return LimitConfigResourceWithRawResponse(self._types.limit_config)
507
-
508
-
509
- class AsyncTypesResourceWithRawResponse:
510
- def __init__(self, types: AsyncTypesResource) -> None:
511
- self._types = types
512
-
513
- self.create = async_to_raw_response_wrapper(
514
- types.create,
515
- )
516
- self.retrieve = async_to_raw_response_wrapper(
517
- types.retrieve,
518
- )
519
- self.update = async_to_raw_response_wrapper(
520
- types.update,
521
- )
522
- self.list = async_to_raw_response_wrapper(
523
- types.list,
524
- )
525
- self.delete = async_to_raw_response_wrapper(
526
- types.delete,
527
- )
528
-
529
- @cached_property
530
- def limit_config(self) -> AsyncLimitConfigResourceWithRawResponse:
531
- return AsyncLimitConfigResourceWithRawResponse(self._types.limit_config)
532
-
533
-
534
- class TypesResourceWithStreamingResponse:
535
- def __init__(self, types: TypesResource) -> None:
536
- self._types = types
537
-
538
- self.create = to_streamed_response_wrapper(
539
- types.create,
540
- )
541
- self.retrieve = to_streamed_response_wrapper(
542
- types.retrieve,
543
- )
544
- self.update = to_streamed_response_wrapper(
545
- types.update,
546
- )
547
- self.list = to_streamed_response_wrapper(
548
- types.list,
549
- )
550
- self.delete = to_streamed_response_wrapper(
551
- types.delete,
552
- )
553
-
554
- @cached_property
555
- def limit_config(self) -> LimitConfigResourceWithStreamingResponse:
556
- return LimitConfigResourceWithStreamingResponse(self._types.limit_config)
557
-
558
-
559
- class AsyncTypesResourceWithStreamingResponse:
560
- def __init__(self, types: AsyncTypesResource) -> None:
561
- self._types = types
562
-
563
- self.create = async_to_streamed_response_wrapper(
564
- types.create,
565
- )
566
- self.retrieve = async_to_streamed_response_wrapper(
567
- types.retrieve,
568
- )
569
- self.update = async_to_streamed_response_wrapper(
570
- types.update,
571
- )
572
- self.list = async_to_streamed_response_wrapper(
573
- types.list,
574
- )
575
- self.delete = async_to_streamed_response_wrapper(
576
- types.delete,
577
- )
578
-
579
- @cached_property
580
- def limit_config(self) -> AsyncLimitConfigResourceWithStreamingResponse:
581
- return AsyncLimitConfigResourceWithStreamingResponse(self._types.limit_config)
@@ -1,9 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .experience_type import ExperienceType as ExperienceType
6
- from .type_list_params import TypeListParams as TypeListParams
7
- from .type_create_params import TypeCreateParams as TypeCreateParams
8
- from .type_update_params import TypeUpdateParams as TypeUpdateParams
9
- from .property_create_params import PropertyCreateParams as PropertyCreateParams
@@ -1,24 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from ..._models import BaseModel
6
- from ..shared.pay_i_common_models_budget_management_create_limit_base import (
7
- PayICommonModelsBudgetManagementCreateLimitBase,
8
- )
9
-
10
- __all__ = ["ExperienceType"]
11
-
12
-
13
- class ExperienceType(BaseModel):
14
- description: str
15
-
16
- name: str
17
-
18
- request_id: str
19
-
20
- limit_config: Optional[PayICommonModelsBudgetManagementCreateLimitBase] = None
21
-
22
- logging_enabled: Optional[bool] = None
23
-
24
- type_version: Optional[int] = None
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Dict
6
- from typing_extensions import Required, TypedDict
7
-
8
- __all__ = ["PropertyCreateParams"]
9
-
10
-
11
- class PropertyCreateParams(TypedDict, total=False):
12
- properties: Required[Dict[str, str]]
@@ -1,22 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Optional
6
- from typing_extensions import Required, TypedDict
7
-
8
- from ..shared_params.pay_i_common_models_budget_management_create_limit_base import (
9
- PayICommonModelsBudgetManagementCreateLimitBase,
10
- )
11
-
12
- __all__ = ["TypeCreateParams"]
13
-
14
-
15
- class TypeCreateParams(TypedDict, total=False):
16
- description: Required[str]
17
-
18
- name: Required[str]
19
-
20
- limit_config: PayICommonModelsBudgetManagementCreateLimitBase
21
-
22
- logging_enabled: Optional[bool]
@@ -1,17 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import TypedDict
6
-
7
- __all__ = ["TypeListParams"]
8
-
9
-
10
- class TypeListParams(TypedDict, total=False):
11
- cursor: str
12
-
13
- limit: int
14
-
15
- name: str
16
-
17
- sort_ascending: bool
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Optional
6
- from typing_extensions import TypedDict
7
-
8
- __all__ = ["TypeUpdateParams"]
9
-
10
-
11
- class TypeUpdateParams(TypedDict, total=False):
12
- description: Optional[str]
13
-
14
- logging_enabled: Optional[bool]
@@ -1,5 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .limit_config_create_params import LimitConfigCreateParams as LimitConfigCreateParams