@a_team/prisma 3.13.8-macos-docker-linux → 3.14.0-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-e2d6e04651d126f503f253cb0a7eea4cf22f5ccbaca967e9fd4fa37d094735d3",
2
+ "name": "prisma-client-e0c41f5b4d0edb15ed3c128be898636b202d6bf5d1c9ec57c71ac753368b7747",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -561,6 +561,58 @@ model Experience {
561
561
  @@map("experiences")
562
562
  }
563
563
 
564
+ enum InvoiceType {
565
+ MissionPaymentCycle
566
+ MissionRoleTimesheet
567
+ MissionRolePlatformFee
568
+ WorkspacePaymentCycle
569
+ }
570
+
571
+ enum InvoicePaymentStatus {
572
+ Paid
573
+ Canceled
574
+ Created
575
+ Static
576
+ }
577
+
578
+ type Stripe {
579
+ customerId String?
580
+ paymentIntent String?
581
+ }
582
+
583
+ type RelatedDates {
584
+ startDate DateTime?
585
+ endDate DateTime?
586
+ }
587
+
588
+ model Invoice {
589
+ id String @id @default(auto()) @map("_id") @db.ObjectId
590
+ relatedDates RelatedDates
591
+ type InvoiceType
592
+ totalAmount Int
593
+ status InvoicePaymentStatus
594
+ downloadURL String
595
+ referenceNumber Int
596
+ relatedInvoices String[] @db.ObjectId
597
+
598
+ key String?
599
+
600
+ stripe Stripe?
601
+ stripeCustomerId String?
602
+ paymentTerms String?
603
+ currency String?
604
+ createdAt DateTime
605
+ dueDate DateTime?
606
+ paidAt DateTime?
607
+ issuedAt DateTime?
608
+
609
+ paymentCycle String? @map("paymentCycle") @db.ObjectId
610
+ mission String? @map("mission") @db.ObjectId
611
+ accountId String? @map("account") @db.ObjectId
612
+
613
+ @@map("invoices")
614
+ }
615
+
564
616
  model LinkedInRecommendation {
565
617
  id String @id @default(auto()) @map("_id") @db.ObjectId
566
618
  userId String @db.ObjectId
@@ -1094,6 +1146,23 @@ type ClientRoleQuestion {
1094
1146
  updatedAt DateTime? @db.Date
1095
1147
  }
1096
1148
 
1149
+ enum PaymentCycleStatus {
1150
+ Open
1151
+ Closed
1152
+ }
1153
+
1154
+ model PaymentCycle {
1155
+ id String @id @default(auto()) @map("_id") @db.ObjectId
1156
+ mission String @map("mission") @db.ObjectId
1157
+ status PaymentCycleStatus
1158
+ createdAt DateTime
1159
+ updatedAt DateTime?
1160
+ startDate DateTime
1161
+ endDate DateTime
1162
+
1163
+ @@map("missionPaymentCycles")
1164
+ }
1165
+
1097
1166
  model Proposal {
1098
1167
  id String @id @default(auto()) @map("_id") @db.ObjectId
1099
1168
  createdBy String? @db.ObjectId
@@ -281,6 +281,27 @@ exports.Prisma.ExperienceScalarFieldEnum = {
281
281
  skills: 'skills'
282
282
  };
283
283
 
284
+ exports.Prisma.InvoiceScalarFieldEnum = {
285
+ id: 'id',
286
+ type: 'type',
287
+ totalAmount: 'totalAmount',
288
+ status: 'status',
289
+ downloadURL: 'downloadURL',
290
+ referenceNumber: 'referenceNumber',
291
+ relatedInvoices: 'relatedInvoices',
292
+ key: 'key',
293
+ stripeCustomerId: 'stripeCustomerId',
294
+ paymentTerms: 'paymentTerms',
295
+ currency: 'currency',
296
+ createdAt: 'createdAt',
297
+ dueDate: 'dueDate',
298
+ paidAt: 'paidAt',
299
+ issuedAt: 'issuedAt',
300
+ paymentCycle: 'paymentCycle',
301
+ mission: 'mission',
302
+ accountId: 'accountId'
303
+ };
304
+
284
305
  exports.Prisma.LinkedInRecommendationScalarFieldEnum = {
285
306
  id: 'id',
286
307
  userId: 'userId',
@@ -389,6 +410,16 @@ exports.Prisma.MissionSpecScalarFieldEnum = {
389
410
  workingHoursNumberOfMinutesOverlap: 'workingHoursNumberOfMinutesOverlap'
390
411
  };
391
412
 
413
+ exports.Prisma.PaymentCycleScalarFieldEnum = {
414
+ id: 'id',
415
+ mission: 'mission',
416
+ status: 'status',
417
+ createdAt: 'createdAt',
418
+ updatedAt: 'updatedAt',
419
+ startDate: 'startDate',
420
+ endDate: 'endDate'
421
+ };
422
+
392
423
  exports.Prisma.ProposalScalarFieldEnum = {
393
424
  id: 'id',
394
425
  createdBy: 'createdBy',
@@ -576,6 +607,20 @@ exports.ExperienceType = exports.$Enums.ExperienceType = {
576
607
  project: 'project'
577
608
  };
578
609
 
610
+ exports.InvoiceType = exports.$Enums.InvoiceType = {
611
+ MissionPaymentCycle: 'MissionPaymentCycle',
612
+ MissionRoleTimesheet: 'MissionRoleTimesheet',
613
+ MissionRolePlatformFee: 'MissionRolePlatformFee',
614
+ WorkspacePaymentCycle: 'WorkspacePaymentCycle'
615
+ };
616
+
617
+ exports.InvoicePaymentStatus = exports.$Enums.InvoicePaymentStatus = {
618
+ Paid: 'Paid',
619
+ Canceled: 'Canceled',
620
+ Created: 'Created',
621
+ Static: 'Static'
622
+ };
623
+
579
624
  exports.MissionStatus = exports.$Enums.MissionStatus = {
580
625
  Spec: 'Spec',
581
626
  Formation: 'Formation',
@@ -602,6 +647,11 @@ exports.MissionSpecStatus = exports.$Enums.MissionSpecStatus = {
602
647
  published: 'published'
603
648
  };
604
649
 
650
+ exports.PaymentCycleStatus = exports.$Enums.PaymentCycleStatus = {
651
+ Open: 'Open',
652
+ Closed: 'Closed'
653
+ };
654
+
605
655
  exports.ProposalSchemaVersion = exports.$Enums.ProposalSchemaVersion = {
606
656
  v1: 'v1',
607
657
  v2: 'v2',
@@ -799,11 +849,13 @@ exports.Prisma.ModelName = {
799
849
  Company: 'Company',
800
850
  Contract: 'Contract',
801
851
  Experience: 'Experience',
852
+ Invoice: 'Invoice',
802
853
  LinkedInRecommendation: 'LinkedInRecommendation',
803
854
  Mission: 'Mission',
804
855
  MissionApplication: 'MissionApplication',
805
856
  MissionPrefill: 'MissionPrefill',
806
857
  MissionSpec: 'MissionSpec',
858
+ PaymentCycle: 'PaymentCycle',
807
859
  Proposal: 'Proposal',
808
860
  RoleCategory: 'RoleCategory',
809
861
  Solution: 'Solution',
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.13.8-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.14.0-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {