budgea_client 5.3.8 → 5.4.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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +11 -10
  3. data/README.md +14 -4
  4. data/budgea_openapi.json +329 -27
  5. data/config.json +1 -1
  6. data/docs/AuthenticationApi.md +62 -0
  7. data/docs/Connector.md +1 -0
  8. data/docs/ConnectorSource.md +7 -0
  9. data/docs/Field.md +2 -1
  10. data/docs/InlineResponse2005.md +1 -3
  11. data/docs/PFMApi.md +9 -12
  12. data/docs/Payment.md +15 -0
  13. data/docs/PaymentBeneficiary.md +13 -0
  14. data/docs/PaymentBeneficiaryRequest.md +12 -0
  15. data/docs/PaymentData.md +13 -0
  16. data/docs/PaymentErrorCode.md +7 -0
  17. data/docs/PaymentInstruction.md +12 -0
  18. data/docs/PaymentInstructionRequest.md +13 -0
  19. data/docs/PaymentRequest.md +13 -0
  20. data/docs/PaymentState.md +7 -0
  21. data/docs/PaymentsApi.md +61 -0
  22. data/lib/budgea_client.rb +9 -0
  23. data/lib/budgea_client/api/authentication_api.rb +60 -0
  24. data/lib/budgea_client/api/payments_api.rb +75 -0
  25. data/lib/budgea_client/api/pfm_api.rb +14 -26
  26. data/lib/budgea_client/models/connection.rb +2 -4
  27. data/lib/budgea_client/models/connector.rb +15 -4
  28. data/lib/budgea_client/models/connector_source.rb +79 -4
  29. data/lib/budgea_client/models/field.rb +18 -5
  30. data/lib/budgea_client/models/inline_response_200_5.rb +7 -37
  31. data/lib/budgea_client/models/payment.rb +255 -0
  32. data/lib/budgea_client/models/payment_beneficiary.rb +235 -0
  33. data/lib/budgea_client/models/payment_beneficiary_request.rb +240 -0
  34. data/lib/budgea_client/models/payment_data.rb +246 -0
  35. data/lib/budgea_client/models/payment_error_code.rb +44 -0
  36. data/lib/budgea_client/models/payment_instruction.rb +224 -0
  37. data/lib/budgea_client/models/payment_instruction_request.rb +254 -0
  38. data/lib/budgea_client/models/payment_request.rb +246 -0
  39. data/lib/budgea_client/models/payment_state.rb +35 -0
  40. data/lib/budgea_client/version.rb +1 -1
  41. data/spec/api/payments_api_spec.rb +46 -0
  42. data/spec/models/payment_beneficiary_request_spec.rb +65 -0
  43. data/spec/models/payment_beneficiary_spec.rb +35 -0
  44. data/spec/models/payment_data_spec.rb +71 -0
  45. data/spec/models/payment_error_code_spec.rb +35 -0
  46. data/spec/models/payment_instruction_request_spec.rb +35 -0
  47. data/spec/models/payment_instruction_spec.rb +35 -0
  48. data/spec/models/payment_request_spec.rb +71 -0
  49. data/spec/models/payment_spec.rb +35 -0
  50. data/spec/models/payment_state_spec.rb +35 -0
  51. metadata +42 -3
  52. data/pkg/budgea_client-5.3.7.gem +0 -0
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #Budgea API Documentation
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for BudgeaClient::PaymentErrorCode
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'PaymentErrorCode' do
21
+ before do
22
+ # run before each test
23
+ @instance = BudgeaClient::PaymentErrorCode.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaymentErrorCode' do
31
+ it 'should create an instance of PaymentErrorCode' do
32
+ expect(@instance).to be_instance_of(BudgeaClient::PaymentErrorCode)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #Budgea API Documentation
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for BudgeaClient::PaymentInstructionRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'PaymentInstructionRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = BudgeaClient::PaymentInstructionRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaymentInstructionRequest' do
31
+ it 'should create an instance of PaymentInstructionRequest' do
32
+ expect(@instance).to be_instance_of(BudgeaClient::PaymentInstructionRequest)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #Budgea API Documentation
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for BudgeaClient::PaymentInstruction
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'PaymentInstruction' do
21
+ before do
22
+ # run before each test
23
+ @instance = BudgeaClient::PaymentInstruction.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaymentInstruction' do
31
+ it 'should create an instance of PaymentInstruction' do
32
+ expect(@instance).to be_instance_of(BudgeaClient::PaymentInstruction)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,71 @@
1
+ =begin
2
+ #Budgea API Documentation
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for BudgeaClient::PaymentRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'PaymentRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = BudgeaClient::PaymentRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaymentRequest' do
31
+ it 'should create an instance of PaymentRequest' do
32
+ expect(@instance).to be_instance_of(BudgeaClient::PaymentRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "id_connector"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "client_redirect_uri"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "client_state"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "beneficiary"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "instructions"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "validated"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ end
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #Budgea API Documentation
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for BudgeaClient::Payment
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'Payment' do
21
+ before do
22
+ # run before each test
23
+ @instance = BudgeaClient::Payment.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Payment' do
31
+ it 'should create an instance of Payment' do
32
+ expect(@instance).to be_instance_of(BudgeaClient::Payment)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,35 @@
1
+ =begin
2
+ #Budgea API Documentation
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for BudgeaClient::PaymentState
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'PaymentState' do
21
+ before do
22
+ # run before each test
23
+ @instance = BudgeaClient::PaymentState.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PaymentState' do
31
+ it 'should create an instance of PaymentState' do
32
+ expect(@instance).to be_instance_of(BudgeaClient::PaymentState)
33
+ end
34
+ end
35
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: budgea_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.8
4
+ version: 5.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chaker Nakhli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -307,6 +307,16 @@ files:
307
307
  - docs/OidcWhitelist.md
308
308
  - docs/Order.md
309
309
  - docs/PFMApi.md
310
+ - docs/Payment.md
311
+ - docs/PaymentBeneficiary.md
312
+ - docs/PaymentBeneficiaryRequest.md
313
+ - docs/PaymentData.md
314
+ - docs/PaymentErrorCode.md
315
+ - docs/PaymentInstruction.md
316
+ - docs/PaymentInstructionRequest.md
317
+ - docs/PaymentRequest.md
318
+ - docs/PaymentState.md
319
+ - docs/PaymentsApi.md
310
320
  - docs/Pocket.md
311
321
  - docs/Profile.md
312
322
  - docs/Project.md
@@ -346,6 +356,7 @@ files:
346
356
  - lib/budgea_client/api/documents_api.rb
347
357
  - lib/budgea_client/api/ocr_api.rb
348
358
  - lib/budgea_client/api/oidc_api.rb
359
+ - lib/budgea_client/api/payments_api.rb
349
360
  - lib/budgea_client/api/pfm_api.rb
350
361
  - lib/budgea_client/api/providers_api.rb
351
362
  - lib/budgea_client/api/recipients_api.rb
@@ -432,6 +443,15 @@ files:
432
443
  - lib/budgea_client/models/locked_user.rb
433
444
  - lib/budgea_client/models/oidc_whitelist.rb
434
445
  - lib/budgea_client/models/order.rb
446
+ - lib/budgea_client/models/payment.rb
447
+ - lib/budgea_client/models/payment_beneficiary.rb
448
+ - lib/budgea_client/models/payment_beneficiary_request.rb
449
+ - lib/budgea_client/models/payment_data.rb
450
+ - lib/budgea_client/models/payment_error_code.rb
451
+ - lib/budgea_client/models/payment_instruction.rb
452
+ - lib/budgea_client/models/payment_instruction_request.rb
453
+ - lib/budgea_client/models/payment_request.rb
454
+ - lib/budgea_client/models/payment_state.rb
435
455
  - lib/budgea_client/models/pocket.rb
436
456
  - lib/budgea_client/models/profile.rb
437
457
  - lib/budgea_client/models/project.rb
@@ -458,7 +478,6 @@ files:
458
478
  - original_budgea_openapi.json
459
479
  - patches/01_allow_enum_nil.patch
460
480
  - patches/02_accounts_property.patch
461
- - pkg/budgea_client-5.3.7.gem
462
481
  - spec/api/administration_api_spec.rb
463
482
  - spec/api/authentication_api_spec.rb
464
483
  - spec/api/banks_api_spec.rb
@@ -466,6 +485,7 @@ files:
466
485
  - spec/api/documents_api_spec.rb
467
486
  - spec/api/ocr_api_spec.rb
468
487
  - spec/api/oidc_api_spec.rb
488
+ - spec/api/payments_api_spec.rb
469
489
  - spec/api/pfm_api_spec.rb
470
490
  - spec/api/providers_api_spec.rb
471
491
  - spec/api/recipients_api_spec.rb
@@ -551,6 +571,15 @@ files:
551
571
  - spec/models/locked_user_spec.rb
552
572
  - spec/models/oidc_whitelist_spec.rb
553
573
  - spec/models/order_spec.rb
574
+ - spec/models/payment_beneficiary_request_spec.rb
575
+ - spec/models/payment_beneficiary_spec.rb
576
+ - spec/models/payment_data_spec.rb
577
+ - spec/models/payment_error_code_spec.rb
578
+ - spec/models/payment_instruction_request_spec.rb
579
+ - spec/models/payment_instruction_spec.rb
580
+ - spec/models/payment_request_spec.rb
581
+ - spec/models/payment_spec.rb
582
+ - spec/models/payment_state_spec.rb
554
583
  - spec/models/pocket_spec.rb
555
584
  - spec/models/profile_spec.rb
556
585
  - spec/models/project_spec.rb
@@ -609,6 +638,7 @@ test_files:
609
638
  - spec/api/banks_api_spec.rb
610
639
  - spec/api/recipients_api_spec.rb
611
640
  - spec/api/transfer_api_spec.rb
641
+ - spec/api/payments_api_spec.rb
612
642
  - spec/api/connections_api_spec.rb
613
643
  - spec/api/documents_api_spec.rb
614
644
  - spec/api/administration_api_spec.rb
@@ -657,9 +687,12 @@ test_files:
657
687
  - spec/models/inline_response_200_25_spec.rb
658
688
  - spec/models/connector_logo_spec.rb
659
689
  - spec/models/inline_response_200_35_spec.rb
690
+ - spec/models/payment_instruction_request_spec.rb
660
691
  - spec/models/webhook_data_spec.rb
661
692
  - spec/models/connector_spec.rb
693
+ - spec/models/payment_beneficiary_spec.rb
662
694
  - spec/models/terms_of_service_spec.rb
695
+ - spec/models/payment_spec.rb
663
696
  - spec/models/inline_response_200_13_spec.rb
664
697
  - spec/models/inline_response_200_9_spec.rb
665
698
  - spec/models/recipient_log_spec.rb
@@ -673,15 +706,19 @@ test_files:
673
706
  - spec/models/webhook_log_spec.rb
674
707
  - spec/models/inline_response_200_30_spec.rb
675
708
  - spec/models/inline_response_200_20_spec.rb
709
+ - spec/models/payment_data_spec.rb
676
710
  - spec/models/inline_response_200_42_spec.rb
677
711
  - spec/models/transaction_information_spec.rb
678
712
  - spec/models/inline_response_200_4_spec.rb
713
+ - spec/models/payment_beneficiary_request_spec.rb
714
+ - spec/models/payment_instruction_spec.rb
679
715
  - spec/models/connection_spec.rb
680
716
  - spec/models/inline_response_200_spec.rb
681
717
  - spec/models/connection_source_spec.rb
682
718
  - spec/models/inline_response_200_21_spec.rb
683
719
  - spec/models/inline_response_200_31_spec.rb
684
720
  - spec/models/currency_spec.rb
721
+ - spec/models/payment_request_spec.rb
685
722
  - spec/models/file_spec.rb
686
723
  - spec/models/inline_response_200_17_spec.rb
687
724
  - spec/models/subscription_spec.rb
@@ -694,6 +731,7 @@ test_files:
694
731
  - spec/models/recipient_spec.rb
695
732
  - spec/models/profile_spec.rb
696
733
  - spec/models/inline_response_200_6_spec.rb
734
+ - spec/models/payment_state_spec.rb
697
735
  - spec/models/inline_response_200_41_spec.rb
698
736
  - spec/models/connector_category_spec.rb
699
737
  - spec/models/auth_provider_spec.rb
@@ -706,6 +744,7 @@ test_files:
706
744
  - spec/models/document_spec.rb
707
745
  - spec/models/user_spec.rb
708
746
  - spec/models/inline_response_200_14_spec.rb
747
+ - spec/models/payment_error_code_spec.rb
709
748
  - spec/models/subscription_log_spec.rb
710
749
  - spec/models/investment_value_spec.rb
711
750
  - spec/models/inline_response_200_7_spec.rb
Binary file