isRenewal was not passing to the rating worker in the regeneration logic. Added an event flag that's passed to the rating worker to depict which event is invoking the worker.
isRenewal flag and
policy object into the ratings worker. The policy object is present if a quote is created for a renewal and is the policy that it is renewed from.
/policies/by-date for the ability to query policies windowed by day with an optional key. Reference
/policies/:policyId endpoint. This is a breakdown of claim line items and how they impact the different coverages on a policy. Reference
uploads to the
/policies/:policyId endpoints to return policy uploads
evidences to the
/claims/:claimId endpoints to return claim evidences
refundLeftoverAmount. See documentation here
/claims POST to allow optional metadata in the body
/claims/:claimId endpoint to allow updating a claim
lastUpdatedBy in response body
/tasks/:taskId. Useful for creating internal workflow integrations. See the documentation here
oldPolicy in the invoice worker on term recalculation.
suppression flag in responses from the API. Suppressions work off of GDPR policies. Additionally a new gdpr.delete policy has been created for the ability to manage suppressions
premium. The new
premium value is the sum of term premium plus any additional and/or return premium
termEndDate into the recalulation of terms
updatedAt fields in all queried documents and webhook events
.pdf in their title download with proper mime types in some browsers
Upgraded to 1.1.0
/metadata/:collection/:documentId endpoint. View.
invoice.overdue webhook. View.
metadata in quote generation requests in favor of
Quote metadata will be represented as ratingsData in both a quote and a policy. The decision to move away from the metadata namespace was made because of the introduction of metadata across the rest of our collections.
/quotes/bind endpoint in favor of
/quotes/documents/:quoteId endpoint in favor of
/policies/cancel endpoint in favor of
/policies/documents/:policyId endpoint in favor of
/invoices endpoint in favor of
/claims/evidences/:claimId endpoint in favor of
/products/:productId/test-rating endpoint in favor of
/products/documents/:productId endpoint in favor of
Upgraded response types in the documentation UI.
metadata field into GET responses.
Added version selector for API docs.