Ajustes conforme relatorio de testes 2026-08-27
This commit is contained in:
23
app/domain/contas/fixtures/authorized_lines.json
Normal file
23
app/domain/contas/fixtures/authorized_lines.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"accounts": [
|
||||
{
|
||||
"authenticated_msisdn": "11999999999",
|
||||
"customer_key": "11999999999",
|
||||
"contract_key": "3000131180",
|
||||
"authorized_lines": [
|
||||
{
|
||||
"msisdn": "11999999999",
|
||||
"relationship": "titular",
|
||||
"status": "ACTIVE",
|
||||
"authorized": true
|
||||
},
|
||||
{
|
||||
"msisdn": "11988884321",
|
||||
"relationship": "dependente",
|
||||
"status": "ACTIVE",
|
||||
"authorized": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
52
app/domain/contas/fixtures/discount_history.json
Normal file
52
app/domain/contas/fixtures/discount_history.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"accounts": [
|
||||
{
|
||||
"msisdn": "11999999999",
|
||||
"customer_key": "11999999999",
|
||||
"contract_key": "3000131180",
|
||||
"discounts": [
|
||||
{
|
||||
"discount_id": "DESC-FIDEL-80-BLACK",
|
||||
"discount_name": "Desc Fidel 80 TIM Black A compartilhado 8.0",
|
||||
"discount_type": "FIDELITY",
|
||||
"plan_name": "TIM Black A 8.0",
|
||||
"previous_value": 80.0,
|
||||
"current_value": 0.0,
|
||||
"start_date": "2024-11-20",
|
||||
"end_date": "2025-11-20",
|
||||
"discount_status": "EXPIRED",
|
||||
"termination_reason": "FIM_PERIODO_FIDELIDADE",
|
||||
"termination_reason_description": "O período de fidelidade contratado foi encerrado.",
|
||||
"current_value_reference": "contract_as_of_date",
|
||||
"as_of_date": "2025-11-20",
|
||||
"last_billed_discount_value": 80.0,
|
||||
"last_billed_period": "14/10 a 13/11",
|
||||
"last_invoice_issue_date": "2025-11-20",
|
||||
"last_billed_status": "APPLIED"
|
||||
},
|
||||
{
|
||||
"discount_id": "DESC-FIDEL-33-CTRL",
|
||||
"discount_name": "Desc Fidel 33 TIM CTRL Redes Sociais 8.0",
|
||||
"discount_type": "FIDELITY",
|
||||
"plan_name": "TIM CTRL Redes Sociais 8.0",
|
||||
"previous_value": 33.0,
|
||||
"current_value": 33.0,
|
||||
"start_date": "2025-04-20",
|
||||
"end_date": "2026-04-20",
|
||||
"discount_status": "ACTIVE",
|
||||
"termination_reason": null,
|
||||
"termination_reason_description": null,
|
||||
"current_value_reference": "contract_as_of_date",
|
||||
"as_of_date": "2025-11-20",
|
||||
"last_billed_discount_value": 33.0,
|
||||
"last_billed_period": "14/10 a 13/11",
|
||||
"last_invoice_issue_date": "2025-11-20",
|
||||
"last_billed_status": "APPLIED"
|
||||
}
|
||||
],
|
||||
"as_of_date": "2025-11-20",
|
||||
"last_invoice_issue_date": "2025-11-20",
|
||||
"last_billed_period": "14/10 a 13/11"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user