{
"_id": "9c1e4b7a-0000-4000-8000-000000000d01",
"name": "Carteira safra 26/27",
"classification": "Produtores de soja do MT",
"status": "ACTIVE",
"deactivationReason": null,
"draftReasons": [],
"effectiveStartDate": "2026-09-01T00:00:00.000Z",
"effectiveEndDate": "2027-08-31T00:00:00.000Z",
"remainingDays": 316,
"lastTriggerAt": "2026-10-15T00:00:00.000Z",
"clientsCount": 40,
"modules": [
{
"moduleKey": "PROTESTS",
"name": "Protestos",
"productId": "5f8d0d55-0000-4000-8000-000000000a01",
"frequencyDays": 15,
"enabled": true,
"alertEnabled": true,
"available": true,
"unavailableReason": null,
"criterion": "SPECIFIC_CHANGE",
"conditions": {
"logic": "OR",
"conditions": [
{
"field": "totalProtests",
"operator": "GREATER_THAN",
"value": 0
},
{
"field": "totalValue",
"operator": "GREATER_THAN_OR_EQUAL",
"value": 50000
}
]
},
"lastRunAt": "2026-10-15T00:00:00.000Z",
"nextRunAt": "2026-10-30T00:00:00.000Z"
},
{
"moduleKey": "JUDICIAL",
"name": "Judicial",
"productId": "5f8d0d55-0000-4000-8000-000000000a02",
"frequencyDays": 30,
"enabled": true,
"alertEnabled": true,
"available": false,
"unavailableReason": "SERVICE_UNAVAILABLE",
"criterion": "ANY_CHANGE",
"conditions": {},
"lastRunAt": "2026-10-15T00:00:00.000Z",
"nextRunAt": "2026-11-14T00:00:00.000Z"
},
{
"moduleKey": "DEBT",
"name": "Endividamento",
"productId": "5f8d0d55-0000-4000-8000-000000000a03",
"frequencyDays": 30,
"enabled": false,
"alertEnabled": true,
"available": true,
"unavailableReason": null,
"criterion": "ANY_CHANGE",
"conditions": {},
"lastRunAt": "2026-09-01T00:00:00.000Z",
"nextRunAt": "2026-10-01T00:00:00.000Z"
}
],
"createdAt": "2026-08-25T14:24:32.384Z",
"updatedAt": "2026-10-18T13:05:12.481Z",
"createdBy": {
"_id": "b2d4f6a8-0000-4000-8000-000000000e01",
"name": "Maria Exemplo da Silva"
},
"isOwner": true,
"hasQueryError": true,
"clients": {
"items": [
{
"_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "Empresa Exemplo Ltda",
"taxId": "11222333000181",
"kind": "legal",
"alertsCount": 2,
"unreadAlertsCount": 1
},
{
"_id": "0e7a3c58-91d4-4b6f-8c2a-5d3b9f1e6a22",
"name": "Maria Exemplo da Silva",
"taxId": "11144477735",
"kind": "natural",
"alertsCount": 0,
"unreadAlertsCount": 0
}
],
"total": 40,
"offset": 0,
"limit": 20
}
}