@factor-wise/prisma-schema 2.0.19 → 2.0.20

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.20",
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",
@@ -1586,6 +1586,21 @@ model PayoutStatusHistory {
1586
1586
  payout Payout @relation(fields: [payoutId], references: [id])
1587
1587
  }
1588
1588
 
1589
+ model PayoutDowntime {
1590
+ id String @id
1591
+ bank String?
1592
+ method String
1593
+ status String
1594
+ source String?
1595
+ begin Int
1596
+ end Int?
1597
+ scheduled Boolean
1598
+ createdAt DateTime @default(now())
1599
+ updatedAt DateTime @updatedAt
1600
+
1601
+ @@index([method, bank])
1602
+ }
1603
+
1589
1604
  /// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
1590
1605
  model penny_drop {
1591
1606
  id Int
@@ -2690,6 +2705,7 @@ enum disbursement_requests_status {
2690
2705
 
2691
2706
  enum PayoutStatus {
2692
2707
  APPROVAL_PENDING
2708
+ HOLD
2693
2709
  APPROVED
2694
2710
  QUEUED
2695
2711
  PENDING