transferzero-sdk 1.19.2 → 1.19.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/CurrencyExchangeAllOf.md +17 -0
  4. data/docs/CurrencyOppositeAllOf.md +21 -0
  5. data/docs/DocumentWebhookAllOf.md +17 -0
  6. data/docs/PayinMethod.md +1 -1
  7. data/docs/PayinMethodsApi.md +1 -1
  8. data/docs/PayoutMethodWebhookAllOf.md +17 -0
  9. data/docs/PayoutMethodsApi.md +1 -1
  10. data/docs/RecipientWebhookAllOf.md +17 -0
  11. data/docs/SenderWebhookAllOf.md +17 -0
  12. data/docs/SendersApi.md +1 -1
  13. data/docs/TransactionWebhookAllOf.md +17 -0
  14. data/lib/transferzero-sdk/api/payin_methods_api.rb +2 -2
  15. data/lib/transferzero-sdk/api/payout_methods_api.rb +2 -2
  16. data/lib/transferzero-sdk/api/senders_api.rb +2 -2
  17. data/lib/transferzero-sdk/api_client.rb +124 -89
  18. data/lib/transferzero-sdk/configuration.rb +95 -19
  19. data/lib/transferzero-sdk/models/currency_exchange_all_of.rb +205 -0
  20. data/lib/transferzero-sdk/models/currency_opposite_all_of.rb +223 -0
  21. data/lib/transferzero-sdk/models/document_webhook_all_of.rb +202 -0
  22. data/lib/transferzero-sdk/models/payin_method.rb +1 -1
  23. data/lib/transferzero-sdk/models/payin_method_ux_flow.rb +1 -0
  24. data/lib/transferzero-sdk/models/payout_method_country_enum.rb +1 -1
  25. data/lib/transferzero-sdk/models/payout_method_webhook_all_of.rb +202 -0
  26. data/lib/transferzero-sdk/models/recipient_webhook_all_of.rb +202 -0
  27. data/lib/transferzero-sdk/models/sender_webhook_all_of.rb +202 -0
  28. data/lib/transferzero-sdk/models/transaction_webhook_all_of.rb +202 -0
  29. data/lib/transferzero-sdk/version.rb +1 -1
  30. data/spec/models/currency_exchange_all_of_spec.rb +41 -0
  31. data/spec/models/currency_opposite_all_of_spec.rb +53 -0
  32. data/spec/models/document_webhook_all_of_spec.rb +41 -0
  33. data/spec/models/payout_method_webhook_all_of_spec.rb +41 -0
  34. data/spec/models/recipient_webhook_all_of_spec.rb +41 -0
  35. data/spec/models/sender_webhook_all_of_spec.rb +41 -0
  36. data/spec/models/transaction_webhook_all_of_spec.rb +41 -0
  37. data/transferzero-sdk-1.19.2.gem +0 -0
  38. data/transferzero-sdk-1.19.3.gem +0 -0
  39. data/transferzero-sdk-1.19.4.gem +0 -0
  40. data/transferzero-sdk.gemspec +2 -8
  41. metadata +40 -123
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #TransferZero API
3
+
4
+ #Reference documentation for the TransferZero API V1
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TransferZero::TransactionWebhookAllOf
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'TransactionWebhookAllOf' do
21
+ before do
22
+ # run before each test
23
+ @instance = TransferZero::TransactionWebhookAllOf.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of TransactionWebhookAllOf' do
31
+ it 'should create an instance of TransactionWebhookAllOf' do
32
+ expect(@instance).to be_instance_of(TransferZero::TransactionWebhookAllOf)
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
Binary file
Binary file
Binary file
@@ -27,17 +27,11 @@ Gem::Specification.new do |s|
27
27
  s.license = 'MIT'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
30
+ s.add_runtime_dependency 'faraday', '~> 1.0', '>= 1.0.1'
31
31
  s.add_runtime_dependency 'json', '>= 1.4'
32
- s.add_runtime_dependency 'activesupport', '>= 4'
32
+ s.add_runtime_dependency 'activesupport', '>= 4', '< 7'
33
33
 
