diff --git a/src/sayari/project/types/project_entities_filter.py b/src/sayari/project/types/project_entities_filter.py index 92ecc64..8fc03ca 100644 --- a/src/sayari/project/types/project_entities_filter.py +++ b/src/sayari/project/types/project_entities_filter.py @@ -81,7 +81,7 @@ class ProjectEntitiesFilter(UniversalBaseModel): Filter by a geographical bounding box. The value is a pipe-delimited set of four values representing the top, left, bottom, and right sides of the bounding box, in that order. The pipes should be URL-encoded as `%7C`. The top coordinate must greater than the bottom coordinate, and the left coordinate must be less than the right coordinate. A sample is `55.680357237879136|-71.53607290158526|41.10876347746233|-40.963927098414736` """ - custom_field_name: typing.Optional[typing.List[str]] = pydantic.Field(alias="custom_", default=None) + custom_field_name: typing.Optional[typing.List[str]] = pydantic.Field(alias="custom_{field name}", default=None) """ This property is in beta and is subject to change. It is provided for early access and testing purposes only. custom user key/value pairs (key must be prefixed with "custom\_" and value must be "string" type) """ diff --git a/src/sayari/project/types/sort_field.py b/src/sayari/project/types/sort_field.py index f4b73cd..30be8f2 100644 --- a/src/sayari/project/types/sort_field.py +++ b/src/sayari/project/types/sort_field.py @@ -16,8 +16,8 @@ "-latest_status", "label", "-label", - "custom_", - "-custom_", + "custom_{field name}", + "-custom_{field name}", "receiver_of", "-receiver_of", "shipper_of", diff --git a/src/sayari/resolution/types/resolution_persisted_response_fields.py b/src/sayari/resolution/types/resolution_persisted_response_fields.py index d8b7298..0ef5d14 100644 --- a/src/sayari/resolution/types/resolution_persisted_response_fields.py +++ b/src/sayari/resolution/types/resolution_persisted_response_fields.py @@ -7,7 +7,7 @@ class ResolutionPersistedResponseFields(ResolutionResponseFields): - custom_field_name: typing.Optional[str] = pydantic.Field(alias="custom_", default=None) + custom_field_name: typing.Optional[str] = pydantic.Field(alias="custom_{field name}", default=None) """ This property is in beta and is subject to change. It is provided for early access and testing purposes only. custom user key/value pairs (key must be prefixed with "custom\_" and value must be "string" type) """