trycourier / courier-java

Java SDK for communicating with the Courier REST API.
MIT License
7 stars 5 forks source link

add expiry to message #23

Closed rileylnapier closed 1 year ago

rileylnapier commented 1 year ago

Description of the change

add the property "expires" that contains "expires_at" and "expires_in"

Type of change

Related issues

Fix [#1]()

Checklists

Development

Code review

linear[bot] commented 1 year ago
C-7815 update expiry

> **Detailed Description** **Why do we need this change?** Background: based on feedback, duration should be using: [https://tc39.es/proposal-temporal/docs/duration.html#:\~:text=Briefly%2C%20the%20ISO%208601%20notation,suffix%20that%20indicates%20the%20unit](https://tc39.es/proposal-temporal/docs/duration.html#:\~:text=Briefly%2C%20the%20ISO%208601%20notation,suffix%20that%20indicates%20the%20unit) Figma spec (if any): Steps to reproduce (if an issue/bug): > **Who are the stakeholders (customers, other teams/functions etc)** > **Any Follow-ups required (customer communication, slack ACK, etc)** > **Additional Context** Link to intercom/slack/discord > **Acceptance Criteria** * [ ] Documentation * [ ] Unit Tests * [ ] Smoke Tests * [ ] Rainforest * [ ] Works on all supported screen sizes * [ ] Load testing