transferzero-sdk 1.6.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +93 -0
  3. data/README.md +12 -4
  4. data/docs/Currency.md +0 -2
  5. data/docs/CurrencyExchange.md +0 -2
  6. data/docs/CurrencyOpposite.md +3 -3
  7. data/docs/Document.md +2 -0
  8. data/docs/PayoutMethod.md +1 -1
  9. data/docs/PayoutMethodCashProviderEnum.md +16 -0
  10. data/docs/PayoutMethodDetails.md +19 -5
  11. data/docs/PayoutMethodDetailsGBPBank.md +29 -0
  12. data/docs/PayoutMethodDetailsIBAN.md +1 -1
  13. data/docs/PayoutMethodDetailsMobile.md +3 -1
  14. data/docs/PayoutMethodDetailsXOFCash.md +27 -0
  15. data/docs/PayoutMethodDetailsZARBank.md +35 -0
  16. data/docs/ProofOfPayment.md +23 -0
  17. data/docs/ProofOfPaymentListResponse.md +17 -0
  18. data/docs/Recipient.md +3 -1
  19. data/docs/RecipientStateReasonDetails.md +23 -0
  20. data/docs/RecipientsApi.md +63 -1
  21. data/docs/Sender.md +20 -8
  22. data/lib/transferzero-sdk.rb +7 -0
  23. data/lib/transferzero-sdk/api/recipients_api.rb +56 -2
  24. data/lib/transferzero-sdk/api_client.rb +5 -3
  25. data/lib/transferzero-sdk/models/account.rb +70 -69
  26. data/lib/transferzero-sdk/models/account_list_response.rb +67 -66
  27. data/lib/transferzero-sdk/models/account_meta.rb +61 -60
  28. data/lib/transferzero-sdk/models/account_response.rb +66 -65
  29. data/lib/transferzero-sdk/models/account_validation_error.rb +61 -60
  30. data/lib/transferzero-sdk/models/account_validation_request.rb +164 -163
  31. data/lib/transferzero-sdk/models/account_validation_response.rb +66 -65
  32. data/lib/transferzero-sdk/models/account_validation_result.rb +61 -60
  33. data/lib/transferzero-sdk/models/api_log.rb +136 -135
  34. data/lib/transferzero-sdk/models/api_log_list_response.rb +70 -69
  35. data/lib/transferzero-sdk/models/api_log_response.rb +60 -59
  36. data/lib/transferzero-sdk/models/currency.rb +133 -142
  37. data/lib/transferzero-sdk/models/currency_exchange.rb +149 -158
  38. data/lib/transferzero-sdk/models/currency_exchange_list_response.rb +62 -61
  39. data/lib/transferzero-sdk/models/currency_list_response.rb +62 -61
  40. data/lib/transferzero-sdk/models/currency_opposite.rb +166 -165
  41. data/lib/transferzero-sdk/models/debit.rb +151 -150
  42. data/lib/transferzero-sdk/models/debit_list_request.rb +61 -60
  43. data/lib/transferzero-sdk/models/debit_list_response.rb +67 -66
  44. data/lib/transferzero-sdk/models/debit_request.rb +60 -59
  45. data/lib/transferzero-sdk/models/debit_request_wrapper.rb +80 -79
  46. data/lib/transferzero-sdk/models/debit_response.rb +60 -59
  47. data/lib/transferzero-sdk/models/document.rb +180 -169
  48. data/lib/transferzero-sdk/models/document_list_response.rb +67 -66
  49. data/lib/transferzero-sdk/models/document_request.rb +60 -59
  50. data/lib/transferzero-sdk/models/document_response.rb +60 -59
  51. data/lib/transferzero-sdk/models/document_webhook.rb +96 -95
  52. data/lib/transferzero-sdk/models/error_status.rb +66 -65
  53. data/lib/transferzero-sdk/models/field_description.rb +95 -94
  54. data/lib/transferzero-sdk/models/field_select_validation.rb +70 -69
  55. data/lib/transferzero-sdk/models/field_validation.rb +78 -77
  56. data/lib/transferzero-sdk/models/pagination.rb +97 -96
  57. data/lib/transferzero-sdk/models/pagination_meta.rb +60 -59
  58. data/lib/transferzero-sdk/models/payin_method.rb +97 -96
  59. data/lib/transferzero-sdk/models/payin_method_details.rb +122 -121
  60. data/lib/transferzero-sdk/models/payin_method_details_btc.rb +62 -61
  61. data/lib/transferzero-sdk/models/payin_method_details_mobile.rb +75 -74
  62. data/lib/transferzero-sdk/models/payin_method_details_ngn_bank.rb +71 -70
  63. data/lib/transferzero-sdk/models/payin_method_request.rb +60 -59
  64. data/lib/transferzero-sdk/models/payment_method.rb +109 -108
  65. data/lib/transferzero-sdk/models/payment_method_list_response.rb +61 -60
  66. data/lib/transferzero-sdk/models/payment_method_opposite.rb +124 -123
  67. data/lib/transferzero-sdk/models/payout_method.rb +107 -106
  68. data/lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb +14 -19
  69. data/lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb +31 -0
  70. data/lib/transferzero-sdk/models/payout_method_details.rb +402 -320
  71. data/lib/transferzero-sdk/models/payout_method_details_balance.rb +61 -60
  72. data/lib/transferzero-sdk/models/payout_method_details_btc.rb +97 -96
  73. data/lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb +267 -0
  74. data/lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb +97 -96
  75. data/lib/transferzero-sdk/models/payout_method_details_iban.rb +100 -104
  76. data/lib/transferzero-sdk/models/payout_method_details_mad_cash.rb +162 -161
  77. data/lib/transferzero-sdk/models/payout_method_details_mobile.rb +93 -83
  78. data/lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb +104 -103
  79. data/lib/transferzero-sdk/models/payout_method_details_xof_bank.rb +108 -107
  80. data/lib/transferzero-sdk/models/payout_method_details_xof_cash.rb +263 -0
  81. data/lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb +97 -96
  82. data/lib/transferzero-sdk/models/payout_method_details_zar_bank.rb +324 -0
  83. data/lib/transferzero-sdk/models/payout_method_gender_enum.rb +14 -19
  84. data/lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb +15 -20
  85. data/lib/transferzero-sdk/models/payout_method_list_response.rb +67 -66
  86. data/lib/transferzero-sdk/models/payout_method_mobile_provider_enum.rb +17 -19
  87. data/lib/transferzero-sdk/models/payout_method_request.rb +60 -59
  88. data/lib/transferzero-sdk/models/payout_method_response.rb +60 -59
  89. data/lib/transferzero-sdk/models/payout_method_webhook.rb +96 -95
  90. data/lib/transferzero-sdk/models/politically_exposed_person.rb +123 -122
  91. data/lib/transferzero-sdk/models/proof_of_payment.rb +233 -0
  92. data/lib/transferzero-sdk/models/proof_of_payment_list_response.rb +204 -0
  93. data/lib/transferzero-sdk/models/recipient.rb +237 -227
  94. data/lib/transferzero-sdk/models/recipient_list_response.rb +67 -66
  95. data/lib/transferzero-sdk/models/recipient_request.rb +60 -59
  96. data/lib/transferzero-sdk/models/recipient_response.rb +60 -59
  97. data/lib/transferzero-sdk/models/recipient_state.rb +22 -27
  98. data/lib/transferzero-sdk/models/recipient_state_reason_details.rb +235 -0
  99. data/lib/transferzero-sdk/models/recipient_webhook.rb +96 -95
  100. data/lib/transferzero-sdk/models/sender.rb +565 -480
  101. data/lib/transferzero-sdk/models/sender_list_response.rb +67 -66
  102. data/lib/transferzero-sdk/models/sender_request.rb +60 -59
  103. data/lib/transferzero-sdk/models/sender_response.rb +66 -65
  104. data/lib/transferzero-sdk/models/sender_response_existing.rb +60 -59
  105. data/lib/transferzero-sdk/models/sender_response_meta.rb +60 -59
  106. data/lib/transferzero-sdk/models/sender_state.rb +19 -24
  107. data/lib/transferzero-sdk/models/sender_webhook.rb +96 -95
  108. data/lib/transferzero-sdk/models/transaction.rb +192 -191
  109. data/lib/transferzero-sdk/models/transaction_list_response.rb +67 -66
  110. data/lib/transferzero-sdk/models/transaction_request.rb +60 -59
  111. data/lib/transferzero-sdk/models/transaction_response.rb +66 -65
  112. data/lib/transferzero-sdk/models/transaction_response_existing.rb +66 -65
  113. data/lib/transferzero-sdk/models/transaction_response_meta.rb +60 -59
  114. data/lib/transferzero-sdk/models/transaction_state.rb +23 -28
  115. data/lib/transferzero-sdk/models/transaction_traits.rb +71 -70
  116. data/lib/transferzero-sdk/models/transaction_webhook.rb +96 -95
  117. data/lib/transferzero-sdk/models/validation_error_description.rb +62 -61
  118. data/lib/transferzero-sdk/models/webhook.rb +92 -91
  119. data/lib/transferzero-sdk/models/webhook_definition.rb +107 -106
  120. data/lib/transferzero-sdk/models/webhook_definition_event_list_response.rb +61 -60
  121. data/lib/transferzero-sdk/models/webhook_definition_list_response.rb +67 -66
  122. data/lib/transferzero-sdk/models/webhook_definition_request.rb +60 -59
  123. data/lib/transferzero-sdk/models/webhook_definition_response.rb +60 -59
  124. data/lib/transferzero-sdk/models/webhook_log.rb +97 -96
  125. data/lib/transferzero-sdk/models/webhook_log_list_response.rb +70 -69
  126. data/lib/transferzero-sdk/models/webhook_log_metadata.rb +129 -128
  127. data/lib/transferzero-sdk/models/webhook_log_metadata_request.rb +80 -79
  128. data/lib/transferzero-sdk/models/webhook_log_metadata_response.rb +81 -80
  129. data/lib/transferzero-sdk/models/webhook_log_response.rb +60 -59
  130. data/lib/transferzero-sdk/version.rb +1 -1
  131. data/spec/models/payout_method_cash_provider_enum_spec.rb +35 -0
  132. data/spec/models/payout_method_details_gbp_bank_spec.rb +77 -0
  133. data/spec/models/payout_method_details_xof_cash_spec.rb +71 -0
  134. data/spec/models/payout_method_details_zar_bank_spec.rb +89 -0
  135. data/spec/models/proof_of_payment_list_response_spec.rb +41 -0
  136. data/spec/models/proof_of_payment_spec.rb +59 -0
  137. data/spec/models/recipient_state_reason_details_spec.rb +59 -0
  138. metadata +32 -3
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0-beta3
11
11
  =end
12
12
 
13
13
  module TransferZero
14
- VERSION = '1.6.0'
14
+ VERSION = '1.10.0'
15
15
  end
@@ -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::PayoutMethodCashProviderEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodCashProviderEnum' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodCashProviderEnum.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodCashProviderEnum' do
31
+ it 'should create an instance of PayoutMethodCashProviderEnum' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodCashProviderEnum)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,77 @@
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::PayoutMethodDetailsGBPBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsGBPBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsGBPBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsGBPBank' do
31
+ it 'should create an instance of PayoutMethodDetailsGBPBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsGBPBank)
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 "bank_name"' 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 "bank_account"' 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 "sort_code"' 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 "iban"' 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
+ describe 'test attribute "bic"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ 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,89 @@
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::PayoutMethodDetailsZARBank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PayoutMethodDetailsZARBank' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::PayoutMethodDetailsZARBank.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PayoutMethodDetailsZARBank' do
31
+ it 'should create an instance of PayoutMethodDetailsZARBank' do
32
+ expect(@instance).to be_instance_of(TransferZero::PayoutMethodDetailsZARBank)
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 "street"' 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 "postal_code"' 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 "city"' 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 "bank_code"' 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
+ describe 'test attribute "bank_account"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "phone_number"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "transfer_reason_code"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ 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
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.6.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-11 00:00:00.000000000 Z
11
+ date: 2021-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -206,6 +206,7 @@ extensions: []
206
206
  extra_rdoc_files: []
