Skip to content

update ICreateTemplateResponse #89

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

Closed
wants to merge 3 commits into from
Closed

Conversation

tristan-vu
Copy link
Contributor

@tristan-vu tristan-vu commented Apr 8, 2025

ref: SCLABS-2488

Description

update ICreateTemplateResponse to include responseJson

How to manually test

  1. Install version x.x.x
  2. Use service ...
  3. ...

Include label

We are following this pattern to keep our package version updated. Please add the appropriate label to your Pull requests between the following:

  • Version: Major
  • Version: Minor
  • Version: Patch

Acceptation criteria

  • Added the corrected label to my pull request
  • Added/updated tests impacted by the change
  • Documentation is up-to-date (README.md / INSTALL.md)
  • Manually tested?

Copy link

github-actions bot commented Apr 8, 2025

Bump version from 0.2.8 to 0.2.9

1 similar comment
Copy link

github-actions bot commented Apr 8, 2025

Bump version from 0.2.8 to 0.2.9

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🤖 🚀 🔥

@tristan-vu tristan-vu changed the title feat(whats-app-template): update ICreateTemplateResponse SCLABS-2488 update ICreateTemplateResponse Apr 8, 2025
Copy link
Contributor

@Vico1993 Vico1993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to update the description of the PR

@@ -144,7 +144,11 @@ export interface ITemplatesResponse {
after?: string;
}

export interface ICreateTemplateResponse extends ICreateTemplate {
export interface ICreateTemplateResponse {
responseJson: IMessageTemplate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can remove responseJson from the element we return to the user ?

@@ -144,7 +144,11 @@ export interface ITemplatesResponse {
after?: string;
}

export interface ICreateTemplateResponse extends ICreateTemplate {
export interface ICreateTemplateResponse {
responseJson: IMessageTemplate;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make a Generic type for responseJson response type?

@tristan-vu tristan-vu closed this Apr 8, 2025
@tristan-vu tristan-vu deleted the tristan-vu/SCLABS-2488 branch April 8, 2025 18:38
@tristan-vu tristan-vu changed the title SCLABS-2488 update ICreateTemplateResponse update ICreateTemplateResponse Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants