|
27 | 27 | from ...types.data.record_delete_response import RecordDeleteResponse |
28 | 28 | from ...types.data.record_update_response import RecordUpdateResponse |
29 | 29 | from ...types.data.record_upsert_response import RecordUpsertResponse |
| 30 | +from ...types.data.record_attributes_param import RecordAttributesParam |
30 | 31 | from ...types.data.record_retrieve_response import RecordRetrieveResponse |
31 | | -from ...types.data.u_record_attributes_param import URecordAttributesParam |
32 | 32 | from ...types.data.record_find_unique_response import RecordFindUniqueResponse |
33 | 33 |
|
34 | 34 | __all__ = ["RecordsResource", "AsyncRecordsResource"] |
@@ -58,7 +58,7 @@ def create( |
58 | 58 | self, |
59 | 59 | object_name: str, |
60 | 60 | *, |
61 | | - data: URecordAttributesParam, |
| 61 | + data: RecordAttributesParam, |
62 | 62 | validation_mode: ValidationMode | Omit = omit, |
63 | 63 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
64 | 64 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -145,7 +145,7 @@ def update( |
145 | 145 | record_id: str, |
146 | 146 | *, |
147 | 147 | object_name: str, |
148 | | - data: URecordAttributesParam, |
| 148 | + data: RecordAttributesParam, |
149 | 149 | validation_mode: ValidationMode | 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. |
@@ -235,7 +235,7 @@ def find_unique( |
235 | 235 | self, |
236 | 236 | object_name: str, |
237 | 237 | *, |
238 | | - match: URecordAttributesParam, |
| 238 | + match: RecordAttributesParam, |
239 | 239 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
240 | 240 | # The extra values given here take precedence over values defined on the client or passed to this method. |
241 | 241 | extra_headers: Headers | None = None, |
@@ -270,13 +270,13 @@ def upsert( |
270 | 270 | self, |
271 | 271 | object_name: str, |
272 | 272 | *, |
273 | | - match: URecordAttributesParam, |
| 273 | + match: RecordAttributesParam, |
274 | 274 | validation_mode: ValidationMode | Omit = omit, |
275 | | - create: URecordAttributesParam | Omit = omit, |
276 | | - create_or_update: URecordAttributesParam | Omit = omit, |
277 | | - create_or_update_if_empty: URecordAttributesParam | Omit = omit, |
278 | | - update: URecordAttributesParam | Omit = omit, |
279 | | - update_if_empty: URecordAttributesParam | Omit = omit, |
| 275 | + create: RecordAttributesParam | Omit = omit, |
| 276 | + create_or_update: RecordAttributesParam | Omit = omit, |
| 277 | + create_or_update_if_empty: RecordAttributesParam | Omit = omit, |
| 278 | + update: RecordAttributesParam | Omit = omit, |
| 279 | + update_if_empty: RecordAttributesParam | Omit = omit, |
280 | 280 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
281 | 281 | # The extra values given here take precedence over values defined on the client or passed to this method. |
282 | 282 | extra_headers: Headers | None = None, |
@@ -366,7 +366,7 @@ async def create( |
366 | 366 | self, |
367 | 367 | object_name: str, |
368 | 368 | *, |
369 | | - data: URecordAttributesParam, |
| 369 | + data: RecordAttributesParam, |
370 | 370 | validation_mode: ValidationMode | Omit = omit, |
371 | 371 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
372 | 372 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -455,7 +455,7 @@ async def update( |
455 | 455 | record_id: str, |
456 | 456 | *, |
457 | 457 | object_name: str, |
458 | | - data: URecordAttributesParam, |
| 458 | + data: RecordAttributesParam, |
459 | 459 | validation_mode: ValidationMode | 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. |
@@ -547,7 +547,7 @@ async def find_unique( |
547 | 547 | self, |
548 | 548 | object_name: str, |
549 | 549 | *, |
550 | | - match: URecordAttributesParam, |
| 550 | + match: RecordAttributesParam, |
551 | 551 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
552 | 552 | # The extra values given here take precedence over values defined on the client or passed to this method. |
553 | 553 | extra_headers: Headers | None = None, |
@@ -582,13 +582,13 @@ async def upsert( |
582 | 582 | self, |
583 | 583 | object_name: str, |
584 | 584 | *, |
585 | | - match: URecordAttributesParam, |
| 585 | + match: RecordAttributesParam, |
586 | 586 | validation_mode: ValidationMode | Omit = omit, |
587 | | - create: URecordAttributesParam | Omit = omit, |
588 | | - create_or_update: URecordAttributesParam | Omit = omit, |
589 | | - create_or_update_if_empty: URecordAttributesParam | Omit = omit, |
590 | | - update: URecordAttributesParam | Omit = omit, |
591 | | - update_if_empty: URecordAttributesParam | Omit = omit, |
| 587 | + create: RecordAttributesParam | Omit = omit, |
| 588 | + create_or_update: RecordAttributesParam | Omit = omit, |
| 589 | + create_or_update_if_empty: RecordAttributesParam | Omit = omit, |
| 590 | + update: RecordAttributesParam | Omit = omit, |
| 591 | + update_if_empty: RecordAttributesParam | Omit = omit, |
592 | 592 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
593 | 593 | # The extra values given here take precedence over values defined on the client or passed to this method. |
594 | 594 | extra_headers: Headers | None = None, |
|
0 commit comments