207
207
  files:
208
208
  - Gemfile
209
+ - Gemfile.lock
209
210
  - LICENSE
210
211
  - README.md
211
212
  - Rakefile
@@ -261,16 +262,20 @@ files:
261
262
  - docs/PaymentMethodsApi.md
262
263
  - docs/PayoutMethod.md
263
264
  - docs/PayoutMethodBankAccountTypeEnum.md
265
+ - docs/PayoutMethodCashProviderEnum.md
264
266
  - docs/PayoutMethodDetails.md
265
267
  - docs/PayoutMethodDetailsBTC.md
266
268
  - docs/PayoutMethodDetailsBalance.md
269
+ - docs/PayoutMethodDetailsGBPBank.md
267
270
  - docs/PayoutMethodDetailsGHSBank.md
268
271
  - docs/PayoutMethodDetailsIBAN.md
269
272
  - docs/PayoutMethodDetailsMADCash.md
270
273
  - docs/PayoutMethodDetailsMobile.md
271
274
  - docs/PayoutMethodDetailsNGNBank.md
272
275
  - docs/PayoutMethodDetailsXOFBank.md
276
+ - docs/PayoutMethodDetailsXOFCash.md
273
277
  - docs/PayoutMethodDetailsXOFMobile.md
278
+ - docs/PayoutMethodDetailsZARBank.md
274
279
  - docs/PayoutMethodGenderEnum.md
