@delpa/mt-prisma 0.8.0 → 0.10.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.
- package/dist/generated/generated/client/edge.js +3 -18
- package/dist/generated/generated/client/index-browser.js +1 -16
- package/dist/generated/generated/client/index.d.ts +437 -2015
- package/dist/generated/generated/client/index.js +3 -18
- package/dist/generated/generated/client/package.json +1 -1
- package/dist/generated/generated/client/schema.prisma +13 -33
- package/generated/client/edge.js +3 -18
- package/generated/client/index-browser.js +1 -16
- package/generated/client/index.d.ts +437 -2015
- package/generated/client/index.js +3 -18
- package/generated/client/package.json +1 -1
- package/generated/client/schema.prisma +13 -33
- package/package.json +1 -1
- package/prisma/migrations/20260121132422_add_address_type_enum_values/migration.sql +22 -0
- package/prisma/migrations/20260121155334_remove_type_of_route_field/migration.sql +11 -0
- package/prisma/migrations/20260121162925_add_order_id_to_route_remove_route_orders/migration.sql +23 -0
- package/prisma/schema.prisma +5 -23
|
@@ -83,11 +83,6 @@ export type Route = $Result.DefaultSelection<Prisma.$RoutePayload>
|
|
|
83
83
|
*
|
|
84
84
|
*/
|
|
85
85
|
export type RouteHandlingUnit = $Result.DefaultSelection<Prisma.$RouteHandlingUnitPayload>
|
|
86
|
-
/**
|
|
87
|
-
* Model RouteOrders
|
|
88
|
-
*
|
|
89
|
-
*/
|
|
90
|
-
export type RouteOrders = $Result.DefaultSelection<Prisma.$RouteOrdersPayload>
|
|
91
86
|
/**
|
|
92
87
|
* Model Address
|
|
93
88
|
*
|
|
@@ -180,15 +175,6 @@ export const FuelType: {
|
|
|
180
175
|
export type FuelType = (typeof FuelType)[keyof typeof FuelType]
|
|
181
176
|
|
|
182
177
|
|
|
183
|
-
export const TypeOfRoutes: {
|
|
184
|
-
PICKING: 'PICKING',
|
|
185
|
-
DELIVERY: 'DELIVERY',
|
|
186
|
-
RETURN: 'RETURN'
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
export type TypeOfRoutes = (typeof TypeOfRoutes)[keyof typeof TypeOfRoutes]
|
|
190
|
-
|
|
191
|
-
|
|
192
178
|
export const AddressType: {
|
|
193
179
|
PICKUP: 'PICKUP',
|
|
194
180
|
DELIVERY: 'DELIVERY',
|
|
@@ -242,10 +228,6 @@ export type FuelType = $Enums.FuelType
|
|
|
242
228
|
|
|
243
229
|
export const FuelType: typeof $Enums.FuelType
|
|
244
230
|
|
|
245
|
-
export type TypeOfRoutes = $Enums.TypeOfRoutes
|
|
246
|
-
|
|
247
|
-
export const TypeOfRoutes: typeof $Enums.TypeOfRoutes
|
|
248
|
-
|
|
249
231
|
export type AddressType = $Enums.AddressType
|
|
250
232
|
|
|
251
233
|
export const AddressType: typeof $Enums.AddressType
|
|
@@ -507,16 +489,6 @@ export class PrismaClient<
|
|
|
507
489
|
*/
|
|
508
490
|
get routeHandlingUnit(): Prisma.RouteHandlingUnitDelegate<ExtArgs, ClientOptions>;
|
|
509
491
|
|
|
510
|
-
/**
|
|
511
|
-
* `prisma.routeOrders`: Exposes CRUD operations for the **RouteOrders** model.
|
|
512
|
-
* Example usage:
|
|
513
|
-
* ```ts
|
|
514
|
-
* // Fetch zero or more RouteOrders
|
|
515
|
-
* const routeOrders = await prisma.routeOrders.findMany()
|
|
516
|
-
* ```
|
|
517
|
-
*/
|
|
518
|
-
get routeOrders(): Prisma.RouteOrdersDelegate<ExtArgs, ClientOptions>;
|
|
519
|
-
|
|
520
492
|
/**
|
|
521
493
|
* `prisma.address`: Exposes CRUD operations for the **Address** model.
|
|
522
494
|
* Example usage:
|
|
@@ -984,7 +956,6 @@ export namespace Prisma {
|
|
|
984
956
|
Vehicle: 'Vehicle',
|
|
985
957
|
Route: 'Route',
|
|
986
958
|
RouteHandlingUnit: 'RouteHandlingUnit',
|
|
987
|
-
RouteOrders: 'RouteOrders',
|
|
988
959
|
Address: 'Address',
|
|
989
960
|
AddressHandlingUnit: 'AddressHandlingUnit'
|
|
990
961
|
};
|
|
@@ -1002,7 +973,7 @@ export namespace Prisma {
|
|
|
1002
973
|
omit: GlobalOmitOptions
|
|
1003
974
|
}
|
|
1004
975
|
meta: {
|
|
1005
|
-
modelProps: "client" | "clientAddress" | "clientContact" | "order" | "companies" | "handlingUnit" | "user" | "userCompany" | "session" | "vehicleBrand" | "vehicleModel" | "vehicle" | "route" | "routeHandlingUnit" | "
|
|
976
|
+
modelProps: "client" | "clientAddress" | "clientContact" | "order" | "companies" | "handlingUnit" | "user" | "userCompany" | "session" | "vehicleBrand" | "vehicleModel" | "vehicle" | "route" | "routeHandlingUnit" | "address" | "addressHandlingUnit"
|
|
1006
977
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
1007
978
|
}
|
|
1008
979
|
model: {
|
|
@@ -2042,80 +2013,6 @@ export namespace Prisma {
|
|
|
2042
2013
|
}
|
|
2043
2014
|
}
|
|
2044
2015
|
}
|
|
2045
|
-
RouteOrders: {
|
|
2046
|
-
payload: Prisma.$RouteOrdersPayload<ExtArgs>
|
|
2047
|
-
fields: Prisma.RouteOrdersFieldRefs
|
|
2048
|
-
operations: {
|
|
2049
|
-
findUnique: {
|
|
2050
|
-
args: Prisma.RouteOrdersFindUniqueArgs<ExtArgs>
|
|
2051
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload> | null
|
|
2052
|
-
}
|
|
2053
|
-
findUniqueOrThrow: {
|
|
2054
|
-
args: Prisma.RouteOrdersFindUniqueOrThrowArgs<ExtArgs>
|
|
2055
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>
|
|
2056
|
-
}
|
|
2057
|
-
findFirst: {
|
|
2058
|
-
args: Prisma.RouteOrdersFindFirstArgs<ExtArgs>
|
|
2059
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload> | null
|
|
2060
|
-
}
|
|
2061
|
-
findFirstOrThrow: {
|
|
2062
|
-
args: Prisma.RouteOrdersFindFirstOrThrowArgs<ExtArgs>
|
|
2063
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>
|
|
2064
|
-
}
|
|
2065
|
-
findMany: {
|
|
2066
|
-
args: Prisma.RouteOrdersFindManyArgs<ExtArgs>
|
|
2067
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>[]
|
|
2068
|
-
}
|
|
2069
|
-
create: {
|
|
2070
|
-
args: Prisma.RouteOrdersCreateArgs<ExtArgs>
|
|
2071
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>
|
|
2072
|
-
}
|
|
2073
|
-
createMany: {
|
|
2074
|
-
args: Prisma.RouteOrdersCreateManyArgs<ExtArgs>
|
|
2075
|
-
result: BatchPayload
|
|
2076
|
-
}
|
|
2077
|
-
createManyAndReturn: {
|
|
2078
|
-
args: Prisma.RouteOrdersCreateManyAndReturnArgs<ExtArgs>
|
|
2079
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>[]
|
|
2080
|
-
}
|
|
2081
|
-
delete: {
|
|
2082
|
-
args: Prisma.RouteOrdersDeleteArgs<ExtArgs>
|
|
2083
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>
|
|
2084
|
-
}
|
|
2085
|
-
update: {
|
|
2086
|
-
args: Prisma.RouteOrdersUpdateArgs<ExtArgs>
|
|
2087
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>
|
|
2088
|
-
}
|
|
2089
|
-
deleteMany: {
|
|
2090
|
-
args: Prisma.RouteOrdersDeleteManyArgs<ExtArgs>
|
|
2091
|
-
result: BatchPayload
|
|
2092
|
-
}
|
|
2093
|
-
updateMany: {
|
|
2094
|
-
args: Prisma.RouteOrdersUpdateManyArgs<ExtArgs>
|
|
2095
|
-
result: BatchPayload
|
|
2096
|
-
}
|
|
2097
|
-
updateManyAndReturn: {
|
|
2098
|
-
args: Prisma.RouteOrdersUpdateManyAndReturnArgs<ExtArgs>
|
|
2099
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>[]
|
|
2100
|
-
}
|
|
2101
|
-
upsert: {
|
|
2102
|
-
args: Prisma.RouteOrdersUpsertArgs<ExtArgs>
|
|
2103
|
-
result: $Utils.PayloadToResult<Prisma.$RouteOrdersPayload>
|
|
2104
|
-
}
|
|
2105
|
-
aggregate: {
|
|
2106
|
-
args: Prisma.RouteOrdersAggregateArgs<ExtArgs>
|
|
2107
|
-
result: $Utils.Optional<AggregateRouteOrders>
|
|
2108
|
-
}
|
|
2109
|
-
groupBy: {
|
|
2110
|
-
args: Prisma.RouteOrdersGroupByArgs<ExtArgs>
|
|
2111
|
-
result: $Utils.Optional<RouteOrdersGroupByOutputType>[]
|
|
2112
|
-
}
|
|
2113
|
-
count: {
|
|
2114
|
-
args: Prisma.RouteOrdersCountArgs<ExtArgs>
|
|
2115
|
-
result: $Utils.Optional<RouteOrdersCountAggregateOutputType> | number
|
|
2116
|
-
}
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
2016
|
Address: {
|
|
2120
2017
|
payload: Prisma.$AddressPayload<ExtArgs>
|
|
2121
2018
|
fields: Prisma.AddressFieldRefs
|
|
@@ -2386,7 +2283,6 @@ export namespace Prisma {
|
|
|
2386
2283
|
vehicle?: VehicleOmit
|
|
2387
2284
|
route?: RouteOmit
|
|
2388
2285
|
routeHandlingUnit?: RouteHandlingUnitOmit
|
|
2389
|
-
routeOrders?: RouteOrdersOmit
|
|
2390
2286
|
address?: AddressOmit
|
|
2391
2287
|
addressHandlingUnit?: AddressHandlingUnitOmit
|
|
2392
2288
|
}
|
|
@@ -2528,12 +2424,12 @@ export namespace Prisma {
|
|
|
2528
2424
|
|
|
2529
2425
|
export type OrderCountOutputType = {
|
|
2530
2426
|
handling_units: number
|
|
2531
|
-
|
|
2427
|
+
routes: number
|
|
2532
2428
|
}
|
|
2533
2429
|
|
|
2534
2430
|
export type OrderCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2535
2431
|
handling_units?: boolean | OrderCountOutputTypeCountHandling_unitsArgs
|
|
2536
|
-
|
|
2432
|
+
routes?: boolean | OrderCountOutputTypeCountRoutesArgs
|
|
2537
2433
|
}
|
|
2538
2434
|
|
|
2539
2435
|
// Custom InputTypes
|
|
@@ -2557,8 +2453,8 @@ export namespace Prisma {
|
|
|
2557
2453
|
/**
|
|
2558
2454
|
* OrderCountOutputType without action
|
|
2559
2455
|
*/
|
|
2560
|
-
export type
|
|
2561
|
-
where?:
|
|
2456
|
+
export type OrderCountOutputTypeCountRoutesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2457
|
+
where?: RouteWhereInput
|
|
2562
2458
|
}
|
|
2563
2459
|
|
|
2564
2460
|
|
|
@@ -2808,13 +2704,11 @@ export namespace Prisma {
|
|
|
2808
2704
|
|
|
2809
2705
|
export type RouteCountOutputType = {
|
|
2810
2706
|
route_handling_units: number
|
|
2811
|
-
route_orders: number
|
|
2812
2707
|
addresses: number
|
|
2813
2708
|
}
|
|
2814
2709
|
|
|
2815
2710
|
export type RouteCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2816
2711
|
route_handling_units?: boolean | RouteCountOutputTypeCountRoute_handling_unitsArgs
|
|
2817
|
-
route_orders?: boolean | RouteCountOutputTypeCountRoute_ordersArgs
|
|
2818
2712
|
addresses?: boolean | RouteCountOutputTypeCountAddressesArgs
|
|
2819
2713
|
}
|
|
2820
2714
|
|
|
@@ -2836,13 +2730,6 @@ export namespace Prisma {
|
|
|
2836
2730
|
where?: RouteHandlingUnitWhereInput
|
|
2837
2731
|
}
|
|
2838
2732
|
|
|
2839
|
-
/**
|
|
2840
|
-
* RouteCountOutputType without action
|
|
2841
|
-
*/
|
|
2842
|
-
export type RouteCountOutputTypeCountRoute_ordersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2843
|
-
where?: RouteOrdersWhereInput
|
|
2844
|
-
}
|
|
2845
|
-
|
|
2846
2733
|
/**
|
|
2847
2734
|
* RouteCountOutputType without action
|
|
2848
2735
|
*/
|
|
@@ -6656,7 +6543,7 @@ export namespace Prisma {
|
|
|
6656
6543
|
updated_at?: boolean
|
|
6657
6544
|
shipper?: boolean | Order$shipperArgs<ExtArgs>
|
|
6658
6545
|
handling_units?: boolean | Order$handling_unitsArgs<ExtArgs>
|
|
6659
|
-
|
|
6546
|
+
routes?: boolean | Order$routesArgs<ExtArgs>
|
|
6660
6547
|
_count?: boolean | OrderCountOutputTypeDefaultArgs<ExtArgs>
|
|
6661
6548
|
}, ExtArgs["result"]["order"]>
|
|
6662
6549
|
|
|
@@ -6696,7 +6583,7 @@ export namespace Prisma {
|
|
|
6696
6583
|
export type OrderInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6697
6584
|
shipper?: boolean | Order$shipperArgs<ExtArgs>
|
|
6698
6585
|
handling_units?: boolean | Order$handling_unitsArgs<ExtArgs>
|
|
6699
|
-
|
|
6586
|
+
routes?: boolean | Order$routesArgs<ExtArgs>
|
|
6700
6587
|
_count?: boolean | OrderCountOutputTypeDefaultArgs<ExtArgs>
|
|
6701
6588
|
}
|
|
6702
6589
|
export type OrderIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
@@ -6711,7 +6598,7 @@ export namespace Prisma {
|
|
|
6711
6598
|
objects: {
|
|
6712
6599
|
shipper: Prisma.$ClientPayload<ExtArgs> | null
|
|
6713
6600
|
handling_units: Prisma.$HandlingUnitPayload<ExtArgs>[]
|
|
6714
|
-
|
|
6601
|
+
routes: Prisma.$RoutePayload<ExtArgs>[]
|
|
6715
6602
|
}
|
|
6716
6603
|
scalars: $Extensions.GetPayloadResult<{
|
|
6717
6604
|
id: string
|
|
@@ -7117,7 +7004,7 @@ export namespace Prisma {
|
|
|
7117
7004
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
7118
7005
|
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>
|
|
7119
7006
|
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>
|
|
7120
|
-
|
|
7007
|
+
routes<T extends Order$routesArgs<ExtArgs> = {}>(args?: Subset<T, Order$routesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RoutePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
7121
7008
|
/**
|
|
7122
7009
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
7123
7010
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -7593,27 +7480,27 @@ export namespace Prisma {
|
|
|
7593
7480
|
}
|
|
7594
7481
|
|
|
7595
7482
|
/**
|
|
7596
|
-
* Order.
|
|
7483
|
+
* Order.routes
|
|
7597
7484
|
*/
|
|
7598
|
-
export type Order$
|
|
7485
|
+
export type Order$routesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7599
7486
|
/**
|
|
7600
|
-
* Select specific fields to fetch from the
|
|
7487
|
+
* Select specific fields to fetch from the Route
|
|
7601
7488
|
*/
|
|
7602
|
-
select?:
|
|
7489
|
+
select?: RouteSelect<ExtArgs> | null
|
|
7603
7490
|
/**
|
|
7604
|
-
* Omit specific fields from the
|
|
7491
|
+
* Omit specific fields from the Route
|
|
7605
7492
|
*/
|
|
7606
|
-
omit?:
|
|
7493
|
+
omit?: RouteOmit<ExtArgs> | null
|
|
7607
7494
|
/**
|
|
7608
7495
|
* Choose, which related nodes to fetch as well
|
|
7609
7496
|
*/
|
|
7610
|
-
include?:
|
|
7611
|
-
where?:
|
|
7612
|
-
orderBy?:
|
|
7613
|
-
cursor?:
|
|
7497
|
+
include?: RouteInclude<ExtArgs> | null
|
|
7498
|
+
where?: RouteWhereInput
|
|
7499
|
+
orderBy?: RouteOrderByWithRelationInput | RouteOrderByWithRelationInput[]
|
|
7500
|
+
cursor?: RouteWhereUniqueInput
|
|
7614
7501
|
take?: number
|
|
7615
7502
|
skip?: number
|
|
7616
|
-
distinct?:
|
|
7503
|
+
distinct?: RouteScalarFieldEnum | RouteScalarFieldEnum[]
|
|
7617
7504
|
}
|
|
7618
7505
|
|
|
7619
7506
|
/**
|
|
@@ -17114,36 +17001,36 @@ export namespace Prisma {
|
|
|
17114
17001
|
|
|
17115
17002
|
export type RouteMinAggregateOutputType = {
|
|
17116
17003
|
id: string | null
|
|
17004
|
+
order_id: string | null
|
|
17117
17005
|
driver_id: string | null
|
|
17118
17006
|
vehicle_id: string | null
|
|
17119
17007
|
status: $Enums.RouteStatus | null
|
|
17120
17008
|
started_at: Date | null
|
|
17121
17009
|
completed_at: Date | null
|
|
17122
|
-
type_of_route: $Enums.TypeOfRoutes | null
|
|
17123
17010
|
created_at: Date | null
|
|
17124
17011
|
updated_at: Date | null
|
|
17125
17012
|
}
|
|
17126
17013
|
|
|
17127
17014
|
export type RouteMaxAggregateOutputType = {
|
|
17128
17015
|
id: string | null
|
|
17016
|
+
order_id: string | null
|
|
17129
17017
|
driver_id: string | null
|
|
17130
17018
|
vehicle_id: string | null
|
|
17131
17019
|
status: $Enums.RouteStatus | null
|
|
17132
17020
|
started_at: Date | null
|
|
17133
17021
|
completed_at: Date | null
|
|
17134
|
-
type_of_route: $Enums.TypeOfRoutes | null
|
|
17135
17022
|
created_at: Date | null
|
|
17136
17023
|
updated_at: Date | null
|
|
17137
17024
|
}
|
|
17138
17025
|
|
|
17139
17026
|
export type RouteCountAggregateOutputType = {
|
|
17140
17027
|
id: number
|
|
17028
|
+
order_id: number
|
|
17141
17029
|
driver_id: number
|
|
17142
17030
|
vehicle_id: number
|
|
17143
17031
|
status: number
|
|
17144
17032
|
started_at: number
|
|
17145
17033
|
completed_at: number
|
|
17146
|
-
type_of_route: number
|
|
17147
17034
|
created_at: number
|
|
17148
17035
|
updated_at: number
|
|
17149
17036
|
_all: number
|
|
@@ -17152,36 +17039,36 @@ export namespace Prisma {
|
|
|
17152
17039
|
|
|
17153
17040
|
export type RouteMinAggregateInputType = {
|
|
17154
17041
|
id?: true
|
|
17042
|
+
order_id?: true
|
|
17155
17043
|
driver_id?: true
|
|
17156
17044
|
vehicle_id?: true
|
|
17157
17045
|
status?: true
|
|
17158
17046
|
started_at?: true
|
|
17159
17047
|
completed_at?: true
|
|
17160
|
-
type_of_route?: true
|
|
17161
17048
|
created_at?: true
|
|
17162
17049
|
updated_at?: true
|
|
17163
17050
|
}
|
|
17164
17051
|
|
|
17165
17052
|
export type RouteMaxAggregateInputType = {
|
|
17166
17053
|
id?: true
|
|
17054
|
+
order_id?: true
|
|
17167
17055
|
driver_id?: true
|
|
17168
17056
|
vehicle_id?: true
|
|
17169
17057
|
status?: true
|
|
17170
17058
|
started_at?: true
|
|
17171
17059
|
completed_at?: true
|
|
17172
|
-
type_of_route?: true
|
|
17173
17060
|
created_at?: true
|
|
17174
17061
|
updated_at?: true
|
|
17175
17062
|
}
|
|
17176
17063
|
|
|
17177
17064
|
export type RouteCountAggregateInputType = {
|
|
17178
17065
|
id?: true
|
|
17066
|
+
order_id?: true
|
|
17179
17067
|
driver_id?: true
|
|
17180
17068
|
vehicle_id?: true
|
|
17181
17069
|
status?: true
|
|
17182
17070
|
started_at?: true
|
|
17183
17071
|
completed_at?: true
|
|
17184
|
-
type_of_route?: true
|
|
17185
17072
|
created_at?: true
|
|
17186
17073
|
updated_at?: true
|
|
17187
17074
|
_all?: true
|
|
@@ -17261,12 +17148,12 @@ export namespace Prisma {
|
|
|
17261
17148
|
|
|
17262
17149
|
export type RouteGroupByOutputType = {
|
|
17263
17150
|
id: string
|
|
17151
|
+
order_id: string | null
|
|
17264
17152
|
driver_id: string | null
|
|
17265
17153
|
vehicle_id: string | null
|
|
17266
17154
|
status: $Enums.RouteStatus
|
|
17267
17155
|
started_at: Date | null
|
|
17268
17156
|
completed_at: Date | null
|
|
17269
|
-
type_of_route: $Enums.TypeOfRoutes | null
|
|
17270
17157
|
created_at: Date
|
|
17271
17158
|
updated_at: Date
|
|
17272
17159
|
_count: RouteCountAggregateOutputType | null
|
|
@@ -17290,76 +17177,80 @@ export namespace Prisma {
|
|
|
17290
17177
|
|
|
17291
17178
|
export type RouteSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
17292
17179
|
id?: boolean
|
|
17180
|
+
order_id?: boolean
|
|
17293
17181
|
driver_id?: boolean
|
|
17294
17182
|
vehicle_id?: boolean
|
|
17295
17183
|
status?: boolean
|
|
17296
17184
|
started_at?: boolean
|
|
17297
17185
|
completed_at?: boolean
|
|
17298
|
-
type_of_route?: boolean
|
|
17299
17186
|
created_at?: boolean
|
|
17300
17187
|
updated_at?: boolean
|
|
17188
|
+
order?: boolean | Route$orderArgs<ExtArgs>
|
|
17301
17189
|
driver?: boolean | Route$driverArgs<ExtArgs>
|
|
17302
17190
|
vehicle?: boolean | Route$vehicleArgs<ExtArgs>
|
|
17303
17191
|
route_handling_units?: boolean | Route$route_handling_unitsArgs<ExtArgs>
|
|
17304
|
-
route_orders?: boolean | Route$route_ordersArgs<ExtArgs>
|
|
17305
17192
|
addresses?: boolean | Route$addressesArgs<ExtArgs>
|
|
17306
17193
|
_count?: boolean | RouteCountOutputTypeDefaultArgs<ExtArgs>
|
|
17307
17194
|
}, ExtArgs["result"]["route"]>
|
|
17308
17195
|
|
|
17309
17196
|
export type RouteSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
17310
17197
|
id?: boolean
|
|
17198
|
+
order_id?: boolean
|
|
17311
17199
|
driver_id?: boolean
|
|
17312
17200
|
vehicle_id?: boolean
|
|
17313
17201
|
status?: boolean
|
|
17314
17202
|
started_at?: boolean
|
|
17315
17203
|
completed_at?: boolean
|
|
17316
|
-
type_of_route?: boolean
|
|
17317
17204
|
created_at?: boolean
|
|
17318
17205
|
updated_at?: boolean
|
|
17206
|
+
order?: boolean | Route$orderArgs<ExtArgs>
|
|
17319
17207
|
driver?: boolean | Route$driverArgs<ExtArgs>
|
|
17320
17208
|
vehicle?: boolean | Route$vehicleArgs<ExtArgs>
|
|
17321
17209
|
}, ExtArgs["result"]["route"]>
|
|
17322
17210
|
|
|
17323
17211
|
export type RouteSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
17324
17212
|
id?: boolean
|
|
17213
|
+
order_id?: boolean
|
|
17325
17214
|
driver_id?: boolean
|
|
17326
17215
|
vehicle_id?: boolean
|
|
17327
17216
|
status?: boolean
|
|
17328
17217
|
started_at?: boolean
|
|
17329
17218
|
completed_at?: boolean
|
|
17330
|
-
type_of_route?: boolean
|
|
17331
17219
|
created_at?: boolean
|
|
17332
17220
|
updated_at?: boolean
|
|
17221
|
+
order?: boolean | Route$orderArgs<ExtArgs>
|
|
17333
17222
|
driver?: boolean | Route$driverArgs<ExtArgs>
|
|
17334
17223
|
vehicle?: boolean | Route$vehicleArgs<ExtArgs>
|
|
17335
17224
|
}, ExtArgs["result"]["route"]>
|
|
17336
17225
|
|
|
17337
17226
|
export type RouteSelectScalar = {
|
|
17338
17227
|
id?: boolean
|
|
17228
|
+
order_id?: boolean
|
|
17339
17229
|
driver_id?: boolean
|
|
17340
17230
|
vehicle_id?: boolean
|
|
17341
17231
|
status?: boolean
|
|
17342
17232
|
started_at?: boolean
|
|
17343
17233
|
completed_at?: boolean
|
|
17344
|
-
type_of_route?: boolean
|
|
17345
17234
|
created_at?: boolean
|
|
17346
17235
|
updated_at?: boolean
|
|
17347
17236
|
}
|
|
17348
17237
|
|
|
17349
|
-
export type RouteOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "driver_id" | "vehicle_id" | "status" | "started_at" | "completed_at" | "
|
|
17238
|
+
export type RouteOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "order_id" | "driver_id" | "vehicle_id" | "status" | "started_at" | "completed_at" | "created_at" | "updated_at", ExtArgs["result"]["route"]>
|
|
17350
17239
|
export type RouteInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17240
|
+
order?: boolean | Route$orderArgs<ExtArgs>
|
|
17351
17241
|
driver?: boolean | Route$driverArgs<ExtArgs>
|
|
17352
17242
|
vehicle?: boolean | Route$vehicleArgs<ExtArgs>
|
|
17353
17243
|
route_handling_units?: boolean | Route$route_handling_unitsArgs<ExtArgs>
|
|
17354
|
-
route_orders?: boolean | Route$route_ordersArgs<ExtArgs>
|
|
17355
17244
|
addresses?: boolean | Route$addressesArgs<ExtArgs>
|
|
17356
17245
|
_count?: boolean | RouteCountOutputTypeDefaultArgs<ExtArgs>
|
|
17357
17246
|
}
|
|
17358
17247
|
export type RouteIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17248
|
+
order?: boolean | Route$orderArgs<ExtArgs>
|
|
17359
17249
|
driver?: boolean | Route$driverArgs<ExtArgs>
|
|
17360
17250
|
vehicle?: boolean | Route$vehicleArgs<ExtArgs>
|
|
17361
17251
|
}
|
|
17362
17252
|
export type RouteIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17253
|
+
order?: boolean | Route$orderArgs<ExtArgs>
|
|
17363
17254
|
driver?: boolean | Route$driverArgs<ExtArgs>
|
|
17364
17255
|
vehicle?: boolean | Route$vehicleArgs<ExtArgs>
|
|
17365
17256
|
}
|
|
@@ -17367,20 +17258,20 @@ export namespace Prisma {
|
|
|
17367
17258
|
export type $RoutePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
17368
17259
|
name: "Route"
|
|
17369
17260
|
objects: {
|
|
17261
|
+
order: Prisma.$OrderPayload<ExtArgs> | null
|
|
17370
17262
|
driver: Prisma.$UserPayload<ExtArgs> | null
|
|
17371
17263
|
vehicle: Prisma.$VehiclePayload<ExtArgs> | null
|
|
17372
17264
|
route_handling_units: Prisma.$RouteHandlingUnitPayload<ExtArgs>[]
|
|
17373
|
-
route_orders: Prisma.$RouteOrdersPayload<ExtArgs>[]
|
|
17374
17265
|
addresses: Prisma.$AddressPayload<ExtArgs>[]
|
|
17375
17266
|
}
|
|
17376
17267
|
scalars: $Extensions.GetPayloadResult<{
|
|
17377
17268
|
id: string
|
|
17269
|
+
order_id: string | null
|
|
17378
17270
|
driver_id: string | null
|
|
17379
17271
|
vehicle_id: string | null
|
|
17380
17272
|
status: $Enums.RouteStatus
|
|
17381
17273
|
started_at: Date | null
|
|
17382
17274
|
completed_at: Date | null
|
|
17383
|
-
type_of_route: $Enums.TypeOfRoutes | null
|
|
17384
17275
|
created_at: Date
|
|
17385
17276
|
updated_at: Date
|
|
17386
17277
|
}, ExtArgs["result"]["route"]>
|
|
@@ -17777,10 +17668,10 @@ export namespace Prisma {
|
|
|
17777
17668
|
*/
|
|
17778
17669
|
export interface Prisma__RouteClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
17779
17670
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
17671
|
+
order<T extends Route$orderArgs<ExtArgs> = {}>(args?: Subset<T, Route$orderArgs<ExtArgs>>): Prisma__OrderClient<$Result.GetResult<Prisma.$OrderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
17780
17672
|
driver<T extends Route$driverArgs<ExtArgs> = {}>(args?: Subset<T, Route$driverArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
17781
17673
|
vehicle<T extends Route$vehicleArgs<ExtArgs> = {}>(args?: Subset<T, Route$vehicleArgs<ExtArgs>>): Prisma__VehicleClient<$Result.GetResult<Prisma.$VehiclePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
17782
17674
|
route_handling_units<T extends Route$route_handling_unitsArgs<ExtArgs> = {}>(args?: Subset<T, Route$route_handling_unitsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RouteHandlingUnitPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
17783
|
-
route_orders<T extends Route$route_ordersArgs<ExtArgs> = {}>(args?: Subset<T, Route$route_ordersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
17784
17675
|
addresses<T extends Route$addressesArgs<ExtArgs> = {}>(args?: Subset<T, Route$addressesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
17785
17676
|
/**
|
|
17786
17677
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -17812,12 +17703,12 @@ export namespace Prisma {
|
|
|
17812
17703
|
*/
|
|
17813
17704
|
interface RouteFieldRefs {
|
|
17814
17705
|
readonly id: FieldRef<"Route", 'String'>
|
|
17706
|
+
readonly order_id: FieldRef<"Route", 'String'>
|
|
17815
17707
|
readonly driver_id: FieldRef<"Route", 'String'>
|
|
17816
17708
|
readonly vehicle_id: FieldRef<"Route", 'String'>
|
|
17817
17709
|
readonly status: FieldRef<"Route", 'RouteStatus'>
|
|
17818
17710
|
readonly started_at: FieldRef<"Route", 'DateTime'>
|
|
17819
17711
|
readonly completed_at: FieldRef<"Route", 'DateTime'>
|
|
17820
|
-
readonly type_of_route: FieldRef<"Route", 'TypeOfRoutes'>
|
|
17821
17712
|
readonly created_at: FieldRef<"Route", 'DateTime'>
|
|
17822
17713
|
readonly updated_at: FieldRef<"Route", 'DateTime'>
|
|
17823
17714
|
}
|
|
@@ -18215,6 +18106,25 @@ export namespace Prisma {
|
|
|
18215
18106
|
limit?: number
|
|
18216
18107
|
}
|
|
18217
18108
|
|
|
18109
|
+
/**
|
|
18110
|
+
* Route.order
|
|
18111
|
+
*/
|
|
18112
|
+
export type Route$orderArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18113
|
+
/**
|
|
18114
|
+
* Select specific fields to fetch from the Order
|
|
18115
|
+
*/
|
|
18116
|
+
select?: OrderSelect<ExtArgs> | null
|
|
18117
|
+
/**
|
|
18118
|
+
* Omit specific fields from the Order
|
|
18119
|
+
*/
|
|
18120
|
+
omit?: OrderOmit<ExtArgs> | null
|
|
18121
|
+
/**
|
|
18122
|
+
* Choose, which related nodes to fetch as well
|
|
18123
|
+
*/
|
|
18124
|
+
include?: OrderInclude<ExtArgs> | null
|
|
18125
|
+
where?: OrderWhereInput
|
|
18126
|
+
}
|
|
18127
|
+
|
|
18218
18128
|
/**
|
|
18219
18129
|
* Route.driver
|
|
18220
18130
|
*/
|
|
@@ -18277,30 +18187,6 @@ export namespace Prisma {
|
|
|
18277
18187
|
distinct?: RouteHandlingUnitScalarFieldEnum | RouteHandlingUnitScalarFieldEnum[]
|
|
18278
18188
|
}
|
|
18279
18189
|
|
|
18280
|
-
/**
|
|
18281
|
-
* Route.route_orders
|
|
18282
|
-
*/
|
|
18283
|
-
export type Route$route_ordersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
18284
|
-
/**
|
|
18285
|
-
* Select specific fields to fetch from the RouteOrders
|
|
18286
|
-
*/
|
|
18287
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
18288
|
-
/**
|
|
18289
|
-
* Omit specific fields from the RouteOrders
|
|
18290
|
-
*/
|
|
18291
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
18292
|
-
/**
|
|
18293
|
-
* Choose, which related nodes to fetch as well
|
|
18294
|
-
*/
|
|
18295
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
18296
|
-
where?: RouteOrdersWhereInput
|
|
18297
|
-
orderBy?: RouteOrdersOrderByWithRelationInput | RouteOrdersOrderByWithRelationInput[]
|
|
18298
|
-
cursor?: RouteOrdersWhereUniqueInput
|
|
18299
|
-
take?: number
|
|
18300
|
-
skip?: number
|
|
18301
|
-
distinct?: RouteOrdersScalarFieldEnum | RouteOrdersScalarFieldEnum[]
|
|
18302
|
-
}
|
|
18303
|
-
|
|
18304
18190
|
/**
|
|
18305
18191
|
* Route.addresses
|
|
18306
18192
|
*/
|
|
@@ -19411,1285 +19297,219 @@ export namespace Prisma {
|
|
|
19411
19297
|
|
|
19412
19298
|
|
|
19413
19299
|
/**
|
|
19414
|
-
* Model
|
|
19300
|
+
* Model Address
|
|
19415
19301
|
*/
|
|
19416
19302
|
|
|
19417
|
-
export type
|
|
19418
|
-
_count:
|
|
19419
|
-
|
|
19420
|
-
|
|
19303
|
+
export type AggregateAddress = {
|
|
19304
|
+
_count: AddressCountAggregateOutputType | null
|
|
19305
|
+
_avg: AddressAvgAggregateOutputType | null
|
|
19306
|
+
_sum: AddressSumAggregateOutputType | null
|
|
19307
|
+
_min: AddressMinAggregateOutputType | null
|
|
19308
|
+
_max: AddressMaxAggregateOutputType | null
|
|
19309
|
+
}
|
|
19310
|
+
|
|
19311
|
+
export type AddressAvgAggregateOutputType = {
|
|
19312
|
+
sequence: number | null
|
|
19313
|
+
latitude: number | null
|
|
19314
|
+
longitude: number | null
|
|
19315
|
+
}
|
|
19316
|
+
|
|
19317
|
+
export type AddressSumAggregateOutputType = {
|
|
19318
|
+
sequence: number | null
|
|
19319
|
+
latitude: number | null
|
|
19320
|
+
longitude: number | null
|
|
19421
19321
|
}
|
|
19422
19322
|
|
|
19423
|
-
export type
|
|
19323
|
+
export type AddressMinAggregateOutputType = {
|
|
19424
19324
|
id: string | null
|
|
19325
|
+
address_type: $Enums.AddressType | null
|
|
19326
|
+
sequence: number | null
|
|
19327
|
+
title: string | null
|
|
19328
|
+
address_line1: string | null
|
|
19329
|
+
address_line2: string | null
|
|
19330
|
+
apartment: string | null
|
|
19331
|
+
city: string | null
|
|
19332
|
+
state: string | null
|
|
19333
|
+
postal_code: string | null
|
|
19334
|
+
country: string | null
|
|
19335
|
+
latitude: number | null
|
|
19336
|
+
longitude: number | null
|
|
19425
19337
|
route_id: string | null
|
|
19426
|
-
order_id: string | null
|
|
19427
19338
|
created_at: Date | null
|
|
19428
19339
|
updated_at: Date | null
|
|
19429
19340
|
}
|
|
19430
19341
|
|
|
19431
|
-
export type
|
|
19342
|
+
export type AddressMaxAggregateOutputType = {
|
|
19432
19343
|
id: string | null
|
|
19344
|
+
address_type: $Enums.AddressType | null
|
|
19345
|
+
sequence: number | null
|
|
19346
|
+
title: string | null
|
|
19347
|
+
address_line1: string | null
|
|
19348
|
+
address_line2: string | null
|
|
19349
|
+
apartment: string | null
|
|
19350
|
+
city: string | null
|
|
19351
|
+
state: string | null
|
|
19352
|
+
postal_code: string | null
|
|
19353
|
+
country: string | null
|
|
19354
|
+
latitude: number | null
|
|
19355
|
+
longitude: number | null
|
|
19433
19356
|
route_id: string | null
|
|
19434
|
-
order_id: string | null
|
|
19435
19357
|
created_at: Date | null
|
|
19436
19358
|
updated_at: Date | null
|
|
19437
19359
|
}
|
|
19438
19360
|
|
|
19439
|
-
export type
|
|
19361
|
+
export type AddressCountAggregateOutputType = {
|
|
19440
19362
|
id: number
|
|
19363
|
+
address_type: number
|
|
19364
|
+
sequence: number
|
|
19365
|
+
title: number
|
|
19366
|
+
address_line1: number
|
|
19367
|
+
address_line2: number
|
|
19368
|
+
apartment: number
|
|
19369
|
+
city: number
|
|
19370
|
+
state: number
|
|
19371
|
+
postal_code: number
|
|
19372
|
+
country: number
|
|
19373
|
+
latitude: number
|
|
19374
|
+
longitude: number
|
|
19375
|
+
google_address: number
|
|
19441
19376
|
route_id: number
|
|
19442
|
-
order_id: number
|
|
19443
19377
|
created_at: number
|
|
19444
19378
|
updated_at: number
|
|
19445
19379
|
_all: number
|
|
19446
19380
|
}
|
|
19447
19381
|
|
|
19448
19382
|
|
|
19449
|
-
export type
|
|
19383
|
+
export type AddressAvgAggregateInputType = {
|
|
19384
|
+
sequence?: true
|
|
19385
|
+
latitude?: true
|
|
19386
|
+
longitude?: true
|
|
19387
|
+
}
|
|
19388
|
+
|
|
19389
|
+
export type AddressSumAggregateInputType = {
|
|
19390
|
+
sequence?: true
|
|
19391
|
+
latitude?: true
|
|
19392
|
+
longitude?: true
|
|
19393
|
+
}
|
|
19394
|
+
|
|
19395
|
+
export type AddressMinAggregateInputType = {
|
|
19450
19396
|
id?: true
|
|
19397
|
+
address_type?: true
|
|
19398
|
+
sequence?: true
|
|
19399
|
+
title?: true
|
|
19400
|
+
address_line1?: true
|
|
19401
|
+
address_line2?: true
|
|
19402
|
+
apartment?: true
|
|
19403
|
+
city?: true
|
|
19404
|
+
state?: true
|
|
19405
|
+
postal_code?: true
|
|
19406
|
+
country?: true
|
|
19407
|
+
latitude?: true
|
|
19408
|
+
longitude?: true
|
|
19451
19409
|
route_id?: true
|
|
19452
|
-
order_id?: true
|
|
19453
19410
|
created_at?: true
|
|
19454
19411
|
updated_at?: true
|
|
19455
19412
|
}
|
|
19456
19413
|
|
|
19457
|
-
export type
|
|
19414
|
+
export type AddressMaxAggregateInputType = {
|
|
19458
19415
|
id?: true
|
|
19416
|
+
address_type?: true
|
|
19417
|
+
sequence?: true
|
|
19418
|
+
title?: true
|
|
19419
|
+
address_line1?: true
|
|
19420
|
+
address_line2?: true
|
|
19421
|
+
apartment?: true
|
|
19422
|
+
city?: true
|
|
19423
|
+
state?: true
|
|
19424
|
+
postal_code?: true
|
|
19425
|
+
country?: true
|
|
19426
|
+
latitude?: true
|
|
19427
|
+
longitude?: true
|
|
19459
19428
|
route_id?: true
|
|
19460
|
-
order_id?: true
|
|
19461
19429
|
created_at?: true
|
|
19462
19430
|
updated_at?: true
|
|
19463
19431
|
}
|
|
19464
19432
|
|
|
19465
|
-
export type
|
|
19433
|
+
export type AddressCountAggregateInputType = {
|
|
19466
19434
|
id?: true
|
|
19435
|
+
address_type?: true
|
|
19436
|
+
sequence?: true
|
|
19437
|
+
title?: true
|
|
19438
|
+
address_line1?: true
|
|
19439
|
+
address_line2?: true
|
|
19440
|
+
apartment?: true
|
|
19441
|
+
city?: true
|
|
19442
|
+
state?: true
|
|
19443
|
+
postal_code?: true
|
|
19444
|
+
country?: true
|
|
19445
|
+
latitude?: true
|
|
19446
|
+
longitude?: true
|
|
19447
|
+
google_address?: true
|
|
19467
19448
|
route_id?: true
|
|
19468
|
-
order_id?: true
|
|
19469
19449
|
created_at?: true
|
|
19470
19450
|
updated_at?: true
|
|
19471
19451
|
_all?: true
|
|
19472
19452
|
}
|
|
19473
19453
|
|
|
19474
|
-
export type
|
|
19454
|
+
export type AddressAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19475
19455
|
/**
|
|
19476
|
-
* Filter which
|
|
19456
|
+
* Filter which Address to aggregate.
|
|
19477
19457
|
*/
|
|
19478
|
-
where?:
|
|
19458
|
+
where?: AddressWhereInput
|
|
19479
19459
|
/**
|
|
19480
19460
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
19481
19461
|
*
|
|
19482
|
-
* Determine the order of
|
|
19462
|
+
* Determine the order of Addresses to fetch.
|
|
19483
19463
|
*/
|
|
19484
|
-
orderBy?:
|
|
19464
|
+
orderBy?: AddressOrderByWithRelationInput | AddressOrderByWithRelationInput[]
|
|
19485
19465
|
/**
|
|
19486
19466
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
19487
19467
|
*
|
|
19488
19468
|
* Sets the start position
|
|
19489
19469
|
*/
|
|
19490
|
-
cursor?:
|
|
19470
|
+
cursor?: AddressWhereUniqueInput
|
|
19491
19471
|
/**
|
|
19492
19472
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19493
19473
|
*
|
|
19494
|
-
* Take `±n`
|
|
19474
|
+
* Take `±n` Addresses from the position of the cursor.
|
|
19495
19475
|
*/
|
|
19496
19476
|
take?: number
|
|
19497
19477
|
/**
|
|
19498
19478
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
19499
19479
|
*
|
|
19500
|
-
* Skip the first `n`
|
|
19480
|
+
* Skip the first `n` Addresses.
|
|
19501
19481
|
*/
|
|
19502
19482
|
skip?: number
|
|
19503
19483
|
/**
|
|
19504
19484
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19505
19485
|
*
|
|
19506
|
-
* Count returned
|
|
19486
|
+
* Count returned Addresses
|
|
19487
|
+
**/
|
|
19488
|
+
_count?: true | AddressCountAggregateInputType
|
|
19489
|
+
/**
|
|
19490
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19491
|
+
*
|
|
19492
|
+
* Select which fields to average
|
|
19493
|
+
**/
|
|
19494
|
+
_avg?: AddressAvgAggregateInputType
|
|
19495
|
+
/**
|
|
19496
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19497
|
+
*
|
|
19498
|
+
* Select which fields to sum
|
|
19507
19499
|
**/
|
|
19508
|
-
|
|
19500
|
+
_sum?: AddressSumAggregateInputType
|
|
19509
19501
|
/**
|
|
19510
19502
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19511
19503
|
*
|
|
19512
19504
|
* Select which fields to find the minimum value
|
|
19513
19505
|
**/
|
|
19514
|
-
_min?:
|
|
19506
|
+
_min?: AddressMinAggregateInputType
|
|
19515
19507
|
/**
|
|
19516
19508
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
19517
19509
|
*
|
|
19518
19510
|
* Select which fields to find the maximum value
|
|
19519
19511
|
**/
|
|
19520
|
-
_max?:
|
|
19521
|
-
}
|
|
19522
|
-
|
|
19523
|
-
export type GetRouteOrdersAggregateType<T extends RouteOrdersAggregateArgs> = {
|
|
19524
|
-
[P in keyof T & keyof AggregateRouteOrders]: P extends '_count' | 'count'
|
|
19525
|
-
? T[P] extends true
|
|
19526
|
-
? number
|
|
19527
|
-
: GetScalarType<T[P], AggregateRouteOrders[P]>
|
|
19528
|
-
: GetScalarType<T[P], AggregateRouteOrders[P]>
|
|
19529
|
-
}
|
|
19530
|
-
|
|
19531
|
-
|
|
19532
|
-
|
|
19533
|
-
|
|
19534
|
-
export type RouteOrdersGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19535
|
-
where?: RouteOrdersWhereInput
|
|
19536
|
-
orderBy?: RouteOrdersOrderByWithAggregationInput | RouteOrdersOrderByWithAggregationInput[]
|
|
19537
|
-
by: RouteOrdersScalarFieldEnum[] | RouteOrdersScalarFieldEnum
|
|
19538
|
-
having?: RouteOrdersScalarWhereWithAggregatesInput
|
|
19539
|
-
take?: number
|
|
19540
|
-
skip?: number
|
|
19541
|
-
_count?: RouteOrdersCountAggregateInputType | true
|
|
19542
|
-
_min?: RouteOrdersMinAggregateInputType
|
|
19543
|
-
_max?: RouteOrdersMaxAggregateInputType
|
|
19544
|
-
}
|
|
19545
|
-
|
|
19546
|
-
export type RouteOrdersGroupByOutputType = {
|
|
19547
|
-
id: string
|
|
19548
|
-
route_id: string
|
|
19549
|
-
order_id: string
|
|
19550
|
-
created_at: Date
|
|
19551
|
-
updated_at: Date
|
|
19552
|
-
_count: RouteOrdersCountAggregateOutputType | null
|
|
19553
|
-
_min: RouteOrdersMinAggregateOutputType | null
|
|
19554
|
-
_max: RouteOrdersMaxAggregateOutputType | null
|
|
19555
|
-
}
|
|
19556
|
-
|
|
19557
|
-
type GetRouteOrdersGroupByPayload<T extends RouteOrdersGroupByArgs> = Prisma.PrismaPromise<
|
|
19558
|
-
Array<
|
|
19559
|
-
PickEnumerable<RouteOrdersGroupByOutputType, T['by']> &
|
|
19560
|
-
{
|
|
19561
|
-
[P in ((keyof T) & (keyof RouteOrdersGroupByOutputType))]: P extends '_count'
|
|
19562
|
-
? T[P] extends boolean
|
|
19563
|
-
? number
|
|
19564
|
-
: GetScalarType<T[P], RouteOrdersGroupByOutputType[P]>
|
|
19565
|
-
: GetScalarType<T[P], RouteOrdersGroupByOutputType[P]>
|
|
19566
|
-
}
|
|
19567
|
-
>
|
|
19568
|
-
>
|
|
19569
|
-
|
|
19570
|
-
|
|
19571
|
-
export type RouteOrdersSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
19572
|
-
id?: boolean
|
|
19573
|
-
route_id?: boolean
|
|
19574
|
-
order_id?: boolean
|
|
19575
|
-
created_at?: boolean
|
|
19576
|
-
updated_at?: boolean
|
|
19577
|
-
route?: boolean | RouteDefaultArgs<ExtArgs>
|
|
19578
|
-
order?: boolean | OrderDefaultArgs<ExtArgs>
|
|
19579
|
-
}, ExtArgs["result"]["routeOrders"]>
|
|
19580
|
-
|
|
19581
|
-
export type RouteOrdersSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
19582
|
-
id?: boolean
|
|
19583
|
-
route_id?: boolean
|
|
19584
|
-
order_id?: boolean
|
|
19585
|
-
created_at?: boolean
|
|
19586
|
-
updated_at?: boolean
|
|
19587
|
-
route?: boolean | RouteDefaultArgs<ExtArgs>
|
|
19588
|
-
order?: boolean | OrderDefaultArgs<ExtArgs>
|
|
19589
|
-
}, ExtArgs["result"]["routeOrders"]>
|
|
19590
|
-
|
|
19591
|
-
export type RouteOrdersSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
19592
|
-
id?: boolean
|
|
19593
|
-
route_id?: boolean
|
|
19594
|
-
order_id?: boolean
|
|
19595
|
-
created_at?: boolean
|
|
19596
|
-
updated_at?: boolean
|
|
19597
|
-
route?: boolean | RouteDefaultArgs<ExtArgs>
|
|
19598
|
-
order?: boolean | OrderDefaultArgs<ExtArgs>
|
|
19599
|
-
}, ExtArgs["result"]["routeOrders"]>
|
|
19600
|
-
|
|
19601
|
-
export type RouteOrdersSelectScalar = {
|
|
19602
|
-
id?: boolean
|
|
19603
|
-
route_id?: boolean
|
|
19604
|
-
order_id?: boolean
|
|
19605
|
-
created_at?: boolean
|
|
19606
|
-
updated_at?: boolean
|
|
19607
|
-
}
|
|
19608
|
-
|
|
19609
|
-
export type RouteOrdersOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "route_id" | "order_id" | "created_at" | "updated_at", ExtArgs["result"]["routeOrders"]>
|
|
19610
|
-
export type RouteOrdersInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19611
|
-
route?: boolean | RouteDefaultArgs<ExtArgs>
|
|
19612
|
-
order?: boolean | OrderDefaultArgs<ExtArgs>
|
|
19613
|
-
}
|
|
19614
|
-
export type RouteOrdersIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19615
|
-
route?: boolean | RouteDefaultArgs<ExtArgs>
|
|
19616
|
-
order?: boolean | OrderDefaultArgs<ExtArgs>
|
|
19617
|
-
}
|
|
19618
|
-
export type RouteOrdersIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19619
|
-
route?: boolean | RouteDefaultArgs<ExtArgs>
|
|
19620
|
-
order?: boolean | OrderDefaultArgs<ExtArgs>
|
|
19621
|
-
}
|
|
19622
|
-
|
|
19623
|
-
export type $RouteOrdersPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
19624
|
-
name: "RouteOrders"
|
|
19625
|
-
objects: {
|
|
19626
|
-
route: Prisma.$RoutePayload<ExtArgs>
|
|
19627
|
-
order: Prisma.$OrderPayload<ExtArgs>
|
|
19628
|
-
}
|
|
19629
|
-
scalars: $Extensions.GetPayloadResult<{
|
|
19630
|
-
id: string
|
|
19631
|
-
route_id: string
|
|
19632
|
-
order_id: string
|
|
19633
|
-
created_at: Date
|
|
19634
|
-
updated_at: Date
|
|
19635
|
-
}, ExtArgs["result"]["routeOrders"]>
|
|
19636
|
-
composites: {}
|
|
19637
|
-
}
|
|
19638
|
-
|
|
19639
|
-
type RouteOrdersGetPayload<S extends boolean | null | undefined | RouteOrdersDefaultArgs> = $Result.GetResult<Prisma.$RouteOrdersPayload, S>
|
|
19640
|
-
|
|
19641
|
-
type RouteOrdersCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
19642
|
-
Omit<RouteOrdersFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
19643
|
-
select?: RouteOrdersCountAggregateInputType | true
|
|
19644
|
-
}
|
|
19645
|
-
|
|
19646
|
-
export interface RouteOrdersDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
19647
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RouteOrders'], meta: { name: 'RouteOrders' } }
|
|
19648
|
-
/**
|
|
19649
|
-
* Find zero or one RouteOrders that matches the filter.
|
|
19650
|
-
* @param {RouteOrdersFindUniqueArgs} args - Arguments to find a RouteOrders
|
|
19651
|
-
* @example
|
|
19652
|
-
* // Get one RouteOrders
|
|
19653
|
-
* const routeOrders = await prisma.routeOrders.findUnique({
|
|
19654
|
-
* where: {
|
|
19655
|
-
* // ... provide filter here
|
|
19656
|
-
* }
|
|
19657
|
-
* })
|
|
19658
|
-
*/
|
|
19659
|
-
findUnique<T extends RouteOrdersFindUniqueArgs>(args: SelectSubset<T, RouteOrdersFindUniqueArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
19660
|
-
|
|
19661
|
-
/**
|
|
19662
|
-
* Find one RouteOrders that matches the filter or throw an error with `error.code='P2025'`
|
|
19663
|
-
* if no matches were found.
|
|
19664
|
-
* @param {RouteOrdersFindUniqueOrThrowArgs} args - Arguments to find a RouteOrders
|
|
19665
|
-
* @example
|
|
19666
|
-
* // Get one RouteOrders
|
|
19667
|
-
* const routeOrders = await prisma.routeOrders.findUniqueOrThrow({
|
|
19668
|
-
* where: {
|
|
19669
|
-
* // ... provide filter here
|
|
19670
|
-
* }
|
|
19671
|
-
* })
|
|
19672
|
-
*/
|
|
19673
|
-
findUniqueOrThrow<T extends RouteOrdersFindUniqueOrThrowArgs>(args: SelectSubset<T, RouteOrdersFindUniqueOrThrowArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19674
|
-
|
|
19675
|
-
/**
|
|
19676
|
-
* Find the first RouteOrders that matches the filter.
|
|
19677
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19678
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19679
|
-
* @param {RouteOrdersFindFirstArgs} args - Arguments to find a RouteOrders
|
|
19680
|
-
* @example
|
|
19681
|
-
* // Get one RouteOrders
|
|
19682
|
-
* const routeOrders = await prisma.routeOrders.findFirst({
|
|
19683
|
-
* where: {
|
|
19684
|
-
* // ... provide filter here
|
|
19685
|
-
* }
|
|
19686
|
-
* })
|
|
19687
|
-
*/
|
|
19688
|
-
findFirst<T extends RouteOrdersFindFirstArgs>(args?: SelectSubset<T, RouteOrdersFindFirstArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
19689
|
-
|
|
19690
|
-
/**
|
|
19691
|
-
* Find the first RouteOrders that matches the filter or
|
|
19692
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
19693
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19694
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19695
|
-
* @param {RouteOrdersFindFirstOrThrowArgs} args - Arguments to find a RouteOrders
|
|
19696
|
-
* @example
|
|
19697
|
-
* // Get one RouteOrders
|
|
19698
|
-
* const routeOrders = await prisma.routeOrders.findFirstOrThrow({
|
|
19699
|
-
* where: {
|
|
19700
|
-
* // ... provide filter here
|
|
19701
|
-
* }
|
|
19702
|
-
* })
|
|
19703
|
-
*/
|
|
19704
|
-
findFirstOrThrow<T extends RouteOrdersFindFirstOrThrowArgs>(args?: SelectSubset<T, RouteOrdersFindFirstOrThrowArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19705
|
-
|
|
19706
|
-
/**
|
|
19707
|
-
* Find zero or more RouteOrders that matches the filter.
|
|
19708
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19709
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19710
|
-
* @param {RouteOrdersFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
19711
|
-
* @example
|
|
19712
|
-
* // Get all RouteOrders
|
|
19713
|
-
* const routeOrders = await prisma.routeOrders.findMany()
|
|
19714
|
-
*
|
|
19715
|
-
* // Get first 10 RouteOrders
|
|
19716
|
-
* const routeOrders = await prisma.routeOrders.findMany({ take: 10 })
|
|
19717
|
-
*
|
|
19718
|
-
* // Only select the `id`
|
|
19719
|
-
* const routeOrdersWithIdOnly = await prisma.routeOrders.findMany({ select: { id: true } })
|
|
19720
|
-
*
|
|
19721
|
-
*/
|
|
19722
|
-
findMany<T extends RouteOrdersFindManyArgs>(args?: SelectSubset<T, RouteOrdersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
19723
|
-
|
|
19724
|
-
/**
|
|
19725
|
-
* Create a RouteOrders.
|
|
19726
|
-
* @param {RouteOrdersCreateArgs} args - Arguments to create a RouteOrders.
|
|
19727
|
-
* @example
|
|
19728
|
-
* // Create one RouteOrders
|
|
19729
|
-
* const RouteOrders = await prisma.routeOrders.create({
|
|
19730
|
-
* data: {
|
|
19731
|
-
* // ... data to create a RouteOrders
|
|
19732
|
-
* }
|
|
19733
|
-
* })
|
|
19734
|
-
*
|
|
19735
|
-
*/
|
|
19736
|
-
create<T extends RouteOrdersCreateArgs>(args: SelectSubset<T, RouteOrdersCreateArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19737
|
-
|
|
19738
|
-
/**
|
|
19739
|
-
* Create many RouteOrders.
|
|
19740
|
-
* @param {RouteOrdersCreateManyArgs} args - Arguments to create many RouteOrders.
|
|
19741
|
-
* @example
|
|
19742
|
-
* // Create many RouteOrders
|
|
19743
|
-
* const routeOrders = await prisma.routeOrders.createMany({
|
|
19744
|
-
* data: [
|
|
19745
|
-
* // ... provide data here
|
|
19746
|
-
* ]
|
|
19747
|
-
* })
|
|
19748
|
-
*
|
|
19749
|
-
*/
|
|
19750
|
-
createMany<T extends RouteOrdersCreateManyArgs>(args?: SelectSubset<T, RouteOrdersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
19751
|
-
|
|
19752
|
-
/**
|
|
19753
|
-
* Create many RouteOrders and returns the data saved in the database.
|
|
19754
|
-
* @param {RouteOrdersCreateManyAndReturnArgs} args - Arguments to create many RouteOrders.
|
|
19755
|
-
* @example
|
|
19756
|
-
* // Create many RouteOrders
|
|
19757
|
-
* const routeOrders = await prisma.routeOrders.createManyAndReturn({
|
|
19758
|
-
* data: [
|
|
19759
|
-
* // ... provide data here
|
|
19760
|
-
* ]
|
|
19761
|
-
* })
|
|
19762
|
-
*
|
|
19763
|
-
* // Create many RouteOrders and only return the `id`
|
|
19764
|
-
* const routeOrdersWithIdOnly = await prisma.routeOrders.createManyAndReturn({
|
|
19765
|
-
* select: { id: true },
|
|
19766
|
-
* data: [
|
|
19767
|
-
* // ... provide data here
|
|
19768
|
-
* ]
|
|
19769
|
-
* })
|
|
19770
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19771
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19772
|
-
*
|
|
19773
|
-
*/
|
|
19774
|
-
createManyAndReturn<T extends RouteOrdersCreateManyAndReturnArgs>(args?: SelectSubset<T, RouteOrdersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
19775
|
-
|
|
19776
|
-
/**
|
|
19777
|
-
* Delete a RouteOrders.
|
|
19778
|
-
* @param {RouteOrdersDeleteArgs} args - Arguments to delete one RouteOrders.
|
|
19779
|
-
* @example
|
|
19780
|
-
* // Delete one RouteOrders
|
|
19781
|
-
* const RouteOrders = await prisma.routeOrders.delete({
|
|
19782
|
-
* where: {
|
|
19783
|
-
* // ... filter to delete one RouteOrders
|
|
19784
|
-
* }
|
|
19785
|
-
* })
|
|
19786
|
-
*
|
|
19787
|
-
*/
|
|
19788
|
-
delete<T extends RouteOrdersDeleteArgs>(args: SelectSubset<T, RouteOrdersDeleteArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19789
|
-
|
|
19790
|
-
/**
|
|
19791
|
-
* Update one RouteOrders.
|
|
19792
|
-
* @param {RouteOrdersUpdateArgs} args - Arguments to update one RouteOrders.
|
|
19793
|
-
* @example
|
|
19794
|
-
* // Update one RouteOrders
|
|
19795
|
-
* const routeOrders = await prisma.routeOrders.update({
|
|
19796
|
-
* where: {
|
|
19797
|
-
* // ... provide filter here
|
|
19798
|
-
* },
|
|
19799
|
-
* data: {
|
|
19800
|
-
* // ... provide data here
|
|
19801
|
-
* }
|
|
19802
|
-
* })
|
|
19803
|
-
*
|
|
19804
|
-
*/
|
|
19805
|
-
update<T extends RouteOrdersUpdateArgs>(args: SelectSubset<T, RouteOrdersUpdateArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19806
|
-
|
|
19807
|
-
/**
|
|
19808
|
-
* Delete zero or more RouteOrders.
|
|
19809
|
-
* @param {RouteOrdersDeleteManyArgs} args - Arguments to filter RouteOrders to delete.
|
|
19810
|
-
* @example
|
|
19811
|
-
* // Delete a few RouteOrders
|
|
19812
|
-
* const { count } = await prisma.routeOrders.deleteMany({
|
|
19813
|
-
* where: {
|
|
19814
|
-
* // ... provide filter here
|
|
19815
|
-
* }
|
|
19816
|
-
* })
|
|
19817
|
-
*
|
|
19818
|
-
*/
|
|
19819
|
-
deleteMany<T extends RouteOrdersDeleteManyArgs>(args?: SelectSubset<T, RouteOrdersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
19820
|
-
|
|
19821
|
-
/**
|
|
19822
|
-
* Update zero or more RouteOrders.
|
|
19823
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19824
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19825
|
-
* @param {RouteOrdersUpdateManyArgs} args - Arguments to update one or more rows.
|
|
19826
|
-
* @example
|
|
19827
|
-
* // Update many RouteOrders
|
|
19828
|
-
* const routeOrders = await prisma.routeOrders.updateMany({
|
|
19829
|
-
* where: {
|
|
19830
|
-
* // ... provide filter here
|
|
19831
|
-
* },
|
|
19832
|
-
* data: {
|
|
19833
|
-
* // ... provide data here
|
|
19834
|
-
* }
|
|
19835
|
-
* })
|
|
19836
|
-
*
|
|
19837
|
-
*/
|
|
19838
|
-
updateMany<T extends RouteOrdersUpdateManyArgs>(args: SelectSubset<T, RouteOrdersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
19839
|
-
|
|
19840
|
-
/**
|
|
19841
|
-
* Update zero or more RouteOrders and returns the data updated in the database.
|
|
19842
|
-
* @param {RouteOrdersUpdateManyAndReturnArgs} args - Arguments to update many RouteOrders.
|
|
19843
|
-
* @example
|
|
19844
|
-
* // Update many RouteOrders
|
|
19845
|
-
* const routeOrders = await prisma.routeOrders.updateManyAndReturn({
|
|
19846
|
-
* where: {
|
|
19847
|
-
* // ... provide filter here
|
|
19848
|
-
* },
|
|
19849
|
-
* data: [
|
|
19850
|
-
* // ... provide data here
|
|
19851
|
-
* ]
|
|
19852
|
-
* })
|
|
19853
|
-
*
|
|
19854
|
-
* // Update zero or more RouteOrders and only return the `id`
|
|
19855
|
-
* const routeOrdersWithIdOnly = await prisma.routeOrders.updateManyAndReturn({
|
|
19856
|
-
* select: { id: true },
|
|
19857
|
-
* where: {
|
|
19858
|
-
* // ... provide filter here
|
|
19859
|
-
* },
|
|
19860
|
-
* data: [
|
|
19861
|
-
* // ... provide data here
|
|
19862
|
-
* ]
|
|
19863
|
-
* })
|
|
19864
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19865
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19866
|
-
*
|
|
19867
|
-
*/
|
|
19868
|
-
updateManyAndReturn<T extends RouteOrdersUpdateManyAndReturnArgs>(args: SelectSubset<T, RouteOrdersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
19869
|
-
|
|
19870
|
-
/**
|
|
19871
|
-
* Create or update one RouteOrders.
|
|
19872
|
-
* @param {RouteOrdersUpsertArgs} args - Arguments to update or create a RouteOrders.
|
|
19873
|
-
* @example
|
|
19874
|
-
* // Update or create a RouteOrders
|
|
19875
|
-
* const routeOrders = await prisma.routeOrders.upsert({
|
|
19876
|
-
* create: {
|
|
19877
|
-
* // ... data to create a RouteOrders
|
|
19878
|
-
* },
|
|
19879
|
-
* update: {
|
|
19880
|
-
* // ... in case it already exists, update
|
|
19881
|
-
* },
|
|
19882
|
-
* where: {
|
|
19883
|
-
* // ... the filter for the RouteOrders we want to update
|
|
19884
|
-
* }
|
|
19885
|
-
* })
|
|
19886
|
-
*/
|
|
19887
|
-
upsert<T extends RouteOrdersUpsertArgs>(args: SelectSubset<T, RouteOrdersUpsertArgs<ExtArgs>>): Prisma__RouteOrdersClient<$Result.GetResult<Prisma.$RouteOrdersPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
/**
|
|
19891
|
-
* Count the number of RouteOrders.
|
|
19892
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19893
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19894
|
-
* @param {RouteOrdersCountArgs} args - Arguments to filter RouteOrders to count.
|
|
19895
|
-
* @example
|
|
19896
|
-
* // Count the number of RouteOrders
|
|
19897
|
-
* const count = await prisma.routeOrders.count({
|
|
19898
|
-
* where: {
|
|
19899
|
-
* // ... the filter for the RouteOrders we want to count
|
|
19900
|
-
* }
|
|
19901
|
-
* })
|
|
19902
|
-
**/
|
|
19903
|
-
count<T extends RouteOrdersCountArgs>(
|
|
19904
|
-
args?: Subset<T, RouteOrdersCountArgs>,
|
|
19905
|
-
): Prisma.PrismaPromise<
|
|
19906
|
-
T extends $Utils.Record<'select', any>
|
|
19907
|
-
? T['select'] extends true
|
|
19908
|
-
? number
|
|
19909
|
-
: GetScalarType<T['select'], RouteOrdersCountAggregateOutputType>
|
|
19910
|
-
: number
|
|
19911
|
-
>
|
|
19912
|
-
|
|
19913
|
-
/**
|
|
19914
|
-
* Allows you to perform aggregations operations on a RouteOrders.
|
|
19915
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19916
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19917
|
-
* @param {RouteOrdersAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
19918
|
-
* @example
|
|
19919
|
-
* // Ordered by age ascending
|
|
19920
|
-
* // Where email contains prisma.io
|
|
19921
|
-
* // Limited to the 10 users
|
|
19922
|
-
* const aggregations = await prisma.user.aggregate({
|
|
19923
|
-
* _avg: {
|
|
19924
|
-
* age: true,
|
|
19925
|
-
* },
|
|
19926
|
-
* where: {
|
|
19927
|
-
* email: {
|
|
19928
|
-
* contains: "prisma.io",
|
|
19929
|
-
* },
|
|
19930
|
-
* },
|
|
19931
|
-
* orderBy: {
|
|
19932
|
-
* age: "asc",
|
|
19933
|
-
* },
|
|
19934
|
-
* take: 10,
|
|
19935
|
-
* })
|
|
19936
|
-
**/
|
|
19937
|
-
aggregate<T extends RouteOrdersAggregateArgs>(args: Subset<T, RouteOrdersAggregateArgs>): Prisma.PrismaPromise<GetRouteOrdersAggregateType<T>>
|
|
19938
|
-
|
|
19939
|
-
/**
|
|
19940
|
-
* Group by RouteOrders.
|
|
19941
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
19942
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
19943
|
-
* @param {RouteOrdersGroupByArgs} args - Group by arguments.
|
|
19944
|
-
* @example
|
|
19945
|
-
* // Group by city, order by createdAt, get count
|
|
19946
|
-
* const result = await prisma.user.groupBy({
|
|
19947
|
-
* by: ['city', 'createdAt'],
|
|
19948
|
-
* orderBy: {
|
|
19949
|
-
* createdAt: true
|
|
19950
|
-
* },
|
|
19951
|
-
* _count: {
|
|
19952
|
-
* _all: true
|
|
19953
|
-
* },
|
|
19954
|
-
* })
|
|
19955
|
-
*
|
|
19956
|
-
**/
|
|
19957
|
-
groupBy<
|
|
19958
|
-
T extends RouteOrdersGroupByArgs,
|
|
19959
|
-
HasSelectOrTake extends Or<
|
|
19960
|
-
Extends<'skip', Keys<T>>,
|
|
19961
|
-
Extends<'take', Keys<T>>
|
|
19962
|
-
>,
|
|
19963
|
-
OrderByArg extends True extends HasSelectOrTake
|
|
19964
|
-
? { orderBy: RouteOrdersGroupByArgs['orderBy'] }
|
|
19965
|
-
: { orderBy?: RouteOrdersGroupByArgs['orderBy'] },
|
|
19966
|
-
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
19967
|
-
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
19968
|
-
ByValid extends Has<ByFields, OrderFields>,
|
|
19969
|
-
HavingFields extends GetHavingFields<T['having']>,
|
|
19970
|
-
HavingValid extends Has<ByFields, HavingFields>,
|
|
19971
|
-
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
19972
|
-
InputErrors extends ByEmpty extends True
|
|
19973
|
-
? `Error: "by" must not be empty.`
|
|
19974
|
-
: HavingValid extends False
|
|
19975
|
-
? {
|
|
19976
|
-
[P in HavingFields]: P extends ByFields
|
|
19977
|
-
? never
|
|
19978
|
-
: P extends string
|
|
19979
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
19980
|
-
: [
|
|
19981
|
-
Error,
|
|
19982
|
-
'Field ',
|
|
19983
|
-
P,
|
|
19984
|
-
` in "having" needs to be provided in "by"`,
|
|
19985
|
-
]
|
|
19986
|
-
}[HavingFields]
|
|
19987
|
-
: 'take' extends Keys<T>
|
|
19988
|
-
? 'orderBy' extends Keys<T>
|
|
19989
|
-
? ByValid extends True
|
|
19990
|
-
? {}
|
|
19991
|
-
: {
|
|
19992
|
-
[P in OrderFields]: P extends ByFields
|
|
19993
|
-
? never
|
|
19994
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
19995
|
-
}[OrderFields]
|
|
19996
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
19997
|
-
: 'skip' extends Keys<T>
|
|
19998
|
-
? 'orderBy' extends Keys<T>
|
|
19999
|
-
? ByValid extends True
|
|
20000
|
-
? {}
|
|
20001
|
-
: {
|
|
20002
|
-
[P in OrderFields]: P extends ByFields
|
|
20003
|
-
? never
|
|
20004
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
20005
|
-
}[OrderFields]
|
|
20006
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
20007
|
-
: ByValid extends True
|
|
20008
|
-
? {}
|
|
20009
|
-
: {
|
|
20010
|
-
[P in OrderFields]: P extends ByFields
|
|
20011
|
-
? never
|
|
20012
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
20013
|
-
}[OrderFields]
|
|
20014
|
-
>(args: SubsetIntersection<T, RouteOrdersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRouteOrdersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
20015
|
-
/**
|
|
20016
|
-
* Fields of the RouteOrders model
|
|
20017
|
-
*/
|
|
20018
|
-
readonly fields: RouteOrdersFieldRefs;
|
|
20019
|
-
}
|
|
20020
|
-
|
|
20021
|
-
/**
|
|
20022
|
-
* The delegate class that acts as a "Promise-like" for RouteOrders.
|
|
20023
|
-
* Why is this prefixed with `Prisma__`?
|
|
20024
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
20025
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
20026
|
-
*/
|
|
20027
|
-
export interface Prisma__RouteOrdersClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
20028
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
20029
|
-
route<T extends RouteDefaultArgs<ExtArgs> = {}>(args?: Subset<T, RouteDefaultArgs<ExtArgs>>): Prisma__RouteClient<$Result.GetResult<Prisma.$RoutePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
20030
|
-
order<T extends OrderDefaultArgs<ExtArgs> = {}>(args?: Subset<T, OrderDefaultArgs<ExtArgs>>): Prisma__OrderClient<$Result.GetResult<Prisma.$OrderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
20031
|
-
/**
|
|
20032
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
20033
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
20034
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
20035
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
20036
|
-
*/
|
|
20037
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
20038
|
-
/**
|
|
20039
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
20040
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
20041
|
-
* @returns A Promise for the completion of the callback.
|
|
20042
|
-
*/
|
|
20043
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
20044
|
-
/**
|
|
20045
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
20046
|
-
* resolved value cannot be modified from the callback.
|
|
20047
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
20048
|
-
* @returns A Promise for the completion of the callback.
|
|
20049
|
-
*/
|
|
20050
|
-
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
20051
|
-
}
|
|
20052
|
-
|
|
20053
|
-
|
|
20054
|
-
|
|
20055
|
-
|
|
20056
|
-
/**
|
|
20057
|
-
* Fields of the RouteOrders model
|
|
20058
|
-
*/
|
|
20059
|
-
interface RouteOrdersFieldRefs {
|
|
20060
|
-
readonly id: FieldRef<"RouteOrders", 'String'>
|
|
20061
|
-
readonly route_id: FieldRef<"RouteOrders", 'String'>
|
|
20062
|
-
readonly order_id: FieldRef<"RouteOrders", 'String'>
|
|
20063
|
-
readonly created_at: FieldRef<"RouteOrders", 'DateTime'>
|
|
20064
|
-
readonly updated_at: FieldRef<"RouteOrders", 'DateTime'>
|
|
20065
|
-
}
|
|
20066
|
-
|
|
20067
|
-
|
|
20068
|
-
// Custom InputTypes
|
|
20069
|
-
/**
|
|
20070
|
-
* RouteOrders findUnique
|
|
20071
|
-
*/
|
|
20072
|
-
export type RouteOrdersFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20073
|
-
/**
|
|
20074
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20075
|
-
*/
|
|
20076
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20077
|
-
/**
|
|
20078
|
-
* Omit specific fields from the RouteOrders
|
|
20079
|
-
*/
|
|
20080
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20081
|
-
/**
|
|
20082
|
-
* Choose, which related nodes to fetch as well
|
|
20083
|
-
*/
|
|
20084
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20085
|
-
/**
|
|
20086
|
-
* Filter, which RouteOrders to fetch.
|
|
20087
|
-
*/
|
|
20088
|
-
where: RouteOrdersWhereUniqueInput
|
|
20089
|
-
}
|
|
20090
|
-
|
|
20091
|
-
/**
|
|
20092
|
-
* RouteOrders findUniqueOrThrow
|
|
20093
|
-
*/
|
|
20094
|
-
export type RouteOrdersFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20095
|
-
/**
|
|
20096
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20097
|
-
*/
|
|
20098
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20099
|
-
/**
|
|
20100
|
-
* Omit specific fields from the RouteOrders
|
|
20101
|
-
*/
|
|
20102
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20103
|
-
/**
|
|
20104
|
-
* Choose, which related nodes to fetch as well
|
|
20105
|
-
*/
|
|
20106
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20107
|
-
/**
|
|
20108
|
-
* Filter, which RouteOrders to fetch.
|
|
20109
|
-
*/
|
|
20110
|
-
where: RouteOrdersWhereUniqueInput
|
|
20111
|
-
}
|
|
20112
|
-
|
|
20113
|
-
/**
|
|
20114
|
-
* RouteOrders findFirst
|
|
20115
|
-
*/
|
|
20116
|
-
export type RouteOrdersFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20117
|
-
/**
|
|
20118
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20119
|
-
*/
|
|
20120
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20121
|
-
/**
|
|
20122
|
-
* Omit specific fields from the RouteOrders
|
|
20123
|
-
*/
|
|
20124
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20125
|
-
/**
|
|
20126
|
-
* Choose, which related nodes to fetch as well
|
|
20127
|
-
*/
|
|
20128
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20129
|
-
/**
|
|
20130
|
-
* Filter, which RouteOrders to fetch.
|
|
20131
|
-
*/
|
|
20132
|
-
where?: RouteOrdersWhereInput
|
|
20133
|
-
/**
|
|
20134
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
20135
|
-
*
|
|
20136
|
-
* Determine the order of RouteOrders to fetch.
|
|
20137
|
-
*/
|
|
20138
|
-
orderBy?: RouteOrdersOrderByWithRelationInput | RouteOrdersOrderByWithRelationInput[]
|
|
20139
|
-
/**
|
|
20140
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
20141
|
-
*
|
|
20142
|
-
* Sets the position for searching for RouteOrders.
|
|
20143
|
-
*/
|
|
20144
|
-
cursor?: RouteOrdersWhereUniqueInput
|
|
20145
|
-
/**
|
|
20146
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20147
|
-
*
|
|
20148
|
-
* Take `±n` RouteOrders from the position of the cursor.
|
|
20149
|
-
*/
|
|
20150
|
-
take?: number
|
|
20151
|
-
/**
|
|
20152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20153
|
-
*
|
|
20154
|
-
* Skip the first `n` RouteOrders.
|
|
20155
|
-
*/
|
|
20156
|
-
skip?: number
|
|
20157
|
-
/**
|
|
20158
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
20159
|
-
*
|
|
20160
|
-
* Filter by unique combinations of RouteOrders.
|
|
20161
|
-
*/
|
|
20162
|
-
distinct?: RouteOrdersScalarFieldEnum | RouteOrdersScalarFieldEnum[]
|
|
20163
|
-
}
|
|
20164
|
-
|
|
20165
|
-
/**
|
|
20166
|
-
* RouteOrders findFirstOrThrow
|
|
20167
|
-
*/
|
|
20168
|
-
export type RouteOrdersFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20169
|
-
/**
|
|
20170
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20171
|
-
*/
|
|
20172
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20173
|
-
/**
|
|
20174
|
-
* Omit specific fields from the RouteOrders
|
|
20175
|
-
*/
|
|
20176
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20177
|
-
/**
|
|
20178
|
-
* Choose, which related nodes to fetch as well
|
|
20179
|
-
*/
|
|
20180
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20181
|
-
/**
|
|
20182
|
-
* Filter, which RouteOrders to fetch.
|
|
20183
|
-
*/
|
|
20184
|
-
where?: RouteOrdersWhereInput
|
|
20185
|
-
/**
|
|
20186
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
20187
|
-
*
|
|
20188
|
-
* Determine the order of RouteOrders to fetch.
|
|
20189
|
-
*/
|
|
20190
|
-
orderBy?: RouteOrdersOrderByWithRelationInput | RouteOrdersOrderByWithRelationInput[]
|
|
20191
|
-
/**
|
|
20192
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
20193
|
-
*
|
|
20194
|
-
* Sets the position for searching for RouteOrders.
|
|
20195
|
-
*/
|
|
20196
|
-
cursor?: RouteOrdersWhereUniqueInput
|
|
20197
|
-
/**
|
|
20198
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20199
|
-
*
|
|
20200
|
-
* Take `±n` RouteOrders from the position of the cursor.
|
|
20201
|
-
*/
|
|
20202
|
-
take?: number
|
|
20203
|
-
/**
|
|
20204
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20205
|
-
*
|
|
20206
|
-
* Skip the first `n` RouteOrders.
|
|
20207
|
-
*/
|
|
20208
|
-
skip?: number
|
|
20209
|
-
/**
|
|
20210
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
20211
|
-
*
|
|
20212
|
-
* Filter by unique combinations of RouteOrders.
|
|
20213
|
-
*/
|
|
20214
|
-
distinct?: RouteOrdersScalarFieldEnum | RouteOrdersScalarFieldEnum[]
|
|
20215
|
-
}
|
|
20216
|
-
|
|
20217
|
-
/**
|
|
20218
|
-
* RouteOrders findMany
|
|
20219
|
-
*/
|
|
20220
|
-
export type RouteOrdersFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20221
|
-
/**
|
|
20222
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20223
|
-
*/
|
|
20224
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20225
|
-
/**
|
|
20226
|
-
* Omit specific fields from the RouteOrders
|
|
20227
|
-
*/
|
|
20228
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20229
|
-
/**
|
|
20230
|
-
* Choose, which related nodes to fetch as well
|
|
20231
|
-
*/
|
|
20232
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20233
|
-
/**
|
|
20234
|
-
* Filter, which RouteOrders to fetch.
|
|
20235
|
-
*/
|
|
20236
|
-
where?: RouteOrdersWhereInput
|
|
20237
|
-
/**
|
|
20238
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
20239
|
-
*
|
|
20240
|
-
* Determine the order of RouteOrders to fetch.
|
|
20241
|
-
*/
|
|
20242
|
-
orderBy?: RouteOrdersOrderByWithRelationInput | RouteOrdersOrderByWithRelationInput[]
|
|
20243
|
-
/**
|
|
20244
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
20245
|
-
*
|
|
20246
|
-
* Sets the position for listing RouteOrders.
|
|
20247
|
-
*/
|
|
20248
|
-
cursor?: RouteOrdersWhereUniqueInput
|
|
20249
|
-
/**
|
|
20250
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20251
|
-
*
|
|
20252
|
-
* Take `±n` RouteOrders from the position of the cursor.
|
|
20253
|
-
*/
|
|
20254
|
-
take?: number
|
|
20255
|
-
/**
|
|
20256
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20257
|
-
*
|
|
20258
|
-
* Skip the first `n` RouteOrders.
|
|
20259
|
-
*/
|
|
20260
|
-
skip?: number
|
|
20261
|
-
distinct?: RouteOrdersScalarFieldEnum | RouteOrdersScalarFieldEnum[]
|
|
20262
|
-
}
|
|
20263
|
-
|
|
20264
|
-
/**
|
|
20265
|
-
* RouteOrders create
|
|
20266
|
-
*/
|
|
20267
|
-
export type RouteOrdersCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20268
|
-
/**
|
|
20269
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20270
|
-
*/
|
|
20271
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20272
|
-
/**
|
|
20273
|
-
* Omit specific fields from the RouteOrders
|
|
20274
|
-
*/
|
|
20275
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20276
|
-
/**
|
|
20277
|
-
* Choose, which related nodes to fetch as well
|
|
20278
|
-
*/
|
|
20279
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20280
|
-
/**
|
|
20281
|
-
* The data needed to create a RouteOrders.
|
|
20282
|
-
*/
|
|
20283
|
-
data: XOR<RouteOrdersCreateInput, RouteOrdersUncheckedCreateInput>
|
|
20284
|
-
}
|
|
20285
|
-
|
|
20286
|
-
/**
|
|
20287
|
-
* RouteOrders createMany
|
|
20288
|
-
*/
|
|
20289
|
-
export type RouteOrdersCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20290
|
-
/**
|
|
20291
|
-
* The data used to create many RouteOrders.
|
|
20292
|
-
*/
|
|
20293
|
-
data: RouteOrdersCreateManyInput | RouteOrdersCreateManyInput[]
|
|
20294
|
-
skipDuplicates?: boolean
|
|
20295
|
-
}
|
|
20296
|
-
|
|
20297
|
-
/**
|
|
20298
|
-
* RouteOrders createManyAndReturn
|
|
20299
|
-
*/
|
|
20300
|
-
export type RouteOrdersCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20301
|
-
/**
|
|
20302
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20303
|
-
*/
|
|
20304
|
-
select?: RouteOrdersSelectCreateManyAndReturn<ExtArgs> | null
|
|
20305
|
-
/**
|
|
20306
|
-
* Omit specific fields from the RouteOrders
|
|
20307
|
-
*/
|
|
20308
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20309
|
-
/**
|
|
20310
|
-
* The data used to create many RouteOrders.
|
|
20311
|
-
*/
|
|
20312
|
-
data: RouteOrdersCreateManyInput | RouteOrdersCreateManyInput[]
|
|
20313
|
-
skipDuplicates?: boolean
|
|
20314
|
-
/**
|
|
20315
|
-
* Choose, which related nodes to fetch as well
|
|
20316
|
-
*/
|
|
20317
|
-
include?: RouteOrdersIncludeCreateManyAndReturn<ExtArgs> | null
|
|
20318
|
-
}
|
|
20319
|
-
|
|
20320
|
-
/**
|
|
20321
|
-
* RouteOrders update
|
|
20322
|
-
*/
|
|
20323
|
-
export type RouteOrdersUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20324
|
-
/**
|
|
20325
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20326
|
-
*/
|
|
20327
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20328
|
-
/**
|
|
20329
|
-
* Omit specific fields from the RouteOrders
|
|
20330
|
-
*/
|
|
20331
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20332
|
-
/**
|
|
20333
|
-
* Choose, which related nodes to fetch as well
|
|
20334
|
-
*/
|
|
20335
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20336
|
-
/**
|
|
20337
|
-
* The data needed to update a RouteOrders.
|
|
20338
|
-
*/
|
|
20339
|
-
data: XOR<RouteOrdersUpdateInput, RouteOrdersUncheckedUpdateInput>
|
|
20340
|
-
/**
|
|
20341
|
-
* Choose, which RouteOrders to update.
|
|
20342
|
-
*/
|
|
20343
|
-
where: RouteOrdersWhereUniqueInput
|
|
20344
|
-
}
|
|
20345
|
-
|
|
20346
|
-
/**
|
|
20347
|
-
* RouteOrders updateMany
|
|
20348
|
-
*/
|
|
20349
|
-
export type RouteOrdersUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20350
|
-
/**
|
|
20351
|
-
* The data used to update RouteOrders.
|
|
20352
|
-
*/
|
|
20353
|
-
data: XOR<RouteOrdersUpdateManyMutationInput, RouteOrdersUncheckedUpdateManyInput>
|
|
20354
|
-
/**
|
|
20355
|
-
* Filter which RouteOrders to update
|
|
20356
|
-
*/
|
|
20357
|
-
where?: RouteOrdersWhereInput
|
|
20358
|
-
/**
|
|
20359
|
-
* Limit how many RouteOrders to update.
|
|
20360
|
-
*/
|
|
20361
|
-
limit?: number
|
|
20362
|
-
}
|
|
20363
|
-
|
|
20364
|
-
/**
|
|
20365
|
-
* RouteOrders updateManyAndReturn
|
|
20366
|
-
*/
|
|
20367
|
-
export type RouteOrdersUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20368
|
-
/**
|
|
20369
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20370
|
-
*/
|
|
20371
|
-
select?: RouteOrdersSelectUpdateManyAndReturn<ExtArgs> | null
|
|
20372
|
-
/**
|
|
20373
|
-
* Omit specific fields from the RouteOrders
|
|
20374
|
-
*/
|
|
20375
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20376
|
-
/**
|
|
20377
|
-
* The data used to update RouteOrders.
|
|
20378
|
-
*/
|
|
20379
|
-
data: XOR<RouteOrdersUpdateManyMutationInput, RouteOrdersUncheckedUpdateManyInput>
|
|
20380
|
-
/**
|
|
20381
|
-
* Filter which RouteOrders to update
|
|
20382
|
-
*/
|
|
20383
|
-
where?: RouteOrdersWhereInput
|
|
20384
|
-
/**
|
|
20385
|
-
* Limit how many RouteOrders to update.
|
|
20386
|
-
*/
|
|
20387
|
-
limit?: number
|
|
20388
|
-
/**
|
|
20389
|
-
* Choose, which related nodes to fetch as well
|
|
20390
|
-
*/
|
|
20391
|
-
include?: RouteOrdersIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
20392
|
-
}
|
|
20393
|
-
|
|
20394
|
-
/**
|
|
20395
|
-
* RouteOrders upsert
|
|
20396
|
-
*/
|
|
20397
|
-
export type RouteOrdersUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20398
|
-
/**
|
|
20399
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20400
|
-
*/
|
|
20401
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20402
|
-
/**
|
|
20403
|
-
* Omit specific fields from the RouteOrders
|
|
20404
|
-
*/
|
|
20405
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20406
|
-
/**
|
|
20407
|
-
* Choose, which related nodes to fetch as well
|
|
20408
|
-
*/
|
|
20409
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20410
|
-
/**
|
|
20411
|
-
* The filter to search for the RouteOrders to update in case it exists.
|
|
20412
|
-
*/
|
|
20413
|
-
where: RouteOrdersWhereUniqueInput
|
|
20414
|
-
/**
|
|
20415
|
-
* In case the RouteOrders found by the `where` argument doesn't exist, create a new RouteOrders with this data.
|
|
20416
|
-
*/
|
|
20417
|
-
create: XOR<RouteOrdersCreateInput, RouteOrdersUncheckedCreateInput>
|
|
20418
|
-
/**
|
|
20419
|
-
* In case the RouteOrders was found with the provided `where` argument, update it with this data.
|
|
20420
|
-
*/
|
|
20421
|
-
update: XOR<RouteOrdersUpdateInput, RouteOrdersUncheckedUpdateInput>
|
|
20422
|
-
}
|
|
20423
|
-
|
|
20424
|
-
/**
|
|
20425
|
-
* RouteOrders delete
|
|
20426
|
-
*/
|
|
20427
|
-
export type RouteOrdersDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20428
|
-
/**
|
|
20429
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20430
|
-
*/
|
|
20431
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20432
|
-
/**
|
|
20433
|
-
* Omit specific fields from the RouteOrders
|
|
20434
|
-
*/
|
|
20435
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20436
|
-
/**
|
|
20437
|
-
* Choose, which related nodes to fetch as well
|
|
20438
|
-
*/
|
|
20439
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20440
|
-
/**
|
|
20441
|
-
* Filter which RouteOrders to delete.
|
|
20442
|
-
*/
|
|
20443
|
-
where: RouteOrdersWhereUniqueInput
|
|
20444
|
-
}
|
|
20445
|
-
|
|
20446
|
-
/**
|
|
20447
|
-
* RouteOrders deleteMany
|
|
20448
|
-
*/
|
|
20449
|
-
export type RouteOrdersDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20450
|
-
/**
|
|
20451
|
-
* Filter which RouteOrders to delete
|
|
20452
|
-
*/
|
|
20453
|
-
where?: RouteOrdersWhereInput
|
|
20454
|
-
/**
|
|
20455
|
-
* Limit how many RouteOrders to delete.
|
|
20456
|
-
*/
|
|
20457
|
-
limit?: number
|
|
20458
|
-
}
|
|
20459
|
-
|
|
20460
|
-
/**
|
|
20461
|
-
* RouteOrders without action
|
|
20462
|
-
*/
|
|
20463
|
-
export type RouteOrdersDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20464
|
-
/**
|
|
20465
|
-
* Select specific fields to fetch from the RouteOrders
|
|
20466
|
-
*/
|
|
20467
|
-
select?: RouteOrdersSelect<ExtArgs> | null
|
|
20468
|
-
/**
|
|
20469
|
-
* Omit specific fields from the RouteOrders
|
|
20470
|
-
*/
|
|
20471
|
-
omit?: RouteOrdersOmit<ExtArgs> | null
|
|
20472
|
-
/**
|
|
20473
|
-
* Choose, which related nodes to fetch as well
|
|
20474
|
-
*/
|
|
20475
|
-
include?: RouteOrdersInclude<ExtArgs> | null
|
|
20476
|
-
}
|
|
20477
|
-
|
|
20478
|
-
|
|
20479
|
-
/**
|
|
20480
|
-
* Model Address
|
|
20481
|
-
*/
|
|
20482
|
-
|
|
20483
|
-
export type AggregateAddress = {
|
|
20484
|
-
_count: AddressCountAggregateOutputType | null
|
|
20485
|
-
_avg: AddressAvgAggregateOutputType | null
|
|
20486
|
-
_sum: AddressSumAggregateOutputType | null
|
|
20487
|
-
_min: AddressMinAggregateOutputType | null
|
|
20488
|
-
_max: AddressMaxAggregateOutputType | null
|
|
20489
|
-
}
|
|
20490
|
-
|
|
20491
|
-
export type AddressAvgAggregateOutputType = {
|
|
20492
|
-
sequence: number | null
|
|
20493
|
-
latitude: number | null
|
|
20494
|
-
longitude: number | null
|
|
20495
|
-
}
|
|
20496
|
-
|
|
20497
|
-
export type AddressSumAggregateOutputType = {
|
|
20498
|
-
sequence: number | null
|
|
20499
|
-
latitude: number | null
|
|
20500
|
-
longitude: number | null
|
|
20501
|
-
}
|
|
20502
|
-
|
|
20503
|
-
export type AddressMinAggregateOutputType = {
|
|
20504
|
-
id: string | null
|
|
20505
|
-
address_type: $Enums.AddressType | null
|
|
20506
|
-
sequence: number | null
|
|
20507
|
-
title: string | null
|
|
20508
|
-
address_line1: string | null
|
|
20509
|
-
address_line2: string | null
|
|
20510
|
-
apartment: string | null
|
|
20511
|
-
city: string | null
|
|
20512
|
-
state: string | null
|
|
20513
|
-
postal_code: string | null
|
|
20514
|
-
country: string | null
|
|
20515
|
-
latitude: number | null
|
|
20516
|
-
longitude: number | null
|
|
20517
|
-
route_id: string | null
|
|
20518
|
-
created_at: Date | null
|
|
20519
|
-
updated_at: Date | null
|
|
20520
|
-
}
|
|
20521
|
-
|
|
20522
|
-
export type AddressMaxAggregateOutputType = {
|
|
20523
|
-
id: string | null
|
|
20524
|
-
address_type: $Enums.AddressType | null
|
|
20525
|
-
sequence: number | null
|
|
20526
|
-
title: string | null
|
|
20527
|
-
address_line1: string | null
|
|
20528
|
-
address_line2: string | null
|
|
20529
|
-
apartment: string | null
|
|
20530
|
-
city: string | null
|
|
20531
|
-
state: string | null
|
|
20532
|
-
postal_code: string | null
|
|
20533
|
-
country: string | null
|
|
20534
|
-
latitude: number | null
|
|
20535
|
-
longitude: number | null
|
|
20536
|
-
route_id: string | null
|
|
20537
|
-
created_at: Date | null
|
|
20538
|
-
updated_at: Date | null
|
|
20539
|
-
}
|
|
20540
|
-
|
|
20541
|
-
export type AddressCountAggregateOutputType = {
|
|
20542
|
-
id: number
|
|
20543
|
-
address_type: number
|
|
20544
|
-
sequence: number
|
|
20545
|
-
title: number
|
|
20546
|
-
address_line1: number
|
|
20547
|
-
address_line2: number
|
|
20548
|
-
apartment: number
|
|
20549
|
-
city: number
|
|
20550
|
-
state: number
|
|
20551
|
-
postal_code: number
|
|
20552
|
-
country: number
|
|
20553
|
-
latitude: number
|
|
20554
|
-
longitude: number
|
|
20555
|
-
google_address: number
|
|
20556
|
-
route_id: number
|
|
20557
|
-
created_at: number
|
|
20558
|
-
updated_at: number
|
|
20559
|
-
_all: number
|
|
20560
|
-
}
|
|
20561
|
-
|
|
20562
|
-
|
|
20563
|
-
export type AddressAvgAggregateInputType = {
|
|
20564
|
-
sequence?: true
|
|
20565
|
-
latitude?: true
|
|
20566
|
-
longitude?: true
|
|
20567
|
-
}
|
|
20568
|
-
|
|
20569
|
-
export type AddressSumAggregateInputType = {
|
|
20570
|
-
sequence?: true
|
|
20571
|
-
latitude?: true
|
|
20572
|
-
longitude?: true
|
|
20573
|
-
}
|
|
20574
|
-
|
|
20575
|
-
export type AddressMinAggregateInputType = {
|
|
20576
|
-
id?: true
|
|
20577
|
-
address_type?: true
|
|
20578
|
-
sequence?: true
|
|
20579
|
-
title?: true
|
|
20580
|
-
address_line1?: true
|
|
20581
|
-
address_line2?: true
|
|
20582
|
-
apartment?: true
|
|
20583
|
-
city?: true
|
|
20584
|
-
state?: true
|
|
20585
|
-
postal_code?: true
|
|
20586
|
-
country?: true
|
|
20587
|
-
latitude?: true
|
|
20588
|
-
longitude?: true
|
|
20589
|
-
route_id?: true
|
|
20590
|
-
created_at?: true
|
|
20591
|
-
updated_at?: true
|
|
20592
|
-
}
|
|
20593
|
-
|
|
20594
|
-
export type AddressMaxAggregateInputType = {
|
|
20595
|
-
id?: true
|
|
20596
|
-
address_type?: true
|
|
20597
|
-
sequence?: true
|
|
20598
|
-
title?: true
|
|
20599
|
-
address_line1?: true
|
|
20600
|
-
address_line2?: true
|
|
20601
|
-
apartment?: true
|
|
20602
|
-
city?: true
|
|
20603
|
-
state?: true
|
|
20604
|
-
postal_code?: true
|
|
20605
|
-
country?: true
|
|
20606
|
-
latitude?: true
|
|
20607
|
-
longitude?: true
|
|
20608
|
-
route_id?: true
|
|
20609
|
-
created_at?: true
|
|
20610
|
-
updated_at?: true
|
|
20611
|
-
}
|
|
20612
|
-
|
|
20613
|
-
export type AddressCountAggregateInputType = {
|
|
20614
|
-
id?: true
|
|
20615
|
-
address_type?: true
|
|
20616
|
-
sequence?: true
|
|
20617
|
-
title?: true
|
|
20618
|
-
address_line1?: true
|
|
20619
|
-
address_line2?: true
|
|
20620
|
-
apartment?: true
|
|
20621
|
-
city?: true
|
|
20622
|
-
state?: true
|
|
20623
|
-
postal_code?: true
|
|
20624
|
-
country?: true
|
|
20625
|
-
latitude?: true
|
|
20626
|
-
longitude?: true
|
|
20627
|
-
google_address?: true
|
|
20628
|
-
route_id?: true
|
|
20629
|
-
created_at?: true
|
|
20630
|
-
updated_at?: true
|
|
20631
|
-
_all?: true
|
|
20632
|
-
}
|
|
20633
|
-
|
|
20634
|
-
export type AddressAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
20635
|
-
/**
|
|
20636
|
-
* Filter which Address to aggregate.
|
|
20637
|
-
*/
|
|
20638
|
-
where?: AddressWhereInput
|
|
20639
|
-
/**
|
|
20640
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
20641
|
-
*
|
|
20642
|
-
* Determine the order of Addresses to fetch.
|
|
20643
|
-
*/
|
|
20644
|
-
orderBy?: AddressOrderByWithRelationInput | AddressOrderByWithRelationInput[]
|
|
20645
|
-
/**
|
|
20646
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
20647
|
-
*
|
|
20648
|
-
* Sets the start position
|
|
20649
|
-
*/
|
|
20650
|
-
cursor?: AddressWhereUniqueInput
|
|
20651
|
-
/**
|
|
20652
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20653
|
-
*
|
|
20654
|
-
* Take `±n` Addresses from the position of the cursor.
|
|
20655
|
-
*/
|
|
20656
|
-
take?: number
|
|
20657
|
-
/**
|
|
20658
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
20659
|
-
*
|
|
20660
|
-
* Skip the first `n` Addresses.
|
|
20661
|
-
*/
|
|
20662
|
-
skip?: number
|
|
20663
|
-
/**
|
|
20664
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
20665
|
-
*
|
|
20666
|
-
* Count returned Addresses
|
|
20667
|
-
**/
|
|
20668
|
-
_count?: true | AddressCountAggregateInputType
|
|
20669
|
-
/**
|
|
20670
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
20671
|
-
*
|
|
20672
|
-
* Select which fields to average
|
|
20673
|
-
**/
|
|
20674
|
-
_avg?: AddressAvgAggregateInputType
|
|
20675
|
-
/**
|
|
20676
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
20677
|
-
*
|
|
20678
|
-
* Select which fields to sum
|
|
20679
|
-
**/
|
|
20680
|
-
_sum?: AddressSumAggregateInputType
|
|
20681
|
-
/**
|
|
20682
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
20683
|
-
*
|
|
20684
|
-
* Select which fields to find the minimum value
|
|
20685
|
-
**/
|
|
20686
|
-
_min?: AddressMinAggregateInputType
|
|
20687
|
-
/**
|
|
20688
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
20689
|
-
*
|
|
20690
|
-
* Select which fields to find the maximum value
|
|
20691
|
-
**/
|
|
20692
|
-
_max?: AddressMaxAggregateInputType
|
|
19512
|
+
_max?: AddressMaxAggregateInputType
|
|
20693
19513
|
}
|
|
20694
19514
|
|
|
20695
19515
|
export type GetAddressAggregateType<T extends AddressAggregateArgs> = {
|
|
@@ -23053,12 +21873,12 @@ export namespace Prisma {
|
|
|
23053
21873
|
|
|
23054
21874
|
export const RouteScalarFieldEnum: {
|
|
23055
21875
|
id: 'id',
|
|
21876
|
+
order_id: 'order_id',
|
|
23056
21877
|
driver_id: 'driver_id',
|
|
23057
21878
|
vehicle_id: 'vehicle_id',
|
|
23058
21879
|
status: 'status',
|
|
23059
21880
|
started_at: 'started_at',
|
|
23060
21881
|
completed_at: 'completed_at',
|
|
23061
|
-
type_of_route: 'type_of_route',
|
|
23062
21882
|
created_at: 'created_at',
|
|
23063
21883
|
updated_at: 'updated_at'
|
|
23064
21884
|
};
|
|
@@ -23077,17 +21897,6 @@ export namespace Prisma {
|
|
|
23077
21897
|
export type RouteHandlingUnitScalarFieldEnum = (typeof RouteHandlingUnitScalarFieldEnum)[keyof typeof RouteHandlingUnitScalarFieldEnum]
|
|
23078
21898
|
|
|
23079
21899
|
|
|
23080
|
-
export const RouteOrdersScalarFieldEnum: {
|
|
23081
|
-
id: 'id',
|
|
23082
|
-
route_id: 'route_id',
|
|
23083
|
-
order_id: 'order_id',
|
|
23084
|
-
created_at: 'created_at',
|
|
23085
|
-
updated_at: 'updated_at'
|
|
23086
|
-
};
|
|
23087
|
-
|
|
23088
|
-
export type RouteOrdersScalarFieldEnum = (typeof RouteOrdersScalarFieldEnum)[keyof typeof RouteOrdersScalarFieldEnum]
|
|
23089
|
-
|
|
23090
|
-
|
|
23091
21900
|
export const AddressScalarFieldEnum: {
|
|
23092
21901
|
id: 'id',
|
|
23093
21902
|
address_type: 'address_type',
|
|
@@ -23355,20 +22164,6 @@ export namespace Prisma {
|
|
|
23355
22164
|
*/
|
|
23356
22165
|
export type ListEnumVehicleSizeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'VehicleSize[]'>
|
|
23357
22166
|
|
|
23358
|
-
|
|
23359
|
-
|
|
23360
|
-
/**
|
|
23361
|
-
* Reference to a field of type 'TypeOfRoutes'
|
|
23362
|
-
*/
|
|
23363
|
-
export type EnumTypeOfRoutesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TypeOfRoutes'>
|
|
23364
|
-
|
|
23365
|
-
|
|
23366
|
-
|
|
23367
|
-
/**
|
|
23368
|
-
* Reference to a field of type 'TypeOfRoutes[]'
|
|
23369
|
-
*/
|
|
23370
|
-
export type ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TypeOfRoutes[]'>
|
|
23371
|
-
|
|
23372
22167
|
/**
|
|
23373
22168
|
* Deep Input Types
|
|
23374
22169
|
*/
|
|
@@ -23661,7 +22456,7 @@ export namespace Prisma {
|
|
|
23661
22456
|
updated_at?: DateTimeFilter<"Order"> | Date | string
|
|
23662
22457
|
shipper?: XOR<ClientNullableScalarRelationFilter, ClientWhereInput> | null
|
|
23663
22458
|
handling_units?: HandlingUnitListRelationFilter
|
|
23664
|
-
|
|
22459
|
+
routes?: RouteListRelationFilter
|
|
23665
22460
|
}
|
|
23666
22461
|
|
|
23667
22462
|
export type OrderOrderByWithRelationInput = {
|
|
@@ -23674,7 +22469,7 @@ export namespace Prisma {
|
|
|
23674
22469
|
updated_at?: SortOrder
|
|
23675
22470
|
shipper?: ClientOrderByWithRelationInput
|
|
23676
22471
|
handling_units?: HandlingUnitOrderByRelationAggregateInput
|
|
23677
|
-
|
|
22472
|
+
routes?: RouteOrderByRelationAggregateInput
|
|
23678
22473
|
}
|
|
23679
22474
|
|
|
23680
22475
|
export type OrderWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -23690,7 +22485,7 @@ export namespace Prisma {
|
|
|
23690
22485
|
updated_at?: DateTimeFilter<"Order"> | Date | string
|
|
23691
22486
|
shipper?: XOR<ClientNullableScalarRelationFilter, ClientWhereInput> | null
|
|
23692
22487
|
handling_units?: HandlingUnitListRelationFilter
|
|
23693
|
-
|
|
22488
|
+
routes?: RouteListRelationFilter
|
|
23694
22489
|
}, "id">
|
|
23695
22490
|
|
|
23696
22491
|
export type OrderOrderByWithAggregationInput = {
|
|
@@ -24414,35 +23209,35 @@ export namespace Prisma {
|
|
|
24414
23209
|
OR?: RouteWhereInput[]
|
|
24415
23210
|
NOT?: RouteWhereInput | RouteWhereInput[]
|
|
24416
23211
|
id?: UuidFilter<"Route"> | string
|
|
23212
|
+
order_id?: UuidNullableFilter<"Route"> | string | null
|
|
24417
23213
|
driver_id?: UuidNullableFilter<"Route"> | string | null
|
|
24418
23214
|
vehicle_id?: UuidNullableFilter<"Route"> | string | null
|
|
24419
23215
|
status?: EnumRouteStatusFilter<"Route"> | $Enums.RouteStatus
|
|
24420
23216
|
started_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
24421
23217
|
completed_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
24422
|
-
type_of_route?: EnumTypeOfRoutesNullableFilter<"Route"> | $Enums.TypeOfRoutes | null
|
|
24423
23218
|
created_at?: DateTimeFilter<"Route"> | Date | string
|
|
24424
23219
|
updated_at?: DateTimeFilter<"Route"> | Date | string
|
|
23220
|
+
order?: XOR<OrderNullableScalarRelationFilter, OrderWhereInput> | null
|
|
24425
23221
|
driver?: XOR<UserNullableScalarRelationFilter, UserWhereInput> | null
|
|
24426
23222
|
vehicle?: XOR<VehicleNullableScalarRelationFilter, VehicleWhereInput> | null
|
|
24427
23223
|
route_handling_units?: RouteHandlingUnitListRelationFilter
|
|
24428
|
-
route_orders?: RouteOrdersListRelationFilter
|
|
24429
23224
|
addresses?: AddressListRelationFilter
|
|
24430
23225
|
}
|
|
24431
23226
|
|
|
24432
23227
|
export type RouteOrderByWithRelationInput = {
|
|
24433
23228
|
id?: SortOrder
|
|
23229
|
+
order_id?: SortOrderInput | SortOrder
|
|
24434
23230
|
driver_id?: SortOrderInput | SortOrder
|
|
24435
23231
|
vehicle_id?: SortOrderInput | SortOrder
|
|
24436
23232
|
status?: SortOrder
|
|
24437
23233
|
started_at?: SortOrderInput | SortOrder
|
|
24438
23234
|
completed_at?: SortOrderInput | SortOrder
|
|
24439
|
-
type_of_route?: SortOrderInput | SortOrder
|
|
24440
23235
|
created_at?: SortOrder
|
|
24441
23236
|
updated_at?: SortOrder
|
|
23237
|
+
order?: OrderOrderByWithRelationInput
|
|
24442
23238
|
driver?: UserOrderByWithRelationInput
|
|
24443
23239
|
vehicle?: VehicleOrderByWithRelationInput
|
|
24444
23240
|
route_handling_units?: RouteHandlingUnitOrderByRelationAggregateInput
|
|
24445
|
-
route_orders?: RouteOrdersOrderByRelationAggregateInput
|
|
24446
23241
|
addresses?: AddressOrderByRelationAggregateInput
|
|
24447
23242
|
}
|
|
24448
23243
|
|
|
@@ -24451,29 +23246,29 @@ export namespace Prisma {
|
|
|
24451
23246
|
AND?: RouteWhereInput | RouteWhereInput[]
|
|
24452
23247
|
OR?: RouteWhereInput[]
|
|
24453
23248
|
NOT?: RouteWhereInput | RouteWhereInput[]
|
|
23249
|
+
order_id?: UuidNullableFilter<"Route"> | string | null
|
|
24454
23250
|
driver_id?: UuidNullableFilter<"Route"> | string | null
|
|
24455
23251
|
vehicle_id?: UuidNullableFilter<"Route"> | string | null
|
|
24456
23252
|
status?: EnumRouteStatusFilter<"Route"> | $Enums.RouteStatus
|
|
24457
23253
|
started_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
24458
23254
|
completed_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
24459
|
-
type_of_route?: EnumTypeOfRoutesNullableFilter<"Route"> | $Enums.TypeOfRoutes | null
|
|
24460
23255
|
created_at?: DateTimeFilter<"Route"> | Date | string
|
|
24461
23256
|
updated_at?: DateTimeFilter<"Route"> | Date | string
|
|
23257
|
+
order?: XOR<OrderNullableScalarRelationFilter, OrderWhereInput> | null
|
|
24462
23258
|
driver?: XOR<UserNullableScalarRelationFilter, UserWhereInput> | null
|
|
24463
23259
|
vehicle?: XOR<VehicleNullableScalarRelationFilter, VehicleWhereInput> | null
|
|
24464
23260
|
route_handling_units?: RouteHandlingUnitListRelationFilter
|
|
24465
|
-
route_orders?: RouteOrdersListRelationFilter
|
|
24466
23261
|
addresses?: AddressListRelationFilter
|
|
24467
23262
|
}, "id">
|
|
24468
23263
|
|
|
24469
23264
|
export type RouteOrderByWithAggregationInput = {
|
|
24470
23265
|
id?: SortOrder
|
|
23266
|
+
order_id?: SortOrderInput | SortOrder
|
|
24471
23267
|
driver_id?: SortOrderInput | SortOrder
|
|
24472
23268
|
vehicle_id?: SortOrderInput | SortOrder
|
|
24473
23269
|
status?: SortOrder
|
|
24474
23270
|
started_at?: SortOrderInput | SortOrder
|
|
24475
23271
|
completed_at?: SortOrderInput | SortOrder
|
|
24476
|
-
type_of_route?: SortOrderInput | SortOrder
|
|
24477
23272
|
created_at?: SortOrder
|
|
24478
23273
|
updated_at?: SortOrder
|
|
24479
23274
|
_count?: RouteCountOrderByAggregateInput
|
|
@@ -24486,12 +23281,12 @@ export namespace Prisma {
|
|
|
24486
23281
|
OR?: RouteScalarWhereWithAggregatesInput[]
|
|
24487
23282
|
NOT?: RouteScalarWhereWithAggregatesInput | RouteScalarWhereWithAggregatesInput[]
|
|
24488
23283
|
id?: UuidWithAggregatesFilter<"Route"> | string
|
|
23284
|
+
order_id?: UuidNullableWithAggregatesFilter<"Route"> | string | null
|
|
24489
23285
|
driver_id?: UuidNullableWithAggregatesFilter<"Route"> | string | null
|
|
24490
23286
|
vehicle_id?: UuidNullableWithAggregatesFilter<"Route"> | string | null
|
|
24491
23287
|
status?: EnumRouteStatusWithAggregatesFilter<"Route"> | $Enums.RouteStatus
|
|
24492
23288
|
started_at?: DateTimeNullableWithAggregatesFilter<"Route"> | Date | string | null
|
|
24493
23289
|
completed_at?: DateTimeNullableWithAggregatesFilter<"Route"> | Date | string | null
|
|
24494
|
-
type_of_route?: EnumTypeOfRoutesNullableWithAggregatesFilter<"Route"> | $Enums.TypeOfRoutes | null
|
|
24495
23290
|
created_at?: DateTimeWithAggregatesFilter<"Route"> | Date | string
|
|
24496
23291
|
updated_at?: DateTimeWithAggregatesFilter<"Route"> | Date | string
|
|
24497
23292
|
}
|
|
@@ -24554,64 +23349,6 @@ export namespace Prisma {
|
|
|
24554
23349
|
updated_at?: DateTimeWithAggregatesFilter<"RouteHandlingUnit"> | Date | string
|
|
24555
23350
|
}
|
|
24556
23351
|
|
|
24557
|
-
export type RouteOrdersWhereInput = {
|
|
24558
|
-
AND?: RouteOrdersWhereInput | RouteOrdersWhereInput[]
|
|
24559
|
-
OR?: RouteOrdersWhereInput[]
|
|
24560
|
-
NOT?: RouteOrdersWhereInput | RouteOrdersWhereInput[]
|
|
24561
|
-
id?: UuidFilter<"RouteOrders"> | string
|
|
24562
|
-
route_id?: UuidFilter<"RouteOrders"> | string
|
|
24563
|
-
order_id?: UuidFilter<"RouteOrders"> | string
|
|
24564
|
-
created_at?: DateTimeFilter<"RouteOrders"> | Date | string
|
|
24565
|
-
updated_at?: DateTimeFilter<"RouteOrders"> | Date | string
|
|
24566
|
-
route?: XOR<RouteScalarRelationFilter, RouteWhereInput>
|
|
24567
|
-
order?: XOR<OrderScalarRelationFilter, OrderWhereInput>
|
|
24568
|
-
}
|
|
24569
|
-
|
|
24570
|
-
export type RouteOrdersOrderByWithRelationInput = {
|
|
24571
|
-
id?: SortOrder
|
|
24572
|
-
route_id?: SortOrder
|
|
24573
|
-
order_id?: SortOrder
|
|
24574
|
-
created_at?: SortOrder
|
|
24575
|
-
updated_at?: SortOrder
|
|
24576
|
-
route?: RouteOrderByWithRelationInput
|
|
24577
|
-
order?: OrderOrderByWithRelationInput
|
|
24578
|
-
}
|
|
24579
|
-
|
|
24580
|
-
export type RouteOrdersWhereUniqueInput = Prisma.AtLeast<{
|
|
24581
|
-
id?: string
|
|
24582
|
-
AND?: RouteOrdersWhereInput | RouteOrdersWhereInput[]
|
|
24583
|
-
OR?: RouteOrdersWhereInput[]
|
|
24584
|
-
NOT?: RouteOrdersWhereInput | RouteOrdersWhereInput[]
|
|
24585
|
-
route_id?: UuidFilter<"RouteOrders"> | string
|
|
24586
|
-
order_id?: UuidFilter<"RouteOrders"> | string
|
|
24587
|
-
created_at?: DateTimeFilter<"RouteOrders"> | Date | string
|
|
24588
|
-
updated_at?: DateTimeFilter<"RouteOrders"> | Date | string
|
|
24589
|
-
route?: XOR<RouteScalarRelationFilter, RouteWhereInput>
|
|
24590
|
-
order?: XOR<OrderScalarRelationFilter, OrderWhereInput>
|
|
24591
|
-
}, "id">
|
|
24592
|
-
|
|
24593
|
-
export type RouteOrdersOrderByWithAggregationInput = {
|
|
24594
|
-
id?: SortOrder
|
|
24595
|
-
route_id?: SortOrder
|
|
24596
|
-
order_id?: SortOrder
|
|
24597
|
-
created_at?: SortOrder
|
|
24598
|
-
updated_at?: SortOrder
|
|
24599
|
-
_count?: RouteOrdersCountOrderByAggregateInput
|
|
24600
|
-
_max?: RouteOrdersMaxOrderByAggregateInput
|
|
24601
|
-
_min?: RouteOrdersMinOrderByAggregateInput
|
|
24602
|
-
}
|
|
24603
|
-
|
|
24604
|
-
export type RouteOrdersScalarWhereWithAggregatesInput = {
|
|
24605
|
-
AND?: RouteOrdersScalarWhereWithAggregatesInput | RouteOrdersScalarWhereWithAggregatesInput[]
|
|
24606
|
-
OR?: RouteOrdersScalarWhereWithAggregatesInput[]
|
|
24607
|
-
NOT?: RouteOrdersScalarWhereWithAggregatesInput | RouteOrdersScalarWhereWithAggregatesInput[]
|
|
24608
|
-
id?: UuidWithAggregatesFilter<"RouteOrders"> | string
|
|
24609
|
-
route_id?: UuidWithAggregatesFilter<"RouteOrders"> | string
|
|
24610
|
-
order_id?: UuidWithAggregatesFilter<"RouteOrders"> | string
|
|
24611
|
-
created_at?: DateTimeWithAggregatesFilter<"RouteOrders"> | Date | string
|
|
24612
|
-
updated_at?: DateTimeWithAggregatesFilter<"RouteOrders"> | Date | string
|
|
24613
|
-
}
|
|
24614
|
-
|
|
24615
23352
|
export type AddressWhereInput = {
|
|
24616
23353
|
AND?: AddressWhereInput | AddressWhereInput[]
|
|
24617
23354
|
OR?: AddressWhereInput[]
|
|
@@ -25113,7 +23850,7 @@ export namespace Prisma {
|
|
|
25113
23850
|
updated_at?: Date | string
|
|
25114
23851
|
shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
|
|
25115
23852
|
handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
|
|
25116
|
-
|
|
23853
|
+
routes?: RouteCreateNestedManyWithoutOrderInput
|
|
25117
23854
|
}
|
|
25118
23855
|
|
|
25119
23856
|
export type OrderUncheckedCreateInput = {
|
|
@@ -25125,7 +23862,7 @@ export namespace Prisma {
|
|
|
25125
23862
|
created_at?: Date | string
|
|
25126
23863
|
updated_at?: Date | string
|
|
25127
23864
|
handling_units?: HandlingUnitUncheckedCreateNestedManyWithoutOrderInput
|
|
25128
|
-
|
|
23865
|
+
routes?: RouteUncheckedCreateNestedManyWithoutOrderInput
|
|
25129
23866
|
}
|
|
25130
23867
|
|
|
25131
23868
|
export type OrderUpdateInput = {
|
|
@@ -25137,7 +23874,7 @@ export namespace Prisma {
|
|
|
25137
23874
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
25138
23875
|
shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
|
|
25139
23876
|
handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
|
|
25140
|
-
|
|
23877
|
+
routes?: RouteUpdateManyWithoutOrderNestedInput
|
|
25141
23878
|
}
|
|
25142
23879
|
|
|
25143
23880
|
export type OrderUncheckedUpdateInput = {
|
|
@@ -25149,7 +23886,7 @@ export namespace Prisma {
|
|
|
25149
23886
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
25150
23887
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
25151
23888
|
handling_units?: HandlingUnitUncheckedUpdateManyWithoutOrderNestedInput
|
|
25152
|
-
|
|
23889
|
+
routes?: RouteUncheckedUpdateManyWithoutOrderNestedInput
|
|
25153
23890
|
}
|
|
25154
23891
|
|
|
25155
23892
|
export type OrderCreateManyInput = {
|
|
@@ -25960,28 +24697,26 @@ export namespace Prisma {
|
|
|
25960
24697
|
status?: $Enums.RouteStatus
|
|
25961
24698
|
started_at?: Date | string | null
|
|
25962
24699
|
completed_at?: Date | string | null
|
|
25963
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
25964
24700
|
created_at?: Date | string
|
|
25965
24701
|
updated_at?: Date | string
|
|
24702
|
+
order?: OrderCreateNestedOneWithoutRoutesInput
|
|
25966
24703
|
driver?: UserCreateNestedOneWithoutRoutesInput
|
|
25967
24704
|
vehicle?: VehicleCreateNestedOneWithoutRoutesInput
|
|
25968
24705
|
route_handling_units?: RouteHandlingUnitCreateNestedManyWithoutRouteInput
|
|
25969
|
-
route_orders?: RouteOrdersCreateNestedManyWithoutRouteInput
|
|
25970
24706
|
addresses?: AddressCreateNestedManyWithoutRouteInput
|
|
25971
24707
|
}
|
|
25972
24708
|
|
|
25973
24709
|
export type RouteUncheckedCreateInput = {
|
|
25974
24710
|
id?: string
|
|
24711
|
+
order_id?: string | null
|
|
25975
24712
|
driver_id?: string | null
|
|
25976
24713
|
vehicle_id?: string | null
|
|
25977
24714
|
status?: $Enums.RouteStatus
|
|
25978
24715
|
started_at?: Date | string | null
|
|
25979
24716
|
completed_at?: Date | string | null
|
|
25980
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
25981
24717
|
created_at?: Date | string
|
|
25982
24718
|
updated_at?: Date | string
|
|
25983
24719
|
route_handling_units?: RouteHandlingUnitUncheckedCreateNestedManyWithoutRouteInput
|
|
25984
|
-
route_orders?: RouteOrdersUncheckedCreateNestedManyWithoutRouteInput
|
|
25985
24720
|
addresses?: AddressUncheckedCreateNestedManyWithoutRouteInput
|
|
25986
24721
|
}
|
|
25987
24722
|
|
|
@@ -25990,39 +24725,37 @@ export namespace Prisma {
|
|
|
25990
24725
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
25991
24726
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
25992
24727
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
25993
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
25994
24728
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
25995
24729
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
24730
|
+
order?: OrderUpdateOneWithoutRoutesNestedInput
|
|
25996
24731
|
driver?: UserUpdateOneWithoutRoutesNestedInput
|
|
25997
24732
|
vehicle?: VehicleUpdateOneWithoutRoutesNestedInput
|
|
25998
24733
|
route_handling_units?: RouteHandlingUnitUpdateManyWithoutRouteNestedInput
|
|
25999
|
-
route_orders?: RouteOrdersUpdateManyWithoutRouteNestedInput
|
|
26000
24734
|
addresses?: AddressUpdateManyWithoutRouteNestedInput
|
|
26001
24735
|
}
|
|
26002
24736
|
|
|
26003
24737
|
export type RouteUncheckedUpdateInput = {
|
|
26004
24738
|
id?: StringFieldUpdateOperationsInput | string
|
|
24739
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
26005
24740
|
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
26006
24741
|
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
26007
24742
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
26008
24743
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
26009
24744
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
26010
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
26011
24745
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26012
24746
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26013
24747
|
route_handling_units?: RouteHandlingUnitUncheckedUpdateManyWithoutRouteNestedInput
|
|
26014
|
-
route_orders?: RouteOrdersUncheckedUpdateManyWithoutRouteNestedInput
|
|
26015
24748
|
addresses?: AddressUncheckedUpdateManyWithoutRouteNestedInput
|
|
26016
24749
|
}
|
|
26017
24750
|
|
|
26018
24751
|
export type RouteCreateManyInput = {
|
|
26019
24752
|
id?: string
|
|
24753
|
+
order_id?: string | null
|
|
26020
24754
|
driver_id?: string | null
|
|
26021
24755
|
vehicle_id?: string | null
|
|
26022
24756
|
status?: $Enums.RouteStatus
|
|
26023
24757
|
started_at?: Date | string | null
|
|
26024
24758
|
completed_at?: Date | string | null
|
|
26025
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
26026
24759
|
created_at?: Date | string
|
|
26027
24760
|
updated_at?: Date | string
|
|
26028
24761
|
}
|
|
@@ -26032,19 +24765,18 @@ export namespace Prisma {
|
|
|
26032
24765
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
26033
24766
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
26034
24767
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
26035
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
26036
24768
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26037
24769
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26038
24770
|
}
|
|
26039
24771
|
|
|
26040
24772
|
export type RouteUncheckedUpdateManyInput = {
|
|
26041
24773
|
id?: StringFieldUpdateOperationsInput | string
|
|
24774
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
26042
24775
|
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
26043
24776
|
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
26044
24777
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
26045
24778
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
26046
24779
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
26047
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
26048
24780
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26049
24781
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26050
24782
|
}
|
|
@@ -26103,60 +24835,6 @@ export namespace Prisma {
|
|
|
26103
24835
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26104
24836
|
}
|
|
26105
24837
|
|
|
26106
|
-
export type RouteOrdersCreateInput = {
|
|
26107
|
-
id?: string
|
|
26108
|
-
created_at?: Date | string
|
|
26109
|
-
updated_at?: Date | string
|
|
26110
|
-
route: RouteCreateNestedOneWithoutRoute_ordersInput
|
|
26111
|
-
order: OrderCreateNestedOneWithoutRoute_ordersInput
|
|
26112
|
-
}
|
|
26113
|
-
|
|
26114
|
-
export type RouteOrdersUncheckedCreateInput = {
|
|
26115
|
-
id?: string
|
|
26116
|
-
route_id: string
|
|
26117
|
-
order_id: string
|
|
26118
|
-
created_at?: Date | string
|
|
26119
|
-
updated_at?: Date | string
|
|
26120
|
-
}
|
|
26121
|
-
|
|
26122
|
-
export type RouteOrdersUpdateInput = {
|
|
26123
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
26124
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26125
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26126
|
-
route?: RouteUpdateOneRequiredWithoutRoute_ordersNestedInput
|
|
26127
|
-
order?: OrderUpdateOneRequiredWithoutRoute_ordersNestedInput
|
|
26128
|
-
}
|
|
26129
|
-
|
|
26130
|
-
export type RouteOrdersUncheckedUpdateInput = {
|
|
26131
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
26132
|
-
route_id?: StringFieldUpdateOperationsInput | string
|
|
26133
|
-
order_id?: StringFieldUpdateOperationsInput | string
|
|
26134
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26135
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26136
|
-
}
|
|
26137
|
-
|
|
26138
|
-
export type RouteOrdersCreateManyInput = {
|
|
26139
|
-
id?: string
|
|
26140
|
-
route_id: string
|
|
26141
|
-
order_id: string
|
|
26142
|
-
created_at?: Date | string
|
|
26143
|
-
updated_at?: Date | string
|
|
26144
|
-
}
|
|
26145
|
-
|
|
26146
|
-
export type RouteOrdersUpdateManyMutationInput = {
|
|
26147
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
26148
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26149
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26150
|
-
}
|
|
26151
|
-
|
|
26152
|
-
export type RouteOrdersUncheckedUpdateManyInput = {
|
|
26153
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
26154
|
-
route_id?: StringFieldUpdateOperationsInput | string
|
|
26155
|
-
order_id?: StringFieldUpdateOperationsInput | string
|
|
26156
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26157
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
26158
|
-
}
|
|
26159
|
-
|
|
26160
24838
|
export type AddressCreateInput = {
|
|
26161
24839
|
id?: string
|
|
26162
24840
|
address_type?: $Enums.AddressType
|
|
@@ -26785,13 +25463,13 @@ export namespace Prisma {
|
|
|
26785
25463
|
isNot?: ClientWhereInput | null
|
|
26786
25464
|
}
|
|
26787
25465
|
|
|
26788
|
-
export type
|
|
26789
|
-
every?:
|
|
26790
|
-
some?:
|
|
26791
|
-
none?:
|
|
25466
|
+
export type RouteListRelationFilter = {
|
|
25467
|
+
every?: RouteWhereInput
|
|
25468
|
+
some?: RouteWhereInput
|
|
25469
|
+
none?: RouteWhereInput
|
|
26792
25470
|
}
|
|
26793
25471
|
|
|
26794
|
-
export type
|
|
25472
|
+
export type RouteOrderByRelationAggregateInput = {
|
|
26795
25473
|
_count?: SortOrder
|
|
26796
25474
|
}
|
|
26797
25475
|
|
|
@@ -27132,22 +25810,12 @@ export namespace Prisma {
|
|
|
27132
25810
|
not?: NestedEnumRolesFilter<$PrismaModel> | $Enums.Roles
|
|
27133
25811
|
}
|
|
27134
25812
|
|
|
27135
|
-
export type RouteListRelationFilter = {
|
|
27136
|
-
every?: RouteWhereInput
|
|
27137
|
-
some?: RouteWhereInput
|
|
27138
|
-
none?: RouteWhereInput
|
|
27139
|
-
}
|
|
27140
|
-
|
|
27141
25813
|
export type SessionListRelationFilter = {
|
|
27142
25814
|
every?: SessionWhereInput
|
|
27143
25815
|
some?: SessionWhereInput
|
|
27144
25816
|
none?: SessionWhereInput
|
|
27145
25817
|
}
|
|
27146
25818
|
|
|
27147
|
-
export type RouteOrderByRelationAggregateInput = {
|
|
27148
|
-
_count?: SortOrder
|
|
27149
|
-
}
|
|
27150
|
-
|
|
27151
25819
|
export type SessionOrderByRelationAggregateInput = {
|
|
27152
25820
|
_count?: SortOrder
|
|
27153
25821
|
}
|
|
@@ -27491,11 +26159,9 @@ export namespace Prisma {
|
|
|
27491
26159
|
_max?: NestedEnumVehicleSizeNullableFilter<$PrismaModel>
|
|
27492
26160
|
}
|
|
27493
26161
|
|
|
27494
|
-
export type
|
|
27495
|
-
|
|
27496
|
-
|
|
27497
|
-
notIn?: $Enums.TypeOfRoutes[] | ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
27498
|
-
not?: NestedEnumTypeOfRoutesNullableFilter<$PrismaModel> | $Enums.TypeOfRoutes | null
|
|
26162
|
+
export type OrderNullableScalarRelationFilter = {
|
|
26163
|
+
is?: OrderWhereInput | null
|
|
26164
|
+
isNot?: OrderWhereInput | null
|
|
27499
26165
|
}
|
|
27500
26166
|
|
|
27501
26167
|
export type UserNullableScalarRelationFilter = {
|
|
@@ -27520,50 +26186,40 @@ export namespace Prisma {
|
|
|
27520
26186
|
|
|
27521
26187
|
export type RouteCountOrderByAggregateInput = {
|
|
27522
26188
|
id?: SortOrder
|
|
26189
|
+
order_id?: SortOrder
|
|
27523
26190
|
driver_id?: SortOrder
|
|
27524
26191
|
vehicle_id?: SortOrder
|
|
27525
26192
|
status?: SortOrder
|
|
27526
26193
|
started_at?: SortOrder
|
|
27527
26194
|
completed_at?: SortOrder
|
|
27528
|
-
type_of_route?: SortOrder
|
|
27529
26195
|
created_at?: SortOrder
|
|
27530
26196
|
updated_at?: SortOrder
|
|
27531
26197
|
}
|
|
27532
26198
|
|
|
27533
26199
|
export type RouteMaxOrderByAggregateInput = {
|
|
27534
26200
|
id?: SortOrder
|
|
26201
|
+
order_id?: SortOrder
|
|
27535
26202
|
driver_id?: SortOrder
|
|
27536
26203
|
vehicle_id?: SortOrder
|
|
27537
26204
|
status?: SortOrder
|
|
27538
26205
|
started_at?: SortOrder
|
|
27539
26206
|
completed_at?: SortOrder
|
|
27540
|
-
type_of_route?: SortOrder
|
|
27541
26207
|
created_at?: SortOrder
|
|
27542
26208
|
updated_at?: SortOrder
|
|
27543
26209
|
}
|
|
27544
26210
|
|
|
27545
26211
|
export type RouteMinOrderByAggregateInput = {
|
|
27546
26212
|
id?: SortOrder
|
|
26213
|
+
order_id?: SortOrder
|
|
27547
26214
|
driver_id?: SortOrder
|
|
27548
26215
|
vehicle_id?: SortOrder
|
|
27549
26216
|
status?: SortOrder
|
|
27550
26217
|
started_at?: SortOrder
|
|
27551
26218
|
completed_at?: SortOrder
|
|
27552
|
-
type_of_route?: SortOrder
|
|
27553
26219
|
created_at?: SortOrder
|
|
27554
26220
|
updated_at?: SortOrder
|
|
27555
26221
|
}
|
|
27556
26222
|
|
|
27557
|
-
export type EnumTypeOfRoutesNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
27558
|
-
equals?: $Enums.TypeOfRoutes | EnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
27559
|
-
in?: $Enums.TypeOfRoutes[] | ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
27560
|
-
notIn?: $Enums.TypeOfRoutes[] | ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
27561
|
-
not?: NestedEnumTypeOfRoutesNullableWithAggregatesFilter<$PrismaModel> | $Enums.TypeOfRoutes | null
|
|
27562
|
-
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
27563
|
-
_min?: NestedEnumTypeOfRoutesNullableFilter<$PrismaModel>
|
|
27564
|
-
_max?: NestedEnumTypeOfRoutesNullableFilter<$PrismaModel>
|
|
27565
|
-
}
|
|
27566
|
-
|
|
27567
26223
|
export type RouteScalarRelationFilter = {
|
|
27568
26224
|
is?: RouteWhereInput
|
|
27569
26225
|
isNot?: RouteWhereInput
|
|
@@ -27598,30 +26254,6 @@ export namespace Prisma {
|
|
|
27598
26254
|
updated_at?: SortOrder
|
|
27599
26255
|
}
|
|
27600
26256
|
|
|
27601
|
-
export type RouteOrdersCountOrderByAggregateInput = {
|
|
27602
|
-
id?: SortOrder
|
|
27603
|
-
route_id?: SortOrder
|
|
27604
|
-
order_id?: SortOrder
|
|
27605
|
-
created_at?: SortOrder
|
|
27606
|
-
updated_at?: SortOrder
|
|
27607
|
-
}
|
|
27608
|
-
|
|
27609
|
-
export type RouteOrdersMaxOrderByAggregateInput = {
|
|
27610
|
-
id?: SortOrder
|
|
27611
|
-
route_id?: SortOrder
|
|
27612
|
-
order_id?: SortOrder
|
|
27613
|
-
created_at?: SortOrder
|
|
27614
|
-
updated_at?: SortOrder
|
|
27615
|
-
}
|
|
27616
|
-
|
|
27617
|
-
export type RouteOrdersMinOrderByAggregateInput = {
|
|
27618
|
-
id?: SortOrder
|
|
27619
|
-
route_id?: SortOrder
|
|
27620
|
-
order_id?: SortOrder
|
|
27621
|
-
created_at?: SortOrder
|
|
27622
|
-
updated_at?: SortOrder
|
|
27623
|
-
}
|
|
27624
|
-
|
|
27625
26257
|
export type RouteNullableScalarRelationFilter = {
|
|
27626
26258
|
is?: RouteWhereInput | null
|
|
27627
26259
|
isNot?: RouteWhereInput | null
|
|
@@ -27979,11 +26611,11 @@ export namespace Prisma {
|
|
|
27979
26611
|
connect?: HandlingUnitWhereUniqueInput | HandlingUnitWhereUniqueInput[]
|
|
27980
26612
|
}
|
|
27981
26613
|
|
|
27982
|
-
export type
|
|
27983
|
-
create?: XOR<
|
|
27984
|
-
connectOrCreate?:
|
|
27985
|
-
createMany?:
|
|
27986
|
-
connect?:
|
|
26614
|
+
export type RouteCreateNestedManyWithoutOrderInput = {
|
|
26615
|
+
create?: XOR<RouteCreateWithoutOrderInput, RouteUncheckedCreateWithoutOrderInput> | RouteCreateWithoutOrderInput[] | RouteUncheckedCreateWithoutOrderInput[]
|
|
26616
|
+
connectOrCreate?: RouteCreateOrConnectWithoutOrderInput | RouteCreateOrConnectWithoutOrderInput[]
|
|
26617
|
+
createMany?: RouteCreateManyOrderInputEnvelope
|
|
26618
|
+
connect?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
27987
26619
|
}
|
|
27988
26620
|
|
|
27989
26621
|
export type HandlingUnitUncheckedCreateNestedManyWithoutOrderInput = {
|
|
@@ -27993,11 +26625,11 @@ export namespace Prisma {
|
|
|
27993
26625
|
connect?: HandlingUnitWhereUniqueInput | HandlingUnitWhereUniqueInput[]
|
|
27994
26626
|
}
|
|
27995
26627
|
|
|
27996
|
-
export type
|
|
27997
|
-
create?: XOR<
|
|
27998
|
-
connectOrCreate?:
|
|
27999
|
-
createMany?:
|
|
28000
|
-
connect?:
|
|
26628
|
+
export type RouteUncheckedCreateNestedManyWithoutOrderInput = {
|
|
26629
|
+
create?: XOR<RouteCreateWithoutOrderInput, RouteUncheckedCreateWithoutOrderInput> | RouteCreateWithoutOrderInput[] | RouteUncheckedCreateWithoutOrderInput[]
|
|
26630
|
+
connectOrCreate?: RouteCreateOrConnectWithoutOrderInput | RouteCreateOrConnectWithoutOrderInput[]
|
|
26631
|
+
createMany?: RouteCreateManyOrderInputEnvelope
|
|
26632
|
+
connect?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
28001
26633
|
}
|
|
28002
26634
|
|
|
28003
26635
|
export type EnumRouteStatusFieldUpdateOperationsInput = {
|
|
@@ -28028,18 +26660,18 @@ export namespace Prisma {
|
|
|
28028
26660
|
deleteMany?: HandlingUnitScalarWhereInput | HandlingUnitScalarWhereInput[]
|
|
28029
26661
|
}
|
|
28030
26662
|
|
|
28031
|
-
export type
|
|
28032
|
-
create?: XOR<
|
|
28033
|
-
connectOrCreate?:
|
|
28034
|
-
upsert?:
|
|
28035
|
-
createMany?:
|
|
28036
|
-
set?:
|
|
28037
|
-
disconnect?:
|
|
28038
|
-
delete?:
|
|
28039
|
-
connect?:
|
|
28040
|
-
update?:
|
|
28041
|
-
updateMany?:
|
|
28042
|
-
deleteMany?:
|
|
26663
|
+
export type RouteUpdateManyWithoutOrderNestedInput = {
|
|
26664
|
+
create?: XOR<RouteCreateWithoutOrderInput, RouteUncheckedCreateWithoutOrderInput> | RouteCreateWithoutOrderInput[] | RouteUncheckedCreateWithoutOrderInput[]
|
|
26665
|
+
connectOrCreate?: RouteCreateOrConnectWithoutOrderInput | RouteCreateOrConnectWithoutOrderInput[]
|
|
26666
|
+
upsert?: RouteUpsertWithWhereUniqueWithoutOrderInput | RouteUpsertWithWhereUniqueWithoutOrderInput[]
|
|
26667
|
+
createMany?: RouteCreateManyOrderInputEnvelope
|
|
26668
|
+
set?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26669
|
+
disconnect?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26670
|
+
delete?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26671
|
+
connect?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26672
|
+
update?: RouteUpdateWithWhereUniqueWithoutOrderInput | RouteUpdateWithWhereUniqueWithoutOrderInput[]
|
|
26673
|
+
updateMany?: RouteUpdateManyWithWhereWithoutOrderInput | RouteUpdateManyWithWhereWithoutOrderInput[]
|
|
26674
|
+
deleteMany?: RouteScalarWhereInput | RouteScalarWhereInput[]
|
|
28043
26675
|
}
|
|
28044
26676
|
|
|
28045
26677
|
export type HandlingUnitUncheckedUpdateManyWithoutOrderNestedInput = {
|
|
@@ -28056,18 +26688,18 @@ export namespace Prisma {
|
|
|
28056
26688
|
deleteMany?: HandlingUnitScalarWhereInput | HandlingUnitScalarWhereInput[]
|
|
28057
26689
|
}
|
|
28058
26690
|
|
|
28059
|
-
export type
|
|
28060
|
-
create?: XOR<
|
|
28061
|
-
connectOrCreate?:
|
|
28062
|
-
upsert?:
|
|
28063
|
-
createMany?:
|
|
28064
|
-
set?:
|
|
28065
|
-
disconnect?:
|
|
28066
|
-
delete?:
|
|
28067
|
-
connect?:
|
|
28068
|
-
update?:
|
|
28069
|
-
updateMany?:
|
|
28070
|
-
deleteMany?:
|
|
26691
|
+
export type RouteUncheckedUpdateManyWithoutOrderNestedInput = {
|
|
26692
|
+
create?: XOR<RouteCreateWithoutOrderInput, RouteUncheckedCreateWithoutOrderInput> | RouteCreateWithoutOrderInput[] | RouteUncheckedCreateWithoutOrderInput[]
|
|
26693
|
+
connectOrCreate?: RouteCreateOrConnectWithoutOrderInput | RouteCreateOrConnectWithoutOrderInput[]
|
|
26694
|
+
upsert?: RouteUpsertWithWhereUniqueWithoutOrderInput | RouteUpsertWithWhereUniqueWithoutOrderInput[]
|
|
26695
|
+
createMany?: RouteCreateManyOrderInputEnvelope
|
|
26696
|
+
set?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26697
|
+
disconnect?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26698
|
+
delete?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26699
|
+
connect?: RouteWhereUniqueInput | RouteWhereUniqueInput[]
|
|
26700
|
+
update?: RouteUpdateWithWhereUniqueWithoutOrderInput | RouteUpdateWithWhereUniqueWithoutOrderInput[]
|
|
26701
|
+
updateMany?: RouteUpdateManyWithWhereWithoutOrderInput | RouteUpdateManyWithWhereWithoutOrderInput[]
|
|
26702
|
+
deleteMany?: RouteScalarWhereInput | RouteScalarWhereInput[]
|
|
28071
26703
|
}
|
|
28072
26704
|
|
|
28073
26705
|
export type ClientCreateNestedManyWithoutCompanyInput = {
|
|
@@ -28752,6 +27384,12 @@ export namespace Prisma {
|
|
|
28752
27384
|
deleteMany?: RouteScalarWhereInput | RouteScalarWhereInput[]
|
|
28753
27385
|
}
|
|
28754
27386
|
|
|
27387
|
+
export type OrderCreateNestedOneWithoutRoutesInput = {
|
|
27388
|
+
create?: XOR<OrderCreateWithoutRoutesInput, OrderUncheckedCreateWithoutRoutesInput>
|
|
27389
|
+
connectOrCreate?: OrderCreateOrConnectWithoutRoutesInput
|
|
27390
|
+
connect?: OrderWhereUniqueInput
|
|
27391
|
+
}
|
|
27392
|
+
|
|
28755
27393
|
export type UserCreateNestedOneWithoutRoutesInput = {
|
|
28756
27394
|
create?: XOR<UserCreateWithoutRoutesInput, UserUncheckedCreateWithoutRoutesInput>
|
|
28757
27395
|
connectOrCreate?: UserCreateOrConnectWithoutRoutesInput
|
|
@@ -28771,13 +27409,6 @@ export namespace Prisma {
|
|
|
28771
27409
|
connect?: RouteHandlingUnitWhereUniqueInput | RouteHandlingUnitWhereUniqueInput[]
|
|
28772
27410
|
}
|
|
28773
27411
|
|
|
28774
|
-
export type RouteOrdersCreateNestedManyWithoutRouteInput = {
|
|
28775
|
-
create?: XOR<RouteOrdersCreateWithoutRouteInput, RouteOrdersUncheckedCreateWithoutRouteInput> | RouteOrdersCreateWithoutRouteInput[] | RouteOrdersUncheckedCreateWithoutRouteInput[]
|
|
28776
|
-
connectOrCreate?: RouteOrdersCreateOrConnectWithoutRouteInput | RouteOrdersCreateOrConnectWithoutRouteInput[]
|
|
28777
|
-
createMany?: RouteOrdersCreateManyRouteInputEnvelope
|
|
28778
|
-
connect?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28779
|
-
}
|
|
28780
|
-
|
|
28781
27412
|
export type AddressCreateNestedManyWithoutRouteInput = {
|
|
28782
27413
|
create?: XOR<AddressCreateWithoutRouteInput, AddressUncheckedCreateWithoutRouteInput> | AddressCreateWithoutRouteInput[] | AddressUncheckedCreateWithoutRouteInput[]
|
|
28783
27414
|
connectOrCreate?: AddressCreateOrConnectWithoutRouteInput | AddressCreateOrConnectWithoutRouteInput[]
|
|
@@ -28792,13 +27423,6 @@ export namespace Prisma {
|
|
|
28792
27423
|
connect?: RouteHandlingUnitWhereUniqueInput | RouteHandlingUnitWhereUniqueInput[]
|
|
28793
27424
|
}
|
|
28794
27425
|
|
|
28795
|
-
export type RouteOrdersUncheckedCreateNestedManyWithoutRouteInput = {
|
|
28796
|
-
create?: XOR<RouteOrdersCreateWithoutRouteInput, RouteOrdersUncheckedCreateWithoutRouteInput> | RouteOrdersCreateWithoutRouteInput[] | RouteOrdersUncheckedCreateWithoutRouteInput[]
|
|
28797
|
-
connectOrCreate?: RouteOrdersCreateOrConnectWithoutRouteInput | RouteOrdersCreateOrConnectWithoutRouteInput[]
|
|
28798
|
-
createMany?: RouteOrdersCreateManyRouteInputEnvelope
|
|
28799
|
-
connect?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28800
|
-
}
|
|
28801
|
-
|
|
28802
27426
|
export type AddressUncheckedCreateNestedManyWithoutRouteInput = {
|
|
28803
27427
|
create?: XOR<AddressCreateWithoutRouteInput, AddressUncheckedCreateWithoutRouteInput> | AddressCreateWithoutRouteInput[] | AddressUncheckedCreateWithoutRouteInput[]
|
|
28804
27428
|
connectOrCreate?: AddressCreateOrConnectWithoutRouteInput | AddressCreateOrConnectWithoutRouteInput[]
|
|
@@ -28806,8 +27430,14 @@ export namespace Prisma {
|
|
|
28806
27430
|
connect?: AddressWhereUniqueInput | AddressWhereUniqueInput[]
|
|
28807
27431
|
}
|
|
28808
27432
|
|
|
28809
|
-
export type
|
|
28810
|
-
|
|
27433
|
+
export type OrderUpdateOneWithoutRoutesNestedInput = {
|
|
27434
|
+
create?: XOR<OrderCreateWithoutRoutesInput, OrderUncheckedCreateWithoutRoutesInput>
|
|
27435
|
+
connectOrCreate?: OrderCreateOrConnectWithoutRoutesInput
|
|
27436
|
+
upsert?: OrderUpsertWithoutRoutesInput
|
|
27437
|
+
disconnect?: OrderWhereInput | boolean
|
|
27438
|
+
delete?: OrderWhereInput | boolean
|
|
27439
|
+
connect?: OrderWhereUniqueInput
|
|
27440
|
+
update?: XOR<XOR<OrderUpdateToOneWithWhereWithoutRoutesInput, OrderUpdateWithoutRoutesInput>, OrderUncheckedUpdateWithoutRoutesInput>
|
|
28811
27441
|
}
|
|
28812
27442
|
|
|
28813
27443
|
export type UserUpdateOneWithoutRoutesNestedInput = {
|
|
@@ -28844,20 +27474,6 @@ export namespace Prisma {
|
|
|
28844
27474
|
deleteMany?: RouteHandlingUnitScalarWhereInput | RouteHandlingUnitScalarWhereInput[]
|
|
28845
27475
|
}
|
|
28846
27476
|
|
|
28847
|
-
export type RouteOrdersUpdateManyWithoutRouteNestedInput = {
|
|
28848
|
-
create?: XOR<RouteOrdersCreateWithoutRouteInput, RouteOrdersUncheckedCreateWithoutRouteInput> | RouteOrdersCreateWithoutRouteInput[] | RouteOrdersUncheckedCreateWithoutRouteInput[]
|
|
28849
|
-
connectOrCreate?: RouteOrdersCreateOrConnectWithoutRouteInput | RouteOrdersCreateOrConnectWithoutRouteInput[]
|
|
28850
|
-
upsert?: RouteOrdersUpsertWithWhereUniqueWithoutRouteInput | RouteOrdersUpsertWithWhereUniqueWithoutRouteInput[]
|
|
28851
|
-
createMany?: RouteOrdersCreateManyRouteInputEnvelope
|
|
28852
|
-
set?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28853
|
-
disconnect?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28854
|
-
delete?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28855
|
-
connect?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28856
|
-
update?: RouteOrdersUpdateWithWhereUniqueWithoutRouteInput | RouteOrdersUpdateWithWhereUniqueWithoutRouteInput[]
|
|
28857
|
-
updateMany?: RouteOrdersUpdateManyWithWhereWithoutRouteInput | RouteOrdersUpdateManyWithWhereWithoutRouteInput[]
|
|
28858
|
-
deleteMany?: RouteOrdersScalarWhereInput | RouteOrdersScalarWhereInput[]
|
|
28859
|
-
}
|
|
28860
|
-
|
|
28861
27477
|
export type AddressUpdateManyWithoutRouteNestedInput = {
|
|
28862
27478
|
create?: XOR<AddressCreateWithoutRouteInput, AddressUncheckedCreateWithoutRouteInput> | AddressCreateWithoutRouteInput[] | AddressUncheckedCreateWithoutRouteInput[]
|
|
28863
27479
|
connectOrCreate?: AddressCreateOrConnectWithoutRouteInput | AddressCreateOrConnectWithoutRouteInput[]
|
|
@@ -28886,20 +27502,6 @@ export namespace Prisma {
|
|
|
28886
27502
|
deleteMany?: RouteHandlingUnitScalarWhereInput | RouteHandlingUnitScalarWhereInput[]
|
|
28887
27503
|
}
|
|
28888
27504
|
|
|
28889
|
-
export type RouteOrdersUncheckedUpdateManyWithoutRouteNestedInput = {
|
|
28890
|
-
create?: XOR<RouteOrdersCreateWithoutRouteInput, RouteOrdersUncheckedCreateWithoutRouteInput> | RouteOrdersCreateWithoutRouteInput[] | RouteOrdersUncheckedCreateWithoutRouteInput[]
|
|
28891
|
-
connectOrCreate?: RouteOrdersCreateOrConnectWithoutRouteInput | RouteOrdersCreateOrConnectWithoutRouteInput[]
|
|
28892
|
-
upsert?: RouteOrdersUpsertWithWhereUniqueWithoutRouteInput | RouteOrdersUpsertWithWhereUniqueWithoutRouteInput[]
|
|
28893
|
-
createMany?: RouteOrdersCreateManyRouteInputEnvelope
|
|
28894
|
-
set?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28895
|
-
disconnect?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28896
|
-
delete?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28897
|
-
connect?: RouteOrdersWhereUniqueInput | RouteOrdersWhereUniqueInput[]
|
|
28898
|
-
update?: RouteOrdersUpdateWithWhereUniqueWithoutRouteInput | RouteOrdersUpdateWithWhereUniqueWithoutRouteInput[]
|
|
28899
|
-
updateMany?: RouteOrdersUpdateManyWithWhereWithoutRouteInput | RouteOrdersUpdateManyWithWhereWithoutRouteInput[]
|
|
28900
|
-
deleteMany?: RouteOrdersScalarWhereInput | RouteOrdersScalarWhereInput[]
|
|
28901
|
-
}
|
|
28902
|
-
|
|
28903
27505
|
export type AddressUncheckedUpdateManyWithoutRouteNestedInput = {
|
|
28904
27506
|
create?: XOR<AddressCreateWithoutRouteInput, AddressUncheckedCreateWithoutRouteInput> | AddressCreateWithoutRouteInput[] | AddressUncheckedCreateWithoutRouteInput[]
|
|
28905
27507
|
connectOrCreate?: AddressCreateOrConnectWithoutRouteInput | AddressCreateOrConnectWithoutRouteInput[]
|
|
@@ -28942,34 +27544,6 @@ export namespace Prisma {
|
|
|
28942
27544
|
update?: XOR<XOR<HandlingUnitUpdateToOneWithWhereWithoutRoute_handling_unitsInput, HandlingUnitUpdateWithoutRoute_handling_unitsInput>, HandlingUnitUncheckedUpdateWithoutRoute_handling_unitsInput>
|
|
28943
27545
|
}
|
|
28944
27546
|
|
|
28945
|
-
export type RouteCreateNestedOneWithoutRoute_ordersInput = {
|
|
28946
|
-
create?: XOR<RouteCreateWithoutRoute_ordersInput, RouteUncheckedCreateWithoutRoute_ordersInput>
|
|
28947
|
-
connectOrCreate?: RouteCreateOrConnectWithoutRoute_ordersInput
|
|
28948
|
-
connect?: RouteWhereUniqueInput
|
|
28949
|
-
}
|
|
28950
|
-
|
|
28951
|
-
export type OrderCreateNestedOneWithoutRoute_ordersInput = {
|
|
28952
|
-
create?: XOR<OrderCreateWithoutRoute_ordersInput, OrderUncheckedCreateWithoutRoute_ordersInput>
|
|
28953
|
-
connectOrCreate?: OrderCreateOrConnectWithoutRoute_ordersInput
|
|
28954
|
-
connect?: OrderWhereUniqueInput
|
|
28955
|
-
}
|
|
28956
|
-
|
|
28957
|
-
export type RouteUpdateOneRequiredWithoutRoute_ordersNestedInput = {
|
|
28958
|
-
create?: XOR<RouteCreateWithoutRoute_ordersInput, RouteUncheckedCreateWithoutRoute_ordersInput>
|
|
28959
|
-
connectOrCreate?: RouteCreateOrConnectWithoutRoute_ordersInput
|
|
28960
|
-
upsert?: RouteUpsertWithoutRoute_ordersInput
|
|
28961
|
-
connect?: RouteWhereUniqueInput
|
|
28962
|
-
update?: XOR<XOR<RouteUpdateToOneWithWhereWithoutRoute_ordersInput, RouteUpdateWithoutRoute_ordersInput>, RouteUncheckedUpdateWithoutRoute_ordersInput>
|
|
28963
|
-
}
|
|
28964
|
-
|
|
28965
|
-
export type OrderUpdateOneRequiredWithoutRoute_ordersNestedInput = {
|
|
28966
|
-
create?: XOR<OrderCreateWithoutRoute_ordersInput, OrderUncheckedCreateWithoutRoute_ordersInput>
|
|
28967
|
-
connectOrCreate?: OrderCreateOrConnectWithoutRoute_ordersInput
|
|
28968
|
-
upsert?: OrderUpsertWithoutRoute_ordersInput
|
|
28969
|
-
connect?: OrderWhereUniqueInput
|
|
28970
|
-
update?: XOR<XOR<OrderUpdateToOneWithWhereWithoutRoute_ordersInput, OrderUpdateWithoutRoute_ordersInput>, OrderUncheckedUpdateWithoutRoute_ordersInput>
|
|
28971
|
-
}
|
|
28972
|
-
|
|
28973
27547
|
export type RouteCreateNestedOneWithoutAddressesInput = {
|
|
28974
27548
|
create?: XOR<RouteCreateWithoutAddressesInput, RouteUncheckedCreateWithoutAddressesInput>
|
|
28975
27549
|
connectOrCreate?: RouteCreateOrConnectWithoutAddressesInput
|
|
@@ -29482,23 +28056,6 @@ export namespace Prisma {
|
|
|
29482
28056
|
_max?: NestedEnumVehicleSizeNullableFilter<$PrismaModel>
|
|
29483
28057
|
}
|
|
29484
28058
|
|
|
29485
|
-
export type NestedEnumTypeOfRoutesNullableFilter<$PrismaModel = never> = {
|
|
29486
|
-
equals?: $Enums.TypeOfRoutes | EnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
29487
|
-
in?: $Enums.TypeOfRoutes[] | ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
29488
|
-
notIn?: $Enums.TypeOfRoutes[] | ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
29489
|
-
not?: NestedEnumTypeOfRoutesNullableFilter<$PrismaModel> | $Enums.TypeOfRoutes | null
|
|
29490
|
-
}
|
|
29491
|
-
|
|
29492
|
-
export type NestedEnumTypeOfRoutesNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
29493
|
-
equals?: $Enums.TypeOfRoutes | EnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
29494
|
-
in?: $Enums.TypeOfRoutes[] | ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
29495
|
-
notIn?: $Enums.TypeOfRoutes[] | ListEnumTypeOfRoutesFieldRefInput<$PrismaModel> | null
|
|
29496
|
-
not?: NestedEnumTypeOfRoutesNullableWithAggregatesFilter<$PrismaModel> | $Enums.TypeOfRoutes | null
|
|
29497
|
-
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
29498
|
-
_min?: NestedEnumTypeOfRoutesNullableFilter<$PrismaModel>
|
|
29499
|
-
_max?: NestedEnumTypeOfRoutesNullableFilter<$PrismaModel>
|
|
29500
|
-
}
|
|
29501
|
-
|
|
29502
28059
|
export type companiesCreateWithoutClientsInput = {
|
|
29503
28060
|
id?: string
|
|
29504
28061
|
tax_id?: string | null
|
|
@@ -29614,7 +28171,7 @@ export namespace Prisma {
|
|
|
29614
28171
|
created_at?: Date | string
|
|
29615
28172
|
updated_at?: Date | string
|
|
29616
28173
|
handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
|
|
29617
|
-
|
|
28174
|
+
routes?: RouteCreateNestedManyWithoutOrderInput
|
|
29618
28175
|
}
|
|
29619
28176
|
|
|
29620
28177
|
export type OrderUncheckedCreateWithoutShipperInput = {
|
|
@@ -29625,7 +28182,7 @@ export namespace Prisma {
|
|
|
29625
28182
|
created_at?: Date | string
|
|
29626
28183
|
updated_at?: Date | string
|
|
29627
28184
|
handling_units?: HandlingUnitUncheckedCreateNestedManyWithoutOrderInput
|
|
29628
|
-
|
|
28185
|
+
routes?: RouteUncheckedCreateNestedManyWithoutOrderInput
|
|
29629
28186
|
}
|
|
29630
28187
|
|
|
29631
28188
|
export type OrderCreateOrConnectWithoutShipperInput = {
|
|
@@ -30152,27 +28709,39 @@ export namespace Prisma {
|
|
|
30152
28709
|
skipDuplicates?: boolean
|
|
30153
28710
|
}
|
|
30154
28711
|
|
|
30155
|
-
export type
|
|
28712
|
+
export type RouteCreateWithoutOrderInput = {
|
|
30156
28713
|
id?: string
|
|
28714
|
+
status?: $Enums.RouteStatus
|
|
28715
|
+
started_at?: Date | string | null
|
|
28716
|
+
completed_at?: Date | string | null
|
|
30157
28717
|
created_at?: Date | string
|
|
30158
28718
|
updated_at?: Date | string
|
|
30159
|
-
|
|
28719
|
+
driver?: UserCreateNestedOneWithoutRoutesInput
|
|
28720
|
+
vehicle?: VehicleCreateNestedOneWithoutRoutesInput
|
|
28721
|
+
route_handling_units?: RouteHandlingUnitCreateNestedManyWithoutRouteInput
|
|
28722
|
+
addresses?: AddressCreateNestedManyWithoutRouteInput
|
|
30160
28723
|
}
|
|
30161
28724
|
|
|
30162
|
-
export type
|
|
28725
|
+
export type RouteUncheckedCreateWithoutOrderInput = {
|
|
30163
28726
|
id?: string
|
|
30164
|
-
|
|
28727
|
+
driver_id?: string | null
|
|
28728
|
+
vehicle_id?: string | null
|
|
28729
|
+
status?: $Enums.RouteStatus
|
|
28730
|
+
started_at?: Date | string | null
|
|
28731
|
+
completed_at?: Date | string | null
|
|
30165
28732
|
created_at?: Date | string
|
|
30166
28733
|
updated_at?: Date | string
|
|
28734
|
+
route_handling_units?: RouteHandlingUnitUncheckedCreateNestedManyWithoutRouteInput
|
|
28735
|
+
addresses?: AddressUncheckedCreateNestedManyWithoutRouteInput
|
|
30167
28736
|
}
|
|
30168
28737
|
|
|
30169
|
-
export type
|
|
30170
|
-
where:
|
|
30171
|
-
create: XOR<
|
|
28738
|
+
export type RouteCreateOrConnectWithoutOrderInput = {
|
|
28739
|
+
where: RouteWhereUniqueInput
|
|
28740
|
+
create: XOR<RouteCreateWithoutOrderInput, RouteUncheckedCreateWithoutOrderInput>
|
|
30172
28741
|
}
|
|
30173
28742
|
|
|
30174
|
-
export type
|
|
30175
|
-
data:
|
|
28743
|
+
export type RouteCreateManyOrderInputEnvelope = {
|
|
28744
|
+
data: RouteCreateManyOrderInput | RouteCreateManyOrderInput[]
|
|
30176
28745
|
skipDuplicates?: boolean
|
|
30177
28746
|
}
|
|
30178
28747
|
|
|
@@ -30235,31 +28804,35 @@ export namespace Prisma {
|
|
|
30235
28804
|
data: XOR<HandlingUnitUpdateManyMutationInput, HandlingUnitUncheckedUpdateManyWithoutOrderInput>
|
|
30236
28805
|
}
|
|
30237
28806
|
|
|
30238
|
-
export type
|
|
30239
|
-
where:
|
|
30240
|
-
update: XOR<
|
|
30241
|
-
create: XOR<
|
|
28807
|
+
export type RouteUpsertWithWhereUniqueWithoutOrderInput = {
|
|
28808
|
+
where: RouteWhereUniqueInput
|
|
28809
|
+
update: XOR<RouteUpdateWithoutOrderInput, RouteUncheckedUpdateWithoutOrderInput>
|
|
28810
|
+
create: XOR<RouteCreateWithoutOrderInput, RouteUncheckedCreateWithoutOrderInput>
|
|
30242
28811
|
}
|
|
30243
28812
|
|
|
30244
|
-
export type
|
|
30245
|
-
where:
|
|
30246
|
-
data: XOR<
|
|
28813
|
+
export type RouteUpdateWithWhereUniqueWithoutOrderInput = {
|
|
28814
|
+
where: RouteWhereUniqueInput
|
|
28815
|
+
data: XOR<RouteUpdateWithoutOrderInput, RouteUncheckedUpdateWithoutOrderInput>
|
|
30247
28816
|
}
|
|
30248
28817
|
|
|
30249
|
-
export type
|
|
30250
|
-
where:
|
|
30251
|
-
data: XOR<
|
|
28818
|
+
export type RouteUpdateManyWithWhereWithoutOrderInput = {
|
|
28819
|
+
where: RouteScalarWhereInput
|
|
28820
|
+
data: XOR<RouteUpdateManyMutationInput, RouteUncheckedUpdateManyWithoutOrderInput>
|
|
30252
28821
|
}
|
|
30253
28822
|
|
|
30254
|
-
export type
|
|
30255
|
-
AND?:
|
|
30256
|
-
OR?:
|
|
30257
|
-
NOT?:
|
|
30258
|
-
id?: UuidFilter<"
|
|
30259
|
-
|
|
30260
|
-
|
|
30261
|
-
|
|
30262
|
-
|
|
28823
|
+
export type RouteScalarWhereInput = {
|
|
28824
|
+
AND?: RouteScalarWhereInput | RouteScalarWhereInput[]
|
|
28825
|
+
OR?: RouteScalarWhereInput[]
|
|
28826
|
+
NOT?: RouteScalarWhereInput | RouteScalarWhereInput[]
|
|
28827
|
+
id?: UuidFilter<"Route"> | string
|
|
28828
|
+
order_id?: UuidNullableFilter<"Route"> | string | null
|
|
28829
|
+
driver_id?: UuidNullableFilter<"Route"> | string | null
|
|
28830
|
+
vehicle_id?: UuidNullableFilter<"Route"> | string | null
|
|
28831
|
+
status?: EnumRouteStatusFilter<"Route"> | $Enums.RouteStatus
|
|
28832
|
+
started_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
28833
|
+
completed_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
28834
|
+
created_at?: DateTimeFilter<"Route"> | Date | string
|
|
28835
|
+
updated_at?: DateTimeFilter<"Route"> | Date | string
|
|
30263
28836
|
}
|
|
30264
28837
|
|
|
30265
28838
|
export type ClientCreateWithoutCompanyInput = {
|
|
@@ -30481,7 +29054,7 @@ export namespace Prisma {
|
|
|
30481
29054
|
created_at?: Date | string
|
|
30482
29055
|
updated_at?: Date | string
|
|
30483
29056
|
shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
|
|
30484
|
-
|
|
29057
|
+
routes?: RouteCreateNestedManyWithoutOrderInput
|
|
30485
29058
|
}
|
|
30486
29059
|
|
|
30487
29060
|
export type OrderUncheckedCreateWithoutHandling_unitsInput = {
|
|
@@ -30492,7 +29065,7 @@ export namespace Prisma {
|
|
|
30492
29065
|
status?: $Enums.RouteStatus
|
|
30493
29066
|
created_at?: Date | string
|
|
30494
29067
|
updated_at?: Date | string
|
|
30495
|
-
|
|
29068
|
+
routes?: RouteUncheckedCreateNestedManyWithoutOrderInput
|
|
30496
29069
|
}
|
|
30497
29070
|
|
|
30498
29071
|
export type OrderCreateOrConnectWithoutHandling_unitsInput = {
|
|
@@ -30604,7 +29177,7 @@ export namespace Prisma {
|
|
|
30604
29177
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30605
29178
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30606
29179
|
shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
|
|
30607
|
-
|
|
29180
|
+
routes?: RouteUpdateManyWithoutOrderNestedInput
|
|
30608
29181
|
}
|
|
30609
29182
|
|
|
30610
29183
|
export type OrderUncheckedUpdateWithoutHandling_unitsInput = {
|
|
@@ -30615,7 +29188,7 @@ export namespace Prisma {
|
|
|
30615
29188
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
30616
29189
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30617
29190
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30618
|
-
|
|
29191
|
+
routes?: RouteUncheckedUpdateManyWithoutOrderNestedInput
|
|
30619
29192
|
}
|
|
30620
29193
|
|
|
30621
29194
|
export type ClientUpsertWithoutHandling_units_as_consigneeInput = {
|
|
@@ -30720,26 +29293,24 @@ export namespace Prisma {
|
|
|
30720
29293
|
status?: $Enums.RouteStatus
|
|
30721
29294
|
started_at?: Date | string | null
|
|
30722
29295
|
completed_at?: Date | string | null
|
|
30723
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
30724
29296
|
created_at?: Date | string
|
|
30725
29297
|
updated_at?: Date | string
|
|
29298
|
+
order?: OrderCreateNestedOneWithoutRoutesInput
|
|
30726
29299
|
vehicle?: VehicleCreateNestedOneWithoutRoutesInput
|
|
30727
29300
|
route_handling_units?: RouteHandlingUnitCreateNestedManyWithoutRouteInput
|
|
30728
|
-
route_orders?: RouteOrdersCreateNestedManyWithoutRouteInput
|
|
30729
29301
|
addresses?: AddressCreateNestedManyWithoutRouteInput
|
|
30730
29302
|
}
|
|
30731
29303
|
|
|
30732
29304
|
export type RouteUncheckedCreateWithoutDriverInput = {
|
|
30733
29305
|
id?: string
|
|
29306
|
+
order_id?: string | null
|
|
30734
29307
|
vehicle_id?: string | null
|
|
30735
29308
|
status?: $Enums.RouteStatus
|
|
30736
29309
|
started_at?: Date | string | null
|
|
30737
29310
|
completed_at?: Date | string | null
|
|
30738
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
30739
29311
|
created_at?: Date | string
|
|
30740
29312
|
updated_at?: Date | string
|
|
30741
29313
|
route_handling_units?: RouteHandlingUnitUncheckedCreateNestedManyWithoutRouteInput
|
|
30742
|
-
route_orders?: RouteOrdersUncheckedCreateNestedManyWithoutRouteInput
|
|
30743
29314
|
addresses?: AddressUncheckedCreateNestedManyWithoutRouteInput
|
|
30744
29315
|
}
|
|
30745
29316
|
|
|
@@ -30825,21 +29396,6 @@ export namespace Prisma {
|
|
|
30825
29396
|
data: XOR<RouteUpdateManyMutationInput, RouteUncheckedUpdateManyWithoutDriverInput>
|
|
30826
29397
|
}
|
|
30827
29398
|
|
|
30828
|
-
export type RouteScalarWhereInput = {
|
|
30829
|
-
AND?: RouteScalarWhereInput | RouteScalarWhereInput[]
|
|
30830
|
-
OR?: RouteScalarWhereInput[]
|
|
30831
|
-
NOT?: RouteScalarWhereInput | RouteScalarWhereInput[]
|
|
30832
|
-
id?: UuidFilter<"Route"> | string
|
|
30833
|
-
driver_id?: UuidNullableFilter<"Route"> | string | null
|
|
30834
|
-
vehicle_id?: UuidNullableFilter<"Route"> | string | null
|
|
30835
|
-
status?: EnumRouteStatusFilter<"Route"> | $Enums.RouteStatus
|
|
30836
|
-
started_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
30837
|
-
completed_at?: DateTimeNullableFilter<"Route"> | Date | string | null
|
|
30838
|
-
type_of_route?: EnumTypeOfRoutesNullableFilter<"Route"> | $Enums.TypeOfRoutes | null
|
|
30839
|
-
created_at?: DateTimeFilter<"Route"> | Date | string
|
|
30840
|
-
updated_at?: DateTimeFilter<"Route"> | Date | string
|
|
30841
|
-
}
|
|
30842
|
-
|
|
30843
29399
|
export type UserCompanyUpsertWithWhereUniqueWithoutUserInput = {
|
|
30844
29400
|
where: UserCompanyWhereUniqueInput
|
|
30845
29401
|
update: XOR<UserCompanyUpdateWithoutUserInput, UserCompanyUncheckedUpdateWithoutUserInput>
|
|
@@ -31402,26 +29958,24 @@ export namespace Prisma {
|
|
|
31402
29958
|
status?: $Enums.RouteStatus
|
|
31403
29959
|
started_at?: Date | string | null
|
|
31404
29960
|
completed_at?: Date | string | null
|
|
31405
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
31406
29961
|
created_at?: Date | string
|
|
31407
29962
|
updated_at?: Date | string
|
|
29963
|
+
order?: OrderCreateNestedOneWithoutRoutesInput
|
|
31408
29964
|
driver?: UserCreateNestedOneWithoutRoutesInput
|
|
31409
29965
|
route_handling_units?: RouteHandlingUnitCreateNestedManyWithoutRouteInput
|
|
31410
|
-
route_orders?: RouteOrdersCreateNestedManyWithoutRouteInput
|
|
31411
29966
|
addresses?: AddressCreateNestedManyWithoutRouteInput
|
|
31412
29967
|
}
|
|
31413
29968
|
|
|
31414
29969
|
export type RouteUncheckedCreateWithoutVehicleInput = {
|
|
31415
29970
|
id?: string
|
|
29971
|
+
order_id?: string | null
|
|
31416
29972
|
driver_id?: string | null
|
|
31417
29973
|
status?: $Enums.RouteStatus
|
|
31418
29974
|
started_at?: Date | string | null
|
|
31419
29975
|
completed_at?: Date | string | null
|
|
31420
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
31421
29976
|
created_at?: Date | string
|
|
31422
29977
|
updated_at?: Date | string
|
|
31423
29978
|
route_handling_units?: RouteHandlingUnitUncheckedCreateNestedManyWithoutRouteInput
|
|
31424
|
-
route_orders?: RouteOrdersUncheckedCreateNestedManyWithoutRouteInput
|
|
31425
29979
|
addresses?: AddressUncheckedCreateNestedManyWithoutRouteInput
|
|
31426
29980
|
}
|
|
31427
29981
|
|
|
@@ -31548,6 +30102,33 @@ export namespace Prisma {
|
|
|
31548
30102
|
data: XOR<RouteUpdateManyMutationInput, RouteUncheckedUpdateManyWithoutVehicleInput>
|
|
31549
30103
|
}
|
|
31550
30104
|
|
|
30105
|
+
export type OrderCreateWithoutRoutesInput = {
|
|
30106
|
+
id?: string
|
|
30107
|
+
reference?: string | null
|
|
30108
|
+
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
30109
|
+
status?: $Enums.RouteStatus
|
|
30110
|
+
created_at?: Date | string
|
|
30111
|
+
updated_at?: Date | string
|
|
30112
|
+
shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
|
|
30113
|
+
handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
|
|
30114
|
+
}
|
|
30115
|
+
|
|
30116
|
+
export type OrderUncheckedCreateWithoutRoutesInput = {
|
|
30117
|
+
id?: string
|
|
30118
|
+
reference?: string | null
|
|
30119
|
+
shipper_id?: string | null
|
|
30120
|
+
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
30121
|
+
status?: $Enums.RouteStatus
|
|
30122
|
+
created_at?: Date | string
|
|
30123
|
+
updated_at?: Date | string
|
|
30124
|
+
handling_units?: HandlingUnitUncheckedCreateNestedManyWithoutOrderInput
|
|
30125
|
+
}
|
|
30126
|
+
|
|
30127
|
+
export type OrderCreateOrConnectWithoutRoutesInput = {
|
|
30128
|
+
where: OrderWhereUniqueInput
|
|
30129
|
+
create: XOR<OrderCreateWithoutRoutesInput, OrderUncheckedCreateWithoutRoutesInput>
|
|
30130
|
+
}
|
|
30131
|
+
|
|
31551
30132
|
export type UserCreateWithoutRoutesInput = {
|
|
31552
30133
|
id?: string
|
|
31553
30134
|
email: string
|
|
@@ -31642,30 +30223,6 @@ export namespace Prisma {
|
|
|
31642
30223
|
skipDuplicates?: boolean
|
|
31643
30224
|
}
|
|
31644
30225
|
|
|
31645
|
-
export type RouteOrdersCreateWithoutRouteInput = {
|
|
31646
|
-
id?: string
|
|
31647
|
-
created_at?: Date | string
|
|
31648
|
-
updated_at?: Date | string
|
|
31649
|
-
order: OrderCreateNestedOneWithoutRoute_ordersInput
|
|
31650
|
-
}
|
|
31651
|
-
|
|
31652
|
-
export type RouteOrdersUncheckedCreateWithoutRouteInput = {
|
|
31653
|
-
id?: string
|
|
31654
|
-
order_id: string
|
|
31655
|
-
created_at?: Date | string
|
|
31656
|
-
updated_at?: Date | string
|
|
31657
|
-
}
|
|
31658
|
-
|
|
31659
|
-
export type RouteOrdersCreateOrConnectWithoutRouteInput = {
|
|
31660
|
-
where: RouteOrdersWhereUniqueInput
|
|
31661
|
-
create: XOR<RouteOrdersCreateWithoutRouteInput, RouteOrdersUncheckedCreateWithoutRouteInput>
|
|
31662
|
-
}
|
|
31663
|
-
|
|
31664
|
-
export type RouteOrdersCreateManyRouteInputEnvelope = {
|
|
31665
|
-
data: RouteOrdersCreateManyRouteInput | RouteOrdersCreateManyRouteInput[]
|
|
31666
|
-
skipDuplicates?: boolean
|
|
31667
|
-
}
|
|
31668
|
-
|
|
31669
30226
|
export type AddressCreateWithoutRouteInput = {
|
|
31670
30227
|
id?: string
|
|
31671
30228
|
address_type?: $Enums.AddressType
|
|
@@ -31716,6 +30273,39 @@ export namespace Prisma {
|
|
|
31716
30273
|
skipDuplicates?: boolean
|
|
31717
30274
|
}
|
|
31718
30275
|
|
|
30276
|
+
export type OrderUpsertWithoutRoutesInput = {
|
|
30277
|
+
update: XOR<OrderUpdateWithoutRoutesInput, OrderUncheckedUpdateWithoutRoutesInput>
|
|
30278
|
+
create: XOR<OrderCreateWithoutRoutesInput, OrderUncheckedCreateWithoutRoutesInput>
|
|
30279
|
+
where?: OrderWhereInput
|
|
30280
|
+
}
|
|
30281
|
+
|
|
30282
|
+
export type OrderUpdateToOneWithWhereWithoutRoutesInput = {
|
|
30283
|
+
where?: OrderWhereInput
|
|
30284
|
+
data: XOR<OrderUpdateWithoutRoutesInput, OrderUncheckedUpdateWithoutRoutesInput>
|
|
30285
|
+
}
|
|
30286
|
+
|
|
30287
|
+
export type OrderUpdateWithoutRoutesInput = {
|
|
30288
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
30289
|
+
reference?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30290
|
+
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
30291
|
+
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
30292
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30293
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30294
|
+
shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
|
|
30295
|
+
handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
|
|
30296
|
+
}
|
|
30297
|
+
|
|
30298
|
+
export type OrderUncheckedUpdateWithoutRoutesInput = {
|
|
30299
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
30300
|
+
reference?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30301
|
+
shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30302
|
+
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
30303
|
+
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
30304
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30305
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30306
|
+
handling_units?: HandlingUnitUncheckedUpdateManyWithoutOrderNestedInput
|
|
30307
|
+
}
|
|
30308
|
+
|
|
31719
30309
|
export type UserUpsertWithoutRoutesInput = {
|
|
31720
30310
|
update: XOR<UserUpdateWithoutRoutesInput, UserUncheckedUpdateWithoutRoutesInput>
|
|
31721
30311
|
create: XOR<UserCreateWithoutRoutesInput, UserUncheckedCreateWithoutRoutesInput>
|
|
@@ -31814,22 +30404,6 @@ export namespace Prisma {
|
|
|
31814
30404
|
data: XOR<RouteHandlingUnitUpdateManyMutationInput, RouteHandlingUnitUncheckedUpdateManyWithoutRouteInput>
|
|
31815
30405
|
}
|
|
31816
30406
|
|
|
31817
|
-
export type RouteOrdersUpsertWithWhereUniqueWithoutRouteInput = {
|
|
31818
|
-
where: RouteOrdersWhereUniqueInput
|
|
31819
|
-
update: XOR<RouteOrdersUpdateWithoutRouteInput, RouteOrdersUncheckedUpdateWithoutRouteInput>
|
|
31820
|
-
create: XOR<RouteOrdersCreateWithoutRouteInput, RouteOrdersUncheckedCreateWithoutRouteInput>
|
|
31821
|
-
}
|
|
31822
|
-
|
|
31823
|
-
export type RouteOrdersUpdateWithWhereUniqueWithoutRouteInput = {
|
|
31824
|
-
where: RouteOrdersWhereUniqueInput
|
|
31825
|
-
data: XOR<RouteOrdersUpdateWithoutRouteInput, RouteOrdersUncheckedUpdateWithoutRouteInput>
|
|
31826
|
-
}
|
|
31827
|
-
|
|
31828
|
-
export type RouteOrdersUpdateManyWithWhereWithoutRouteInput = {
|
|
31829
|
-
where: RouteOrdersScalarWhereInput
|
|
31830
|
-
data: XOR<RouteOrdersUpdateManyMutationInput, RouteOrdersUncheckedUpdateManyWithoutRouteInput>
|
|
31831
|
-
}
|
|
31832
|
-
|
|
31833
30407
|
export type AddressUpsertWithWhereUniqueWithoutRouteInput = {
|
|
31834
30408
|
where: AddressWhereUniqueInput
|
|
31835
30409
|
update: XOR<AddressUpdateWithoutRouteInput, AddressUncheckedUpdateWithoutRouteInput>
|
|
@@ -31874,26 +30448,24 @@ export namespace Prisma {
|
|
|
31874
30448
|
status?: $Enums.RouteStatus
|
|
31875
30449
|
started_at?: Date | string | null
|
|
31876
30450
|
completed_at?: Date | string | null
|
|
31877
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
31878
30451
|
created_at?: Date | string
|
|
31879
30452
|
updated_at?: Date | string
|
|
30453
|
+
order?: OrderCreateNestedOneWithoutRoutesInput
|
|
31880
30454
|
driver?: UserCreateNestedOneWithoutRoutesInput
|
|
31881
30455
|
vehicle?: VehicleCreateNestedOneWithoutRoutesInput
|
|
31882
|
-
route_orders?: RouteOrdersCreateNestedManyWithoutRouteInput
|
|
31883
30456
|
addresses?: AddressCreateNestedManyWithoutRouteInput
|
|
31884
30457
|
}
|
|
31885
30458
|
|
|
31886
30459
|
export type RouteUncheckedCreateWithoutRoute_handling_unitsInput = {
|
|
31887
30460
|
id?: string
|
|
30461
|
+
order_id?: string | null
|
|
31888
30462
|
driver_id?: string | null
|
|
31889
30463
|
vehicle_id?: string | null
|
|
31890
30464
|
status?: $Enums.RouteStatus
|
|
31891
30465
|
started_at?: Date | string | null
|
|
31892
30466
|
completed_at?: Date | string | null
|
|
31893
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
31894
30467
|
created_at?: Date | string
|
|
31895
30468
|
updated_at?: Date | string
|
|
31896
|
-
route_orders?: RouteOrdersUncheckedCreateNestedManyWithoutRouteInput
|
|
31897
30469
|
addresses?: AddressUncheckedCreateNestedManyWithoutRouteInput
|
|
31898
30470
|
}
|
|
31899
30471
|
|
|
@@ -31981,26 +30553,24 @@ export namespace Prisma {
|
|
|
31981
30553
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
31982
30554
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
31983
30555
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
31984
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
31985
30556
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
31986
30557
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30558
|
+
order?: OrderUpdateOneWithoutRoutesNestedInput
|
|
31987
30559
|
driver?: UserUpdateOneWithoutRoutesNestedInput
|
|
31988
30560
|
vehicle?: VehicleUpdateOneWithoutRoutesNestedInput
|
|
31989
|
-
route_orders?: RouteOrdersUpdateManyWithoutRouteNestedInput
|
|
31990
30561
|
addresses?: AddressUpdateManyWithoutRouteNestedInput
|
|
31991
30562
|
}
|
|
31992
30563
|
|
|
31993
30564
|
export type RouteUncheckedUpdateWithoutRoute_handling_unitsInput = {
|
|
31994
30565
|
id?: StringFieldUpdateOperationsInput | string
|
|
30566
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
31995
30567
|
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
31996
30568
|
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
31997
30569
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
31998
30570
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
31999
30571
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32000
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
32001
30572
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32002
30573
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32003
|
-
route_orders?: RouteOrdersUncheckedUpdateManyWithoutRouteNestedInput
|
|
32004
30574
|
addresses?: AddressUncheckedUpdateManyWithoutRouteNestedInput
|
|
32005
30575
|
}
|
|
32006
30576
|
|
|
@@ -32073,164 +30643,30 @@ export namespace Prisma {
|
|
|
32073
30643
|
address_handling_units?: AddressHandlingUnitUncheckedUpdateManyWithoutHandling_unitNestedInput
|
|
32074
30644
|
}
|
|
32075
30645
|
|
|
32076
|
-
export type RouteCreateWithoutRoute_ordersInput = {
|
|
32077
|
-
id?: string
|
|
32078
|
-
status?: $Enums.RouteStatus
|
|
32079
|
-
started_at?: Date | string | null
|
|
32080
|
-
completed_at?: Date | string | null
|
|
32081
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
32082
|
-
created_at?: Date | string
|
|
32083
|
-
updated_at?: Date | string
|
|
32084
|
-
driver?: UserCreateNestedOneWithoutRoutesInput
|
|
32085
|
-
vehicle?: VehicleCreateNestedOneWithoutRoutesInput
|
|
32086
|
-
route_handling_units?: RouteHandlingUnitCreateNestedManyWithoutRouteInput
|
|
32087
|
-
addresses?: AddressCreateNestedManyWithoutRouteInput
|
|
32088
|
-
}
|
|
32089
|
-
|
|
32090
|
-
export type RouteUncheckedCreateWithoutRoute_ordersInput = {
|
|
32091
|
-
id?: string
|
|
32092
|
-
driver_id?: string | null
|
|
32093
|
-
vehicle_id?: string | null
|
|
32094
|
-
status?: $Enums.RouteStatus
|
|
32095
|
-
started_at?: Date | string | null
|
|
32096
|
-
completed_at?: Date | string | null
|
|
32097
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
32098
|
-
created_at?: Date | string
|
|
32099
|
-
updated_at?: Date | string
|
|
32100
|
-
route_handling_units?: RouteHandlingUnitUncheckedCreateNestedManyWithoutRouteInput
|
|
32101
|
-
addresses?: AddressUncheckedCreateNestedManyWithoutRouteInput
|
|
32102
|
-
}
|
|
32103
|
-
|
|
32104
|
-
export type RouteCreateOrConnectWithoutRoute_ordersInput = {
|
|
32105
|
-
where: RouteWhereUniqueInput
|
|
32106
|
-
create: XOR<RouteCreateWithoutRoute_ordersInput, RouteUncheckedCreateWithoutRoute_ordersInput>
|
|
32107
|
-
}
|
|
32108
|
-
|
|
32109
|
-
export type OrderCreateWithoutRoute_ordersInput = {
|
|
32110
|
-
id?: string
|
|
32111
|
-
reference?: string | null
|
|
32112
|
-
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
32113
|
-
status?: $Enums.RouteStatus
|
|
32114
|
-
created_at?: Date | string
|
|
32115
|
-
updated_at?: Date | string
|
|
32116
|
-
shipper?: ClientCreateNestedOneWithoutOrders_as_shipperInput
|
|
32117
|
-
handling_units?: HandlingUnitCreateNestedManyWithoutOrderInput
|
|
32118
|
-
}
|
|
32119
|
-
|
|
32120
|
-
export type OrderUncheckedCreateWithoutRoute_ordersInput = {
|
|
32121
|
-
id?: string
|
|
32122
|
-
reference?: string | null
|
|
32123
|
-
shipper_id?: string | null
|
|
32124
|
-
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
32125
|
-
status?: $Enums.RouteStatus
|
|
32126
|
-
created_at?: Date | string
|
|
32127
|
-
updated_at?: Date | string
|
|
32128
|
-
handling_units?: HandlingUnitUncheckedCreateNestedManyWithoutOrderInput
|
|
32129
|
-
}
|
|
32130
|
-
|
|
32131
|
-
export type OrderCreateOrConnectWithoutRoute_ordersInput = {
|
|
32132
|
-
where: OrderWhereUniqueInput
|
|
32133
|
-
create: XOR<OrderCreateWithoutRoute_ordersInput, OrderUncheckedCreateWithoutRoute_ordersInput>
|
|
32134
|
-
}
|
|
32135
|
-
|
|
32136
|
-
export type RouteUpsertWithoutRoute_ordersInput = {
|
|
32137
|
-
update: XOR<RouteUpdateWithoutRoute_ordersInput, RouteUncheckedUpdateWithoutRoute_ordersInput>
|
|
32138
|
-
create: XOR<RouteCreateWithoutRoute_ordersInput, RouteUncheckedCreateWithoutRoute_ordersInput>
|
|
32139
|
-
where?: RouteWhereInput
|
|
32140
|
-
}
|
|
32141
|
-
|
|
32142
|
-
export type RouteUpdateToOneWithWhereWithoutRoute_ordersInput = {
|
|
32143
|
-
where?: RouteWhereInput
|
|
32144
|
-
data: XOR<RouteUpdateWithoutRoute_ordersInput, RouteUncheckedUpdateWithoutRoute_ordersInput>
|
|
32145
|
-
}
|
|
32146
|
-
|
|
32147
|
-
export type RouteUpdateWithoutRoute_ordersInput = {
|
|
32148
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
32149
|
-
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
32150
|
-
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32151
|
-
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32152
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
32153
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32154
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32155
|
-
driver?: UserUpdateOneWithoutRoutesNestedInput
|
|
32156
|
-
vehicle?: VehicleUpdateOneWithoutRoutesNestedInput
|
|
32157
|
-
route_handling_units?: RouteHandlingUnitUpdateManyWithoutRouteNestedInput
|
|
32158
|
-
addresses?: AddressUpdateManyWithoutRouteNestedInput
|
|
32159
|
-
}
|
|
32160
|
-
|
|
32161
|
-
export type RouteUncheckedUpdateWithoutRoute_ordersInput = {
|
|
32162
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
32163
|
-
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32164
|
-
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32165
|
-
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
32166
|
-
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32167
|
-
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32168
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
32169
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32170
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32171
|
-
route_handling_units?: RouteHandlingUnitUncheckedUpdateManyWithoutRouteNestedInput
|
|
32172
|
-
addresses?: AddressUncheckedUpdateManyWithoutRouteNestedInput
|
|
32173
|
-
}
|
|
32174
|
-
|
|
32175
|
-
export type OrderUpsertWithoutRoute_ordersInput = {
|
|
32176
|
-
update: XOR<OrderUpdateWithoutRoute_ordersInput, OrderUncheckedUpdateWithoutRoute_ordersInput>
|
|
32177
|
-
create: XOR<OrderCreateWithoutRoute_ordersInput, OrderUncheckedCreateWithoutRoute_ordersInput>
|
|
32178
|
-
where?: OrderWhereInput
|
|
32179
|
-
}
|
|
32180
|
-
|
|
32181
|
-
export type OrderUpdateToOneWithWhereWithoutRoute_ordersInput = {
|
|
32182
|
-
where?: OrderWhereInput
|
|
32183
|
-
data: XOR<OrderUpdateWithoutRoute_ordersInput, OrderUncheckedUpdateWithoutRoute_ordersInput>
|
|
32184
|
-
}
|
|
32185
|
-
|
|
32186
|
-
export type OrderUpdateWithoutRoute_ordersInput = {
|
|
32187
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
32188
|
-
reference?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32189
|
-
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
32190
|
-
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
32191
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32192
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32193
|
-
shipper?: ClientUpdateOneWithoutOrders_as_shipperNestedInput
|
|
32194
|
-
handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
|
|
32195
|
-
}
|
|
32196
|
-
|
|
32197
|
-
export type OrderUncheckedUpdateWithoutRoute_ordersInput = {
|
|
32198
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
32199
|
-
reference?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32200
|
-
shipper_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32201
|
-
attachments?: NullableJsonNullValueInput | InputJsonValue
|
|
32202
|
-
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
32203
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32204
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32205
|
-
handling_units?: HandlingUnitUncheckedUpdateManyWithoutOrderNestedInput
|
|
32206
|
-
}
|
|
32207
|
-
|
|
32208
30646
|
export type RouteCreateWithoutAddressesInput = {
|
|
32209
30647
|
id?: string
|
|
32210
30648
|
status?: $Enums.RouteStatus
|
|
32211
30649
|
started_at?: Date | string | null
|
|
32212
30650
|
completed_at?: Date | string | null
|
|
32213
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
32214
30651
|
created_at?: Date | string
|
|
32215
30652
|
updated_at?: Date | string
|
|
30653
|
+
order?: OrderCreateNestedOneWithoutRoutesInput
|
|
32216
30654
|
driver?: UserCreateNestedOneWithoutRoutesInput
|
|
32217
30655
|
vehicle?: VehicleCreateNestedOneWithoutRoutesInput
|
|
32218
30656
|
route_handling_units?: RouteHandlingUnitCreateNestedManyWithoutRouteInput
|
|
32219
|
-
route_orders?: RouteOrdersCreateNestedManyWithoutRouteInput
|
|
32220
30657
|
}
|
|
32221
30658
|
|
|
32222
30659
|
export type RouteUncheckedCreateWithoutAddressesInput = {
|
|
32223
30660
|
id?: string
|
|
30661
|
+
order_id?: string | null
|
|
32224
30662
|
driver_id?: string | null
|
|
32225
30663
|
vehicle_id?: string | null
|
|
32226
30664
|
status?: $Enums.RouteStatus
|
|
32227
30665
|
started_at?: Date | string | null
|
|
32228
30666
|
completed_at?: Date | string | null
|
|
32229
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
32230
30667
|
created_at?: Date | string
|
|
32231
30668
|
updated_at?: Date | string
|
|
32232
30669
|
route_handling_units?: RouteHandlingUnitUncheckedCreateNestedManyWithoutRouteInput
|
|
32233
|
-
route_orders?: RouteOrdersUncheckedCreateNestedManyWithoutRouteInput
|
|
32234
30670
|
}
|
|
32235
30671
|
|
|
32236
30672
|
export type RouteCreateOrConnectWithoutAddressesInput = {
|
|
@@ -32278,27 +30714,25 @@ export namespace Prisma {
|
|
|
32278
30714
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
32279
30715
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32280
30716
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32281
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
32282
30717
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32283
30718
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30719
|
+
order?: OrderUpdateOneWithoutRoutesNestedInput
|
|
32284
30720
|
driver?: UserUpdateOneWithoutRoutesNestedInput
|
|
32285
30721
|
vehicle?: VehicleUpdateOneWithoutRoutesNestedInput
|
|
32286
30722
|
route_handling_units?: RouteHandlingUnitUpdateManyWithoutRouteNestedInput
|
|
32287
|
-
route_orders?: RouteOrdersUpdateManyWithoutRouteNestedInput
|
|
32288
30723
|
}
|
|
32289
30724
|
|
|
32290
30725
|
export type RouteUncheckedUpdateWithoutAddressesInput = {
|
|
32291
30726
|
id?: StringFieldUpdateOperationsInput | string
|
|
30727
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32292
30728
|
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32293
30729
|
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
32294
30730
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
32295
30731
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32296
30732
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32297
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
32298
30733
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32299
30734
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32300
30735
|
route_handling_units?: RouteHandlingUnitUncheckedUpdateManyWithoutRouteNestedInput
|
|
32301
|
-
route_orders?: RouteOrdersUncheckedUpdateManyWithoutRouteNestedInput
|
|
32302
30736
|
}
|
|
32303
30737
|
|
|
32304
30738
|
export type AddressHandlingUnitUpsertWithWhereUniqueWithoutAddressInput = {
|
|
@@ -32701,7 +31135,7 @@ export namespace Prisma {
|
|
|
32701
31135
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32702
31136
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32703
31137
|
handling_units?: HandlingUnitUpdateManyWithoutOrderNestedInput
|
|
32704
|
-
|
|
31138
|
+
routes?: RouteUpdateManyWithoutOrderNestedInput
|
|
32705
31139
|
}
|
|
32706
31140
|
|
|
32707
31141
|
export type OrderUncheckedUpdateWithoutShipperInput = {
|
|
@@ -32712,7 +31146,7 @@ export namespace Prisma {
|
|
|
32712
31146
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32713
31147
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32714
31148
|
handling_units?: HandlingUnitUncheckedUpdateManyWithoutOrderNestedInput
|
|
32715
|
-
|
|
31149
|
+
routes?: RouteUncheckedUpdateManyWithoutOrderNestedInput
|
|
32716
31150
|
}
|
|
32717
31151
|
|
|
32718
31152
|
export type OrderUncheckedUpdateManyWithoutShipperInput = {
|
|
@@ -32836,9 +31270,13 @@ export namespace Prisma {
|
|
|
32836
31270
|
updated_at?: Date | string
|
|
32837
31271
|
}
|
|
32838
31272
|
|
|
32839
|
-
export type
|
|
31273
|
+
export type RouteCreateManyOrderInput = {
|
|
32840
31274
|
id?: string
|
|
32841
|
-
|
|
31275
|
+
driver_id?: string | null
|
|
31276
|
+
vehicle_id?: string | null
|
|
31277
|
+
status?: $Enums.RouteStatus
|
|
31278
|
+
started_at?: Date | string | null
|
|
31279
|
+
completed_at?: Date | string | null
|
|
32842
31280
|
created_at?: Date | string
|
|
32843
31281
|
updated_at?: Date | string
|
|
32844
31282
|
}
|
|
@@ -32928,23 +31366,39 @@ export namespace Prisma {
|
|
|
32928
31366
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32929
31367
|
}
|
|
32930
31368
|
|
|
32931
|
-
export type
|
|
31369
|
+
export type RouteUpdateWithoutOrderInput = {
|
|
32932
31370
|
id?: StringFieldUpdateOperationsInput | string
|
|
31371
|
+
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
31372
|
+
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
31373
|
+
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32933
31374
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32934
31375
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32935
|
-
|
|
31376
|
+
driver?: UserUpdateOneWithoutRoutesNestedInput
|
|
31377
|
+
vehicle?: VehicleUpdateOneWithoutRoutesNestedInput
|
|
31378
|
+
route_handling_units?: RouteHandlingUnitUpdateManyWithoutRouteNestedInput
|
|
31379
|
+
addresses?: AddressUpdateManyWithoutRouteNestedInput
|
|
32936
31380
|
}
|
|
32937
31381
|
|
|
32938
|
-
export type
|
|
31382
|
+
export type RouteUncheckedUpdateWithoutOrderInput = {
|
|
32939
31383
|
id?: StringFieldUpdateOperationsInput | string
|
|
32940
|
-
|
|
31384
|
+
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
31385
|
+
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
31386
|
+
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
31387
|
+
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
31388
|
+
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32941
31389
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32942
31390
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
31391
|
+
route_handling_units?: RouteHandlingUnitUncheckedUpdateManyWithoutRouteNestedInput
|
|
31392
|
+
addresses?: AddressUncheckedUpdateManyWithoutRouteNestedInput
|
|
32943
31393
|
}
|
|
32944
31394
|
|
|
32945
|
-
export type
|
|
31395
|
+
export type RouteUncheckedUpdateManyWithoutOrderInput = {
|
|
32946
31396
|
id?: StringFieldUpdateOperationsInput | string
|
|
32947
|
-
|
|
31397
|
+
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
31398
|
+
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
31399
|
+
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
31400
|
+
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
31401
|
+
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
32948
31402
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32949
31403
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32950
31404
|
}
|
|
@@ -33165,11 +31619,11 @@ export namespace Prisma {
|
|
|
33165
31619
|
|
|
33166
31620
|
export type RouteCreateManyDriverInput = {
|
|
33167
31621
|
id?: string
|
|
31622
|
+
order_id?: string | null
|
|
33168
31623
|
vehicle_id?: string | null
|
|
33169
31624
|
status?: $Enums.RouteStatus
|
|
33170
31625
|
started_at?: Date | string | null
|
|
33171
31626
|
completed_at?: Date | string | null
|
|
33172
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
33173
31627
|
created_at?: Date | string
|
|
33174
31628
|
updated_at?: Date | string
|
|
33175
31629
|
}
|
|
@@ -33197,36 +31651,34 @@ export namespace Prisma {
|
|
|
33197
31651
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
33198
31652
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33199
31653
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33200
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
33201
31654
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33202
31655
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
31656
|
+
order?: OrderUpdateOneWithoutRoutesNestedInput
|
|
33203
31657
|
vehicle?: VehicleUpdateOneWithoutRoutesNestedInput
|
|
33204
31658
|
route_handling_units?: RouteHandlingUnitUpdateManyWithoutRouteNestedInput
|
|
33205
|
-
route_orders?: RouteOrdersUpdateManyWithoutRouteNestedInput
|
|
33206
31659
|
addresses?: AddressUpdateManyWithoutRouteNestedInput
|
|
33207
31660
|
}
|
|
33208
31661
|
|
|
33209
31662
|
export type RouteUncheckedUpdateWithoutDriverInput = {
|
|
33210
31663
|
id?: StringFieldUpdateOperationsInput | string
|
|
31664
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33211
31665
|
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33212
31666
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
33213
31667
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33214
31668
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33215
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
33216
31669
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33217
31670
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33218
31671
|
route_handling_units?: RouteHandlingUnitUncheckedUpdateManyWithoutRouteNestedInput
|
|
33219
|
-
route_orders?: RouteOrdersUncheckedUpdateManyWithoutRouteNestedInput
|
|
33220
31672
|
addresses?: AddressUncheckedUpdateManyWithoutRouteNestedInput
|
|
33221
31673
|
}
|
|
33222
31674
|
|
|
33223
31675
|
export type RouteUncheckedUpdateManyWithoutDriverInput = {
|
|
33224
31676
|
id?: StringFieldUpdateOperationsInput | string
|
|
31677
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33225
31678
|
vehicle_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33226
31679
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
33227
31680
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33228
31681
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33229
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
33230
31682
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33231
31683
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33232
31684
|
}
|
|
@@ -33461,11 +31913,11 @@ export namespace Prisma {
|
|
|
33461
31913
|
|
|
33462
31914
|
export type RouteCreateManyVehicleInput = {
|
|
33463
31915
|
id?: string
|
|
31916
|
+
order_id?: string | null
|
|
33464
31917
|
driver_id?: string | null
|
|
33465
31918
|
status?: $Enums.RouteStatus
|
|
33466
31919
|
started_at?: Date | string | null
|
|
33467
31920
|
completed_at?: Date | string | null
|
|
33468
|
-
type_of_route?: $Enums.TypeOfRoutes | null
|
|
33469
31921
|
created_at?: Date | string
|
|
33470
31922
|
updated_at?: Date | string
|
|
33471
31923
|
}
|
|
@@ -33475,36 +31927,34 @@ export namespace Prisma {
|
|
|
33475
31927
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
33476
31928
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33477
31929
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33478
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
33479
31930
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33480
31931
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
31932
|
+
order?: OrderUpdateOneWithoutRoutesNestedInput
|
|
33481
31933
|
driver?: UserUpdateOneWithoutRoutesNestedInput
|
|
33482
31934
|
route_handling_units?: RouteHandlingUnitUpdateManyWithoutRouteNestedInput
|
|
33483
|
-
route_orders?: RouteOrdersUpdateManyWithoutRouteNestedInput
|
|
33484
31935
|
addresses?: AddressUpdateManyWithoutRouteNestedInput
|
|
33485
31936
|
}
|
|
33486
31937
|
|
|
33487
31938
|
export type RouteUncheckedUpdateWithoutVehicleInput = {
|
|
33488
31939
|
id?: StringFieldUpdateOperationsInput | string
|
|
31940
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33489
31941
|
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33490
31942
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
33491
31943
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33492
31944
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33493
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
33494
31945
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33495
31946
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33496
31947
|
route_handling_units?: RouteHandlingUnitUncheckedUpdateManyWithoutRouteNestedInput
|
|
33497
|
-
route_orders?: RouteOrdersUncheckedUpdateManyWithoutRouteNestedInput
|
|
33498
31948
|
addresses?: AddressUncheckedUpdateManyWithoutRouteNestedInput
|
|
33499
31949
|
}
|
|
33500
31950
|
|
|
33501
31951
|
export type RouteUncheckedUpdateManyWithoutVehicleInput = {
|
|
33502
31952
|
id?: StringFieldUpdateOperationsInput | string
|
|
31953
|
+
order_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33503
31954
|
driver_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
33504
31955
|
status?: EnumRouteStatusFieldUpdateOperationsInput | $Enums.RouteStatus
|
|
33505
31956
|
started_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33506
31957
|
completed_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
33507
|
-
type_of_route?: NullableEnumTypeOfRoutesFieldUpdateOperationsInput | $Enums.TypeOfRoutes | null
|
|
33508
31958
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33509
31959
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33510
31960
|
}
|
|
@@ -33516,13 +31966,6 @@ export namespace Prisma {
|
|
|
33516
31966
|
updated_at?: Date | string
|
|
33517
31967
|
}
|
|
33518
31968
|
|
|
33519
|
-
export type RouteOrdersCreateManyRouteInput = {
|
|
33520
|
-
id?: string
|
|
33521
|
-
order_id: string
|
|
33522
|
-
created_at?: Date | string
|
|
33523
|
-
updated_at?: Date | string
|
|
33524
|
-
}
|
|
33525
|
-
|
|
33526
31969
|
export type AddressCreateManyRouteInput = {
|
|
33527
31970
|
id?: string
|
|
33528
31971
|
address_type?: $Enums.AddressType
|
|
@@ -33563,27 +32006,6 @@ export namespace Prisma {
|
|
|
33563
32006
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33564
32007
|
}
|
|
33565
32008
|
|
|
33566
|
-
export type RouteOrdersUpdateWithoutRouteInput = {
|
|
33567
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
33568
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33569
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33570
|
-
order?: OrderUpdateOneRequiredWithoutRoute_ordersNestedInput
|
|
33571
|
-
}
|
|
33572
|
-
|
|
33573
|
-
export type RouteOrdersUncheckedUpdateWithoutRouteInput = {
|
|
33574
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
33575
|
-
order_id?: StringFieldUpdateOperationsInput | string
|
|
33576
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33577
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33578
|
-
}
|
|
33579
|
-
|
|
33580
|
-
export type RouteOrdersUncheckedUpdateManyWithoutRouteInput = {
|
|
33581
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
33582
|
-
order_id?: StringFieldUpdateOperationsInput | string
|
|
33583
|
-
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33584
|
-
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
33585
|
-
}
|
|
33586
|
-
|
|
33587
32009
|
export type AddressUpdateWithoutRouteInput = {
|
|
33588
32010
|
id?: StringFieldUpdateOperationsInput | string
|
|
33589
32011
|
address_type?: EnumAddressTypeFieldUpdateOperationsInput | $Enums.AddressType
|