ibanity 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/ibanity/api/ponto_connect/transaction.rb +9 -2
- data/lib/ibanity/api/xs2a/synchronization.rb +7 -0
- data/lib/ibanity/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc779e16b7658943269fa2f63e2682dc34ab7050bf2751dcdcfd10200b30b206
|
4
|
+
data.tar.gz: 92a9a49ddb5afddca15232d9e49690beaa209aba8c1c5957013bcf39a9a06f0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b64cd808868849afae6727dc0c6f2717840da42b875d8d033efacf46fdff5124792e5828fd4a9b7e9d5bd3979ecce12e5d93dd12df62282625db704466d2f4f0
|
7
|
+
data.tar.gz: 91267c064ce5bc62b438c422a258cc7c18186c3a035867b2734a756365bf6a65abd9ef2f4648815bc1e53b5c2c7ddd44b9bec06786ce83c029906c730df7af77
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.0.1
|
4
|
+
|
5
|
+
* [Ponto Connect] Fix UpdatedTransactions relationship parsing for synchronization
|
6
|
+
* [XS2A] Fix initialAccountTransactionsSynchronizations relationship parsing for accountInformationAccessRequest
|
7
|
+
|
3
8
|
## 2.0
|
4
9
|
|
5
10
|
* [Isabel Connect] Upgrade to version 2 of the API.
|
@@ -1,8 +1,15 @@
|
|
1
1
|
module Ibanity
|
2
2
|
module PontoConnect
|
3
3
|
class Transaction < Ibanity::BaseResource
|
4
|
-
def self.list(access_token:, account_id
|
5
|
-
uri =
|
4
|
+
def self.list(access_token:, account_id: nil, synchronization_id: nil, **query_params)
|
5
|
+
uri = if synchronization_id
|
6
|
+
Ibanity.ponto_connect_api_schema["synchronization"]["updatedTransactions"]
|
7
|
+
.sub("{synchronizationId}", synchronization_id)
|
8
|
+
else
|
9
|
+
Ibanity.ponto_connect_api_schema["account"]["transactions"]
|
10
|
+
.sub("{accountId}", account_id)
|
11
|
+
.sub("{transactionId}", "")
|
12
|
+
end
|
6
13
|
list_by_uri(uri: uri, query_params: query_params, customer_access_token: access_token)
|
7
14
|
end
|
8
15
|
|
@@ -1,6 +1,13 @@
|
|
1
1
|
module Ibanity
|
2
2
|
module Xs2a
|
3
3
|
class Synchronization < Ibanity::BaseResource
|
4
|
+
def self.list(financial_institution_id:, account_information_access_request_id:, customer_access_token:, headers: nil, **query_params)
|
5
|
+
uri = Ibanity.xs2a_api_schema["customer"]["financialInstitution"]["accountInformationAccessRequest"]["initialAccountTransactionsSynchronizations"]
|
6
|
+
.sub("{financialInstitutionId}", financial_institution_id)
|
7
|
+
.sub("{accountInformationAccessRequestId}", account_information_access_request_id)
|
8
|
+
list_by_uri(uri: uri, query_params: query_params, customer_access_token: customer_access_token, headers: headers)
|
9
|
+
end
|
10
|
+
|
4
11
|
def self.create(customer_access_token:, **attributes)
|
5
12
|
uri = Ibanity.xs2a_api_schema["customer"]["synchronizations"]
|
6
13
|
.sub("{synchronizationId}", "")
|
data/lib/ibanity/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibanity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ibanity
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|