275
280
  - docs/PayoutMethodIdentityCardTypeEnum.md
276
281
  - docs/PayoutMethodListResponse.md
@@ -280,11 +285,14 @@ files:
280
285
  - docs/PayoutMethodWebhook.md
281
286
  - docs/PayoutMethodsApi.md
282
287
  - docs/PoliticallyExposedPerson.md
288
+ - docs/ProofOfPayment.md
289
+ - docs/ProofOfPaymentListResponse.md
283
290
  - docs/Recipient.md
284
291
  - docs/RecipientListResponse.md
285
292
  - docs/RecipientRequest.md
286
293
  - docs/RecipientResponse.md
287
294
  - docs/RecipientState.md
295
+ - docs/RecipientStateReasonDetails.md
288
296
  - docs/RecipientWebhook.md
289
297
  - docs/RecipientsApi.md
290
298
  - docs/Sender.md
@@ -383,16 +391,20 @@ files:
383
391
  - lib/transferzero-sdk/models/payment_method_opposite.rb
384
392
  - lib/transferzero-sdk/models/payout_method.rb
385
393
  - lib/transferzero-sdk/models/payout_method_bank_account_type_enum.rb
394
+ - lib/transferzero-sdk/models/payout_method_cash_provider_enum.rb
386
395
  - lib/transferzero-sdk/models/payout_method_details.rb
387
396
  - lib/transferzero-sdk/models/payout_method_details_balance.rb
388
397
  - lib/transferzero-sdk/models/payout_method_details_btc.rb
398
+ - lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb
389
399
  - lib/transferzero-sdk/models/payout_method_details_ghs_bank.rb
390
400
  - lib/transferzero-sdk/models/payout_method_details_iban.rb
391
401
  - lib/transferzero-sdk/models/payout_method_details_mad_cash.rb
392
402
  - lib/transferzero-sdk/models/payout_method_details_mobile.rb
