finapps 6.11.0 → 6.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 701a3842e404d5025eccbfd03848e77a1c97ebf837974d51dbbe5d62b7b29ef2
4
- data.tar.gz: bd21d306c479be7300b8d9b2769b0e50e657c9c2e962009fa21f82671ab338fe
3
+ metadata.gz: 9b5ee328bf6ddb3cd7701096b62c41b1a0fb690af5a022ff5db7d92548f319f1
4
+ data.tar.gz: 0b823c3b3df60dc4ecc399c7c5d9071d5866095074dc85125e593f5c8a575679
5
5
  SHA512:
6
- metadata.gz: 44bf90538086fc313fbd62e8be9fdb908a72131f31a24a3485528f8da4cc94f299dc1ee1c328116447472914243f5a43916e9c667927fb07221b4d5217685718
7
- data.tar.gz: b61176f93d88fdf09e6a640c3a31185b60d295c76ba71a8654f28397ba8c22c5a9feb97b93fb5c07243f3af076387cc38dd1c48b6ae89313546925f796e940fb
6
+ metadata.gz: 5cb7810fbf1ca88917776cad3248e695c24291ba2615ab1fe794a21d967e8c08e4de8df46c65294654941561ecc7e20916e413b8518333974443a138159ec5f4
7
+ data.tar.gz: 5a4518232564c587b524110b667b4da0966361b6eac9f1863695e71c31e7acb84d7b80e88eb67b8835e5a8ab84546a9d9cb152eacc3a10f105a2a1f2929427cd
@@ -7,7 +7,7 @@ jobs:
7
7
  label:
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
- - uses: mheap/github-action-required-labels@v1.2
10
+ - uses: mheap/github-action-required-labels@v2.1
11
11
  with:
12
12
  mode: minimum
13
13
  count: 1
data/.rubocop.yml CHANGED
@@ -52,7 +52,7 @@ Metrics/ClassLength:
52
52
  - app/models/order.rb
53
53
  - spec/support/fake_api.rb
54
54
  Metrics/BlockLength:
55
- IgnoredMethods: ['describe', 'context']
55
+ AllowedMethods: ['describe', 'context']
56
56
  Exclude:
57
57
  - config/environments/**/**
58
58
  - Guardfile
data/finapps.gemspec CHANGED
@@ -17,7 +17,6 @@ Gem::Specification.new do |spec|
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0")
19
19
  spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
20
- spec.test_files = Dir['spec/**/*.rb']
21
20
  spec.require_paths = ['lib']
22
21
 
23
22
  spec.add_runtime_dependency 'finapps_core', '~> 6.0', '>= 6.0.2'
@@ -67,7 +67,7 @@ module FinApps
67
67
  end
68
68
  end
69
69
 
70
- QUERY_RESOURCES = [:query_screenings].freeze
70
+ QUERY_RESOURCES = %i(query_screenings query_users).freeze
71
71
 
72
72
  QUERY_RESOURCES.each do |method|
73
73
  define_method(method) do
@@ -8,7 +8,7 @@ module FinApps
8
8
  not_blank(doc_id, :doc_id)
9
9
 
10
10
  path =
11
- "consumers/#{ERB::Util.url_encode(consumer_id)}/"\
11
+ "consumers/#{ERB::Util.url_encode(consumer_id)}/" \
12
12
  "documents/#{ERB::Util.url_encode(doc_id)}?thumbnail=#{thumbnail}"
13
13
  super(nil, path)
14
14
  end
@@ -9,6 +9,20 @@ module FinApps
9
9
  path = "documents/edm/#{ERB::Util.url_encode(order_id)}/transmit"
10
10
  super(params, path)
11
11
  end
