-
Notifications
You must be signed in to change notification settings - Fork 2
release-20251211 #502
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
Merged
release-20251211 #502
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat(ai-review): update version filter to v2 in AI review retrieval
feat(api): update tryber-database to v0.46.2 and add human resources endpoint
… refactor route class
…um for numeric fields
…idation and database updates
…ents UN-2159: put dossier id agreements
Modified src/reference/openapi.yml feat: add endpoint to retrieve agreements for a specific customer fix: remove unnecessary x-stoplight ID from get customer agreements operation feat: implement GET endpoint for retrieving customer agreements refactor: improve access control logic for customer agreements feat: enhance agreement retrieval logic to include token usage calculations refactor: refactored methods and retrieval refactor: streamline customer campaign access checks by separating logic into distinct methods
…ements UN-2154 get customers id agreements
feat(schema): add hasPlan property to operations interface feat(campaign): add hasPlan property to campaign response and related tests feat: add hasPlan property to operations interface and reorder name field in items chore: sort openapi
UN-2153 has plan dossier
feat(dossiers): add endpoint for retrieving dossier rates fix(dependencies): update @appquality/tryber-database to version 0.46.01 fix(dependencies): update @appquality/tryber-database to version 0.46.1 feat(dossiers): implement GET endpoint for retrieving dossier rates with access control fix(dossiers): update access control logic for campaign OLPS in dossier rates route feat: sort reference
UN-2157 get dossiers rates
- Implemented POST endpoint for campaigns to handle Jotform surveys. - Created route handler to process Jotform submissions and store responses. - Added unit tests to validate access control and response handling. - Updated schema to include new endpoint and request/response structures. - Upgraded tryber-database dependency to version 0.46.4.
feat: add Jotform survey integration for campaign tasks
Modified src/reference/openapi.yml feat: implement PUT route for updating human resources in campaign test: enhance PUT route tests for human resources with additional assertions feat: enhance validation for human resources PUT route to check profile and work rate existence Modified src/reference/openapi.yml Modified src/reference/openapi.yml fix: remove exclusiveMinimum property from assignee in campaigns path
test: enhance PUT route tests for human resources with additional assertions
fix: rename work_rate to rate in human resources routes
feat: add handling for empty body in human resources PUT route
…tation-users fix: update invitation handling in dossier post route and related tests
Tests difference:New Tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several new features, updates, and improvements across the codebase. The most significant changes include the addition of new API routes for customer agreements and survey imports, enhancements to user filtering logic for campaign notifications, and updates to dependencies. Below are the most important changes grouped by theme:
New Features:
src/routes/customers/customer/agreements/_get/index.tsto retrieve customer agreements, including logic for permission checks and calculation of remaining tokens.src/routes/campaigns/campaignId/tasks/usecase/survey/jotform/_post/index.tsto import Jotform surveys into usecase surveys, with corresponding tests. [1] [2]src/routes/customers/customer/agreements/_get/index.spec.ts.User Filtering and Notification Logic:
src/routes/dossiers/_post/index.tsto exclude users with pending customer account invitations when notifying campaign watchers.src/routes/dossiers/_post/notifyEveryone.spec.tsto cover scenarios with pending invitations and multiple users, ensuring correct watcher notifications. [1] [2] [3]Dependency Updates:
@appquality/tryber-databasedependency inpackage.jsonto version^0.46.4.yaml-sortas a new development dependency inpackage.json.Bug Review Versioning:
src/routes/campaigns/campaignId/bugs/bugId/aiReview/_get/index.tsto use version "v2" instead of "v1", and updated related tests. [1] [2] [3]