@delpa/mt-prisma 0.16.0 → 0.17.0

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.
@@ -410,11 +410,12 @@ export type GpsProviders = (typeof GpsProviders)[keyof typeof GpsProviders]
410
410
 
411
411
 
412
412
  export const TenderStatus: {
413
+ DRAFT: 'DRAFT',
413
414
  OPEN: 'OPEN',
414
415
  CLOSED: 'CLOSED',
415
416
  AWARDED: 'AWARDED',
417
+ NOT_AWARDED: 'NOT_AWARDED',
416
418
  CANCELLED: 'CANCELLED',
417
- DRAFT: 'DRAFT',
418
419
  PAUSED: 'PAUSED'
419
420
  };
420
421
 
@@ -439,8 +440,8 @@ export type TripType = (typeof TripType)[keyof typeof TripType]
439
440
 
440
441
  export const ApplicationStatus: {
441
442
  PENDING: 'PENDING',
442
- APPROVED: 'APPROVED',
443
- REJECTED: 'REJECTED',
443
+ AWARDED: 'AWARDED',
444
+ NOT_AWARDED: 'NOT_AWARDED',
444
445
  WITHDRAWN: 'WITHDRAWN'
445
446
  };
446
447
 
@@ -5024,11 +5025,13 @@ export namespace Prisma {
5024
5025
  form_responses: number
5025
5026
  forms: number
5026
5027
  tenders: number
5028
+ orders: number
5027
5029
  groups: number
5028
5030
  companyLocations: number
5029
5031
  regularSuppliers: number
5030
5032
  products: number
5031
5033
  regularSuppliers2: number
5034
+ supplierNotifications: number
5032
5035
  }
5033
5036
 
5034
5037
  export type CompaniesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -5040,11 +5043,13 @@ export namespace Prisma {
5040
5043
  form_responses?: boolean | CompaniesCountOutputTypeCountForm_responsesArgs
5041
5044
  forms?: boolean | CompaniesCountOutputTypeCountFormsArgs
5042
5045
  tenders?: boolean | CompaniesCountOutputTypeCountTendersArgs
5046
+ orders?: boolean | CompaniesCountOutputTypeCountOrdersArgs
5043
5047
  groups?: boolean | CompaniesCountOutputTypeCountGroupsArgs
5044
5048
  companyLocations?: boolean | CompaniesCountOutputTypeCountCompanyLocationsArgs
5045
5049
  regularSuppliers?: boolean | CompaniesCountOutputTypeCountRegularSuppliersArgs
5046
5050
  products?: boolean | CompaniesCountOutputTypeCountProductsArgs
5047
5051
  regularSuppliers2?: boolean | CompaniesCountOutputTypeCountRegularSuppliers2Args
5052
+ supplierNotifications?: boolean | CompaniesCountOutputTypeCountSupplierNotificationsArgs
5048
5053
  }
5049
5054
 
5050
5055
  // Custom InputTypes
@@ -5114,6 +5119,13 @@ export namespace Prisma {
5114
5119
  where?: TenderWhereInput
5115
5120
  }
5116
5121
 
5122
+ /**
5123
+ * CompaniesCountOutputType without action
5124
+ */
5125
+ export type CompaniesCountOutputTypeCountOrdersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5126
+ where?: OrderWhereInput
5127
+ }
5128
+
5117
5129
  /**
5118
5130
  * CompaniesCountOutputType without action
5119
5131
  */
@@ -5149,6 +5161,13 @@ export namespace Prisma {
5149
5161
  where?: RegularSupplierWhereInput
5150
5162
  }
5151
5163
 
5164
+ /**
5165
+ * CompaniesCountOutputType without action
5166
+ */
5167
+ export type CompaniesCountOutputTypeCountSupplierNotificationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
5168
+ where?: TenderNotificationWhereInput
5169
+ }
5170
+
5152
5171
 
5153
5172
  /**
5154
5173
  * Count Type HandlingUnitCountOutputType
@@ -10882,6 +10901,8 @@ export namespace Prisma {
10882
10901
  id: string | null
10883
10902
  reference: string | null
10884
10903
  shipper_id: string | null
10904
+ company_id: string | null
10905
+ created_by: string | null
10885
10906
  status: $Enums.RouteStatus | null
10886
10907
  created_at: Date | null
10887
10908
  updated_at: Date | null
@@ -10891,6 +10912,8 @@ export namespace Prisma {
10891
10912
  id: string | null
10892
10913
  reference: string | null
10893
10914
  shipper_id: string | null
10915
+ company_id: string | null
10916
+ created_by: string | null
10894
10917
  status: $Enums.RouteStatus | null
10895
10918
  created_at: Date | null
10896
10919
  updated_at: Date | null
@@ -10900,6 +10923,8 @@ export namespace Prisma {
10900
10923
  id: number
10901
10924
  reference: number
10902
10925
  shipper_id: number
10926
+ company_id: number
10927
+ created_by: number
10903
10928
  attachments: number
10904
10929
  status: number
10905
10930
  created_at: number
@@ -10912,6 +10937,8 @@ export namespace Prisma {
10912
10937
  id?: true
10913
10938
  reference?: true
10914
10939
  shipper_id?: true
10940
+ company_id?: true
10941
+ created_by?: true
10915
10942
  status?: true
10916
10943
  created_at?: true
10917
10944
  updated_at?: true
@@ -10921,6 +10948,8 @@ export namespace Prisma {
10921
10948
  id?: true
10922
10949
  reference?: true
10923
10950
  shipper_id?: true
10951
+ company_id?: true
10952
+ created_by?: true
10924
10953
  status?: true
10925
10954
  created_at?: true
10926
10955
  updated_at?: true
@@ -10930,6 +10959,8 @@ export namespace Prisma {
10930
10959
  id?: true
10931
10960
  reference?: true
10932
10961
  shipper_id?: true
10962
+ company_id?: true
10963
+ created_by?: true
10933
10964
  attachments?: true
10934
10965
  status?: true
10935
10966
  created_at?: true
@@ -11013,6 +11044,8 @@ export namespace Prisma {
11013
11044
  id: string
11014
11045
  reference: string | null
11015
11046
  shipper_id: string | null
11047
+ company_id: string | null
11048
+ created_by: string | null
11016
11049
  attachments: JsonValue | null
11017
11050
  status: $Enums.RouteStatus
11018
11051
  created_at: Date
@@ -11040,11 +11073,14 @@ export namespace Prisma {
11040
11073
  id?: boolean
11041
11074
  reference?: boolean
11042
11075
  shipper_id?: boolean
11076
+ company_id?: boolean
11077
+ created_by?: boolean
11043
11078
  attachments?: boolean
11044
11079
  status?: boolean
11045
11080
  created_at?: boolean
11046
11081
  updated_at?: boolean
11047
11082
  shipper?: boolean | Order$shipperArgs<ExtArgs>
11083
+ company?: boolean | Order$companyArgs<ExtArgs>
11048
11084
  handling_units?: boolean | Order$handling_unitsArgs<ExtArgs>
11049
11085
  routes?: boolean | Order$routesArgs<ExtArgs>
11050
11086
  tenders?: boolean | Order$tendersArgs<ExtArgs>
@@ -11055,37 +11091,46 @@ export namespace Prisma {
11055
11091
  id?: boolean
11056
11092
  reference?: boolean
11057
11093
  shipper_id?: boolean
11094
+ company_id?: boolean
11095
+ created_by?: boolean
11058
11096
  attachments?: boolean
11059
11097
  status?: boolean
11060
11098
  created_at?: boolean
11061
11099
  updated_at?: boolean
11062
11100
  shipper?: boolean | Order$shipperArgs<ExtArgs>
11101
+ company?: boolean | Order$companyArgs<ExtArgs>
11063
11102
  }, ExtArgs["result"]["order"]>
11064
11103
 
11065
11104
  export type OrderSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
11066
11105
  id?: boolean
11067
11106
  reference?: boolean
11068
11107
  shipper_id?: boolean
11108
+ company_id?: boolean
11109
+ created_by?: boolean
11069
11110
  attachments?: boolean
11070
11111
  status?: boolean
11071
11112
  created_at?: boolean
11072
11113
  updated_at?: boolean
11073
11114
  shipper?: boolean | Order$shipperArgs<ExtArgs>
11115
+ company?: boolean | Order$companyArgs<ExtArgs>
11074
11116
  }, ExtArgs["result"]["order"]>
11075
11117
 
11076
11118
  export type OrderSelectScalar = {
11077
11119
  id?: boolean
11078
11120
  reference?: boolean
11079
11121
  shipper_id?: boolean
11122
+ company_id?: boolean
11123
+ created_by?: boolean
11080
11124
  attachments?: boolean
11081
11125
  status?: boolean
11082
11126
  created_at?: boolean
11083
11127
  updated_at?: boolean
11084
11128
  }
11085
11129
 
11086
- export type OrderOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "reference" | "shipper_id" | "attachments" | "status" | "created_at" | "updated_at", ExtArgs["result"]["order"]>
11130
+ export type OrderOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "reference" | "shipper_id" | "company_id" | "created_by" | "attachments" | "status" | "created_at" | "updated_at", ExtArgs["result"]["order"]>
11087
11131
  export type OrderInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11088
11132
  shipper?: boolean | Order$shipperArgs<ExtArgs>
11133
+ company?: boolean | Order$companyArgs<ExtArgs>
11089
11134
  handling_units?: boolean | Order$handling_unitsArgs<ExtArgs>
11090
11135
  routes?: boolean | Order$routesArgs<ExtArgs>
11091
11136
  tenders?: boolean | Order$tendersArgs<ExtArgs>
@@ -11093,15 +11138,18 @@ export namespace Prisma {
11093
11138
  }
11094
11139
  export type OrderIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11095
11140
  shipper?: boolean | Order$shipperArgs<ExtArgs>
11141
+ company?: boolean | Order$companyArgs<ExtArgs>
11096
11142
  }
11097
11143
  export type OrderIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11098
11144
  shipper?: boolean | Order$shipperArgs<ExtArgs>
11145
+ company?: boolean | Order$companyArgs<ExtArgs>
11099
11146
  }
11100
11147
 
11101
11148
  export type $OrderPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
11102
11149
  name: "Order"
11103
11150
  objects: {
11104
11151
  shipper: Prisma.$ClientPayload<ExtArgs> | null
11152
+ company: Prisma.$CompaniesPayload<ExtArgs> | null
11105
11153
  handling_units: Prisma.$HandlingUnitPayload<ExtArgs>[]
11106
11154
  routes: Prisma.$RoutePayload<ExtArgs>[]
11107
11155
  tenders: Prisma.$TenderPayload<ExtArgs>[]
@@ -11110,6 +11158,8 @@ export namespace Prisma {
11110
11158
  id: string
11111
11159
  reference: string | null
11112
11160
  shipper_id: string | null
11161
+ company_id: string | null
11162
+ created_by: string | null
11113
11163
  attachments: Prisma.JsonValue | null
11114
11164
  status: $Enums.RouteStatus
11115
11165
  created_at: Date
@@ -11509,6 +11559,7 @@ export namespace Prisma {
11509
11559
  export interface Prisma__OrderClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
11510
11560
  readonly [Symbol.toStringTag]: "PrismaPromise"
11511
11561
  shipper<T extends Order$shipperArgs<ExtArgs> = {}>(args?: Subset<T, Order$shipperArgs<ExtArgs>>): Prisma__ClientClient<$Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
11562
+ company<T extends Order$companyArgs<ExtArgs> = {}>(args?: Subset<T, Order$companyArgs<ExtArgs>>): Prisma__CompaniesClient<$Result.GetResult<Prisma.$CompaniesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
11512
11563
  handling_units<T extends Order$handling_unitsArgs<ExtArgs> = {}>(args?: Subset<T, Order$handling_unitsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HandlingUnitPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
11513
11564
  routes<T extends Order$routesArgs<ExtArgs> = {}>(args?: Subset<T, Order$routesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RoutePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
11514
11565
  tenders<T extends Order$tendersArgs<ExtArgs> = {}>(args?: Subset<T, Order$tendersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TenderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
@@ -11544,6 +11595,8 @@ export namespace Prisma {
11544
11595
  readonly id: FieldRef<"Order", 'String'>
11545
11596
  readonly reference: FieldRef<"Order", 'String'>
11546
11597
  readonly shipper_id: FieldRef<"Order", 'String'>
11598
+ readonly company_id: FieldRef<"Order", 'String'>
11599
+ readonly created_by: FieldRef<"Order", 'String'>
11547
11600
  readonly attachments: FieldRef<"Order", 'Json'>
11548
11601
  readonly status: FieldRef<"Order", 'RouteStatus'>
11549
11602
  readonly created_at: FieldRef<"Order", 'DateTime'>
@@ -11962,6 +12015,25 @@ export namespace Prisma {
11962
12015
  where?: ClientWhereInput
11963
12016
  }
11964
12017
 
12018
+ /**
12019
+ * Order.company
12020
+ */
12021
+ export type Order$companyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12022
+ /**
12023
+ * Select specific fields to fetch from the Companies
12024
+ */
12025
+ select?: CompaniesSelect<ExtArgs> | null
12026
+ /**
12027
+ * Omit specific fields from the Companies
12028
+ */
12029
+ omit?: CompaniesOmit<ExtArgs> | null
12030
+ /**
12031
+ * Choose, which related nodes to fetch as well
12032
+ */
12033
+ include?: CompaniesInclude<ExtArgs> | null
12034
+ where?: CompaniesWhereInput
12035
+ }
12036
+
11965
12037
  /**
11966
12038
  * Order.handling_units
11967
12039
  */
@@ -12253,11 +12325,13 @@ export namespace Prisma {
12253
12325
  form_responses?: boolean | Companies$form_responsesArgs<ExtArgs>
12254
12326
  forms?: boolean | Companies$formsArgs<ExtArgs>
12255
12327
  tenders?: boolean | Companies$tendersArgs<ExtArgs>
12328
+ orders?: boolean | Companies$ordersArgs<ExtArgs>
12256
12329
  groups?: boolean | Companies$groupsArgs<ExtArgs>
12257
12330
  companyLocations?: boolean | Companies$companyLocationsArgs<ExtArgs>
12258
12331
  regularSuppliers?: boolean | Companies$regularSuppliersArgs<ExtArgs>
12259
12332
  products?: boolean | Companies$productsArgs<ExtArgs>
12260
12333
  regularSuppliers2?: boolean | Companies$regularSuppliers2Args<ExtArgs>
12334
+ supplierNotifications?: boolean | Companies$supplierNotificationsArgs<ExtArgs>
12261
12335
  _count?: boolean | CompaniesCountOutputTypeDefaultArgs<ExtArgs>
12262
12336
  }, ExtArgs["result"]["companies"]>
12263
12337
 
@@ -12310,11 +12384,13 @@ export namespace Prisma {
12310
12384
  form_responses?: boolean | Companies$form_responsesArgs<ExtArgs>
12311
12385
  forms?: boolean | Companies$formsArgs<ExtArgs>
12312
12386
  tenders?: boolean | Companies$tendersArgs<ExtArgs>
12387
+ orders?: boolean | Companies$ordersArgs<ExtArgs>
12313
12388
  groups?: boolean | Companies$groupsArgs<ExtArgs>
12314
12389
  companyLocations?: boolean | Companies$companyLocationsArgs<ExtArgs>
12315
12390
  regularSuppliers?: boolean | Companies$regularSuppliersArgs<ExtArgs>
12316
12391
  products?: boolean | Companies$productsArgs<ExtArgs>
12317
12392
  regularSuppliers2?: boolean | Companies$regularSuppliers2Args<ExtArgs>
12393
+ supplierNotifications?: boolean | Companies$supplierNotificationsArgs<ExtArgs>
12318
12394
  _count?: boolean | CompaniesCountOutputTypeDefaultArgs<ExtArgs>
12319
12395
  }
12320
12396
  export type CompaniesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
@@ -12331,11 +12407,13 @@ export namespace Prisma {
12331
12407
  form_responses: Prisma.$FormResponsePayload<ExtArgs>[]
12332
12408
  forms: Prisma.$FormPayload<ExtArgs>[]
12333
12409
  tenders: Prisma.$TenderPayload<ExtArgs>[]
12410
+ orders: Prisma.$OrderPayload<ExtArgs>[]
12334
12411
  groups: Prisma.$GroupPayload<ExtArgs>[]
12335
12412
  companyLocations: Prisma.$CompanyLocationPayload<ExtArgs>[]
12336
12413
  regularSuppliers: Prisma.$RegularSupplierPayload<ExtArgs>[]
12337
12414
  products: Prisma.$ProductPayload<ExtArgs>[]
12338
12415
  regularSuppliers2: Prisma.$RegularSupplierPayload<ExtArgs>[]
12416
+ supplierNotifications: Prisma.$TenderNotificationPayload<ExtArgs>[]
12339
12417
  }