12
+
13
+ def show(transmission_id)
14
+ not_blank(transmission_id, :transmission_id)
15
+
16
+ path = "documents/edm/#{ERB::Util.url_encode(transmission_id)}"
17
+ super transmission_id, path
18
+ end
19
+
20
+ def show_by_order(order_id)
21
+ not_blank(order_id, :order_id)
22
+
23
+ path = "documents/edm/#{ERB::Util.url_encode(order_id)}/status"
24
+ send_request_for_id path, :get, order_id
25
+ end
12
26
  end
13
27
  end
14
28
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FinApps
4
+ module REST
5
+ module Query
6
+ class Users < FinApps::REST::Query::Base
7
+ end
8
+ end
9
+ end
10
+ end
@@ -8,7 +8,7 @@ module FinApps
8
8
  not_blank(signature_request_id, :signature_request_id)
9
9
 
10
10
  path =
11
- "consumers/#{ERB::Util.url_encode(consumer_id)}/"\
11
+ "consumers/#{ERB::Util.url_encode(consumer_id)}/" \
12
12
  "documents/#{ERB::Util.url_encode(signature_request_id)}"
13
13
  super(nil, path)
14
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinApps
4
- VERSION = '6.11.0'
4
+ VERSION = '6.13.1'
5
5
  end
data/lib/finapps.rb CHANGED
@@ -59,6 +59,7 @@ require 'finapps/rest/verix/verix_documents'
59
59
 
60
60
  require 'finapps/rest/query/base'
61
61
  require 'finapps/rest/query/screenings'
62
+ require 'finapps/rest/query/users'
62
63
 
63
64
  require 'finapps/utils/query_builder'
64
65
  require 'finapps/version' unless defined?(FinApps::VERSION)
@@ -118,11 +118,11 @@ RSpec.describe FinApps::REST::Consumers do
118
118
 
119
119
  it 'builds query and sends proper request' do
120
120
  list
121
- filter = '{"$or":['\
122
- '{"external_id":"term"},'\
123
- '{"email":"term"},'\
124
- '{"first_name":"term"},'\
125
- '{"last_name":"term"}'\
121
+ filter = '{"$or":[' \
122
+ '{"external_id":"term"},' \
123
+ '{"email":"term"},' \
124
+ '{"first_name":"term"},' \
125
+ '{"last_name":"term"}' \
126
126
  ']}'
127
127
  query = "?filter=#{filter}&page=2&requested=25&sort=date_created"
128
128
  url = "#{versioned_api_path}/consumers#{query}"
@@ -141,15 +141,15 @@ RSpec.describe FinApps::REST::Consumers do
141
141
 
142
142
  it 'treats space as start of a new query for first and last name' do
143
143
  list
144
- filter = '{"$or":['\
145
- '{"external_id":"Two terms"},'\
146
- '{"email":"Two terms"},'\
147
- '{"first_name":"Two terms"},'\
148
- '{"last_name":"Two terms"},'\
149
- '{"first_name":"Two"},'\
150
- '{"last_name":"Two"},'\
151
- '{"first_name":"terms"},'\
152
- '{"last_name":"terms"}'\
144
+ filter = '{"$or":[' \
145
+ '{"external_id":"Two terms"},' \
146
+ '{"email":"Two terms"},' \
147
+ '{"first_name":"Two terms"},' \
148
+ '{"last_name":"Two terms"},' \
149
+ '{"first_name":"Two"},' \
150
+ '{"last_name":"Two"},' \
151
+ '{"first_name":"terms"},' \
152
+ '{"last_name":"terms"}' \
153
153
  ']}'
154
154
  query = "?filter=#{filter}&page=2&requested=25&sort=date_created"
155
155
  url = "#{versioned_api_path}/consumers#{query}"
@@ -49,12 +49,12 @@ RSpec.describe FinApps::REST::DocumentsOrders do
49
49
  it 'builds query and sends proper request' do
50
50
  list
51
51
  url =
52
- "#{versioned_api_path}/documents/orders?"\
53
- 'filter=%7B%22$or%22:%5B%7B%22applicant.email%22:'\
54
- '%22term%22%7D,%7B%22applicant.first_name%22:%22term%22%7D,'\
55
- '%7B%22applicant.last_name%22:%22term%22%7D,'\
56
- '%7B%22applicant.external_id%22:%22term%22%7D,%7B%22reference_no%22:'\
57
- '%7B%22$regex%22:%22%5Eterm%22,%22$options%22:%22i%22%7D%7D%5D,'\
52
+ "#{versioned_api_path}/documents/orders?" \
53
+ 'filter=%7B%22$or%22:%5B%7B%22applicant.email%22:' \
54
+ '%22term%22%7D,%7B%22applicant.first_name%22:%22term%22%7D,' \
55
+ '%7B%22applicant.last_name%22:%22term%22%7D,' \
56
+ '%7B%22applicant.external_id%22:%22term%22%7D,%7B%22reference_no%22:' \
57
+ '%7B%22$regex%22:%22%5Eterm%22,%22$options%22:%22i%22%7D%7D%5D,' \
58
58
  '%22consumer_id%22:%22valid_consumer_id%22%7D&page=2&requested=25&sort=tag'
59
59
 
60
60
  expect(WebMock).to have_requested(:get, url)
@@ -66,15 +66,15 @@ RSpec.describe FinApps::REST::DocumentsOrders do
66
66
  it 'builds query and sends proper request' do
67
67
  list
68
68
  url =
69
- "#{versioned_api_path}/documents/orders?"\
70
- 'filter=%7B%22$or%22:%5B%7B%22applicant.email%22:'\
71
- '%22Blue%20Jay%22%7D,%7B%22applicant.first_name%22:'\
72
- '%22Blue%20Jay%22%7D,%7B%22applicant.last_name%22:'\
73
- '%22Blue%20Jay%22%7D,%7B%22applicant.external_id%22:'\
74
- '%22Blue%20Jay%22%7D,%7B%22reference_no%22:%7B%22$regex%22:'\
75
- '%22%5EBlue%20Jay%22,%22$options%22:%22i%22%7D%7D,'\
76
- '%7B%22applicant.first_name%22:%22Blue%22%7D,%7B%22'\
77
- 'applicant.last_name%22:%22Blue%22%7D,%7B%22applicant.first_name%22:'\
69
+ "#{versioned_api_path}/documents/orders?" \
70
+ 'filter=%7B%22$or%22:%5B%7B%22applicant.email%22:' \
71
+ '%22Blue%20Jay%22%7D,%7B%22applicant.first_name%22:' \
72
+ '%22Blue%20Jay%22%7D,%7B%22applicant.last_name%22:' \
73
+ '%22Blue%20Jay%22%7D,%7B%22applicant.external_id%22:' \
74
+ '%22Blue%20Jay%22%7D,%7B%22reference_no%22:%7B%22$regex%22:' \
75
+ '%22%5EBlue%20Jay%22,%22$options%22:%22i%22%7D%7D,' \
76
+ '%7B%22applicant.first_name%22:%22Blue%22%7D,%7B%22' \
77
+ 'applicant.last_name%22:%22Blue%22%7D,%7B%22applicant.first_name%22:' \
78
78
  '%22Jay%22%7D,%7B%22applicant.last_name%22:%22Jay%22%7D%5D%7D&page=2'
79
79
 
80
80
  expect(WebMock).to have_requested(:get, url)
@@ -3,18 +3,37 @@
3
3
  RSpec.describe FinApps::REST::EdmTransmissions do
4
4
  include SpecHelpers::Client
5
5
 
6
+ RSpec.shared_examples 'an EdmTransmission response' do
7
+ it_behaves_like 'an API request'
8
+ it_behaves_like 'a successful request'
9
+
10
+ it('returns a hash with the correct keys') do
11
+ expect(subject[RESULTS].keys)
12
+ .to(match_array(%i[transmission_id date_created date_modified status
13
+ document_order_id documents]))
14
+ end
15
+ end
16
+
6
17
  describe '#create' do
7
18
  subject(:list) { described_class.new(client).create(:order_id, params) }
8
19
 
9
20
  let(:params) { {external_id: '12345'} }
10
21
 
22
+ it_behaves_like 'an EdmTransmission response'
23
+ end
24
+
25
+ describe '#show' do
26
+ subject(:show) { described_class.new(client).show(:transmission_id) }
27
+
28
+ it_behaves_like 'an EdmTransmission response'
29
+ end
30
+
31
+ describe '#show_by_order' do
32
+ subject(:show) { described_class.new(client).show_by_order(:order_id) }
33
+
11
34
  it_behaves_like 'an API request'
12
35
  it_behaves_like 'a successful request'
13
36
 
14
- it('returns a hash with known keys') do
15
- expect(list[RESULTS].keys)
16
- .to(match_array(%i[transmission_id date_created date_modified status
17
- document_order_id documents]))
18
- end
37
+ it_behaves_like 'an EdmTransmission response'
19
38
  end
20
39
  end
@@ -75,8 +75,8 @@ RSpec.describe FinApps::REST::Operators do
75
75
  list
76
76
 
77
77
  filter = {'$or': [{last_name: 't'}], role: {'$in': [2]}}
78
- expect(WebMock).to have_requested(:get, "#{versioned_api_path}/operators"\
79
- "?filter=#{ERB::Util.url_encode filter.to_json}"\
78
+ expect(WebMock).to have_requested(:get, "#{versioned_api_path}/operators" \
79
+ "?filter=#{ERB::Util.url_encode filter.to_json}" \
80
80
  '&page=2&requested=25&sort=date_created')
81
81
  end
82
82
  end
@@ -132,13 +132,13 @@ RSpec.describe FinApps::REST::Orders do
132
132
 
133
133
  it 'builds query and sends proper request' do
134
134
  list
135
- url = "#{versioned_api_path}/orders?"\
136
- 'filter=%7B%22$or%22:%5B%7B%22public_id%22:%7B%22$regex%22:%22%5E'\
137
- 'term%22,%22$options%22:%22i%22%7D%7D,%7B%22assignment.last_name%22:%22'\
138
- 'term%22%7D,%7B%22applicant.first_name%22:%22term%22%7D,%7B%22'\
139
- 'applicant.last_name%22:%22term%22%7D,%7B%22requestor.reference_no'\
140
- '%22:%7B%22$regex%22:%22%5Eterm%22,%22$options%22:%22i%22%7D%7D%5D,%22'\
141
- 'status%22:%7B%22$in%22:%5B1,7%5D%7D,%22assignment.operator_id%22:%22'\
135
+ url = "#{versioned_api_path}/orders?" \
136
+ 'filter=%7B%22$or%22:%5B%7B%22public_id%22:%7B%22$regex%22:%22%5E' \
137
+ 'term%22,%22$options%22:%22i%22%7D%7D,%7B%22assignment.last_name%22:%22' \
138
+ 'term%22%7D,%7B%22applicant.first_name%22:%22term%22%7D,%7B%22' \
139
+ 'applicant.last_name%22:%22term%22%7D,%7B%22requestor.reference_no' \
140
+ '%22:%7B%22$regex%22:%22%5Eterm%22,%22$options%22:%22i%22%7D%7D%5D,%22' \
141
+ 'status%22:%7B%22$in%22:%5B1,7%5D%7D,%22assignment.operator_id%22:%22' \
142
142
  'valid_operator%22,%22consumer_id%22:%22valid_consumer_id%22%7D&page=2&requested=25&sort=status'
143
143
  expect(WebMock).to have_requested(:get, url)
144
144
  end
@@ -146,12 +146,12 @@ RSpec.describe FinApps::REST::Orders do
146
146
  it 'builds query and sends proper request with searchTerm/relation exclusivity' do
147
147
  params[:searchTerm] = nil
148
148
  list
149
- url = "#{versioned_api_path}/orders?"\
149
+ url = "#{versioned_api_path}/orders?" \
150
150
  'filter=%7B%22status%22:%7B%22$in%22:%5B1,7%5D%7D,' \
151
- '%22assignment.operator_id%22:%22valid_operator%22,'\
151
+ '%22assignment.operator_id%22:%22valid_operator%22,' \
152
152
  '%22consumer_id%22:%22valid_consumer_id%22,' \
153
- '%22$or%22:%5B%7B%22public_id%22:%7B%22$in%22:%5B%22valid_order_id%22%5D%7D%7D,'\
154
- '%7B%22original_order_id%22:%7B%22$in%22:%5B%22valid_order_id%22%5D%7D%7D%5D%7D&'\
153
+ '%22$or%22:%5B%7B%22public_id%22:%7B%22$in%22:%5B%22valid_order_id%22%5D%7D%7D,' \
154
+ '%7B%22original_order_id%22:%7B%22$in%22:%5B%22valid_order_id%22%5D%7D%7D%5D%7D&' \
155
155
  'page=2&requested=25&sort=status'
156
156
  expect(WebMock).to have_requested(:get, url)
157
157
  end
@@ -159,16 +159,16 @@ RSpec.describe FinApps::REST::Orders do
159
159
  it 'handles space in search term for consumer' do
160
160
  params[:searchTerm] = 'Spacing Out'
161
161
  list
162
- url = "#{versioned_api_path}/orders?"\
163
- 'filter=%7B%22$or%22:%5B%7B%22public_id%22:%7B%22$regex%22:%22%5E'\
164
- 'Spacing%20Out%22,%22$options%22:%22i%22%7D%7D,%7B%22assignment.last_name'\
165
- '%22:%22Spacing%20Out%22%7D,%7B%22applicant.first_name%22:%22'\
166
- 'Spacing%20Out%22%7D,%7B%22applicant.last_name%22:%22Spacing%20Out'\
167
- '%22%7D,%7B%22requestor.reference_no%22:%7B%22$regex%22:%22%5ESpacing%20Out'\
168
- '%22,%22$options%22:%22i%22%7D%7D,%7B%22applicant.first_name%22:%22Spacing'\
169
- '%22%7D,%7B%22applicant.last_name%22:%22Spacing%22%7D,%7B%22applicant.first_name'\
170
- '%22:%22Out%22%7D,%7B%22applicant.last_name%22:%22Out%22%7D%5D,%22status'\
171
- '%22:%7B%22$in%22:%5B1,7%5D%7D,%22assignment.operator_id%22:%22valid_operator'\
162
+ url = "#{versioned_api_path}/orders?" \
163
+ 'filter=%7B%22$or%22:%5B%7B%22public_id%22:%7B%22$regex%22:%22%5E' \
164
+ 'Spacing%20Out%22,%22$options%22:%22i%22%7D%7D,%7B%22assignment.last_name' \
165
+ '%22:%22Spacing%20Out%22%7D,%7B%22applicant.first_name%22:%22' \
166
+ 'Spacing%20Out%22%7D,%7B%22applicant.last_name%22:%22Spacing%20Out' \
167
+ '%22%7D,%7B%22requestor.reference_no%22:%7B%22$regex%22:%22%5ESpacing%20Out' \
168
+ '%22,%22$options%22:%22i%22%7D%7D,%7B%22applicant.first_name%22:%22Spacing' \
169
+ '%22%7D,%7B%22applicant.last_name%22:%22Spacing%22%7D,%7B%22applicant.first_name' \
170
+ '%22:%22Out%22%7D,%7B%22applicant.last_name%22:%22Out%22%7D%5D,%22status' \
171
+ '%22:%7B%22$in%22:%5B1,7%5D%7D,%22assignment.operator_id%22:%22valid_operator' \
172
172
  '%22,%22consumer_id%22:%22valid_consumer_id%22%7D&page=2&requested=25&sort=status'
173
173
  expect(WebMock).to have_requested(:get, url)
174
174
  end
@@ -176,7 +176,7 @@ RSpec.describe FinApps::REST::Orders do
176
176
  it 'builds null assignment query properly when supplied w/ empty string' do
177
177
  described_class.new(client).list(assignment: '')
178
178
 
179
- url = "#{versioned_api_path}/orders?"\
179
+ url = "#{versioned_api_path}/orders?" \
180
180
  'filter=%7B%22assignment.operator_id%22:null%7D'
181
181
  expect(WebMock).to have_requested(:get, url)
182
182
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helpers/client'
4
+ require 'spec_helpers/api_request'
5
+
6
+ RSpec.describe FinApps::REST::Query::Users do
7
+ include SpecHelpers::Client
8
+
9
+ subject(:create) { described_class.new(client).create('string') }
10
+
11
+ describe '#create' do
12
+ context 'when valid tenant token is provided' do
13
+ it_behaves_like 'an API request'
14
+ it_behaves_like 'a successful request'
15
+ it 'sends the params in the body of the request' do
16
+ create
17
+ url = "#{versioned_api_path}/query/users"
18
+
19
+ expect(WebMock).to have_requested(:post, url).with(body: 'string')
20
+ end
21
+ end
22
+ end
23
+ end
@@ -9,6 +9,7 @@ require_relative 'routes/edm_transmissions'
9
9
  require_relative 'routes/locations'
10
10
  require_relative 'routes/screening_metadatas'
11
11
  require_relative 'routes/query_screenings'
12
+ require_relative 'routes/query_users'
12
13
  require_relative 'routes/states'
13
14
 
14
15
  module Fake
@@ -30,6 +31,7 @@ module Fake
30
31
  include DocumentsUploadsRoutes
31
32
  include LocationsRoutes
32
33
  include QueryScreeningRoutes
34
+ include QueryUserRoutes
33
35
  include ScreeningsRoutes
34
36
  include ScreeningMetadatasRoutes
35
37
  include StateRoutes
@@ -0,0 +1,17 @@
1
+ {
2
+ "transmission_id": "7829e171-4d39-4270-8969-7729038953d2",
3
+ "date_created": "2022-05-18T21:05:48.076Z",
4
+ "date_modified": "2022-06-08T20:46:05.839936446Z",
5
+ "status": 1,
6
+ "document_order_id": "0c272b3d-3c8c-43ab-beff-f5964835a591",
7
+ "documents": [
8
+ {
9
+ "template_data": {},
10
+ "path": "",
11
+ "file_id": "",
12
+ "status": 0,
13
+ "edm_filename": "",
14
+ "date_modified": "0001-01-01T00:00:00Z"
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "date_created": "2022-08-04T19:52:32Z",
3
+ "date_modified": "2022-08-04T19:52:32Z",
4
+ "document_order_id": "0c272b3d-3c8c-43ab-beff-f5964835a591",
5
+ "documents": [
6
+ {
7
+ "date_modified": "2022-08-04T19:52:32Z",
8
+ "document_id": "string",
9
+ "edm_filename": "string",
10
+ "file_id": "string",
11
+ "path": "string",
12
+ "status": 1,
13
+ "template_data": {
14
+ "external_id": "28489213"
15
+ }
16
+ }
17
+ ],
18
+ "status": 1,
19
+ "transmission_id": "7829e171-4d39-4270-8969-7729038953d2"
20
+ }
@@ -0,0 +1,21 @@
1
+ [
2
+ {
3
+ "auth0_id": "string",
4
+ "date_created": "2022-06-20T21:02:25Z",
5
+ "date_modified": "2022-06-20T21:02:25Z",
6
+ "email": "string",
7
+ "external_id": "string",
8
+ "first_name": "string",
9
+ "language": "string",
10
+ "last_name": "string",
11
+ "locations": [],
12
+ "memo": "string",
13
+ "metadata": {},
14
+ "phone": [],
15
+ "postal_code": "string",
16
+ "public_id": "string",
17
+ "role": 0,
18
+ "tenant_id": "string",
19
+ "type": "string"
20
+ }
21
+ ]
@@ -4,11 +4,21 @@ module Fake
4
4
  module EdmTransmissionsRoutes
5
5
  class << self
6
6
  def included(base)
7
+ get_routes base
7
8
  post_routes base
8
9
 
9
10
  super
10
11
  end
11
12
 
13
+ def get_routes(base)
14
+ base.get("/#{base.version}/documents/edm/:transmission_id") do
15
+ json_response 200, 'edm_transmissions/show.json'
16
+ end
17
+ base.get("/#{base.version}/documents/edm/:order_id/status") do
18
+ json_response 200, 'edm_transmissions/show_by_order.json'
19
+ end
20
+ end
21
+
12
22
  def post_routes(base)
13
23
  base.post("/#{base.version}/documents/edm/:order_id/transmit") do
14
24
  json_response 200, 'edm_transmissions/create.json'
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fake
4
+ module QueryUserRoutes
5
+ class << self
6
+ def included(base)
7
+ base.post("/#{base.version}/query/users") do
8
+ json_response 200, 'query/users.json'
9
+ end
10
+ super
11
+ end
12
+ end
13
+ end
14
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.11.0
4
+ version: 6.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-19 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: finapps_core
@@ -298,6 +298,7 @@ files:
298
298
  - lib/finapps/rest/products.rb
299
299
  - lib/finapps/rest/query/base.rb
300
300
  - lib/finapps/rest/query/screenings.rb
301
+ - lib/finapps/rest/query/users.rb
301
302
  - lib/finapps/rest/screening_metadatas.rb
302
303
  - lib/finapps/rest/screenings.rb
303
304
  - lib/finapps/rest/sessions.rb
@@ -351,6 +352,7 @@ files:
351
352
  - spec/rest/products_spec.rb
352
353
  - spec/rest/query/base_spec.rb
353
354
  - spec/rest/query/screenings_spec.rb
355
+ - spec/rest/query/users_spec.rb
354
356
  - spec/rest/screening_metadatas_spec.rb
355
357
  - spec/rest/screenings_spec.rb
356
358
  - spec/rest/sessions_spec.rb
@@ -378,6 +380,8 @@ files:
378
380
  - spec/support/fixtures/documents_orders.json
379
381
  - spec/support/fixtures/documents_orders_none.json
380
382
  - spec/support/fixtures/edm_transmissions/create.json
383
+ - spec/support/fixtures/edm_transmissions/show.json
384
+ - spec/support/fixtures/edm_transmissions/show_by_order.json
381
385
  - spec/support/fixtures/error.json
382
386
  - spec/support/fixtures/esign_templates.json
383
387
  - spec/support/fixtures/invalid_order_id.json
@@ -420,6 +424,7 @@ files:
420
424
  - spec/support/fixtures/portfolios_consumers.json
421
425
  - spec/support/fixtures/products.json
422
426
  - spec/support/fixtures/query/screenings.json
427
+ - spec/support/fixtures/query/users.json
423
428
  - spec/support/fixtures/resource.json
424
429
  - spec/support/fixtures/resource_not_found.json
425
430
  - spec/support/fixtures/resources.json
@@ -452,6 +457,7 @@ files:
452
457
  - spec/support/routes/edm_transmissions.rb
453
458
  - spec/support/routes/locations.rb
454
459
  - spec/support/routes/query_screenings.rb
460
+ - spec/support/routes/query_users.rb
455
461
  - spec/support/routes/screening_metadatas.rb
456
462
  - spec/support/routes/states.rb
457
463
  - spec/support/screenings_routes.rb
@@ -486,68 +492,4 @@ rubygems_version: 3.1.6
486
492
  signing_key:
487
493
  specification_version: 4
488
494
  summary: FinApps REST API ruby client.
489
- test_files:
490
- - spec/spec_helper.rb
491
- - spec/support/documents_uploads_routes.rb
492
- - spec/support/fake_api.rb
493
- - spec/support/routes/states.rb
494
- - spec/support/routes/actors.rb
495
- - spec/support/routes/edm_transmissions.rb
496
- - spec/support/routes/locations.rb
497
- - spec/support/routes/screening_metadatas.rb
498
- - spec/support/routes/query_screenings.rb
499
- - spec/support/screenings_routes.rb
500
- - spec/utils/query_builder_spec.rb
501
- - spec/spec_helpers/client.rb
502
- - spec/spec_helpers/api_request.rb
503
- - spec/rest/signed_documents_downloads_spec.rb
504
- - spec/rest/consumers_spec.rb
505
- - spec/rest/locations_spec.rb
506
- - spec/rest/screenings_spec.rb
507
- - spec/rest/consumer_login_tokens_spec.rb
508
- - spec/rest/operators_spec.rb
509
- - spec/rest/verix/verix_pdf_documents_spec.rb
510
- - spec/rest/verix/verix_documents_spec.rb
511
- - spec/rest/verix/verix_records_spec.rb
512
- - spec/rest/verix/verix_metadata_spec.rb
513
- - spec/rest/documents_orders_notifications_spec.rb
514
- - spec/rest/screening_metadatas_spec.rb
515
- - spec/rest/portfolio_reports_spec.rb
516
- - spec/rest/portfolios_available_consumers_spec.rb
517
- - spec/rest/client_spec.rb
518
- - spec/rest/portfolios_alerts_spec.rb
519
- - spec/rest/edm_transmissions_spec.rb
520
- - spec/rest/sessions_spec.rb
521
- - spec/rest/portfolios_spec.rb
522
- - spec/rest/portfolios_consumers_spec.rb
523
- - spec/rest/operators_login_tokens_spec.rb
524
- - spec/rest/tenant_settings_spec.rb
525
- - spec/rest/alert_occurrences_spec.rb
526
- - spec/rest/query/screenings_spec.rb
527
- - spec/rest/query/base_spec.rb
528
- - spec/rest/documents_uploads_spec.rb
529
- - spec/rest/actors_spec.rb
530
- - spec/rest/order_statuses_spec.rb
531
- - spec/rest/operators_password_resets_spec.rb
532
- - spec/rest/alert_definitions_spec.rb
533
- - spec/rest/operator_change_password_email_spec.rb
534
- - spec/rest/consumers_portfolios_spec.rb
535
- - spec/rest/plaid/plaid_accounts_spec.rb
536
- - spec/rest/plaid/plaid_institution_logos_spec.rb
537
- - spec/rest/plaid/plaid_consumer_institutions_spec.rb
538
- - spec/rest/plaid/plaid_webhooks_spec.rb
539
- - spec/rest/plaid/plaid_account_permissions_spec.rb
540
- - spec/rest/version_spec.rb
541
- - spec/rest/products_spec.rb
542
- - spec/rest/tenant_app_settings_spec.rb
543
- - spec/rest/order_assignments_spec.rb
544
- - spec/rest/documents_orders_spec.rb
545
- - spec/rest/esign_templates_spec.rb
546
- - spec/rest/order_reports_spec.rb
547
- - spec/rest/order_tokens_spec.rb
548
- - spec/rest/order_notifications_spec.rb
549
- - spec/rest/documents_upload_types_spec.rb
550
- - spec/rest/states_spec.rb
551
- - spec/rest/order_refreshes_spec.rb
552
- - spec/rest/password_resets_spec.rb
553
- - spec/rest/orders_spec.rb
495
+ test_files: []