defadd_account_sip(sip:models.CreateSipAccount,account_name:str=Query(...,regex=models.PHONE_REGEX,name='Número',description='Cuenta SIP a recargar'),):
defadd_account_sip(sip:models.CreateSipAccount,account_name:str=Query(...,regex=models.PHONE_REGEX,name='Número',description='Cuenta SIP a recargar'),):
@app.post('/v2/sip/{caller_id}/transfer',response_model=models.SipAccount,name="Transfiere la Cuenta",description="Modifica al Propietario de la Cuenta",
@app.post('/v2/sip/{caller_id}/transfer',response_model=models.SipAccount,name="Transfiere la Cuenta",description="Modifica al Propietario de la Cuenta",
tags=["SIP"],status_code=200)
tags=["SIP"],status_code=200)
defadd_account_sip(account:models.TransferSip,caller_id:str=Query(...,regex=models.PHONE_REGEX,name='Número',description='Cuenta SIP a consultar')):
defadd_account_sip(account:models.TransferSip,caller_id:str=Query(...,regex=models.PHONE_REGEX,name='Número',description='Cuenta SIP a consultar')):