12340
12418
  scalars: $Extensions.GetPayloadResult<{
12341
12419
  id: string
@@ -12750,11 +12828,13 @@ export namespace Prisma {
12750
12828
  form_responses<T extends Companies$form_responsesArgs<ExtArgs> = {}>(args?: Subset<T, Companies$form_responsesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FormResponsePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12751
12829
  forms<T extends Companies$formsArgs<ExtArgs> = {}>(args?: Subset<T, Companies$formsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$FormPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12752
12830
  tenders<T extends Companies$tendersArgs<ExtArgs> = {}>(args?: Subset<T, Companies$tendersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TenderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12831
+ orders<T extends Companies$ordersArgs<ExtArgs> = {}>(args?: Subset<T, Companies$ordersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12753
12832
  groups<T extends Companies$groupsArgs<ExtArgs> = {}>(args?: Subset<T, Companies$groupsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$GroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12754
12833
  companyLocations<T extends Companies$companyLocationsArgs<ExtArgs> = {}>(args?: Subset<T, Companies$companyLocationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CompanyLocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12755
12834
  regularSuppliers<T extends Companies$regularSuppliersArgs<ExtArgs> = {}>(args?: Subset<T, Companies$regularSuppliersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RegularSupplierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12756
12835
  products<T extends Companies$productsArgs<ExtArgs> = {}>(args?: Subset<T, Companies$productsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12757
12836
  regularSuppliers2<T extends Companies$regularSuppliers2Args<ExtArgs> = {}>(args?: Subset<T, Companies$regularSuppliers2Args<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RegularSupplierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12837
+ supplierNotifications<T extends Companies$supplierNotificationsArgs<ExtArgs> = {}>(args?: Subset<T, Companies$supplierNotificationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TenderNotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
12758
12838
  /**
12759
12839
  * Attaches callbacks for the resolution and/or rejection of the Promise.
12760
12840
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -13373,6 +13453,30 @@ export namespace Prisma {
13373
13453
  distinct?: TenderScalarFieldEnum | TenderScalarFieldEnum[]
13374
13454
  }
13375
13455
 
13456
+ /**
13457
+ * Companies.orders
13458
+ */
13459
+ export type Companies$ordersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13460
+ /**
13461
+ * Select specific fields to fetch from the Order
13462
+ */
13463
+ select?: OrderSelect<ExtArgs> | null
13464
+ /**
13465
+ * Omit specific fields from the Order
13466
+ */
13467
+ omit?: OrderOmit<ExtArgs> | null
13468
+ /**
13469
+ * Choose, which related nodes to fetch as well
13470
+ */
13471
+ include?: OrderInclude<ExtArgs> | null
13472
+ where?: OrderWhereInput
13473
+ orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[]
13474
+ cursor?: OrderWhereUniqueInput
13475
+ take?: number
13476
+ skip?: number
13477
+ distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[]
13478
+ }
13479
+
13376
13480
  /**
13377
13481
  * Companies.groups
13378
13482
  */
@@ -13493,6 +13597,30 @@ export namespace Prisma {
13493
13597
  distinct?: RegularSupplierScalarFieldEnum | RegularSupplierScalarFieldEnum[]
13494
13598
  }
13495
13599
 
13600
+ /**
13601
+ * Companies.supplierNotifications
13602
+ */
13603
+ export type Companies$supplierNotificationsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13604
+ /**
13605
+ * Select specific fields to fetch from the TenderNotification
13606
+ */
13607
+ select?: TenderNotificationSelect<ExtArgs> | null
13608
+ /**
13609
+ * Omit specific fields from the TenderNotification
13610
+ */
13611
+ omit?: TenderNotificationOmit<ExtArgs> | null
13612
+ /**
13613
+ * Choose, which related nodes to fetch as well
13614
+ */
13615
+ include?: TenderNotificationInclude<ExtArgs> | null
13616
+ where?: TenderNotificationWhereInput
13617
+ orderBy?: TenderNotificationOrderByWithRelationInput | TenderNotificationOrderByWithRelationInput[]
13618
+ cursor?: TenderNotificationWhereUniqueInput
13619
+ take?: number
13620
+ skip?: number
13621
+ distinct?: TenderNotificationScalarFieldEnum | TenderNotificationScalarFieldEnum[]
13622
+ }
13623
+
13496
13624
  /**
13497
13625
  * Companies without action
13498
13626
  */
@@ -41527,6 +41655,7 @@ export namespace Prisma {
41527
41655
 
41528
41656
  export type TenderMinAggregateOutputType = {
41529
41657
  id: string | null
41658
+ code: string | null
41530
41659
  title: string | null
41531
41660
  description: string | null
41532
41661
  status: $Enums.TenderStatus | null
@@ -41545,6 +41674,7 @@ export namespace Prisma {
41545
41674
 
41546
41675
  export type TenderMaxAggregateOutputType = {
41547
41676
  id: string | null
41677
+ code: string | null
41548
41678
  title: string | null
41549
41679
  description: string | null
41550
41680
  status: $Enums.TenderStatus | null
@@ -41563,6 +41693,7 @@ export namespace Prisma {
41563
41693
 
41564
41694
  export type TenderCountAggregateOutputType = {
41565
41695
  id: number
41696
+ code: number
41566
41697
  title: number
41567
41698
  description: number
41568
41699
  status: number
@@ -41592,6 +41723,7 @@ export namespace Prisma {
41592
41723
 
41593
41724
  export type TenderMinAggregateInputType = {
41594
41725
  id?: true
41726
+ code?: true
41595
41727
  title?: true
41596
41728
  description?: true
41597
41729
  status?: true
@@ -41610,6 +41742,7 @@ export namespace Prisma {
41610
41742
 
41611
41743
  export type TenderMaxAggregateInputType = {
41612
41744
  id?: true
41745
+ code?: true
41613
41746
  title?: true
41614
41747
  description?: true
41615
41748
  status?: true
@@ -41628,6 +41761,7 @@ export namespace Prisma {
41628
41761
 
41629
41762
  export type TenderCountAggregateInputType = {
41630
41763
  id?: true
41764
+ code?: true
41631
41765
  title?: true
41632
41766
  description?: true
41633
41767
  status?: true
@@ -41734,6 +41868,7 @@ export namespace Prisma {
41734
41868
 
41735
41869
  export type TenderGroupByOutputType = {
41736
41870
  id: string
41871
+ code: string | null
41737
41872
  title: string
41738
41873
  description: string | null
41739
41874
  status: $Enums.TenderStatus
@@ -41772,6 +41907,7 @@ export namespace Prisma {
41772
41907
 
41773
41908
  export type TenderSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
41774
41909
  id?: boolean
41910
+ code?: boolean
41775
41911
  title?: boolean
41776
41912
  description?: boolean
41777
41913
  status?: boolean
@@ -41799,6 +41935,7 @@ export namespace Prisma {
41799
41935
 
41800
41936
  export type TenderSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
41801
41937
  id?: boolean
41938
+ code?: boolean
41802
41939
  title?: boolean
41803
41940
  description?: boolean
41804
41941
  status?: boolean
@@ -41821,6 +41958,7 @@ export namespace Prisma {
41821
41958
 
41822
41959
  export type TenderSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
41823
41960
  id?: boolean
41961
+ code?: boolean
41824
41962
  title?: boolean
41825
41963
  description?: boolean
41826
41964
  status?: boolean
@@ -41843,6 +41981,7 @@ export namespace Prisma {
41843
41981
 
41844
41982
  export type TenderSelectScalar = {
41845
41983
  id?: boolean
41984
+ code?: boolean
41846
41985
  title?: boolean
41847
41986
  description?: boolean
41848
41987
  status?: boolean
@@ -41860,7 +41999,7 @@ export namespace Prisma {
41860
41999
  updated_at?: boolean
41861
42000
  }
41862
42001
 
41863
- export type TenderOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "title" | "description" | "status" | "tender_type" | "tender_mode" | "budget" | "currency" | "user_id" | "company_id" | "order_id" | "trip_type" | "expiration_date" | "terms_and_conditions" | "created_at" | "updated_at", ExtArgs["result"]["tender"]>
42002
+ export type TenderOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "code" | "title" | "description" | "status" | "tender_type" | "tender_mode" | "budget" | "currency" | "user_id" | "company_id" | "order_id" | "trip_type" | "expiration_date" | "terms_and_conditions" | "created_at" | "updated_at", ExtArgs["result"]["tender"]>
41864
42003
  export type TenderInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
41865
42004
  user?: boolean | UserDefaultArgs<ExtArgs>
41866
42005
  company?: boolean | CompaniesDefaultArgs<ExtArgs>
@@ -41895,6 +42034,7 @@ export namespace Prisma {
41895
42034
  }
41896
42035
  scalars: $Extensions.GetPayloadResult<{
41897
42036
  id: string
42037
+ code: string | null
41898
42038
  title: string
41899
42039
  description: string | null
41900
42040
  status: $Enums.TenderStatus
@@ -42341,6 +42481,7 @@ export namespace Prisma {
42341
42481
  */
42342
42482
  interface TenderFieldRefs {
42343
42483
  readonly id: FieldRef<"Tender", 'String'>
42484
+ readonly code: FieldRef<"Tender", 'String'>
42344
42485
  readonly title: FieldRef<"Tender", 'String'>
42345
42486
  readonly description: FieldRef<"Tender", 'String'>
42346
42487
  readonly status: FieldRef<"Tender", 'TenderStatus'>
@@ -45310,6 +45451,7 @@ export namespace Prisma {
45310
45451
  user_sends_id: string | null
45311
45452
  user_receives_id: string | null
45312
45453
  message: string | null
45454
+ read_at: Date | null
45313
45455
  created_at: Date | null
45314
45456
  }
45315
45457
 
@@ -45319,6 +45461,7 @@ export namespace Prisma {
45319
45461
  user_sends_id: string | null
45320
45462
  user_receives_id: string | null
45321
45463
  message: string | null
45464
+ read_at: Date | null
45322
45465
  created_at: Date | null
45323
45466
  }
45324
45467
 
@@ -45328,6 +45471,7 @@ export namespace Prisma {
45328
45471
  user_sends_id: number
45329
45472
  user_receives_id: number
45330
45473
  message: number
45474
+ read_at: number
45331
45475
  created_at: number
45332
45476
  _all: number
45333
45477
  }
@@ -45339,6 +45483,7 @@ export namespace Prisma {
45339
45483
  user_sends_id?: true
45340
45484
  user_receives_id?: true
45341
45485
  message?: true
45486
+ read_at?: true
45342
45487
  created_at?: true
45343
45488
  }
45344
45489
 
@@ -45348,6 +45493,7 @@ export namespace Prisma {
45348
45493
  user_sends_id?: true
45349
45494
  user_receives_id?: true
45350
45495
  message?: true
45496
+ read_at?: true
45351
45497
  created_at?: true
45352
45498
  }
45353
45499
 
@@ -45357,6 +45503,7 @@ export namespace Prisma {
45357
45503
  user_sends_id?: true
45358
45504
  user_receives_id?: true
45359
45505
  message?: true
45506
+ read_at?: true
45360
45507
  created_at?: true
45361
45508
  _all?: true
45362
45509
  }
@@ -45439,6 +45586,7 @@ export namespace Prisma {
45439
45586
  user_sends_id: string
45440
45587
  user_receives_id: string
45441
45588
  message: string
45589
+ read_at: Date | null
45442
45590
  created_at: Date
45443
45591
  _count: TenderChatCountAggregateOutputType | null
45444
45592
  _min: TenderChatMinAggregateOutputType | null
@@ -45465,6 +45613,7 @@ export namespace Prisma {
45465
45613
  user_sends_id?: boolean
45466
45614
  user_receives_id?: boolean
45467
45615
  message?: boolean
45616
+ read_at?: boolean
45468
45617
  created_at?: boolean
45469
45618
  tender?: boolean | TenderDefaultArgs<ExtArgs>
45470
45619
  user_sends?: boolean | UserDefaultArgs<ExtArgs>
@@ -45477,6 +45626,7 @@ export namespace Prisma {
45477
45626
  user_sends_id?: boolean
45478
45627
  user_receives_id?: boolean
45479
45628
  message?: boolean
45629
+ read_at?: boolean
45480
45630
  created_at?: boolean
45481
45631
  tender?: boolean | TenderDefaultArgs<ExtArgs>
45482
45632
  user_sends?: boolean | UserDefaultArgs<ExtArgs>
@@ -45489,6 +45639,7 @@ export namespace Prisma {
45489
45639
  user_sends_id?: boolean
45490
45640
  user_receives_id?: boolean
45491
45641
  message?: boolean
45642
+ read_at?: boolean
45492
45643
  created_at?: boolean
45493
45644
  tender?: boolean | TenderDefaultArgs<ExtArgs>
45494
45645
  user_sends?: boolean | UserDefaultArgs<ExtArgs>
@@ -45501,10 +45652,11 @@ export namespace Prisma {
45501
45652
  user_sends_id?: boolean
45502
45653
  user_receives_id?: boolean
45503
45654
  message?: boolean
45655
+ read_at?: boolean
45504
45656
  created_at?: boolean
45505
45657
  }
45506
45658
 
45507
- export type TenderChatOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "tender_id" | "user_sends_id" | "user_receives_id" | "message" | "created_at", ExtArgs["result"]["tenderChat"]>
45659
+ export type TenderChatOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "tender_id" | "user_sends_id" | "user_receives_id" | "message" | "read_at" | "created_at", ExtArgs["result"]["tenderChat"]>
45508
45660
  export type TenderChatInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
45509
45661
  tender?: boolean | TenderDefaultArgs<ExtArgs>
45510
45662
  user_sends?: boolean | UserDefaultArgs<ExtArgs>
@@ -45534,6 +45686,7 @@ export namespace Prisma {
45534
45686
  user_sends_id: string
45535
45687
  user_receives_id: string
45536
45688
  message: string
45689
+ read_at: Date | null
45537
45690
  created_at: Date
45538
45691
  }, ExtArgs["result"]["tenderChat"]>
45539
45692
  composites: {}
@@ -45966,6 +46119,7 @@ export namespace Prisma {
45966
46119
  readonly user_sends_id: FieldRef<"TenderChat", 'String'>
45967
46120
  readonly user_receives_id: FieldRef<"TenderChat", 'String'>
45968
46121
  readonly message: FieldRef<"TenderChat", 'String'>
46122
+ readonly read_at: FieldRef<"TenderChat", 'DateTime'>
45969
46123
  readonly created_at: FieldRef<"TenderChat", 'DateTime'>
45970
46124
  }
45971
46125
 
@@ -49804,6 +49958,7 @@ export namespace Prisma {
49804
49958
  tender_id: string | null
49805
49959
  user_id: string | null
49806
49960
  group_id: string | null
49961
+ supplier_company_id: string | null
49807
49962
  whatsapp: boolean | null
49808
49963
  email: boolean | null
49809
49964
  push: boolean | null
@@ -49816,6 +49971,7 @@ export namespace Prisma {
49816
49971
  tender_id: string | null
49817
49972
  user_id: string | null
49818
49973
  group_id: string | null
49974
+ supplier_company_id: string | null
49819
49975
  whatsapp: boolean | null
49820
49976
  email: boolean | null
49821
49977
  push: boolean | null
@@ -49828,6 +49984,7 @@ export namespace Prisma {
49828
49984
  tender_id: number
49829
49985
  user_id: number
49830
49986
  group_id: number
49987
+ supplier_company_id: number
49831
49988
  whatsapp: number
49832
49989
  email: number
49833
49990
  push: number
@@ -49842,6 +49999,7 @@ export namespace Prisma {
49842
49999
  tender_id?: true
49843
50000
  user_id?: true
49844
50001
  group_id?: true
50002
+ supplier_company_id?: true
49845
50003
  whatsapp?: true
49846
50004
  email?: true
49847
50005
  push?: true
@@ -49854,6 +50012,7 @@ export namespace Prisma {
49854
50012
  tender_id?: true
49855
50013
  user_id?: true
49856
50014
  group_id?: true
50015
+ supplier_company_id?: true
49857
50016
  whatsapp?: true
49858
50017
  email?: true
49859
50018
  push?: true
@@ -49866,6 +50025,7 @@ export namespace Prisma {
49866
50025
  tender_id?: true
49867
50026
  user_id?: true
49868
50027
  group_id?: true
50028
+ supplier_company_id?: true
49869
50029
  whatsapp?: true
49870
50030
  email?: true
49871
50031
  push?: true
@@ -49951,6 +50111,7 @@ export namespace Prisma {
49951
50111
  tender_id: string
49952
50112
  user_id: string | null
49953
50113
  group_id: string | null
50114
+ supplier_company_id: string | null
49954
50115
  whatsapp: boolean
49955
50116
  email: boolean
49956
50117
  push: boolean
@@ -49980,6 +50141,7 @@ export namespace Prisma {
49980
50141
  tender_id?: boolean
49981
50142
  user_id?: boolean
49982
50143
  group_id?: boolean
50144
+ supplier_company_id?: boolean
49983
50145
  whatsapp?: boolean
49984
50146
  email?: boolean
49985
50147
  push?: boolean
@@ -49988,6 +50150,7 @@ export namespace Prisma {
49988
50150
  tender?: boolean | TenderDefaultArgs<ExtArgs>
49989
50151
  user?: boolean | TenderNotification$userArgs<ExtArgs>
49990
50152
  group?: boolean | TenderNotification$groupArgs<ExtArgs>
50153
+ supplierCompany?: boolean | TenderNotification$supplierCompanyArgs<ExtArgs>
49991
50154
  }, ExtArgs["result"]["tenderNotification"]>
49992
50155
 
49993
50156
  export type TenderNotificationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -49995,6 +50158,7 @@ export namespace Prisma {
49995
50158
  tender_id?: boolean
49996
50159
  user_id?: boolean
49997
50160
  group_id?: boolean
50161
+ supplier_company_id?: boolean
49998
50162
  whatsapp?: boolean
49999
50163
  email?: boolean
50000
50164
  push?: boolean
@@ -50003,6 +50167,7 @@ export namespace Prisma {
50003
50167
  tender?: boolean | TenderDefaultArgs<ExtArgs>
50004
50168
  user?: boolean | TenderNotification$userArgs<ExtArgs>
50005
50169
  group?: boolean | TenderNotification$groupArgs<ExtArgs>
50170
+ supplierCompany?: boolean | TenderNotification$supplierCompanyArgs<ExtArgs>
50006
50171
  }, ExtArgs["result"]["tenderNotification"]>
50007
50172
 
50008
50173
  export type TenderNotificationSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@@ -50010,6 +50175,7 @@ export namespace Prisma {
50010
50175
  tender_id?: boolean
50011
50176
  user_id?: boolean
50012
50177
  group_id?: boolean
50178
+ supplier_company_id?: boolean
50013
50179
  whatsapp?: boolean
50014
50180
  email?: boolean
50015
50181
  push?: boolean
@@ -50018,6 +50184,7 @@ export namespace Prisma {
50018
50184
  tender?: boolean | TenderDefaultArgs<ExtArgs>
50019
50185
  user?: boolean | TenderNotification$userArgs<ExtArgs>
50020
50186
  group?: boolean | TenderNotification$groupArgs<ExtArgs>
50187
+ supplierCompany?: boolean | TenderNotification$supplierCompanyArgs<ExtArgs>
50021
50188
  }, ExtArgs["result"]["tenderNotification"]>
50022
50189
 
50023
50190
  export type TenderNotificationSelectScalar = {
@@ -50025,6 +50192,7 @@ export namespace Prisma {
50025
50192
  tender_id?: boolean
50026
50193
  user_id?: boolean
50027
50194
  group_id?: boolean
50195
+ supplier_company_id?: boolean
50028
50196
  whatsapp?: boolean
50029
50197
  email?: boolean
50030
50198
  push?: boolean
@@ -50032,21 +50200,24 @@ export namespace Prisma {
50032
50200
  created_at?: boolean
50033
50201
  }
50034
50202
 
50035
- export type TenderNotificationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "tender_id" | "user_id" | "group_id" | "whatsapp" | "email" | "push" | "message" | "created_at", ExtArgs["result"]["tenderNotification"]>
50203
+ export type TenderNotificationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "tender_id" | "user_id" | "group_id" | "supplier_company_id" | "whatsapp" | "email" | "push" | "message" | "created_at", ExtArgs["result"]["tenderNotification"]>
50036
50204
  export type TenderNotificationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50037
50205
  tender?: boolean | TenderDefaultArgs<ExtArgs>
50038
50206
  user?: boolean | TenderNotification$userArgs<ExtArgs>
50039
50207
  group?: boolean | TenderNotification$groupArgs<ExtArgs>
50208
+ supplierCompany?: boolean | TenderNotification$supplierCompanyArgs<ExtArgs>
50040
50209
  }
50041
50210
  export type TenderNotificationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50042
50211
  tender?: boolean | TenderDefaultArgs<ExtArgs>
50043
50212
  user?: boolean | TenderNotification$userArgs<ExtArgs>
50044
50213
  group?: boolean | TenderNotification$groupArgs<ExtArgs>
50214
+ supplierCompany?: boolean | TenderNotification$supplierCompanyArgs<ExtArgs>
50045
50215
  }
50046
50216
  export type TenderNotificationIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
50047
50217
  tender?: boolean | TenderDefaultArgs<ExtArgs>
50048
50218
  user?: boolean | TenderNotification$userArgs<ExtArgs>
50049
50219
  group?: boolean | TenderNotification$groupArgs<ExtArgs>
50220
+ supplierCompany?: boolean | TenderNotification$supplierCompanyArgs<ExtArgs>
50050
50221
  }
50051
50222
 
50052
50223
  export type $TenderNotificationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -50055,12 +50226,14 @@ export namespace Prisma {
50055
50226
  tender: Prisma.$TenderPayload<ExtArgs>
50056
50227
  user: Prisma.$UserPayload<ExtArgs> | null
50057
50228
  group: Prisma.$GroupPayload<ExtArgs> | null
50229
+ supplierCompany: Prisma.$CompaniesPayload<ExtArgs> | null
50058
50230
  }
50059
50231
  scalars: $Extensions.GetPayloadResult<{
50060
50232
  id: string
50061
50233
  tender_id: string
50062
50234
  user_id: string | null
50063
50235
  group_id: string | null
50236
+ supplier_company_id: string | null
50064
50237
  whatsapp: boolean
50065
50238
  email: boolean
50066
50239
  push: boolean
@@ -50463,6 +50636,7 @@ export namespace Prisma {
50463
50636
  tender<T extends TenderDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TenderDefaultArgs<ExtArgs>>): Prisma__TenderClient<$Result.GetResult<Prisma.$TenderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
50464
50637
  user<T extends TenderNotification$userArgs<ExtArgs> = {}>(args?: Subset<T, TenderNotification$userArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
50465
50638
  group<T extends TenderNotification$groupArgs<ExtArgs> = {}>(args?: Subset<T, TenderNotification$groupArgs<ExtArgs>>): Prisma__GroupClient<$Result.GetResult<Prisma.$GroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
50639
+ supplierCompany<T extends TenderNotification$supplierCompanyArgs<ExtArgs> = {}>(args?: Subset<T, TenderNotification$supplierCompanyArgs<ExtArgs>>): Prisma__CompaniesClient<$Result.GetResult<Prisma.$CompaniesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
50466
50640
  /**
50467
50641
  * Attaches callbacks for the resolution and/or rejection of the Promise.
50468
50642
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -50496,6 +50670,7 @@ export namespace Prisma {
50496
50670
  readonly tender_id: FieldRef<"TenderNotification", 'String'>
50497
50671
  readonly user_id: FieldRef<"TenderNotification", 'String'>
50498
50672
  readonly group_id: FieldRef<"TenderNotification", 'String'>
50673
+ readonly supplier_company_id: FieldRef<"TenderNotification", 'String'>
50499
50674
  readonly whatsapp: FieldRef<"TenderNotification", 'Boolean'>
50500
50675
  readonly email: FieldRef<"TenderNotification", 'Boolean'>
50501
50676
  readonly push: FieldRef<"TenderNotification", 'Boolean'>
@@ -50934,6 +51109,25 @@ export namespace Prisma {
50934
51109
  where?: GroupWhereInput
50935
51110
  }
50936
51111
 
51112
+ /**
51113
+ * TenderNotification.supplierCompany
51114
+ */
51115
+ export type TenderNotification$supplierCompanyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
51116
+ /**
51117
+ * Select specific fields to fetch from the Companies
51118
+ */
51119
+ select?: CompaniesSelect<ExtArgs> | null
51120
+ /**
51121
+ * Omit specific fields from the Companies
51122
+ */
51123
+ omit?: CompaniesOmit<ExtArgs> | null
51124
+ /**
51125
+ * Choose, which related nodes to fetch as well
51126
+ */
51127
+ include?: CompaniesInclude<ExtArgs> | null
51128
+ where?: CompaniesWhereInput
51129
+ }
51130
+
50937
51131
  /**
50938
51132
  * TenderNotification without action
50939
51133
  */
@@ -55218,6 +55412,8 @@ export namespace Prisma {
55218
55412
  id: 'id',
55219
55413
  reference: 'reference',
55220
55414
  shipper_id: 'shipper_id',
55415
+ company_id: 'company_id',
55416
+ created_by: 'created_by',
55221
55417
  attachments: 'attachments',
55222
55418
  status: 'status',
55223
55419
  created_at: 'created_at',
@@ -55628,6 +55824,7 @@ export namespace Prisma {
55628
55824
 
55629
55825
  export const TenderScalarFieldEnum: {
55630
55826
  id: 'id',
55827
+ code: 'code',
55631
55828
  title: 'title',
55632
55829
  description: 'description',
55633
55830
  status: 'status',
@@ -55689,6 +55886,7 @@ export namespace Prisma {
55689
55886
  user_sends_id: 'user_sends_id',
55690
55887
  user_receives_id: 'user_receives_id',
55691
55888
  message: 'message',
55889
+ read_at: 'read_at',
55692
55890
  created_at: 'created_at'
55693
55891
  };
55694
55892
 
@@ -55740,6 +55938,7 @@ export namespace Prisma {
55740
55938
  tender_id: 'tender_id',
55741
55939
  user_id: 'user_id',
55742
55940
  group_id: 'group_id',
55941
+ supplier_company_id: 'supplier_company_id',
55743
55942
  whatsapp: 'whatsapp',
55744
55943
  email: 'email',
55745
55944
  push: 'push',
@@ -56653,11 +56852,14 @@ export namespace Prisma {
56653
56852
  id?: UuidFilter<"Order"> | string
56654
56853
  reference?: StringNullableFilter<"Order"> | string | null
56655
56854
  shipper_id?: UuidNullableFilter<"Order"> | string | null
56855
+ company_id?: UuidNullableFilter<"Order"> | string | null
56856
+ created_by?: UuidNullableFilter<"Order"> | string | null
56656
56857
  attachments?: JsonNullableFilter<"Order">
56657
56858
  status?: EnumRouteStatusFilter<"Order"> | $Enums.RouteStatus
56658
56859
  created_at?: DateTimeFilter<"Order"> | Date | string
56659
56860
  updated_at?: DateTimeFilter<"Order"> | Date | string
56660
56861
  shipper?: XOR<ClientNullableScalarRelationFilter, ClientWhereInput> | null
56862
+ company?: XOR<CompaniesNullableScalarRelationFilter, CompaniesWhereInput> | null
56661
56863
  handling_units?: HandlingUnitListRelationFilter
56662
56864
  routes?: RouteListRelationFilter
56663
56865
  tenders?: TenderListRelationFilter
@@ -56667,11 +56869,14 @@ export namespace Prisma {
56667
56869
  id?: SortOrder
56668
56870
  reference?: SortOrderInput | SortOrder
56669
56871
  shipper_id?: SortOrderInput | SortOrder
56872
+ company_id?: SortOrderInput | SortOrder
56873
+ created_by?: SortOrderInput | SortOrder
56670
56874
  attachments?: SortOrderInput | SortOrder
56671
56875
  status?: SortOrder
56672
56876
  created_at?: SortOrder
56673
56877
  updated_at?: SortOrder
56674
56878
  shipper?: ClientOrderByWithRelationInput
56879
+ company?: CompaniesOrderByWithRelationInput
56675
56880
  handling_units?: HandlingUnitOrderByRelationAggregateInput
56676
56881
  routes?: RouteOrderByRelationAggregateInput
56677
56882
  tenders?: TenderOrderByRelationAggregateInput
@@ -56684,11 +56889,14 @@ export namespace Prisma {
56684
56889
  NOT?: OrderWhereInput | OrderWhereInput[]
56685
56890
  reference?: StringNullableFilter<"Order"> | string | null
56686
56891
  shipper_id?: UuidNullableFilter<"Order"> | string | null
56892
+ company_id?: UuidNullableFilter<"Order"> | string | null
56893
+ created_by?: UuidNullableFilter<"Order"> | string | null
56687
56894
  attachments?: JsonNullableFilter<"Order">
56688
56895
  status?: EnumRouteStatusFilter<"Order"> | $Enums.RouteStatus
56689
56896
  created_at?: DateTimeFilter<"Order"> | Date | string
56690
56897
  updated_at?: DateTimeFilter<"Order"> | Date | string
56691
56898
  shipper?: XOR<ClientNullableScalarRelationFilter, ClientWhereInput> | null
56899
+ company?: XOR<CompaniesNullableScalarRelationFilter, CompaniesWhereInput> | null
56692
56900
  handling_units?: HandlingUnitListRelationFilter
56693
56901
  routes?: RouteListRelationFilter
56694
56902
  tenders?: TenderListRelationFilter
@@ -56698,6 +56906,8 @@ export namespace Prisma {
56698
56906
  id?: SortOrder
56699
56907
  reference?: SortOrderInput | SortOrder
56700
56908
  shipper_id?: SortOrderInput | SortOrder
56909
+ company_id?: SortOrderInput | SortOrder
56910
+ created_by?: SortOrderInput | SortOrder
56701
56911
  attachments?: SortOrderInput | SortOrder
56702
56912
  status?: SortOrder
56703
56913
  created_at?: SortOrder
@@ -56714,6 +56924,8 @@ export namespace Prisma {
56714
56924
  id?: UuidWithAggregatesFilter<"Order"> | string
56715
56925
  reference?: StringNullableWithAggregatesFilter<"Order"> | string | null
56716
56926
  shipper_id?: UuidNullableWithAggregatesFilter<"Order"> | string | null
56927
+ company_id?: UuidNullableWithAggregatesFilter<"Order"> | string | null
56928
+ created_by?: UuidNullableWithAggregatesFilter<"Order"> | string | null
56717
56929
  attachments?: JsonNullableWithAggregatesFilter<"Order">
56718
56930
  status?: EnumRouteStatusWithAggregatesFilter<"Order"> | $Enums.RouteStatus
56719
56931
  created_at?: DateTimeWithAggregatesFilter<"Order"> | Date | string
@@ -56742,11 +56954,13 @@ export namespace Prisma {
56742
56954
  form_responses?: FormResponseListRelationFilter
56743
56955
  forms?: FormListRelationFilter
56744
56956
  tenders?: TenderListRelationFilter
56957
+ orders?: OrderListRelationFilter
56745
56958
  groups?: GroupListRelationFilter
56746
56959
  companyLocations?: CompanyLocationListRelationFilter
56747
56960
  regularSuppliers?: RegularSupplierListRelationFilter
56748
56961
  products?: ProductListRelationFilter
56749
56962
  regularSuppliers2?: RegularSupplierListRelationFilter
56963
+ supplierNotifications?: TenderNotificationListRelationFilter
56750
56964
  }
56751
56965
 
56752
56966
  export type CompaniesOrderByWithRelationInput = {
@@ -56768,11 +56982,13 @@ export namespace Prisma {
56768
56982
  form_responses?: FormResponseOrderByRelationAggregateInput
56769
56983
  forms?: FormOrderByRelationAggregateInput
56770
56984
  tenders?: TenderOrderByRelationAggregateInput
56985
+ orders?: OrderOrderByRelationAggregateInput
56771
56986
  groups?: GroupOrderByRelationAggregateInput
56772
56987
  companyLocations?: CompanyLocationOrderByRelationAggregateInput
56773
56988
  regularSuppliers?: RegularSupplierOrderByRelationAggregateInput
56774
56989
  products?: ProductOrderByRelationAggregateInput
56775
56990
  regularSuppliers2?: RegularSupplierOrderByRelationAggregateInput
56991
+ supplierNotifications?: TenderNotificationOrderByRelationAggregateInput
56776
56992
  }
56777
56993
 
56778
56994
  export type CompaniesWhereUniqueInput = Prisma.AtLeast<{
@@ -56797,11 +57013,13 @@ export namespace Prisma {
56797
57013
  form_responses?: FormResponseListRelationFilter
56798
57014
  forms?: FormListRelationFilter
56799
57015
  tenders?: TenderListRelationFilter
57016
+ orders?: OrderListRelationFilter
56800
57017
  groups?: GroupListRelationFilter
56801
57018
  companyLocations?: CompanyLocationListRelationFilter
56802
57019
  regularSuppliers?: RegularSupplierListRelationFilter
56803
57020
  products?: ProductListRelationFilter
56804
57021
  regularSuppliers2?: RegularSupplierListRelationFilter
57022
+ supplierNotifications?: TenderNotificationListRelationFilter
56805
57023
  }, "id" | "tax_id">
56806
57024
 
56807
57025
  export type CompaniesOrderByWithAggregationInput = {
@@ -58938,6 +59156,7 @@ export namespace Prisma {
58938
59156
  OR?: TenderWhereInput[]
58939
59157
  NOT?: TenderWhereInput | TenderWhereInput[]
58940
59158
  id?: UuidFilter<"Tender"> | string
59159
+ code?: StringNullableFilter<"Tender"> | string | null
58941
59160
  title?: StringFilter<"Tender"> | string
58942
59161
  description?: StringNullableFilter<"Tender"> | string | null
58943
59162
  status?: EnumTenderStatusFilter<"Tender"> | $Enums.TenderStatus
@@ -58964,6 +59183,7 @@ export namespace Prisma {
58964
59183
 
58965
59184
  export type TenderOrderByWithRelationInput = {
58966
59185
  id?: SortOrder
59186
+ code?: SortOrderInput | SortOrder
58967
59187
  title?: SortOrder
58968
59188
  description?: SortOrderInput | SortOrder
58969
59189
  status?: SortOrder
@@ -58990,6 +59210,7 @@ export namespace Prisma {
58990
59210
 
58991
59211
  export type TenderWhereUniqueInput = Prisma.AtLeast<{
58992
59212
  id?: string
59213
+ code?: string
58993
59214
  AND?: TenderWhereInput | TenderWhereInput[]
58994
59215
  OR?: TenderWhereInput[]
58995
59216
  NOT?: TenderWhereInput | TenderWhereInput[]
@@ -59015,10 +59236,11 @@ export namespace Prisma {
59015
59236
  tenderChats?: TenderChatListRelationFilter
59016
59237
  tenderNotifications?: TenderNotificationListRelationFilter
59017
59238
  tenderLocationNotifications?: TenderLocationNotificationListRelationFilter
59018
- }, "id">
59239
+ }, "id" | "code">
59019
59240
 
59020
59241
  export type TenderOrderByWithAggregationInput = {
59021
59242
  id?: SortOrder
59243
+ code?: SortOrderInput | SortOrder
59022
59244
  title?: SortOrder
59023
59245
  description?: SortOrderInput | SortOrder
59024
59246
  status?: SortOrder
@@ -59046,6 +59268,7 @@ export namespace Prisma {
59046
59268
  OR?: TenderScalarWhereWithAggregatesInput[]
59047
59269
  NOT?: TenderScalarWhereWithAggregatesInput | TenderScalarWhereWithAggregatesInput[]
59048
59270
  id?: UuidWithAggregatesFilter<"Tender"> | string
59271
+ code?: StringNullableWithAggregatesFilter<"Tender"> | string | null
59049
59272
  title?: StringWithAggregatesFilter<"Tender"> | string
59050
59273
  description?: StringNullableWithAggregatesFilter<"Tender"> | string | null
59051
59274
  status?: EnumTenderStatusWithAggregatesFilter<"Tender"> | $Enums.TenderStatus
@@ -59261,6 +59484,7 @@ export namespace Prisma {
59261
59484
  user_sends_id?: UuidFilter<"TenderChat"> | string
59262
59485
  user_receives_id?: UuidFilter<"TenderChat"> | string
59263
59486
  message?: StringFilter<"TenderChat"> | string
59487
+ read_at?: DateTimeNullableFilter<"TenderChat"> | Date | string | null
59264
59488
  created_at?: DateTimeFilter<"TenderChat"> | Date | string
59265
59489
  tender?: XOR<TenderScalarRelationFilter, TenderWhereInput>
59266
59490
  user_sends?: XOR<UserScalarRelationFilter, UserWhereInput>
@@ -59273,6 +59497,7 @@ export namespace Prisma {
59273
59497
  user_sends_id?: SortOrder
59274
59498
  user_receives_id?: SortOrder
59275
59499
  message?: SortOrder
59500
+ read_at?: SortOrderInput | SortOrder
59276
59501
  created_at?: SortOrder
59277
59502
  tender?: TenderOrderByWithRelationInput
59278
59503
  user_sends?: UserOrderByWithRelationInput
@@ -59288,6 +59513,7 @@ export namespace Prisma {
59288
59513
  user_sends_id?: UuidFilter<"TenderChat"> | string
59289
59514
  user_receives_id?: UuidFilter<"TenderChat"> | string
59290
59515
  message?: StringFilter<"TenderChat"> | string
59516
+ read_at?: DateTimeNullableFilter<"TenderChat"> | Date | string | null
59291
59517
  created_at?: DateTimeFilter<"TenderChat"> | Date | string
59292
59518
  tender?: XOR<TenderScalarRelationFilter, TenderWhereInput>
59293
59519
  user_sends?: XOR<UserScalarRelationFilter, UserWhereInput>
@@ -59300,6 +59526,7 @@ export namespace Prisma {
59300
59526
  user_sends_id?: SortOrder
59301
59527
  user_receives_id?: SortOrder
59302
59528
  message?: SortOrder
59529
+ read_at?: SortOrderInput | SortOrder
59303
59530
  created_at?: SortOrder
59304
59531
  _count?: TenderChatCountOrderByAggregateInput
59305
59532
  _max?: TenderChatMaxOrderByAggregateInput
@@ -59315,6 +59542,7 @@ export namespace Prisma {
59315
59542
  user_sends_id?: UuidWithAggregatesFilter<"TenderChat"> | string
59316
59543
  user_receives_id?: UuidWithAggregatesFilter<"TenderChat"> | string
59317
59544
  message?: StringWithAggregatesFilter<"TenderChat"> | string
59545
+ read_at?: DateTimeNullableWithAggregatesFilter<"TenderChat"> | Date | string | null
59318
59546
  created_at?: DateTimeWithAggregatesFilter<"TenderChat"> | Date | string
59319
59547
  }
59320
59548
 
@@ -59547,6 +59775,7 @@ export namespace Prisma {
59547
59775
  tender_id?: UuidFilter<"TenderNotification"> | string
59548
59776
  user_id?: UuidNullableFilter<"TenderNotification"> | string | null
59549
59777
  group_id?: UuidNullableFilter<"TenderNotification"> | string | null
59778
+ supplier_company_id?: UuidNullableFilter<"TenderNotification"> | string | null
59550
59779
  whatsapp?: BoolFilter<"TenderNotification"> | boolean
59551
59780
  email?: BoolFilter<"TenderNotification"> | boolean
59552
59781
  push?: BoolFilter<"TenderNotification"> | boolean
@@ -59555,6 +59784,7 @@ export namespace Prisma {
59555
59784
  tender?: XOR<TenderScalarRelationFilter, TenderWhereInput>
59556
59785
  user?: XOR<UserNullableScalarRelationFilter, UserWhereInput> | null
59557
59786
  group?: XOR<GroupNullableScalarRelationFilter, GroupWhereInput> | null
59787
+ supplierCompany?: XOR<CompaniesNullableScalarRelationFilter, CompaniesWhereInput> | null
59558
59788
  }
59559
59789
 
59560
59790
  export type TenderNotificationOrderByWithRelationInput = {
@@ -59562,6 +59792,7 @@ export namespace Prisma {
59562
59792
  tender_id?: SortOrder
59563
59793
  user_id?: SortOrderInput | SortOrder
59564
59794
  group_id?: SortOrderInput | SortOrder
59795
+ supplier_company_id?: SortOrderInput | SortOrder
59565
59796
  whatsapp?: SortOrder
59566
59797
  email?: SortOrder
59567
59798
  push?: SortOrder
@@ -59570,6 +59801,7 @@ export namespace Prisma {
59570
59801
  tender?: TenderOrderByWithRelationInput
59571
59802
  user?: UserOrderByWithRelationInput
59572
59803
  group?: GroupOrderByWithRelationInput
59804
+ supplierCompany?: CompaniesOrderByWithRelationInput
59573
59805
  }
59574
59806
 
59575
59807
  export type TenderNotificationWhereUniqueInput = Prisma.AtLeast<{
@@ -59580,6 +59812,7 @@ export namespace Prisma {
59580
59812
  tender_id?: UuidFilter<"TenderNotification"> | string
59581
59813
  user_id?: UuidNullableFilter<"TenderNotification"> | string | null
59582
59814
  group_id?: UuidNullableFilter<"TenderNotification"> | string | null
59815
+ supplier_company_id?: UuidNullableFilter<"TenderNotification"> | string | null
59583
59816
  whatsapp?: BoolFilter<"TenderNotification"> | boolean
59584
59817
  email?: BoolFilter<"TenderNotification"> | boolean
59585
59818
  push?: BoolFilter<"TenderNotification"> | boolean
@@ -59588,6 +59821,7 @@ export namespace Prisma {
59588
59821
  tender?: XOR<TenderScalarRelationFilter, TenderWhereInput>
59589
59822
  user?: XOR<UserNullableScalarRelationFilter, UserWhereInput> | null
59590
59823
  group?: XOR<GroupNullableScalarRelationFilter, GroupWhereInput> | null
59824
+ supplierCompany?: XOR<CompaniesNullableScalarRelationFilter, CompaniesWhereInput> | null
59591
59825
  }, "id">
59592
59826
 
59593
59827
  export type TenderNotificationOrderByWithAggregationInput = {
@@ -59595,6 +59829,7 @@ export namespace Prisma {
59595
59829
  tender_id?: SortOrder
59596
59830
  user_id?: SortOrderInput | SortOrder
59597
59831
  group_id?: SortOrderInput | SortOrder
59832
+ supplier_company_id?: SortOrderInput | SortOrder
59598
59833
  whatsapp?: SortOrder
59599
59834
  email?: SortOrder
59600
59835
  push?: SortOrder
@@ -59613,6 +59848,7 @@ export namespace Prisma {
59613
59848
  tender_id?: UuidWithAggregatesFilter<"TenderNotification"> | string
59614
59849
  user_id?: UuidNullableWithAggregatesFilter<"TenderNotification"> | string | null
59615
59850
  group_id?: UuidNullableWithAggregatesFilter<"TenderNotification"> | string | null
59851
+ supplier_company_id?: UuidNullableWithAggregatesFilter<"TenderNotification"> | string | null
59616
59852
  whatsapp?: BoolWithAggregatesFilter<"TenderNotification"> | boolean
59617
59853
  email?: BoolWithAggregatesFilter<"TenderNotification"> | boolean
59618
59854
  push?: BoolWithAggregatesFilter<"TenderNotification"> | boolean
@@ -60329,11 +60565,13 @@ export namespace Prisma {
60329
60565
  export type OrderCreateInput = {
60330
60566
  id?: string
60331
60567
  reference?: string | null
60568
+ created_by?: string | null
60332
60569
  attachments?: NullableJsonNullValueInput | InputJsonValue
60333
60570
  status?: $Enums.RouteStatus
60334
60571
  created_at?: Date | string
60335
60572
  updated_at?: Date | string
60336
60573
  shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
60574
+ company?: CompaniesCreateNestedOneWithoutOrdersInput
60337
60575
  handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
60338
60576
  routes?: RouteCreateNestedManyWithoutOrderInput
60339
60577
  tenders?: TenderCreateNestedManyWithoutOrderInput
@@ -60343,6 +60581,8 @@ export namespace Prisma {
60343
60581
  id?: string
60344
60582
  reference?: string | null
60345
60583
  shipper_id?: string | null
60584
+ company_id?: string | null
60585
+ created_by?: string | null
60346
60586
  attachments?: NullableJsonNullValueInput | InputJsonValue
60347
60587
  status?: $Enums.RouteStatus
60348
60588
  created_at?: Date | string
@@ -60355,11 +60595,13 @@ export namespace Prisma {
60355
60595
  export type OrderUpdateInput = {
60356
60596
  id?: StringFieldUpdateOperationsInput | string
60357
60597
  reference?: NullableStringFieldUpdateOperationsInput | string | null
60598
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
60358
60599
  attachments?: NullableJsonNullValueInput | InputJsonValue
60359
60600
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
60360
60601
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
60361
60602
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
60362
60603
  shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
60604
+ company?: CompaniesUpdateOneWithoutOrdersNestedInput
60363
60605
  handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
60364
60606
  routes?: RouteUpdateManyWithoutOrderNestedInput
60365
60607
  tenders?: TenderUpdateManyWithoutOrderNestedInput
@@ -60369,6 +60611,8 @@ export namespace Prisma {
60369
60611
  id?: StringFieldUpdateOperationsInput | string
60370
60612
  reference?: NullableStringFieldUpdateOperationsInput | string | null
60371
60613
  shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
60614
+ company_id?: NullableStringFieldUpdateOperationsInput | string | null
60615
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
60372
60616
  attachments?: NullableJsonNullValueInput | InputJsonValue
60373
60617
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
60374
60618
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -60382,6 +60626,8 @@ export namespace Prisma {
60382
60626
  id?: string
60383
60627
  reference?: string | null
60384
60628
  shipper_id?: string | null
60629
+ company_id?: string | null
60630
+ created_by?: string | null
60385
60631
  attachments?: NullableJsonNullValueInput | InputJsonValue
60386
60632
  status?: $Enums.RouteStatus
60387
60633
  created_at?: Date | string
@@ -60391,6 +60637,7 @@ export namespace Prisma {
60391
60637
  export type OrderUpdateManyMutationInput = {
60392
60638
  id?: StringFieldUpdateOperationsInput | string
60393
60639
  reference?: NullableStringFieldUpdateOperationsInput | string | null
60640
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
60394
60641
  attachments?: NullableJsonNullValueInput | InputJsonValue
60395
60642
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
60396
60643
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -60401,6 +60648,8 @@ export namespace Prisma {
60401
60648
  id?: StringFieldUpdateOperationsInput | string
60402
60649
  reference?: NullableStringFieldUpdateOperationsInput | string | null
60403
60650
  shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
60651
+ company_id?: NullableStringFieldUpdateOperationsInput | string | null
60652
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
60404
60653
  attachments?: NullableJsonNullValueInput | InputJsonValue
60405
60654
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
60406
60655
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -60426,11 +60675,13 @@ export namespace Prisma {
60426
60675
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
60427
60676
  forms?: FormCreateNestedManyWithoutCompanyInput
60428
60677
  tenders?: TenderCreateNestedManyWithoutCompanyInput
60678
+ orders?: OrderCreateNestedManyWithoutCompanyInput
60429
60679
  groups?: GroupCreateNestedManyWithoutCompanyInput
60430
60680
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
60431
60681
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
60432
60682
  products?: ProductCreateNestedManyWithoutCompanyInput
60433
60683
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
60684
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
60434
60685
  }
60435
60686
 
60436
60687
  export type CompaniesUncheckedCreateInput = {
@@ -60452,11 +60703,13 @@ export namespace Prisma {
60452
60703
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
60453
60704
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
60454
60705
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
60706
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
60455
60707
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
60456
60708
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
60457
60709
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
60458
60710
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
60459
60711
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
60712
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
60460
60713
  }
60461
60714
 
60462
60715
  export type CompaniesUpdateInput = {
@@ -60478,11 +60731,13 @@ export namespace Prisma {
60478
60731
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
60479
60732
  forms?: FormUpdateManyWithoutCompanyNestedInput
60480
60733
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
60734
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
60481
60735
  groups?: GroupUpdateManyWithoutCompanyNestedInput
60482
60736
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
60483
60737
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
60484
60738
  products?: ProductUpdateManyWithoutCompanyNestedInput
60485
60739
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
60740
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
60486
60741
  }
60487
60742
 
60488
60743
  export type CompaniesUncheckedUpdateInput = {
@@ -60504,11 +60759,13 @@ export namespace Prisma {
60504
60759
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
60505
60760
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
60506
60761
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
60762
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
60507
60763
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
60508
60764
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
60509
60765
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
60510
60766
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
60511
60767
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
60768
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
60512
60769
  }
60513
60770
 
60514
60771
  export type CompaniesCreateManyInput = {
@@ -62864,6 +63121,7 @@ export namespace Prisma {
62864
63121
 
62865
63122
  export type TenderCreateInput = {
62866
63123
  id?: string
63124
+ code?: string | null
62867
63125
  title: string
62868
63126
  description?: string | null
62869
63127
  status?: $Enums.TenderStatus
@@ -62887,6 +63145,7 @@ export namespace Prisma {
62887
63145
 
62888
63146
  export type TenderUncheckedCreateInput = {
62889
63147
  id?: string
63148
+ code?: string | null
62890
63149
  title: string
62891
63150
  description?: string | null
62892
63151
  status?: $Enums.TenderStatus
@@ -62910,6 +63169,7 @@ export namespace Prisma {
62910
63169
 
62911
63170
  export type TenderUpdateInput = {
62912
63171
  id?: StringFieldUpdateOperationsInput | string
63172
+ code?: NullableStringFieldUpdateOperationsInput | string | null
62913
63173
  title?: StringFieldUpdateOperationsInput | string
62914
63174
  description?: NullableStringFieldUpdateOperationsInput | string | null
62915
63175
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -62933,6 +63193,7 @@ export namespace Prisma {
62933
63193
 
62934
63194
  export type TenderUncheckedUpdateInput = {
62935
63195
  id?: StringFieldUpdateOperationsInput | string
63196
+ code?: NullableStringFieldUpdateOperationsInput | string | null
62936
63197
  title?: StringFieldUpdateOperationsInput | string
62937
63198
  description?: NullableStringFieldUpdateOperationsInput | string | null
62938
63199
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -62956,6 +63217,7 @@ export namespace Prisma {
62956
63217
 
62957
63218
  export type TenderCreateManyInput = {
62958
63219
  id?: string
63220
+ code?: string | null
62959
63221
  title: string
62960
63222
  description?: string | null
62961
63223
  status?: $Enums.TenderStatus
@@ -62975,6 +63237,7 @@ export namespace Prisma {
62975
63237
 
62976
63238
  export type TenderUpdateManyMutationInput = {
62977
63239
  id?: StringFieldUpdateOperationsInput | string
63240
+ code?: NullableStringFieldUpdateOperationsInput | string | null
62978
63241
  title?: StringFieldUpdateOperationsInput | string
62979
63242
  description?: NullableStringFieldUpdateOperationsInput | string | null
62980
63243
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -62991,6 +63254,7 @@ export namespace Prisma {
62991
63254
 
62992
63255
  export type TenderUncheckedUpdateManyInput = {
62993
63256
  id?: StringFieldUpdateOperationsInput | string
63257
+ code?: NullableStringFieldUpdateOperationsInput | string | null
62994
63258
  title?: StringFieldUpdateOperationsInput | string
62995
63259
  description?: NullableStringFieldUpdateOperationsInput | string | null
62996
63260
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -63218,6 +63482,7 @@ export namespace Prisma {
63218
63482
  export type TenderChatCreateInput = {
63219
63483
  id?: string
63220
63484
  message: string
63485
+ read_at?: Date | string | null
63221
63486
  created_at?: Date | string
63222
63487
  tender: TenderCreateNestedOneWithoutTenderChatsInput
63223
63488
  user_sends: UserCreateNestedOneWithoutTenderChatsInput
@@ -63230,12 +63495,14 @@ export namespace Prisma {
63230
63495
  user_sends_id: string
63231
63496
  user_receives_id: string
63232
63497
  message: string
63498
+ read_at?: Date | string | null
63233
63499
  created_at?: Date | string
63234
63500
  }
63235
63501
 
63236
63502
  export type TenderChatUpdateInput = {
63237
63503
  id?: StringFieldUpdateOperationsInput | string
63238
63504
  message?: StringFieldUpdateOperationsInput | string
63505
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
63239
63506
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
63240
63507
  tender?: TenderUpdateOneRequiredWithoutTenderChatsNestedInput
63241
63508
  user_sends?: UserUpdateOneRequiredWithoutTenderChatsNestedInput
@@ -63248,6 +63515,7 @@ export namespace Prisma {
63248
63515
  user_sends_id?: StringFieldUpdateOperationsInput | string
63249
63516
  user_receives_id?: StringFieldUpdateOperationsInput | string
63250
63517
  message?: StringFieldUpdateOperationsInput | string
63518
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
63251
63519
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
63252
63520
  }
63253
63521
 
@@ -63257,12 +63525,14 @@ export namespace Prisma {
63257
63525
  user_sends_id: string
63258
63526
  user_receives_id: string
63259
63527
  message: string
63528
+ read_at?: Date | string | null
63260
63529
  created_at?: Date | string
63261
63530
  }
63262
63531
 
63263
63532
  export type TenderChatUpdateManyMutationInput = {
63264
63533
  id?: StringFieldUpdateOperationsInput | string
63265
63534
  message?: StringFieldUpdateOperationsInput | string
63535
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
63266
63536
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
63267
63537
  }
63268
63538
 
@@ -63272,6 +63542,7 @@ export namespace Prisma {
63272
63542
  user_sends_id?: StringFieldUpdateOperationsInput | string
63273
63543
  user_receives_id?: StringFieldUpdateOperationsInput | string
63274
63544
  message?: StringFieldUpdateOperationsInput | string
63545
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
63275
63546
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
63276
63547
  }
63277
63548
 
@@ -63503,6 +63774,7 @@ export namespace Prisma {
63503
63774
  tender: TenderCreateNestedOneWithoutTenderNotificationsInput
63504
63775
  user?: UserCreateNestedOneWithoutTenderNotificationsInput
63505
63776
  group?: GroupCreateNestedOneWithoutTenderNotificationsInput
63777
+ supplierCompany?: CompaniesCreateNestedOneWithoutSupplierNotificationsInput
63506
63778
  }
63507
63779
 
63508
63780
  export type TenderNotificationUncheckedCreateInput = {
@@ -63510,6 +63782,7 @@ export namespace Prisma {
63510
63782
  tender_id: string
63511
63783
  user_id?: string | null
63512
63784
  group_id?: string | null
63785
+ supplier_company_id?: string | null
63513
63786
  whatsapp?: boolean
63514
63787
  email?: boolean
63515
63788
  push?: boolean
@@ -63527,6 +63800,7 @@ export namespace Prisma {
63527
63800
  tender?: TenderUpdateOneRequiredWithoutTenderNotificationsNestedInput
63528
63801
  user?: UserUpdateOneWithoutTenderNotificationsNestedInput
63529
63802
  group?: GroupUpdateOneWithoutTenderNotificationsNestedInput
63803
+ supplierCompany?: CompaniesUpdateOneWithoutSupplierNotificationsNestedInput
63530
63804
  }
63531
63805
 
63532
63806
  export type TenderNotificationUncheckedUpdateInput = {
@@ -63534,6 +63808,7 @@ export namespace Prisma {
63534
63808
  tender_id?: StringFieldUpdateOperationsInput | string
63535
63809
  user_id?: NullableStringFieldUpdateOperationsInput | string | null
63536
63810
  group_id?: NullableStringFieldUpdateOperationsInput | string | null
63811
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
63537
63812
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
63538
63813
  email?: BoolFieldUpdateOperationsInput | boolean
63539
63814
  push?: BoolFieldUpdateOperationsInput | boolean
@@ -63546,6 +63821,7 @@ export namespace Prisma {
63546
63821
  tender_id: string
63547
63822
  user_id?: string | null
63548
63823
  group_id?: string | null
63824
+ supplier_company_id?: string | null
63549
63825
  whatsapp?: boolean
63550
63826
  email?: boolean
63551
63827
  push?: boolean
@@ -63567,6 +63843,7 @@ export namespace Prisma {
63567
63843
  tender_id?: StringFieldUpdateOperationsInput | string
63568
63844
  user_id?: NullableStringFieldUpdateOperationsInput | string | null
63569
63845
  group_id?: NullableStringFieldUpdateOperationsInput | string | null
63846
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
63570
63847
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
63571
63848
  email?: BoolFieldUpdateOperationsInput | boolean
63572
63849
  push?: BoolFieldUpdateOperationsInput | boolean
@@ -64435,6 +64712,8 @@ export namespace Prisma {
64435
64712
  id?: SortOrder
64436
64713
  reference?: SortOrder
64437
64714
  shipper_id?: SortOrder
64715
+ company_id?: SortOrder
64716
+ created_by?: SortOrder
64438
64717
  attachments?: SortOrder
64439
64718
  status?: SortOrder
64440
64719
  created_at?: SortOrder
@@ -64445,6 +64724,8 @@ export namespace Prisma {
64445
64724
  id?: SortOrder
64446
64725
  reference?: SortOrder
64447
64726
  shipper_id?: SortOrder
64727
+ company_id?: SortOrder
64728
+ created_by?: SortOrder
64448
64729
  status?: SortOrder
64449
64730
  created_at?: SortOrder
64450
64731
  updated_at?: SortOrder
@@ -64454,6 +64735,8 @@ export namespace Prisma {
64454
64735
  id?: SortOrder
64455
64736
  reference?: SortOrder
64456
64737
  shipper_id?: SortOrder
64738
+ company_id?: SortOrder
64739
+ created_by?: SortOrder
64457
64740
  status?: SortOrder
64458
64741
  created_at?: SortOrder
64459
64742
  updated_at?: SortOrder
@@ -64566,6 +64849,12 @@ export namespace Prisma {
64566
64849
  none?: ProductWhereInput
64567
64850
  }
64568
64851
 
64852
+ export type TenderNotificationListRelationFilter = {
64853
+ every?: TenderNotificationWhereInput
64854
+ some?: TenderNotificationWhereInput
64855
+ none?: TenderNotificationWhereInput
64856
+ }
64857
+
64569
64858
  export type ClientOrderByRelationAggregateInput = {
64570
64859
  _count?: SortOrder
64571
64860
  }
@@ -64610,6 +64899,10 @@ export namespace Prisma {
64610
64899
  _count?: SortOrder
64611
64900
  }
64612
64901
 
64902
+ export type TenderNotificationOrderByRelationAggregateInput = {
64903
+ _count?: SortOrder
64904
+ }
64905
+
64613
64906
  export type CompaniesCountOrderByAggregateInput = {
64614
64907
  id?: SortOrder
64615
64908
  tax_id?: SortOrder
@@ -64798,12 +65091,6 @@ export namespace Prisma {
64798
65091
  none?: UserGroupWhereInput
64799
65092
  }
64800
65093
 
64801
- export type TenderNotificationListRelationFilter = {
64802
- every?: TenderNotificationWhereInput
64803
- some?: TenderNotificationWhereInput
64804
- none?: TenderNotificationWhereInput
64805
- }
64806
-
64807
65094
  export type SessionOrderByRelationAggregateInput = {
64808
65095
  _count?: SortOrder
64809
65096
  }
@@ -64824,10 +65111,6 @@ export namespace Prisma {
64824
65111
  _count?: SortOrder
64825
65112
  }
64826
65113
 
64827
- export type TenderNotificationOrderByRelationAggregateInput = {
64828
- _count?: SortOrder
64829
- }
64830
-
64831
65114
  export type UserCountOrderByAggregateInput = {
64832
65115
  id?: SortOrder
64833
65116
  email?: SortOrder
@@ -66300,6 +66583,7 @@ export namespace Prisma {
66300
66583
 
66301
66584
  export type TenderCountOrderByAggregateInput = {
66302
66585
  id?: SortOrder
66586
+ code?: SortOrder
66303
66587
  title?: SortOrder
66304
66588
  description?: SortOrder
66305
66589
  status?: SortOrder
@@ -66323,6 +66607,7 @@ export namespace Prisma {
66323
66607
 
66324
66608
  export type TenderMaxOrderByAggregateInput = {
66325
66609
  id?: SortOrder
66610
+ code?: SortOrder
66326
66611
  title?: SortOrder
66327
66612
  description?: SortOrder
66328
66613
  status?: SortOrder
@@ -66341,6 +66626,7 @@ export namespace Prisma {
66341
66626
 
66342
66627
  export type TenderMinOrderByAggregateInput = {
66343
66628
  id?: SortOrder
66629
+ code?: SortOrder
66344
66630
  title?: SortOrder
66345
66631
  description?: SortOrder
66346
66632
  status?: SortOrder
@@ -66530,6 +66816,7 @@ export namespace Prisma {
66530
66816
  user_sends_id?: SortOrder
66531
66817
  user_receives_id?: SortOrder
66532
66818
  message?: SortOrder
66819
+ read_at?: SortOrder
66533
66820
  created_at?: SortOrder
66534
66821
  }
66535
66822
 
@@ -66539,6 +66826,7 @@ export namespace Prisma {
66539
66826
  user_sends_id?: SortOrder
66540
66827
  user_receives_id?: SortOrder
66541
66828
  message?: SortOrder
66829
+ read_at?: SortOrder
66542
66830
  created_at?: SortOrder
66543
66831
  }
66544
66832
 
@@ -66548,6 +66836,7 @@ export namespace Prisma {
66548
66836
  user_sends_id?: SortOrder
66549
66837
  user_receives_id?: SortOrder
66550
66838
  message?: SortOrder
66839
+ read_at?: SortOrder
66551
66840
  created_at?: SortOrder
66552
66841
  }
66553
66842
 
@@ -66694,6 +66983,7 @@ export namespace Prisma {
66694
66983
  tender_id?: SortOrder
66695
66984
  user_id?: SortOrder
66696
66985
  group_id?: SortOrder
66986
+ supplier_company_id?: SortOrder
66697
66987
  whatsapp?: SortOrder
66698
66988
  email?: SortOrder
66699
66989
  push?: SortOrder
@@ -66706,6 +66996,7 @@ export namespace Prisma {
66706
66996
  tender_id?: SortOrder
66707
66997
  user_id?: SortOrder
66708
66998
  group_id?: SortOrder
66999
+ supplier_company_id?: SortOrder
66709
67000
  whatsapp?: SortOrder
66710
67001
  email?: SortOrder
66711
67002
  push?: SortOrder
@@ -66718,6 +67009,7 @@ export namespace Prisma {
66718
67009
  tender_id?: SortOrder
66719
67010
  user_id?: SortOrder
66720
67011
  group_id?: SortOrder
67012
+ supplier_company_id?: SortOrder
66721
67013
  whatsapp?: SortOrder
66722
67014
  email?: SortOrder
66723
67015
  push?: SortOrder
@@ -67192,6 +67484,12 @@ export namespace Prisma {
67192
67484
  connect?: ClientWhereUniqueInput
67193
67485
  }
67194
67486
 
67487
+ export type CompaniesCreateNestedOneWithoutOrdersInput = {
67488
+ create?: XOR<CompaniesCreateWithoutOrdersInput, CompaniesUncheckedCreateWithoutOrdersInput>
67489
+ connectOrCreate?: CompaniesCreateOrConnectWithoutOrdersInput
67490
+ connect?: CompaniesWhereUniqueInput
67491
+ }
67492
+
67195
67493
  export type HandlingUnitCreateNestedManyWithoutOrderInput = {
67196
67494
  create?: XOR<HandlingUnitCreateWithoutOrderInput, HandlingUnitUncheckedCreateWithoutOrderInput> | HandlingUnitCreateWithoutOrderInput[] | HandlingUnitUncheckedCreateWithoutOrderInput[]
67197
67495
  connectOrCreate?: HandlingUnitCreateOrConnectWithoutOrderInput | HandlingUnitCreateOrConnectWithoutOrderInput[]
@@ -67248,6 +67546,16 @@ export namespace Prisma {
67248
67546
  update?: XOR<XOR<ClientUpdateToOneWithWhereWithoutOrders_as_shipperInput, ClientUpdateWithoutOrders_as_shipperInput>, ClientUncheckedUpdateWithoutOrders_as_shipperInput>
67249
67547
  }
67250
67548
 
67549
+ export type CompaniesUpdateOneWithoutOrdersNestedInput = {
67550
+ create?: XOR<CompaniesCreateWithoutOrdersInput, CompaniesUncheckedCreateWithoutOrdersInput>
67551
+ connectOrCreate?: CompaniesCreateOrConnectWithoutOrdersInput
67552
+ upsert?: CompaniesUpsertWithoutOrdersInput
67553
+ disconnect?: CompaniesWhereInput | boolean
67554
+ delete?: CompaniesWhereInput | boolean
67555
+ connect?: CompaniesWhereUniqueInput
67556
+ update?: XOR<XOR<CompaniesUpdateToOneWithWhereWithoutOrdersInput, CompaniesUpdateWithoutOrdersInput>, CompaniesUncheckedUpdateWithoutOrdersInput>
67557
+ }
67558
+
67251
67559
  export type HandlingUnitUpdateManyWithoutOrderNestedInput = {
67252
67560
  create?: XOR<HandlingUnitCreateWithoutOrderInput, HandlingUnitUncheckedCreateWithoutOrderInput> | HandlingUnitCreateWithoutOrderInput[] | HandlingUnitUncheckedCreateWithoutOrderInput[]
67253
67561
  connectOrCreate?: HandlingUnitCreateOrConnectWithoutOrderInput | HandlingUnitCreateOrConnectWithoutOrderInput[]
@@ -67388,6 +67696,13 @@ export namespace Prisma {
67388
67696
  connect?: TenderWhereUniqueInput | TenderWhereUniqueInput[]
67389
67697
  }
67390
67698
 
67699
+ export type OrderCreateNestedManyWithoutCompanyInput = {
67700
+ create?: XOR<OrderCreateWithoutCompanyInput, OrderUncheckedCreateWithoutCompanyInput> | OrderCreateWithoutCompanyInput[] | OrderUncheckedCreateWithoutCompanyInput[]
67701
+ connectOrCreate?: OrderCreateOrConnectWithoutCompanyInput | OrderCreateOrConnectWithoutCompanyInput[]
67702
+ createMany?: OrderCreateManyCompanyInputEnvelope
67703
+ connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
67704
+ }
67705
+
67391
67706
  export type GroupCreateNestedManyWithoutCompanyInput = {
67392
67707
  create?: XOR<GroupCreateWithoutCompanyInput, GroupUncheckedCreateWithoutCompanyInput> | GroupCreateWithoutCompanyInput[] | GroupUncheckedCreateWithoutCompanyInput[]
67393
67708
  connectOrCreate?: GroupCreateOrConnectWithoutCompanyInput | GroupCreateOrConnectWithoutCompanyInput[]
@@ -67423,6 +67738,13 @@ export namespace Prisma {
67423
67738
  connect?: RegularSupplierWhereUniqueInput | RegularSupplierWhereUniqueInput[]
67424
67739
  }
67425
67740
 
67741
+ export type TenderNotificationCreateNestedManyWithoutSupplierCompanyInput = {
67742
+ create?: XOR<TenderNotificationCreateWithoutSupplierCompanyInput, TenderNotificationUncheckedCreateWithoutSupplierCompanyInput> | TenderNotificationCreateWithoutSupplierCompanyInput[] | TenderNotificationUncheckedCreateWithoutSupplierCompanyInput[]
67743
+ connectOrCreate?: TenderNotificationCreateOrConnectWithoutSupplierCompanyInput | TenderNotificationCreateOrConnectWithoutSupplierCompanyInput[]
67744
+ createMany?: TenderNotificationCreateManySupplierCompanyInputEnvelope
67745
+ connect?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
67746
+ }
67747
+
67426
67748
  export type ClientUncheckedCreateNestedManyWithoutCompanyInput = {
67427
67749
  create?: XOR<ClientCreateWithoutCompanyInput, ClientUncheckedCreateWithoutCompanyInput> | ClientCreateWithoutCompanyInput[] | ClientUncheckedCreateWithoutCompanyInput[]
67428
67750
  connectOrCreate?: ClientCreateOrConnectWithoutCompanyInput | ClientCreateOrConnectWithoutCompanyInput[]
@@ -67479,6 +67801,13 @@ export namespace Prisma {
67479
67801
  connect?: TenderWhereUniqueInput | TenderWhereUniqueInput[]
67480
67802
  }
67481
67803
 
67804
+ export type OrderUncheckedCreateNestedManyWithoutCompanyInput = {
67805
+ create?: XOR<OrderCreateWithoutCompanyInput, OrderUncheckedCreateWithoutCompanyInput> | OrderCreateWithoutCompanyInput[] | OrderUncheckedCreateWithoutCompanyInput[]
67806
+ connectOrCreate?: OrderCreateOrConnectWithoutCompanyInput | OrderCreateOrConnectWithoutCompanyInput[]
67807
+ createMany?: OrderCreateManyCompanyInputEnvelope
67808
+ connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
67809
+ }
67810
+
67482
67811
  export type GroupUncheckedCreateNestedManyWithoutCompanyInput = {
67483
67812
  create?: XOR<GroupCreateWithoutCompanyInput, GroupUncheckedCreateWithoutCompanyInput> | GroupCreateWithoutCompanyInput[] | GroupUncheckedCreateWithoutCompanyInput[]
67484
67813
  connectOrCreate?: GroupCreateOrConnectWithoutCompanyInput | GroupCreateOrConnectWithoutCompanyInput[]
@@ -67514,6 +67843,13 @@ export namespace Prisma {
67514
67843
  connect?: RegularSupplierWhereUniqueInput | RegularSupplierWhereUniqueInput[]
67515
67844
  }
67516
67845
 
67846
+ export type TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput = {
67847
+ create?: XOR<TenderNotificationCreateWithoutSupplierCompanyInput, TenderNotificationUncheckedCreateWithoutSupplierCompanyInput> | TenderNotificationCreateWithoutSupplierCompanyInput[] | TenderNotificationUncheckedCreateWithoutSupplierCompanyInput[]
67848
+ connectOrCreate?: TenderNotificationCreateOrConnectWithoutSupplierCompanyInput | TenderNotificationCreateOrConnectWithoutSupplierCompanyInput[]
67849
+ createMany?: TenderNotificationCreateManySupplierCompanyInputEnvelope
67850
+ connect?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
67851
+ }
67852
+
67517
67853
  export type NullableBoolFieldUpdateOperationsInput = {
67518
67854
  set?: boolean | null
67519
67855
  }
@@ -67630,6 +67966,20 @@ export namespace Prisma {
67630
67966
  deleteMany?: TenderScalarWhereInput | TenderScalarWhereInput[]
67631
67967
  }
67632
67968
 
67969
+ export type OrderUpdateManyWithoutCompanyNestedInput = {
67970
+ create?: XOR<OrderCreateWithoutCompanyInput, OrderUncheckedCreateWithoutCompanyInput> | OrderCreateWithoutCompanyInput[] | OrderUncheckedCreateWithoutCompanyInput[]
67971
+ connectOrCreate?: OrderCreateOrConnectWithoutCompanyInput | OrderCreateOrConnectWithoutCompanyInput[]
67972
+ upsert?: OrderUpsertWithWhereUniqueWithoutCompanyInput | OrderUpsertWithWhereUniqueWithoutCompanyInput[]
67973
+ createMany?: OrderCreateManyCompanyInputEnvelope
67974
+ set?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
67975
+ disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
67976
+ delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
67977
+ connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
67978
+ update?: OrderUpdateWithWhereUniqueWithoutCompanyInput | OrderUpdateWithWhereUniqueWithoutCompanyInput[]
67979
+ updateMany?: OrderUpdateManyWithWhereWithoutCompanyInput | OrderUpdateManyWithWhereWithoutCompanyInput[]
67980
+ deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[]
67981
+ }
67982
+
67633
67983
  export type GroupUpdateManyWithoutCompanyNestedInput = {
67634
67984
  create?: XOR<GroupCreateWithoutCompanyInput, GroupUncheckedCreateWithoutCompanyInput> | GroupCreateWithoutCompanyInput[] | GroupUncheckedCreateWithoutCompanyInput[]
67635
67985
  connectOrCreate?: GroupCreateOrConnectWithoutCompanyInput | GroupCreateOrConnectWithoutCompanyInput[]
@@ -67700,6 +68050,20 @@ export namespace Prisma {
67700
68050
  deleteMany?: RegularSupplierScalarWhereInput | RegularSupplierScalarWhereInput[]
67701
68051
  }
67702
68052
 
68053
+ export type TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput = {
68054
+ create?: XOR<TenderNotificationCreateWithoutSupplierCompanyInput, TenderNotificationUncheckedCreateWithoutSupplierCompanyInput> | TenderNotificationCreateWithoutSupplierCompanyInput[] | TenderNotificationUncheckedCreateWithoutSupplierCompanyInput[]
68055
+ connectOrCreate?: TenderNotificationCreateOrConnectWithoutSupplierCompanyInput | TenderNotificationCreateOrConnectWithoutSupplierCompanyInput[]
68056
+ upsert?: TenderNotificationUpsertWithWhereUniqueWithoutSupplierCompanyInput | TenderNotificationUpsertWithWhereUniqueWithoutSupplierCompanyInput[]
68057
+ createMany?: TenderNotificationCreateManySupplierCompanyInputEnvelope
68058
+ set?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68059
+ disconnect?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68060
+ delete?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68061
+ connect?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68062
+ update?: TenderNotificationUpdateWithWhereUniqueWithoutSupplierCompanyInput | TenderNotificationUpdateWithWhereUniqueWithoutSupplierCompanyInput[]
68063
+ updateMany?: TenderNotificationUpdateManyWithWhereWithoutSupplierCompanyInput | TenderNotificationUpdateManyWithWhereWithoutSupplierCompanyInput[]
68064
+ deleteMany?: TenderNotificationScalarWhereInput | TenderNotificationScalarWhereInput[]
68065
+ }
68066
+
67703
68067
  export type ClientUncheckedUpdateManyWithoutCompanyNestedInput = {
67704
68068
  create?: XOR<ClientCreateWithoutCompanyInput, ClientUncheckedCreateWithoutCompanyInput> | ClientCreateWithoutCompanyInput[] | ClientUncheckedCreateWithoutCompanyInput[]
67705
68069
  connectOrCreate?: ClientCreateOrConnectWithoutCompanyInput | ClientCreateOrConnectWithoutCompanyInput[]
@@ -67812,6 +68176,20 @@ export namespace Prisma {
67812
68176
  deleteMany?: TenderScalarWhereInput | TenderScalarWhereInput[]
67813
68177
  }
67814
68178
 
68179
+ export type OrderUncheckedUpdateManyWithoutCompanyNestedInput = {
68180
+ create?: XOR<OrderCreateWithoutCompanyInput, OrderUncheckedCreateWithoutCompanyInput> | OrderCreateWithoutCompanyInput[] | OrderUncheckedCreateWithoutCompanyInput[]
68181
+ connectOrCreate?: OrderCreateOrConnectWithoutCompanyInput | OrderCreateOrConnectWithoutCompanyInput[]
68182
+ upsert?: OrderUpsertWithWhereUniqueWithoutCompanyInput | OrderUpsertWithWhereUniqueWithoutCompanyInput[]
68183
+ createMany?: OrderCreateManyCompanyInputEnvelope
68184
+ set?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
68185
+ disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
68186
+ delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
68187
+ connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[]
68188
+ update?: OrderUpdateWithWhereUniqueWithoutCompanyInput | OrderUpdateWithWhereUniqueWithoutCompanyInput[]
68189
+ updateMany?: OrderUpdateManyWithWhereWithoutCompanyInput | OrderUpdateManyWithWhereWithoutCompanyInput[]
68190
+ deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[]
68191
+ }
68192
+
67815
68193
  export type GroupUncheckedUpdateManyWithoutCompanyNestedInput = {
67816
68194
  create?: XOR<GroupCreateWithoutCompanyInput, GroupUncheckedCreateWithoutCompanyInput> | GroupCreateWithoutCompanyInput[] | GroupUncheckedCreateWithoutCompanyInput[]
67817
68195
  connectOrCreate?: GroupCreateOrConnectWithoutCompanyInput | GroupCreateOrConnectWithoutCompanyInput[]
@@ -67882,6 +68260,20 @@ export namespace Prisma {
67882
68260
  deleteMany?: RegularSupplierScalarWhereInput | RegularSupplierScalarWhereInput[]
67883
68261
  }
67884
68262
 
68263
+ export type TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput = {
68264
+ create?: XOR<TenderNotificationCreateWithoutSupplierCompanyInput, TenderNotificationUncheckedCreateWithoutSupplierCompanyInput> | TenderNotificationCreateWithoutSupplierCompanyInput[] | TenderNotificationUncheckedCreateWithoutSupplierCompanyInput[]
68265
+ connectOrCreate?: TenderNotificationCreateOrConnectWithoutSupplierCompanyInput | TenderNotificationCreateOrConnectWithoutSupplierCompanyInput[]
68266
+ upsert?: TenderNotificationUpsertWithWhereUniqueWithoutSupplierCompanyInput | TenderNotificationUpsertWithWhereUniqueWithoutSupplierCompanyInput[]
68267
+ createMany?: TenderNotificationCreateManySupplierCompanyInputEnvelope
68268
+ set?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68269
+ disconnect?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68270
+ delete?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68271
+ connect?: TenderNotificationWhereUniqueInput | TenderNotificationWhereUniqueInput[]
68272
+ update?: TenderNotificationUpdateWithWhereUniqueWithoutSupplierCompanyInput | TenderNotificationUpdateWithWhereUniqueWithoutSupplierCompanyInput[]
68273
+ updateMany?: TenderNotificationUpdateManyWithWhereWithoutSupplierCompanyInput | TenderNotificationUpdateManyWithWhereWithoutSupplierCompanyInput[]
68274
+ deleteMany?: TenderNotificationScalarWhereInput | TenderNotificationScalarWhereInput[]
68275
+ }
68276
+
67885
68277
  export type OrderCreateNestedOneWithoutHandling_unitsInput = {
67886
68278
  create?: XOR<OrderCreateWithoutHandling_unitsInput, OrderUncheckedCreateWithoutHandling_unitsInput>
67887
68279
  connectOrCreate?: OrderCreateOrConnectWithoutHandling_unitsInput
@@ -70745,6 +71137,12 @@ export namespace Prisma {
70745
71137
  connect?: GroupWhereUniqueInput
70746
71138
  }
70747
71139
 
71140
+ export type CompaniesCreateNestedOneWithoutSupplierNotificationsInput = {
71141
+ create?: XOR<CompaniesCreateWithoutSupplierNotificationsInput, CompaniesUncheckedCreateWithoutSupplierNotificationsInput>
71142
+ connectOrCreate?: CompaniesCreateOrConnectWithoutSupplierNotificationsInput
71143
+ connect?: CompaniesWhereUniqueInput
71144
+ }
71145
+
70748
71146
  export type TenderUpdateOneRequiredWithoutTenderNotificationsNestedInput = {
70749
71147
  create?: XOR<TenderCreateWithoutTenderNotificationsInput, TenderUncheckedCreateWithoutTenderNotificationsInput>
70750
71148
  connectOrCreate?: TenderCreateOrConnectWithoutTenderNotificationsInput
@@ -70773,6 +71171,16 @@ export namespace Prisma {
70773
71171
  update?: XOR<XOR<GroupUpdateToOneWithWhereWithoutTenderNotificationsInput, GroupUpdateWithoutTenderNotificationsInput>, GroupUncheckedUpdateWithoutTenderNotificationsInput>
70774
71172
  }
70775
71173
 
71174
+ export type CompaniesUpdateOneWithoutSupplierNotificationsNestedInput = {
71175
+ create?: XOR<CompaniesCreateWithoutSupplierNotificationsInput, CompaniesUncheckedCreateWithoutSupplierNotificationsInput>
71176
+ connectOrCreate?: CompaniesCreateOrConnectWithoutSupplierNotificationsInput
71177
+ upsert?: CompaniesUpsertWithoutSupplierNotificationsInput
71178
+ disconnect?: CompaniesWhereInput | boolean
71179
+ delete?: CompaniesWhereInput | boolean
71180
+ connect?: CompaniesWhereUniqueInput
71181
+ update?: XOR<XOR<CompaniesUpdateToOneWithWhereWithoutSupplierNotificationsInput, CompaniesUpdateWithoutSupplierNotificationsInput>, CompaniesUncheckedUpdateWithoutSupplierNotificationsInput>
71182
+ }
71183
+
70776
71184
  export type EnumLocationTypeFieldUpdateOperationsInput = {
70777
71185
  set?: $Enums.LocationType
70778
71186
  }
@@ -71709,10 +72117,12 @@ export namespace Prisma {
71709
72117
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
71710
72118
  forms?: FormCreateNestedManyWithoutCompanyInput
71711
72119
  tenders?: TenderCreateNestedManyWithoutCompanyInput
72120
+ orders?: OrderCreateNestedManyWithoutCompanyInput
71712
72121
  groups?: GroupCreateNestedManyWithoutCompanyInput
71713
72122
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
71714
72123
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
71715
72124
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
72125
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
71716
72126
  }
71717
72127
 
71718
72128
  export type CompaniesUncheckedCreateWithoutProductsInput = {
@@ -71734,10 +72144,12 @@ export namespace Prisma {
71734
72144
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
71735
72145
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
71736
72146
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
72147
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
71737
72148
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
71738
72149
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
71739
72150
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
71740
72151
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
72152
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
71741
72153
  }
71742
72154
 
71743
72155
  export type CompaniesCreateOrConnectWithoutProductsInput = {
@@ -71813,10 +72225,12 @@ export namespace Prisma {
71813
72225
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
71814
72226
  forms?: FormUpdateManyWithoutCompanyNestedInput
71815
72227
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
72228
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
71816
72229
  groups?: GroupUpdateManyWithoutCompanyNestedInput
71817
72230
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
71818
72231
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
71819
72232
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
72233
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
71820
72234
  }
71821
72235
 
71822
72236
  export type CompaniesUncheckedUpdateWithoutProductsInput = {
@@ -71838,10 +72252,12 @@ export namespace Prisma {
71838
72252
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
71839
72253
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
71840
72254
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
72255
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
71841
72256
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
71842
72257
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
71843
72258
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
71844
72259
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
72260
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
71845
72261
  }
71846
72262
 
71847
72263
  export type CompaniesCreateWithoutClientsInput = {
@@ -71862,11 +72278,13 @@ export namespace Prisma {
71862
72278
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
71863
72279
  forms?: FormCreateNestedManyWithoutCompanyInput
71864
72280
  tenders?: TenderCreateNestedManyWithoutCompanyInput
72281
+ orders?: OrderCreateNestedManyWithoutCompanyInput
71865
72282
  groups?: GroupCreateNestedManyWithoutCompanyInput
71866
72283
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
71867
72284
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
71868
72285
  products?: ProductCreateNestedManyWithoutCompanyInput
71869
72286
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
72287
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
71870
72288
  }
71871
72289
 
71872
72290
  export type CompaniesUncheckedCreateWithoutClientsInput = {
@@ -71887,11 +72305,13 @@ export namespace Prisma {
71887
72305
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
71888
72306
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
71889
72307
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
72308
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
71890
72309
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
71891
72310
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
71892
72311
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
71893
72312
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
71894
72313
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
72314
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
71895
72315
  }
71896
72316
 
71897
72317
  export type CompaniesCreateOrConnectWithoutClientsInput = {
@@ -71978,10 +72398,12 @@ export namespace Prisma {
71978
72398
  export type OrderCreateWithoutShipperInput = {
71979
72399
  id?: string
71980
72400
  reference?: string | null
72401
+ created_by?: string | null
71981
72402
  attachments?: NullableJsonNullValueInput | InputJsonValue
71982
72403
  status?: $Enums.RouteStatus
71983
72404
  created_at?: Date | string
71984
72405
  updated_at?: Date | string
72406
+ company?: CompaniesCreateNestedOneWithoutOrdersInput
71985
72407
  handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
71986
72408
  routes?: RouteCreateNestedManyWithoutOrderInput
71987
72409
  tenders?: TenderCreateNestedManyWithoutOrderInput
@@ -71990,6 +72412,8 @@ export namespace Prisma {
71990
72412
  export type OrderUncheckedCreateWithoutShipperInput = {
71991
72413
  id?: string
71992
72414
  reference?: string | null
72415
+ company_id?: string | null
72416
+ created_by?: string | null
71993
72417
  attachments?: NullableJsonNullValueInput | InputJsonValue
71994
72418
  status?: $Enums.RouteStatus
71995
72419
  created_at?: Date | string
@@ -72088,11 +72512,13 @@ export namespace Prisma {
72088
72512
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
72089
72513
  forms?: FormUpdateManyWithoutCompanyNestedInput
72090
72514
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
72515
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
72091
72516
  groups?: GroupUpdateManyWithoutCompanyNestedInput
72092
72517
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
72093
72518
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
72094
72519
  products?: ProductUpdateManyWithoutCompanyNestedInput
72095
72520
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
72521
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
72096
72522
  }
72097
72523
 
72098
72524
  export type CompaniesUncheckedUpdateWithoutClientsInput = {
@@ -72113,11 +72539,13 @@ export namespace Prisma {
72113
72539
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
72114
72540
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
72115
72541
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
72542
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
72116
72543
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
72117
72544
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
72118
72545
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
72119
72546
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
72120
72547
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
72548
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
72121
72549
  }
72122
72550
 
72123
72551
  export type ClientAddressUpsertWithWhereUniqueWithoutClientInput = {
@@ -72211,6 +72639,8 @@ export namespace Prisma {
72211
72639
  id?: UuidFilter<"Order"> | string
72212
72640
  reference?: StringNullableFilter<"Order"> | string | null
72213
72641
  shipper_id?: UuidNullableFilter<"Order"> | string | null
72642
+ company_id?: UuidNullableFilter<"Order"> | string | null
72643
+ created_by?: UuidNullableFilter<"Order"> | string | null
72214
72644
  attachments?: JsonNullableFilter<"Order">
72215
72645
  status?: EnumRouteStatusFilter<"Order"> | $Enums.RouteStatus
72216
72646
  created_at?: DateTimeFilter<"Order"> | Date | string
@@ -72430,6 +72860,65 @@ export namespace Prisma {
72430
72860
  create: XOR<ClientCreateWithoutOrders_as_shipperInput, ClientUncheckedCreateWithoutOrders_as_shipperInput>
72431
72861
  }
72432
72862
 
72863
+ export type CompaniesCreateWithoutOrdersInput = {
72864
+ id?: string
72865
+ tax_id?: string | null
72866
+ name: string
72867
+ address?: NullableJsonNullValueInput | InputJsonValue
72868
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
72869
+ country_code?: string | null
72870
+ is_validated?: boolean | null
72871
+ documents?: NullableJsonNullValueInput | InputJsonValue
72872
+ created_at?: Date | string
72873
+ updated_at?: Date | string
72874
+ clients?: ClientCreateNestedManyWithoutCompanyInput
72875
+ vehicles?: VehicleCreateNestedManyWithoutCompanyInput
72876
+ user_companies?: UserCompanyCreateNestedManyWithoutCompanyInput
72877
+ equipments?: EquipmentCreateNestedManyWithoutCompanyInput
72878
+ form_templates?: FormTemplateCreateNestedManyWithoutCompanyInput
72879
+ form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
72880
+ forms?: FormCreateNestedManyWithoutCompanyInput
72881
+ tenders?: TenderCreateNestedManyWithoutCompanyInput
72882
+ groups?: GroupCreateNestedManyWithoutCompanyInput
72883
+ companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
72884
+ regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
72885
+ products?: ProductCreateNestedManyWithoutCompanyInput
72886
+ regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
72887
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
72888
+ }
72889
+
72890
+ export type CompaniesUncheckedCreateWithoutOrdersInput = {
72891
+ id?: string
72892
+ tax_id?: string | null
72893
+ name: string
72894
+ address?: NullableJsonNullValueInput | InputJsonValue
72895
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
72896
+ country_code?: string | null
72897
+ is_validated?: boolean | null
72898
+ documents?: NullableJsonNullValueInput | InputJsonValue
72899
+ created_at?: Date | string
72900
+ updated_at?: Date | string
72901
+ clients?: ClientUncheckedCreateNestedManyWithoutCompanyInput
72902
+ vehicles?: VehicleUncheckedCreateNestedManyWithoutCompanyInput
72903
+ user_companies?: UserCompanyUncheckedCreateNestedManyWithoutCompanyInput
72904
+ equipments?: EquipmentUncheckedCreateNestedManyWithoutCompanyInput
72905
+ form_templates?: FormTemplateUncheckedCreateNestedManyWithoutCompanyInput
72906
+ form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
72907
+ forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
72908
+ tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
72909
+ groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
72910
+ companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
72911
+ regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
72912
+ products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
72913
+ regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
72914
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
72915
+ }
72916
+
72917
+ export type CompaniesCreateOrConnectWithoutOrdersInput = {
72918
+ where: CompaniesWhereUniqueInput
72919
+ create: XOR<CompaniesCreateWithoutOrdersInput, CompaniesUncheckedCreateWithoutOrdersInput>
72920
+ }
72921
+
72433
72922
  export type HandlingUnitCreateWithoutOrderInput = {
72434
72923
  id?: string
72435
72924
  quantity?: number
@@ -72534,6 +73023,7 @@ export namespace Prisma {
72534
73023
 
72535
73024
  export type TenderCreateWithoutOrderInput = {
72536
73025
  id?: string
73026
+ code?: string | null
72537
73027
  title: string
72538
73028
  description?: string | null
72539
73029
  status?: $Enums.TenderStatus
@@ -72556,6 +73046,7 @@ export namespace Prisma {
72556
73046
 
72557
73047
  export type TenderUncheckedCreateWithoutOrderInput = {
72558
73048
  id?: string
73049
+ code?: string | null
72559
73050
  title: string
72560
73051
  description?: string | null
72561
73052
  status?: $Enums.TenderStatus
@@ -72629,6 +73120,71 @@ export namespace Prisma {
72629
73120
  handling_units_as_consignee?: HandlingUnitUncheckedUpdateManyWithoutClientNestedInput
72630
73121
  }
72631
73122
 
73123
+ export type CompaniesUpsertWithoutOrdersInput = {
73124
+ update: XOR<CompaniesUpdateWithoutOrdersInput, CompaniesUncheckedUpdateWithoutOrdersInput>
73125
+ create: XOR<CompaniesCreateWithoutOrdersInput, CompaniesUncheckedCreateWithoutOrdersInput>
73126
+ where?: CompaniesWhereInput
73127
+ }
73128
+
73129
+ export type CompaniesUpdateToOneWithWhereWithoutOrdersInput = {
73130
+ where?: CompaniesWhereInput
73131
+ data: XOR<CompaniesUpdateWithoutOrdersInput, CompaniesUncheckedUpdateWithoutOrdersInput>
73132
+ }
73133
+
73134
+ export type CompaniesUpdateWithoutOrdersInput = {
73135
+ id?: StringFieldUpdateOperationsInput | string
73136
+ tax_id?: NullableStringFieldUpdateOperationsInput | string | null
73137
+ name?: StringFieldUpdateOperationsInput | string
73138
+ address?: NullableJsonNullValueInput | InputJsonValue
73139
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
73140
+ country_code?: NullableStringFieldUpdateOperationsInput | string | null
73141
+ is_validated?: NullableBoolFieldUpdateOperationsInput | boolean | null
73142
+ documents?: NullableJsonNullValueInput | InputJsonValue
73143
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
73144
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
73145
+ clients?: ClientUpdateManyWithoutCompanyNestedInput
73146
+ vehicles?: VehicleUpdateManyWithoutCompanyNestedInput
73147
+ user_companies?: UserCompanyUpdateManyWithoutCompanyNestedInput
73148
+ equipments?: EquipmentUpdateManyWithoutCompanyNestedInput
73149
+ form_templates?: FormTemplateUpdateManyWithoutCompanyNestedInput
73150
+ form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
73151
+ forms?: FormUpdateManyWithoutCompanyNestedInput
73152
+ tenders?: TenderUpdateManyWithoutCompanyNestedInput
73153
+ groups?: GroupUpdateManyWithoutCompanyNestedInput
73154
+ companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
73155
+ regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
73156
+ products?: ProductUpdateManyWithoutCompanyNestedInput
73157
+ regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
73158
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
73159
+ }
73160
+
73161
+ export type CompaniesUncheckedUpdateWithoutOrdersInput = {
73162
+ id?: StringFieldUpdateOperationsInput | string
73163
+ tax_id?: NullableStringFieldUpdateOperationsInput | string | null
73164
+ name?: StringFieldUpdateOperationsInput | string
73165
+ address?: NullableJsonNullValueInput | InputJsonValue
73166
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
73167
+ country_code?: NullableStringFieldUpdateOperationsInput | string | null
73168
+ is_validated?: NullableBoolFieldUpdateOperationsInput | boolean | null
73169
+ documents?: NullableJsonNullValueInput | InputJsonValue
73170
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
73171
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
73172
+ clients?: ClientUncheckedUpdateManyWithoutCompanyNestedInput
73173
+ vehicles?: VehicleUncheckedUpdateManyWithoutCompanyNestedInput
73174
+ user_companies?: UserCompanyUncheckedUpdateManyWithoutCompanyNestedInput
73175
+ equipments?: EquipmentUncheckedUpdateManyWithoutCompanyNestedInput
73176
+ form_templates?: FormTemplateUncheckedUpdateManyWithoutCompanyNestedInput
73177
+ form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
73178
+ forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
73179
+ tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
73180
+ groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
73181
+ companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
73182
+ regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
73183
+ products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
73184
+ regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
73185
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
73186
+ }
73187
+
72632
73188
  export type HandlingUnitUpsertWithWhereUniqueWithoutOrderInput = {
72633
73189
  where: HandlingUnitWhereUniqueInput
72634
73190
  update: XOR<HandlingUnitUpdateWithoutOrderInput, HandlingUnitUncheckedUpdateWithoutOrderInput>
@@ -72705,6 +73261,7 @@ export namespace Prisma {
72705
73261
  OR?: TenderScalarWhereInput[]
72706
73262
  NOT?: TenderScalarWhereInput | TenderScalarWhereInput[]
72707
73263
  id?: UuidFilter<"Tender"> | string
73264
+ code?: StringNullableFilter<"Tender"> | string | null
72708
73265
  title?: StringFilter<"Tender"> | string
72709
73266
  description?: StringNullableFilter<"Tender"> | string | null
72710
73267
  status?: EnumTenderStatusFilter<"Tender"> | $Enums.TenderStatus
@@ -73038,6 +73595,7 @@ export namespace Prisma {
73038
73595
 
73039
73596
  export type TenderCreateWithoutCompanyInput = {
73040
73597
  id?: string
73598
+ code?: string | null
73041
73599
  title: string
73042
73600
  description?: string | null
73043
73601
  status?: $Enums.TenderStatus
@@ -73060,6 +73618,7 @@ export namespace Prisma {
73060
73618
 
73061
73619
  export type TenderUncheckedCreateWithoutCompanyInput = {
73062
73620
  id?: string
73621
+ code?: string | null
73063
73622
  title: string
73064
73623
  description?: string | null
73065
73624
  status?: $Enums.TenderStatus
@@ -73090,6 +73649,44 @@ export namespace Prisma {
73090
73649
  skipDuplicates?: boolean
73091
73650
  }
73092
73651
 
73652
+ export type OrderCreateWithoutCompanyInput = {
73653
+ id?: string
73654
+ reference?: string | null
73655
+ created_by?: string | null
73656
+ attachments?: NullableJsonNullValueInput | InputJsonValue
73657
+ status?: $Enums.RouteStatus
73658
+ created_at?: Date | string
73659
+ updated_at?: Date | string
73660
+ shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
73661
+ handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
73662
+ routes?: RouteCreateNestedManyWithoutOrderInput
73663
+ tenders?: TenderCreateNestedManyWithoutOrderInput
73664
+ }
73665
+
73666
+ export type OrderUncheckedCreateWithoutCompanyInput = {
73667
+ id?: string
73668
+ reference?: string | null
73669
+ shipper_id?: string | null
73670
+ created_by?: string | null
73671
+ attachments?: NullableJsonNullValueInput | InputJsonValue
73672
+ status?: $Enums.RouteStatus
73673
+ created_at?: Date | string
73674
+ updated_at?: Date | string
73675
+ handling_units?: HandlingUnitUncheckedCreateNestedManyWithoutOrderInput
73676
+ routes?: RouteUncheckedCreateNestedManyWithoutOrderInput
73677
+ tenders?: TenderUncheckedCreateNestedManyWithoutOrderInput
73678
+ }
73679
+
73680
+ export type OrderCreateOrConnectWithoutCompanyInput = {
73681
+ where: OrderWhereUniqueInput
73682
+ create: XOR<OrderCreateWithoutCompanyInput, OrderUncheckedCreateWithoutCompanyInput>
73683
+ }
73684
+
73685
+ export type OrderCreateManyCompanyInputEnvelope = {
73686
+ data: OrderCreateManyCompanyInput | OrderCreateManyCompanyInput[]
73687
+ skipDuplicates?: boolean
73688
+ }
73689
+
73093
73690
  export type GroupCreateWithoutCompanyInput = {
73094
73691
  id?: string
73095
73692
  name: string
@@ -73242,6 +73839,40 @@ export namespace Prisma {
73242
73839
  skipDuplicates?: boolean
73243
73840
  }
73244
73841
 
73842
+ export type TenderNotificationCreateWithoutSupplierCompanyInput = {
73843
+ id?: string
73844
+ whatsapp?: boolean
73845
+ email?: boolean
73846
+ push?: boolean
73847
+ message: string
73848
+ created_at?: Date | string
73849
+ tender: TenderCreateNestedOneWithoutTenderNotificationsInput
73850
+ user?: UserCreateNestedOneWithoutTenderNotificationsInput
73851
+ group?: GroupCreateNestedOneWithoutTenderNotificationsInput
73852
+ }
73853
+
73854
+ export type TenderNotificationUncheckedCreateWithoutSupplierCompanyInput = {
73855
+ id?: string
73856
+ tender_id: string
73857
+ user_id?: string | null
73858
+ group_id?: string | null
73859
+ whatsapp?: boolean
73860
+ email?: boolean
73861
+ push?: boolean
73862
+ message: string
73863
+ created_at?: Date | string
73864
+ }
73865
+
73866
+ export type TenderNotificationCreateOrConnectWithoutSupplierCompanyInput = {
73867
+ where: TenderNotificationWhereUniqueInput
73868
+ create: XOR<TenderNotificationCreateWithoutSupplierCompanyInput, TenderNotificationUncheckedCreateWithoutSupplierCompanyInput>
73869
+ }
73870
+
73871
+ export type TenderNotificationCreateManySupplierCompanyInputEnvelope = {
73872
+ data: TenderNotificationCreateManySupplierCompanyInput | TenderNotificationCreateManySupplierCompanyInput[]
73873
+ skipDuplicates?: boolean
73874
+ }
73875
+
73245
73876
  export type ClientUpsertWithWhereUniqueWithoutCompanyInput = {
73246
73877
  where: ClientWhereUniqueInput
73247
73878
  update: XOR<ClientUpdateWithoutCompanyInput, ClientUncheckedUpdateWithoutCompanyInput>
@@ -73506,6 +74137,22 @@ export namespace Prisma {
73506
74137
  data: XOR<TenderUpdateManyMutationInput, TenderUncheckedUpdateManyWithoutCompanyInput>
73507
74138
  }
73508
74139
 
74140
+ export type OrderUpsertWithWhereUniqueWithoutCompanyInput = {
74141
+ where: OrderWhereUniqueInput
74142
+ update: XOR<OrderUpdateWithoutCompanyInput, OrderUncheckedUpdateWithoutCompanyInput>
74143
+ create: XOR<OrderCreateWithoutCompanyInput, OrderUncheckedCreateWithoutCompanyInput>
74144
+ }
74145
+
74146
+ export type OrderUpdateWithWhereUniqueWithoutCompanyInput = {
74147
+ where: OrderWhereUniqueInput
74148
+ data: XOR<OrderUpdateWithoutCompanyInput, OrderUncheckedUpdateWithoutCompanyInput>
74149
+ }
74150
+
74151
+ export type OrderUpdateManyWithWhereWithoutCompanyInput = {
74152
+ where: OrderScalarWhereInput
74153
+ data: XOR<OrderUpdateManyMutationInput, OrderUncheckedUpdateManyWithoutCompanyInput>
74154
+ }
74155
+
73509
74156
  export type GroupUpsertWithWhereUniqueWithoutCompanyInput = {
73510
74157
  where: GroupWhereUniqueInput
73511
74158
  update: XOR<GroupUpdateWithoutCompanyInput, GroupUncheckedUpdateWithoutCompanyInput>
@@ -73643,14 +74290,48 @@ export namespace Prisma {
73643
74290
  data: XOR<RegularSupplierUpdateManyMutationInput, RegularSupplierUncheckedUpdateManyWithoutSupplierInput>
73644
74291
  }
73645
74292
 
74293
+ export type TenderNotificationUpsertWithWhereUniqueWithoutSupplierCompanyInput = {
74294
+ where: TenderNotificationWhereUniqueInput
74295
+ update: XOR<TenderNotificationUpdateWithoutSupplierCompanyInput, TenderNotificationUncheckedUpdateWithoutSupplierCompanyInput>
74296
+ create: XOR<TenderNotificationCreateWithoutSupplierCompanyInput, TenderNotificationUncheckedCreateWithoutSupplierCompanyInput>
74297
+ }
74298
+
74299
+ export type TenderNotificationUpdateWithWhereUniqueWithoutSupplierCompanyInput = {
74300
+ where: TenderNotificationWhereUniqueInput
74301
+ data: XOR<TenderNotificationUpdateWithoutSupplierCompanyInput, TenderNotificationUncheckedUpdateWithoutSupplierCompanyInput>
74302
+ }
74303
+
74304
+ export type TenderNotificationUpdateManyWithWhereWithoutSupplierCompanyInput = {
74305
+ where: TenderNotificationScalarWhereInput
74306
+ data: XOR<TenderNotificationUpdateManyMutationInput, TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyInput>
74307
+ }
74308
+
74309
+ export type TenderNotificationScalarWhereInput = {
74310
+ AND?: TenderNotificationScalarWhereInput | TenderNotificationScalarWhereInput[]
74311
+ OR?: TenderNotificationScalarWhereInput[]
74312
+ NOT?: TenderNotificationScalarWhereInput | TenderNotificationScalarWhereInput[]
74313
+ id?: UuidFilter<"TenderNotification"> | string
74314
+ tender_id?: UuidFilter<"TenderNotification"> | string
74315
+ user_id?: UuidNullableFilter<"TenderNotification"> | string | null
74316
+ group_id?: UuidNullableFilter<"TenderNotification"> | string | null
74317
+ supplier_company_id?: UuidNullableFilter<"TenderNotification"> | string | null
74318
+ whatsapp?: BoolFilter<"TenderNotification"> | boolean
74319
+ email?: BoolFilter<"TenderNotification"> | boolean
74320
+ push?: BoolFilter<"TenderNotification"> | boolean
74321
+ message?: StringFilter<"TenderNotification"> | string
74322
+ created_at?: DateTimeFilter<"TenderNotification"> | Date | string
74323
+ }
74324
+
73646
74325
  export type OrderCreateWithoutHandling_unitsInput = {
73647
74326
  id?: string
73648
74327
  reference?: string | null
74328
+ created_by?: string | null
73649
74329
  attachments?: NullableJsonNullValueInput | InputJsonValue
73650
74330
  status?: $Enums.RouteStatus
73651
74331
  created_at?: Date | string
73652
74332
  updated_at?: Date | string
73653
74333
  shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
74334
+ company?: CompaniesCreateNestedOneWithoutOrdersInput
73654
74335
  routes?: RouteCreateNestedManyWithoutOrderInput
73655
74336
  tenders?: TenderCreateNestedManyWithoutOrderInput
73656
74337
  }
@@ -73659,6 +74340,8 @@ export namespace Prisma {
73659
74340
  id?: string
73660
74341
  reference?: string | null
73661
74342
  shipper_id?: string | null
74343
+ company_id?: string | null
74344
+ created_by?: string | null
73662
74345
  attachments?: NullableJsonNullValueInput | InputJsonValue
73663
74346
  status?: $Enums.RouteStatus
73664
74347
  created_at?: Date | string
@@ -73816,11 +74499,13 @@ export namespace Prisma {
73816
74499
  export type OrderUpdateWithoutHandling_unitsInput = {
73817
74500
  id?: StringFieldUpdateOperationsInput | string
73818
74501
  reference?: NullableStringFieldUpdateOperationsInput | string | null
74502
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
73819
74503
  attachments?: NullableJsonNullValueInput | InputJsonValue
73820
74504
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
73821
74505
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
73822
74506
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
73823
74507
  shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
74508
+ company?: CompaniesUpdateOneWithoutOrdersNestedInput
73824
74509
  routes?: RouteUpdateManyWithoutOrderNestedInput
73825
74510
  tenders?: TenderUpdateManyWithoutOrderNestedInput
73826
74511
  }
@@ -73829,6 +74514,8 @@ export namespace Prisma {
73829
74514
  id?: StringFieldUpdateOperationsInput | string
73830
74515
  reference?: NullableStringFieldUpdateOperationsInput | string | null
73831
74516
  shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
74517
+ company_id?: NullableStringFieldUpdateOperationsInput | string | null
74518
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
73832
74519
  attachments?: NullableJsonNullValueInput | InputJsonValue
73833
74520
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
73834
74521
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -74245,6 +74932,7 @@ export namespace Prisma {
74245
74932
 
74246
74933
  export type TenderCreateWithoutUserInput = {
74247
74934
  id?: string
74935
+ code?: string | null
74248
74936
  title: string
74249
74937
  description?: string | null
74250
74938
  status?: $Enums.TenderStatus
@@ -74267,6 +74955,7 @@ export namespace Prisma {
74267
74955
 
74268
74956
  export type TenderUncheckedCreateWithoutUserInput = {
74269
74957
  id?: string
74958
+ code?: string | null
74270
74959
  title: string
74271
74960
  description?: string | null
74272
74961
  status?: $Enums.TenderStatus
@@ -74300,6 +74989,7 @@ export namespace Prisma {
74300
74989
  export type TenderChatCreateWithoutUser_sendsInput = {
74301
74990
  id?: string
74302
74991
  message: string
74992
+ read_at?: Date | string | null
74303
74993
  created_at?: Date | string
74304
74994
  tender: TenderCreateNestedOneWithoutTenderChatsInput
74305
74995
  user_receives: UserCreateNestedOneWithoutTenderChats2Input
@@ -74310,6 +75000,7 @@ export namespace Prisma {
74310
75000
  tender_id: string
74311
75001
  user_receives_id: string
74312
75002
  message: string
75003
+ read_at?: Date | string | null
74313
75004
  created_at?: Date | string
74314
75005
  }
74315
75006
 
@@ -74326,6 +75017,7 @@ export namespace Prisma {
74326
75017
  export type TenderChatCreateWithoutUser_receivesInput = {
74327
75018
  id?: string
74328
75019
  message: string
75020
+ read_at?: Date | string | null
74329
75021
  created_at?: Date | string
74330
75022
  tender: TenderCreateNestedOneWithoutTenderChatsInput
74331
75023
  user_sends: UserCreateNestedOneWithoutTenderChatsInput
@@ -74336,6 +75028,7 @@ export namespace Prisma {
74336
75028
  tender_id: string
74337
75029
  user_sends_id: string
74338
75030
  message: string
75031
+ read_at?: Date | string | null
74339
75032
  created_at?: Date | string
74340
75033
  }
74341
75034
 
@@ -74458,12 +75151,14 @@ export namespace Prisma {
74458
75151
  created_at?: Date | string
74459
75152
  tender: TenderCreateNestedOneWithoutTenderNotificationsInput
74460
75153
  group?: GroupCreateNestedOneWithoutTenderNotificationsInput
75154
+ supplierCompany?: CompaniesCreateNestedOneWithoutSupplierNotificationsInput
74461
75155
  }
74462
75156
 
74463
75157
  export type TenderNotificationUncheckedCreateWithoutUserInput = {
74464
75158
  id?: string
74465
75159
  tender_id: string
74466
75160
  group_id?: string | null
75161
+ supplier_company_id?: string | null
74467
75162
  whatsapp?: boolean
74468
75163
  email?: boolean
74469
75164
  push?: boolean
@@ -74660,6 +75355,7 @@ export namespace Prisma {
74660
75355
  user_sends_id?: UuidFilter<"TenderChat"> | string
74661
75356
  user_receives_id?: UuidFilter<"TenderChat"> | string
74662
75357
  message?: StringFilter<"TenderChat"> | string
75358
+ read_at?: DateTimeNullableFilter<"TenderChat"> | Date | string | null
74663
75359
  created_at?: DateTimeFilter<"TenderChat"> | Date | string
74664
75360
  }
74665
75361
 
@@ -74772,21 +75468,6 @@ export namespace Prisma {
74772
75468
  data: XOR<TenderNotificationUpdateManyMutationInput, TenderNotificationUncheckedUpdateManyWithoutUserInput>
74773
75469
  }
74774
75470
 
74775
- export type TenderNotificationScalarWhereInput = {
74776
- AND?: TenderNotificationScalarWhereInput | TenderNotificationScalarWhereInput[]
74777
- OR?: TenderNotificationScalarWhereInput[]
74778
- NOT?: TenderNotificationScalarWhereInput | TenderNotificationScalarWhereInput[]
74779
- id?: UuidFilter<"TenderNotification"> | string
74780
- tender_id?: UuidFilter<"TenderNotification"> | string
74781
- user_id?: UuidNullableFilter<"TenderNotification"> | string | null
74782
- group_id?: UuidNullableFilter<"TenderNotification"> | string | null
74783
- whatsapp?: BoolFilter<"TenderNotification"> | boolean
74784
- email?: BoolFilter<"TenderNotification"> | boolean
74785
- push?: BoolFilter<"TenderNotification"> | boolean
74786
- message?: StringFilter<"TenderNotification"> | string
74787
- created_at?: DateTimeFilter<"TenderNotification"> | Date | string
74788
- }
74789
-
74790
75471
  export type UserCreateWithoutUser_companiesInput = {
74791
75472
  id?: string
74792
75473
  email: string
@@ -74860,11 +75541,13 @@ export namespace Prisma {
74860
75541
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
74861
75542
  forms?: FormCreateNestedManyWithoutCompanyInput
74862
75543
  tenders?: TenderCreateNestedManyWithoutCompanyInput
75544
+ orders?: OrderCreateNestedManyWithoutCompanyInput
74863
75545
  groups?: GroupCreateNestedManyWithoutCompanyInput
74864
75546
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
74865
75547
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
74866
75548
  products?: ProductCreateNestedManyWithoutCompanyInput
74867
75549
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
75550
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
74868
75551
  }
74869
75552
 
74870
75553
  export type CompaniesUncheckedCreateWithoutUser_companiesInput = {
@@ -74885,11 +75568,13 @@ export namespace Prisma {
74885
75568
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
74886
75569
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
74887
75570
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
75571
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
74888
75572
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
74889
75573
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
74890
75574
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
74891
75575
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
74892
75576
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
75577
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
74893
75578
  }
74894
75579
 
74895
75580
  export type CompaniesCreateOrConnectWithoutUser_companiesInput = {
@@ -74987,11 +75672,13 @@ export namespace Prisma {
74987
75672
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
74988
75673
  forms?: FormUpdateManyWithoutCompanyNestedInput
74989
75674
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
75675
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
74990
75676
  groups?: GroupUpdateManyWithoutCompanyNestedInput
74991
75677
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
74992
75678
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
74993
75679
  products?: ProductUpdateManyWithoutCompanyNestedInput
74994
75680
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
75681
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
74995
75682
  }
74996
75683
 
74997
75684
  export type CompaniesUncheckedUpdateWithoutUser_companiesInput = {
@@ -75012,11 +75699,13 @@ export namespace Prisma {
75012
75699
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
75013
75700
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
75014
75701
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
75702
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
75015
75703
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
75016
75704
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
75017
75705
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
75018
75706
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
75019
75707
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
75708
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
75020
75709
  }
75021
75710
 
75022
75711
  export type UserCreateWithoutSessionsInput = {
@@ -75461,11 +76150,13 @@ export namespace Prisma {
75461
76150
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
75462
76151
  forms?: FormCreateNestedManyWithoutCompanyInput
75463
76152
  tenders?: TenderCreateNestedManyWithoutCompanyInput
76153
+ orders?: OrderCreateNestedManyWithoutCompanyInput
75464
76154
  groups?: GroupCreateNestedManyWithoutCompanyInput
75465
76155
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
75466
76156
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
75467
76157
  products?: ProductCreateNestedManyWithoutCompanyInput
75468
76158
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
76159
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
75469
76160
  }
75470
76161
 
75471
76162
  export type CompaniesUncheckedCreateWithoutVehiclesInput = {
@@ -75486,11 +76177,13 @@ export namespace Prisma {
75486
76177
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
75487
76178
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
75488
76179
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
76180
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
75489
76181
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
75490
76182
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
75491
76183
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
75492
76184
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
75493
76185
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
76186
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
75494
76187
  }
75495
76188
 
75496
76189
  export type CompaniesCreateOrConnectWithoutVehiclesInput = {
@@ -75814,11 +76507,13 @@ export namespace Prisma {
75814
76507
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
75815
76508
  forms?: FormUpdateManyWithoutCompanyNestedInput
75816
76509
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
76510
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
75817
76511
  groups?: GroupUpdateManyWithoutCompanyNestedInput
75818
76512
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
75819
76513
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
75820
76514
  products?: ProductUpdateManyWithoutCompanyNestedInput
75821
76515
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
76516
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
75822
76517
  }
75823
76518
 
75824
76519
  export type CompaniesUncheckedUpdateWithoutVehiclesInput = {
@@ -75839,11 +76534,13 @@ export namespace Prisma {
75839
76534
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
75840
76535
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
75841
76536
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
76537
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
75842
76538
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
75843
76539
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
75844
76540
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
75845
76541
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
75846
76542
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
76543
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
75847
76544
  }
75848
76545
 
75849
76546
  export type VehicleTypeUpsertWithoutVehiclesInput = {
@@ -75967,11 +76664,13 @@ export namespace Prisma {
75967
76664
  export type OrderCreateWithoutRoutesInput = {
75968
76665
  id?: string
75969
76666
  reference?: string | null
76667
+ created_by?: string | null
75970
76668
  attachments?: NullableJsonNullValueInput | InputJsonValue
75971
76669
  status?: $Enums.RouteStatus
75972
76670
  created_at?: Date | string
75973
76671
  updated_at?: Date | string
75974
76672
  shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
76673
+ company?: CompaniesCreateNestedOneWithoutOrdersInput
75975
76674
  handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
75976
76675
  tenders?: TenderCreateNestedManyWithoutOrderInput
75977
76676
  }
@@ -75980,6 +76679,8 @@ export namespace Prisma {
75980
76679
  id?: string
75981
76680
  reference?: string | null
75982
76681
  shipper_id?: string | null
76682
+ company_id?: string | null
76683
+ created_by?: string | null
75983
76684
  attachments?: NullableJsonNullValueInput | InputJsonValue
75984
76685
  status?: $Enums.RouteStatus
75985
76686
  created_at?: Date | string
@@ -76189,11 +76890,13 @@ export namespace Prisma {
76189
76890
  export type OrderUpdateWithoutRoutesInput = {
76190
76891
  id?: StringFieldUpdateOperationsInput | string
76191
76892
  reference?: NullableStringFieldUpdateOperationsInput | string | null
76893
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
76192
76894
  attachments?: NullableJsonNullValueInput | InputJsonValue
76193
76895
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
76194
76896
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
76195
76897
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
76196
76898
  shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
76899
+ company?: CompaniesUpdateOneWithoutOrdersNestedInput
76197
76900
  handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
76198
76901
  tenders?: TenderUpdateManyWithoutOrderNestedInput
76199
76902
  }
@@ -76202,6 +76905,8 @@ export namespace Prisma {
76202
76905
  id?: StringFieldUpdateOperationsInput | string
76203
76906
  reference?: NullableStringFieldUpdateOperationsInput | string | null
76204
76907
  shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
76908
+ company_id?: NullableStringFieldUpdateOperationsInput | string | null
76909
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
76205
76910
  attachments?: NullableJsonNullValueInput | InputJsonValue
76206
76911
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
76207
76912
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -77251,11 +77956,13 @@ export namespace Prisma {
77251
77956
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
77252
77957
  forms?: FormCreateNestedManyWithoutCompanyInput
77253
77958
  tenders?: TenderCreateNestedManyWithoutCompanyInput
77959
+ orders?: OrderCreateNestedManyWithoutCompanyInput
77254
77960
  groups?: GroupCreateNestedManyWithoutCompanyInput
77255
77961
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
77256
77962
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
77257
77963
  products?: ProductCreateNestedManyWithoutCompanyInput
77258
77964
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
77965
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
77259
77966
  }
77260
77967
 
77261
77968
  export type CompaniesUncheckedCreateWithoutEquipmentsInput = {
@@ -77276,11 +77983,13 @@ export namespace Prisma {
77276
77983
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
77277
77984
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
77278
77985
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
77986
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
77279
77987
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
77280
77988
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
77281
77989
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
77282
77990
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
77283
77991
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
77992
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
77284
77993
  }
77285
77994
 
77286
77995
  export type CompaniesCreateOrConnectWithoutEquipmentsInput = {
@@ -77478,11 +78187,13 @@ export namespace Prisma {
77478
78187
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
77479
78188
  forms?: FormUpdateManyWithoutCompanyNestedInput
77480
78189
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
78190
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
77481
78191
  groups?: GroupUpdateManyWithoutCompanyNestedInput
77482
78192
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
77483
78193
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
77484
78194
  products?: ProductUpdateManyWithoutCompanyNestedInput
77485
78195
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
78196
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
77486
78197
  }
77487
78198
 
77488
78199
  export type CompaniesUncheckedUpdateWithoutEquipmentsInput = {
@@ -77503,11 +78214,13 @@ export namespace Prisma {
77503
78214
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
77504
78215
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
77505
78216
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
78217
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
77506
78218
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
77507
78219
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
77508
78220
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
77509
78221
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
77510
78222
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
78223
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
77511
78224
  }
77512
78225
 
77513
78226
  export type VehicleUpsertWithoutEquipmentsInput = {
@@ -77955,11 +78668,13 @@ export namespace Prisma {
77955
78668
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
77956
78669
  forms?: FormCreateNestedManyWithoutCompanyInput
77957
78670
  tenders?: TenderCreateNestedManyWithoutCompanyInput
78671
+ orders?: OrderCreateNestedManyWithoutCompanyInput
77958
78672
  groups?: GroupCreateNestedManyWithoutCompanyInput
77959
78673
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
77960
78674
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
77961
78675
  products?: ProductCreateNestedManyWithoutCompanyInput
77962
78676
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
78677
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
77963
78678
  }
77964
78679
 
77965
78680
  export type CompaniesUncheckedCreateWithoutForm_templatesInput = {
@@ -77980,11 +78695,13 @@ export namespace Prisma {
77980
78695
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
77981
78696
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
77982
78697
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
78698
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
77983
78699
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
77984
78700
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
77985
78701
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
77986
78702
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
77987
78703
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
78704
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
77988
78705
  }
77989
78706
 
77990
78707
  export type CompaniesCreateOrConnectWithoutForm_templatesInput = {
@@ -78200,11 +78917,13 @@ export namespace Prisma {
78200
78917
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
78201
78918
  forms?: FormUpdateManyWithoutCompanyNestedInput
78202
78919
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
78920
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
78203
78921
  groups?: GroupUpdateManyWithoutCompanyNestedInput
78204
78922
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
78205
78923
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
78206
78924
  products?: ProductUpdateManyWithoutCompanyNestedInput
78207
78925
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
78926
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
78208
78927
  }
78209
78928
 
78210
78929
  export type CompaniesUncheckedUpdateWithoutForm_templatesInput = {
@@ -78225,11 +78944,13 @@ export namespace Prisma {
78225
78944
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
78226
78945
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
78227
78946
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
78947
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
78228
78948
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
78229
78949
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
78230
78950
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
78231
78951
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
78232
78952
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
78953
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
78233
78954
  }
78234
78955
 
78235
78956
  export type UserUpsertWithoutForm_templates_createdInput = {
@@ -78535,11 +79256,13 @@ export namespace Prisma {
78535
79256
  form_templates?: FormTemplateCreateNestedManyWithoutCompanyInput
78536
79257
  forms?: FormCreateNestedManyWithoutCompanyInput
78537
79258
  tenders?: TenderCreateNestedManyWithoutCompanyInput
79259
+ orders?: OrderCreateNestedManyWithoutCompanyInput
78538
79260
  groups?: GroupCreateNestedManyWithoutCompanyInput
78539
79261
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
78540
79262
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
78541
79263
  products?: ProductCreateNestedManyWithoutCompanyInput
78542
79264
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
79265
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
78543
79266
  }
78544
79267
 
78545
79268
  export type CompaniesUncheckedCreateWithoutForm_responsesInput = {
@@ -78560,11 +79283,13 @@ export namespace Prisma {
78560
79283
  form_templates?: FormTemplateUncheckedCreateNestedManyWithoutCompanyInput
78561
79284
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
78562
79285
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
79286
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
78563
79287
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
78564
79288
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
78565
79289
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
78566
79290
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
78567
79291
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
79292
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
78568
79293
  }
78569
79294
 
78570
79295
  export type CompaniesCreateOrConnectWithoutForm_responsesInput = {
@@ -78744,11 +79469,13 @@ export namespace Prisma {
78744
79469
  form_templates?: FormTemplateUpdateManyWithoutCompanyNestedInput
78745
79470
  forms?: FormUpdateManyWithoutCompanyNestedInput
78746
79471
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
79472
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
78747
79473
  groups?: GroupUpdateManyWithoutCompanyNestedInput
78748
79474
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
78749
79475
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
78750
79476
  products?: ProductUpdateManyWithoutCompanyNestedInput
78751
79477
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
79478
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
78752
79479
  }
78753
79480
 
78754
79481
  export type CompaniesUncheckedUpdateWithoutForm_responsesInput = {
@@ -78769,11 +79496,13 @@ export namespace Prisma {
78769
79496
  form_templates?: FormTemplateUncheckedUpdateManyWithoutCompanyNestedInput
78770
79497
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
78771
79498
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
79499
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
78772
79500
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
78773
79501
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
78774
79502
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
78775
79503
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
78776
79504
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
79505
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
78777
79506
  }
78778
79507
 
78779
79508
  export type UserUpsertWithoutForm_responsesInput = {
@@ -78892,11 +79621,13 @@ export namespace Prisma {
78892
79621
  form_templates?: FormTemplateCreateNestedManyWithoutCompanyInput
78893
79622
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
78894
79623
  tenders?: TenderCreateNestedManyWithoutCompanyInput
79624
+ orders?: OrderCreateNestedManyWithoutCompanyInput
78895
79625
  groups?: GroupCreateNestedManyWithoutCompanyInput
78896
79626
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
78897
79627
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
78898
79628
  products?: ProductCreateNestedManyWithoutCompanyInput
78899
79629
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
79630
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
78900
79631
  }
78901
79632
 
78902
79633
  export type CompaniesUncheckedCreateWithoutFormsInput = {
@@ -78917,11 +79648,13 @@ export namespace Prisma {
78917
79648
  form_templates?: FormTemplateUncheckedCreateNestedManyWithoutCompanyInput
78918
79649
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
78919
79650
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
79651
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
78920
79652
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
78921
79653
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
78922
79654
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
78923
79655
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
78924
79656
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
79657
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
78925
79658
  }
78926
79659
 
78927
79660
  export type CompaniesCreateOrConnectWithoutFormsInput = {
@@ -79138,11 +79871,13 @@ export namespace Prisma {
79138
79871
  form_templates?: FormTemplateUpdateManyWithoutCompanyNestedInput
79139
79872
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
79140
79873
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
79874
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
79141
79875
  groups?: GroupUpdateManyWithoutCompanyNestedInput
79142
79876
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
79143
79877
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
79144
79878
  products?: ProductUpdateManyWithoutCompanyNestedInput
79145
79879
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
79880
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
79146
79881
  }
79147
79882
 
79148
79883
  export type CompaniesUncheckedUpdateWithoutFormsInput = {
@@ -79163,11 +79898,13 @@ export namespace Prisma {
79163
79898
  form_templates?: FormTemplateUncheckedUpdateManyWithoutCompanyNestedInput
79164
79899
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
79165
79900
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
79901
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
79166
79902
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
79167
79903
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
79168
79904
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
79169
79905
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
79170
79906
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
79907
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
79171
79908
  }
79172
79909
 
79173
79910
  export type UserUpsertWithoutForms_createdInput = {
@@ -79660,11 +80397,13 @@ export namespace Prisma {
79660
80397
  form_templates?: FormTemplateCreateNestedManyWithoutCompanyInput
79661
80398
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
79662
80399
  forms?: FormCreateNestedManyWithoutCompanyInput
80400
+ orders?: OrderCreateNestedManyWithoutCompanyInput
79663
80401
  groups?: GroupCreateNestedManyWithoutCompanyInput
79664
80402
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
79665
80403
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
79666
80404
  products?: ProductCreateNestedManyWithoutCompanyInput
79667
80405
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
80406
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
79668
80407
  }
79669
80408
 
79670
80409
  export type CompaniesUncheckedCreateWithoutTendersInput = {
@@ -79685,11 +80424,13 @@ export namespace Prisma {
79685
80424
  form_templates?: FormTemplateUncheckedCreateNestedManyWithoutCompanyInput
79686
80425
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
79687
80426
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
80427
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
79688
80428
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
79689
80429
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
79690
80430
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
79691
80431
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
79692
80432
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
80433
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
79693
80434
  }
79694
80435
 
79695
80436
  export type CompaniesCreateOrConnectWithoutTendersInput = {
@@ -79700,11 +80441,13 @@ export namespace Prisma {
79700
80441
  export type OrderCreateWithoutTendersInput = {
79701
80442
  id?: string
79702
80443
  reference?: string | null
80444
+ created_by?: string | null
79703
80445
  attachments?: NullableJsonNullValueInput | InputJsonValue
79704
80446
  status?: $Enums.RouteStatus
79705
80447
  created_at?: Date | string
79706
80448
  updated_at?: Date | string
79707
80449
  shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
80450
+ company?: CompaniesCreateNestedOneWithoutOrdersInput
79708
80451
  handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
79709
80452
  routes?: RouteCreateNestedManyWithoutOrderInput
79710
80453
  }
@@ -79713,6 +80456,8 @@ export namespace Prisma {
79713
80456
  id?: string
79714
80457
  reference?: string | null
79715
80458
  shipper_id?: string | null
80459
+ company_id?: string | null
80460
+ created_by?: string | null
79716
80461
  attachments?: NullableJsonNullValueInput | InputJsonValue
79717
80462
  status?: $Enums.RouteStatus
79718
80463
  created_at?: Date | string
@@ -79783,6 +80528,7 @@ export namespace Prisma {
79783
80528
  export type TenderChatCreateWithoutTenderInput = {
79784
80529
  id?: string
79785
80530
  message: string
80531
+ read_at?: Date | string | null
79786
80532
  created_at?: Date | string
79787
80533
  user_sends: UserCreateNestedOneWithoutTenderChatsInput
79788
80534
  user_receives: UserCreateNestedOneWithoutTenderChats2Input
@@ -79793,6 +80539,7 @@ export namespace Prisma {
79793
80539
  user_sends_id: string
79794
80540
  user_receives_id: string
79795
80541
  message: string
80542
+ read_at?: Date | string | null
79796
80543
  created_at?: Date | string
79797
80544
  }
79798
80545
 
@@ -79815,12 +80562,14 @@ export namespace Prisma {
79815
80562
  created_at?: Date | string
79816
80563
  user?: UserCreateNestedOneWithoutTenderNotificationsInput
79817
80564
  group?: GroupCreateNestedOneWithoutTenderNotificationsInput
80565
+ supplierCompany?: CompaniesCreateNestedOneWithoutSupplierNotificationsInput
79818
80566
  }
79819
80567
 
79820
80568
  export type TenderNotificationUncheckedCreateWithoutTenderInput = {
79821
80569
  id?: string
79822
80570
  user_id?: string | null
79823
80571
  group_id?: string | null
80572
+ supplier_company_id?: string | null
79824
80573
  whatsapp?: boolean
79825
80574
  email?: boolean
79826
80575
  push?: boolean
@@ -79952,11 +80701,13 @@ export namespace Prisma {
79952
80701
  form_templates?: FormTemplateUpdateManyWithoutCompanyNestedInput
79953
80702
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
79954
80703
  forms?: FormUpdateManyWithoutCompanyNestedInput
80704
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
79955
80705
  groups?: GroupUpdateManyWithoutCompanyNestedInput
79956
80706
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
79957
80707
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
79958
80708
  products?: ProductUpdateManyWithoutCompanyNestedInput
79959
80709
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
80710
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
79960
80711
  }
79961
80712
 
79962
80713
  export type CompaniesUncheckedUpdateWithoutTendersInput = {
@@ -79977,11 +80728,13 @@ export namespace Prisma {
79977
80728
  form_templates?: FormTemplateUncheckedUpdateManyWithoutCompanyNestedInput
79978
80729
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
79979
80730
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
80731
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
79980
80732
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
79981
80733
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
79982
80734
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
79983
80735
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
79984
80736
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
80737
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
79985
80738
  }
79986
80739
 
79987
80740
  export type OrderUpsertWithoutTendersInput = {
@@ -79998,11 +80751,13 @@ export namespace Prisma {
79998
80751
  export type OrderUpdateWithoutTendersInput = {
79999
80752
  id?: StringFieldUpdateOperationsInput | string
80000
80753
  reference?: NullableStringFieldUpdateOperationsInput | string | null
80754
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
80001
80755
  attachments?: NullableJsonNullValueInput | InputJsonValue
80002
80756
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
80003
80757
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
80004
80758
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
80005
80759
  shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
80760
+ company?: CompaniesUpdateOneWithoutOrdersNestedInput
80006
80761
  handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
80007
80762
  routes?: RouteUpdateManyWithoutOrderNestedInput
80008
80763
  }
@@ -80011,6 +80766,8 @@ export namespace Prisma {
80011
80766
  id?: StringFieldUpdateOperationsInput | string
80012
80767
  reference?: NullableStringFieldUpdateOperationsInput | string | null
80013
80768
  shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
80769
+ company_id?: NullableStringFieldUpdateOperationsInput | string | null
80770
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
80014
80771
  attachments?: NullableJsonNullValueInput | InputJsonValue
80015
80772
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
80016
80773
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -80096,6 +80853,7 @@ export namespace Prisma {
80096
80853
 
80097
80854
  export type TenderCreateWithoutTenderVehiclesInput = {
80098
80855
  id?: string
80856
+ code?: string | null
80099
80857
  title: string
80100
80858
  description?: string | null
80101
80859
  status?: $Enums.TenderStatus
@@ -80118,6 +80876,7 @@ export namespace Prisma {
80118
80876
 
80119
80877
  export type TenderUncheckedCreateWithoutTenderVehiclesInput = {
80120
80878
  id?: string
80879
+ code?: string | null
80121
80880
  title: string
80122
80881
  description?: string | null
80123
80882
  status?: $Enums.TenderStatus
@@ -80243,6 +81002,7 @@ export namespace Prisma {
80243
81002
 
80244
81003
  export type TenderUpdateWithoutTenderVehiclesInput = {
80245
81004
  id?: StringFieldUpdateOperationsInput | string
81005
+ code?: NullableStringFieldUpdateOperationsInput | string | null
80246
81006
  title?: StringFieldUpdateOperationsInput | string
80247
81007
  description?: NullableStringFieldUpdateOperationsInput | string | null
80248
81008
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -80265,6 +81025,7 @@ export namespace Prisma {
80265
81025
 
80266
81026
  export type TenderUncheckedUpdateWithoutTenderVehiclesInput = {
80267
81027
  id?: StringFieldUpdateOperationsInput | string
81028
+ code?: NullableStringFieldUpdateOperationsInput | string | null
80268
81029
  title?: StringFieldUpdateOperationsInput | string
80269
81030
  description?: NullableStringFieldUpdateOperationsInput | string | null
80270
81031
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -80490,6 +81251,7 @@ export namespace Prisma {
80490
81251
 
80491
81252
  export type TenderCreateWithoutTenderChatsInput = {
80492
81253
  id?: string
81254
+ code?: string | null
80493
81255
  title: string
80494
81256
  description?: string | null
80495
81257
  status?: $Enums.TenderStatus
@@ -80512,6 +81274,7 @@ export namespace Prisma {
80512
81274
 
80513
81275
  export type TenderUncheckedCreateWithoutTenderChatsInput = {
80514
81276
  id?: string
81277
+ code?: string | null
80515
81278
  title: string
80516
81279
  description?: string | null
80517
81280
  status?: $Enums.TenderStatus
@@ -80660,6 +81423,7 @@ export namespace Prisma {
80660
81423
 
80661
81424
  export type TenderUpdateWithoutTenderChatsInput = {
80662
81425
  id?: StringFieldUpdateOperationsInput | string
81426
+ code?: NullableStringFieldUpdateOperationsInput | string | null
80663
81427
  title?: StringFieldUpdateOperationsInput | string
80664
81428
  description?: NullableStringFieldUpdateOperationsInput | string | null
80665
81429
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -80682,6 +81446,7 @@ export namespace Prisma {
80682
81446
 
80683
81447
  export type TenderUncheckedUpdateWithoutTenderChatsInput = {
80684
81448
  id?: StringFieldUpdateOperationsInput | string
81449
+ code?: NullableStringFieldUpdateOperationsInput | string | null
80685
81450
  title?: StringFieldUpdateOperationsInput | string
80686
81451
  description?: NullableStringFieldUpdateOperationsInput | string | null
80687
81452
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -81291,10 +82056,12 @@ export namespace Prisma {
81291
82056
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
81292
82057
  forms?: FormCreateNestedManyWithoutCompanyInput
81293
82058
  tenders?: TenderCreateNestedManyWithoutCompanyInput
82059
+ orders?: OrderCreateNestedManyWithoutCompanyInput
81294
82060
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
81295
82061
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
81296
82062
  products?: ProductCreateNestedManyWithoutCompanyInput
81297
82063
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
82064
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
81298
82065
  }
81299
82066
 
81300
82067
  export type CompaniesUncheckedCreateWithoutGroupsInput = {
@@ -81316,10 +82083,12 @@ export namespace Prisma {
81316
82083
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
81317
82084
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
81318
82085
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
82086
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
81319
82087
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
81320
82088
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
81321
82089
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
81322
82090
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
82091
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
81323
82092
  }
81324
82093
 
81325
82094
  export type CompaniesCreateOrConnectWithoutGroupsInput = {
@@ -81360,12 +82129,14 @@ export namespace Prisma {
81360
82129
  created_at?: Date | string
81361
82130
  tender: TenderCreateNestedOneWithoutTenderNotificationsInput
81362
82131
  user?: UserCreateNestedOneWithoutTenderNotificationsInput
82132
+ supplierCompany?: CompaniesCreateNestedOneWithoutSupplierNotificationsInput
81363
82133
  }
81364
82134
 
81365
82135
  export type TenderNotificationUncheckedCreateWithoutGroupInput = {
81366
82136
  id?: string
81367
82137
  tender_id: string
81368
82138
  user_id?: string | null
82139
+ supplier_company_id?: string | null
81369
82140
  whatsapp?: boolean
81370
82141
  email?: boolean
81371
82142
  push?: boolean
@@ -81413,10 +82184,12 @@ export namespace Prisma {
81413
82184
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
81414
82185
  forms?: FormUpdateManyWithoutCompanyNestedInput
81415
82186
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
82187
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
81416
82188
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
81417
82189
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
81418
82190
  products?: ProductUpdateManyWithoutCompanyNestedInput
81419
82191
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
82192
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
81420
82193
  }
81421
82194
 
81422
82195
  export type CompaniesUncheckedUpdateWithoutGroupsInput = {
@@ -81438,10 +82211,12 @@ export namespace Prisma {
81438
82211
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
81439
82212
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
81440
82213
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
82214
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
81441
82215
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
81442
82216
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
81443
82217
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
81444
82218
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
82219
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
81445
82220
  }
81446
82221
 
81447
82222
  export type UserGroupUpsertWithWhereUniqueWithoutGroupInput = {
@@ -81646,6 +82421,7 @@ export namespace Prisma {
81646
82421
 
81647
82422
  export type TenderCreateWithoutTenderNotificationsInput = {
81648
82423
  id?: string
82424
+ code?: string | null
81649
82425
  title: string
81650
82426
  description?: string | null
81651
82427
  status?: $Enums.TenderStatus
@@ -81668,6 +82444,7 @@ export namespace Prisma {
81668
82444
 
81669
82445
  export type TenderUncheckedCreateWithoutTenderNotificationsInput = {
81670
82446
  id?: string
82447
+ code?: string | null
81671
82448
  title: string
81672
82449
  description?: string | null
81673
82450
  status?: $Enums.TenderStatus
@@ -81771,6 +82548,65 @@ export namespace Prisma {
81771
82548
  create: XOR<GroupCreateWithoutTenderNotificationsInput, GroupUncheckedCreateWithoutTenderNotificationsInput>
81772
82549
  }
81773
82550
 
82551
+ export type CompaniesCreateWithoutSupplierNotificationsInput = {
82552
+ id?: string
82553
+ tax_id?: string | null
82554
+ name: string
82555
+ address?: NullableJsonNullValueInput | InputJsonValue
82556
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
82557
+ country_code?: string | null
82558
+ is_validated?: boolean | null
82559
+ documents?: NullableJsonNullValueInput | InputJsonValue
82560
+ created_at?: Date | string
82561
+ updated_at?: Date | string
82562
+ clients?: ClientCreateNestedManyWithoutCompanyInput
82563
+ vehicles?: VehicleCreateNestedManyWithoutCompanyInput
82564
+ user_companies?: UserCompanyCreateNestedManyWithoutCompanyInput
82565
+ equipments?: EquipmentCreateNestedManyWithoutCompanyInput
82566
+ form_templates?: FormTemplateCreateNestedManyWithoutCompanyInput
82567
+ form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
82568
+ forms?: FormCreateNestedManyWithoutCompanyInput
82569
+ tenders?: TenderCreateNestedManyWithoutCompanyInput
82570
+ orders?: OrderCreateNestedManyWithoutCompanyInput
82571
+ groups?: GroupCreateNestedManyWithoutCompanyInput
82572
+ companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
82573
+ regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
82574
+ products?: ProductCreateNestedManyWithoutCompanyInput
82575
+ regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
82576
+ }
82577
+
82578
+ export type CompaniesUncheckedCreateWithoutSupplierNotificationsInput = {
82579
+ id?: string
82580
+ tax_id?: string | null
82581
+ name: string
82582
+ address?: NullableJsonNullValueInput | InputJsonValue
82583
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
82584
+ country_code?: string | null
82585
+ is_validated?: boolean | null
82586
+ documents?: NullableJsonNullValueInput | InputJsonValue
82587
+ created_at?: Date | string
82588
+ updated_at?: Date | string
82589
+ clients?: ClientUncheckedCreateNestedManyWithoutCompanyInput
82590
+ vehicles?: VehicleUncheckedCreateNestedManyWithoutCompanyInput
82591
+ user_companies?: UserCompanyUncheckedCreateNestedManyWithoutCompanyInput
82592
+ equipments?: EquipmentUncheckedCreateNestedManyWithoutCompanyInput
82593
+ form_templates?: FormTemplateUncheckedCreateNestedManyWithoutCompanyInput
82594
+ form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
82595
+ forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
82596
+ tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
82597
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
82598
+ groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
82599
+ companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
82600
+ regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
82601
+ products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
82602
+ regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
82603
+ }
82604
+
82605
+ export type CompaniesCreateOrConnectWithoutSupplierNotificationsInput = {
82606
+ where: CompaniesWhereUniqueInput
82607
+ create: XOR<CompaniesCreateWithoutSupplierNotificationsInput, CompaniesUncheckedCreateWithoutSupplierNotificationsInput>
82608
+ }
82609
+
81774
82610
  export type TenderUpsertWithoutTenderNotificationsInput = {
81775
82611
  update: XOR<TenderUpdateWithoutTenderNotificationsInput, TenderUncheckedUpdateWithoutTenderNotificationsInput>
81776
82612
  create: XOR<TenderCreateWithoutTenderNotificationsInput, TenderUncheckedCreateWithoutTenderNotificationsInput>
@@ -81784,6 +82620,7 @@ export namespace Prisma {
81784
82620
 
81785
82621
  export type TenderUpdateWithoutTenderNotificationsInput = {
81786
82622
  id?: StringFieldUpdateOperationsInput | string
82623
+ code?: NullableStringFieldUpdateOperationsInput | string | null
81787
82624
  title?: StringFieldUpdateOperationsInput | string
81788
82625
  description?: NullableStringFieldUpdateOperationsInput | string | null
81789
82626
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -81806,6 +82643,7 @@ export namespace Prisma {
81806
82643
 
81807
82644
  export type TenderUncheckedUpdateWithoutTenderNotificationsInput = {
81808
82645
  id?: StringFieldUpdateOperationsInput | string
82646
+ code?: NullableStringFieldUpdateOperationsInput | string | null
81809
82647
  title?: StringFieldUpdateOperationsInput | string
81810
82648
  description?: NullableStringFieldUpdateOperationsInput | string | null
81811
82649
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -81916,6 +82754,71 @@ export namespace Prisma {
81916
82754
  userGroups?: UserGroupUncheckedUpdateManyWithoutGroupNestedInput
81917
82755
  }
81918
82756
 
82757
+ export type CompaniesUpsertWithoutSupplierNotificationsInput = {
82758
+ update: XOR<CompaniesUpdateWithoutSupplierNotificationsInput, CompaniesUncheckedUpdateWithoutSupplierNotificationsInput>
82759
+ create: XOR<CompaniesCreateWithoutSupplierNotificationsInput, CompaniesUncheckedCreateWithoutSupplierNotificationsInput>
82760
+ where?: CompaniesWhereInput
82761
+ }
82762
+
82763
+ export type CompaniesUpdateToOneWithWhereWithoutSupplierNotificationsInput = {
82764
+ where?: CompaniesWhereInput
82765
+ data: XOR<CompaniesUpdateWithoutSupplierNotificationsInput, CompaniesUncheckedUpdateWithoutSupplierNotificationsInput>
82766
+ }
82767
+
82768
+ export type CompaniesUpdateWithoutSupplierNotificationsInput = {
82769
+ id?: StringFieldUpdateOperationsInput | string
82770
+ tax_id?: NullableStringFieldUpdateOperationsInput | string | null
82771
+ name?: StringFieldUpdateOperationsInput | string
82772
+ address?: NullableJsonNullValueInput | InputJsonValue
82773
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
82774
+ country_code?: NullableStringFieldUpdateOperationsInput | string | null
82775
+ is_validated?: NullableBoolFieldUpdateOperationsInput | boolean | null
82776
+ documents?: NullableJsonNullValueInput | InputJsonValue
82777
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
82778
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
82779
+ clients?: ClientUpdateManyWithoutCompanyNestedInput
82780
+ vehicles?: VehicleUpdateManyWithoutCompanyNestedInput
82781
+ user_companies?: UserCompanyUpdateManyWithoutCompanyNestedInput
82782
+ equipments?: EquipmentUpdateManyWithoutCompanyNestedInput
82783
+ form_templates?: FormTemplateUpdateManyWithoutCompanyNestedInput
82784
+ form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
82785
+ forms?: FormUpdateManyWithoutCompanyNestedInput
82786
+ tenders?: TenderUpdateManyWithoutCompanyNestedInput
82787
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
82788
+ groups?: GroupUpdateManyWithoutCompanyNestedInput
82789
+ companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
82790
+ regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
82791
+ products?: ProductUpdateManyWithoutCompanyNestedInput
82792
+ regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
82793
+ }
82794
+
82795
+ export type CompaniesUncheckedUpdateWithoutSupplierNotificationsInput = {
82796
+ id?: StringFieldUpdateOperationsInput | string
82797
+ tax_id?: NullableStringFieldUpdateOperationsInput | string | null
82798
+ name?: StringFieldUpdateOperationsInput | string
82799
+ address?: NullableJsonNullValueInput | InputJsonValue
82800
+ contact_info?: NullableJsonNullValueInput | InputJsonValue
82801
+ country_code?: NullableStringFieldUpdateOperationsInput | string | null
82802
+ is_validated?: NullableBoolFieldUpdateOperationsInput | boolean | null
82803
+ documents?: NullableJsonNullValueInput | InputJsonValue
82804
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
82805
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
82806
+ clients?: ClientUncheckedUpdateManyWithoutCompanyNestedInput
82807
+ vehicles?: VehicleUncheckedUpdateManyWithoutCompanyNestedInput
82808
+ user_companies?: UserCompanyUncheckedUpdateManyWithoutCompanyNestedInput
82809
+ equipments?: EquipmentUncheckedUpdateManyWithoutCompanyNestedInput
82810
+ form_templates?: FormTemplateUncheckedUpdateManyWithoutCompanyNestedInput
82811
+ form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
82812
+ forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
82813
+ tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
82814
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
82815
+ groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
82816
+ companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
82817
+ regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
82818
+ products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
82819
+ regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
82820
+ }
82821
+
81919
82822
  export type CompanyLocationCreateWithoutLocationInput = {
81920
82823
  id?: string
81921
82824
  is_active?: boolean
@@ -82017,10 +82920,12 @@ export namespace Prisma {
82017
82920
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
82018
82921
  forms?: FormCreateNestedManyWithoutCompanyInput
82019
82922
  tenders?: TenderCreateNestedManyWithoutCompanyInput
82923
+ orders?: OrderCreateNestedManyWithoutCompanyInput
82020
82924
  groups?: GroupCreateNestedManyWithoutCompanyInput
82021
82925
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
82022
82926
  products?: ProductCreateNestedManyWithoutCompanyInput
82023
82927
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
82928
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
82024
82929
  }
82025
82930
 
82026
82931
  export type CompaniesUncheckedCreateWithoutCompanyLocationsInput = {
@@ -82042,10 +82947,12 @@ export namespace Prisma {
82042
82947
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
82043
82948
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
82044
82949
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
82950
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
82045
82951
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
82046
82952
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
82047
82953
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
82048
82954
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
82955
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
82049
82956
  }
82050
82957
 
82051
82958
  export type CompaniesCreateOrConnectWithoutCompanyLocationsInput = {
@@ -82083,10 +82990,12 @@ export namespace Prisma {
82083
82990
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
82084
82991
  forms?: FormUpdateManyWithoutCompanyNestedInput
82085
82992
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
82993
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
82086
82994
  groups?: GroupUpdateManyWithoutCompanyNestedInput
82087
82995
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
82088
82996
  products?: ProductUpdateManyWithoutCompanyNestedInput
82089
82997
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
82998
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
82090
82999
  }
82091
83000
 
82092
83001
  export type CompaniesUncheckedUpdateWithoutCompanyLocationsInput = {
@@ -82108,10 +83017,12 @@ export namespace Prisma {
82108
83017
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
82109
83018
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
82110
83019
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
83020
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
82111
83021
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
82112
83022
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
82113
83023
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
82114
83024
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
83025
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
82115
83026
  }
82116
83027
 
82117
83028
  export type LocationUpdateToOneWithWhereWithoutCompanyLocationsInput = {
@@ -82143,6 +83054,7 @@ export namespace Prisma {
82143
83054
 
82144
83055
  export type TenderCreateWithoutTenderLocationNotificationsInput = {
82145
83056
  id?: string
83057
+ code?: string | null
82146
83058
  title: string
82147
83059
  description?: string | null
82148
83060
  status?: $Enums.TenderStatus
@@ -82165,6 +83077,7 @@ export namespace Prisma {
82165
83077
 
82166
83078
  export type TenderUncheckedCreateWithoutTenderLocationNotificationsInput = {
82167
83079
  id?: string
83080
+ code?: string | null
82168
83081
  title: string
82169
83082
  description?: string | null
82170
83083
  status?: $Enums.TenderStatus
@@ -82203,6 +83116,7 @@ export namespace Prisma {
82203
83116
 
82204
83117
  export type TenderUpdateWithoutTenderLocationNotificationsInput = {
82205
83118
  id?: StringFieldUpdateOperationsInput | string
83119
+ code?: NullableStringFieldUpdateOperationsInput | string | null
82206
83120
  title?: StringFieldUpdateOperationsInput | string
82207
83121
  description?: NullableStringFieldUpdateOperationsInput | string | null
82208
83122
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -82225,6 +83139,7 @@ export namespace Prisma {
82225
83139
 
82226
83140
  export type TenderUncheckedUpdateWithoutTenderLocationNotificationsInput = {
82227
83141
  id?: StringFieldUpdateOperationsInput | string
83142
+ code?: NullableStringFieldUpdateOperationsInput | string | null
82228
83143
  title?: StringFieldUpdateOperationsInput | string
82229
83144
  description?: NullableStringFieldUpdateOperationsInput | string | null
82230
83145
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -82291,10 +83206,12 @@ export namespace Prisma {
82291
83206
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
82292
83207
  forms?: FormCreateNestedManyWithoutCompanyInput
82293
83208
  tenders?: TenderCreateNestedManyWithoutCompanyInput
83209
+ orders?: OrderCreateNestedManyWithoutCompanyInput
82294
83210
  groups?: GroupCreateNestedManyWithoutCompanyInput
82295
83211
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
82296
83212
  products?: ProductCreateNestedManyWithoutCompanyInput
82297
83213
  regularSuppliers2?: RegularSupplierCreateNestedManyWithoutSupplierInput
83214
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
82298
83215
  }
82299
83216
 
82300
83217
  export type CompaniesUncheckedCreateWithoutRegularSuppliersInput = {
@@ -82316,10 +83233,12 @@ export namespace Prisma {
82316
83233
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
82317
83234
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
82318
83235
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
83236
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
82319
83237
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
82320
83238
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
82321
83239
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
82322
83240
  regularSuppliers2?: RegularSupplierUncheckedCreateNestedManyWithoutSupplierInput
83241
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
82323
83242
  }
82324
83243
 
82325
83244
  export type CompaniesCreateOrConnectWithoutRegularSuppliersInput = {
@@ -82346,10 +83265,12 @@ export namespace Prisma {
82346
83265
  form_responses?: FormResponseCreateNestedManyWithoutCompanyInput
82347
83266
  forms?: FormCreateNestedManyWithoutCompanyInput
82348
83267
  tenders?: TenderCreateNestedManyWithoutCompanyInput
83268
+ orders?: OrderCreateNestedManyWithoutCompanyInput
82349
83269
  groups?: GroupCreateNestedManyWithoutCompanyInput
82350
83270
  companyLocations?: CompanyLocationCreateNestedManyWithoutCompanyInput
82351
83271
  regularSuppliers?: RegularSupplierCreateNestedManyWithoutCompanyInput
82352
83272
  products?: ProductCreateNestedManyWithoutCompanyInput
83273
+ supplierNotifications?: TenderNotificationCreateNestedManyWithoutSupplierCompanyInput
82353
83274
  }
82354
83275
 
82355
83276
  export type CompaniesUncheckedCreateWithoutRegularSuppliers2Input = {
@@ -82371,10 +83292,12 @@ export namespace Prisma {
82371
83292
  form_responses?: FormResponseUncheckedCreateNestedManyWithoutCompanyInput
82372
83293
  forms?: FormUncheckedCreateNestedManyWithoutCompanyInput
82373
83294
  tenders?: TenderUncheckedCreateNestedManyWithoutCompanyInput
83295
+ orders?: OrderUncheckedCreateNestedManyWithoutCompanyInput
82374
83296
  groups?: GroupUncheckedCreateNestedManyWithoutCompanyInput
82375
83297
  companyLocations?: CompanyLocationUncheckedCreateNestedManyWithoutCompanyInput
82376
83298
  regularSuppliers?: RegularSupplierUncheckedCreateNestedManyWithoutCompanyInput
82377
83299
  products?: ProductUncheckedCreateNestedManyWithoutCompanyInput
83300
+ supplierNotifications?: TenderNotificationUncheckedCreateNestedManyWithoutSupplierCompanyInput
82378
83301
  }
82379
83302
 
82380
83303
  export type CompaniesCreateOrConnectWithoutRegularSuppliers2Input = {
@@ -82412,10 +83335,12 @@ export namespace Prisma {
82412
83335
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
82413
83336
  forms?: FormUpdateManyWithoutCompanyNestedInput
82414
83337
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
83338
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
82415
83339
  groups?: GroupUpdateManyWithoutCompanyNestedInput
82416
83340
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
82417
83341
  products?: ProductUpdateManyWithoutCompanyNestedInput
82418
83342
  regularSuppliers2?: RegularSupplierUpdateManyWithoutSupplierNestedInput
83343
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
82419
83344
  }
82420
83345
 
82421
83346
  export type CompaniesUncheckedUpdateWithoutRegularSuppliersInput = {
@@ -82437,10 +83362,12 @@ export namespace Prisma {
82437
83362
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
82438
83363
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
82439
83364
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
83365
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
82440
83366
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
82441
83367
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
82442
83368
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
82443
83369
  regularSuppliers2?: RegularSupplierUncheckedUpdateManyWithoutSupplierNestedInput
83370
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
82444
83371
  }
82445
83372
 
82446
83373
  export type CompaniesUpsertWithoutRegularSuppliers2Input = {
@@ -82473,10 +83400,12 @@ export namespace Prisma {
82473
83400
  form_responses?: FormResponseUpdateManyWithoutCompanyNestedInput
82474
83401
  forms?: FormUpdateManyWithoutCompanyNestedInput
82475
83402
  tenders?: TenderUpdateManyWithoutCompanyNestedInput
83403
+ orders?: OrderUpdateManyWithoutCompanyNestedInput
82476
83404
  groups?: GroupUpdateManyWithoutCompanyNestedInput
82477
83405
  companyLocations?: CompanyLocationUpdateManyWithoutCompanyNestedInput
82478
83406
  regularSuppliers?: RegularSupplierUpdateManyWithoutCompanyNestedInput
82479
83407
  products?: ProductUpdateManyWithoutCompanyNestedInput
83408
+ supplierNotifications?: TenderNotificationUpdateManyWithoutSupplierCompanyNestedInput
82480
83409
  }
82481
83410
 
82482
83411
  export type CompaniesUncheckedUpdateWithoutRegularSuppliers2Input = {
@@ -82498,10 +83427,12 @@ export namespace Prisma {
82498
83427
  form_responses?: FormResponseUncheckedUpdateManyWithoutCompanyNestedInput
82499
83428
  forms?: FormUncheckedUpdateManyWithoutCompanyNestedInput
82500
83429
  tenders?: TenderUncheckedUpdateManyWithoutCompanyNestedInput
83430
+ orders?: OrderUncheckedUpdateManyWithoutCompanyNestedInput
82501
83431
  groups?: GroupUncheckedUpdateManyWithoutCompanyNestedInput
82502
83432
  companyLocations?: CompanyLocationUncheckedUpdateManyWithoutCompanyNestedInput
82503
83433
  regularSuppliers?: RegularSupplierUncheckedUpdateManyWithoutCompanyNestedInput
82504
83434
  products?: ProductUncheckedUpdateManyWithoutCompanyNestedInput
83435
+ supplierNotifications?: TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyNestedInput
82505
83436
  }
82506
83437
 
82507
83438
  export type HandlingUnitCreateManyProductInput = {
@@ -82611,6 +83542,8 @@ export namespace Prisma {
82611
83542
  export type OrderCreateManyShipperInput = {
82612
83543
  id?: string
82613
83544
  reference?: string | null
83545
+ company_id?: string | null
83546
+ created_by?: string | null
82614
83547
  attachments?: NullableJsonNullValueInput | InputJsonValue
82615
83548
  status?: $Enums.RouteStatus
82616
83549
  created_at?: Date | string
@@ -82722,10 +83655,12 @@ export namespace Prisma {
82722
83655
  export type OrderUpdateWithoutShipperInput = {
82723
83656
  id?: StringFieldUpdateOperationsInput | string
82724
83657
  reference?: NullableStringFieldUpdateOperationsInput | string | null
83658
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
82725
83659
  attachments?: NullableJsonNullValueInput | InputJsonValue
82726
83660
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
82727
83661
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
82728
83662
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
83663
+ company?: CompaniesUpdateOneWithoutOrdersNestedInput
82729
83664
  handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
82730
83665
  routes?: RouteUpdateManyWithoutOrderNestedInput
82731
83666
  tenders?: TenderUpdateManyWithoutOrderNestedInput
@@ -82734,6 +83669,8 @@ export namespace Prisma {
82734
83669
  export type OrderUncheckedUpdateWithoutShipperInput = {
82735
83670
  id?: StringFieldUpdateOperationsInput | string
82736
83671
  reference?: NullableStringFieldUpdateOperationsInput | string | null
83672
+ company_id?: NullableStringFieldUpdateOperationsInput | string | null
83673
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
82737
83674
  attachments?: NullableJsonNullValueInput | InputJsonValue
82738
83675
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
82739
83676
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -82746,6 +83683,8 @@ export namespace Prisma {
82746
83683
  export type OrderUncheckedUpdateManyWithoutShipperInput = {
82747
83684
  id?: StringFieldUpdateOperationsInput | string
82748
83685
  reference?: NullableStringFieldUpdateOperationsInput | string | null
83686
+ company_id?: NullableStringFieldUpdateOperationsInput | string | null
83687
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
82749
83688
  attachments?: NullableJsonNullValueInput | InputJsonValue
82750
83689
  status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
82751
83690
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -82849,6 +83788,7 @@ export namespace Prisma {
82849
83788
 
82850
83789
  export type TenderCreateManyOrderInput = {
82851
83790
  id?: string
83791
+ code?: string | null
82852
83792
  title: string
82853
83793
  description?: string | null
82854
83794
  status?: $Enums.TenderStatus
@@ -82986,6 +83926,7 @@ export namespace Prisma {
82986
83926
 
82987
83927
  export type TenderUpdateWithoutOrderInput = {
82988
83928
  id?: StringFieldUpdateOperationsInput | string
83929
+ code?: NullableStringFieldUpdateOperationsInput | string | null
82989
83930
  title?: StringFieldUpdateOperationsInput | string
82990
83931
  description?: NullableStringFieldUpdateOperationsInput | string | null
82991
83932
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -83008,6 +83949,7 @@ export namespace Prisma {
83008
83949
 
83009
83950
  export type TenderUncheckedUpdateWithoutOrderInput = {
83010
83951
  id?: StringFieldUpdateOperationsInput | string
83952
+ code?: NullableStringFieldUpdateOperationsInput | string | null
83011
83953
  title?: StringFieldUpdateOperationsInput | string
83012
83954
  description?: NullableStringFieldUpdateOperationsInput | string | null
83013
83955
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -83030,6 +83972,7 @@ export namespace Prisma {
83030
83972
 
83031
83973
  export type TenderUncheckedUpdateManyWithoutOrderInput = {
83032
83974
  id?: StringFieldUpdateOperationsInput | string
83975
+ code?: NullableStringFieldUpdateOperationsInput | string | null
83033
83976
  title?: StringFieldUpdateOperationsInput | string
83034
83977
  description?: NullableStringFieldUpdateOperationsInput | string | null
83035
83978
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -83156,6 +84099,7 @@ export namespace Prisma {
83156
84099
 
83157
84100
  export type TenderCreateManyCompanyInput = {
83158
84101
  id?: string
84102
+ code?: string | null
83159
84103
  title: string
83160
84104
  description?: string | null
83161
84105
  status?: $Enums.TenderStatus
@@ -83172,6 +84116,17 @@ export namespace Prisma {
83172
84116
  updated_at?: Date | string
83173
84117
  }
83174
84118
 
84119
+ export type OrderCreateManyCompanyInput = {
84120
+ id?: string
84121
+ reference?: string | null
84122
+ shipper_id?: string | null
84123
+ created_by?: string | null
84124
+ attachments?: NullableJsonNullValueInput | InputJsonValue
84125
+ status?: $Enums.RouteStatus
84126
+ created_at?: Date | string
84127
+ updated_at?: Date | string
84128
+ }
84129
+
83175
84130
  export type GroupCreateManyCompanyInput = {
83176
84131
  id?: string
83177
84132
  name: string
@@ -83220,6 +84175,18 @@ export namespace Prisma {
83220
84175
  updated_at?: Date | string
83221
84176
  }
83222
84177
 
84178
+ export type TenderNotificationCreateManySupplierCompanyInput = {
84179
+ id?: string
84180
+ tender_id: string
84181
+ user_id?: string | null
84182
+ group_id?: string | null
84183
+ whatsapp?: boolean
84184
+ email?: boolean
84185
+ push?: boolean
84186
+ message: string
84187
+ created_at?: Date | string
84188
+ }
84189
+
83223
84190
  export type ClientUpdateWithoutCompanyInput = {
83224
84191
  id?: StringFieldUpdateOperationsInput | string
83225
84192
  tax_id?: NullableStringFieldUpdateOperationsInput | string | null
@@ -83574,6 +84541,7 @@ export namespace Prisma {
83574
84541
 
83575
84542
  export type TenderUpdateWithoutCompanyInput = {
83576
84543
  id?: StringFieldUpdateOperationsInput | string
84544
+ code?: NullableStringFieldUpdateOperationsInput | string | null
83577
84545
  title?: StringFieldUpdateOperationsInput | string
83578
84546
  description?: NullableStringFieldUpdateOperationsInput | string | null
83579
84547
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -83596,6 +84564,7 @@ export namespace Prisma {
83596
84564
 
83597
84565
  export type TenderUncheckedUpdateWithoutCompanyInput = {
83598
84566
  id?: StringFieldUpdateOperationsInput | string
84567
+ code?: NullableStringFieldUpdateOperationsInput | string | null
83599
84568
  title?: StringFieldUpdateOperationsInput | string
83600
84569
  description?: NullableStringFieldUpdateOperationsInput | string | null
83601
84570
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -83618,6 +84587,7 @@ export namespace Prisma {
83618
84587
 
83619
84588
  export type TenderUncheckedUpdateManyWithoutCompanyInput = {
83620
84589
  id?: StringFieldUpdateOperationsInput | string
84590
+ code?: NullableStringFieldUpdateOperationsInput | string | null
83621
84591
  title?: StringFieldUpdateOperationsInput | string
83622
84592
  description?: NullableStringFieldUpdateOperationsInput | string | null
83623
84593
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -83634,6 +84604,45 @@ export namespace Prisma {
83634
84604
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
83635
84605
  }
83636
84606
 
84607
+ export type OrderUpdateWithoutCompanyInput = {
84608
+ id?: StringFieldUpdateOperationsInput | string
84609
+ reference?: NullableStringFieldUpdateOperationsInput | string | null
84610
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
84611
+ attachments?: NullableJsonNullValueInput | InputJsonValue
84612
+ status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
84613
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84614
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
84615
+ shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
84616
+ handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
84617
+ routes?: RouteUpdateManyWithoutOrderNestedInput
84618
+ tenders?: TenderUpdateManyWithoutOrderNestedInput
84619
+ }
84620
+
84621
+ export type OrderUncheckedUpdateWithoutCompanyInput = {
84622
+ id?: StringFieldUpdateOperationsInput | string
84623
+ reference?: NullableStringFieldUpdateOperationsInput | string | null
84624
+ shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
84625
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
84626
+ attachments?: NullableJsonNullValueInput | InputJsonValue
84627
+ status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
84628
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84629
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
84630
+ handling_units?: HandlingUnitUncheckedUpdateManyWithoutOrderNestedInput
84631
+ routes?: RouteUncheckedUpdateManyWithoutOrderNestedInput
84632
+ tenders?: TenderUncheckedUpdateManyWithoutOrderNestedInput
84633
+ }
84634
+
84635
+ export type OrderUncheckedUpdateManyWithoutCompanyInput = {
84636
+ id?: StringFieldUpdateOperationsInput | string
84637
+ reference?: NullableStringFieldUpdateOperationsInput | string | null
84638
+ shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
84639
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null
84640
+ attachments?: NullableJsonNullValueInput | InputJsonValue
84641
+ status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
84642
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84643
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
84644
+ }
84645
+
83637
84646
  export type GroupUpdateWithoutCompanyInput = {
83638
84647
  id?: StringFieldUpdateOperationsInput | string
83639
84648
  name?: StringFieldUpdateOperationsInput | string
@@ -83784,6 +84793,42 @@ export namespace Prisma {
83784
84793
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
83785
84794
  }
83786
84795
 
84796
+ export type TenderNotificationUpdateWithoutSupplierCompanyInput = {
84797
+ id?: StringFieldUpdateOperationsInput | string
84798
+ whatsapp?: BoolFieldUpdateOperationsInput | boolean
84799
+ email?: BoolFieldUpdateOperationsInput | boolean
84800
+ push?: BoolFieldUpdateOperationsInput | boolean
84801
+ message?: StringFieldUpdateOperationsInput | string
84802
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84803
+ tender?: TenderUpdateOneRequiredWithoutTenderNotificationsNestedInput
84804
+ user?: UserUpdateOneWithoutTenderNotificationsNestedInput
84805
+ group?: GroupUpdateOneWithoutTenderNotificationsNestedInput
84806
+ }
84807
+
84808
+ export type TenderNotificationUncheckedUpdateWithoutSupplierCompanyInput = {
84809
+ id?: StringFieldUpdateOperationsInput | string
84810
+ tender_id?: StringFieldUpdateOperationsInput | string
84811
+ user_id?: NullableStringFieldUpdateOperationsInput | string | null
84812
+ group_id?: NullableStringFieldUpdateOperationsInput | string | null
84813
+ whatsapp?: BoolFieldUpdateOperationsInput | boolean
84814
+ email?: BoolFieldUpdateOperationsInput | boolean
84815
+ push?: BoolFieldUpdateOperationsInput | boolean
84816
+ message?: StringFieldUpdateOperationsInput | string
84817
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84818
+ }
84819
+
84820
+ export type TenderNotificationUncheckedUpdateManyWithoutSupplierCompanyInput = {
84821
+ id?: StringFieldUpdateOperationsInput | string
84822
+ tender_id?: StringFieldUpdateOperationsInput | string
84823
+ user_id?: NullableStringFieldUpdateOperationsInput | string | null
84824
+ group_id?: NullableStringFieldUpdateOperationsInput | string | null
84825
+ whatsapp?: BoolFieldUpdateOperationsInput | boolean
84826
+ email?: BoolFieldUpdateOperationsInput | boolean
84827
+ push?: BoolFieldUpdateOperationsInput | boolean
84828
+ message?: StringFieldUpdateOperationsInput | string
84829
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84830
+ }
84831
+
83787
84832
  export type RouteHandlingUnitCreateManyHandling_unitInput = {
83788
84833
  id?: string
83789
84834
  route_id: string
@@ -83929,6 +84974,7 @@ export namespace Prisma {
83929
84974
 
83930
84975
  export type TenderCreateManyUserInput = {
83931
84976
  id?: string
84977
+ code?: string | null
83932
84978
  title: string
83933
84979
  description?: string | null
83934
84980
  status?: $Enums.TenderStatus
@@ -83950,6 +84996,7 @@ export namespace Prisma {
83950
84996
  tender_id: string
83951
84997
  user_receives_id: string
83952
84998
  message: string
84999
+ read_at?: Date | string | null
83953
85000
  created_at?: Date | string
83954
85001
  }
83955
85002
 
@@ -83958,6 +85005,7 @@ export namespace Prisma {
83958
85005
  tender_id: string
83959
85006
  user_sends_id: string
83960
85007
  message: string
85008
+ read_at?: Date | string | null
83961
85009
  created_at?: Date | string
83962
85010
  }
83963
85011
 
@@ -84000,6 +85048,7 @@ export namespace Prisma {
84000
85048
  id?: string
84001
85049
  tender_id: string
84002
85050
  group_id?: string | null
85051
+ supplier_company_id?: string | null
84003
85052
  whatsapp?: boolean
84004
85053
  email?: boolean
84005
85054
  push?: boolean
@@ -84284,6 +85333,7 @@ export namespace Prisma {
84284
85333
 
84285
85334
  export type TenderUpdateWithoutUserInput = {
84286
85335
  id?: StringFieldUpdateOperationsInput | string
85336
+ code?: NullableStringFieldUpdateOperationsInput | string | null
84287
85337
  title?: StringFieldUpdateOperationsInput | string
84288
85338
  description?: NullableStringFieldUpdateOperationsInput | string | null
84289
85339
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -84306,6 +85356,7 @@ export namespace Prisma {
84306
85356
 
84307
85357
  export type TenderUncheckedUpdateWithoutUserInput = {
84308
85358
  id?: StringFieldUpdateOperationsInput | string
85359
+ code?: NullableStringFieldUpdateOperationsInput | string | null
84309
85360
  title?: StringFieldUpdateOperationsInput | string
84310
85361
  description?: NullableStringFieldUpdateOperationsInput | string | null
84311
85362
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -84328,6 +85379,7 @@ export namespace Prisma {
84328
85379
 
84329
85380
  export type TenderUncheckedUpdateManyWithoutUserInput = {
84330
85381
  id?: StringFieldUpdateOperationsInput | string
85382
+ code?: NullableStringFieldUpdateOperationsInput | string | null
84331
85383
  title?: StringFieldUpdateOperationsInput | string
84332
85384
  description?: NullableStringFieldUpdateOperationsInput | string | null
84333
85385
  status?: EnumTenderStatusFieldUpdateOperationsInput | $Enums.TenderStatus
@@ -84347,6 +85399,7 @@ export namespace Prisma {
84347
85399
  export type TenderChatUpdateWithoutUser_sendsInput = {
84348
85400
  id?: StringFieldUpdateOperationsInput | string
84349
85401
  message?: StringFieldUpdateOperationsInput | string
85402
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
84350
85403
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84351
85404
  tender?: TenderUpdateOneRequiredWithoutTenderChatsNestedInput
84352
85405
  user_receives?: UserUpdateOneRequiredWithoutTenderChats2NestedInput
@@ -84357,6 +85410,7 @@ export namespace Prisma {
84357
85410
  tender_id?: StringFieldUpdateOperationsInput | string
84358
85411
  user_receives_id?: StringFieldUpdateOperationsInput | string
84359
85412
  message?: StringFieldUpdateOperationsInput | string
85413
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
84360
85414
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84361
85415
  }
84362
85416
 
@@ -84365,12 +85419,14 @@ export namespace Prisma {
84365
85419
  tender_id?: StringFieldUpdateOperationsInput | string
84366
85420
  user_receives_id?: StringFieldUpdateOperationsInput | string
84367
85421
  message?: StringFieldUpdateOperationsInput | string
85422
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
84368
85423
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84369
85424
  }
84370
85425
 
84371
85426
  export type TenderChatUpdateWithoutUser_receivesInput = {
84372
85427
  id?: StringFieldUpdateOperationsInput | string
84373
85428
  message?: StringFieldUpdateOperationsInput | string
85429
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
84374
85430
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84375
85431
  tender?: TenderUpdateOneRequiredWithoutTenderChatsNestedInput
84376
85432
  user_sends?: UserUpdateOneRequiredWithoutTenderChatsNestedInput
@@ -84381,6 +85437,7 @@ export namespace Prisma {
84381
85437
  tender_id?: StringFieldUpdateOperationsInput | string
84382
85438
  user_sends_id?: StringFieldUpdateOperationsInput | string
84383
85439
  message?: StringFieldUpdateOperationsInput | string
85440
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
84384
85441
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84385
85442
  }
84386
85443
 
@@ -84389,6 +85446,7 @@ export namespace Prisma {
84389
85446
  tender_id?: StringFieldUpdateOperationsInput | string
84390
85447
  user_sends_id?: StringFieldUpdateOperationsInput | string
84391
85448
  message?: StringFieldUpdateOperationsInput | string
85449
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
84392
85450
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84393
85451
  }
84394
85452
 
@@ -84506,12 +85564,14 @@ export namespace Prisma {
84506
85564
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
84507
85565
  tender?: TenderUpdateOneRequiredWithoutTenderNotificationsNestedInput
84508
85566
  group?: GroupUpdateOneWithoutTenderNotificationsNestedInput
85567
+ supplierCompany?: CompaniesUpdateOneWithoutSupplierNotificationsNestedInput
84509
85568
  }
84510
85569
 
84511
85570
  export type TenderNotificationUncheckedUpdateWithoutUserInput = {
84512
85571
  id?: StringFieldUpdateOperationsInput | string
84513
85572
  tender_id?: StringFieldUpdateOperationsInput | string
84514
85573
  group_id?: NullableStringFieldUpdateOperationsInput | string | null
85574
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
84515
85575
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
84516
85576
  email?: BoolFieldUpdateOperationsInput | boolean
84517
85577
  push?: BoolFieldUpdateOperationsInput | boolean
@@ -84523,6 +85583,7 @@ export namespace Prisma {
84523
85583
  id?: StringFieldUpdateOperationsInput | string
84524
85584
  tender_id?: StringFieldUpdateOperationsInput | string
84525
85585
  group_id?: NullableStringFieldUpdateOperationsInput | string | null
85586
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
84526
85587
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
84527
85588
  email?: BoolFieldUpdateOperationsInput | boolean
84528
85589
  push?: BoolFieldUpdateOperationsInput | boolean
@@ -86047,6 +87108,7 @@ export namespace Prisma {
86047
87108
  user_sends_id: string
86048
87109
  user_receives_id: string
86049
87110
  message: string
87111
+ read_at?: Date | string | null
86050
87112
  created_at?: Date | string
86051
87113
  }
86052
87114
 
@@ -86054,6 +87116,7 @@ export namespace Prisma {
86054
87116
  id?: string
86055
87117
  user_id?: string | null
86056
87118
  group_id?: string | null
87119
+ supplier_company_id?: string | null
86057
87120
  whatsapp?: boolean
86058
87121
  email?: boolean
86059
87122
  push?: boolean
@@ -86135,6 +87198,7 @@ export namespace Prisma {
86135
87198
  export type TenderChatUpdateWithoutTenderInput = {
86136
87199
  id?: StringFieldUpdateOperationsInput | string
86137
87200
  message?: StringFieldUpdateOperationsInput | string
87201
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
86138
87202
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
86139
87203
  user_sends?: UserUpdateOneRequiredWithoutTenderChatsNestedInput
86140
87204
  user_receives?: UserUpdateOneRequiredWithoutTenderChats2NestedInput
@@ -86145,6 +87209,7 @@ export namespace Prisma {
86145
87209
  user_sends_id?: StringFieldUpdateOperationsInput | string
86146
87210
  user_receives_id?: StringFieldUpdateOperationsInput | string
86147
87211
  message?: StringFieldUpdateOperationsInput | string
87212
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
86148
87213
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
86149
87214
  }
86150
87215
 
@@ -86153,6 +87218,7 @@ export namespace Prisma {
86153
87218
  user_sends_id?: StringFieldUpdateOperationsInput | string
86154
87219
  user_receives_id?: StringFieldUpdateOperationsInput | string
86155
87220
  message?: StringFieldUpdateOperationsInput | string
87221
+ read_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
86156
87222
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
86157
87223
  }
86158
87224
 
@@ -86165,12 +87231,14 @@ export namespace Prisma {
86165
87231
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
86166
87232
  user?: UserUpdateOneWithoutTenderNotificationsNestedInput
86167
87233
  group?: GroupUpdateOneWithoutTenderNotificationsNestedInput
87234
+ supplierCompany?: CompaniesUpdateOneWithoutSupplierNotificationsNestedInput
86168
87235
  }
86169
87236
 
86170
87237
  export type TenderNotificationUncheckedUpdateWithoutTenderInput = {
86171
87238
  id?: StringFieldUpdateOperationsInput | string
86172
87239
  user_id?: NullableStringFieldUpdateOperationsInput | string | null
86173
87240
  group_id?: NullableStringFieldUpdateOperationsInput | string | null
87241
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
86174
87242
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
86175
87243
  email?: BoolFieldUpdateOperationsInput | boolean
86176
87244
  push?: BoolFieldUpdateOperationsInput | boolean
@@ -86182,6 +87250,7 @@ export namespace Prisma {
86182
87250
  id?: StringFieldUpdateOperationsInput | string
86183
87251
  user_id?: NullableStringFieldUpdateOperationsInput | string | null
86184
87252
  group_id?: NullableStringFieldUpdateOperationsInput | string | null
87253
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
86185
87254
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
86186
87255
  email?: BoolFieldUpdateOperationsInput | boolean
86187
87256
  push?: BoolFieldUpdateOperationsInput | boolean
@@ -86305,6 +87374,7 @@ export namespace Prisma {
86305
87374
  id?: string
86306
87375
  tender_id: string
86307
87376
  user_id?: string | null
87377
+ supplier_company_id?: string | null
86308
87378
  whatsapp?: boolean
86309
87379
  email?: boolean
86310
87380
  push?: boolean
@@ -86342,12 +87412,14 @@ export namespace Prisma {
86342
87412
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
86343
87413
  tender?: TenderUpdateOneRequiredWithoutTenderNotificationsNestedInput
86344
87414
  user?: UserUpdateOneWithoutTenderNotificationsNestedInput
87415
+ supplierCompany?: CompaniesUpdateOneWithoutSupplierNotificationsNestedInput
86345
87416
  }
86346
87417
 
86347
87418
  export type TenderNotificationUncheckedUpdateWithoutGroupInput = {
86348
87419
  id?: StringFieldUpdateOperationsInput | string
86349
87420
  tender_id?: StringFieldUpdateOperationsInput | string
86350
87421
  user_id?: NullableStringFieldUpdateOperationsInput | string | null
87422
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
86351
87423
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
86352
87424
  email?: BoolFieldUpdateOperationsInput | boolean
86353
87425
  push?: BoolFieldUpdateOperationsInput | boolean
@@ -86359,6 +87431,7 @@ export namespace Prisma {
86359
87431
  id?: StringFieldUpdateOperationsInput | string
86360
87432
  tender_id?: StringFieldUpdateOperationsInput | string
86361
87433
  user_id?: NullableStringFieldUpdateOperationsInput | string | null
87434
+ supplier_company_id?: NullableStringFieldUpdateOperationsInput | string | null
86362
87435
  whatsapp?: BoolFieldUpdateOperationsInput | boolean
86363
87436
  email?: BoolFieldUpdateOperationsInput | boolean
86364
87437
  push?: BoolFieldUpdateOperationsInput | boolean