efiber-prisma-schema 2.3.0 → 2.3.1

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-751d095da1eef134c6bc654b24e4f580f923c89f2573c3bb4ae60e0bbd7ea4fa",
2
+ "name": "prisma-client-9714cba9d5276f9183003bdc1bb016db63442424016a915f319457866e62d02b",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -134,6 +134,12 @@ enum CableAttachmentRole {
134
134
  ORIGIN
135
135
  }
136
136
 
137
+ enum NetworkElementProvenance {
138
+ SYSTEM_DESIGN_IMPORT
139
+ SYSTEM_DESIGN_MANUAL
140
+ FIELD_CAPTURE
141
+ }
142
+
137
143
  model Country {
138
144
  id String @id @unique @default(uuid())
139
145
  no Int @default(autoincrement())
@@ -1520,8 +1526,9 @@ model Cable {
1520
1526
  isInstalled Boolean @default(false)
1521
1527
  installationDate DateTime?
1522
1528
 
1523
- isInRevision Boolean @default(false)
1524
- installationStatus String? @default("pending") //pending, approved, in-revision
1529
+ isInRevision Boolean @default(false)
1530
+ installationStatus String? @default("pending") //pending, approved, in-revision
1531
+ provenance NetworkElementProvenance?
1525
1532
 
1526
1533
  comments String?
1527
1534
 
@@ -1676,8 +1683,9 @@ model Conduit {
1676
1683
  isInstalled Boolean @default(false)
1677
1684
  installationDate DateTime?
1678
1685
 
1679
- isInRevision Boolean @default(false)
1680
- installationStatus String? @default("pending") //pending, approved, in-revision
1686
+ isInRevision Boolean @default(false)
1687
+ installationStatus String? @default("pending") //pending, approved, in-revision
1688
+ provenance NetworkElementProvenance?
1681
1689
 
1682
1690
  address String? //Address of the conduit
1683
1691
  deploymentPhase String? //Deployment phase of the conduit
@@ -1887,8 +1895,9 @@ model PboFat {
1887
1895
 
1888
1896
  comments String?
1889
1897
 
1890
- isInRevision Boolean @default(false)
1891
- installationStatus String? @default("pending") //pending, approved, in-revision
1898
+ isInRevision Boolean @default(false)
1899
+ installationStatus String? @default("pending") //pending, approved, in-revision
1900
+ provenance NetworkElementProvenance?
1892
1901
 
1893
1902
  // Reporting mirrors
1894
1903
  fatMaximumCapacity Int? //Maximum capacity of the PBO FAT
@@ -2003,8 +2012,9 @@ model SpliceClosure {
2003
2012
  isInstalled Boolean @default(false)
2004
2013
  installationDate DateTime?
2005
2014
 
2006
- isInRevision Boolean @default(false)
2007
- installationStatus String? @default("pending") //pending, approved, in-revision
2015
+ isInRevision Boolean @default(false)
2016
+ installationStatus String? @default("pending") //pending, approved, in-revision
2017
+ provenance NetworkElementProvenance?
2008
2018
 
2009
2019
  comments String?
2010
2020
 
@@ -2232,8 +2242,9 @@ model Pole {
2232
2242
 
2233
2243
  comments String?
2234
2244
 
2235
- isInRevision Boolean @default(false)
2236
- installationStatus String? @default("pending") //pending, approved, in-revision
2245
+ isInRevision Boolean @default(false)
2246
+ installationStatus String? @default("pending") //pending, approved, in-revision
2247
+ provenance NetworkElementProvenance?
2237
2248
 
2238
2249
  createdAt DateTime @default(now())
2239
2250
  updatedAt DateTime @updatedAt
@@ -2330,12 +2341,12 @@ model Manhole {
2330
2341
 
2331
2342
  comments String?
2332
2343
 
2333
- isInRevision Boolean @default(false)
2334
- installationStatus String? @default("pending") //pending, approved, in-revision
2335
-
2336
- createdAt DateTime @default(now())
2337
- updatedAt DateTime @updatedAt
2338
- deletedAt DateTime?
2344
+ isInRevision Boolean @default(false)
2345
+ installationStatus String? @default("pending") //pending, approved, in-revision
2346
+ provenance NetworkElementProvenance?
2347
+ createdAt DateTime @default(now())
2348
+ updatedAt DateTime @updatedAt
2349
+ deletedAt DateTime?
2339
2350
 
2340
2351
  updatedBy User? @relation(fields: [updatedById], references: [id])
2341
2352
  updatedById String?
@@ -2425,12 +2436,12 @@ model Loop {
2425
2436
 
2426
2437
  comments String?
2427
2438
 
2428
- isInRevision Boolean @default(false)
2429
- installationStatus String? @default("pending") //pending, approved, in-revision
2430
-
2431
- createdAt DateTime @default(now())
2432
- updatedAt DateTime @updatedAt
2433
- deletedAt DateTime?
2439
+ isInRevision Boolean @default(false)
2440
+ installationStatus String? @default("pending") //pending, approved, in-revision
2441
+ provenance NetworkElementProvenance?
2442
+ createdAt DateTime @default(now())
2443
+ updatedAt DateTime @updatedAt
2444
+ deletedAt DateTime?
2434
2445
 
2435
2446
  updatedBy User? @relation(fields: [updatedById], references: [id])
2436
2447
  updatedById String?
@@ -2518,9 +2529,9 @@ model FDTSRO {
2518
2529
 
2519
2530
  comments String?
2520
2531
 
2521
- isInRevision Boolean @default(false)
2522
- installationStatus String? @default("pending") //pending, approved, in-revision
2523
-
2532
+ isInRevision Boolean @default(false)
2533
+ installationStatus String? @default("pending") //pending, approved, in-revision
2534
+ provenance NetworkElementProvenance?
2524
2535
  // Reporting mirrors
2525
2536
  maximumCapacity Int? //Maximum capacity of the FDTSRO
2526
2537
  typeOfEnclosure String? //Type of the enclosure
@@ -2627,8 +2638,9 @@ model SFU {
2627
2638
  macAddress String? //MAC address of the Router in the SFU
2628
2639
  gponAddress String? //GPON address of the SFU
2629
2640
 
2630
- isInRevision Boolean @default(false)
2631
- installationStatus String? @default("pending") //pending, approved, in-revision
2641
+ isInRevision Boolean @default(false)
2642
+ installationStatus String? @default("pending") //pending, approved, in-revision
2643
+ provenance NetworkElementProvenance?
2632
2644
 
2633
2645
  comments String?
2634
2646
 
@@ -2720,8 +2732,9 @@ model Building {
2720
2732
  templateIndex Int?
2721
2733
 
2722
2734
  asBuiltCoordinates Json? //Coordinates when installed
2723
- isInstalled Boolean @default(false)
2735
+ isInstalled Boolean @default(false)
2724
2736
  installationDate DateTime?
2737
+ provenance NetworkElementProvenance?
2725
2738
 
2726
2739
  comments String?
2727
2740
 
@@ -2906,6 +2919,8 @@ model MapElement {
2906
2919
  updatedAt DateTime @updatedAt
2907
2920
  deletedAt DateTime?
2908
2921
 
2922
+ provenance NetworkElementProvenance?
2923
+
2909
2924
  updatedBy User? @relation(fields: [updatedById], references: [id])
2910
2925
  updatedById String?
2911
2926