34
34
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
35
- s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
36
- s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
37
- s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
38
- s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
39
- s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
40
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
41
35
 
42
36
  s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
43
37
  s.test_files = `find spec/*`.split("\n")
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transferzero-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.2
4
+ version: 1.19.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TransferZero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-12 00:00:00.000000000 Z
11
+ date: 2022-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: typhoeus
14
+ name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
@@ -51,6 +51,9 @@ dependencies:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '4'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: '7'
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,6 +61,9 @@ dependencies:
58
61
  - - ">="
59
62
  - !ruby/object:Gem::Version
60
63
  version: '4'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: '7'
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: rspec
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -78,126 +84,6 @@ dependencies:
78
84
  - - "~>"
79
85
  - !ruby/object:Gem::Version
80
86
  version: '3.6'
81
- - !ruby/object:Gem::Dependency
82
- name: vcr
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '3.0'
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: 3.0.1
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: '3.0'
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: 3.0.1
101
- - !ruby/object:Gem::Dependency
102
- name: webmock
103
- requirement: !ruby/object:Gem::Requirement
104
- requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '1.24'
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: 1.24.3
111
- type: :development
112
- prerelease: false
113
- version_requirements: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.24'
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- version: 1.24.3
121
- - !ruby/object:Gem::Dependency
122
- name: autotest
123
- requirement: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - "~>"
126
- - !ruby/object:Gem::Version
127
- version: '4.4'
128
- - - ">="
129
- - !ruby/object:Gem::Version
130
- version: 4.4.6
131
- type: :development
132
- prerelease: false
133
- version_requirements: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '4.4'
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- version: 4.4.6
141
- - !ruby/object:Gem::Dependency
142
- name: autotest-rails-pure
143
- requirement: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - "~>"
146
- - !ruby/object:Gem::Version
147
- version: '4.1'
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- version: 4.1.2
151
- type: :development
152
- prerelease: false
153
- version_requirements: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '4.1'
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- version: 4.1.2
161
- - !ruby/object:Gem::Dependency
162
- name: autotest-growl
163
- requirement: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: '0.2'
168
- - - ">="
169
- - !ruby/object:Gem::Version
170
- version: 0.2.16
171
- type: :development
172
- prerelease: false
173
- version_requirements: !ruby/object:Gem::Requirement
174
- requirements:
175
- - - "~>"
176
- - !ruby/object:Gem::Version
177
- version: '0.2'
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: 0.2.16
181
- - !ruby/object:Gem::Dependency
182
- name: autotest-fsevent
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: '0.2'
188
- - - ">="
189
- - !ruby/object:Gem::Version
190
- version: 0.2.12
191
- type: :development
192
- prerelease: false
193
- version_requirements: !ruby/object:Gem::Requirement
194
- requirements:
195
- - - "~>"
196
- - !ruby/object:Gem::Version
197
- version: '0.2'
198
- - - ">="
199
- - !ruby/object:Gem::Version
200
- version: 0.2.12
201
87
  description: Ruby library for the TransferZero API
202
88
  email:
203
89
  - engineers@transferzero.com
@@ -227,10 +113,12 @@ files:
227
113
  - docs/ApiLogResponse.md
228
114
  - docs/Currency.md
229
115
  - docs/CurrencyExchange.md
116
+ - docs/CurrencyExchangeAllOf.md
230
117
  - docs/CurrencyExchangeListResponse.md
231
118
  - docs/CurrencyInfoApi.md
232
119
  - docs/CurrencyListResponse.md
233
120
  - docs/CurrencyOpposite.md
121
+ - docs/CurrencyOppositeAllOf.md
234
122
  - docs/Debit.md
235
123
  - docs/DebitListRequest.md
236
124
  - docs/DebitListResponse.md
@@ -242,6 +130,7 @@ files:
242
130
  - docs/DocumentRequest.md
243
131
  - docs/DocumentResponse.md
244
132
  - docs/DocumentWebhook.md
133
+ - docs/DocumentWebhookAllOf.md
245
134
  - docs/DocumentsApi.md
246
135
  - docs/ErrorStatus.md
247
136
  - docs/FieldDescription.md
