@a_team/prisma 3.13.6-macos-docker-linux → 3.13.7-linux

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-54238d3f690038effc8b1340b109ebd5b9466b80a859bd7b204d8ec6575a7ebe",
2
+ "name": "prisma-client-d8da041e2ca5770fd4d424d6092d802d30b724f4ff9d23e160cd1af6837cc854",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -138,6 +138,13 @@ enum EventStatus {
138
138
  canceled
139
139
  }
140
140
 
141
+ enum ReminderStatus {
142
+ scheduled
143
+ sent
144
+ failed
145
+ cancelled
146
+ }
147
+
141
148
  type Attendee {
142
149
  email String
143
150
  name String?
@@ -169,6 +176,17 @@ type NotificationChannel {
169
176
  expiration String
170
177
  }
171
178
 
179
+ type ScheduledReminder {
180
+ id String @default(uuid())
181
+ reminderType String // "24h", "1h", "10m", etc.
182
+ scheduledFor String // in UTC
183
+ status ReminderStatus @default(scheduled)
184
+ jobName String // cron job identifier
185
+ sentAt DateTime?
186
+ failureReason String?
187
+ createdAt DateTime @default(now())
188
+ }
189
+
172
190
  model CalendarEvent {
173
191
  id String @id @default(auto()) @map("_id") @db.ObjectId
174
192
  calendarEventId String? // events with no auto confirmation won't initially have the event id.
@@ -192,6 +210,7 @@ model CalendarEvent {
192
210
  rescheduleReason String?
193
211
  originalStartTime String?
194
212
  originalEndTime String?
213
+ scheduledReminders ScheduledReminder[] // tracks scheduled reminders
195
214
  createdAt DateTime
196
215
  updatedAt DateTime
197
216
  clientInterview ClientInterview?
@@ -683,6 +683,13 @@ exports.BillingPaymentDue = exports.$Enums.BillingPaymentDue = {
683
683
  Net120: 'Net120'
684
684
  };
685
685
 
686
+ exports.ReminderStatus = exports.$Enums.ReminderStatus = {
687
+ scheduled: 'scheduled',
688
+ sent: 'sent',
689
+ failed: 'failed',
690
+ cancelled: 'cancelled'
691
+ };
692
+
686
693
  exports.ClientInterviewFeedbackAction = exports.$Enums.ClientInterviewFeedbackAction = {
687
694
  Hire: 'Hire',
688
695
  BookFollowUpInterview: 'BookFollowUpInterview',
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.13.6-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.13.7-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {