-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add orderId and createdAt to Payout Log schema and aggregation logic #125
Conversation
PR Description updated to latest commit (ca3a845) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
/describe |
PR Description updated to latest commit (0715cdc) |
Type
enhancement
Description
orderId
andorderCreatedAt
.Changes walkthrough
paginate.ts
Minor Formatting Adjustment in Payout Log Pagination
src/functions/customer/services/payout-log/paginate.ts
balance.spec.ts
Include Order ID in Payout Log Model Creation for Tests
src/functions/customer/services/payout/balance.spec.ts
orderId
toPayoutLogModel.create
calls in tests.create.ts
Enhance Payout Creation with Order ID and Creation Date
src/functions/customer/services/payout/create.ts
lineItems
toorders
and includedorderId
andorderCreatedAt
inshipping and line item logs.
id
andcreated_at
.payout-log.schema.ts
Extend Payout Log Schema with Order ID and Creation Date
src/functions/payout-log/payout-log.schema.ts
orderId
andorderCreatedAt
fields to thePayoutLogMongooseSchema
.payout-log.types.ts
Update Payout Log Types to Include Order Details
src/functions/payout-log/payout-log.types.ts
orderId
andorderCreatedAt
inPayoutLogZodSchema
.payout-log.yaml
Update OpenAPI Schema for Payout Logs with New Fields
openapi/paths/customer/payout-log/_types/payout-log.yaml
orderId
andorderCreatedAt
to the OpenAPI schema for payoutlogs.