payi 0.1.0a122__py3-none-any.whl → 0.1.0a123__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.

@@ -17,7 +17,7 @@ from .tags import (
17
17
  AsyncTagsResourceWithStreamingResponse,
18
18
  )
19
19
  from ...types import limit_list_params, limit_reset_params, limit_create_params, limit_update_params
20
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
20
+ from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
21
21
  from ..._utils import maybe_transform, async_maybe_transform
22
22
  from ..._compat import cached_property
23
23
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -66,16 +66,16 @@ class LimitsResource(SyncAPIResource):
66
66
  *,
67
67
  limit_name: str,
68
68
  max: float,
69
- limit_id: Optional[str] | NotGiven = NOT_GIVEN,
70
- limit_tags: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN,
71
- limit_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
72
- threshold: Optional[float] | NotGiven = NOT_GIVEN,
69
+ limit_id: Optional[str] | Omit = omit,
70
+ limit_tags: Optional[SequenceNotStr[str]] | Omit = omit,
71
+ limit_type: Literal["block", "allow"] | Omit = omit,
72
+ threshold: Optional[float] | Omit = omit,
73
73
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
74
74
  # The extra values given here take precedence over values defined on the client or passed to this method.
75
75
  extra_headers: Headers | None = None,
76
76
  extra_query: Query | None = None,
77
77
  extra_body: Body | None = None,
78
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
78
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
79
79
  ) -> LimitResponse:
80
80
  """
81
81
  Create a Limit
@@ -117,7 +117,7 @@ class LimitsResource(SyncAPIResource):
117
117
  extra_headers: Headers | None = None,
118
118
  extra_query: Query | None = None,
119
119
  extra_body: Body | None = None,
120
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
120
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
121
121
  ) -> LimitResponse:
122
122
  """
123
123
  Get Limit details
@@ -145,14 +145,14 @@ class LimitsResource(SyncAPIResource):
145
145
  self,
146
146
  limit_id: str,
147
147
  *,
148
- limit_name: Optional[str] | NotGiven = NOT_GIVEN,
149
- max: Optional[float] | NotGiven = NOT_GIVEN,
148
+ limit_name: Optional[str] | Omit = omit,
149
+ max: Optional[float] | Omit = omit,
150
150
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
151
151
  # The extra values given here take precedence over values defined on the client or passed to this method.
152
152
  extra_headers: Headers | None = None,
153
153
  extra_query: Query | None = None,
154
154
  extra_body: Body | None = None,
155
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
155
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
156
156
  ) -> LimitResponse:
157
157
  """
158
158
  Update a Limit
@@ -186,16 +186,16 @@ class LimitsResource(SyncAPIResource):
186
186
  def list(
187
187
  self,
188
188
  *,
189
- cursor: str | NotGiven = NOT_GIVEN,
190
- limit: int | NotGiven = NOT_GIVEN,
191
- limit_name: str | NotGiven = NOT_GIVEN,
192
- sort_ascending: bool | NotGiven = NOT_GIVEN,
189
+ cursor: str | Omit = omit,
190
+ limit: int | Omit = omit,
191
+ limit_name: str | Omit = omit,
192
+ sort_ascending: bool | Omit = omit,
193
193
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
194
194
  # The extra values given here take precedence over values defined on the client or passed to this method.
195
195
  extra_headers: Headers | None = None,
196
196
  extra_query: Query | None = None,
197
197
  extra_body: Body | None = None,
198
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
198
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
199
199
  ) -> SyncCursorPage[LimitListResponse]:
200
200
  """
201
201
  Get all Limits
@@ -239,7 +239,7 @@ class LimitsResource(SyncAPIResource):
239
239
  extra_headers: Headers | None = None,
240
240
  extra_query: Query | None = None,
241
241
  extra_body: Body | None = None,
242
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
242
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
243
243
  ) -> DefaultResponse:
