@@ -280,7 +280,7 @@ def send(
280280 )
281281 """
282282 _response = self ._client_wrapper .httpx_client .request (
283- f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages" ,
283+ f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages/send " ,
284284 method = "POST" ,
285285 json = {
286286 "to" : convert_and_respect_annotation_metadata (object_ = to , annotation = SendMessageTo , direction = "write" ),
@@ -382,7 +382,7 @@ def reply(
382382 )
383383 """
384384 _response = self ._client_wrapper .httpx_client .request (
385- f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages/{ jsonable_encoder (message_id )} " ,
385+ f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages/{ jsonable_encoder (message_id )} /reply " ,
386386 method = "POST" ,
387387 json = {
388388 "to" : convert_and_respect_annotation_metadata (object_ = to , annotation = SendMessageTo , direction = "write" ),
@@ -701,7 +701,7 @@ async def main() -> None:
701701 asyncio.run(main())
702702 """
703703 _response = await self ._client_wrapper .httpx_client .request (
704- f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages" ,
704+ f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages/send " ,
705705 method = "POST" ,
706706 json = {
707707 "to" : convert_and_respect_annotation_metadata (object_ = to , annotation = SendMessageTo , direction = "write" ),
@@ -811,7 +811,7 @@ async def main() -> None:
811811 asyncio.run(main())
812812 """
813813 _response = await self ._client_wrapper .httpx_client .request (
814- f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages/{ jsonable_encoder (message_id )} " ,
814+ f"v0/inboxes/{ jsonable_encoder (inbox_id )} /messages/{ jsonable_encoder (message_id )} /reply " ,
815815 method = "POST" ,
816816 json = {
817817 "to" : convert_and_respect_annotation_metadata (object_ = to , annotation = SendMessageTo , direction = "write" ),
0 commit comments