transferzero-sdk 1.16.1 → 1.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -4
  3. data/docs/Document.md +2 -0
  4. data/docs/PayinMethod.md +12 -4
  5. data/docs/PayinMethodDetails.md +5 -5
  6. data/docs/PayinMethodDetailsMobile.md +3 -3
  7. data/docs/PayinMethodDetailsNGNBank.md +2 -2
  8. data/docs/PayinMethodResponse.md +17 -0
  9. data/docs/PayinMethodState.md +16 -0
  10. data/docs/PayinMethodUxFlow.md +16 -0
  11. data/docs/PayinMethodsApi.md +256 -0
  12. data/docs/PayoutMethod.md +1 -1
  13. data/docs/PayoutMethodDetails.md +4 -2
  14. data/docs/PayoutMethodDetailsGNFMobile.md +23 -0
  15. data/docs/PayoutMethodDetailsKESBank.md +3 -1
  16. data/docs/PayoutMethodDetailsKESMobile.md +3 -1
  17. data/docs/PayoutMethodDetailsXAFMobile.md +25 -0
  18. data/docs/PayoutMethodDetailsXOFBank.md +3 -1
  19. data/docs/PayoutMethodDetailsXOFCash.md +1 -1
  20. data/docs/PayoutMethodDetailsXOFMobile.md +3 -1
  21. data/docs/PayoutMethodDetailsZARBank.md +2 -0
  22. data/docs/PayoutMethodTransferReasonEnum.md +16 -0
  23. data/docs/RecipientStateReasonDetails.md +3 -3
  24. data/docs/Sender.md +4 -0
  25. data/docs/StateReasonDetails.md +23 -0
  26. data/lib/transferzero-sdk/api/payin_methods_api.rb +244 -0
  27. data/lib/transferzero-sdk/api_client.rb +1 -1
  28. data/lib/transferzero-sdk/models/document.rb +11 -1
  29. data/lib/transferzero-sdk/models/payin_method.rb +47 -9
  30. data/lib/transferzero-sdk/models/payin_method_details.rb +9 -15
  31. data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +8 -14
  32. data/lib/transferzero-sdk/models/payin_method_details_ngn_bank.rb +2 -2
  33. data/lib/transferzero-sdk/models/payin_method_response.rb +202 -0
  34. data/lib/transferzero-sdk/models/payin_method_state.rb +39 -0
  35. data/lib/transferzero-sdk/models/payin_method_ux_flow.rb +34 -0
  36. data/lib/transferzero-sdk/models/payout_method.rb +1 -1
  37. data/lib/transferzero-sdk/models/payout_method_details.rb +17 -6
  38. data/lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb +250 -0
  39. data/lib/transferzero-sdk/models/payout_method_details_kes_bank.rb +11 -7
  40. data/lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb +11 -7
  41. data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +1 -1
  42. data/lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb +259 -0
  43. data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +14 -5
  44. data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +6 -1
  45. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +14 -5
  46. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +11 -2
  47. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +1 -0
  48. data/lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb +137 -0
  49. data/lib/transferzero-sdk/models/recipient_state_reason_details.rb +21 -2
  50. data/lib/transferzero-sdk/models/sender.rb +21 -1
  51. data/lib/transferzero-sdk/models/state_reason_details.rb +235 -0
  52. data/lib/transferzero-sdk/version.rb +1 -1
  53. data/lib/transferzero-sdk.rb +8 -0
  54. data/spec/api/payin_methods_api_spec.rb +84 -0
  55. data/spec/models/payin_method_response_spec.rb +41 -0
  56. data/spec/models/payin_method_state_spec.rb +35 -0
  57. data/spec/models/payin_method_ux_flow_spec.rb +35 -0
  58. data/spec/models/payout_method_details_gnf_mobile_spec.rb +59 -0
  59. data/spec/models/payout_method_details_xaf_mobile_spec.rb +65 -0
  60. data/spec/models/payout_method_transfer_reason_enum_spec.rb +35 -0
  61. data/spec/models/state_reason_details_spec.rb +59 -0
  62. data/transferzero-sdk-1.17.0.gem +0 -0
  63. metadata +36 -4
  64. data/Gemfile.lock +0 -89
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.0-beta3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::StateReasonDetails
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'StateReasonDetails' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::StateReasonDetails.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of StateReasonDetails' do
31
+ it 'should create an instance of StateReasonDetails' do
32
+ expect(@instance).to be_instance_of(TransferZero::StateReasonDetails)
33
+ end
34
+ end
35
+ describe 'test attribute "code"' 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 "category"' 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 "messages"' 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 "description"' 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
+ end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transferzero-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.1
4
+ version: 1.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-23 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -206,7 +206,6 @@ extensions: []
206
206
  extra_rdoc_files: []
207
207
  files:
208
208
  - Gemfile
209
- - Gemfile.lock
210
209
  - LICENSE
211
210
  - README.md
212
211
  - Rakefile
@@ -256,6 +255,10 @@ files:
256
255
  - docs/PayinMethodDetailsMobile.md
257
256
  - docs/PayinMethodDetailsNGNBank.md
258
257
  - docs/PayinMethodRequest.md
258
+ - docs/PayinMethodResponse.md
259
+ - docs/PayinMethodState.md
260
+ - docs/PayinMethodUxFlow.md
261
+ - docs/PayinMethodsApi.md
259
262
  - docs/PaymentMethod.md
260
263
  - docs/PaymentMethodListResponse.md
261
264
  - docs/PaymentMethodOpposite.md
@@ -270,6 +273,7 @@ files:
270
273
  - docs/PayoutMethodDetailsGBPBank.md
271
274
  - docs/PayoutMethodDetailsGHSBank.md
272
275
  - docs/PayoutMethodDetailsGHSCash.md
276
+ - docs/PayoutMethodDetailsGNFMobile.md
273
277
  - docs/PayoutMethodDetailsIBAN.md
274
278
  - docs/PayoutMethodDetailsKESBank.md
275
279
  - docs/PayoutMethodDetailsKESMobile.md
@@ -278,6 +282,7 @@ files:
278
282
  - docs/PayoutMethodDetailsNGNBank.md
279
283
  - docs/PayoutMethodDetailsUSDBank.md
280
284
  - docs/PayoutMethodDetailsUSDCash.md
285
+ - docs/PayoutMethodDetailsXAFMobile.md
281
286
  - docs/PayoutMethodDetailsXOFBank.md
282
287
  - docs/PayoutMethodDetailsXOFCash.md
283
288
  - docs/PayoutMethodDetailsXOFMobile.md
@@ -290,6 +295,7 @@ files:
290
295
  - docs/PayoutMethodNatureOfBusinessEnum.md
291
296
  - docs/PayoutMethodRequest.md
292
297
  - docs/PayoutMethodResponse.md
298
+ - docs/PayoutMethodTransferReasonEnum.md
293
299
  - docs/PayoutMethodWebhook.md
294
300
  - docs/PayoutMethodsApi.md
295
301
  - docs/PoliticallyExposedPerson.md
@@ -312,6 +318,7 @@ files:
312
318
  - docs/SenderState.md
313
319
  - docs/SenderWebhook.md
314
320
  - docs/SendersApi.md
321
+ - docs/StateReasonDetails.md
315
322
  - docs/Transaction.md
316
323
  - docs/TransactionListResponse.md
317
324
  - docs/TransactionRequest.md
@@ -346,6 +353,7 @@ files:
346
353
  - lib/transferzero-sdk/api/currency_info_api.rb
347
354
  - lib/transferzero-sdk/api/documents_api.rb
348
355
  - lib/transferzero-sdk/api/logs_api.rb
356
+ - lib/transferzero-sdk/api/payin_methods_api.rb
349
357
  - lib/transferzero-sdk/api/payment_methods_api.rb
350
358
  - lib/transferzero-sdk/api/payout_methods_api.rb
351
359
  - lib/transferzero-sdk/api/recipients_api.rb
@@ -394,6 +402,9 @@ files:
394
402
  - lib/transferzero-sdk/models/payin_method_details_mobile.rb
395
403
  - lib/transferzero-sdk/models/payin_method_details_ngn_bank.rb
396
404
  - lib/transferzero-sdk/models/payin_method_request.rb
405
+ - lib/transferzero-sdk/models/payin_method_response.rb
406
+ - lib/transferzero-sdk/models/payin_method_state.rb
407
+ - lib/transferzero-sdk/models/payin_method_ux_flow.rb
397
408
  - lib/transferzero-sdk/models/payment_method.rb
398
409
  - lib/transferzero-sdk/models/payment_method_list_response.rb
399
410
  - lib/transferzero-sdk/models/payment_method_opposite.rb
@@ -407,6 +418,7 @@ files:
407
418
  - lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
408
419
  - lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
409
420
  - lib/transferzero-sdk/models/payout_method_details_ghs_cash.rb
421
+ - lib/transferzero-sdk/models/payout_method_details_gnf_mobile.rb
410
422
  - lib/transferzero-sdk/models/payout_method_details_iban.rb
411
423
  - lib/transferzero-sdk/models/payout_method_details_kes_bank.rb
412
424
  - lib/transferzero-sdk/models/payout_method_details_kes_mobile.rb
@@ -415,6 +427,7 @@ files:
415
427
  - lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb
416
428
  - lib/transferzero-sdk/models/payout_method_details_usd_bank.rb
417
429
  - lib/transferzero-sdk/models/payout_method_details_usd_cash.rb
430
+ - lib/transferzero-sdk/models/payout_method_details_xaf_mobile.rb
418
431
  - lib/transferzero-sdk/models/payout_method_details_xof_bank.rb
419
432
  - lib/transferzero-sdk/models/payout_method_details_xof_cash.rb
420
433
  - lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb
@@ -427,6 +440,7 @@ files:
427
440
  - lib/transferzero-sdk/models/payout_method_nature_of_business_enum.rb
428
441
  - lib/transferzero-sdk/models/payout_method_request.rb
429
442
  - lib/transferzero-sdk/models/payout_method_response.rb
443
+ - lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb
430
444
  - lib/transferzero-sdk/models/payout_method_webhook.rb
431
445
  - lib/transferzero-sdk/models/politically_exposed_person.rb
432
446
  - lib/transferzero-sdk/models/proof_of_payment.rb
@@ -446,6 +460,7 @@ files:
446
460
  - lib/transferzero-sdk/models/sender_response_meta.rb
447
461
  - lib/transferzero-sdk/models/sender_state.rb
448
462
  - lib/transferzero-sdk/models/sender_webhook.rb
463
+ - lib/transferzero-sdk/models/state_reason_details.rb
449
464
  - lib/transferzero-sdk/models/transaction.rb
450
465
  - lib/transferzero-sdk/models/transaction_list_response.rb
451
466
  - lib/transferzero-sdk/models/transaction_request.rb
@@ -476,6 +491,7 @@ files:
476
491
  - spec/api/currency_info_api_spec.rb
477
492
  - spec/api/documents_api_spec.rb
478
493
  - spec/api/logs_api_spec.rb
494
+ - spec/api/payin_methods_api_spec.rb
479
495
  - spec/api/payment_methods_api_spec.rb
480
496
  - spec/api/payout_methods_api_spec.rb
481
497
  - spec/api/recipients_api_spec.rb
@@ -521,7 +537,10 @@ files:
521
537
  - spec/models/payin_method_details_ngn_bank_spec.rb
522
538
  - spec/models/payin_method_details_spec.rb
523
539
  - spec/models/payin_method_request_spec.rb
540
+ - spec/models/payin_method_response_spec.rb
524
541
  - spec/models/payin_method_spec.rb
542
+ - spec/models/payin_method_state_spec.rb
543
+ - spec/models/payin_method_ux_flow_spec.rb
525
544
  - spec/models/payment_method_list_response_spec.rb
526
545
  - spec/models/payment_method_opposite_spec.rb
527
546
  - spec/models/payment_method_spec.rb
@@ -533,6 +552,7 @@ files:
533
552
  - spec/models/payout_method_details_gbp_bank_spec.rb
534
553
  - spec/models/payout_method_details_ghs_bank_spec.rb
535
554
  - spec/models/payout_method_details_ghs_cash_spec.rb
555
+ - spec/models/payout_method_details_gnf_mobile_spec.rb
536
556
  - spec/models/payout_method_details_iban_spec.rb