244
244
  """
245
245
  Delete a Limit
@@ -267,13 +267,13 @@ class LimitsResource(SyncAPIResource):
267
267
  self,
268
268
  limit_id: str,
269
269
  *,
270
- reset_date: Union[str, datetime] | NotGiven = NOT_GIVEN,
270
+ reset_date: Union[str, datetime] | Omit = omit,
271
271
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
272
272
  # The extra values given here take precedence over values defined on the client or passed to this method.
273
273
  extra_headers: Headers | None = None,
274
274
  extra_query: Query | None = None,
275
275
  extra_body: Body | None = None,
276
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
276
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
277
277
  ) -> LimitHistoryResponse:
278
278
  """
279
279
  Reset a Limit
@@ -333,16 +333,16 @@ class AsyncLimitsResource(AsyncAPIResource):
333
333
  *,
334
334
  limit_name: str,
335
335
  max: float,
336
- limit_id: Optional[str] | NotGiven = NOT_GIVEN,
337
- limit_tags: Optional[SequenceNotStr[str]] | NotGiven = NOT_GIVEN,
338
- limit_type: Literal["block", "allow"] | NotGiven = NOT_GIVEN,
339
- threshold: Optional[float] | NotGiven = NOT_GIVEN,
336
+ limit_id: Optional[str] | Omit = omit,
337
+ limit_tags: Optional[SequenceNotStr[str]] | Omit = omit,
338
+ limit_type: Literal["block", "allow"] | Omit = omit,
339
+ threshold: Optional[float] | Omit = omit,
340
340
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
341
341
  # The extra values given here take precedence over values defined on the client or passed to this method.
342
342
  extra_headers: Headers | None = None,
343
343
  extra_query: Query | None = None,
344
344
  extra_body: Body | None = None,
345
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
345
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
346
346
  ) -> LimitResponse:
347
347
  """
348
348
  Create a Limit
@@ -384,7 +384,7 @@ class AsyncLimitsResource(AsyncAPIResource):
384
384
  extra_headers: Headers | None = None,
385
385
  extra_query: Query | None = None,
386
386
  extra_body: Body | None = None,
387
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
387
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
388
388
  ) -> LimitResponse:
389
389
  """
390
390
  Get Limit details
@@ -412,14 +412,14 @@ class AsyncLimitsResource(AsyncAPIResource):
412
412
  self,
413
413
  limit_id: str,
414
414
  *,
415
- limit_name: Optional[str] | NotGiven = NOT_GIVEN,
416
- max: Optional[float] | NotGiven = NOT_GIVEN,
415
+ limit_name: Optional[str] | Omit = omit,
416
+ max: Optional[float] | Omit = omit,
417
417
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
418
418
  # The extra values given here take precedence over values defined on the client or passed to this method.
419
419
  extra_headers: Headers | None = None,
420
420
  extra_query: Query | None = None,
421
421
  extra_body: Body | None = None,
422
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
422
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
423
423
  ) -> LimitResponse:
424
424
  """
425
425
  Update a Limit
@@ -453,16 +453,16 @@ class AsyncLimitsResource(AsyncAPIResource):
453
453
  def list(
454
454
  self,
455
455
  *,
456
- cursor: str | NotGiven = NOT_GIVEN,
457
- limit: int | NotGiven = NOT_GIVEN,
458
- limit_name: str | NotGiven = NOT_GIVEN,
459
- sort_ascending: bool | NotGiven = NOT_GIVEN,
456
+ cursor: str | Omit = omit,
457
+ limit: int | Omit = omit,
458
+ limit_name: str | Omit = omit,
459
+ sort_ascending: bool | Omit = omit,
460
460
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
461
461
  # The extra values given here take precedence over values defined on the client or passed to this method.
462
462
  extra_headers: Headers | None = None,
463
463
  extra_query: Query | None = None,
464
464
  extra_body: Body | None = None,
465
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
465
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
466
466
  ) -> AsyncPaginator[LimitListResponse, AsyncCursorPage[LimitListResponse]]:
467
467
  """
468
468
  Get all Limits