393
403
  - lib/transferzero-sdk/models/payout_method_details_ngn_bank.rb
394
404
  - lib/transferzero-sdk/models/payout_method_details_xof_bank.rb
405
+ - lib/transferzero-sdk/models/payout_method_details_xof_cash.rb
395
406
  - lib/transferzero-sdk/models/payout_method_details_xof_mobile.rb
407
+ - lib/transferzero-sdk/models/payout_method_details_zar_bank.rb
396
408
  - lib/transferzero-sdk/models/payout_method_gender_enum.rb
397
409
  - lib/transferzero-sdk/models/payout_method_identity_card_type_enum.rb
398
410
  - lib/transferzero-sdk/models/payout_method_list_response.rb
@@ -401,11 +413,14 @@ files:
401
413
  - lib/transferzero-sdk/models/payout_method_response.rb
402
414
  - lib/transferzero-sdk/models/payout_method_webhook.rb
403
415
  - lib/transferzero-sdk/models/politically_exposed_person.rb
416
+ - lib/transferzero-sdk/models/proof_of_payment.rb
417
+ - lib/transferzero-sdk/models/proof_of_payment_list_response.rb
404
418
  - lib/transferzero-sdk/models/recipient.rb
405
419
  - lib/transferzero-sdk/models/recipient_list_response.rb
406
420
  - lib/transferzero-sdk/models/recipient_request.rb
407
421
  - lib/transferzero-sdk/models/recipient_response.rb
408
422
  - lib/transferzero-sdk/models/recipient_state.rb
423
+ - lib/transferzero-sdk/models/recipient_state_reason_details.rb
409
424
  - lib/transferzero-sdk/models/recipient_webhook.rb
410
425
  - lib/transferzero-sdk/models/sender.rb
411
426
  - lib/transferzero-sdk/models/sender_list_response.rb
@@ -495,8 +510,10 @@ files:
495
510
  - spec/models/payment_method_opposite_spec.rb
496
511
  - spec/models/payment_method_spec.rb
497
512
  - spec/models/payout_method_bank_account_type_enum_spec.rb
513
+ - spec/models/payout_method_cash_provider_enum_spec.rb
498
514
  - spec/models/payout_method_details_balance_spec.rb
499
515
  - spec/models/payout_method_details_btc_spec.rb
516
+ - spec/models/payout_method_details_gbp_bank_spec.rb
500
517
  - spec/models/payout_method_details_ghs_bank_spec.rb
501
518
  - spec/models/payout_method_details_iban_spec.rb
502
519
  - spec/models/payout_method_details_mad_cash_spec.rb
@@ -504,7 +521,9 @@ files:
504
521
  - spec/models/payout_method_details_ngn_bank_spec.rb
505
522
  - spec/models/payout_method_details_spec.rb
506
523
  - spec/models/payout_method_details_xof_bank_spec.rb
524
+ - spec/models/payout_method_details_xof_cash_spec.rb
507
525
  - spec/models/payout_method_details_xof_mobile_spec.rb
526
+ - spec/models/payout_method_details_zar_bank_spec.rb
508
527
  - spec/models/payout_method_gender_enum_spec.rb
509
528
  - spec/models/payout_method_identity_card_type_enum_spec.rb
510
529
  - spec/models/payout_method_list_response_spec.rb
@@ -514,10 +533,13 @@ files:
514
533
  - spec/models/payout_method_spec.rb
515
534
  - spec/models/payout_method_webhook_spec.rb
516
535
  - spec/models/politically_exposed_person_spec.rb
536
+ - spec/models/proof_of_payment_list_response_spec.rb
537
+ - spec/models/proof_of_payment_spec.rb
517
538
  - spec/models/recipient_list_response_spec.rb
518
539
  - spec/models/recipient_request_spec.rb
519
540
  - spec/models/recipient_response_spec.rb
520
541
  - spec/models/recipient_spec.rb
542
+ - spec/models/recipient_state_reason_details_spec.rb
521
543
  - spec/models/recipient_state_spec.rb
522
544
  - spec/models/recipient_webhook_spec.rb
523
545
  - spec/models/sender_list_response_spec.rb
@@ -571,7 +593,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
571
593
  - !ruby/object:Gem::Version
572
594
  version: '0'
573
595
  requirements: []
574
- rubygems_version: 3.0.6
596
+ rubygems_version: 3.0.3
575
597
  signing_key:
576
598
  specification_version: 4
577
599
  summary: TransferZero API Ruby Gem
@@ -591,6 +613,7 @@ test_files:
591
613
  - spec/api/account_debits_api_spec.rb
592
614
  - spec/configuration_spec.rb
593
615
  - spec/models/webhook_definition_response_spec.rb
616
+ - spec/models/payout_method_details_xof_cash_spec.rb
594
617
  - spec/models/sender_spec.rb
595
618
  - spec/models/currency_opposite_spec.rb
596
619
  - spec/models/payout_method_details_iban_spec.rb
@@ -611,6 +634,7 @@ test_files:
611
634
  - spec/models/webhook_definition_request_spec.rb
612
635
  - spec/models/sender_state_spec.rb
613
636
  - spec/models/payout_method_request_spec.rb
637
+ - spec/models/payout_method_details_gbp_bank_spec.rb
614
638
  - spec/models/webhook_log_metadata_request_spec.rb
615
639
  - spec/models/recipient_webhook_spec.rb
616
640
  - spec/models/api_log_list_response_spec.rb
@@ -619,6 +643,7 @@ test_files:
619
643
  - spec/models/account_validation_result_spec.rb
620
644
  - spec/models/debit_request_wrapper_spec.rb
621
645
  - spec/models/document_webhook_spec.rb
646
+ - spec/models/payout_method_details_zar_bank_spec.rb
622
647
  - spec/models/payout_method_gender_enum_spec.rb
623
648
  - spec/models/transaction_list_response_spec.rb
624
649
  - spec/models/payin_method_spec.rb
@@ -632,6 +657,7 @@ test_files:
632
657
  - spec/models/currency_exchange_list_response_spec.rb
633
658
  - spec/models/validation_error_description_spec.rb
634
659
  - spec/models/payin_method_request_spec.rb
660
+ - spec/models/proof_of_payment_list_response_spec.rb
635
661
  - spec/models/transaction_webhook_spec.rb
636
662
  - spec/models/payout_method_details_xof_bank_spec.rb
637
663
  - spec/models/webhook_log_metadata_spec.rb
@@ -661,11 +687,13 @@ test_files:
661
687
  - spec/models/recipient_list_response_spec.rb
662
688
  - spec/models/account_response_spec.rb
663
689
  - spec/models/recipient_request_spec.rb
690
+ - spec/models/recipient_state_reason_details_spec.rb
664
691
  - spec/models/payout_method_webhook_spec.rb
665
692
  - spec/models/sender_response_meta_spec.rb
666
693
  - spec/models/payout_method_response_spec.rb
667
694
  - spec/models/recipient_spec.rb
668
695
  - spec/models/payout_method_identity_card_type_enum_spec.rb
696
+ - spec/models/proof_of_payment_spec.rb
669
697
  - spec/models/payout_method_details_balance_spec.rb
670
698
  - spec/models/payout_method_details_ngn_bank_spec.rb
671
699
  - spec/models/api_log_response_spec.rb
@@ -683,6 +711,7 @@ test_files:
683
711
  - spec/models/transaction_request_spec.rb
684
712
  - spec/models/payout_method_details_xof_mobile_spec.rb
685
713
  - spec/models/sender_list_response_spec.rb
714
+ - spec/models/payout_method_cash_provider_enum_spec.rb
686
715
  - spec/models/field_description_spec.rb
687
716
  - spec/models/currency_exchange_spec.rb
688
717
  - spec/models/politically_exposed_person_spec.rb