537
557
  - spec/models/payout_method_details_kes_bank_spec.rb
538
558
  - spec/models/payout_method_details_kes_mobile_spec.rb
@@ -542,6 +562,7 @@ files:
542
562
  - spec/models/payout_method_details_spec.rb
543
563
  - spec/models/payout_method_details_usd_bank_spec.rb
544
564
  - spec/models/payout_method_details_usd_cash_spec.rb
565
+ - spec/models/payout_method_details_xaf_mobile_spec.rb
545
566
  - spec/models/payout_method_details_xof_bank_spec.rb
546
567
  - spec/models/payout_method_details_xof_cash_spec.rb
547
568
  - spec/models/payout_method_details_xof_mobile_spec.rb
@@ -555,6 +576,7 @@ files:
555
576
  - spec/models/payout_method_request_spec.rb
556
577
  - spec/models/payout_method_response_spec.rb
557
578
  - spec/models/payout_method_spec.rb
579
+ - spec/models/payout_method_transfer_reason_enum_spec.rb
558
580
  - spec/models/payout_method_webhook_spec.rb
559
581
  - spec/models/politically_exposed_person_spec.rb
560
582
  - spec/models/proof_of_payment_list_response_spec.rb
@@ -574,6 +596,7 @@ files:
574
596
  - spec/models/sender_spec.rb
575
597
  - spec/models/sender_state_spec.rb
576
598
  - spec/models/sender_webhook_spec.rb
599
+ - spec/models/state_reason_details_spec.rb
577
600
  - spec/models/transaction_list_response_spec.rb
578
601
  - spec/models/transaction_request_spec.rb
579
602
  - spec/models/transaction_response_existing_spec.rb
@@ -597,6 +620,7 @@ files:
597
620
  - spec/models/webhook_log_spec.rb
598
621
  - spec/models/webhook_spec.rb
599
622
  - spec/spec_helper.rb
623
+ - transferzero-sdk-1.17.0.gem
600
624
  - transferzero-sdk.gemspec
601
625
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
602
626
  licenses:
@@ -617,7 +641,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
617
641
  - !ruby/object:Gem::Version
618
642
  version: '0'
619
643
  requirements: []
620
- rubygems_version: 3.1.4
644
+ rubygems_version: 3.1.2
621
645
  signing_key:
622
646
  specification_version: 4
623
647
  summary: TransferZero API Ruby Gem
@@ -627,6 +651,7 @@ test_files:
627
651
  - spec/api/transactions_api_spec.rb
628
652
  - spec/api/webhooks_api_spec.rb
629
653
  - spec/api/recipients_api_spec.rb
654
+ - spec/api/payin_methods_api_spec.rb
630
655
  - spec/api/senders_api_spec.rb
631
656
  - spec/api/account_validation_api_spec.rb
632
657
  - spec/api/payout_methods_api_spec.rb
@@ -679,6 +704,7 @@ test_files:
679
704
  - spec/models/account_validation_response_spec.rb
680
705
  - spec/models/payout_method_details_btc_spec.rb
681
706
  - spec/models/api_log_spec.rb
707
+ - spec/models/payin_method_state_spec.rb
682
708
  - spec/models/document_response_spec.rb
683
709
  - spec/models/currency_exchange_list_response_spec.rb
684
710
  - spec/models/validation_error_description_spec.rb
@@ -690,14 +716,18 @@ test_files:
690
716
  - spec/models/account_list_response_spec.rb
691
717
  - spec/models/document_list_response_spec.rb
692
718
  - spec/models/transaction_spec.rb
719
+ - spec/models/payin_method_ux_flow_spec.rb
693
720
  - spec/models/field_select_validation_spec.rb
694
721
  - spec/models/account_meta_spec.rb
695
722
  - spec/models/payout_method_details_kes_bank_spec.rb
723
+ - spec/models/payin_method_response_spec.rb
696
724
  - spec/models/account_validation_request_spec.rb
697
725
  - spec/models/sender_response_existing_spec.rb
698
726
  - spec/models/sender_request_spec.rb
699
727
  - spec/models/webhook_log_spec.rb
