treezor_client 1.12.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +8 -7
- data/docs/BusinessApi.md +2 -2
- data/docs/Payin.md +1 -1
- data/docs/PayinApi.md +2 -2
- data/docs/Payinrefund.md +1 -1
- data/docs/PayinrefundApi.md +4 -4
- data/generate.sh +10 -0
- data/lib/treezor_client/api/balance_api.rb +1 -1
- data/lib/treezor_client/api/bankaccount_api.rb +1 -1
- data/lib/treezor_client/api/beneficiaries_api.rb +1 -1
- data/lib/treezor_client/api/business_api.rb +4 -4
- data/lib/treezor_client/api/card_api.rb +1 -1
- data/lib/treezor_client/api/card_digitalizations_api.rb +1 -1
- data/lib/treezor_client/api/card_reserve_api.rb +1 -1
- data/lib/treezor_client/api/cardtransaction_api.rb +1 -1
- data/lib/treezor_client/api/country_restriction_groups_api.rb +1 -1
- data/lib/treezor_client/api/document_api.rb +1 -1
- data/lib/treezor_client/api/heartbeat_api.rb +1 -1
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +1 -1
- data/lib/treezor_client/api/mandate_api.rb +1 -1
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +1 -1
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +1 -1
- data/lib/treezor_client/api/payin_api.rb +3 -3
- data/lib/treezor_client/api/payinrefund_api.rb +3 -3
- data/lib/treezor_client/api/payout_api.rb +1 -1
- data/lib/treezor_client/api/payout_refunds_api.rb +1 -1
- data/lib/treezor_client/api/tax_residence_api.rb +1 -1
- data/lib/treezor_client/api/transaction_api.rb +1 -1
- data/lib/treezor_client/api/transfer_api.rb +1 -1
- data/lib/treezor_client/api/transferrefund_api.rb +1 -1
- data/lib/treezor_client/api/user_api.rb +1 -1
- data/lib/treezor_client/api/virtualibans_api.rb +1 -1
- data/lib/treezor_client/api/wallet_api.rb +1 -1
- data/lib/treezor_client/api_client.rb +6 -4
- data/lib/treezor_client/api_error.rb +1 -1
- data/lib/treezor_client/configuration.rb +3 -3
- data/lib/treezor_client/models/balance.rb +3 -2
- data/lib/treezor_client/models/bankaccount.rb +3 -2
- data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +3 -2
- data/lib/treezor_client/models/beneficiary.rb +3 -2
- data/lib/treezor_client/models/body.rb +3 -2
- data/lib/treezor_client/models/body_1.rb +3 -2
- data/lib/treezor_client/models/body_10.rb +3 -2
- data/lib/treezor_client/models/body_11.rb +3 -2
- data/lib/treezor_client/models/body_2.rb +3 -2
- data/lib/treezor_client/models/body_3.rb +3 -2
- data/lib/treezor_client/models/body_4.rb +3 -2
- data/lib/treezor_client/models/body_5.rb +3 -2
- data/lib/treezor_client/models/body_6.rb +3 -2
- data/lib/treezor_client/models/body_7.rb +3 -2
- data/lib/treezor_client/models/body_8.rb +3 -2
- data/lib/treezor_client/models/body_9.rb +3 -2
- data/lib/treezor_client/models/businesssearchs_businessinformations.rb +3 -2
- data/lib/treezor_client/models/card.rb +3 -2
- data/lib/treezor_client/models/card_digitalization.rb +3 -2
- data/lib/treezor_client/models/country_restriction_group.rb +3 -2
- data/lib/treezor_client/models/document.rb +3 -2
- data/lib/treezor_client/models/error.rb +3 -2
- data/lib/treezor_client/models/inline_response_200.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_1.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_10.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_11.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_12.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_13.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_14.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_15.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_16.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_17.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_18.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_19.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_2.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_20.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_21.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_22.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_23.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_24.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_25.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_26.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_27.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_28.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_3.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_4.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_4_businessinformations.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_4_users.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_5.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_6.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_6_cardimages.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_7.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_8.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_9.rb +3 -2
- data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +3 -2
- data/lib/treezor_client/models/inline_response_default.rb +3 -2
- data/lib/treezor_client/models/issuer_initiated_digitization_data.rb +3 -2
- data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +3 -2
- data/lib/treezor_client/models/mandate.rb +3 -2
- data/lib/treezor_client/models/mcc_restriction_group.rb +3 -2
- data/lib/treezor_client/models/merchant_id_restriction_group.rb +3 -2
- data/lib/treezor_client/models/payin.rb +4 -3
- data/lib/treezor_client/models/payinrefund.rb +4 -3
- data/lib/treezor_client/models/payout.rb +3 -2
- data/lib/treezor_client/models/payout_refund.rb +3 -2
- data/lib/treezor_client/models/tax_residence.rb +3 -2
- data/lib/treezor_client/models/transaction.rb +3 -2
- data/lib/treezor_client/models/transfer.rb +3 -2
- data/lib/treezor_client/models/transferrefund.rb +3 -2
- data/lib/treezor_client/models/user.rb +3 -2
- data/lib/treezor_client/models/virtualiban.rb +3 -2
- data/lib/treezor_client/models/wallet.rb +3 -2
- data/lib/treezor_client/version.rb +2 -2
- data/lib/treezor_client.rb +1 -1
- data/pkg/{treezor_client-1.4.0.gem → treezor_client-1.12.0.gem} +0 -0
- data/pkg/treezor_client-2.0.0.gem +0 -0
- data/treezor_api_spec.yaml +5 -5
- data/treezor_client.gemspec +2 -1
- metadata +28 -156
- data/doc/TreezorClient/ApiClient.html +0 -2600
- data/doc/TreezorClient/ApiError.html +0 -464
- data/doc/TreezorClient/Balance.html +0 -2042
- data/doc/TreezorClient/BalanceApi.html +0 -760
- data/doc/TreezorClient/Bankaccount/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Bankaccount.html +0 -2560
- data/doc/TreezorClient/BankaccountApi.html +0 -2450
- data/doc/TreezorClient/BeneficiariesApi.html +0 -2387
- data/doc/TreezorClient/BeneficiariesSddB2bWhitelist.html +0 -1816
- data/doc/TreezorClient/Beneficiary.html +0 -2574
- data/doc/TreezorClient/Body/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body.html +0 -1826
- data/doc/TreezorClient/Body1.html +0 -2596
- data/doc/TreezorClient/Body10/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body10.html +0 -2069
- data/doc/TreezorClient/Body2.html +0 -2492
- data/doc/TreezorClient/Body3.html +0 -1726
- data/doc/TreezorClient/Body4.html +0 -1726
- data/doc/TreezorClient/Body5/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body5.html +0 -2001
- data/doc/TreezorClient/Body6/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body6.html +0 -2069
- data/doc/TreezorClient/Body7/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body7.html +0 -2002
- data/doc/TreezorClient/Body8/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body8.html +0 -1981
- data/doc/TreezorClient/Body9/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Body9.html +0 -2001
- data/doc/TreezorClient/BusinessApi.html +0 -1548
- data/doc/TreezorClient/BusinesssearchsBusinessinformations/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/BusinesssearchsBusinessinformations.html +0 -2822
- data/doc/TreezorClient/Card/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Card.html +0 -6928
- data/doc/TreezorClient/CardApi.html +0 -9907
- data/doc/TreezorClient/CardDigitalization.html +0 -2126
- data/doc/TreezorClient/CardDigitalizationDetailsFromGPS.html +0 -4343
- data/doc/TreezorClient/CardDigitalizationsApi.html +0 -1542
- data/doc/TreezorClient/CardReserveApi.html +0 -1622
- data/doc/TreezorClient/CardtransactionApi.html +0 -1243
- data/doc/TreezorClient/Configuration.html +0 -2459
- data/doc/TreezorClient/CountryRestrictionGroupsApi.html +0 -2602
- data/doc/TreezorClient/Document/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Document.html +0 -2812
- data/doc/TreezorClient/DocumentApi.html +0 -2878
- data/doc/TreezorClient/Error.html +0 -1794
- data/doc/TreezorClient/HeartbeatApi.html +0 -702
- data/doc/TreezorClient/InlineResponse200.html +0 -1626
- data/doc/TreezorClient/InlineResponse2001.html +0 -1626
- data/doc/TreezorClient/InlineResponse20010.html +0 -1626
- data/doc/TreezorClient/InlineResponse20010Cardtransactions.html +0 -5844
- data/doc/TreezorClient/InlineResponse20011.html +0 -1626
- data/doc/TreezorClient/InlineResponse20012.html +0 -1626
- data/doc/TreezorClient/InlineResponse20013.html +0 -1626
- data/doc/TreezorClient/InlineResponse20014.html +0 -1626
- data/doc/TreezorClient/InlineResponse20015.html +0 -1626
- data/doc/TreezorClient/InlineResponse20016.html +0 -1626
- data/doc/TreezorClient/InlineResponse20017.html +0 -1626
- data/doc/TreezorClient/InlineResponse20018.html +0 -1626
- data/doc/TreezorClient/InlineResponse20019.html +0 -1626
- data/doc/TreezorClient/InlineResponse2002.html +0 -1626
- data/doc/TreezorClient/InlineResponse20020.html +0 -1626
- data/doc/TreezorClient/InlineResponse20021.html +0 -1626
- data/doc/TreezorClient/InlineResponse20022.html +0 -1626
- data/doc/TreezorClient/InlineResponse20023.html +0 -1626
- data/doc/TreezorClient/InlineResponse20024.html +0 -1626
- data/doc/TreezorClient/InlineResponse20025.html +0 -1626
- data/doc/TreezorClient/InlineResponse2003.html +0 -1626
- data/doc/TreezorClient/InlineResponse2004.html +0 -1626
- data/doc/TreezorClient/InlineResponse2005.html +0 -1626
- data/doc/TreezorClient/InlineResponse2005Businessinformations/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/InlineResponse2005Businessinformations.html +0 -3561
- data/doc/TreezorClient/InlineResponse2005Users/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/InlineResponse2005Users.html +0 -1972
- data/doc/TreezorClient/InlineResponse2006.html +0 -1626
- data/doc/TreezorClient/InlineResponse2007.html +0 -1626
- data/doc/TreezorClient/InlineResponse2007Cardimages.html +0 -1800
- data/doc/TreezorClient/InlineResponse2008.html +0 -1626
- data/doc/TreezorClient/InlineResponse2009.html +0 -1790
- data/doc/TreezorClient/InlineResponseDefault.html +0 -1626
- data/doc/TreezorClient/IssuerInitiatedDigitizationDataApi.html +0 -1371
- data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalData.html +0 -1803
- data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.html +0 -1804
- data/doc/TreezorClient/Mandate/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Mandate.html +0 -4584
- data/doc/TreezorClient/MandateApi.html +0 -3787
- data/doc/TreezorClient/MccRestrictionGroup/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/MccRestrictionGroup.html +0 -2144
- data/doc/TreezorClient/MccRestrictionGroupsApi.html +0 -2598
- data/doc/TreezorClient/MerchantIdRestrictionGroup/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/MerchantIdRestrictionGroup.html +0 -2144
- data/doc/TreezorClient/MerchantIdRestrictionGroupsApi.html +0 -2638
- data/doc/TreezorClient/Payin/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Payin.html +0 -5584
- data/doc/TreezorClient/PayinApi.html +0 -2963
- data/doc/TreezorClient/Payinrefund/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Payinrefund.html +0 -2476
- data/doc/TreezorClient/PayinrefundApi.html +0 -2449
- data/doc/TreezorClient/Payout/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Payout.html +0 -3488
- data/doc/TreezorClient/PayoutApi.html +0 -2737
- data/doc/TreezorClient/Tav.html +0 -2130
- data/doc/TreezorClient/Transaction.html +0 -2798
- data/doc/TreezorClient/TransactionApi.html +0 -1491
- data/doc/TreezorClient/Transfer/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Transfer.html +0 -3158
- data/doc/TreezorClient/TransferApi.html +0 -2725
- data/doc/TreezorClient/Transferrefund/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Transferrefund.html +0 -2644
- data/doc/TreezorClient/TransferrefundApi.html +0 -2450
- data/doc/TreezorClient/User/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/User.html +0 -5844
- data/doc/TreezorClient/UserApi.html +0 -6647
- data/doc/TreezorClient/Virtualiban.html +0 -2462
- data/doc/TreezorClient/VirtualibansApi.html +0 -2845
- data/doc/TreezorClient/Wallet/EnumAttributeValidator.html +0 -455
- data/doc/TreezorClient/Wallet.html +0 -4076
- data/doc/TreezorClient/WalletApi.html +0 -3944
- data/doc/TreezorClient.html +0 -251
- data/doc/_index.html +0 -1025
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.README.html +0 -636
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -636
- data/doc/js/app.js +0 -292
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -15699
- data/doc/top-level-namespace.html +0 -110
- data/docs/CardDigitalizationDetailsFromGPS.md +0 -40
- data/docs/InlineResponse20011Cardtransactions.md +0 -58
- data/docs/InlineResponse2005Businessinformations.md +0 -26
- data/docs/InlineResponse2005Users.md +0 -12
- data/docs/InlineResponse2007Cardimages.md +0 -10
- data/docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md +0 -10
- data/docs/Tav.md +0 -14
- data/lib/treezor_client/models/card_digitalization_details_from_gps.rb +0 -509
- data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +0 -637
- data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +0 -447
- data/lib/treezor_client/models/inline_response_200_5_users.rb +0 -258
- data/lib/treezor_client/models/inline_response_200_7_cardimages.rb +0 -219
- data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates.rb +0 -209
- data/lib/treezor_client/models/tav.rb +0 -241
- data/pkg/treezor_client-1.0.0.gem +0 -0
- data/pkg/treezor_client-1.1.0.gem +0 -0
- data/pkg/treezor_client-1.2.0.gem +0 -0
- data/pkg/treezor_client-1.3.0.gem +0 -0
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -546,7 +546,7 @@ module TreezorClient
|
|
546
546
|
return nil unless attributes.is_a?(Hash)
|
547
547
|
self.class.swagger_types.each_pair do |key, type|
|
548
548
|
if type =~ /\AArray<(.*)>/i
|
549
|
-
# check to ensure the input is an array given that the
|
549
|
+
# check to ensure the input is an array given that the attribute
|
550
550
|
# is documented as an array but the input is not
|
551
551
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
552
552
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -642,5 +642,6 @@ module TreezorClient
|
|
642
642
|
value
|
643
643
|
end
|
644
644
|
end
|
645
|
+
|
645
646
|
end
|
646
647
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -85,7 +85,7 @@ module TreezorClient
|
|
85
85
|
return nil unless attributes.is_a?(Hash)
|
86
86
|
self.class.swagger_types.each_pair do |key, type|
|
87
87
|
if type =~ /\AArray<(.*)>/i
|
88
|
-
# check to ensure the input is an array given that the
|
88
|
+
# check to ensure the input is an array given that the attribute
|
89
89
|
# is documented as an array but the input is not
|
90
90
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
91
91
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -181,5 +181,6 @@ module TreezorClient
|
|
181
181
|
value
|
182
182
|
end
|
183
183
|
end
|
184
|
+
|
184
185
|
end
|
185
186
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -153,7 +153,7 @@ module TreezorClient
|
|
153
153
|
return nil unless attributes.is_a?(Hash)
|
154
154
|
self.class.swagger_types.each_pair do |key, type|
|
155
155
|
if type =~ /\AArray<(.*)>/i
|
156
|
-
# check to ensure the input is an array given that the
|
156
|
+
# check to ensure the input is an array given that the attribute
|
157
157
|
# is documented as an array but the input is not
|
158
158
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
159
159
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -249,5 +249,6 @@ module TreezorClient
|
|
249
249
|
value
|
250
250
|
end
|
251
251
|
end
|
252
|
+
|
252
253
|
end
|
253
254
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -122,7 +122,7 @@ module TreezorClient
|
|
122
122
|
return nil unless attributes.is_a?(Hash)
|
123
123
|
self.class.swagger_types.each_pair do |key, type|
|
124
124
|
if type =~ /\AArray<(.*)>/i
|
125
|
-
# check to ensure the input is an array given that the
|
125
|
+
# check to ensure the input is an array given that the attribute
|
126
126
|
# is documented as an array but the input is not
|
127
127
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
128
128
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -218,5 +218,6 @@ module TreezorClient
|
|
218
218
|
value
|
219
219
|
end
|
220
220
|
end
|
221
|
+
|
221
222
|
end
|
222
223
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -470,7 +470,7 @@ module TreezorClient
|
|
470
470
|
return nil unless attributes.is_a?(Hash)
|
471
471
|
self.class.swagger_types.each_pair do |key, type|
|
472
472
|
if type =~ /\AArray<(.*)>/i
|
473
|
-
# check to ensure the input is an array given that the
|
473
|
+
# check to ensure the input is an array given that the attribute
|
474
474
|
# is documented as an array but the input is not
|
475
475
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
476
476
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -566,5 +566,6 @@ module TreezorClient
|
|
566
566
|
value
|
567
567
|
end
|
568
568
|
end
|
569
|
+
|
569
570
|
end
|
570
571
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -180,7 +180,7 @@ module TreezorClient
|
|
180
180
|
return nil unless attributes.is_a?(Hash)
|
181
181
|
self.class.swagger_types.each_pair do |key, type|
|
182
182
|
if type =~ /\AArray<(.*)>/i
|
183
|
-
# check to ensure the input is an array given that the
|
183
|
+
# check to ensure the input is an array given that the attribute
|
184
184
|
# is documented as an array but the input is not
|
185
185
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
186
186
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -276,5 +276,6 @@ module TreezorClient
|
|
276
276
|
value
|
277
277
|
end
|
278
278
|
end
|
279
|
+
|
279
280
|
end
|
280
281
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -180,7 +180,7 @@ module TreezorClient
|
|
180
180
|
return nil unless attributes.is_a?(Hash)
|
181
181
|
self.class.swagger_types.each_pair do |key, type|
|
182
182
|
if type =~ /\AArray<(.*)>/i
|
183
|
-
# check to ensure the input is an array given that the
|
183
|
+
# check to ensure the input is an array given that the attribute
|
184
184
|
# is documented as an array but the input is not
|
185
185
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
186
186
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -276,5 +276,6 @@ module TreezorClient
|
|
276
276
|
value
|
277
277
|
end
|
278
278
|
end
|
279
|
+
|
279
280
|
end
|
280
281
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -194,7 +194,7 @@ module TreezorClient
|
|
194
194
|
# Attribute type mapping.
|
195
195
|
def self.swagger_types
|
196
196
|
{
|
197
|
-
:'payin_id' => :'
|
197
|
+
:'payin_id' => :'String',
|
198
198
|
:'payin_tag' => :'String',
|
199
199
|
:'payin_status' => :'String',
|
200
200
|
:'code_status' => :'Integer',
|
@@ -551,7 +551,7 @@ module TreezorClient
|
|
551
551
|
return nil unless attributes.is_a?(Hash)
|
552
552
|
self.class.swagger_types.each_pair do |key, type|
|
553
553
|
if type =~ /\AArray<(.*)>/i
|
554
|
-
# check to ensure the input is an array given that the
|
554
|
+
# check to ensure the input is an array given that the attribute
|
555
555
|
# is documented as an array but the input is not
|
556
556
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
557
557
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -647,5 +647,6 @@ module TreezorClient
|
|
647
647
|
value
|
648
648
|
end
|
649
649
|
end
|
650
|
+
|
650
651
|
end
|
651
652
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -84,7 +84,7 @@ module TreezorClient
|
|
84
84
|
:'payinrefund_tag' => :'String',
|
85
85
|
:'payinrefund_status' => :'String',
|
86
86
|
:'wallet_id' => :'Integer',
|
87
|
-
:'payin_id' => :'
|
87
|
+
:'payin_id' => :'String',
|
88
88
|
:'payinrefund_date' => :'Integer',
|
89
89
|
:'amount' => :'String',
|
90
90
|
:'currency' => :'String',
|
@@ -209,7 +209,7 @@ module TreezorClient
|
|
209
209
|
return nil unless attributes.is_a?(Hash)
|
210
210
|
self.class.swagger_types.each_pair do |key, type|
|
211
211
|
if type =~ /\AArray<(.*)>/i
|
212
|
-
# check to ensure the input is an array given that the
|
212
|
+
# check to ensure the input is an array given that the attribute
|
213
213
|
# is documented as an array but the input is not
|
214
214
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
215
215
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -305,5 +305,6 @@ module TreezorClient
|
|
305
305
|
value
|
306
306
|
end
|
307
307
|
end
|
308
|
+
|
308
309
|
end
|
309
310
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -330,7 +330,7 @@ module TreezorClient
|
|
330
330
|
return nil unless attributes.is_a?(Hash)
|
331
331
|
self.class.swagger_types.each_pair do |key, type|
|
332
332
|
if type =~ /\AArray<(.*)>/i
|
333
|
-
# check to ensure the input is an array given that the
|
333
|
+
# check to ensure the input is an array given that the attribute
|
334
334
|
# is documented as an array but the input is not
|
335
335
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
336
336
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -426,5 +426,6 @@ module TreezorClient
|
|
426
426
|
value
|
427
427
|
end
|
428
428
|
end
|
429
|
+
|
429
430
|
end
|
430
431
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -243,7 +243,7 @@ module TreezorClient
|
|
243
243
|
return nil unless attributes.is_a?(Hash)
|
244
244
|
self.class.swagger_types.each_pair do |key, type|
|
245
245
|
if type =~ /\AArray<(.*)>/i
|
246
|
-
# check to ensure the input is an array given that the
|
246
|
+
# check to ensure the input is an array given that the attribute
|
247
247
|
# is documented as an array but the input is not
|
248
248
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
249
249
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -339,5 +339,6 @@ module TreezorClient
|
|
339
339
|
value
|
340
340
|
end
|
341
341
|
end
|
342
|
+
|
342
343
|
end
|
343
344
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -154,7 +154,7 @@ module TreezorClient
|
|
154
154
|
return nil unless attributes.is_a?(Hash)
|
155
155
|
self.class.swagger_types.each_pair do |key, type|
|
156
156
|
if type =~ /\AArray<(.*)>/i
|
157
|
-
# check to ensure the input is an array given that the
|
157
|
+
# check to ensure the input is an array given that the attribute
|
158
158
|
# is documented as an array but the input is not
|
159
159
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
160
160
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -250,5 +250,6 @@ module TreezorClient
|
|
250
250
|
value
|
251
251
|
end
|
252
252
|
end
|
253
|
+
|
253
254
|
end
|
254
255
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -212,7 +212,7 @@ module TreezorClient
|
|
212
212
|
return nil unless attributes.is_a?(Hash)
|
213
213
|
self.class.swagger_types.each_pair do |key, type|
|
214
214
|
if type =~ /\AArray<(.*)>/i
|
215
|
-
# check to ensure the input is an array given that the
|
215
|
+
# check to ensure the input is an array given that the attribute
|
216
216
|
# is documented as an array but the input is not
|
217
217
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
218
218
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -308,5 +308,6 @@ module TreezorClient
|
|
308
308
|
value
|
309
309
|
end
|
310
310
|
end
|
311
|
+
|
311
312
|
end
|
312
313
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -285,7 +285,7 @@ module TreezorClient
|
|
285
285
|
return nil unless attributes.is_a?(Hash)
|
286
286
|
self.class.swagger_types.each_pair do |key, type|
|
287
287
|
if type =~ /\AArray<(.*)>/i
|
288
|
-
# check to ensure the input is an array given that the
|
288
|
+
# check to ensure the input is an array given that the attribute
|
289
289
|
# is documented as an array but the input is not
|
290
290
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
291
291
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -381,5 +381,6 @@ module TreezorClient
|
|
381
381
|
value
|
382
382
|
end
|
383
383
|
end
|
384
|
+
|
384
385
|
end
|
385
386
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -227,7 +227,7 @@ module TreezorClient
|
|
227
227
|
return nil unless attributes.is_a?(Hash)
|
228
228
|
self.class.swagger_types.each_pair do |key, type|
|
229
229
|
if type =~ /\AArray<(.*)>/i
|
230
|
-
# check to ensure the input is an array given that the
|
230
|
+
# check to ensure the input is an array given that the attribute
|
231
231
|
# is documented as an array but the input is not
|
232
232
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
233
233
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -323,5 +323,6 @@ module TreezorClient
|
|
323
323
|
value
|
324
324
|
end
|
325
325
|
end
|
326
|
+
|
326
327
|
end
|
327
328
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -647,7 +647,7 @@ module TreezorClient
|
|
647
647
|
return nil unless attributes.is_a?(Hash)
|
648
648
|
self.class.swagger_types.each_pair do |key, type|
|
649
649
|
if type =~ /\AArray<(.*)>/i
|
650
|
-
# check to ensure the input is an array given that the
|
650
|
+
# check to ensure the input is an array given that the attribute
|
651
651
|
# is documented as an array but the input is not
|
652
652
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
653
653
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -743,5 +743,6 @@ module TreezorClient
|
|
743
743
|
value
|
744
744
|
end
|
745
745
|
end
|
746
|
+
|
746
747
|
end
|
747
748
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -173,7 +173,7 @@ module TreezorClient
|
|
173
173
|
return nil unless attributes.is_a?(Hash)
|
174
174
|
self.class.swagger_types.each_pair do |key, type|
|
175
175
|
if type =~ /\AArray<(.*)>/i
|
176
|
-
# check to ensure the input is an array given that the
|
176
|
+
# check to ensure the input is an array given that the attribute
|
177
177
|
# is documented as an array but the input is not
|
178
178
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
179
179
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -269,5 +269,6 @@ module TreezorClient
|
|
269
269
|
value
|
270
270
|
end
|
271
271
|
end
|
272
|
+
|
272
273
|
end
|
273
274
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -384,7 +384,7 @@ module TreezorClient
|
|
384
384
|
return nil unless attributes.is_a?(Hash)
|
385
385
|
self.class.swagger_types.each_pair do |key, type|
|
386
386
|
if type =~ /\AArray<(.*)>/i
|
387
|
-
# check to ensure the input is an array given that the
|
387
|
+
# check to ensure the input is an array given that the attribute
|
388
388
|
# is documented as an array but the input is not
|
389
389
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
390
390
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -480,5 +480,6 @@ module TreezorClient
|
|
480
480
|
value
|
481
481
|
end
|
482
482
|
end
|
483
|
+
|
483
484
|
end
|
484
485
|
end
|
@@ -6,10 +6,10 @@
|
|
6
6
|
OpenAPI spec version: 0.1.1
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module TreezorClient
|
14
|
-
VERSION = '
|
14
|
+
VERSION = '2.0.0'
|
15
15
|
end
|
data/lib/treezor_client.rb
CHANGED
Binary file
|
Binary file
|
data/treezor_api_spec.yaml
CHANGED
@@ -7046,7 +7046,7 @@ paths:
|
|
7046
7046
|
in: query
|
7047
7047
|
description: Payin's id.
|
7048
7048
|
required: false
|
7049
|
-
type:
|
7049
|
+
type: string
|
7050
7050
|
- name: walletId
|
7051
7051
|
in: query
|
7052
7052
|
description: Payin's wallet id.
|
@@ -7320,7 +7320,7 @@ paths:
|
|
7320
7320
|
in: query
|
7321
7321
|
description: payin's id to refund.
|
7322
7322
|
required: true
|
7323
|
-
type:
|
7323
|
+
type: string
|
7324
7324
|
- name: comment
|
7325
7325
|
in: query
|
7326
7326
|
description: End user, client or issuer comment.
|
@@ -7405,7 +7405,7 @@ paths:
|
|
7405
7405
|
in: query
|
7406
7406
|
description: Payin's id.
|
7407
7407
|
required: false
|
7408
|
-
type:
|
7408
|
+
type: string
|
7409
7409
|
- name: payinrefundId
|
7410
7410
|
in: query
|
7411
7411
|
description: Payinrefund's id.
|
@@ -12094,7 +12094,7 @@ definitions:
|
|
12094
12094
|
walletId:
|
12095
12095
|
type: integer
|
12096
12096
|
payinId:
|
12097
|
-
type:
|
12097
|
+
type: string
|
12098
12098
|
payinrefundDate:
|
12099
12099
|
type: integer
|
12100
12100
|
amount:
|
@@ -12849,7 +12849,7 @@ definitions:
|
|
12849
12849
|
type: object
|
12850
12850
|
properties:
|
12851
12851
|
payinId:
|
12852
|
-
type:
|
12852
|
+
type: string
|
12853
12853
|
payinTag:
|
12854
12854
|
type: string
|
12855
12855
|
payinStatus:
|
data/treezor_client.gemspec
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
OpenAPI spec version: 0.1.1
|
9
9
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
Swagger Codegen version: 2.4.
|
11
|
+
Swagger Codegen version: 2.4.19
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
|
+
s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
|
32
33
|
|
33
34
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
35
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|