plaid 13.0.1 → 13.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 889bbda3066333276dde988cc70df8d2b858685b9afa425ff18505073836b3a8
4
- data.tar.gz: 563c58e930b00fa84d2ef79945139ce8267730433549964953cf26984ee30219
3
+ metadata.gz: faabd7aeb11ab3291ac2880c309e6d2a92a454b6b61b3baa71f2dd9533eaeb87
4
+ data.tar.gz: aee18f2be7d98362bd75f67a55635320ce8f263a22d85773444c3d060961892d
5
5
  SHA512:
6
- metadata.gz: 47a70ded60dc17d5517f9df0699a66b61aac31f0d02110b0123d7eb4b11e9129aa2f3033eba6fb4a04ac37740f7f2bd4618e45092ab4762f7b9c9c64890718ab
7
- data.tar.gz: 9864f80769148aa5a2ebce0d488bf1518d8e0ec7868daf31084ba53b97e376ea337f1817afe558f7a1863e60e1acd079846423983dd9a5db1f4f07104308103c
6
+ metadata.gz: a9e6ed86ba538c82b45728e1fc3c98c5251f1a1ae2940b1e581ee256719bf6bb2b2aaf83627d872957470da844f91bb69112cf6393c3555994a31d8d94646ef9
7
+ data.tar.gz: 6a21a96833e9c34ffaeec35db943cfb03c14c92b851a7684605c579291238a6584525052b5c034d8ad58b78273b9e41c329b206cca44cce1cb4cbb1f43530972
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 13.1.0
2
+ - Add Standing Orders support to Payment Initiation
3
+
1
4
  # 13.0.1
2
5
  - Add `update_type` to `Item` model.
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plaid (13.0.1)
4
+ plaid (13.1.0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  hashie (>= 3.4.3)
@@ -11,11 +11,15 @@ GEM
11
11
  specs:
12
12
  ast (2.4.0)
13
13
  dotenv (2.4.0)
14
- faraday (1.3.0)
14
+ faraday (1.4.1)
15
+ faraday-excon (~> 1.1)
15
16
  faraday-net_http (~> 1.0)
17
+ faraday-net_http_persistent (~> 1.1)
16
18
  multipart-post (>= 1.2, < 3)
17
- ruby2_keywords
19
+ ruby2_keywords (>= 0.0.4)
20
+ faraday-excon (1.1.0)
18
21
  faraday-net_http (1.0.1)
22
+ faraday-net_http_persistent (1.1.0)
19
23
  faraday_middleware (1.0.0)
20
24
  faraday (~> 1.0)
21
25
  hashie (4.1.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # plaid-ruby [![Circle CI](https://circleci.com/gh/plaid/plaid-ruby.svg?style=svg&circle-token=30ee002ac2021da5b5b5a701d45fe2888af124a5)](https://circleci.com/gh/plaid/plaid-ruby) [![Gem Version](https://badge.fury.io/rb/plaid.svg)](http://badge.fury.io/rb/plaid)
2
2
 
3
- :warning: This major version of the library will only receive critical security patches after 7/12/21. Please consider trying out our new [beta version](https://github.com/plaid/plaid-ruby/tree/14.0.0-beta-release).
3
+ :warning: After 7/12/21, this major version of the library will only receive critical security patches. Please consider trying out our new [beta version](https://github.com/plaid/plaid-ruby/tree/14.0.0-beta-release).
4
4
 
5
5
  The official Ruby bindings for the [Plaid API](https://plaid.com/docs).
6
6
 
data/lib/plaid/models.rb CHANGED
@@ -744,6 +744,55 @@ module Plaid
744
744
  property :item_logins, coerce: InstitutionStatusItemLogins
745
745
  end
746
746
 
747
+ # Public: A representation of standing order metadata for an institution.
748
+ class StandingOrderMetadata < BaseModel
749
+ ##
750
+ # :attr_reader:
751
+ # Public: The Boolean flag indicating if the institution supports
752
+ # end date for standing orders.
753
+ property :supports_standing_order_end_date
754
+
755
+ ##
756
+ # :attr_reader:
757
+ # Public: The Boolean flag indicating if the institution supports
758
+ # negative execution days for standing orders.
759
+ property :supports_standing_order_negative_execution_days
760
+
761
+ ##
762
+ # :attr_reader:
763
+ # Public: The Array of valid standing order intervals for
764
+ # this institution.
765
+ # E.g. ["WEEKLY", "MONTHLY"].
766
+ property :valid_standing_order_intervals
767
+ end
768
+
769
+ # Public: A representation of an institution's payment initiation metadata.
770
+ class InstitutionPaymentInitiationMetadata < BaseModel
771
+ ##
772
+ # :attr_reader:
773
+ # Public: The map of maximum payment amount per currency for this
774
+ # institution.
775
+ # E.g. {"GBP"=>"1000000"}.
776
+ property :maximum_payment_amount
777
+
778
+ ##
779
+ # :attr_reader:
780
+ # Public: The standing order metadata for this institution.
781
+ property :standing_order_metadata, coerce: StandingOrderMetadata
782
+
783
+ ##
784
+ # :attr_reader:
785
+ # Public: The Boolean flag indicating if the institution supports
786
+ # international payments.
787
+ property :supports_international_payments
788
+
789
+ ##
790
+ # :attr_reader:
791
+ # Public: The Boolean flag indicating if the institution supports
792
+ # refund details.
793
+ property :supports_refund_details
794
+ end
795
+
747
796
  # Public: A representation of Institution.
748
797
  class Institution < BaseModel
749
798
  @ignored_properties = ['input_spec']
@@ -828,6 +877,13 @@ module Plaid
828
877
  # :attr_reader:
829
878
  # Public: Indicates that the institution has an OAuth login flow.
830
879
  property :oauth
880
+
881
+ ##
882
+ # :attr_reader:
883
+ # Public: Specifies metadata related to the payment_initiation product
884
+ # (or nil).
885
+ property :payment_initiation_metadata,
886
+ coerce: InstitutionPaymentInitiationMetadata
831
887
  end
832
888
 
833
889
  module MFA
data/lib/plaid/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Plaid
2
- VERSION = '13.0.1'.freeze
2
+ VERSION = '13.1.0'.freeze
3
3
  API_VERSION = '2020-09-14'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.0.1
4
+ version: 13.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Loo
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-04 00:00:00.000000000 Z
11
+ date: 2021-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -218,7 +218,7 @@ licenses:
218
218
  - MIT
219
219
  metadata:
220
220
  allowed_push_host: https://rubygems.org
221
- post_install_message:
221
+ post_install_message:
222
222
  rdoc_options: []
223
223
  require_paths:
224
224
  - lib
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  version: '0'
235
235
  requirements: []
236
236
  rubygems_version: 3.0.3
237
- signing_key:
237
+ signing_key:
238
238
  specification_version: 4
239
239
  summary: Ruby bindings for Plaid
240
240
  test_files: []