treezor_client 1.10.0 → 2.1.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 +25 -24
- data/README.md +3 -1
- data/docs/Body11.md +9 -0
- data/docs/BusinessApi.md +2 -2
- data/docs/CardApi.md +0 -53
- data/docs/CardDigitalization.md +1 -1
- data/docs/CardReserveApi.md +4 -10
- data/docs/CardtransactionApi.md +1 -1
- data/docs/Document.md +1 -0
- data/docs/InlineResponse20010Cardtransactions.md +1 -0
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse2009Cardtransactions.md +1 -0
- data/docs/MerchantIdRestrictionGroupsApi.md +67 -0
- 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/docs/SepaSctrInst.md +26 -0
- data/docs/UserApi.md +6 -6
- data/docs/WalletApi.md +1 -5
- 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 -49
- data/lib/treezor_client/api/card_digitalizations_api.rb +1 -1
- data/lib/treezor_client/api/card_reserve_api.rb +7 -21
- data/lib/treezor_client/api/cardtransaction_api.rb +3 -3
- 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 +69 -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 +7 -7
- data/lib/treezor_client/api/virtualibans_api.rb +1 -1
- data/lib/treezor_client/api/wallet_api.rb +3 -9
- 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/{inline_response_200_7_cardimages.rb → body_11.rb} +52 -40
- 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 +4 -3
- data/lib/treezor_client/models/country_restriction_group.rb +3 -2
- data/lib/treezor_client/models/document.rb +13 -3
- 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 +13 -3
- 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 +11 -10
- 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 +13 -3
- 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 +6 -5
- 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/sepa_sctr_inst.rb +347 -0
- 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 +3 -1
- data/original_treezor_api_spec.yaml +111 -78
- data/spec/models/body_11_spec.rb +51 -0
- data/spec/models/sepa_sctr_inst_spec.rb +149 -0
- data/treezor_api_spec.yaml +151 -78
- data/treezor_client.gemspec +2 -1
- metadata +34 -152
- 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/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.10.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
|
|
@@ -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 = '1.
|
14
|
+
VERSION = '2.1.0'
|
15
15
|
end
|
data/lib/treezor_client.rb
CHANGED
@@ -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
|
|
@@ -24,6 +24,7 @@ require 'treezor_client/models/beneficiary'
|
|
24
24
|
require 'treezor_client/models/body'
|
25
25
|
require 'treezor_client/models/body_1'
|
26
26
|
require 'treezor_client/models/body_10'
|
27
|
+
require 'treezor_client/models/body_11'
|
27
28
|
require 'treezor_client/models/body_2'
|
28
29
|
require 'treezor_client/models/body_3'
|
29
30
|
require 'treezor_client/models/body_4'
|
@@ -82,6 +83,7 @@ require 'treezor_client/models/payin'
|
|
82
83
|
require 'treezor_client/models/payinrefund'
|
83
84
|
require 'treezor_client/models/payout'
|
84
85
|
require 'treezor_client/models/payout_refund'
|
86
|
+
require 'treezor_client/models/sepa_sctr_inst'
|
85
87
|
require 'treezor_client/models/tax_residence'
|
86
88
|
require 'treezor_client/models/transaction'
|
87
89
|
require 'treezor_client/models/transfer'
|
@@ -1958,42 +1958,6 @@ paths:
|
|
1958
1958
|
- api_key: []
|
1959
1959
|
tags:
|
1960
1960
|
- card
|
1961
|
-
delete:
|
1962
|
-
summary: deactivate a card
|
1963
|
-
parameters:
|
1964
|
-
- name: id
|
1965
|
-
in: path
|
1966
|
-
description: Card's id.
|
1967
|
-
required: true
|
1968
|
-
type: integer
|
1969
|
-
format: int64
|
1970
|
-
responses:
|
1971
|
-
'200':
|
1972
|
-
description: OK
|
1973
|
-
schema:
|
1974
|
-
type: object
|
1975
|
-
properties:
|
1976
|
-
cards:
|
1977
|
-
type: array
|
1978
|
-
items:
|
1979
|
-
$ref: '#/definitions/Card'
|
1980
|
-
'400':
|
1981
|
-
description: Bad Request
|
1982
|
-
'401':
|
1983
|
-
description: Unauthorized
|
1984
|
-
default:
|
1985
|
-
description: Unexpected error
|
1986
|
-
schema:
|
1987
|
-
type: object
|
1988
|
-
properties:
|
1989
|
-
errors:
|
1990
|
-
type: array
|
1991
|
-
items:
|
1992
|
-
$ref: '#/definitions/Error'
|
1993
|
-
security:
|
1994
|
-
- api_key: []
|
1995
|
-
tags:
|
1996
|
-
- card
|
1997
1961
|
/cards/CreateVirtual:
|
1998
1962
|
post:
|
1999
1963
|
summary: create a virtual card
|
@@ -3410,6 +3374,7 @@ paths:
|
|
3410
3374
|
in: query
|
3411
3375
|
description: |
|
3412
3376
|
The new status for the payment Token. Possible values are :
|
3377
|
+
|
3413
3378
|
| Status | Description |
|
3414
3379
|
| ---- | ----------- |
|
3415
3380
|
| unsuspend | Unsuspend |
|
@@ -3649,11 +3614,6 @@ paths:
|
|
3649
3614
|
[here](https://www.treezor.com/basics).
|
3650
3615
|
required: false
|
3651
3616
|
type: string
|
3652
|
-
- name: id
|
3653
|
-
description: the cardId of the reserved amount you want to pick up
|
3654
|
-
required: true
|
3655
|
-
type: integer
|
3656
|
-
format: int64
|
3657
3617
|
- in: body
|
3658
3618
|
name: body
|
3659
3619
|
schema:
|
@@ -3731,11 +3691,6 @@ paths:
|
|
3731
3691
|
[here](https://www.treezor.com/basics).
|
3732
3692
|
required: false
|
3733
3693
|
type: string
|
3734
|
-
- name: id
|
3735
|
-
description: the cardId of the reserved amount you want to pick up
|
3736
|
-
required: true
|
3737
|
-
type: integer
|
3738
|
-
format: int64
|
3739
3694
|
- in: body
|
3740
3695
|
name: body
|
3741
3696
|
schema:
|
@@ -3776,7 +3731,7 @@ paths:
|
|
3776
3731
|
tags:
|
3777
3732
|
- cardtransaction
|
3778
3733
|
summary: search for card transactions
|
3779
|
-
description: Search for documents.
|
3734
|
+
description: Search for documents. The request must contain at least one of those inputs - cardId, paymentId, publicToken, walletId
|
3780
3735
|
operationId: readCardTransaction
|
3781
3736
|
consumes:
|
3782
3737
|
- application/json
|
@@ -3882,6 +3837,8 @@ paths:
|
|
3882
3837
|
type: integer
|
3883
3838
|
walletId:
|
3884
3839
|
type: integer
|
3840
|
+
acquirerId:
|
3841
|
+
type: integer
|
3885
3842
|
walletCurrency:
|
3886
3843
|
type: string
|
3887
3844
|
merchantId:
|
@@ -4079,6 +4036,8 @@ paths:
|
|
4079
4036
|
type: string
|
4080
4037
|
walletId:
|
4081
4038
|
type: string
|
4039
|
+
acquirerId:
|
4040
|
+
type: string
|
4082
4041
|
walletCurrency:
|
4083
4042
|
type: string
|
4084
4043
|
merchantId:
|
@@ -4410,6 +4369,7 @@ paths:
|
|
4410
4369
|
- criterion : a filter criterion.
|
4411
4370
|
|
4412
4371
|
Here are the possible values for criterion :
|
4372
|
+
|
4413
4373
|
| Criteria | Description | Type | Expression Example |
|
4414
4374
|
|----------|------------------------|------------------------------------------|--------------------|
|
4415
4375
|
| > | greater than | alphanumeric string | 100 |
|
@@ -6092,6 +6052,7 @@ paths:
|
|
6092
6052
|
- criterion : a filter criterion.
|
6093
6053
|
|
6094
6054
|
Here are the possible values for criterion :
|
6055
|
+
|
6095
6056
|
| Criteria | Description | Type | Expression Example |
|
6096
6057
|
|----------|------------------------|------------------------------------------|--------------------|
|
6097
6058
|
| > | greater than | alphanumeric string | 100 |
|
@@ -6427,7 +6388,7 @@ paths:
|
|
6427
6388
|
schema:
|
6428
6389
|
type: object
|
6429
6390
|
properties:
|
6430
|
-
|
6391
|
+
merchantIdRestrictionGroups:
|
6431
6392
|
type: array
|
6432
6393
|
items:
|
6433
6394
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6516,6 +6477,7 @@ paths:
|
|
6516
6477
|
- criterion : a filter criterion.
|
6517
6478
|
|
6518
6479
|
Here are the possible values for criterion :
|
6480
|
+
|
6519
6481
|
| Criteria | Description | Type | Expression Example |
|
6520
6482
|
|----------|------------------------|------------------------------------------|--------------------|
|
6521
6483
|
| > | greater than | alphanumeric string | 100 |
|
@@ -6568,7 +6530,7 @@ paths:
|
|
6568
6530
|
schema:
|
6569
6531
|
type: object
|
6570
6532
|
properties:
|
6571
|
-
|
6533
|
+
merchantIdRestrictionGroups:
|
6572
6534
|
type: array
|
6573
6535
|
items:
|
6574
6536
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6616,7 +6578,7 @@ paths:
|
|
6616
6578
|
schema:
|
6617
6579
|
type: object
|
6618
6580
|
properties:
|
6619
|
-
|
6581
|
+
merchantIdRestrictionGroups:
|
6620
6582
|
type: array
|
6621
6583
|
items:
|
6622
6584
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6708,7 +6670,7 @@ paths:
|
|
6708
6670
|
schema:
|
6709
6671
|
type: object
|
6710
6672
|
properties:
|
6711
|
-
|
6673
|
+
merchantIdRestrictionGroups:
|
6712
6674
|
type: array
|
6713
6675
|
items:
|
6714
6676
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6755,7 +6717,88 @@ paths:
|
|
6755
6717
|
schema:
|
6756
6718
|
type: object
|
6757
6719
|
properties:
|
6758
|
-
|
6720
|
+
merchantIdRestrictionGroups:
|
6721
|
+
type: array
|
6722
|
+
items:
|
6723
|
+
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
6724
|
+
'405':
|
6725
|
+
description: Invalid input
|
6726
|
+
default:
|
6727
|
+
description: Unexpected error
|
6728
|
+
schema:
|
6729
|
+
type: object
|
6730
|
+
properties:
|
6731
|
+
errors:
|
6732
|
+
type: array
|
6733
|
+
items:
|
6734
|
+
$ref: '#/definitions/Error'
|
6735
|
+
security:
|
6736
|
+
- api_key: []
|
6737
|
+
'/merchantIdRestrictionGroups/{id}/DeltaUpdate/':
|
6738
|
+
put:
|
6739
|
+
tags:
|
6740
|
+
- merchantIdRestrictionGroups
|
6741
|
+
summary: edit the merchant ID list for a restriction group
|
6742
|
+
description: Edit the merchant ID list for a restriction group in the system.
|
6743
|
+
consumes:
|
6744
|
+
- application/json
|
6745
|
+
produces:
|
6746
|
+
- application/json
|
6747
|
+
parameters:
|
6748
|
+
- name: id
|
6749
|
+
in: path
|
6750
|
+
description: Merchant ID restriction group's id.
|
6751
|
+
required: true
|
6752
|
+
type: integer
|
6753
|
+
- name: accessSignature
|
6754
|
+
in: query
|
6755
|
+
description: |
|
6756
|
+
Access signature can be mandatory for specific context. Treezor will
|
6757
|
+
contact you if so. More info
|
6758
|
+
[here](https://agent.treezor.com/security-authentication).
|
6759
|
+
required: false
|
6760
|
+
type: string
|
6761
|
+
- name: accessTag
|
6762
|
+
in: query
|
6763
|
+
description: |
|
6764
|
+
Access tag is used for idem potency query. More info
|
6765
|
+
[here](https://agent.treezor.com/basics).
|
6766
|
+
required: false
|
6767
|
+
type: string
|
6768
|
+
- name: accessUserId
|
6769
|
+
in: query
|
6770
|
+
description: |
|
6771
|
+
Access user's id is used for user's action restriction. More info
|
6772
|
+
[here](https://agent.treezor.com/basics).
|
6773
|
+
required: false
|
6774
|
+
type: integer
|
6775
|
+
- name: accessUserIp
|
6776
|
+
in: query
|
6777
|
+
description: |
|
6778
|
+
Access user's ip is used for user's action restriction. More info
|
6779
|
+
[here](https://agent.treezor.com/basics).
|
6780
|
+
required: false
|
6781
|
+
type: string
|
6782
|
+
- in: body
|
6783
|
+
name: body
|
6784
|
+
schema:
|
6785
|
+
properties:
|
6786
|
+
merchants:
|
6787
|
+
description: Array of merchant ID
|
6788
|
+
type: array
|
6789
|
+
items:
|
6790
|
+
type: string
|
6791
|
+
merchantsOperation:
|
6792
|
+
description: Action to do with merchants id list
|
6793
|
+
type: string
|
6794
|
+
enum: ["add", "remove"]
|
6795
|
+
responses:
|
6796
|
+
'200':
|
6797
|
+
description: OK
|
6798
|
+
schema:
|
6799
|
+
type: object
|
6800
|
+
properties:
|
6801
|
+
merchantIdRestrictionGroups:
|
6759
6802
|
type: array
|
6760
6803
|
items:
|
6761
6804
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6772,7 +6815,6 @@ paths:
|
|
6772
6815
|
$ref: '#/definitions/Error'
|
6773
6816
|
security:
|
6774
6817
|
- api_key: []
|
6775
|
-
|
6776
6818
|
/payins:
|
6777
6819
|
post:
|
6778
6820
|
tags:
|
@@ -9423,14 +9465,15 @@ paths:
|
|
9423
9465
|
- name: entityType
|
9424
9466
|
in: query
|
9425
9467
|
description: |
|
9426
|
-
Type of user's entity type
|
9427
|
-
|
9428
|
-
|
9429
|
-
|
9430
|
-
|
9431
|
-
|
9432
|
-
|
9433
|
-
|
9468
|
+
Type of user's entity type :
|
9469
|
+
|
9470
|
+
| Value | Type |
|
9471
|
+
| --- | --- |
|
9472
|
+
| 1 | Reporting Financial Institution |
|
9473
|
+
| 2 | Non-Reporting Financial Institution |
|
9474
|
+
| 3 | Active Non-Financial Entity - Governmental entities, Int. organizations |
|
9475
|
+
| 4 | Active Non-Financial Entity - Other |
|
9476
|
+
| 5 | Passive Non-Financial Entity - Investment entity that is not Participating Jurisdiction FI |
|
9434
9477
|
required: false
|
9435
9478
|
type: integer
|
9436
9479
|
- name: title
|
@@ -9884,7 +9927,7 @@ paths:
|
|
9884
9927
|
type: string
|
9885
9928
|
- name: position
|
9886
9929
|
in: query
|
9887
|
-
description: User's position.
|
9930
|
+
description: User's position (deprecated, you must use the parameter occupation).
|
9888
9931
|
required: false
|
9889
9932
|
type: string
|
9890
9933
|
- name: personalAssets
|
@@ -10258,6 +10301,7 @@ paths:
|
|
10258
10301
|
in: query
|
10259
10302
|
description: |
|
10260
10303
|
Type of relationship
|
10304
|
+
|
10261
10305
|
| Value | Type |
|
10262
10306
|
| --- | --- |
|
10263
10307
|
| 1 | Shareholder |
|
@@ -10270,6 +10314,7 @@ paths:
|
|
10270
10314
|
in: query
|
10271
10315
|
description: |
|
10272
10316
|
Type of relationship. Possible values:
|
10317
|
+
|
10273
10318
|
| Value | Type |
|
10274
10319
|
| --- | --- |
|
10275
10320
|
| 1 | Leader |
|
@@ -10724,7 +10769,7 @@ paths:
|
|
10724
10769
|
type: string
|
10725
10770
|
- name: position
|
10726
10771
|
in: query
|
10727
|
-
description: User's position.
|
10772
|
+
description: User's position (deprecated, you must use the parameter occupation).
|
10728
10773
|
required: false
|
10729
10774
|
type: string
|
10730
10775
|
- name: personalAssets
|
@@ -11497,7 +11542,7 @@ paths:
|
|
11497
11542
|
tags:
|
11498
11543
|
- wallet
|
11499
11544
|
summary: search wallets
|
11500
|
-
description: Get wallets from the system that match the search criteria.
|
11545
|
+
description: 'Get wallets from the system that match the search criteria. The request must contains at least one of those inputs :walletId eventAlias, userId, walletTypeId, walletTag'
|
11501
11546
|
operationId: getWallets
|
11502
11547
|
consumes:
|
11503
11548
|
- application/json
|
@@ -11571,13 +11616,6 @@ paths:
|
|
11571
11616
|
| 14 | Electronic Money Card (Internal only) |
|
11572
11617
|
required: false
|
11573
11618
|
type: integer
|
11574
|
-
- name: eventName
|
11575
|
-
in: query
|
11576
|
-
description: |
|
11577
|
-
Event name that will be used as wallet name. For example, in a
|
11578
|
-
wedding list: Wedding of X and Y
|
11579
|
-
required: false
|
11580
|
-
type: string
|
11581
11619
|
- name: eventAlias
|
11582
11620
|
in: query
|
11583
11621
|
description: |
|
@@ -11610,11 +11648,6 @@ paths:
|
|
11610
11648
|
description: Number of payin done on the wallet.
|
11611
11649
|
required: false
|
11612
11650
|
type: integer
|
11613
|
-
- name: solde
|
11614
|
-
in: query
|
11615
|
-
description: Wallet current balance.
|
11616
|
-
required: false
|
11617
|
-
type: string
|
11618
11651
|
- name: pageNumber
|
11619
11652
|
in: query
|
11620
11653
|
description: |
|
@@ -12497,9 +12530,9 @@ definitions:
|
|
12497
12530
|
| Status | Description |
|
12498
12531
|
| ---- | ----------- |
|
12499
12532
|
| A | Active |
|
12500
|
-
|
|
12533
|
+
| U | Not tokenized |
|
12501
12534
|
| S | Suspended |
|
12502
|
-
|
|
12535
|
+
| D | Deactivated (Final status, cannot be changed)|
|
12503
12536
|
createdDate:
|
12504
12537
|
type: string
|
12505
12538
|
modifiedDate:
|
@@ -0,0 +1,51 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TreezorClient::Body11
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Body11' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TreezorClient::Body11.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Body11' do
|
31
|
+
it 'should create an instance of Body11' do
|
32
|
+
expect(@instance).to be_instance_of(TreezorClient::Body11)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "merchants"' 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 "merchants_operation"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["add", "remove"])
|
45
|
+
# validator.allowable_values.each do |value|
|
46
|
+
# expect { @instance.merchants_operation = value }.not_to raise_error
|
47
|
+
# end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
@@ -0,0 +1,149 @@
|
|
1
|
+
=begin
|
2
|
+
#Treezor
|
3
|
+
|
4
|
+
#Treezor API. more info [here](https://www.treezor.com).
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for TreezorClient::SepaSctrInst
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SepaSctrInst' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = TreezorClient::SepaSctrInst.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SepaSctrInst' do
|
31
|
+
it 'should create an instance of SepaSctrInst' do
|
32
|
+
expect(@instance).to be_instance_of(TreezorClient::SepaSctrInst)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "wallet_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 "debtor_bic"' 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 "debtor_iban"' 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 "debitor_name"' 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 "debitor_country"' 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 "debitor_address_line"' 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 "creditor_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
|
+
describe 'test attribute "creditor_iban"' 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 "creditor_name"' 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
|
+
describe 'test attribute "creditor_address_line"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "creditor_country"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "transaction_id"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "virtual_iban_id"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "settlement_date"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
describe 'test attribute "settlement_amount"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "return_reason_code"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe 'test attribute "virtual_iban_reference"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
describe 'test attribute "remittance_information"' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
describe 'test attribute "transaction_end_to_end_id"' do
|
144
|
+
it 'should work' do
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
end
|