@@ -506,7 +506,7 @@ class AsyncLimitsResource(AsyncAPIResource):
506
506
  extra_headers: Headers | None = None,
507
507
  extra_query: Query | None = None,
508
508
  extra_body: Body | None = None,
509
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
509
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
510
510
  ) -> DefaultResponse:
511
511
  """
512
512
  Delete a Limit
@@ -534,13 +534,13 @@ class AsyncLimitsResource(AsyncAPIResource):
534
534
  self,
535
535
  limit_id: str,
536
536
  *,
537
- reset_date: Union[str, datetime] | NotGiven = NOT_GIVEN,
537
+ reset_date: Union[str, datetime] | Omit = omit,
538
538
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
539
539
  # The extra values given here take precedence over values defined on the client or passed to this method.
540
540
  extra_headers: Headers | None = None,
541
541
  extra_query: Query | None = None,
542
542
  extra_body: Body | None = None,
543
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
543
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
544
544
  ) -> LimitHistoryResponse:
545
545
  """
546
546
  Reset a Limit
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
7
+ from ..._types import Body, Query, Headers, NotGiven, SequenceNotStr, not_given
8
8
  from ..._utils import maybe_transform, async_maybe_transform
9
9
  from ..._compat import cached_property
10
10
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -55,7 +55,7 @@ class TagsResource(SyncAPIResource):
55
55
  extra_headers: Headers | None = None,
56
56
  extra_query: Query | None = None,
57
57
  extra_body: Body | None = None,
58
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
58
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
59
59
  ) -> TagCreateResponse:
60
60
  """
61
61
  Add Limit Tags
@@ -92,7 +92,7 @@ class TagsResource(SyncAPIResource):
92
92
  extra_headers: Headers | None = None,
93
93
  extra_query: Query | None = None,
94
94
  extra_body: Body | None = None,
95
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
95
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
96
96
  ) -> TagUpdateResponse:
97
97
  """
98
98
  Update the Limit Tags
@@ -128,7 +128,7 @@ class TagsResource(SyncAPIResource):
128
128
  extra_headers: Headers | None = None,
129
129
  extra_query: Query | None = None,
130
130
  extra_body: Body | None = None,
131
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
131
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
132
132
  ) -> TagListResponse:
133
133
  """
134
134
  Get Limit Tags
@@ -161,7 +161,7 @@ class TagsResource(SyncAPIResource):
161
161
  extra_headers: Headers | None = None,
162
162
  extra_query: Query | None = None,
163
163
  extra_body: Body | None = None,
164
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
164
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
165
165
  ) -> TagDeleteResponse:
166
166
  """
167
167
  Delete all Tags from Limit
@@ -195,7 +195,7 @@ class TagsResource(SyncAPIResource):
195
195
  extra_headers: Headers | None = None,
196
196
  extra_query: Query | None = None,
197
197
  extra_body: Body | None = None,
198
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
198
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
199
199
  ) -> TagRemoveResponse:
200
200
  """
201
201
  Remove Tags from Limit
@@ -253,7 +253,7 @@ class AsyncTagsResource(AsyncAPIResource):
253
253
  extra_headers: Headers | None = None,
254
254
  extra_query: Query | None = None,
255
255
  extra_body: Body | None = None,
256
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
256
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
257
257
  ) -> TagCreateResponse:
258
258
  """
259
259
  Add Limit Tags
@@ -290,7 +290,7 @@ class AsyncTagsResource(AsyncAPIResource):
290
290
  extra_headers: Headers | None = None,
291
291
  extra_query: Query | None = None,
292
292
  extra_body: Body | None = None,
293
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
293
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
294
294
  ) -> TagUpdateResponse:
295
295
  """
296
296
  Update the Limit Tags
@@ -326,7 +326,7 @@ class AsyncTagsResource(AsyncAPIResource):
326
326
  extra_headers: Headers | None = None,
327
327
  extra_query: Query | None = None,
328
328
  extra_body: Body | None = None,
329
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
329
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
330
330
  ) -> TagListResponse:
331
331
  """
332
332
  Get Limit Tags
@@ -359,7 +359,7 @@ class AsyncTagsResource(AsyncAPIResource):
359
359
  extra_headers: Headers | None = None,
360
360
  extra_query: Query | None = None,
361
361
  extra_body: Body | None = None,
362
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
362
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
363
363
  ) -> TagDeleteResponse:
364
364
  """
365
365
  Delete all Tags from Limit
@@ -393,7 +393,7 @@ class AsyncTagsResource(AsyncAPIResource):
393
393
  extra_headers: Headers | None = None,
394
394
  extra_query: Query | None = None,
395
395
  extra_body: Body | None = None,
396
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
396
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
397
397
  ) -> TagRemoveResponse:
398
398
  """
399
399
  Remove Tags from Limit
@@ -6,7 +6,7 @@ from typing import Dict
6
6
 
7
7
  import httpx
8
8
 
9
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
9
+ from ...._types import Body, Query, Headers, NotGiven, not_given
10
10
  from ...._utils import maybe_transform, async_maybe_transform
11
11
  from ...._compat import cached_property
12
12
  from ...._resource import SyncAPIResource, AsyncAPIResource
@@ -53,7 +53,7 @@ class PropertiesResource(SyncAPIResource):
53
53
  extra_headers: Headers | None = None,
54
54
  extra_query: Query | None = None,
55
55
  extra_body: Body | None = None,
56
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
56
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
57
57
  ) -> PropertiesResponse:
58
58
  """
59
59
  Update Request properties
@@ -109,7 +109,7 @@ class AsyncPropertiesResource(AsyncAPIResource):
109
109
  extra_headers: Headers | None = None,
110
110
  extra_query: Query | None = None,
111
111
  extra_body: Body | None = None,
112
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
112
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
113
113
  ) -> PropertiesResponse:
114
114
  """
115
115
  Update Request properties
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
7
+ from ...._types import Body, Query, Headers, NotGiven, not_given
8
8
  from ...._compat import cached_property
9
9
  from ...._resource import SyncAPIResource, AsyncAPIResource
10
10
  from ...._response import (
@@ -48,7 +48,7 @@ class ResultResource(SyncAPIResource):
48
48
  extra_headers: Headers | None = None,
49
49
  extra_query: Query | None = None,
50
50
  extra_body: Body | None = None,
51
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
51
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
52
52
  ) -> RequestResult:
53
53
  """
54
54
  Get a Request results
@@ -102,7 +102,7 @@ class AsyncResultResource(AsyncAPIResource):
102
102
  extra_headers: Headers | None = None,
103
103
  extra_query: Query | None = None,
104
104
  extra_body: Body | None = None,
105
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
105
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
106
106
  ) -> RequestResult:
107
107
  """
108
108
  Get a Request results
@@ -6,7 +6,7 @@ from typing import Dict
6
6
 
7
7
  import httpx
8
8
 
9
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
9
+ from ...._types import Body, Query, Headers, NotGiven, not_given
10
10
  from ...._utils import maybe_transform, async_maybe_transform
11
11
  from ...._compat import cached_property
12
12
  from ...._resource import SyncAPIResource, AsyncAPIResource
@@ -54,7 +54,7 @@ class PropertiesResource(SyncAPIResource):
54
54
  extra_headers: Headers | None = None,
55
55
  extra_query: Query | None = None,
56
56
  extra_body: Body | None = None,
57
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
57
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
58
58
  ) -> PropertiesResponse:
59
59
  """
60
60
  Update Request properties
@@ -115,7 +115,7 @@ class AsyncPropertiesResource(AsyncAPIResource):
115
115
  extra_headers: Headers | None = None,
116
116
  extra_query: Query | None = None,
117
117
  extra_body: Body | None = None,
118
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
118
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
119
119
  ) -> PropertiesResponse:
120
120
  """
121
121
  Update Request properties
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
7
+ from ...._types import Body, Query, Headers, NotGiven, not_given
8
8
  from ...._compat import cached_property
