refund roadmap pr-1 and pr-2
This commit is contained in:
@@ -60,7 +60,8 @@ export const ModelName = {
|
||||
TripImage: 'TripImage',
|
||||
TripParticipant: 'TripParticipant',
|
||||
Booking: 'Booking',
|
||||
Payment: 'Payment'
|
||||
Payment: 'Payment',
|
||||
Refund: 'Refund'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
@@ -252,6 +253,31 @@ export const PaymentScalarFieldEnum = {
|
||||
export type PaymentScalarFieldEnum = (typeof PaymentScalarFieldEnum)[keyof typeof PaymentScalarFieldEnum]
|
||||
|
||||
|
||||
export const RefundScalarFieldEnum = {
|
||||
id: 'id',
|
||||
bookingId: 'bookingId',
|
||||
paymentId: 'paymentId',
|
||||
amount: 'amount',
|
||||
currency: 'currency',
|
||||
reason: 'reason',
|
||||
reportedBy: 'reportedBy',
|
||||
reportNote: 'reportNote',
|
||||
initiatedBy: 'initiatedBy',
|
||||
status: 'status',
|
||||
idempotencyKey: 'idempotencyKey',
|
||||
adminNote: 'adminNote',
|
||||
reviewedById: 'reviewedById',
|
||||
reviewedAt: 'reviewedAt',
|
||||
succeededAt: 'succeededAt',
|
||||
failedAt: 'failedAt',
|
||||
externalRefundId: 'externalRefundId',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type RefundScalarFieldEnum = (typeof RefundScalarFieldEnum)[keyof typeof RefundScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
|
||||
Reference in New Issue
Block a user