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
|
|
@@ -159,7 +159,7 @@ module TreezorClient
|
|
159
159
|
return data, status_code, headers
|
160
160
|
end
|
161
161
|
# search wallets
|
162
|
-
# Get wallets from the system that match the search criteria.
|
162
|
+
# 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
|
163
163
|
# @param [Hash] opts the optional parameters
|
164
164
|
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
165
165
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
@@ -171,13 +171,11 @@ module TreezorClient
|
|
171
171
|
# @option opts [Integer] :parent_user_id Parent user id of the wallet owner
|
172
172
|
# @option opts [String] :wallet_tag Custom data.
|
173
173
|
# @option opts [Integer] :wallet_type_id Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
|
174
|
-
# @option opts [String] :event_name Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
175
174
|
# @option opts [String] :event_alias Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding
|
176
175
|
# @option opts [DateTime] :event_payin_start_date Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
177
176
|
# @option opts [DateTime] :event_payin_end_date Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
178
177
|
# @option opts [Integer] :tariff_id Wallet pricing id.
|
179
178
|
# @option opts [Integer] :payin_count Number of payin done on the wallet.
|
180
|
-
# @option opts [String] :solde Wallet current balance.
|
181
179
|
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
182
180
|
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
183
181
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
@@ -193,7 +191,7 @@ module TreezorClient
|
|
193
191
|
end
|
194
192
|
|
195
193
|
# search wallets
|
196
|
-
# Get wallets from the system that match the search criteria.
|
194
|
+
# 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
|
197
195
|
# @param [Hash] opts the optional parameters
|
198
196
|
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
199
197
|
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
@@ -205,13 +203,11 @@ module TreezorClient
|
|
205
203
|
# @option opts [Integer] :parent_user_id Parent user id of the wallet owner
|
206
204
|
# @option opts [String] :wallet_tag Custom data.
|
207
205
|
# @option opts [Integer] :wallet_type_id Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
|
208
|
-
# @option opts [String] :event_name Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
209
206
|
# @option opts [String] :event_alias Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding
|
210
207
|
# @option opts [DateTime] :event_payin_start_date Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
211
208
|
# @option opts [DateTime] :event_payin_end_date Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
212
209
|
# @option opts [Integer] :tariff_id Wallet pricing id.
|
213
210
|
# @option opts [Integer] :payin_count Number of payin done on the wallet.
|
214
|
-
# @option opts [String] :solde Wallet current balance.
|
215
211
|
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
216
212
|
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
217
213
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
@@ -240,13 +236,11 @@ module TreezorClient
|
|
240
236
|
query_params[:'parentUserId'] = opts[:'parent_user_id'] if !opts[:'parent_user_id'].nil?
|
241
237
|
query_params[:'walletTag'] = opts[:'wallet_tag'] if !opts[:'wallet_tag'].nil?
|
242
238
|
query_params[:'walletTypeId'] = opts[:'wallet_type_id'] if !opts[:'wallet_type_id'].nil?
|
243
|
-
query_params[:'eventName'] = opts[:'event_name'] if !opts[:'event_name'].nil?
|
244
239
|
query_params[:'eventAlias'] = opts[:'event_alias'] if !opts[:'event_alias'].nil?
|
245
240
|
query_params[:'eventPayinStartDate'] = opts[:'event_payin_start_date'] if !opts[:'event_payin_start_date'].nil?
|
246
241
|
query_params[:'eventPayinEndDate'] = opts[:'event_payin_end_date'] if !opts[:'event_payin_end_date'].nil?
|
247
242
|
query_params[:'tariffId'] = opts[:'tariff_id'] if !opts[:'tariff_id'].nil?
|
248
243
|
query_params[:'payinCount'] = opts[:'payin_count'] if !opts[:'payin_count'].nil?
|
249
|
-
query_params[:'solde'] = opts[:'solde'] if !opts[:'solde'].nil?
|
250
244
|
query_params[:'pageNumber'] = opts[:'page_number'] if !opts[:'page_number'].nil?
|
251
245
|
query_params[:'pageCount'] = opts[:'page_count'] if !opts[:'page_count'].nil?
|
252
246
|
query_params[:'sortBy'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
|
@@ -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
|
@@ -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
|
|
@@ -114,7 +114,7 @@ module TreezorClient
|
|
114
114
|
return nil unless attributes.is_a?(Hash)
|
115
115
|
self.class.swagger_types.each_pair do |key, type|
|
116
116
|
if type =~ /\AArray<(.*)>/i
|
117
|
-
# check to ensure the input is an array given that the
|
117
|
+
# check to ensure the input is an array given that the attribute
|
118
118
|
# is documented as an array but the input is not
|
119
119
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
120
120
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -210,5 +210,6 @@ module TreezorClient
|
|
210
210
|
value
|
211
211
|
end
|
212
212
|
end
|
213
|
+
|
213
214
|
end
|
214
215
|
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
|
|
@@ -211,7 +211,7 @@ module TreezorClient
|
|
211
211
|
return nil unless attributes.is_a?(Hash)
|
212
212
|
self.class.swagger_types.each_pair do |key, type|
|
213
213
|
if type =~ /\AArray<(.*)>/i
|
214
|
-
# check to ensure the input is an array given that the
|
214
|
+
# check to ensure the input is an array given that the attribute
|
215
215
|
# is documented as an array but the input is not
|
216
216
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
217
217
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -307,5 +307,6 @@ module TreezorClient
|
|
307
307
|
value
|
308
308
|
end
|
309
309
|
end
|
310
|
+
|
310
311
|
end
|
311
312
|
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
|
|
@@ -192,7 +192,7 @@ module TreezorClient
|
|
192
192
|
return nil unless attributes.is_a?(Hash)
|
193
193
|
self.class.swagger_types.each_pair do |key, type|
|
194
194
|
if type =~ /\AArray<(.*)>/i
|
195
|
-
# check to ensure the input is an array given that the
|
195
|
+
# check to ensure the input is an array given that the attribute
|
196
196
|
# is documented as an array but the input is not
|
197
197
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
198
198
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -288,5 +288,6 @@ module TreezorClient
|
|
288
288
|
value
|
289
289
|
end
|
290
290
|
end
|
291
|
+
|
291
292
|
end
|
292
293
|
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
|
|
@@ -162,7 +162,7 @@ module TreezorClient
|
|
162
162
|
return nil unless attributes.is_a?(Hash)
|
163
163
|
self.class.swagger_types.each_pair do |key, type|
|
164
164
|
if type =~ /\AArray<(.*)>/i
|
165
|
-
# check to ensure the input is an array given that the
|
165
|
+
# check to ensure the input is an array given that the attribute
|
166
166
|
# is documented as an array but the input is not
|
167
167
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
168
168
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -258,5 +258,6 @@ module TreezorClient
|
|
258
258
|
value
|
259
259
|
end
|
260
260
|
end
|
261
|
+
|
261
262
|
end
|
262
263
|
end
|
@@ -6,38 +6,55 @@
|
|
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
|
require 'date'
|
14
14
|
|
15
15
|
module TreezorClient
|
16
|
-
class
|
17
|
-
#
|
18
|
-
attr_accessor :
|
19
|
-
|
20
|
-
#
|
21
|
-
attr_accessor :
|
16
|
+
class Body11
|
17
|
+
# Array of merchant ID
|
18
|
+
attr_accessor :merchants
|
19
|
+
|
20
|
+
# Action to do with merchants id list
|
21
|
+
attr_accessor :merchants_operation
|
22
|
+
|
23
|
+
class EnumAttributeValidator
|
24
|
+
attr_reader :datatype
|
25
|
+
attr_reader :allowable_values
|
26
|
+
|
27
|
+
def initialize(datatype, allowable_values)
|
28
|
+
@allowable_values = allowable_values.map do |value|
|
29
|
+
case datatype.to_s
|
30
|
+
when /Integer/i
|
31
|
+
value.to_i
|
32
|
+
when /Float/i
|
33
|
+
value.to_f
|
34
|
+
else
|
35
|
+
value
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
22
39
|
|
23
|
-
|
24
|
-
|
40
|
+
def valid?(value)
|
41
|
+
!value || allowable_values.include?(value)
|
42
|
+
end
|
43
|
+
end
|
25
44
|
|
26
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
46
|
def self.attribute_map
|
28
47
|
{
|
29
|
-
:'
|
30
|
-
:'
|
31
|
-
:'file' => :'file'
|
48
|
+
:'merchants' => :'merchants',
|
49
|
+
:'merchants_operation' => :'merchantsOperation'
|
32
50
|
}
|
33
51
|
end
|
34
52
|
|
35
53
|
# Attribute type mapping.
|
36
54
|
def self.swagger_types
|
37
55
|
{
|
38
|
-
:'
|
39
|
-
:'
|
40
|
-
:'file' => :'String'
|
56
|
+
:'merchants' => :'Array<String>',
|
57
|
+
:'merchants_operation' => :'String'
|
41
58
|
}
|
42
59
|
end
|
43
60
|
|
@@ -49,16 +66,14 @@ module TreezorClient
|
|
49
66
|
# convert string to symbol for hash key
|
50
67
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
68
|
|
52
|
-
if attributes.has_key?(:'
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
if attributes.has_key?(:'cardId')
|
57
|
-
self.card_id = attributes[:'cardId']
|
69
|
+
if attributes.has_key?(:'merchants')
|
70
|
+
if (value = attributes[:'merchants']).is_a?(Array)
|
71
|
+
self.merchants = value
|
72
|
+
end
|
58
73
|
end
|
59
74
|
|
60
|
-
if attributes.has_key?(:'
|
61
|
-
self.
|
75
|
+
if attributes.has_key?(:'merchantsOperation')
|
76
|
+
self.merchants_operation = attributes[:'merchantsOperation']
|
62
77
|
end
|
63
78
|
end
|
64
79
|
|
@@ -66,28 +81,25 @@ module TreezorClient
|
|
66
81
|
# @return Array for valid properties with the reasons
|
67
82
|
def list_invalid_properties
|
68
83
|
invalid_properties = Array.new
|
69
|
-
if !@file.nil? && @file !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/)
|
70
|
-
invalid_properties.push('invalid value for "file", must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.')
|
71
|
-
end
|
72
|
-
|
73
84
|
invalid_properties
|
74
85
|
end
|
75
86
|
|
76
87
|
# Check to see if the all the properties in the model are valid
|
77
88
|
# @return true if the model is valid
|
78
89
|
def valid?
|
79
|
-
|
90
|
+
merchants_operation_validator = EnumAttributeValidator.new('String', ['add', 'remove'])
|
91
|
+
return false unless merchants_operation_validator.valid?(@merchants_operation)
|
80
92
|
true
|
81
93
|
end
|
82
94
|
|
83
|
-
# Custom attribute writer method
|
84
|
-
# @param [Object]
|
85
|
-
def
|
86
|
-
|
87
|
-
|
95
|
+
# Custom attribute writer method checking allowed values (enum).
|
96
|
+
# @param [Object] merchants_operation Object to be assigned
|
97
|
+
def merchants_operation=(merchants_operation)
|
98
|
+
validator = EnumAttributeValidator.new('String', ['add', 'remove'])
|
99
|
+
unless validator.valid?(merchants_operation)
|
100
|
+
fail ArgumentError, 'invalid value for "merchants_operation", must be one of #{validator.allowable_values}.'
|
88
101
|
end
|
89
|
-
|
90
|
-
@file = file
|
102
|
+
@merchants_operation = merchants_operation
|
91
103
|
end
|
92
104
|
|
93
105
|
# Checks equality by comparing each attribute.
|
@@ -95,9 +107,8 @@ module TreezorClient
|
|
95
107
|
def ==(o)
|
96
108
|
return true if self.equal?(o)
|
97
109
|
self.class == o.class &&
|
98
|
-
|
99
|
-
|
100
|
-
file == o.file
|
110
|
+
merchants == o.merchants &&
|
111
|
+
merchants_operation == o.merchants_operation
|
101
112
|
end
|
102
113
|
|
103
114
|
# @see the `==` method
|
@@ -109,7 +120,7 @@ module TreezorClient
|
|
109
120
|
# Calculates hash code according to all attributes.
|
110
121
|
# @return [Fixnum] Hash code
|
111
122
|
def hash
|
112
|
-
[
|
123
|
+
[merchants, merchants_operation].hash
|
113
124
|
end
|
114
125
|
|
115
126
|
# Builds the object from hash
|
@@ -119,7 +130,7 @@ module TreezorClient
|
|
119
130
|
return nil unless attributes.is_a?(Hash)
|
120
131
|
self.class.swagger_types.each_pair do |key, type|
|
121
132
|
if type =~ /\AArray<(.*)>/i
|
122
|
-
# check to ensure the input is an array given that the
|
133
|
+
# check to ensure the input is an array given that the attribute
|
123
134
|
# is documented as an array but the input is not
|
124
135
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
125
136
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -215,5 +226,6 @@ module TreezorClient
|
|
215
226
|
value
|
216
227
|
end
|
217
228
|
end
|
229
|
+
|
218
230
|
end
|
219
231
|
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
|
|
@@ -104,7 +104,7 @@ module TreezorClient
|
|
104
104
|
return nil unless attributes.is_a?(Hash)
|
105
105
|
self.class.swagger_types.each_pair do |key, type|
|
106
106
|
if type =~ /\AArray<(.*)>/i
|
107
|
-
# check to ensure the input is an array given that the
|
107
|
+
# check to ensure the input is an array given that the attribute
|
108
108
|
# is documented as an array but the input is not
|
109
109
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
110
110
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -200,5 +200,6 @@ module TreezorClient
|
|
200
200
|
value
|
201
201
|
end
|
202
202
|
end
|
203
|
+
|
203
204
|
end
|
204
205
|
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
|
|
@@ -104,7 +104,7 @@ module TreezorClient
|
|
104
104
|
return nil unless attributes.is_a?(Hash)
|
105
105
|
self.class.swagger_types.each_pair do |key, type|
|
106
106
|
if type =~ /\AArray<(.*)>/i
|
107
|
-
# check to ensure the input is an array given that the
|
107
|
+
# check to ensure the input is an array given that the attribute
|
108
108
|
# is documented as an array but the input is not
|
109
109
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
110
110
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -200,5 +200,6 @@ module TreezorClient
|
|
200
200
|
value
|
201
201
|
end
|
202
202
|
end
|
203
|
+
|
203
204
|
end
|
204
205
|
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
|
|
@@ -172,7 +172,7 @@ module TreezorClient
|
|
172
172
|
return nil unless attributes.is_a?(Hash)
|
173
173
|
self.class.swagger_types.each_pair do |key, type|
|
174
174
|
if type =~ /\AArray<(.*)>/i
|
175
|
-
# check to ensure the input is an array given that the
|
175
|
+
# check to ensure the input is an array given that the attribute
|
176
176
|
# is documented as an array but the input is not
|
177
177
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
178
178
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -268,5 +268,6 @@ module TreezorClient
|
|
268
268
|
value
|
269
269
|
end
|
270
270
|
end
|
271
|
+
|
271
272
|
end
|
272
273
|
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
|
|
@@ -174,7 +174,7 @@ module TreezorClient
|
|
174
174
|
return nil unless attributes.is_a?(Hash)
|
175
175
|
self.class.swagger_types.each_pair do |key, type|
|
176
176
|
if type =~ /\AArray<(.*)>/i
|
177
|
-
# check to ensure the input is an array given that the
|
177
|
+
# check to ensure the input is an array given that the attribute
|
178
178
|
# is documented as an array but the input is not
|
179
179
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
180
180
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -270,5 +270,6 @@ module TreezorClient
|
|
270
270
|
value
|
271
271
|
end
|
272
272
|
end
|
273
|
+
|
273
274
|
end
|
274
275
|
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
|
|
@@ -147,7 +147,7 @@ module TreezorClient
|
|
147
147
|
return nil unless attributes.is_a?(Hash)
|
148
148
|
self.class.swagger_types.each_pair do |key, type|
|
149
149
|
if type =~ /\AArray<(.*)>/i
|
150
|
-
# check to ensure the input is an array given that the
|
150
|
+
# check to ensure the input is an array given that the attribute
|
151
151
|
# is documented as an array but the input is not
|
152
152
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
153
153
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -243,5 +243,6 @@ module TreezorClient
|
|
243
243
|
value
|
244
244
|
end
|
245
245
|
end
|
246
|
+
|
246
247
|
end
|
247
248
|
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
|
|
@@ -172,7 +172,7 @@ module TreezorClient
|
|
172
172
|
return nil unless attributes.is_a?(Hash)
|
173
173
|
self.class.swagger_types.each_pair do |key, type|
|
174
174
|
if type =~ /\AArray<(.*)>/i
|
175
|
-
# check to ensure the input is an array given that the
|
175
|
+
# check to ensure the input is an array given that the attribute
|
176
176
|
# is documented as an array but the input is not
|
177
177
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
178
178
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -268,5 +268,6 @@ module TreezorClient
|
|
268
268
|
value
|
269
269
|
end
|
270
270
|
end
|
271
|
+
|
271
272
|
end
|
272
273
|
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
|
|
@@ -174,7 +174,7 @@ module TreezorClient
|
|
174
174
|
return nil unless attributes.is_a?(Hash)
|
175
175
|
self.class.swagger_types.each_pair do |key, type|
|
176
176
|
if type =~ /\AArray<(.*)>/i
|
177
|
-
# check to ensure the input is an array given that the
|
177
|
+
# check to ensure the input is an array given that the attribute
|
178
178
|
# is documented as an array but the input is not
|
179
179
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
180
180
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -270,5 +270,6 @@ module TreezorClient
|
|
270
270
|
value
|
271
271
|
end
|
272
272
|
end
|
273
|
+
|
273
274
|
end
|
274
275
|
end
|