@@ -83,23 +83,30 @@ class ListGrantsQueryParams(TypedDict):
8383 limit: The maximum number of objects to return.
8484 This field defaults to 10. The maximum allowed value is 200.
8585 offset: Offset grant results by this number.
86- sortBy : Sort entries by field name
87- orderBy : Specify ascending or descending order.
86+ sort_by : Sort entries by field name.
87+ order_by : Specify ascending or descending order.
8888 since: Scope grants from a specific point in time by Unix timestamp.
8989 before: Scope grants to a specific point in time by Unix timestamp.
9090 email: Filtering your query based on grant email address (if applicable)
91- grantStatus : Filtering your query based on grant email status (if applicable)
91+ grant_status : Filtering your query based on grant email status (if applicable)
9292 ip: Filtering your query based on grant IP address
9393 provider: Filtering your query based on OAuth provider
94+ sortBy: Deprecated camelCase alias for sort_by.
95+ orderBy: Deprecated camelCase alias for order_by.
96+ grantStatus: Deprecated camelCase alias for grant_status.
9497 """
9598
9699 limit : NotRequired [int ]
97100 offset : NotRequired [int ]
98- sortBy : NotRequired [str ]
99- orderBy : NotRequired [str ]
101+ sort_by : NotRequired [str ]
102+ order_by : NotRequired [str ]
100103 since : NotRequired [int ]
101104 before : NotRequired [int ]
102105 email : NotRequired [str ]
103- grantStatus : NotRequired [str ]
106+ grant_status : NotRequired [str ]
104107 ip : NotRequired [str ]
105108 provider : NotRequired [Provider ]
109+ # Backward-compatible aliases for callers still passing camelCase keys.
110+ sortBy : NotRequired [str ]
111+ orderBy : NotRequired [str ]
112+ grantStatus : NotRequired [str ]
0 commit comments