Skip to content

feat: POST /reminder#524

Merged
sergiojoker11 merged 28 commits into
mainfrom
feat/post-reminder
Apr 18, 2025
Merged

feat: POST /reminder#524
sergiojoker11 merged 28 commits into
mainfrom
feat/post-reminder

Conversation

@sergiojoker11
Copy link
Copy Markdown
Member

@sergiojoker11 sergiojoker11 commented Apr 11, 2025

depends on: Notifycal/shared#111

Comment thread src/lambdas/api/post-reminder/index.ts Outdated
@dsiguero
Copy link
Copy Markdown
Member

dsiguero commented Apr 13, 2025

Assuming I'm not in the wrong place again:

I think we should rename the endpoint to be POST /test-reminder (or /onboarding-test-reminder or something along those lines) to reflect it isn't part of the "regular processing".

@sergiojoker11 sergiojoker11 force-pushed the feat/post-reminder branch 4 times, most recently from 1a124af to 1dca7e2 Compare April 15, 2025 19:14
Comment thread src/lambdas/api/post-reminder/index.ts Outdated
Comment thread tf/api_gateway.tf Outdated
Comment thread openapi/spec.yaml Outdated
businessAddress:
description: Business address
type: string
business:
Copy link
Copy Markdown
Member Author

@sergiojoker11 sergiojoker11 Apr 16, 2025

Choose a reason for hiding this comment

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

the reason for most changes in component-definitions cause this was outdated PATCH payload endpoint. My bad actually.

@sergiojoker11 sergiojoker11 force-pushed the feat/post-reminder branch 2 times, most recently from 4af9b76 to d6fd5c5 Compare April 16, 2025 13:39
Comment thread src/services/common/index-store.ts Outdated
}
}

protected getCommandRunner<T>(
Copy link
Copy Markdown
Member Author

@sergiojoker11 sergiojoker11 Apr 16, 2025

Choose a reason for hiding this comment

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

Test it. Edit: it works against Localstack.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I copy-pasted this from src/services/common/base-store.ts. I don;t remember what the argument was to keep IndexStore and BaseStore totally separte. I was wonder if IndexStore might extend BaseStore.

@sergiojoker11 sergiojoker11 force-pushed the feat/post-reminder branch 2 times, most recently from 4d3feef to 176d2a4 Compare April 16, 2025 17:33
Comment thread package.json Outdated
Comment thread openapi/component-definitions.yaml Outdated
Comment thread openapi/spec.yaml
content:
application/json:
schema:
type: object
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this was outdated

Comment thread package.json Outdated
"@middy/core": "^6.0.0",
"@middy/http-cors": "^6.0.0",
"@notifycal/shared": "3.1.1",
"@notifycal/shared": "file:../shared/notifycal-shared-3.1.1.tgz",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

bump once shared PR is merghed and released

type: 'phone',
countryCode: 'ES',
phoneNumber: '666777888' as PhoneNumber
Calendars: [validCalendar],
Copy link
Copy Markdown
Member Author

@sergiojoker11 sergiojoker11 Apr 17, 2025

Choose a reason for hiding this comment

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

This wasn;t strictly needed to implement the feature but I had to modify that part of the code base and I ended up making a mistake cause of this. Definetely it is way better to split the models completely. ie: api/persistance

Comment thread src/services/stores/user-live-index-store.ts Outdated
@sergiojoker11 sergiojoker11 force-pushed the feat/post-reminder branch 4 times, most recently from a3876a4 to 7e436d5 Compare April 17, 2025 22:07
Comment thread src/services/stores/user-base-store.ts
Comment thread tf/variables.tf
Comment thread tf/lambda_shared.tf Outdated
Comment thread src/utils/errors.ts
messageBody: string,
sender: MessageSender,
receiver: MessageReceiver,
sender: SenderStandardContact,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

SenderStandardContact vs SenderNonStandardContact? what does Standard mean here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SenderStandardContact -> phone in E164 OR RCSSenderId
SenderContact -> local phone number or RCSSender

@sergiojoker11 sergiojoker11 merged commit 0a5c36b into main Apr 18, 2025
4 checks passed
@sergiojoker11 sergiojoker11 deleted the feat/post-reminder branch April 18, 2025 23:23
sergiojoker11 pushed a commit that referenced this pull request Apr 20, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.29.0](v0.28.1...v0.29.0)
(2025-04-18)


### Features

* POST /reminder
([#524](#524))
([0a5c36b](0a5c36b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants