mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* feat(models): add bank bridge models * feat(storage): add bank bridge migrations and functions * feat(engine): add bank bridge workflows * feat(connectors): add plaid bank bridge connector * feat(events): add bank bridge events * feat(api): add bank bridge router * feat(*): bank bridge boilerplate * fix nil pointer crash * add more check when getting link attempts + change enum * fix tests * remove print * fixes after reviews * add specific table for access tokens * fixes after reviews * fix go mod tidy * remove indexes + null default * plaid: add tests * *: add more tests * fix after rebase
18 lines
478 B
Go
18 lines
478 B
Go
package plaid
|
|
|
|
import "github.com/formancehq/payments/internal/models"
|
|
|
|
func workflow() models.ConnectorTasksTree {
|
|
// Do not launch fetch data workflows here, since we're depending on the
|
|
// users to finish the link flow instead of the installation of this
|
|
// connector.
|
|
return []models.ConnectorTaskTree{
|
|
{
|
|
TaskType: models.TASK_CREATE_WEBHOOKS,
|
|
Name: "create_webhooks",
|
|
Periodically: false,
|
|
NextTasks: []models.ConnectorTaskTree{},
|
|
},
|
|
}
|
|
}
|