isRenewalwas 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.
policyobject 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-datefor the ability to query policies windowed by day with an optional key. Reference
/policies/:policyIdendpoint. This is a breakdown of claim line items and how they impact the different coverages on a policy. Reference
/policies/:policyIdendpoints to return policy uploads
/claims/:claimIdendpoints to return claim evidences
refundLeftoverAmount. See documentation here
/claimsPOST to allow optional metadata in the body
/claims/:claimIdendpoint to allow updating a claim
lastUpdatedByin response body
/tasks/:taskId. Useful for creating internal workflow integrations. See the documentation here
oldPolicyin the invoice worker on term recalculation.
suppressionflag 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
premiumvalue is the sum of term premium plus any additional and/or return premium
termEndDateinto the recalulation of terms
updatedAtfields in all queried documents and webhook events
Upgraded to 1.1.0
metadatain 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.