treezor_client 1.12.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1da89b24204cd46daf45e7f9ff372a5e756366938bf3d191e0481e8140a0b14
|
|
4
|
+
data.tar.gz: d77e7a25e6af6c6f5beb0693c4bfb125da4bfd006f9bf98eda5f99afbff94b04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7db1e74381a66f81138f55b100f6c018771b99e4e17dbb0c169134bb57f3c6518e9b45de63f089803653564e809ef8efeafda3a73e81432f1a785508cdc9d90f
|
|
7
|
+
data.tar.gz: e09157e8ebeecd6086c27309afd8565fa5f35277415ca5cd424efdd10a96a51d1cdca92613807c1ecaff3473611f8c981f337807423bfab9a1046628c073ba21
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
treezor_client (
|
|
4
|
+
treezor_client (2.0.0)
|
|
5
|
+
addressable (~> 2.3, >= 2.3.0)
|
|
5
6
|
json (~> 2.1, >= 2.1.0)
|
|
6
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
7
8
|
|
|
@@ -9,7 +10,7 @@ GEM
|
|
|
9
10
|
remote: https://rubygems.org/
|
|
10
11
|
specs:
|
|
11
12
|
ZenTest (4.12.0)
|
|
12
|
-
addressable (2.
|
|
13
|
+
addressable (2.8.0)
|
|
13
14
|
public_suffix (>= 2.0.2, < 5.0)
|
|
14
15
|
autotest (4.4.6)
|
|
15
16
|
ZenTest (>= 4.4.1)
|
|
@@ -24,9 +25,9 @@ GEM
|
|
|
24
25
|
ffi (>= 1.3.0)
|
|
25
26
|
ffi (1.11.1)
|
|
26
27
|
hashdiff (1.0.0)
|
|
27
|
-
json (2.
|
|
28
|
-
public_suffix (4.0.
|
|
29
|
-
rake (
|
|
28
|
+
json (2.6.1)
|
|
29
|
+
public_suffix (4.0.6)
|
|
30
|
+
rake (13.0.1)
|
|
30
31
|
rspec (3.9.0)
|
|
31
32
|
rspec-core (~> 3.9.0)
|
|
32
33
|
rspec-expectations (~> 3.9.0)
|
|
@@ -43,7 +44,7 @@ GEM
|
|
|
43
44
|
safe_yaml (1.0.5)
|
|
44
45
|
sys-uname (1.1.0)
|
|
45
46
|
ffi (>= 1.0.0)
|
|
46
|
-
typhoeus (1.
|
|
47
|
+
typhoeus (1.4.0)
|
|
47
48
|
ethon (>= 0.9.0)
|
|
48
49
|
vcr (3.0.3)
|
|
49
50
|
webmock (1.24.6)
|
|
@@ -59,7 +60,7 @@ DEPENDENCIES
|
|
|
59
60
|
autotest-fsevent (~> 0.2, >= 0.2.12)
|
|
60
61
|
autotest-growl (~> 0.2, >= 0.2.16)
|
|
61
62
|
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
|
62
|
-
rake (~>
|
|
63
|
+
rake (~> 13.0.1)
|
|
63
64
|
rspec (~> 3.6, >= 3.6.0)
|
|
64
65
|
treezor_client!
|
|
65
66
|
vcr (~> 3.0, >= 3.0.1)
|
data/docs/BusinessApi.md
CHANGED
|
@@ -79,7 +79,7 @@ Name | Type | Description | Notes
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
# **businesssearchs_get**
|
|
82
|
-
> Array<
|
|
82
|
+
> Array<InlineResponse2003> businesssearchs_get(country, opts)
|
|
83
83
|
|
|
84
84
|
search businesses
|
|
85
85
|
|
|
@@ -147,7 +147,7 @@ Name | Type | Description | Notes
|
|
|
147
147
|
|
|
148
148
|
### Return type
|
|
149
149
|
|
|
150
|
-
**Array<
|
|
150
|
+
[**Array<InlineResponse2003>**](InlineResponse2003.md)
|
|
151
151
|
|
|
152
152
|
### Authorization
|
|
153
153
|
|
data/docs/Payin.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**payin_id** | **
|
|
6
|
+
**payin_id** | **String** | | [optional]
|
|
7
7
|
**payin_tag** | **String** | | [optional]
|
|
8
8
|
**payin_status** | **String** | | [optional]
|
|
9
9
|
**code_status** | **Integer** | | [optional]
|
data/docs/PayinApi.md
CHANGED
|
@@ -144,7 +144,7 @@ opts = {
|
|
|
144
144
|
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
145
145
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
146
146
|
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
147
|
-
payin_id:
|
|
147
|
+
payin_id: 'payin_id_example', # String | Payin's id.
|
|
148
148
|
wallet_id: 56, # Integer | Payin's wallet id.
|
|
149
149
|
payin_tag: 'payin_tag_example', # String | Client custom data.
|
|
150
150
|
payin_status: 'payin_status_example', # String | Payins's status.
|
|
@@ -182,7 +182,7 @@ Name | Type | Description | Notes
|
|
|
182
182
|
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
|
183
183
|
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
|
184
184
|
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
|
185
|
-
**payin_id** | **
|
|
185
|
+
**payin_id** | **String**| Payin's id. | [optional]
|
|
186
186
|
**wallet_id** | **Integer**| Payin's wallet id. | [optional]
|
|
187
187
|
**payin_tag** | **String**| Client custom data. | [optional]
|
|
188
188
|
**payin_status** | **String**| Payins's status. | [optional]
|
data/docs/Payinrefund.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**payinrefund_tag** | **String** | | [optional]
|
|
8
8
|
**payinrefund_status** | **String** | | [optional]
|
|
9
9
|
**wallet_id** | **Integer** | | [optional]
|
|
10
|
-
**payin_id** | **
|
|
10
|
+
**payin_id** | **String** | | [optional]
|
|
11
11
|
**payinrefund_date** | **Integer** | | [optional]
|
|
12
12
|
**amount** | **String** | | [optional]
|
|
13
13
|
**currency** | **String** | | [optional]
|
data/docs/PayinrefundApi.md
CHANGED
|
@@ -144,7 +144,7 @@ opts = {
|
|
|
144
144
|
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
145
145
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
146
146
|
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
147
|
-
payin_id:
|
|
147
|
+
payin_id: 'payin_id_example', # String | Payin's id.
|
|
148
148
|
payinrefund_id: 56, # Integer | Payinrefund's id.
|
|
149
149
|
payinrefund_tag: 'payinrefund_tag_example', # String | Custom data.
|
|
150
150
|
payinrefund_status: 'payinrefund_status_example', # String | Payinrefund's status. Possible values: * PENDING * CANCELED * VALIDATED
|
|
@@ -180,7 +180,7 @@ Name | Type | Description | Notes
|
|
|
180
180
|
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
|
181
181
|
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
|
182
182
|
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
|
183
|
-
**payin_id** | **
|
|
183
|
+
**payin_id** | **String**| Payin's id. | [optional]
|
|
184
184
|
**payinrefund_id** | **Integer**| Payinrefund's id. | [optional]
|
|
185
185
|
**payinrefund_tag** | **String**| Custom data. | [optional]
|
|
186
186
|
**payinrefund_status** | **String**| Payinrefund's status. Possible values: * PENDING * CANCELED * VALIDATED | [optional]
|
|
@@ -234,7 +234,7 @@ end
|
|
|
234
234
|
|
|
235
235
|
api_instance = TreezorClient::PayinrefundApi.new
|
|
236
236
|
|
|
237
|
-
payin_id =
|
|
237
|
+
payin_id = 'payin_id_example' # String | payin's id to refund.
|
|
238
238
|
|
|
239
239
|
amount = 56 # Integer | Refund amount.
|
|
240
240
|
|
|
@@ -262,7 +262,7 @@ end
|
|
|
262
262
|
|
|
263
263
|
Name | Type | Description | Notes
|
|
264
264
|
------------- | ------------- | ------------- | -------------
|
|
265
|
-
**payin_id** | **
|
|
265
|
+
**payin_id** | **String**| payin's id to refund. |
|
|
266
266
|
**amount** | **Integer**| Refund amount. |
|
|
267
267
|
**currency** | **String**| Refund currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217). |
|
|
268
268
|
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
data/generate.sh
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
docker run --rm -it -v $(pwd):/swagger-api/out \
|
|
4
|
+
-v $(pwd):/swagger-api/yaml \
|
|
5
|
+
public.ecr.aws/l8y7v9n3/swagger-codegen-cli:2.4.19 generate \
|
|
6
|
+
-i /swagger-api/yaml/treezor_api_spec.yaml \
|
|
7
|
+
-c /swagger-api/yaml/config.json \
|
|
8
|
+
-l ruby \
|
|
9
|
+
-o /swagger-api/out
|
|
10
|
+
|
|
@@ -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
|
|
|
@@ -108,7 +108,7 @@ module TreezorClient
|
|
|
108
108
|
# @option opts [String] :address_street Business' street address.
|
|
109
109
|
# @option opts [String] :address_city Business' city address.
|
|
110
110
|
# @option opts [String] :address_postal_code Business' postal code address.
|
|
111
|
-
# @return [Array<
|
|
111
|
+
# @return [Array<InlineResponse2003>]
|
|
112
112
|
def businesssearchs_get(country, opts = {})
|
|
113
113
|
data, _status_code, _headers = businesssearchs_get_with_http_info(country, opts)
|
|
114
114
|
data
|
|
@@ -131,7 +131,7 @@ module TreezorClient
|
|
|
131
131
|
# @option opts [String] :address_street Business' street address.
|
|
132
132
|
# @option opts [String] :address_city Business' city address.
|
|
133
133
|
# @option opts [String] :address_postal_code Business' postal code address.
|
|
134
|
-
# @return [Array<(Array<
|
|
134
|
+
# @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
|
|
135
135
|
def businesssearchs_get_with_http_info(country, opts = {})
|
|
136
136
|
if @api_client.config.debugging
|
|
137
137
|
@api_client.config.logger.debug 'Calling API: BusinessApi.businesssearchs_get ...'
|
|
@@ -175,7 +175,7 @@ module TreezorClient
|
|
|
175
175
|
:form_params => form_params,
|
|
176
176
|
:body => post_body,
|
|
177
177
|
:auth_names => auth_names,
|
|
178
|
-
:return_type => 'Array<
|
|
178
|
+
:return_type => 'Array<InlineResponse2003>')
|
|
179
179
|
if @api_client.config.debugging
|
|
180
180
|
@api_client.config.logger.debug "API called: BusinessApi#businesssearchs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
181
181
|
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
|
|
|
@@ -134,7 +134,7 @@ module TreezorClient
|
|
|
134
134
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
135
135
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
136
136
|
# @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
137
|
-
# @option opts [
|
|
137
|
+
# @option opts [String] :payin_id Payin's id.
|
|
138
138
|
# @option opts [Integer] :wallet_id Payin's wallet id.
|
|
139
139
|
# @option opts [String] :payin_tag Client custom data.
|
|
140
140
|
# @option opts [String] :payin_status Payins's status.
|
|
@@ -166,7 +166,7 @@ module TreezorClient
|
|
|
166
166
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
167
167
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
168
168
|
# @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
169
|
-
# @option opts [
|
|
169
|
+
# @option opts [String] :payin_id Payin's id.
|
|
170
170
|
# @option opts [Integer] :wallet_id Payin's wallet id.
|
|
171
171
|
# @option opts [String] :payin_tag Client custom data.
|
|
172
172
|
# @option opts [String] :payin_status Payins's status.
|
|
@@ -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
|
|
|
@@ -134,7 +134,7 @@ module TreezorClient
|
|
|
134
134
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
135
135
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
136
136
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
137
|
-
# @option opts [
|
|
137
|
+
# @option opts [String] :payin_id Payin's id.
|
|
138
138
|
# @option opts [Integer] :payinrefund_id Payinrefund's id.
|
|
139
139
|
# @option opts [String] :payinrefund_tag Custom data.
|
|
140
140
|
# @option opts [String] :payinrefund_status Payinrefund's status. Possible values: * PENDING * CANCELED * VALIDATED
|
|
@@ -164,7 +164,7 @@ module TreezorClient
|
|
|
164
164
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
165
165
|
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
166
166
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
167
|
-
# @option opts [
|
|
167
|
+
# @option opts [String] :payin_id Payin's id.
|
|
168
168
|
# @option opts [Integer] :payinrefund_id Payinrefund's id.
|
|
169
169
|
# @option opts [String] :payinrefund_tag Custom data.
|
|
170
170
|
# @option opts [String] :payinrefund_status Payinrefund's status. Possible values: * PENDING * CANCELED * VALIDATED
|
|
@@ -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
|
|
|
@@ -15,7 +15,7 @@ require 'json'
|
|
|
15
15
|
require 'logger'
|
|
16
16
|
require 'tempfile'
|
|
17
17
|
require 'typhoeus'
|
|
18
|
-
require 'uri'
|
|
18
|
+
require 'addressable/uri'
|
|
19
19
|
|
|
20
20
|
module TreezorClient
|
|
21
21
|
class ApiClient
|
|
@@ -63,7 +63,7 @@ module TreezorClient
|
|
|
63
63
|
:message => response.return_message)
|
|
64
64
|
else
|
|
65
65
|
fail ApiError.new(:code => response.code,
|
|
66
|
-
:response_headers => response.headers,
|
|
66
|
+
:response_headers => response.headers.to_h,
|
|
67
67
|
:response_body => response.body),
|
|
68
68
|
response.status_message
|
|
69
69
|
end
|
|
@@ -112,6 +112,8 @@ module TreezorClient
|
|
|
112
112
|
:verbose => @config.debugging
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
req_opts.merge!(multipart: true) if header_params['Content-Type'].start_with? "multipart/"
|
|
116
|
+
|
|
115
117
|
# set custom cert, if provided
|
|
116
118
|
req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
|
|
117
119
|
|
|
@@ -264,7 +266,7 @@ module TreezorClient
|
|
|
264
266
|
def build_request_url(path)
|
|
265
267
|
# Add leading and trailing slashes to path
|
|
266
268
|
path = "/#{path}".gsub(/\/+/, '/')
|
|
267
|
-
URI.encode(@config.base_url + path)
|
|
269
|
+
Addressable::URI.encode(@config.base_url + path)
|
|
268
270
|
end
|
|
269
271
|
|
|
270
272
|
# Builds the HTTP request body
|
|
@@ -6,11 +6,11 @@
|
|
|
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
|
-
require 'uri'
|
|
13
|
+
require 'addressable/uri'
|
|
14
14
|
|
|
15
15
|
module TreezorClient
|
|
16
16
|
class Configuration
|
|
@@ -175,7 +175,7 @@ module TreezorClient
|
|
|
175
175
|
|
|
176
176
|
def base_url
|
|
177
177
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
|
178
|
-
URI.encode(url)
|
|
178
|
+
Addressable::URI.encode(url)
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# Gets API key (with prefix if set).
|
|
@@ -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
|
|
|
@@ -129,7 +129,7 @@ module TreezorClient
|
|
|
129
129
|
return nil unless attributes.is_a?(Hash)
|
|
130
130
|
self.class.swagger_types.each_pair do |key, type|
|
|
131
131
|
if type =~ /\AArray<(.*)>/i
|
|
132
|
-
# check to ensure the input is an array given that the
|
|
132
|
+
# check to ensure the input is an array given that the attribute
|
|
133
133
|
# is documented as an array but the input is not
|
|
134
134
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
135
135
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -225,5 +225,6 @@ module TreezorClient
|
|
|
225
225
|
value
|
|
226
226
|
end
|
|
227
227
|
end
|
|
228
|
+
|
|
228
229
|
end
|
|
229
230
|
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
|
|
|
@@ -218,7 +218,7 @@ module TreezorClient
|
|
|
218
218
|
return nil unless attributes.is_a?(Hash)
|
|
219
219
|
self.class.swagger_types.each_pair do |key, type|
|
|
220
220
|
if type =~ /\AArray<(.*)>/i
|
|
221
|
-
# check to ensure the input is an array given that the
|
|
221
|
+
# check to ensure the input is an array given that the attribute
|
|
222
222
|
# is documented as an array but the input is not
|
|
223
223
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
224
224
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -314,5 +314,6 @@ module TreezorClient
|
|
|
314
314
|
value
|
|
315
315
|
end
|
|
316
316
|
end
|
|
317
|
+
|
|
317
318
|
end
|
|
318
319
|
end
|