9
9
  from ...._resource import SyncAPIResource, AsyncAPIResource
10
10
  from ...._response import (
@@ -49,7 +49,7 @@ class ResultResource(SyncAPIResource):
49
49
  extra_headers: Headers | None = None,
50
50
  extra_query: Query | None = None,
51
51
  extra_body: Body | None = None,
52
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
52
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
53
53
  ) -> RequestResult:
54
54
  """
55
55
  Get a Request results
@@ -108,7 +108,7 @@ class AsyncResultResource(AsyncAPIResource):
108
108
  extra_headers: Headers | None = None,
109
109
  extra_query: Query | None = None,
110
110
  extra_body: Body | None = None,
111
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
111
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
112
112
  ) -> RequestResult:
113
113
  """
114
114
  Get a Request results
@@ -22,7 +22,7 @@ from .version import (
22
22
  VersionResourceWithStreamingResponse,
23
23
  AsyncVersionResourceWithStreamingResponse,
24
24
  )
25
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
25
+ from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
26
26
  from ...._utils import maybe_transform, async_maybe_transform
27
27
  from ...._compat import cached_property
28
28
  from ...._resource import SyncAPIResource, AsyncAPIResource
@@ -88,14 +88,14 @@ class DefinitionsResource(SyncAPIResource):
88
88
  *,
89
89
  description: str,
90
90
  name: str,
91
- limit_config: PayICommonModelsBudgetManagementCreateLimitBase | NotGiven = NOT_GIVEN,
92
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
91
+ limit_config: PayICommonModelsBudgetManagementCreateLimitBase | Omit = omit,
92
+ logging_enabled: Optional[bool] | Omit = omit,
93
93
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
94
94
  # The extra values given here take precedence over values defined on the client or passed to this method.
95
95
  extra_headers: Headers | None = None,
96
96
  extra_query: Query | None = None,
97
97
  extra_body: Body | None = None,
98
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
98
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
99
99
  ) -> UseCaseDefinition:
100
100
  """
101
101
  Create a new Use Case
@@ -135,7 +135,7 @@ class DefinitionsResource(SyncAPIResource):
135
135
  extra_headers: Headers | None = None,
136
136
  extra_query: Query | None = None,
137
137
  extra_body: Body | None = None,
138
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
138
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
139
139
  ) -> UseCaseDefinition:
140
140
  """
141
141
  Get Use Case details
@@ -163,14 +163,14 @@ class DefinitionsResource(SyncAPIResource):
163
163
  self,
164
164
  use_case_name: str,
165
165
  *,
166
- description: Optional[str] | NotGiven = NOT_GIVEN,
167
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
166
+ description: Optional[str] | Omit = omit,
167
+ logging_enabled: Optional[bool] | Omit = omit,
168
168
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
169
169
  # The extra values given here take precedence over values defined on the client or passed to this method.
170
170
  extra_headers: Headers | None = None,
171
171
  extra_query: Query | None = None,
172
172
  extra_body: Body | None = None,
173
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
173
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
174
174
  ) -> UseCaseDefinition:
175
175
  """
176
176
  Update a Use Case definition
@@ -204,16 +204,16 @@ class DefinitionsResource(SyncAPIResource):
204
204
  def list(
205
205
  self,
206
206
  *,
207
- cursor: str | NotGiven = NOT_GIVEN,
208
- limit: int | NotGiven = NOT_GIVEN,
209
- sort_ascending: bool | NotGiven = NOT_GIVEN,
210
- use_case_name: str | NotGiven = NOT_GIVEN,
207
+ cursor: str | Omit = omit,
208
+ limit: int | Omit = omit,
209
+ sort_ascending: bool | Omit = omit,
210
+ use_case_name: str | Omit = omit,
211
211
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
212
212
  # The extra values given here take precedence over values defined on the client or passed to this method.
213
213
  extra_headers: Headers | None = None,
214
214
  extra_query: Query | None = None,
215
215
  extra_body: Body | None = None,
216
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
216
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
217
217
  ) -> SyncCursorPage[UseCaseDefinition]:
218
218
  """
