This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
Releases: imobanco/zoop-wrapper
Releases · imobanco/zoop-wrapper
v0.0.2a1
Seller examples (#64) * fix imports * fix seller errors * add seller examples * retrieve & list examples * remove example * doc ok * pass instance to wrapper methods * search methods example * search examples * fix imports * update seller examples * black.reformat * removed version from index * replace ' for "
v0.0.2a
fix 'typo'
v0.0.1a1
v0.0.1a (#39) * Add CI support * Update python version to 3.8.2 * feature api (#4) * ignore idea folder * add python-decouple * zoop.__ini__ ok * zoop construct_url method * zoop auth method * zoop process response method * zoop GET method * zoop POST method * lit & retrieve sellers on zoop * zoop add seller method * test ok * makefile * test helper methods * TestCase renamed * minor fix * add subaction & search on construct url * add delete method * search seller methods * remove_seller method * list banks method * list seller banks method * retrieve bank method * renamed file to api * mkdir data * fix test * docstring * pycpf cnpj * readme updated * feature models (#5) * Start development * Fix flake8 error * ignore idea folder * add python-decouple * zoop.__ini__ ok * zoop construct_url method * zoop auth method * zoop process response method * zoop GET method * zoop POST method * lit & retrieve sellers on zoop * zoop add seller method * test ok * makefile * test helper methods * TestCase renamed * minor fix * add subaction & search on construct url * add delete method * search seller methods * remove_seller method * list banks method * list seller banks method * retrieve bank method * renamed file to api * mkdir data * fix test * zoop models created * test models initiated * ZoopBase * ZoopModel & test * ZoopMarketPlaceModel & test * renamed tests * Seller model & test * Address model & test * IndividualSeller model & test * Owner model & test * BusinessSeller model & test * Seller model with resource inteligence * functions to get instances from resource * process_response setting instance * test seller updated * process response resource tests * models broken into various modules * BankAccount models & tests * minor fix * fix last4_digits not required * minor fix * flake8 * conflict resolved * flake8 * fix requirements * add requirements-dev to Dockerfile Co-authored-by: pedroregispoar <[email protected]> * feature Token model (#6) * add python-decouple * zoop.__ini__ ok * zoop construct_url method * zoop auth method * zoop process response method * zoop GET method * zoop POST method * lit & retrieve sellers on zoop * zoop add seller method * test ok * test helper methods * add subaction & search on construct url * add delete method * search seller methods * remove_seller method * list banks method * list seller banks method * retrieve bank method * renamed file to api * mkdir data * fix test * zoop models created * test models initiated * ZoopBase * ZoopModel & test * ZoopMarketPlaceModel & test * renamed tests * Seller model & test * Address model & test * IndividualSeller model & test * Owner model & test * BusinessSeller model & test * Seller model with resource inteligence * functions to get instances from resource * process_response setting instance * test seller updated * process response resource tests * models broken into various modules * BankAccount models & tests * minor fix * fix last4_digits not required * minor fix * flake8 * conflict resolved * flake8 * fix requirements * Token model & tests * test utils * added Token on utils * flake8 * test_utils refactored * token docstring * utils refactored * resource doctstring Co-authored-by: pedroregispoar <[email protected]> * feature better models (#7) * Start development * Fix flake8 error * ignore idea folder * add python-decouple * zoop.__ini__ ok * zoop construct_url method * zoop auth method * zoop process response method * zoop GET method * zoop POST method * lit & retrieve sellers on zoop * zoop add seller method * test ok * makefile * test helper methods * TestCase renamed * minor fix * add subaction & search on construct url * add delete method * search seller methods * remove_seller method * list banks method * list seller banks method * retrieve bank method * renamed file to api * mkdir data * fix test * zoop models created * test models initiated * ZoopBase * ZoopModel & test * ZoopMarketPlaceModel & test * renamed tests * Seller model & test * Address model & test * IndividualSeller model & test * Owner model & test * BusinessSeller model & test * Seller model with resource inteligence * functions to get instances from resource * process_response setting instance * test seller updated * process response resource tests * models broken into various modules * BankAccount models & tests * minor fix * fix last4_digits not required * minor fix * flake8 * conflict resolved * flake8 * fix requirements * attributes start with null value when creating instance * exclude attr's with None value from dict * Individual and Business BankAccounts * utils created with classproperty * BusinessOrIndividualMixin created * Seller & BankAccount have BusinessOrIndividualMixin * flake8 * test failing * zoop.__post_instance created * TYPE for seller * tests ok * flake8 * fake data * base docstrings * mixins docstring * bank_accounts docstring * base docstrings * seller docstrings * bank_account docstrings * utils docstrings * pep8 * zoop refs * docstrings * minor fix * docstrings * fix typo Co-authored-by: pedroregispoar <[email protected]> * feature logging (#8) * logging config * api logger * models logger * logging instead of print * LOG_LEVEL config variable * config logging for package * logging on different levels * fix names * feature RequestWrapper (#9) * removed MAIN_SELLER * RequestsWrapper created * ZoopWrapper inherit of RequestsWrapper * tests * file renamed from api * methods fixed * pep8 * fix docstring * __init__ imports * pep8 * zoop_wrapper test remade * renamed test run * docstring * docstrings * renamed tests * feature better tests! (#10) * tests refactored * fix imports * feature factories (#12) * factory-boy added * from_dict_or_instance on ZoopBase * factories created * from_dict_or_instance * Base Factories created * Bank Factories created * Seller Factories created * TokenFactory created * real tests * factories on tests * test utils created * better wrapper tests * test methods * pep8 * fix factories * better _process_response * _post_instance * minor fix * Address from_dict * minor fix tests * Address fix * factories on wrapper tests * pep8 * docstrings on factories * readme on factories * fix readme * Address exception and warning * AddressLogger patched TestCase * removed dump mentions * feature Buyer (#11) * AddressModel, OwnerModel, SocialModel, FinancialModel on base * models renamed * FinancialTest created * SocialTest created * Buyer created * _post_instance * buyer methods * removed suppress exception on ZoopBase * Address suppress missing fields & address is not required * method renamed * test list buyers * test Buyer model * ZoopWrapper test * minor fix * ZoopWrapper methods test folder * test seller methods * test bank accounts methods * test bueyers methods * better _process_response * better response mocks * added address on buyer test * add & remove buyer tests * test utils created * BuildResponseMockMixin on tests * pep8 * github actions test * config env * github actions config * github test actions * Factories started * Base factories * tests with factories * patch get * address initializer * seller factories * seller models fix * test seller methods ok with mocks and factories * test Seller factories * requirements ok * type hint * from_dict_or_instance * from_dict_or_instance * factories created * test create * factory-boy added * from_dict_or_instance on ZoopBase * factories created * from_dict_or_instance * Base Factories created * Bank Factories created * Seller Factories created * TokenFactory created * real tests * factories on tests * test utils created * better wrapper tests * test methods * pep8 * fix factories * better _process_response * _post_instance * minor fix * Address from_dict * minor fix tests * Address fix * factories on wrapper tests * pep8 * buyer on wrapper * minor fix * mocks on buyer tests * pep8 * ZoopWrapper docstrings * Wrapper docstrings * action without f strings * docstrings on tests * better _process_response docstring * pep8 * pep8 * foo & bar on id's * removed dump mentions * feature PaymentMethod & VerificationCheckList (#14) * VerificationCheckList to base * payment_method model created * factories from base * tests ok * feature BankAccounts methods (#13) * make flake8 * add_bank_account method * wrapper ok * full_name property * ZoopBaseSuppressedCreation * from_dict_for_seller methods * test methods * pep8 * added sample data dict on docstrings * minor fix * docstring * docstring on method * renamed method * removed custom exception * remove original message * feature dynamic Base and improvements (#15) * Better base * better base * ValidationError * best ZoopBase * test zoopBase * ZoopBase ok * better coverage * ZoopBase docstrings * get fields classmethods * better tests * ZoopModel ok * mypy commands on makefile * base & tests ok * base with set() and tests ok * docstring & stubs * stubs * better stubs * base ok * fix tests * Seller working * better stubs * Seller factories * test seller restarted * seller stubs * test seller ok * zoop base objects renamed * another rename * Buyer ok * mixin ok * better type hints * BusinessOrIndividual model and tests * SetTestCase * better tests * Seller & tests ok * BankAccount & tests & minor fix & base * Token & tests & minor fix * wrapper & tests ok * pep8 * pep8 & mypy * mypy actions * base init_custom_fields * removed BusinessOrIndividual __init__ mess * fixed SetTestCase * utils fixed * full_name docstring * Feature Invoice (#16) * VerificationCheckList to base * payment_method model created * factories from base * tests ok * invoice started * Better base * better base * ValidationError * best ZoopBase * test zoopBase * ZoopBase ok * better coverage * ZoopBase docstrings * get fields classmethods * better tests * ZoopModel ok * mypy commands on makefile * base & tests ok * base with set() and tests ok * docstring & stubs * stubs * better stubs * base ok * fix tests * Seller working * better stubs * Seller factories * test seller restarted * seller stubs * test seller ok * zoop base objects renamed * another rename * Buyer ok * mixin ok * better type hints * BusinessOrIndividual model and tests * SetTestCase * better tests * Seller & tests ok * BankAccount & tests & minor fix & base * Token & tests & minor fix * wrapper & tests ok * pep8 * pep8 & mypy * mypy actions * base init_custom_fields * removed BusinessOrIndividual __init__ mess * retrieve invoice method on wrapper * minor fix * better to_dict model ignoring empty {} * Invoice created * script for testing created * minor fix * fixed SetTestCase * utils fixed * Base improvement * minor fix * BilingConfiguration & factories & tests * BillingInstructions ok & factory & tests * base improvements * base improvements * Invoice & factory & tests * removed test from_dict and to_dict * removed obsolete tests cases * pep8 * test_init_custom_fields * mypy fix * invoice stubs * base docstrings * docstrings * docstrings * Merge branch 'dev' into feature/invoice * minor fix * fix issues * pep8 * discussions alterations * Feature Card (#17) * VerificationCheckList to base * payment_method model created * factories from base * tests ok * Card started * invoice started * minor fix * card model & factories * minor fix * tests ok * tests ok * script added * test from_dict on Mixin * minor fix * CardToken created * BankAccountToken created * Token custom from_dict method * Individual & business BankAccount's * retrieve_card method * __add_card_token method * add_card method * test card_methods * Better base * better base * ValidationError * best ZoopBase * test zoopBase * ZoopBase ok * better coverage * ZoopBase docstrings * get fields classmethods * better tests * ZoopModel ok * mypy commands on makefile * base & tests ok * base with set() and tests ok * docstring & stubs * stubs * better stubs * base ok * fix tests * Seller working * better stubs * Seller factories * test seller restarted * seller stubs * test seller ok * zoop base objects renamed * another rename * Buyer ok * mixin ok * better type hints * BusinessOrIndividual model and tests * SetTestCase * better tests * Seller & tests ok * BankAccount & tests & minor fix & base * Token & tests & minor fix * wrapper & tests ok * pep8 * pep8 & mypy * mypy actions * base init_custom_fields * removed BusinessOrIndividual __init__ mess * retrieve invoice method on wrapper * minor fix * better to_dict model ignoring empty {} * Invoice created * script for testing created * minor fix * fixed SetTestCase * utils fixed * Base improvement * minor fix * BilingConfiguration & factories & tests * BillingInstructions ok & factory & tests * base improvements * base improvements * Invoice & factory & tests * removed test from_dict and to_dict * removed obsolete tests cases * pep8 * test_init_custom_fields * mypy fix * invoice stubs * base docstrings * docstrings * docstrings * Card ok * minor fix * test card verification * tests commented * docstrings * card stubs * better mypy command * better mypy * minor fix bank_accounts * fix factories * minor fix & card non_required_fields * Token with Dynamic types * base ok * token working!!!!!! * pep8 & tests * WHY THE FUCK DOES THE ZOOP DOES THIS? * _add_bank_account_token tested * minor fix * add_bank_account working!!! * script ok * better __process_response * minor fix * card methods * removed classproperty * minor fix * minor fix * removed logger * better APITestCase * docstrings * Token stubs * pep8 * docstring missing * minor fix * docstrings * pep8 * coverage added (#20) * coverage added * fix version * feature Transaction (#19) * transactions wrapper * pendulum requirement * transaction models started * Transaction Models * transaction tests * all transaction methods * allow_true on model utils * transaction fields * BillingInstructions with list on discount * is_value_empty on ZoopObject * Transaction init_custom_fields & tests * minor fix * tests ok * Transaction with invoice * Transaction factories * pass self._allow_empty to custom_fields * docstrings * other docstrings * transaction tests ok * token remodeled without attribute '_created' * minor fix * minor fix tests * Transaction with Card * pep8 * minor fix * minor fix * list_transactions example * list transactions for seller * wrapper posting json with `application-type: app/json` * add transaction invoice ok * add_invoice ok * fix Invoice BillingConfiguration * transactions examples * tests ok * wrapper with reasons * removed data from gitignore * removed script * credit card examples * tests ok * removed marketplace_id from data * better stubs * pep8 * docstring on exceptions * codstrings formated * fix test * fix readme * fix docstring * discussion modifications * float percentage * pep8 * default currency docstring * pep8 * dumps with foo * renamed package (#21) * renamed package * mypy command * docs (#22) * makefile with docs * sphinx installed * quickstart called * auto doc added * added module * better docstrings * better docstring * Base docstrings with links * bank account docstrings * buyer & card docstrings * conf ok * removed :py: * Invoice & Seller ok * utils docstring * minor fix * token docstrings * Transaction docstrings * docs yml * minor fix CI * CI on PUSH * ci with checkout v2 * fix CI * fix CI * other deploy * checkout v2 * CI * deploy docs only from dev * minor fix * black action * black on CI * ValidationError instead of TypeError * better doc pages & menu * minor fix * CI on push * Revert "CI on push" This reverts commit c4841846fae50a45533e7c87348fa67fbd4e96b4. * added docs readme * Examples readme * readme & contributing * better readme * discussion modifications * minor fix * minor fix * minor fix * black reformat all files (#23) * Feature/package (#24) * better badges organization * tests with different versions * fix test names * flexibilize black version * removed python 3.5 support * setup ok * minor fix * CI stages * black * test pypi CI * minor fix * Revert "test pypi CI" This reverts commit 936e32810dc04306dc8786ec87631c8402967904. * windows & macos actions * better names * versioneer added * package.build * on push pypi deploy * Revert "on push pypi deploy" This reverts commit 445420e1327466bf4eb5a4f344a681b28bdc4ea9. * Project rename (#26) * package renamed * Constants & better docs (#25) * add flexibility to constants * examples with constants * minor fix on docs * __build folder * build folder * examples added * readme ok * doc ok * better doc * black.reformat * removed contents * removed intro from git * minor fix * conf.env on CI's * removed unused import * discussion changes * minor fix * versioneer (#38) * versioneer build * makefile without versioneer install Co-authored-by: pedroregispoar <[email protected]>