Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
Expand Down
13 changes: 9 additions & 4 deletions lib/ibanity/api/ponto_connect/onboarding_details.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ defmodule Ibanity.PontoConnect.OnboardingDetails do
:initial_financial_institution_id,
:organization_name,
:organization_type,
:preferred_opt_method,
:preferred_otp_method,
:requested_organization_id,
:partner_reference
:partner_reference,
:requested_organisation_id,
:skip_financial_institution_selection
]

alias Ibanity.PontoConnect
Expand Down Expand Up @@ -124,9 +126,12 @@ defmodule Ibanity.PontoConnect.OnboardingDetails do
organization_type: {["attributes", "organizationType"], :string},
automatic_submission_on_completed_forms:
{["attributes", "automaticSubmissionOnCompletedForms"], :boolean},
preferred_opt_method: {["attributes", "preferredOtpMethod"], :string},
preferred_otp_method: {["attributes", "preferredOtpMethod"], :string},
requested_organization_id: {["attributes", "requestedOrganizationId"], :string},
partner_reference: {["attributes", "partnerReference"], :string}
partner_reference: {["attributes", "partnerReference"], :string},
requested_organisation_id: {["attributes", "requestedOrganisationId"], :string},
skip_financial_institution_selection:
{["attributes", "skipFinancialInstitutionSelection"], :boolean}
]
end
end
Loading