219
219
  Get all Use Cases
@@ -257,7 +257,7 @@ class DefinitionsResource(SyncAPIResource):
257
257
  extra_headers: Headers | None = None,
258
258
  extra_query: Query | None = None,
259
259
  extra_body: Body | None = None,
260
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
260
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
261
261
  ) -> UseCaseDefinition:
262
262
  """
263
263
  Delete a Use Case
@@ -319,14 +319,14 @@ class AsyncDefinitionsResource(AsyncAPIResource):
319
319
  *,
320
320
  description: str,
321
321
  name: str,
322
- limit_config: PayICommonModelsBudgetManagementCreateLimitBase | NotGiven = NOT_GIVEN,
323
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
322
+ limit_config: PayICommonModelsBudgetManagementCreateLimitBase | Omit = omit,
323
+ logging_enabled: Optional[bool] | Omit = omit,
324
324
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
325
325
  # The extra values given here take precedence over values defined on the client or passed to this method.
326
326
  extra_headers: Headers | None = None,
327
327
  extra_query: Query | None = None,
328
328
  extra_body: Body | None = None,
329
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
329
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
330
330
  ) -> UseCaseDefinition:
331
331
  """
332
332
  Create a new Use Case
@@ -366,7 +366,7 @@ class AsyncDefinitionsResource(AsyncAPIResource):
366
366
  extra_headers: Headers | None = None,
367
367
  extra_query: Query | None = None,
368
368
  extra_body: Body | None = None,
369
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
369
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
370
370
  ) -> UseCaseDefinition:
371
371
  """
372
372
  Get Use Case details
@@ -394,14 +394,14 @@ class AsyncDefinitionsResource(AsyncAPIResource):
394
394
  self,
395
395
  use_case_name: str,
396
396
  *,
397
- description: Optional[str] | NotGiven = NOT_GIVEN,
398
- logging_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
397
+ description: Optional[str] | Omit = omit,
398
+ logging_enabled: Optional[bool] | Omit = omit,
399
399
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
400
400
  # The extra values given here take precedence over values defined on the client or passed to this method.
401
401
  extra_headers: Headers | None = None,
402
402
  extra_query: Query | None = None,
403
403
  extra_body: Body | None = None,
404
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
404
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
405
405
  ) -> UseCaseDefinition:
406
406
  """
407
407
  Update a Use Case definition
@@ -435,16 +435,16 @@ class AsyncDefinitionsResource(AsyncAPIResource):
435
435
  def list(
436
436
  self,
437
437
  *,
438
- cursor: str | NotGiven = NOT_GIVEN,
439
- limit: int | NotGiven = NOT_GIVEN,
440
- sort_ascending: bool | NotGiven = NOT_GIVEN,
441
- use_case_name: str | NotGiven = NOT_GIVEN,
438
+ cursor: str | Omit = omit,
439
+ limit: int | Omit = omit,
440
+ sort_ascending: bool | Omit = omit,
441
+ use_case_name: str | Omit = omit,
442
442
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
443
443
  # The extra values given here take precedence over values defined on the client or passed to this method.
444
444
  extra_headers: Headers | None = None,
445
445
  extra_query: Query | None = None,
446
446
  extra_body: Body | None = None,
447
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
447
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
448
448
  ) -> AsyncPaginator[UseCaseDefinition, AsyncCursorPage[UseCaseDefinition]]:
449
449
  """
450
450
  Get all Use Cases
@@ -488,7 +488,7 @@ class AsyncDefinitionsResource(AsyncAPIResource):
488
488
  extra_headers: Headers | None = None,
489
489
  extra_query: Query | None = None,
490
490
  extra_body: Body | None = None,
491
- timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
491
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
492
492
  ) -> UseCaseDefinition:
493
493
  """
494
494
  Delete a Use Case