Files
Paul NicolasandGitHub 65e425d2cf fix(workflow): fix workflow tasks returning too soon (#270)
* fix(workflow): fix workflow tasks returning too soon

* fix(storage): missing page size for schedules
2025-01-21 16:38:55 +01:00

33 lines
815 B
Go

package currencycloud
import "github.com/formancehq/payments/internal/models"
func workflow() models.ConnectorTasksTree {
return []models.ConnectorTaskTree{
{
TaskType: models.TASK_FETCH_ACCOUNTS,
Name: "fetch_accounts",
Periodically: true,
NextTasks: []models.ConnectorTaskTree{},
},
{
TaskType: models.TASK_FETCH_PAYMENTS,
Name: "fetch_payments",
Periodically: true,
NextTasks: []models.ConnectorTaskTree{},
},
{
TaskType: models.TASK_FETCH_EXTERNAL_ACCOUNTS,
Name: "fetch_beneficiaries",
Periodically: true,
NextTasks: []models.ConnectorTaskTree{},
},
{
TaskType: models.TASK_FETCH_BALANCES,
Name: "fetch_balances",
Periodically: true,
NextTasks: []models.ConnectorTaskTree{},
},
}
}