@factor-wise/prisma-schema 2.0.19 → 2.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factor-wise/prisma-schema",
3
- "version": "2.0.19",
3
+ "version": "2.0.21",
4
4
  "description": "Shared Prisma schema and generated client for Factor Wise projects",
5
5
  "main": "generated/client/index.js",
6
6
  "types": "generated/client/index.d.ts",
@@ -1581,11 +1581,27 @@ model PayoutStatusHistory {
1581
1581
  payoutId Int
1582
1582
  oldStatus PayoutStatus?
1583
1583
  newStatus PayoutStatus
1584
+ performed_by Int?
1584
1585
  createdAt DateTime @default(now())
1585
1586
 
1586
1587
  payout Payout @relation(fields: [payoutId], references: [id])
1587
1588
  }
1588
1589
 
1590
+ model PayoutDowntime {
1591
+ id String @id
1592
+ bank String?
1593
+ method String
1594
+ status String
1595
+ source String?
1596
+ begin Int
1597
+ end Int?
1598
+ scheduled Boolean
1599
+ createdAt DateTime @default(now())
1600
+ updatedAt DateTime @updatedAt
1601
+
1602
+ @@index([method, bank])
1603
+ }
1604
+
1589
1605
  /// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
1590
1606
  model penny_drop {
1591
1607
  id Int
@@ -2690,6 +2706,7 @@ enum disbursement_requests_status {
2690
2706
 
2691
2707
  enum PayoutStatus {
2692
2708
  APPROVAL_PENDING
2709
+ HOLD
2693
2710
  APPROVED
2694
2711
  QUEUED
2695
2712
  PENDING