finapps 5.0.38 → 5.0.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yaml +4 -3
- data/.github/workflows/release-drafter.yml +1 -0
- data/.github/workflows/release.yml +54 -0
- data/README.md +6 -4
- data/finapps.gemspec +0 -1
- data/lib/finapps/rest/documents_orders.rb +20 -1
- data/lib/finapps/rest/documents_orders_notifications.rb +2 -2
- data/lib/finapps/rest/documents_uploads.rb +8 -0
- data/lib/finapps/version.rb +1 -1
- data/spec/rest/documents_orders_notifications_spec.rb +2 -2
- data/spec/rest/documents_orders_spec.rb +20 -6
- data/spec/rest/documents_uploads_spec.rb +53 -0
- data/spec/rest/signed_documents_downloads_spec.rb +4 -7
- data/spec/rest/verix/verix_documents_spec.rb +4 -4
- data/spec/spec_helper.rb +1 -1
- data/spec/support/documents_uploads_routes.rb +39 -0
- data/spec/support/fake_api.rb +452 -456
- data/spec/support/fixtures/documents/retrieve_order.json +97 -0
- metadata +40 -57
- data/lib/tasks/releaser.rake +0 -12
@@ -0,0 +1,97 @@
|
|
1
|
+
{
|
2
|
+
"order": {
|
3
|
+
"order_id": "2eaf91ab-fdc3-4e0e-a614-5bc790771dcc",
|
4
|
+
"consumer_id": "4040e594-a1c7-4a9a-7a85-d78b915b5ac8",
|
5
|
+
"applicant": {
|
6
|
+
"public_id": "4040e594-a1c7-4a9a-7a85-d78b915b5ac8",
|
7
|
+
"email": "erich+202012301310@financialapps.com",
|
8
|
+
"first_name": "Erich",
|
9
|
+
"last_name": "Quintero",
|
10
|
+
"phone": "",
|
11
|
+
"external_id": ""
|
12
|
+
},
|
13
|
+
"reference_no": "20201230",
|
14
|
+
"esign_documents": [
|
15
|
+
{
|
16
|
+
"signature_request_id": "1fb7b6ad7ad31cff806c66da1ab449f1ed0f8e2a",
|
17
|
+
"completed": false,
|
18
|
+
"completed_date": null,
|
19
|
+
"declined": false,
|
20
|
+
"declined_date": null,
|
21
|
+
"declined_reason": null,
|
22
|
+
"declined_role": null,
|
23
|
+
"date_requested": "2020-12-30T18:11:41.907Z",
|
24
|
+
"template_name": "Un-Ordered Signing w/ Sender Field",
|
25
|
+
"template_id": "aefba323382586b15ede625b055243d94feb0693",
|
26
|
+
"is_ordered": false,
|
27
|
+
"custom_field": [
|
28
|
+
{
|
29
|
+
"api_id": "5ffc1866-c2fb-454c-ac60-37f87cc4fe3f",
|
30
|
+
"value": ""
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"signers": [
|
34
|
+
{
|
35
|
+
"public_id": "1031ae95-73c2-437d-7d89-b0834866ea63",
|
36
|
+
"role_name": "signer_1",
|
37
|
+
"signed": false,
|
38
|
+
"signed_date": null,
|
39
|
+
"signature_id": "6b5b8c3f0b7ab3a14a9a560c156a85f6"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"public_id": "032d6613-baa8-4419-60fd-28a3593cbd7a",
|
43
|
+
"role_name": "signer_2",
|
44
|
+
"signed": false,
|
45
|
+
"signed_date": null,
|
46
|
+
"signature_id": "0ef748f8ac3d1c80c0132097eb3a7af5"
|
47
|
+
}
|
48
|
+
]
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"co_applicants": [
|
52
|
+
{
|
53
|
+
"public_id": "1031ae95-73c2-437d-7d89-b0834866ea63",
|
54
|
+
"email": "erich+202012301310-s1@financialapps.com",
|
55
|
+
"first_name": "Signer",
|
56
|
+
"last_name": "Uno",
|
57
|
+
"phone": "",
|
58
|
+
"external_id": ""
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"public_id": "032d6613-baa8-4419-60fd-28a3593cbd7a",
|
62
|
+
"email": "erich+202012301310-s2@financialapps.com",
|
63
|
+
"first_name": "Signer",
|
64
|
+
"last_name": "Dos",
|
65
|
+
"phone": "",
|
66
|
+
"external_id": ""
|
67
|
+
}
|
68
|
+
],
|
69
|
+
"upload_documents": [],
|
70
|
+
"tag": "new",
|
71
|
+
"status": 1,
|
72
|
+
"history": [
|
73
|
+
{
|
74
|
+
"date": "2020-12-30T18:11:44Z",
|
75
|
+
"event": "signature_request_sent",
|
76
|
+
"signature_request_id": "1fb7b6ad7ad31cff806c66da1ab449f1ed0f8e2a"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"created_by": "erich@financialapps.com",
|
80
|
+
"date_created": "2020-12-30T18:11:40.156Z",
|
81
|
+
"date_modified": "2020-12-30T18:11:40.156Z",
|
82
|
+
"date_last_completed": null
|
83
|
+
},
|
84
|
+
"consumer": {
|
85
|
+
"public_id": "4040e594-a1c7-4a9a-7a85-d78b915b5ac8",
|
86
|
+
"email": "erich+202012301310@financialapps.com",
|
87
|
+
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwdWJsaWNfaWQiOiI0MDQwZTU5NC1hMWM3LTRhOWEtN2E4NS1kNzhiOTE1YjVhYzgiLCJzZXNzaW9uX2lkIjoiMzljNWJiZWYtMmRlMy00YTM1LTRiMjYtNDk1NThhYWFjMjcwIiwidXNlcl90eXBlIjoxLCJ0ZW5hbnRfaWQiOiI0ZGQ2MDdiMS01NjVmLTRkYTQtNzIyYy0yZTg0YzVjODdmNDMiLCJleHAiOjE2MDk0NDI5MDAsImlhdCI6MTYwOTM1NjUwMCwiaXNzIjoiRmluYW5jaWFsQXBwcyIsIm5iZiI6MTYwOTM1NjUwMH0.j66bynp-bVNIvrhv1AQO-mZgERu365BoyMMoppGGJo0",
|
88
|
+
"first_name": "Erich",
|
89
|
+
"last_name": "Quintero",
|
90
|
+
"memo": "",
|
91
|
+
"tenant_id": "4dd607b1-565f-4da4-722c-2e84c5c87f43",
|
92
|
+
"date_modified": "2020-12-30T18:11:40.167Z",
|
93
|
+
"date_created": "2020-12-30T18:11:40.167Z",
|
94
|
+
"locked": false,
|
95
|
+
"postal_code": "00000"
|
96
|
+
}
|
97
|
+
}
|
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: 5.0.
|
4
|
+
version: 5.0.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erich Quintero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: finapps_core
|
@@ -70,26 +70,6 @@ dependencies:
|
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: 1.0.9
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: gem-release
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '2.1'
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 2.1.1
|
83
|
-
type: :development
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.1'
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 2.1.1
|
93
73
|
- !ruby/object:Gem::Dependency
|
94
74
|
name: guard
|
95
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -283,6 +263,7 @@ files:
|
|
283
263
|
- ".github/release-drafter.yml"
|
284
264
|
- ".github/workflows/main.yaml"
|
285
265
|
- ".github/workflows/release-drafter.yml"
|
266
|
+
- ".github/workflows/release.yml"
|
286
267
|
- ".github/workflows/verify-pr-labeled.yml"
|
287
268
|
- ".gitignore"
|
288
269
|
- ".gitlab-ci.yml"
|
@@ -345,7 +326,6 @@ files:
|
|
345
326
|
- lib/finapps/rest/version.rb
|
346
327
|
- lib/finapps/utils/query_builder.rb
|
347
328
|
- lib/finapps/version.rb
|
348
|
-
- lib/tasks/releaser.rake
|
349
329
|
- spec/rest/alert_definitions_spec.rb
|
350
330
|
- spec/rest/alert_occurrences_spec.rb
|
351
331
|
- spec/rest/api_request.rb
|
@@ -389,10 +369,12 @@ files:
|
|
389
369
|
- spec/rest/version_spec.rb
|
390
370
|
- spec/spec_helper.rb
|
391
371
|
- spec/spec_helpers/client.rb
|
372
|
+
- spec/support/documents_uploads_routes.rb
|
392
373
|
- spec/support/fake_api.rb
|
393
374
|
- spec/support/fixtures/alert_definition.json
|
394
375
|
- spec/support/fixtures/alert_definitions.json
|
395
376
|
- spec/support/fixtures/alert_occurrences.json
|
377
|
+
- spec/support/fixtures/documents/retrieve_order.json
|
396
378
|
- spec/support/fixtures/documents_order.json
|
397
379
|
- spec/support/fixtures/documents_orders.json
|
398
380
|
- spec/support/fixtures/documents_orders_none.json
|
@@ -479,53 +461,54 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
479
461
|
- !ruby/object:Gem::Version
|
480
462
|
version: '0'
|
481
463
|
requirements: []
|
482
|
-
rubygems_version: 3.0.
|
464
|
+
rubygems_version: 3.0.3
|
483
465
|
signing_key:
|
484
466
|
specification_version: 4
|
485
467
|
summary: FinApps REST API ruby client.
|
486
468
|
test_files:
|
469
|
+
- spec/spec_helpers/client.rb
|
470
|
+
- spec/spec_helper.rb
|
471
|
+
- spec/utils/query_builder_spec.rb
|
472
|
+
- spec/support/fake_api.rb
|
473
|
+
- spec/support/documents_uploads_routes.rb
|
474
|
+
- spec/rest/documents_uploads_spec.rb
|
475
|
+
- spec/rest/order_tokens_spec.rb
|
476
|
+
- spec/rest/version_spec.rb
|
487
477
|
- spec/rest/products_spec.rb
|
488
|
-
- spec/rest/
|
489
|
-
- spec/rest/alert_occurrences_spec.rb
|
490
|
-
- spec/rest/alert_definitions_spec.rb
|
491
|
-
- spec/rest/operators_password_resets_spec.rb
|
492
|
-
- spec/rest/tenant_app_settings_spec.rb
|
478
|
+
- spec/rest/client_spec.rb
|
493
479
|
- spec/rest/password_resets_spec.rb
|
480
|
+
- spec/rest/tenant_settings_spec.rb
|
494
481
|
- spec/rest/documents_orders_spec.rb
|
482
|
+
- spec/rest/verix/verix_metadata_spec.rb
|
483
|
+
- spec/rest/verix/verix_records_spec.rb
|
484
|
+
- spec/rest/verix/verix_documents_spec.rb
|
485
|
+
- spec/rest/verix/verix_pdf_documents_spec.rb
|
495
486
|
- spec/rest/orders_spec.rb
|
496
|
-
- spec/rest/
|
497
|
-
- spec/rest/
|
487
|
+
- spec/rest/documents_upload_types_spec.rb
|
488
|
+
- spec/rest/documents_orders_notifications_spec.rb
|
489
|
+
- spec/rest/consumers_spec.rb
|
490
|
+
- spec/rest/order_reports_spec.rb
|
498
491
|
- spec/rest/sessions_spec.rb
|
499
|
-
- spec/rest/
|
500
|
-
- spec/rest/consumers_portfolios_spec.rb
|
492
|
+
- spec/rest/operators_password_resets_spec.rb
|
501
493
|
- spec/rest/esign_templates_spec.rb
|
494
|
+
- spec/rest/alert_occurrences_spec.rb
|
495
|
+
- spec/rest/portfolios_available_consumers_spec.rb
|
496
|
+
- spec/rest/tenant_app_settings_spec.rb
|
502
497
|
- spec/rest/portfolios_spec.rb
|
503
|
-
- spec/rest/
|
504
|
-
- spec/rest/
|
505
|
-
- spec/rest/portfolios_consumers_spec.rb
|
506
|
-
- spec/rest/verix/verix_records_spec.rb
|
507
|
-
- spec/rest/verix/verix_pdf_documents_spec.rb
|
508
|
-
- spec/rest/verix/verix_documents_spec.rb
|
509
|
-
- spec/rest/verix/verix_metadata_spec.rb
|
498
|
+
- spec/rest/order_assignments_spec.rb
|
499
|
+
- spec/rest/alert_definitions_spec.rb
|
510
500
|
- spec/rest/portfolio_reports_spec.rb
|
501
|
+
- spec/rest/consumers_portfolios_spec.rb
|
502
|
+
- spec/rest/portfolios_alerts_spec.rb
|
503
|
+
- spec/rest/operators_spec.rb
|
504
|
+
- spec/rest/signed_documents_downloads_spec.rb
|
505
|
+
- spec/rest/api_request.rb
|
511
506
|
- spec/rest/order_notifications_spec.rb
|
512
|
-
- spec/rest/
|
513
|
-
- spec/rest/order_assignments_spec.rb
|
514
|
-
- spec/rest/plaid/plaid_institution_logos_spec.rb
|
515
|
-
- spec/rest/plaid/plaid_accounts_spec.rb
|
516
|
-
- spec/rest/plaid/plaid_consumer_institutions_spec.rb
|
507
|
+
- spec/rest/portfolios_consumers_spec.rb
|
517
508
|
- spec/rest/plaid/plaid_webhooks_spec.rb
|
509
|
+
- spec/rest/plaid/plaid_accounts_spec.rb
|
518
510
|
- spec/rest/plaid/plaid_account_permissions_spec.rb
|
519
|
-
- spec/rest/
|
520
|
-
- spec/rest/
|
511
|
+
- spec/rest/plaid/plaid_consumer_institutions_spec.rb
|
512
|
+
- spec/rest/plaid/plaid_institution_logos_spec.rb
|
521
513
|
- spec/rest/order_statuses_spec.rb
|
522
|
-
- spec/rest/
|
523
|
-
- spec/rest/documents_orders_notifications_spec.rb
|
524
|
-
- spec/rest/operators_spec.rb
|
525
|
-
- spec/rest/signed_documents_downloads_spec.rb
|
526
|
-
- spec/rest/version_spec.rb
|
527
|
-
- spec/rest/order_reports_spec.rb
|
528
|
-
- spec/support/fake_api.rb
|
529
|
-
- spec/utils/query_builder_spec.rb
|
530
|
-
- spec/spec_helpers/client.rb
|
531
|
-
- spec/spec_helper.rb
|
514
|
+
- spec/rest/order_refreshes_spec.rb
|
data/lib/tasks/releaser.rake
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
desc 'Bumps the version to the next patch level, tags and pushes the code to
|
4
|
-
origin repository'
|
5
|
-
task :bump do
|
6
|
-
system 'gem bump --tag --push --skip-ci'
|
7
|
-
end
|
8
|
-
|
9
|
-
desc 'Releases the gem and pushes any tags to the origin repository'
|
10
|
-
task :release do
|
11
|
-
system 'gem release --push'
|
12
|
-
end
|