@sagebox-be/prisma-inventory 0.0.2 → 0.0.3
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/package.json +1 -1
- package/prisma/client/edge.js +6 -5
- package/prisma/client/index-browser.js +3 -2
- package/prisma/client/index.d.ts +122 -86
- package/prisma/client/index.js +6 -5
- package/prisma/client/package.json +1 -1
- package/prisma/client/schema.prisma +17 -16
- package/prisma/client/wasm.js +6 -5
package/prisma/client/index.d.ts
CHANGED
|
@@ -3825,7 +3825,7 @@ export namespace Prisma {
|
|
|
3825
3825
|
id: string | null
|
|
3826
3826
|
warehouseId: string | null
|
|
3827
3827
|
orderId: string | null
|
|
3828
|
-
|
|
3828
|
+
skuId: string | null
|
|
3829
3829
|
quantity: number | null
|
|
3830
3830
|
status: string | null
|
|
3831
3831
|
expiredAt: Date | null
|
|
@@ -3837,7 +3837,7 @@ export namespace Prisma {
|
|
|
3837
3837
|
id: string | null
|
|
3838
3838
|
warehouseId: string | null
|
|
3839
3839
|
orderId: string | null
|
|
3840
|
-
|
|
3840
|
+
skuId: string | null
|
|
3841
3841
|
quantity: number | null
|
|
3842
3842
|
status: string | null
|
|
3843
3843
|
expiredAt: Date | null
|
|
@@ -3849,7 +3849,7 @@ export namespace Prisma {
|
|
|
3849
3849
|
id: number
|
|
3850
3850
|
warehouseId: number
|
|
3851
3851
|
orderId: number
|
|
3852
|
-
|
|
3852
|
+
skuId: number
|
|
3853
3853
|
quantity: number
|
|
3854
3854
|
status: number
|
|
3855
3855
|
expiredAt: number
|
|
@@ -3871,7 +3871,7 @@ export namespace Prisma {
|
|
|
3871
3871
|
id?: true
|
|
3872
3872
|
warehouseId?: true
|
|
3873
3873
|
orderId?: true
|
|
3874
|
-
|
|
3874
|
+
skuId?: true
|
|
3875
3875
|
quantity?: true
|
|
3876
3876
|
status?: true
|
|
3877
3877
|
expiredAt?: true
|
|
@@ -3883,7 +3883,7 @@ export namespace Prisma {
|
|
|
3883
3883
|
id?: true
|
|
3884
3884
|
warehouseId?: true
|
|
3885
3885
|
orderId?: true
|
|
3886
|
-
|
|
3886
|
+
skuId?: true
|
|
3887
3887
|
quantity?: true
|
|
3888
3888
|
status?: true
|
|
3889
3889
|
expiredAt?: true
|
|
@@ -3895,7 +3895,7 @@ export namespace Prisma {
|
|
|
3895
3895
|
id?: true
|
|
3896
3896
|
warehouseId?: true
|
|
3897
3897
|
orderId?: true
|
|
3898
|
-
|
|
3898
|
+
skuId?: true
|
|
3899
3899
|
quantity?: true
|
|
3900
3900
|
status?: true
|
|
3901
3901
|
expiredAt?: true
|
|
@@ -3994,7 +3994,7 @@ export namespace Prisma {
|
|
|
3994
3994
|
id: string
|
|
3995
3995
|
warehouseId: string
|
|
3996
3996
|
orderId: string
|
|
3997
|
-
|
|
3997
|
+
skuId: string
|
|
3998
3998
|
quantity: number
|
|
3999
3999
|
status: string
|
|
4000
4000
|
expiredAt: Date
|
|
@@ -4025,7 +4025,7 @@ export namespace Prisma {
|
|
|
4025
4025
|
id?: boolean
|
|
4026
4026
|
warehouseId?: boolean
|
|
4027
4027
|
orderId?: boolean
|
|
4028
|
-
|
|
4028
|
+
skuId?: boolean
|
|
4029
4029
|
quantity?: boolean
|
|
4030
4030
|
status?: boolean
|
|
4031
4031
|
expiredAt?: boolean
|
|
@@ -4038,7 +4038,7 @@ export namespace Prisma {
|
|
|
4038
4038
|
id?: boolean
|
|
4039
4039
|
warehouseId?: boolean
|
|
4040
4040
|
orderId?: boolean
|
|
4041
|
-
|
|
4041
|
+
skuId?: boolean
|
|
4042
4042
|
quantity?: boolean
|
|
4043
4043
|
status?: boolean
|
|
4044
4044
|
expiredAt?: boolean
|
|
@@ -4051,7 +4051,7 @@ export namespace Prisma {
|
|
|
4051
4051
|
id?: boolean
|
|
4052
4052
|
warehouseId?: boolean
|
|
4053
4053
|
orderId?: boolean
|
|
4054
|
-
|
|
4054
|
+
skuId?: boolean
|
|
4055
4055
|
quantity?: boolean
|
|
4056
4056
|
status?: boolean
|
|
4057
4057
|
expiredAt?: boolean
|
|
@@ -4064,7 +4064,7 @@ export namespace Prisma {
|
|
|
4064
4064
|
id?: boolean
|
|
4065
4065
|
warehouseId?: boolean
|
|
4066
4066
|
orderId?: boolean
|
|
4067
|
-
|
|
4067
|
+
skuId?: boolean
|
|
4068
4068
|
quantity?: boolean
|
|
4069
4069
|
status?: boolean
|
|
4070
4070
|
expiredAt?: boolean
|
|
@@ -4072,7 +4072,7 @@ export namespace Prisma {
|
|
|
4072
4072
|
updatedAt?: boolean
|
|
4073
4073
|
}
|
|
4074
4074
|
|
|
4075
|
-
export type InventoryReservationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "warehouseId" | "orderId" | "
|
|
4075
|
+
export type InventoryReservationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "warehouseId" | "orderId" | "skuId" | "quantity" | "status" | "expiredAt" | "createdAt" | "updatedAt", ExtArgs["result"]["inventoryReservation"]>
|
|
4076
4076
|
export type InventoryReservationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
4077
4077
|
warehouse?: boolean | WarehouseDefaultArgs<ExtArgs>
|
|
4078
4078
|
}
|
|
@@ -4092,7 +4092,7 @@ export namespace Prisma {
|
|
|
4092
4092
|
id: string
|
|
4093
4093
|
warehouseId: string
|
|
4094
4094
|
orderId: string
|
|
4095
|
-
|
|
4095
|
+
skuId: string
|
|
4096
4096
|
quantity: number
|
|
4097
4097
|
status: string
|
|
4098
4098
|
expiredAt: Date
|
|
@@ -4525,7 +4525,7 @@ export namespace Prisma {
|
|
|
4525
4525
|
readonly id: FieldRef<"InventoryReservation", 'String'>
|
|
4526
4526
|
readonly warehouseId: FieldRef<"InventoryReservation", 'String'>
|
|
4527
4527
|
readonly orderId: FieldRef<"InventoryReservation", 'String'>
|
|
4528
|
-
readonly
|
|
4528
|
+
readonly skuId: FieldRef<"InventoryReservation", 'String'>
|
|
4529
4529
|
readonly quantity: FieldRef<"InventoryReservation", 'Int'>
|
|
4530
4530
|
readonly status: FieldRef<"InventoryReservation", 'String'>
|
|
4531
4531
|
readonly expiredAt: FieldRef<"InventoryReservation", 'DateTime'>
|
|
@@ -4969,8 +4969,9 @@ export namespace Prisma {
|
|
|
4969
4969
|
|
|
4970
4970
|
export type InventoryLedgerMinAggregateOutputType = {
|
|
4971
4971
|
id: string | null
|
|
4972
|
+
inventoryItemId: string | null
|
|
4972
4973
|
warehouseId: string | null
|
|
4973
|
-
|
|
4974
|
+
skuId: string | null
|
|
4974
4975
|
type: string | null
|
|
4975
4976
|
amount: number | null
|
|
4976
4977
|
balanceAfter: number | null
|
|
@@ -4982,8 +4983,9 @@ export namespace Prisma {
|
|
|
4982
4983
|
|
|
4983
4984
|
export type InventoryLedgerMaxAggregateOutputType = {
|
|
4984
4985
|
id: string | null
|
|
4986
|
+
inventoryItemId: string | null
|
|
4985
4987
|
warehouseId: string | null
|
|
4986
|
-
|
|
4988
|
+
skuId: string | null
|
|
4987
4989
|
type: string | null
|
|
4988
4990
|
amount: number | null
|
|
4989
4991
|
balanceAfter: number | null
|
|
@@ -4995,8 +4997,9 @@ export namespace Prisma {
|
|
|
4995
4997
|
|
|
4996
4998
|
export type InventoryLedgerCountAggregateOutputType = {
|
|
4997
4999
|
id: number
|
|
5000
|
+
inventoryItemId: number
|
|
4998
5001
|
warehouseId: number
|
|
4999
|
-
|
|
5002
|
+
skuId: number
|
|
5000
5003
|
type: number
|
|
5001
5004
|
amount: number
|
|
5002
5005
|
balanceAfter: number
|
|
@@ -5020,8 +5023,9 @@ export namespace Prisma {
|
|
|
5020
5023
|
|
|
5021
5024
|
export type InventoryLedgerMinAggregateInputType = {
|
|
5022
5025
|
id?: true
|
|
5026
|
+
inventoryItemId?: true
|
|
5023
5027
|
warehouseId?: true
|
|
5024
|
-
|
|
5028
|
+
skuId?: true
|
|
5025
5029
|
type?: true
|
|
5026
5030
|
amount?: true
|
|
5027
5031
|
balanceAfter?: true
|
|
@@ -5033,8 +5037,9 @@ export namespace Prisma {
|
|
|
5033
5037
|
|
|
5034
5038
|
export type InventoryLedgerMaxAggregateInputType = {
|
|
5035
5039
|
id?: true
|
|
5040
|
+
inventoryItemId?: true
|
|
5036
5041
|
warehouseId?: true
|
|
5037
|
-
|
|
5042
|
+
skuId?: true
|
|
5038
5043
|
type?: true
|
|
5039
5044
|
amount?: true
|
|
5040
5045
|
balanceAfter?: true
|
|
@@ -5046,8 +5051,9 @@ export namespace Prisma {
|
|
|
5046
5051
|
|
|
5047
5052
|
export type InventoryLedgerCountAggregateInputType = {
|
|
5048
5053
|
id?: true
|
|
5054
|
+
inventoryItemId?: true
|
|
5049
5055
|
warehouseId?: true
|
|
5050
|
-
|
|
5056
|
+
skuId?: true
|
|
5051
5057
|
type?: true
|
|
5052
5058
|
amount?: true
|
|
5053
5059
|
balanceAfter?: true
|
|
@@ -5146,8 +5152,9 @@ export namespace Prisma {
|
|
|
5146
5152
|
|
|
5147
5153
|
export type InventoryLedgerGroupByOutputType = {
|
|
5148
5154
|
id: string
|
|
5155
|
+
inventoryItemId: string
|
|
5149
5156
|
warehouseId: string
|
|
5150
|
-
|
|
5157
|
+
skuId: string
|
|
5151
5158
|
type: string
|
|
5152
5159
|
amount: number
|
|
5153
5160
|
balanceAfter: number
|
|
@@ -5178,8 +5185,9 @@ export namespace Prisma {
|
|
|
5178
5185
|
|
|
5179
5186
|
export type InventoryLedgerSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
5180
5187
|
id?: boolean
|
|
5188
|
+
inventoryItemId?: boolean
|
|
5181
5189
|
warehouseId?: boolean
|
|
5182
|
-
|
|
5190
|
+
skuId?: boolean
|
|
5183
5191
|
type?: boolean
|
|
5184
5192
|
amount?: boolean
|
|
5185
5193
|
balanceAfter?: boolean
|
|
@@ -5192,8 +5200,9 @@ export namespace Prisma {
|
|
|
5192
5200
|
|
|
5193
5201
|
export type InventoryLedgerSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
5194
5202
|
id?: boolean
|
|
5203
|
+
inventoryItemId?: boolean
|
|
5195
5204
|
warehouseId?: boolean
|
|
5196
|
-
|
|
5205
|
+
skuId?: boolean
|
|
5197
5206
|
type?: boolean
|
|
5198
5207
|
amount?: boolean
|
|
5199
5208
|
balanceAfter?: boolean
|
|
@@ -5206,8 +5215,9 @@ export namespace Prisma {
|
|
|
5206
5215
|
|
|
5207
5216
|
export type InventoryLedgerSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
5208
5217
|
id?: boolean
|
|
5218
|
+
inventoryItemId?: boolean
|
|
5209
5219
|
warehouseId?: boolean
|
|
5210
|
-
|
|
5220
|
+
skuId?: boolean
|
|
5211
5221
|
type?: boolean
|
|
5212
5222
|
amount?: boolean
|
|
5213
5223
|
balanceAfter?: boolean
|
|
@@ -5220,8 +5230,9 @@ export namespace Prisma {
|
|
|
5220
5230
|
|
|
5221
5231
|
export type InventoryLedgerSelectScalar = {
|
|
5222
5232
|
id?: boolean
|
|
5233
|
+
inventoryItemId?: boolean
|
|
5223
5234
|
warehouseId?: boolean
|
|
5224
|
-
|
|
5235
|
+
skuId?: boolean
|
|
5225
5236
|
type?: boolean
|
|
5226
5237
|
amount?: boolean
|
|
5227
5238
|
balanceAfter?: boolean
|
|
@@ -5231,7 +5242,7 @@ export namespace Prisma {
|
|
|
5231
5242
|
updatedAt?: boolean
|
|
5232
5243
|
}
|
|
5233
5244
|
|
|
5234
|
-
export type InventoryLedgerOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "warehouseId" | "
|
|
5245
|
+
export type InventoryLedgerOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "inventoryItemId" | "warehouseId" | "skuId" | "type" | "amount" | "balanceAfter" | "referenceId" | "note" | "createdAt" | "updatedAt", ExtArgs["result"]["inventoryLedger"]>
|
|
5235
5246
|
export type InventoryLedgerInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
5236
5247
|
warehouse?: boolean | WarehouseDefaultArgs<ExtArgs>
|
|
5237
5248
|
}
|
|
@@ -5249,8 +5260,9 @@ export namespace Prisma {
|
|
|
5249
5260
|
}
|
|
5250
5261
|
scalars: $Extensions.GetPayloadResult<{
|
|
5251
5262
|
id: string
|
|
5263
|
+
inventoryItemId: string
|
|
5252
5264
|
warehouseId: string
|
|
5253
|
-
|
|
5265
|
+
skuId: string
|
|
5254
5266
|
type: string
|
|
5255
5267
|
amount: number
|
|
5256
5268
|
balanceAfter: number
|
|
@@ -5683,8 +5695,9 @@ export namespace Prisma {
|
|
|
5683
5695
|
*/
|
|
5684
5696
|
interface InventoryLedgerFieldRefs {
|
|
5685
5697
|
readonly id: FieldRef<"InventoryLedger", 'String'>
|
|
5698
|
+
readonly inventoryItemId: FieldRef<"InventoryLedger", 'String'>
|
|
5686
5699
|
readonly warehouseId: FieldRef<"InventoryLedger", 'String'>
|
|
5687
|
-
readonly
|
|
5700
|
+
readonly skuId: FieldRef<"InventoryLedger", 'String'>
|
|
5688
5701
|
readonly type: FieldRef<"InventoryLedger", 'String'>
|
|
5689
5702
|
readonly amount: FieldRef<"InventoryLedger", 'Int'>
|
|
5690
5703
|
readonly balanceAfter: FieldRef<"InventoryLedger", 'Int'>
|
|
@@ -7232,7 +7245,7 @@ export namespace Prisma {
|
|
|
7232
7245
|
id: 'id',
|
|
7233
7246
|
warehouseId: 'warehouseId',
|
|
7234
7247
|
orderId: 'orderId',
|
|
7235
|
-
|
|
7248
|
+
skuId: 'skuId',
|
|
7236
7249
|
quantity: 'quantity',
|
|
7237
7250
|
status: 'status',
|
|
7238
7251
|
expiredAt: 'expiredAt',
|
|
@@ -7245,8 +7258,9 @@ export namespace Prisma {
|
|
|
7245
7258
|
|
|
7246
7259
|
export const InventoryLedgerScalarFieldEnum: {
|
|
7247
7260
|
id: 'id',
|
|
7261
|
+
inventoryItemId: 'inventoryItemId',
|
|
7248
7262
|
warehouseId: 'warehouseId',
|
|
7249
|
-
|
|
7263
|
+
skuId: 'skuId',
|
|
7250
7264
|
type: 'type',
|
|
7251
7265
|
amount: 'amount',
|
|
7252
7266
|
balanceAfter: 'balanceAfter',
|
|
@@ -7492,7 +7506,7 @@ export namespace Prisma {
|
|
|
7492
7506
|
id?: UuidFilter<"InventoryItem"> | string
|
|
7493
7507
|
productId?: UuidFilter<"InventoryItem"> | string
|
|
7494
7508
|
warehouseId?: UuidFilter<"InventoryItem"> | string
|
|
7495
|
-
skuId?:
|
|
7509
|
+
skuId?: UuidFilter<"InventoryItem"> | string
|
|
7496
7510
|
quantityOnHand?: IntFilter<"InventoryItem"> | number
|
|
7497
7511
|
quantityReserved?: IntFilter<"InventoryItem"> | number
|
|
7498
7512
|
version?: IntFilter<"InventoryItem"> | number
|
|
@@ -7522,7 +7536,7 @@ export namespace Prisma {
|
|
|
7522
7536
|
NOT?: InventoryItemWhereInput | InventoryItemWhereInput[]
|
|
7523
7537
|
productId?: UuidFilter<"InventoryItem"> | string
|
|
7524
7538
|
warehouseId?: UuidFilter<"InventoryItem"> | string
|
|
7525
|
-
skuId?:
|
|
7539
|
+
skuId?: UuidFilter<"InventoryItem"> | string
|
|
7526
7540
|
quantityOnHand?: IntFilter<"InventoryItem"> | number
|
|
7527
7541
|
quantityReserved?: IntFilter<"InventoryItem"> | number
|
|
7528
7542
|
version?: IntFilter<"InventoryItem"> | number
|
|
@@ -7555,7 +7569,7 @@ export namespace Prisma {
|
|
|
7555
7569
|
id?: UuidWithAggregatesFilter<"InventoryItem"> | string
|
|
7556
7570
|
productId?: UuidWithAggregatesFilter<"InventoryItem"> | string
|
|
7557
7571
|
warehouseId?: UuidWithAggregatesFilter<"InventoryItem"> | string
|
|
7558
|
-
skuId?:
|
|
7572
|
+
skuId?: UuidWithAggregatesFilter<"InventoryItem"> | string
|
|
7559
7573
|
quantityOnHand?: IntWithAggregatesFilter<"InventoryItem"> | number
|
|
7560
7574
|
quantityReserved?: IntWithAggregatesFilter<"InventoryItem"> | number
|
|
7561
7575
|
version?: IntWithAggregatesFilter<"InventoryItem"> | number
|
|
@@ -7569,8 +7583,8 @@ export namespace Prisma {
|
|
|
7569
7583
|
NOT?: InventoryReservationWhereInput | InventoryReservationWhereInput[]
|
|
7570
7584
|
id?: UuidFilter<"InventoryReservation"> | string
|
|
7571
7585
|
warehouseId?: UuidFilter<"InventoryReservation"> | string
|
|
7572
|
-
orderId?:
|
|
7573
|
-
|
|
7586
|
+
orderId?: UuidFilter<"InventoryReservation"> | string
|
|
7587
|
+
skuId?: UuidFilter<"InventoryReservation"> | string
|
|
7574
7588
|
quantity?: IntFilter<"InventoryReservation"> | number
|
|
7575
7589
|
status?: StringFilter<"InventoryReservation"> | string
|
|
7576
7590
|
expiredAt?: DateTimeFilter<"InventoryReservation"> | Date | string
|
|
@@ -7583,7 +7597,7 @@ export namespace Prisma {
|
|
|
7583
7597
|
id?: SortOrder
|
|
7584
7598
|
warehouseId?: SortOrder
|
|
7585
7599
|
orderId?: SortOrder
|
|
7586
|
-
|
|
7600
|
+
skuId?: SortOrder
|
|
7587
7601
|
quantity?: SortOrder
|
|
7588
7602
|
status?: SortOrder
|
|
7589
7603
|
expiredAt?: SortOrder
|
|
@@ -7594,26 +7608,26 @@ export namespace Prisma {
|
|
|
7594
7608
|
|
|
7595
7609
|
export type InventoryReservationWhereUniqueInput = Prisma.AtLeast<{
|
|
7596
7610
|
id?: string
|
|
7597
|
-
|
|
7611
|
+
orderId_skuId?: InventoryReservationOrderIdSkuIdCompoundUniqueInput
|
|
7598
7612
|
AND?: InventoryReservationWhereInput | InventoryReservationWhereInput[]
|
|
7599
7613
|
OR?: InventoryReservationWhereInput[]
|
|
7600
7614
|
NOT?: InventoryReservationWhereInput | InventoryReservationWhereInput[]
|
|
7601
7615
|
warehouseId?: UuidFilter<"InventoryReservation"> | string
|
|
7602
|
-
orderId?:
|
|
7603
|
-
|
|
7616
|
+
orderId?: UuidFilter<"InventoryReservation"> | string
|
|
7617
|
+
skuId?: UuidFilter<"InventoryReservation"> | string
|
|
7604
7618
|
quantity?: IntFilter<"InventoryReservation"> | number
|
|
7605
7619
|
status?: StringFilter<"InventoryReservation"> | string
|
|
7606
7620
|
expiredAt?: DateTimeFilter<"InventoryReservation"> | Date | string
|
|
7607
7621
|
createdAt?: DateTimeFilter<"InventoryReservation"> | Date | string
|
|
7608
7622
|
updatedAt?: DateTimeFilter<"InventoryReservation"> | Date | string
|
|
7609
7623
|
warehouse?: XOR<WarehouseScalarRelationFilter, WarehouseWhereInput>
|
|
7610
|
-
}, "id" | "
|
|
7624
|
+
}, "id" | "orderId_skuId">
|
|
7611
7625
|
|
|
7612
7626
|
export type InventoryReservationOrderByWithAggregationInput = {
|
|
7613
7627
|
id?: SortOrder
|
|
7614
7628
|
warehouseId?: SortOrder
|
|
7615
7629
|
orderId?: SortOrder
|
|
7616
|
-
|
|
7630
|
+
skuId?: SortOrder
|
|
7617
7631
|
quantity?: SortOrder
|
|
7618
7632
|
status?: SortOrder
|
|
7619
7633
|
expiredAt?: SortOrder
|
|
@@ -7632,8 +7646,8 @@ export namespace Prisma {
|
|
|
7632
7646
|
NOT?: InventoryReservationScalarWhereWithAggregatesInput | InventoryReservationScalarWhereWithAggregatesInput[]
|
|
7633
7647
|
id?: UuidWithAggregatesFilter<"InventoryReservation"> | string
|
|
7634
7648
|
warehouseId?: UuidWithAggregatesFilter<"InventoryReservation"> | string
|
|
7635
|
-
orderId?:
|
|
7636
|
-
|
|
7649
|
+
orderId?: UuidWithAggregatesFilter<"InventoryReservation"> | string
|
|
7650
|
+
skuId?: UuidWithAggregatesFilter<"InventoryReservation"> | string
|
|
7637
7651
|
quantity?: IntWithAggregatesFilter<"InventoryReservation"> | number
|
|
7638
7652
|
status?: StringWithAggregatesFilter<"InventoryReservation"> | string
|
|
7639
7653
|
expiredAt?: DateTimeWithAggregatesFilter<"InventoryReservation"> | Date | string
|
|
@@ -7646,8 +7660,9 @@ export namespace Prisma {
|
|
|
7646
7660
|
OR?: InventoryLedgerWhereInput[]
|
|
7647
7661
|
NOT?: InventoryLedgerWhereInput | InventoryLedgerWhereInput[]
|
|
7648
7662
|
id?: UuidFilter<"InventoryLedger"> | string
|
|
7663
|
+
inventoryItemId?: UuidFilter<"InventoryLedger"> | string
|
|
7649
7664
|
warehouseId?: UuidFilter<"InventoryLedger"> | string
|
|
7650
|
-
|
|
7665
|
+
skuId?: UuidFilter<"InventoryLedger"> | string
|
|
7651
7666
|
type?: StringFilter<"InventoryLedger"> | string
|
|
7652
7667
|
amount?: IntFilter<"InventoryLedger"> | number
|
|
7653
7668
|
balanceAfter?: IntFilter<"InventoryLedger"> | number
|
|
@@ -7660,8 +7675,9 @@ export namespace Prisma {
|
|
|
7660
7675
|
|
|
7661
7676
|
export type InventoryLedgerOrderByWithRelationInput = {
|
|
7662
7677
|
id?: SortOrder
|
|
7678
|
+
inventoryItemId?: SortOrder
|
|
7663
7679
|
warehouseId?: SortOrder
|
|
7664
|
-
|
|
7680
|
+
skuId?: SortOrder
|
|
7665
7681
|
type?: SortOrder
|
|
7666
7682
|
amount?: SortOrder
|
|
7667
7683
|
balanceAfter?: SortOrder
|
|
@@ -7677,8 +7693,9 @@ export namespace Prisma {
|
|
|
7677
7693
|
AND?: InventoryLedgerWhereInput | InventoryLedgerWhereInput[]
|
|
7678
7694
|
OR?: InventoryLedgerWhereInput[]
|
|
7679
7695
|
NOT?: InventoryLedgerWhereInput | InventoryLedgerWhereInput[]
|
|
7696
|
+
inventoryItemId?: UuidFilter<"InventoryLedger"> | string
|
|
7680
7697
|
warehouseId?: UuidFilter<"InventoryLedger"> | string
|
|
7681
|
-
|
|
7698
|
+
skuId?: UuidFilter<"InventoryLedger"> | string
|
|
7682
7699
|
type?: StringFilter<"InventoryLedger"> | string
|
|
7683
7700
|
amount?: IntFilter<"InventoryLedger"> | number
|
|
7684
7701
|
balanceAfter?: IntFilter<"InventoryLedger"> | number
|
|
@@ -7691,8 +7708,9 @@ export namespace Prisma {
|
|
|
7691
7708
|
|
|
7692
7709
|
export type InventoryLedgerOrderByWithAggregationInput = {
|
|
7693
7710
|
id?: SortOrder
|
|
7711
|
+
inventoryItemId?: SortOrder
|
|
7694
7712
|
warehouseId?: SortOrder
|
|
7695
|
-
|
|
7713
|
+
skuId?: SortOrder
|
|
7696
7714
|
type?: SortOrder
|
|
7697
7715
|
amount?: SortOrder
|
|
7698
7716
|
balanceAfter?: SortOrder
|
|
@@ -7712,8 +7730,9 @@ export namespace Prisma {
|
|
|
7712
7730
|
OR?: InventoryLedgerScalarWhereWithAggregatesInput[]
|
|
7713
7731
|
NOT?: InventoryLedgerScalarWhereWithAggregatesInput | InventoryLedgerScalarWhereWithAggregatesInput[]
|
|
7714
7732
|
id?: UuidWithAggregatesFilter<"InventoryLedger"> | string
|
|
7733
|
+
inventoryItemId?: UuidWithAggregatesFilter<"InventoryLedger"> | string
|
|
7715
7734
|
warehouseId?: UuidWithAggregatesFilter<"InventoryLedger"> | string
|
|
7716
|
-
|
|
7735
|
+
skuId?: UuidWithAggregatesFilter<"InventoryLedger"> | string
|
|
7717
7736
|
type?: StringWithAggregatesFilter<"InventoryLedger"> | string
|
|
7718
7737
|
amount?: IntWithAggregatesFilter<"InventoryLedger"> | number
|
|
7719
7738
|
balanceAfter?: IntWithAggregatesFilter<"InventoryLedger"> | number
|
|
@@ -7986,7 +8005,7 @@ export namespace Prisma {
|
|
|
7986
8005
|
export type InventoryReservationCreateInput = {
|
|
7987
8006
|
id?: string
|
|
7988
8007
|
orderId: string
|
|
7989
|
-
|
|
8008
|
+
skuId: string
|
|
7990
8009
|
quantity: number
|
|
7991
8010
|
status?: string
|
|
7992
8011
|
expiredAt: Date | string
|
|
@@ -7999,7 +8018,7 @@ export namespace Prisma {
|
|
|
7999
8018
|
id?: string
|
|
8000
8019
|
warehouseId: string
|
|
8001
8020
|
orderId: string
|
|
8002
|
-
|
|
8021
|
+
skuId: string
|
|
8003
8022
|
quantity: number
|
|
8004
8023
|
status?: string
|
|
8005
8024
|
expiredAt: Date | string
|
|
@@ -8010,7 +8029,7 @@ export namespace Prisma {
|
|
|
8010
8029
|
export type InventoryReservationUpdateInput = {
|
|
8011
8030
|
id?: StringFieldUpdateOperationsInput | string
|
|
8012
8031
|
orderId?: StringFieldUpdateOperationsInput | string
|
|
8013
|
-
|
|
8032
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8014
8033
|
quantity?: IntFieldUpdateOperationsInput | number
|
|
8015
8034
|
status?: StringFieldUpdateOperationsInput | string
|
|
8016
8035
|
expiredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -8023,7 +8042,7 @@ export namespace Prisma {
|
|
|
8023
8042
|
id?: StringFieldUpdateOperationsInput | string
|
|
8024
8043
|
warehouseId?: StringFieldUpdateOperationsInput | string
|
|
8025
8044
|
orderId?: StringFieldUpdateOperationsInput | string
|
|
8026
|
-
|
|
8045
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8027
8046
|
quantity?: IntFieldUpdateOperationsInput | number
|
|
8028
8047
|
status?: StringFieldUpdateOperationsInput | string
|
|
8029
8048
|
expiredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -8035,7 +8054,7 @@ export namespace Prisma {
|
|
|
8035
8054
|
id?: string
|
|
8036
8055
|
warehouseId: string
|
|
8037
8056
|
orderId: string
|
|
8038
|
-
|
|
8057
|
+
skuId: string
|
|
8039
8058
|
quantity: number
|
|
8040
8059
|
status?: string
|
|
8041
8060
|
expiredAt: Date | string
|
|
@@ -8046,7 +8065,7 @@ export namespace Prisma {
|
|
|
8046
8065
|
export type InventoryReservationUpdateManyMutationInput = {
|
|
8047
8066
|
id?: StringFieldUpdateOperationsInput | string
|
|
8048
8067
|
orderId?: StringFieldUpdateOperationsInput | string
|
|
8049
|
-
|
|
8068
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8050
8069
|
quantity?: IntFieldUpdateOperationsInput | number
|
|
8051
8070
|
status?: StringFieldUpdateOperationsInput | string
|
|
8052
8071
|
expiredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -8058,7 +8077,7 @@ export namespace Prisma {
|
|
|
8058
8077
|
id?: StringFieldUpdateOperationsInput | string
|
|
8059
8078
|
warehouseId?: StringFieldUpdateOperationsInput | string
|
|
8060
8079
|
orderId?: StringFieldUpdateOperationsInput | string
|
|
8061
|
-
|
|
8080
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8062
8081
|
quantity?: IntFieldUpdateOperationsInput | number
|
|
8063
8082
|
status?: StringFieldUpdateOperationsInput | string
|
|
8064
8083
|
expiredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -8068,7 +8087,8 @@ export namespace Prisma {
|
|
|
8068
8087
|
|
|
8069
8088
|
export type InventoryLedgerCreateInput = {
|
|
8070
8089
|
id?: string
|
|
8071
|
-
|
|
8090
|
+
inventoryItemId: string
|
|
8091
|
+
skuId: string
|
|
8072
8092
|
type: string
|
|
8073
8093
|
amount: number
|
|
8074
8094
|
balanceAfter: number
|
|
@@ -8081,8 +8101,9 @@ export namespace Prisma {
|
|
|
8081
8101
|
|
|
8082
8102
|
export type InventoryLedgerUncheckedCreateInput = {
|
|
8083
8103
|
id?: string
|
|
8104
|
+
inventoryItemId: string
|
|
8084
8105
|
warehouseId: string
|
|
8085
|
-
|
|
8106
|
+
skuId: string
|
|
8086
8107
|
type: string
|
|
8087
8108
|
amount: number
|
|
8088
8109
|
balanceAfter: number
|
|
@@ -8094,7 +8115,8 @@ export namespace Prisma {
|
|
|
8094
8115
|
|
|
8095
8116
|
export type InventoryLedgerUpdateInput = {
|
|
8096
8117
|
id?: StringFieldUpdateOperationsInput | string
|
|
8097
|
-
|
|
8118
|
+
inventoryItemId?: StringFieldUpdateOperationsInput | string
|
|
8119
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8098
8120
|
type?: StringFieldUpdateOperationsInput | string
|
|
8099
8121
|
amount?: IntFieldUpdateOperationsInput | number
|
|
8100
8122
|
balanceAfter?: IntFieldUpdateOperationsInput | number
|
|
@@ -8107,8 +8129,9 @@ export namespace Prisma {
|
|
|
8107
8129
|
|
|
8108
8130
|
export type InventoryLedgerUncheckedUpdateInput = {
|
|
8109
8131
|
id?: StringFieldUpdateOperationsInput | string
|
|
8132
|
+
inventoryItemId?: StringFieldUpdateOperationsInput | string
|
|
8110
8133
|
warehouseId?: StringFieldUpdateOperationsInput | string
|
|
8111
|
-
|
|
8134
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8112
8135
|
type?: StringFieldUpdateOperationsInput | string
|
|
8113
8136
|
amount?: IntFieldUpdateOperationsInput | number
|
|
8114
8137
|
balanceAfter?: IntFieldUpdateOperationsInput | number
|
|
@@ -8120,8 +8143,9 @@ export namespace Prisma {
|
|
|
8120
8143
|
|
|
8121
8144
|
export type InventoryLedgerCreateManyInput = {
|
|
8122
8145
|
id?: string
|
|
8146
|
+
inventoryItemId: string
|
|
8123
8147
|
warehouseId: string
|
|
8124
|
-
|
|
8148
|
+
skuId: string
|
|
8125
8149
|
type: string
|
|
8126
8150
|
amount: number
|
|
8127
8151
|
balanceAfter: number
|
|
@@ -8133,7 +8157,8 @@ export namespace Prisma {
|
|
|
8133
8157
|
|
|
8134
8158
|
export type InventoryLedgerUpdateManyMutationInput = {
|
|
8135
8159
|
id?: StringFieldUpdateOperationsInput | string
|
|
8136
|
-
|
|
8160
|
+
inventoryItemId?: StringFieldUpdateOperationsInput | string
|
|
8161
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8137
8162
|
type?: StringFieldUpdateOperationsInput | string
|
|
8138
8163
|
amount?: IntFieldUpdateOperationsInput | number
|
|
8139
8164
|
balanceAfter?: IntFieldUpdateOperationsInput | number
|
|
@@ -8145,8 +8170,9 @@ export namespace Prisma {
|
|
|
8145
8170
|
|
|
8146
8171
|
export type InventoryLedgerUncheckedUpdateManyInput = {
|
|
8147
8172
|
id?: StringFieldUpdateOperationsInput | string
|
|
8173
|
+
inventoryItemId?: StringFieldUpdateOperationsInput | string
|
|
8148
8174
|
warehouseId?: StringFieldUpdateOperationsInput | string
|
|
8149
|
-
|
|
8175
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
8150
8176
|
type?: StringFieldUpdateOperationsInput | string
|
|
8151
8177
|
amount?: IntFieldUpdateOperationsInput | number
|
|
8152
8178
|
balanceAfter?: IntFieldUpdateOperationsInput | number
|
|
@@ -8530,16 +8556,16 @@ export namespace Prisma {
|
|
|
8530
8556
|
_max?: NestedIntFilter<$PrismaModel>
|
|
8531
8557
|
}
|
|
8532
8558
|
|
|
8533
|
-
export type
|
|
8559
|
+
export type InventoryReservationOrderIdSkuIdCompoundUniqueInput = {
|
|
8534
8560
|
orderId: string
|
|
8535
|
-
|
|
8561
|
+
skuId: string
|
|
8536
8562
|
}
|
|
8537
8563
|
|
|
8538
8564
|
export type InventoryReservationCountOrderByAggregateInput = {
|
|
8539
8565
|
id?: SortOrder
|
|
8540
8566
|
warehouseId?: SortOrder
|
|
8541
8567
|
orderId?: SortOrder
|
|
8542
|
-
|
|
8568
|
+
skuId?: SortOrder
|
|
8543
8569
|
quantity?: SortOrder
|
|
8544
8570
|
status?: SortOrder
|
|
8545
8571
|
expiredAt?: SortOrder
|
|
@@ -8555,7 +8581,7 @@ export namespace Prisma {
|
|
|
8555
8581
|
id?: SortOrder
|
|
8556
8582
|
warehouseId?: SortOrder
|
|
8557
8583
|
orderId?: SortOrder
|
|
8558
|
-
|
|
8584
|
+
skuId?: SortOrder
|
|
8559
8585
|
quantity?: SortOrder
|
|
8560
8586
|
status?: SortOrder
|
|
8561
8587
|
expiredAt?: SortOrder
|
|
@@ -8567,7 +8593,7 @@ export namespace Prisma {
|
|
|
8567
8593
|
id?: SortOrder
|
|
8568
8594
|
warehouseId?: SortOrder
|
|
8569
8595
|
orderId?: SortOrder
|
|
8570
|
-
|
|
8596
|
+
skuId?: SortOrder
|
|
8571
8597
|
quantity?: SortOrder
|
|
8572
8598
|
status?: SortOrder
|
|
8573
8599
|
expiredAt?: SortOrder
|
|
@@ -8581,8 +8607,9 @@ export namespace Prisma {
|
|
|
8581
8607
|
|
|
8582
8608
|
export type InventoryLedgerCountOrderByAggregateInput = {
|
|
8583
8609
|
id?: SortOrder
|
|
8610
|
+
inventoryItemId?: SortOrder
|
|
8584
8611
|
warehouseId?: SortOrder
|
|
8585
|
-
|
|
8612
|
+
skuId?: SortOrder
|
|
8586
8613
|
type?: SortOrder
|
|
8587
8614
|
amount?: SortOrder
|
|
8588
8615
|
balanceAfter?: SortOrder
|
|
@@ -8599,8 +8626,9 @@ export namespace Prisma {
|
|
|
8599
8626
|
|
|
8600
8627
|
export type InventoryLedgerMaxOrderByAggregateInput = {
|
|
8601
8628
|
id?: SortOrder
|
|
8629
|
+
inventoryItemId?: SortOrder
|
|
8602
8630
|
warehouseId?: SortOrder
|
|
8603
|
-
|
|
8631
|
+
skuId?: SortOrder
|
|
8604
8632
|
type?: SortOrder
|
|
8605
8633
|
amount?: SortOrder
|
|
8606
8634
|
balanceAfter?: SortOrder
|
|
@@ -8612,8 +8640,9 @@ export namespace Prisma {
|
|
|
8612
8640
|
|
|
8613
8641
|
export type InventoryLedgerMinOrderByAggregateInput = {
|
|
8614
8642
|
id?: SortOrder
|
|
8643
|
+
inventoryItemId?: SortOrder
|
|
8615
8644
|
warehouseId?: SortOrder
|
|
8616
|
-
|
|
8645
|
+
skuId?: SortOrder
|
|
8617
8646
|
type?: SortOrder
|
|
8618
8647
|
amount?: SortOrder
|
|
8619
8648
|
balanceAfter?: SortOrder
|
|
@@ -9197,7 +9226,7 @@ export namespace Prisma {
|
|
|
9197
9226
|
export type InventoryReservationCreateWithoutWarehouseInput = {
|
|
9198
9227
|
id?: string
|
|
9199
9228
|
orderId: string
|
|
9200
|
-
|
|
9229
|
+
skuId: string
|
|
9201
9230
|
quantity: number
|
|
9202
9231
|
status?: string
|
|
9203
9232
|
expiredAt: Date | string
|
|
@@ -9208,7 +9237,7 @@ export namespace Prisma {
|
|
|
9208
9237
|
export type InventoryReservationUncheckedCreateWithoutWarehouseInput = {
|
|
9209
9238
|
id?: string
|
|
9210
9239
|
orderId: string
|
|
9211
|
-
|
|
9240
|
+
skuId: string
|
|
9212
9241
|
quantity: number
|
|
9213
9242
|
status?: string
|
|
9214
9243
|
expiredAt: Date | string
|
|
@@ -9228,7 +9257,8 @@ export namespace Prisma {
|
|
|
9228
9257
|
|
|
9229
9258
|
export type InventoryLedgerCreateWithoutWarehouseInput = {
|
|
9230
9259
|
id?: string
|
|
9231
|
-
|
|
9260
|
+
inventoryItemId: string
|
|
9261
|
+
skuId: string
|
|
9232
9262
|
type: string
|
|
9233
9263
|
amount: number
|
|
9234
9264
|
balanceAfter: number
|
|
@@ -9240,7 +9270,8 @@ export namespace Prisma {
|
|
|
9240
9270
|
|
|
9241
9271
|
export type InventoryLedgerUncheckedCreateWithoutWarehouseInput = {
|
|
9242
9272
|
id?: string
|
|
9243
|
-
|
|
9273
|
+
inventoryItemId: string
|
|
9274
|
+
skuId: string
|
|
9244
9275
|
type: string
|
|
9245
9276
|
amount: number
|
|
9246
9277
|
balanceAfter: number
|
|
@@ -9283,7 +9314,7 @@ export namespace Prisma {
|
|
|
9283
9314
|
id?: UuidFilter<"InventoryItem"> | string
|
|
9284
9315
|
productId?: UuidFilter<"InventoryItem"> | string
|
|
9285
9316
|
warehouseId?: UuidFilter<"InventoryItem"> | string
|
|
9286
|
-
skuId?:
|
|
9317
|
+
skuId?: UuidFilter<"InventoryItem"> | string
|
|
9287
9318
|
quantityOnHand?: IntFilter<"InventoryItem"> | number
|
|
9288
9319
|
quantityReserved?: IntFilter<"InventoryItem"> | number
|
|
9289
9320
|
version?: IntFilter<"InventoryItem"> | number
|
|
@@ -9313,8 +9344,8 @@ export namespace Prisma {
|
|
|
9313
9344
|
NOT?: InventoryReservationScalarWhereInput | InventoryReservationScalarWhereInput[]
|
|
9314
9345
|
id?: UuidFilter<"InventoryReservation"> | string
|
|
9315
9346
|
warehouseId?: UuidFilter<"InventoryReservation"> | string
|
|
9316
|
-
orderId?:
|
|
9317
|
-
|
|
9347
|
+
orderId?: UuidFilter<"InventoryReservation"> | string
|
|
9348
|
+
skuId?: UuidFilter<"InventoryReservation"> | string
|
|
9318
9349
|
quantity?: IntFilter<"InventoryReservation"> | number
|
|
9319
9350
|
status?: StringFilter<"InventoryReservation"> | string
|
|
9320
9351
|
expiredAt?: DateTimeFilter<"InventoryReservation"> | Date | string
|
|
@@ -9343,8 +9374,9 @@ export namespace Prisma {
|
|
|
9343
9374
|
OR?: InventoryLedgerScalarWhereInput[]
|
|
9344
9375
|
NOT?: InventoryLedgerScalarWhereInput | InventoryLedgerScalarWhereInput[]
|
|
9345
9376
|
id?: UuidFilter<"InventoryLedger"> | string
|
|
9377
|
+
inventoryItemId?: UuidFilter<"InventoryLedger"> | string
|
|
9346
9378
|
warehouseId?: UuidFilter<"InventoryLedger"> | string
|
|
9347
|
-
|
|
9379
|
+
skuId?: UuidFilter<"InventoryLedger"> | string
|
|
9348
9380
|
type?: StringFilter<"InventoryLedger"> | string
|
|
9349
9381
|
amount?: IntFilter<"InventoryLedger"> | number
|
|
9350
9382
|
balanceAfter?: IntFilter<"InventoryLedger"> | number
|
|
@@ -9596,7 +9628,7 @@ export namespace Prisma {
|
|
|
9596
9628
|
export type InventoryReservationCreateManyWarehouseInput = {
|
|
9597
9629
|
id?: string
|
|
9598
9630
|
orderId: string
|
|
9599
|
-
|
|
9631
|
+
skuId: string
|
|
9600
9632
|
quantity: number
|
|
9601
9633
|
status?: string
|
|
9602
9634
|
expiredAt: Date | string
|
|
@@ -9606,7 +9638,8 @@ export namespace Prisma {
|
|
|
9606
9638
|
|
|
9607
9639
|
export type InventoryLedgerCreateManyWarehouseInput = {
|
|
9608
9640
|
id?: string
|
|
9609
|
-
|
|
9641
|
+
inventoryItemId: string
|
|
9642
|
+
skuId: string
|
|
9610
9643
|
type: string
|
|
9611
9644
|
amount: number
|
|
9612
9645
|
balanceAfter: number
|
|
@@ -9652,7 +9685,7 @@ export namespace Prisma {
|
|
|
9652
9685
|
export type InventoryReservationUpdateWithoutWarehouseInput = {
|
|
9653
9686
|
id?: StringFieldUpdateOperationsInput | string
|
|
9654
9687
|
orderId?: StringFieldUpdateOperationsInput | string
|
|
9655
|
-
|
|
9688
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
9656
9689
|
quantity?: IntFieldUpdateOperationsInput | number
|
|
9657
9690
|
status?: StringFieldUpdateOperationsInput | string
|
|
9658
9691
|
expiredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -9663,7 +9696,7 @@ export namespace Prisma {
|
|
|
9663
9696
|
export type InventoryReservationUncheckedUpdateWithoutWarehouseInput = {
|
|
9664
9697
|
id?: StringFieldUpdateOperationsInput | string
|
|
9665
9698
|
orderId?: StringFieldUpdateOperationsInput | string
|
|
9666
|
-
|
|
9699
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
9667
9700
|
quantity?: IntFieldUpdateOperationsInput | number
|
|
9668
9701
|
status?: StringFieldUpdateOperationsInput | string
|
|
9669
9702
|
expiredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -9674,7 +9707,7 @@ export namespace Prisma {
|
|
|
9674
9707
|
export type InventoryReservationUncheckedUpdateManyWithoutWarehouseInput = {
|
|
9675
9708
|
id?: StringFieldUpdateOperationsInput | string
|
|
9676
9709
|
orderId?: StringFieldUpdateOperationsInput | string
|
|
9677
|
-
|
|
9710
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
9678
9711
|
quantity?: IntFieldUpdateOperationsInput | number
|
|
9679
9712
|
status?: StringFieldUpdateOperationsInput | string
|
|
9680
9713
|
expiredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -9684,7 +9717,8 @@ export namespace Prisma {
|
|
|
9684
9717
|
|
|
9685
9718
|
export type InventoryLedgerUpdateWithoutWarehouseInput = {
|
|
9686
9719
|
id?: StringFieldUpdateOperationsInput | string
|
|
9687
|
-
|
|
9720
|
+
inventoryItemId?: StringFieldUpdateOperationsInput | string
|
|
9721
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
9688
9722
|
type?: StringFieldUpdateOperationsInput | string
|
|
9689
9723
|
amount?: IntFieldUpdateOperationsInput | number
|
|
9690
9724
|
balanceAfter?: IntFieldUpdateOperationsInput | number
|
|
@@ -9696,7 +9730,8 @@ export namespace Prisma {
|
|
|
9696
9730
|
|
|
9697
9731
|
export type InventoryLedgerUncheckedUpdateWithoutWarehouseInput = {
|
|
9698
9732
|
id?: StringFieldUpdateOperationsInput | string
|
|
9699
|
-
|
|
9733
|
+
inventoryItemId?: StringFieldUpdateOperationsInput | string
|
|
9734
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
9700
9735
|
type?: StringFieldUpdateOperationsInput | string
|
|
9701
9736
|
amount?: IntFieldUpdateOperationsInput | number
|
|
9702
9737
|
balanceAfter?: IntFieldUpdateOperationsInput | number
|
|
@@ -9708,7 +9743,8 @@ export namespace Prisma {
|
|
|
9708
9743
|
|
|
9709
9744
|
export type InventoryLedgerUncheckedUpdateManyWithoutWarehouseInput = {
|
|
9710
9745
|
id?: StringFieldUpdateOperationsInput | string
|
|
9711
|
-
|
|
9746
|
+
inventoryItemId?: StringFieldUpdateOperationsInput | string
|
|
9747
|
+
skuId?: StringFieldUpdateOperationsInput | string
|
|
9712
9748
|
type?: StringFieldUpdateOperationsInput | string
|
|
9713
9749
|
amount?: IntFieldUpdateOperationsInput | number
|
|
9714
9750
|
balanceAfter?: IntFieldUpdateOperationsInput | number
|