@@ -298,6 +187,7 @@ files:
298
187
  - docs/PayoutMethodResponse.md
299
188
  - docs/PayoutMethodTransferReasonEnum.md
300
189
  - docs/PayoutMethodWebhook.md
190
+ - docs/PayoutMethodWebhookAllOf.md
301
191
  - docs/PayoutMethodsApi.md
302
192
  - docs/PoliticallyExposedPerson.md
303
193
  - docs/ProofOfPayment.md
@@ -309,6 +199,7 @@ files:
309
199
  - docs/RecipientState.md
310
200
  - docs/RecipientStateReasonDetails.md
311
201
  - docs/RecipientWebhook.md
202
+ - docs/RecipientWebhookAllOf.md
312
203
  - docs/RecipientsApi.md
313
204
  - docs/Sender.md
314
205
  - docs/SenderListResponse.md
@@ -318,6 +209,7 @@ files:
318
209
  - docs/SenderResponseMeta.md
319
210
  - docs/SenderState.md
320
211
  - docs/SenderWebhook.md
212
+ - docs/SenderWebhookAllOf.md
321
213
  - docs/SendersApi.md
322
214
  - docs/StateReasonDetails.md
323
215
  - docs/Transaction.md
@@ -329,6 +221,7 @@ files:
329
221
  - docs/TransactionState.md
330
222
  - docs/TransactionTraits.md
331
223
  - docs/TransactionWebhook.md
224
+ - docs/TransactionWebhookAllOf.md
332
225
  - docs/TransactionsApi.md
333
226
  - docs/ValidationErrorDescription.md
334
227
  - docs/Webhook.md
@@ -377,9 +270,11 @@ files:
377
270
  - lib/transferzero-sdk/models/api_log_response.rb
378
271
  - lib/transferzero-sdk/models/currency.rb
379
272
  - lib/transferzero-sdk/models/currency_exchange.rb
273
+ - lib/transferzero-sdk/models/currency_exchange_all_of.rb
380
274
  - lib/transferzero-sdk/models/currency_exchange_list_response.rb
381
275
  - lib/transferzero-sdk/models/currency_list_response.rb
382
276
  - lib/transferzero-sdk/models/currency_opposite.rb
277
+ - lib/transferzero-sdk/models/currency_opposite_all_of.rb
383
278
  - lib/transferzero-sdk/models/debit.rb
384
279
  - lib/transferzero-sdk/models/debit_list_request.rb
385
280
  - lib/transferzero-sdk/models/debit_list_response.rb
@@ -391,6 +286,7 @@ files:
391
286
  - lib/transferzero-sdk/models/document_request.rb
392
287
  - lib/transferzero-sdk/models/document_response.rb
393
288
  - lib/transferzero-sdk/models/document_webhook.rb
289
+ - lib/transferzero-sdk/models/document_webhook_all_of.rb
394
290
  - lib/transferzero-sdk/models/error_status.rb
395
291
  - lib/transferzero-sdk/models/field_description.rb
396
292
  - lib/transferzero-sdk/models/field_select_validation.rb
@@ -443,6 +339,7 @@ files:
443
339
  - lib/transferzero-sdk/models/payout_method_response.rb
444
340
  - lib/transferzero-sdk/models/payout_method_transfer_reason_enum.rb
445
341
  - lib/transferzero-sdk/models/payout_method_webhook.rb
342
+ - lib/transferzero-sdk/models/payout_method_webhook_all_of.rb
446
343
  - lib/transferzero-sdk/models/politically_exposed_person.rb
447
344
  - lib/transferzero-sdk/models/proof_of_payment.rb
448
345
  - lib/transferzero-sdk/models/proof_of_payment_list_response.rb
@@ -453,6 +350,7 @@ files:
453
350
  - lib/transferzero-sdk/models/recipient_state.rb
454
351
  - lib/transferzero-sdk/models/recipient_state_reason_details.rb
455
352
  - lib/transferzero-sdk/models/recipient_webhook.rb
353
+ - lib/transferzero-sdk/models/recipient_webhook_all_of.rb
456
354
  - lib/transferzero-sdk/models/sender.rb
457
355
  - lib/transferzero-sdk/models/sender_list_response.rb
458
356
  - lib/transferzero-sdk/models/sender_request.rb
@@ -461,6 +359,7 @@ files:
461
359
  - lib/transferzero-sdk/models/sender_response_meta.rb
462
360
  - lib/transferzero-sdk/models/sender_state.rb
463
361
  - lib/transferzero-sdk/models/sender_webhook.rb
362
+ - lib/transferzero-sdk/models/sender_webhook_all_of.rb
464
363
  - lib/transferzero-sdk/models/state_reason_details.rb
465
364
  - lib/transferzero-sdk/models/transaction.rb
466
365
  - lib/transferzero-sdk/models/transaction_list_response.rb
@@ -471,6 +370,7 @@ files:
471
370
  - lib/transferzero-sdk/models/transaction_state.rb
472
371
  - lib/transferzero-sdk/models/transaction_traits.rb
473
372
  - lib/transferzero-sdk/models/transaction_webhook.rb
373
+ - lib/transferzero-sdk/models/transaction_webhook_all_of.rb
474
374
  - lib/transferzero-sdk/models/validation_error_description.rb
475
375
  - lib/transferzero-sdk/models/webhook.rb
476
376
  - lib/transferzero-sdk/models/webhook_definition.rb
@@ -511,9 +411,11 @@ files:
511
411
  - spec/models/api_log_list_response_spec.rb
512
412
  - spec/models/api_log_response_spec.rb
513
413
  - spec/models/api_log_spec.rb
414
+ - spec/models/currency_exchange_all_of_spec.rb
514
415
  - spec/models/currency_exchange_list_response_spec.rb
515
416
  - spec/models/currency_exchange_spec.rb
516
417
  - spec/models/currency_list_response_spec.rb
418
+ - spec/models/currency_opposite_all_of_spec.rb
517
419
  - spec/models/currency_opposite_spec.rb
518
420
  - spec/models/currency_spec.rb
519
421
  - spec/models/debit_list_request_spec.rb
@@ -526,6 +428,7 @@ files:
526
428
  - spec/models/document_request_spec.rb
527
429
  - spec/models/document_response_spec.rb
528
430
  - spec/models/document_spec.rb
431
+ - spec/models/document_webhook_all_of_spec.rb
529
432
  - spec/models/document_webhook_spec.rb
530
433
  - spec/models/error_status_spec.rb
531
434
  - spec/models/field_description_spec.rb
@@ -578,6 +481,7 @@ files:
578
481
  - spec/models/payout_method_response_spec.rb
579
482
  - spec/models/payout_method_spec.rb
580
483
  - spec/models/payout_method_transfer_reason_enum_spec.rb
484
+ - spec/models/payout_method_webhook_all_of_spec.rb
581
485
  - spec/models/payout_method_webhook_spec.rb
582
486
  - spec/models/politically_exposed_person_spec.rb
583
487
  - spec/models/proof_of_payment_list_response_spec.rb
@@ -588,6 +492,7 @@ files:
588
492
  - spec/models/recipient_spec.rb
589
493
  - spec/models/recipient_state_reason_details_spec.rb
590
494
  - spec/models/recipient_state_spec.rb
495
+ - spec/models/recipient_webhook_all_of_spec.rb
591
496
  - spec/models/recipient_webhook_spec.rb
592
497
  - spec/models/sender_list_response_spec.rb
593
498
  - spec/models/sender_request_spec.rb
@@ -596,6 +501,7 @@ files:
596
501
  - spec/models/sender_response_spec.rb
597
502
  - spec/models/sender_spec.rb
598
503
  - spec/models/sender_state_spec.rb
504
+ - spec/models/sender_webhook_all_of_spec.rb
599
505
  - spec/models/sender_webhook_spec.rb
600
506
  - spec/models/state_reason_details_spec.rb
601
507
  - spec/models/transaction_list_response_spec.rb
@@ -606,6 +512,7 @@ files:
606
512
  - spec/models/transaction_spec.rb
607
513
  - spec/models/transaction_state_spec.rb
608
514
  - spec/models/transaction_traits_spec.rb