728
+ - spec/models/payout_method_details_gnf_mobile_spec.rb
700
729
  - spec/models/payout_method_details_ghs_bank_spec.rb
730
+ - spec/models/payout_method_details_xaf_mobile_spec.rb
701
731
  - spec/models/payout_method_details_mobile_spec.rb
702
732
  - spec/models/transaction_response_spec.rb
703
733
  - spec/models/transaction_state_spec.rb
@@ -741,7 +771,9 @@ test_files:
741
771
  - spec/models/transaction_request_spec.rb
742
772
  - spec/models/payout_method_details_xof_mobile_spec.rb
743
773
  - spec/models/sender_list_response_spec.rb
774
+ - spec/models/state_reason_details_spec.rb
744
775
  - spec/models/payout_method_details_ghs_cash_spec.rb
776
+ - spec/models/payout_method_transfer_reason_enum_spec.rb
745
777
  - spec/models/payout_method_cash_provider_enum_spec.rb
746
778
  - spec/models/field_description_spec.rb
747
779
  - spec/models/currency_exchange_spec.rb
data/Gemfile.lock DELETED
@@ -1,89 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- transferzero-sdk (1.16.0)
5
- activesupport (>= 4)
6
- json (>= 1.4)
7
- typhoeus (~> 1.0, >= 1.0.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- ZenTest (4.12.0)
13
- activesupport (6.1.4.1)
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 1.6, < 2)
16
- minitest (>= 5.1)
17
- tzinfo (~> 2.0)
18
- zeitwerk (~> 2.3)
19
- addressable (2.7.0)
20
- public_suffix (>= 2.0.2, < 5.0)
21
- autotest (4.4.6)
22
- ZenTest (>= 4.4.1)
23
- autotest-growl (0.2.16)
24
- autotest-rails-pure (4.1.2)
25
- byebug (11.1.3)
26
- coderay (1.1.3)
27
- concurrent-ruby (1.1.9)
28
- crack (0.4.5)
29
- rexml
30
- diff-lcs (1.4.4)
31
- ethon (0.14.0)
32
- ffi (>= 1.15.0)
33
- ffi (1.15.4)
34
- hashdiff (1.0.1)
35
- i18n (1.8.10)
36
- concurrent-ruby (~> 1.0)
37
- json (2.5.1)
38
- method_source (1.0.0)
39
- minitest (5.14.4)
40
- pry (0.13.1)
41
- coderay (~> 1.1)
42
- method_source (~> 1.0)
43
- pry-byebug (3.9.0)
44
- byebug (~> 11.0)
45
- pry (~> 0.13.0)
46
- public_suffix (4.0.6)
47
- rake (12.0.0)
48
- rexml (3.2.4)
49
- rspec (3.10.0)
50
- rspec-core (~> 3.10.0)
51
- rspec-expectations (~> 3.10.0)
52
- rspec-mocks (~> 3.10.0)
53
- rspec-core (3.10.1)
54
- rspec-support (~> 3.10.0)
55
- rspec-expectations (3.10.1)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.10.0)
58
- rspec-mocks (3.10.1)
59
- diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.10.0)
61
- rspec-support (3.10.1)
62
- typhoeus (1.4.0)
63
- ethon (>= 0.9.0)
64
- tzinfo (2.0.4)
65
- concurrent-ruby (~> 1.0)
66
- vcr (3.0.3)
67
- webmock (1.24.6)
68
- addressable (>= 2.3.6)
69
- crack (>= 0.3.2)
70
- hashdiff
71
- zeitwerk (2.4.2)
72
-
73
- PLATFORMS
74
- ruby
75
-
76
- DEPENDENCIES
77
- ZenTest (~> 4.11, >= 4.11.2)
78
- autotest (~> 4.4, >= 4.4.6)
79
- autotest-growl (~> 0.2, >= 0.2.16)
80
- autotest-rails-pure (~> 4.1, >= 4.1.2)
81
- pry-byebug
82
- rake (~> 12.0.0)
83
- rspec (~> 3.6, >= 3.6.0)
84
- transferzero-sdk!
85
- vcr (~> 3.0, >= 3.0.1)
86
- webmock (~> 1.24, >= 1.24.3)
87
-
88
- BUNDLED WITH
89
- 2.1.4