transferzero-sdk 1.8.1 → 1.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -4
  3. data/docs/AccountValidationRequest.md +2 -0
  4. data/docs/Document.md +4 -0
  5. data/docs/PayoutMethodCashProviderEnum.md +16 -0
  6. data/docs/PayoutMethodCountryEnum.md +16 -0
  7. data/docs/PayoutMethodDetails.md +4 -0
  8. data/docs/PayoutMethodDetailsMobile.md +3 -1
  9. data/docs/PayoutMethodDetailsXOFCash.md +25 -0
  10. data/docs/ProofOfPayment.md +23 -0
  11. data/docs/ProofOfPaymentListResponse.md +17 -0
  12. data/docs/Recipient.md +4 -0
  13. data/docs/RecipientStateReasonDetails.md +23 -0
  14. data/docs/RecipientsApi.md +62 -0
  15. data/docs/Sender.md +8 -6
  16. data/lib/transferzero-sdk.rb +6 -0
  17. data/lib/transferzero-sdk/api/recipients_api.rb +54 -0
  18. data/lib/transferzero-sdk/api_client.rb +1 -1
  19. data/lib/transferzero-sdk/models/account_validation_request.rb +10 -1
  20. data/lib/transferzero-sdk/models/document.rb +21 -1
  21. data/lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb +31 -0
  22. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +43 -0
  23. data/lib/transferzero-sdk/models/payout_method_details.rb +20 -1
  24. data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +1 -1
  25. data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +13 -4
  26. data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +1 -1
  27. data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +254 -0
  28. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +1 -1
  29. data/lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb +1 -1
  30. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +3 -0
  31. data/lib/transferzero-sdk/models/proof_of_payment.rb +233 -0
  32. data/lib/transferzero-sdk/models/proof_of_payment_list_response.rb +204 -0
  33. data/lib/transferzero-sdk/models/recipient.rb +20 -1
  34. data/lib/transferzero-sdk/models/recipient_state_reason_details.rb +235 -0
  35. data/lib/transferzero-sdk/models/sender.rb +29 -7
  36. data/lib/transferzero-sdk/version.rb +1 -1
  37. data/spec/models/payout_method_cash_provider_enum_spec.rb +35 -0
  38. data/spec/models/payout_method_country_enum_spec.rb +35 -0
  39. data/spec/models/payout_method_details_xof_cash_spec.rb +71 -0
  40. data/spec/models/proof_of_payment_list_response_spec.rb +41 -0
  41. data/spec/models/proof_of_payment_spec.rb +59 -0
  42. data/spec/models/recipient_state_reason_details_spec.rb +59 -0
  43. data/transferzero-sdk-1.9.0.gem +0 -0
  44. metadata +27 -2
@@ -0,0 +1,35 @@
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::PayoutMethodCountryEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodCountryEnum' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodCountryEnum.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodCountryEnum' do
31
+ it 'should create an instance of PayoutMethodCountryEnum' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodCountryEnum)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,71 @@
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::PayoutMethodDetailsXOFCash
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsXOFCash' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsXOFCash.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsXOFCash' do
31
+ it 'should create an instance of PayoutMethodDetailsXOFCash' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsXOFCash)
33
+ end
34
+ end
35
+ describe 'test attribute "first_name"' 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 "last_name"' 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 "identity_card_id"' 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 "identity_card_type"' 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 "phone_number"' 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 "cash_provider"' 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,41 @@
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::ProofOfPaymentListResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ProofOfPaymentListResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::ProofOfPaymentListResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ProofOfPaymentListResponse' do
31
+ it 'should create an instance of ProofOfPaymentListResponse' do
32
+ expect(@instance).to be_instance_of(TransferZero::ProofOfPaymentListResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "object"' 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
+ end
@@ -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::ProofOfPayment
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ProofOfPayment' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::ProofOfPayment.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ProofOfPayment' do
31
+ it 'should create an instance of ProofOfPayment' do
32
+ expect(@instance).to be_instance_of(TransferZero::ProofOfPayment)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' 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 "file_name"' 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 "thumbnail"' 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 "url"' 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
@@ -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::RecipientStateReasonDetails
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'RecipientStateReasonDetails' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::RecipientStateReasonDetails.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RecipientStateReasonDetails' do
31
+ it 'should create an instance of RecipientStateReasonDetails' do
32
+ expect(@instance).to be_instance_of(TransferZero::RecipientStateReasonDetails)
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.8.1
4
+ version: 1.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-28 00:00:00.000000000 Z
11
+ date: 2021-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -261,6 +261,8 @@ files:
261
261
  - docs/PaymentMethodsApi.md
262
262
  - docs/PayoutMethod.md
263
263
  - docs/PayoutMethodBankAccountTypeEnum.md
264
+ - docs/PayoutMethodCashProviderEnum.md
265
+ - docs/PayoutMethodCountryEnum.md
264
266
  - docs/PayoutMethodDetails.md
265
267
  - docs/PayoutMethodDetailsBTC.md
266
268
  - docs/PayoutMethodDetailsBalance.md
@@ -271,6 +273,7 @@ files:
271
273
  - docs/PayoutMethodDetailsMobile.md
272
274
  - docs/PayoutMethodDetailsNGNBank.md
273
275
  - docs/PayoutMethodDetailsXOFBank.md
276
+ - docs/PayoutMethodDetailsXOFCash.md
274
277
  - docs/PayoutMethodDetailsXOFMobile.md
275
278
  - docs/PayoutMethodDetailsZARBank.md
276
279
  - docs/PayoutMethodGenderEnum.md
@@ -282,11 +285,14 @@ files:
282
285
  - docs/PayoutMethodWebhook.md
283
286
  - docs/PayoutMethodsApi.md
284
287
  - docs/PoliticallyExposedPerson.md
288
+ - docs/ProofOfPayment.md
289
+ - docs/ProofOfPaymentListResponse.md
285
290
  - docs/Recipient.md
286
291
  - docs/RecipientListResponse.md
287
292
  - docs/RecipientRequest.md
288
293
  - docs/RecipientResponse.md
289
294
  - docs/RecipientState.md
295
+ - docs/RecipientStateReasonDetails.md
290
296
  - docs/RecipientWebhook.md
291
297
  - docs/RecipientsApi.md
292
298
  - docs/Sender.md
@@ -385,6 +391,8 @@ files:
385
391
  - lib/transferzero-sdk/models/payment_method_opposite.rb
386
392
  - lib/transferzero-sdk/models/payout_method.rb
387
393
  - lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb
394
+ - lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb
395
+ - lib/transferzero-sdk/models/payout_method_country_enum.rb
388
396
  - lib/transferzero-sdk/models/payout_method_details.rb
389
397
  - lib/transferzero-sdk/models/payout_method_details_balance.rb
390
398
  - lib/transferzero-sdk/models/payout_method_details_btc.rb
@@ -395,6 +403,7 @@ files:
395
403
  - lib/transferzero-sdk/models/payout_method_details_mobile.rb
396
404
  - lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb
397
405
  - lib/transferzero-sdk/models/payout_method_details_xof_bank.rb
406
+ - lib/transferzero-sdk/models/payout_method_details_xof_cash.rb
398
407
  - lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb
399
408
  - lib/transferzero-sdk/models/payout_method_details_zar_bank.rb
400
409
  - lib/transferzero-sdk/models/payout_method_gender_enum.rb
@@ -405,11 +414,14 @@ files:
405
414
  - lib/transferzero-sdk/models/payout_method_response.rb
406
415
  - lib/transferzero-sdk/models/payout_method_webhook.rb
407
416
  - lib/transferzero-sdk/models/politically_exposed_person.rb
417
+ - lib/transferzero-sdk/models/proof_of_payment.rb
418
+ - lib/transferzero-sdk/models/proof_of_payment_list_response.rb
408
419
  - lib/transferzero-sdk/models/recipient.rb
409
420
  - lib/transferzero-sdk/models/recipient_list_response.rb
410
421
  - lib/transferzero-sdk/models/recipient_request.rb
411
422
  - lib/transferzero-sdk/models/recipient_response.rb
412
423
  - lib/transferzero-sdk/models/recipient_state.rb
424
+ - lib/transferzero-sdk/models/recipient_state_reason_details.rb
413
425
  - lib/transferzero-sdk/models/recipient_webhook.rb
414
426
  - lib/transferzero-sdk/models/sender.rb
415
427
  - lib/transferzero-sdk/models/sender_list_response.rb
@@ -499,6 +511,8 @@ files:
499
511
  - spec/models/payment_method_opposite_spec.rb
500
512
  - spec/models/payment_method_spec.rb
501
513
  - spec/models/payout_method_bank_account_type_enum_spec.rb
514
+ - spec/models/payout_method_cash_provider_enum_spec.rb
515
+ - spec/models/payout_method_country_enum_spec.rb
502
516
  - spec/models/payout_method_details_balance_spec.rb
503
517
  - spec/models/payout_method_details_btc_spec.rb
504
518
  - spec/models/payout_method_details_gbp_bank_spec.rb
@@ -509,6 +523,7 @@ files:
509
523
  - spec/models/payout_method_details_ngn_bank_spec.rb
510
524
  - spec/models/payout_method_details_spec.rb
511
525
  - spec/models/payout_method_details_xof_bank_spec.rb
526
+ - spec/models/payout_method_details_xof_cash_spec.rb
512
527
  - spec/models/payout_method_details_xof_mobile_spec.rb
513
528
  - spec/models/payout_method_details_zar_bank_spec.rb
514
529
  - spec/models/payout_method_gender_enum_spec.rb
@@ -520,10 +535,13 @@ files:
520
535
  - spec/models/payout_method_spec.rb
521
536
  - spec/models/payout_method_webhook_spec.rb
522
537
  - spec/models/politically_exposed_person_spec.rb
538
+ - spec/models/proof_of_payment_list_response_spec.rb
539
+ - spec/models/proof_of_payment_spec.rb
523
540
  - spec/models/recipient_list_response_spec.rb
524
541
  - spec/models/recipient_request_spec.rb
525
542
  - spec/models/recipient_response_spec.rb
526
543
  - spec/models/recipient_spec.rb
544
+ - spec/models/recipient_state_reason_details_spec.rb
527
545
  - spec/models/recipient_state_spec.rb
528
546
  - spec/models/recipient_webhook_spec.rb
529
547
  - spec/models/sender_list_response_spec.rb
@@ -557,6 +575,7 @@ files:
557
575
  - spec/models/webhook_log_spec.rb
558
576
  - spec/models/webhook_spec.rb
559
577
  - spec/spec_helper.rb
578
+ - transferzero-sdk-1.9.0.gem
560
579
  - transferzero-sdk.gemspec
561
580
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
562
581
  licenses:
@@ -597,6 +616,7 @@ test_files:
597
616
  - spec/api/account_debits_api_spec.rb
598
617
  - spec/configuration_spec.rb
599
618
  - spec/models/webhook_definition_response_spec.rb
619
+ - spec/models/payout_method_details_xof_cash_spec.rb
600
620
  - spec/models/sender_spec.rb
601
621
  - spec/models/currency_opposite_spec.rb
602
622
  - spec/models/payout_method_details_iban_spec.rb
@@ -640,6 +660,7 @@ test_files:
640
660
  - spec/models/currency_exchange_list_response_spec.rb
641
661
  - spec/models/validation_error_description_spec.rb
642
662
  - spec/models/payin_method_request_spec.rb
663
+ - spec/models/proof_of_payment_list_response_spec.rb
643
664
  - spec/models/transaction_webhook_spec.rb
644
665
  - spec/models/payout_method_details_xof_bank_spec.rb
645
666
  - spec/models/webhook_log_metadata_spec.rb
@@ -669,11 +690,13 @@ test_files:
669
690
  - spec/models/recipient_list_response_spec.rb
670
691
  - spec/models/account_response_spec.rb
671
692
  - spec/models/recipient_request_spec.rb
693
+ - spec/models/recipient_state_reason_details_spec.rb
672
694
  - spec/models/payout_method_webhook_spec.rb
673
695
  - spec/models/sender_response_meta_spec.rb
674
696
  - spec/models/payout_method_response_spec.rb
675
697
  - spec/models/recipient_spec.rb
676
698
  - spec/models/payout_method_identity_card_type_enum_spec.rb
699
+ - spec/models/proof_of_payment_spec.rb
677
700
  - spec/models/payout_method_details_balance_spec.rb
678
701
  - spec/models/payout_method_details_ngn_bank_spec.rb
679
702
  - spec/models/api_log_response_spec.rb
@@ -691,8 +714,10 @@ test_files:
691
714
  - spec/models/transaction_request_spec.rb
692
715
  - spec/models/payout_method_details_xof_mobile_spec.rb
693
716
  - spec/models/sender_list_response_spec.rb
717
+ - spec/models/payout_method_cash_provider_enum_spec.rb
694
718
  - spec/models/field_description_spec.rb
695
719
  - spec/models/currency_exchange_spec.rb
720
+ - spec/models/payout_method_country_enum_spec.rb
696
721
  - spec/models/politically_exposed_person_spec.rb
697
722
  - spec/models/payin_method_details_spec.rb
698
723
  - spec/models/account_validation_error_spec.rb