515
+ - spec/models/transaction_webhook_all_of_spec.rb
609
516
  - spec/models/transaction_webhook_spec.rb
610
517
  - spec/models/validation_error_description_spec.rb
611
518
  - spec/models/webhook_definition_event_list_response_spec.rb
@@ -622,6 +529,9 @@ files:
622
529
  - spec/models/webhook_spec.rb
623
530
  - spec/spec_helper.rb
624
531
  - transferzero-sdk-1.19.0.gem
532
+ - transferzero-sdk-1.19.2.gem
533
+ - transferzero-sdk-1.19.3.gem
534
+ - transferzero-sdk-1.19.4.gem
625
535
  - transferzero-sdk.gemspec
626
536
  homepage: https://github.com/transferzero/transferzero-sdk-ruby
627
537
  licenses:
@@ -675,6 +585,7 @@ test_files:
675
585
  - spec/models/webhook_log_metadata_response_spec.rb
676
586
  - spec/models/currency_list_response_spec.rb
677
587
  - spec/models/debit_response_spec.rb
588
+ - spec/models/currency_opposite_all_of_spec.rb
678
589
  - spec/models/webhook_definition_event_list_response_spec.rb
679
590
  - spec/models/debit_spec.rb
680
591
  - spec/models/payin_method_details_btc_spec.rb
@@ -684,16 +595,19 @@ test_files:
684
595
  - spec/models/webhook_definition_request_spec.rb
685
596
  - spec/models/sender_state_spec.rb
686
597
  - spec/models/payout_method_request_spec.rb
598
+ - spec/models/document_webhook_all_of_spec.rb
687
599
  - spec/models/payout_method_details_kes_mobile_spec.rb
688
600
  - spec/models/payout_method_details_gbp_bank_spec.rb
689
601
  - spec/models/webhook_log_metadata_request_spec.rb
690
602
  - spec/models/recipient_webhook_spec.rb
603
+ - spec/models/recipient_webhook_all_of_spec.rb
691
604
  - spec/models/api_log_list_response_spec.rb
692
605
  - spec/models/debit_list_response_spec.rb
693
606
  - spec/models/pagination_meta_spec.rb
694
607
  - spec/models/account_validation_result_spec.rb
695
608
  - spec/models/debit_request_wrapper_spec.rb
696
609
  - spec/models/document_webhook_spec.rb
610
+ - spec/models/transaction_webhook_all_of_spec.rb
697
611
  - spec/models/payout_method_details_zar_bank_spec.rb
698
612
  - spec/models/payout_method_gender_enum_spec.rb
699
613
  - spec/models/payout_method_legal_entity_type_enum_spec.rb
@@ -701,6 +615,7 @@ test_files:
701
615
  - spec/models/payin_method_spec.rb
702
616
  - spec/models/sender_response_spec.rb
703
617
  - spec/models/payin_method_details_mobile_spec.rb
618
+ - spec/models/currency_exchange_all_of_spec.rb
704
619
  - spec/models/payout_method_details_mad_cash_spec.rb
705
620
  - spec/models/account_validation_response_spec.rb
706
621
  - spec/models/payout_method_details_btc_spec.rb
@@ -714,6 +629,7 @@ test_files:
714
629
  - spec/models/transaction_webhook_spec.rb
715
630
  - spec/models/payout_method_details_xof_bank_spec.rb
716
631
  - spec/models/webhook_log_metadata_spec.rb
632
+ - spec/models/sender_webhook_all_of_spec.rb
717
633
  - spec/models/account_list_response_spec.rb
718
634
  - spec/models/document_list_response_spec.rb
719
635
  - spec/models/transaction_spec.rb
@@ -747,6 +663,7 @@ test_files:
747
663
  - spec/models/account_response_spec.rb
748
664
  - spec/models/recipient_request_spec.rb
749
665
  - spec/models/recipient_state_reason_details_spec.rb
666
+ - spec/models/payout_method_webhook_all_of_spec.rb
750
667
  - spec/models/payout_method_webhook_spec.rb
751
668
  - spec/models/sender_response_meta_spec.rb
752
669
  - spec/models/payout_method_nature_of_business_enum_spec.rb