Skip to content
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

PAY-469-updated-types-for-recurring-payments #88

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

ShahinMoneyhub
Copy link
Contributor

Changes:

  • Updated types for RecurringPaymentRequest

| "Month"
| "Half-year"
| "Year"
type PeriodType = "Day" | "Week" | "Fortnight" | "Month" | "Half-year" | "Year";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Want to try and make sure your formatter doesn't add semicolons to the end. Its not part of our style. Can see that guide here: https://www.notion.so/moneyhub/Development-process-and-style-guide-081e887009414e88a9fe5e8e3df1bf8a#9febd1cc3e0a4a45ad11c873dd86cc54

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed semicolons now, formatter was to blame

Choose a reason for hiding this comment

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

It's all reformatted actually, I reckon format on save with prettier installed globally? If so, I think this might be useful, though not familiar with the setup in this particular repo

@@ -139,27 +127,31 @@ export interface RecurringPaymentSearchParams extends SearchParams {
}

type RecurringPaymentStatus =
Copy link
Collaborator

Choose a reason for hiding this comment

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

So i think we only return these statuses: https://openbankinguk.github.io/read-write-api-site3/v3.1.11/resources-and-data-models/vrp/domestic-vrps.html#status

The longer list is if we get the paymentDetails and i am not too sure if we add that to the normal status. I can have a look and return to this comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have used the condensed list for now

@ShahinMoneyhub ShahinMoneyhub merged commit 1e6c0f9 into master Jul 11, 2024
7 checks passed
@ShahinMoneyhub ShahinMoneyhub deleted the PAY-469-update-moneyhub-api-client-vrp-types branch July 11, 2024 14:34
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.

4 participants