Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: b2b seller quotes functionalities #65

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Matheus-Aguilar
Copy link
Contributor

What problem is this solving?

This pull request adds necessary functionalities to allow sellers to handle quotes from a marketplace. More details are available in this document. It groups updates done in the following PRs:

guidobernal-cubos and others added 3 commits January 10, 2025 10:43
* feat: add new markeplace splitting quotes on graphql

* feat: checking new field quotesManagedBy when value is SELLER

* docs: update CHANGELOG

* feat: add configuration for quote creation

* feat: add adjustment for quote seller

* chore: fix prettier errors

* fix: returning ids separated by commas when multiple quotes

* fix: check config and default settings with marketplace option

* feat: new fields for quotes managed by seller

* feat: new fields to save parent quote; change getQuotes query to filter only parent quotes

* feat: create client to notify seller quote

* feat: add changelog

* feat: verify and notify seller quote

* chore: removes console.log from SellerQuotesClient

* docs: update CHANGELOG and prettier fix on markdown

* fix: right splitting of seller quotes

* feat: refactor on creating seller quote map; avoid double check of seller

* refactor: seller quotes client constants

* feat: send creationDate on notify seller quote

* feat: provides a route for seller get a quote by id at marketplace

* docs: update CHANGELOG

* refactor: separating get seller quote into smaller functions

* refactor: function to get org anc cost center names

* refactor: create service class for seller quotes

* fix: removing approvedBySeller field from quote entity

* refactor: renaming seller quotes service to controller

* feat: get seller quotes paginated

* feat: use seller quote controller

* docs: add changelog

* chore: fix misspell

* fix: use array destructuring

* fix: sorting get seller quotes for right pagination

* feat: supporting search and status filters on get seller quotes

* feat: using search filter on quote creator email

* fix: right dependencies

* fix: remove p-limit from root package.json

* feat: suport for custom sort and where on ger seller quotes paginated

* [Seller Quotes] Add new markeplace splitting quotes on graphql (#57)

* feat: add new markeplace splitting quotes on graphql

* docs: update CHANGELOG

* chore: fix prettier errors

* fix: check config and default settings with marketplace option

* docs: update CHANGELOG and prettier fix on markdown

---------

Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>

---------

Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>
Co-authored-by: BrunaCubos <[email protected]>
* feat: add new markeplace splitting quotes on graphql

* feat: checking new field quotesManagedBy when value is SELLER

* docs: update CHANGELOG

* feat: add configuration for quote creation

* feat: add adjustment for quote seller

* chore: fix prettier errors

* fix: returning ids separated by commas when multiple quotes

* fix: check config and default settings with marketplace option

* feat: new fields for quotes managed by seller

* feat: new fields to save parent quote; change getQuotes query to filter only parent quotes

* feat: create client to notify seller quote

* feat: add changelog

* feat: verify and notify seller quote

* chore: removes console.log from SellerQuotesClient

* docs: update CHANGELOG and prettier fix on markdown

* fix: right splitting of seller quotes

* feat: refactor on creating seller quote map; avoid double check of seller

* refactor: seller quotes client constants

* feat: send creationDate on notify seller quote

* feat: provides a route for seller get a quote by id at marketplace

* docs: update CHANGELOG

* refactor: separating get seller quote into smaller functions

* refactor: function to get org anc cost center names

* refactor: create service class for seller quotes

* fix: removing approvedBySeller field from quote entity

* refactor: renaming seller quotes service to controller

* feat: provides a route for seller save a quote at marketplace

* feat: get seller quotes paginated

* feat: use seller quote controller

* docs: add changelog

* chore: fix misspell

* fix: use array destructuring

* fix: sorting get seller quotes for right pagination

* feat: supporting search and status filters on get seller quotes

* feat: using search filter on quote creator email

* fix: right dependencies

* fix: remove p-limit from root package.json

* feat: suport for custom sort and where on ger seller quotes paginated

* [Seller Quotes] Add new markeplace splitting quotes on graphql (#57)

* feat: add new markeplace splitting quotes on graphql

* docs: update CHANGELOG

* chore: fix prettier errors

* fix: check config and default settings with marketplace option

* docs: update CHANGELOG and prettier fix on markdown

---------

Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>

---------

Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Guido Bernal <[email protected]>
Co-authored-by: BrunaCubos <[email protected]>
* feat: add new markeplace splitting quotes on graphql

* feat: checking new field quotesManagedBy when value is SELLER

* docs: update CHANGELOG

* feat: add configuration for quote creation

* feat: add adjustment for quote seller

* chore: fix prettier errors

* fix: returning ids separated by commas when multiple quotes

* fix: check config and default settings with marketplace option

* feat: new fields for quotes managed by seller

* feat: new fields to save parent quote; change getQuotes query to filter only parent quotes

* feat: create client to notify seller quote

* feat: add changelog

* feat: verify and notify seller quote

* chore: removes console.log from SellerQuotesClient

* docs: update CHANGELOG and prettier fix on markdown

* fix: right splitting of seller quotes

* feat: refactor on creating seller quote map; avoid double check of seller

* refactor: seller quotes client constants

* feat: send creationDate on notify seller quote

* feat: provides a route for seller get a quote by id at marketplace

* docs: update CHANGELOG

* refactor: separating get seller quote into smaller functions

* refactor: function to get org anc cost center names

* refactor: create service class for seller quotes

* fix: removing approvedBySeller field from quote entity

* refactor: renaming seller quotes service to controller

* feat: provides a route for seller save a quote at marketplace

* feat: get seller quotes paginated

* feat: use seller quote controller

* docs: add changelog

* chore: fix misspell

* fix: use array destructuring

* fix: sorting get seller quotes for right pagination

* feat: supporting search and status filters on get seller quotes

* feat: using search filter on quote creator email

* feat: add split quote query

* fix: right dependencies

* fix: remove p-limit from root package.json

* feat: suport for custom sort and where on ger seller quotes paginated

* [Seller Quotes] Add new markeplace splitting quotes on graphql (#57)

* feat: add new markeplace splitting quotes on graphql

* docs: update CHANGELOG

* chore: fix prettier errors

* fix: check config and default settings with marketplace option

* docs: update CHANGELOG and prettier fix on markdown

---------

Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>

---------

Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>
Co-authored-by: Tiago de Andrade Freire <[email protected]>
Co-authored-by: Guido Bernal <[email protected]>
Copy link

vtex-io-ci-cd bot commented Jan 10, 2025

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-io-docs-bot
Copy link

vtex-io-docs-bot bot commented Jan 10, 2025

Beep boop 🤖

I noticed you didn't make any changes at the docs/ folder

  • There's nothing new to document 🤔
  • I'll do it later 😞

In order to keep track, I'll create an issue if you decide now is not a good time

  • I just updated 🎉🎉

Copy link

github-actions bot commented Jan 10, 2025

Messages
📖 ❤️ Thanks!
📖

🎉 PR additions = 284, PR deletions = 14

Generated by 🚫 dangerJS against 22727bb

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants