@@ -70,11 +70,11 @@ def list(
7070 """
7171 return self ._raw_client .list (limit = limit , page_token = page_token , request_options = request_options )
7272
73- def get (self , domain : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> Domain :
73+ def get (self , domain_id : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> Domain :
7474 """
7575 Parameters
7676 ----------
77- domain : DomainId
77+ domain_id : DomainId
7878
7979 request_options : typing.Optional[RequestOptions]
8080 Request-specific configuration.
@@ -91,10 +91,10 @@ def get(self, domain: DomainId, *, request_options: typing.Optional[RequestOptio
9191 api_key="YOUR_API_KEY",
9292 )
9393 client.domains.get(
94- domain="domain ",
94+ domain_id="domain_id ",
9595 )
9696 """
97- _response = self ._raw_client .get (domain , request_options = request_options )
97+ _response = self ._raw_client .get (domain_id , request_options = request_options )
9898 return _response .data
9999
100100 def create (
@@ -135,11 +135,11 @@ def create(
135135 )
136136 return _response .data
137137
138- def delete (self , domain : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> None :
138+ def delete (self , domain_id : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> None :
139139 """
140140 Parameters
141141 ----------
142- domain : DomainId
142+ domain_id : DomainId
143143
144144 request_options : typing.Optional[RequestOptions]
145145 Request-specific configuration.
@@ -156,10 +156,37 @@ def delete(self, domain: DomainId, *, request_options: typing.Optional[RequestOp
156156 api_key="YOUR_API_KEY",
157157 )
158158 client.domains.delete(
159- domain="domain",
159+ domain_id="domain_id",
160+ )
161+ """
162+ _response = self ._raw_client .delete (domain_id , request_options = request_options )
163+ return _response .data
164+
165+ def verify (self , domain_id : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> None :
166+ """
167+ Parameters
168+ ----------
169+ domain_id : DomainId
170+
171+ request_options : typing.Optional[RequestOptions]
172+ Request-specific configuration.
173+
174+ Returns
175+ -------
176+ None
177+
178+ Examples
179+ --------
180+ from agentmail import AgentMail
181+
182+ client = AgentMail(
183+ api_key="YOUR_API_KEY",
184+ )
185+ client.domains.verify(
186+ domain_id="domain_id",
160187 )
161188 """
162- _response = self ._raw_client .delete ( domain , request_options = request_options )
189+ _response = self ._raw_client .verify ( domain_id , request_options = request_options )
163190 return _response .data
164191
165192
@@ -224,11 +251,11 @@ async def main() -> None:
224251 """
225252 return await self ._raw_client .list (limit = limit , page_token = page_token , request_options = request_options )
226253
227- async def get (self , domain : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> Domain :
254+ async def get (self , domain_id : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> Domain :
228255 """
229256 Parameters
230257 ----------
231- domain : DomainId
258+ domain_id : DomainId
232259
233260 request_options : typing.Optional[RequestOptions]
234261 Request-specific configuration.
@@ -250,13 +277,13 @@ async def get(self, domain: DomainId, *, request_options: typing.Optional[Reques
250277
251278 async def main() -> None:
252279 await client.domains.get(
253- domain="domain ",
280+ domain_id="domain_id ",
254281 )
255282
256283
257284 asyncio.run(main())
258285 """
259- _response = await self ._raw_client .get (domain , request_options = request_options )
286+ _response = await self ._raw_client .get (domain_id , request_options = request_options )
260287 return _response .data
261288
262289 async def create (
@@ -305,11 +332,11 @@ async def main() -> None:
305332 )
306333 return _response .data
307334
308- async def delete (self , domain : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> None :
335+ async def delete (self , domain_id : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> None :
309336 """
310337 Parameters
311338 ----------
312- domain : DomainId
339+ domain_id : DomainId
313340
314341 request_options : typing.Optional[RequestOptions]
315342 Request-specific configuration.
@@ -331,11 +358,46 @@ async def delete(self, domain: DomainId, *, request_options: typing.Optional[Req
331358
332359 async def main() -> None:
333360 await client.domains.delete(
334- domain="domain",
361+ domain_id="domain_id",
362+ )
363+
364+
365+ asyncio.run(main())
366+ """
367+ _response = await self ._raw_client .delete (domain_id , request_options = request_options )
368+ return _response .data
369+
370+ async def verify (self , domain_id : DomainId , * , request_options : typing .Optional [RequestOptions ] = None ) -> None :
371+ """
372+ Parameters
373+ ----------
374+ domain_id : DomainId
375+
376+ request_options : typing.Optional[RequestOptions]
377+ Request-specific configuration.
378+
379+ Returns
380+ -------
381+ None
382+
383+ Examples
384+ --------
385+ import asyncio
386+
387+ from agentmail import AsyncAgentMail
388+
389+ client = AsyncAgentMail(
390+ api_key="YOUR_API_KEY",
391+ )
392+
393+
394+ async def main() -> None:
395+ await client.domains.verify(
396+ domain_id="domain_id",
335397 )
336398
337399
338400 asyncio.run(main())
339401 """
340- _response = await self ._raw_client .delete ( domain , request_options = request_options )
402+ _response = await self ._raw_client .verify ( domain_id , request_options = request_options )
341403 return _response .data
0 commit comments