@sagebox-be/prisma-product 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 +31 -5
- package/prisma/client/index-browser.js +28 -2
- package/prisma/client/index.d.ts +3227 -426
- package/prisma/client/index.js +31 -5
- package/prisma/client/package.json +1 -1
- package/prisma/client/schema.prisma +36 -5
- package/prisma/client/wasm.js +31 -5
package/prisma/client/index.d.ts
CHANGED
|
@@ -216,6 +216,16 @@ export type CategoriesAttribute = $Result.DefaultSelection<Prisma.$CategoriesAtt
|
|
|
216
216
|
*
|
|
217
217
|
*/
|
|
218
218
|
export type Product = $Result.DefaultSelection<Prisma.$ProductPayload>
|
|
219
|
+
/**
|
|
220
|
+
* Model ProductSyncOutbox
|
|
221
|
+
*
|
|
222
|
+
*/
|
|
223
|
+
export type ProductSyncOutbox = $Result.DefaultSelection<Prisma.$ProductSyncOutboxPayload>
|
|
224
|
+
/**
|
|
225
|
+
* Model InventoryOutbox
|
|
226
|
+
*
|
|
227
|
+
*/
|
|
228
|
+
export type InventoryOutbox = $Result.DefaultSelection<Prisma.$InventoryOutboxPayload>
|
|
219
229
|
/**
|
|
220
230
|
* Model AttributeValue
|
|
221
231
|
*
|
|
@@ -385,6 +395,26 @@ export class PrismaClient<
|
|
|
385
395
|
*/
|
|
386
396
|
get product(): Prisma.ProductDelegate<ExtArgs, ClientOptions>;
|
|
387
397
|
|
|
398
|
+
/**
|
|
399
|
+
* `prisma.productSyncOutbox`: Exposes CRUD operations for the **ProductSyncOutbox** model.
|
|
400
|
+
* Example usage:
|
|
401
|
+
* ```ts
|
|
402
|
+
* // Fetch zero or more ProductSyncOutboxes
|
|
403
|
+
* const productSyncOutboxes = await prisma.productSyncOutbox.findMany()
|
|
404
|
+
* ```
|
|
405
|
+
*/
|
|
406
|
+
get productSyncOutbox(): Prisma.ProductSyncOutboxDelegate<ExtArgs, ClientOptions>;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* `prisma.inventoryOutbox`: Exposes CRUD operations for the **InventoryOutbox** model.
|
|
410
|
+
* Example usage:
|
|
411
|
+
* ```ts
|
|
412
|
+
* // Fetch zero or more InventoryOutboxes
|
|
413
|
+
* const inventoryOutboxes = await prisma.inventoryOutbox.findMany()
|
|
414
|
+
* ```
|
|
415
|
+
*/
|
|
416
|
+
get inventoryOutbox(): Prisma.InventoryOutboxDelegate<ExtArgs, ClientOptions>;
|
|
417
|
+
|
|
388
418
|
/**
|
|
389
419
|
* `prisma.attributeValue`: Exposes CRUD operations for the **AttributeValue** model.
|
|
390
420
|
* Example usage:
|
|
@@ -848,6 +878,8 @@ export namespace Prisma {
|
|
|
848
878
|
Category: 'Category',
|
|
849
879
|
CategoriesAttribute: 'CategoriesAttribute',
|
|
850
880
|
Product: 'Product',
|
|
881
|
+
ProductSyncOutbox: 'ProductSyncOutbox',
|
|
882
|
+
InventoryOutbox: 'InventoryOutbox',
|
|
851
883
|
AttributeValue: 'AttributeValue',
|
|
852
884
|
Sku: 'Sku'
|
|
853
885
|
};
|
|
@@ -868,7 +900,7 @@ export namespace Prisma {
|
|
|
868
900
|
omit: GlobalOmitOptions
|
|
869
901
|
}
|
|
870
902
|
meta: {
|
|
871
|
-
modelProps: "attribute" | "category" | "categoriesAttribute" | "product" | "attributeValue" | "sku"
|
|
903
|
+
modelProps: "attribute" | "category" | "categoriesAttribute" | "product" | "productSyncOutbox" | "inventoryOutbox" | "attributeValue" | "sku"
|
|
872
904
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
873
905
|
}
|
|
874
906
|
model: {
|
|
@@ -1168,6 +1200,154 @@ export namespace Prisma {
|
|
|
1168
1200
|
}
|
|
1169
1201
|
}
|
|
1170
1202
|
}
|
|
1203
|
+
ProductSyncOutbox: {
|
|
1204
|
+
payload: Prisma.$ProductSyncOutboxPayload<ExtArgs>
|
|
1205
|
+
fields: Prisma.ProductSyncOutboxFieldRefs
|
|
1206
|
+
operations: {
|
|
1207
|
+
findUnique: {
|
|
1208
|
+
args: Prisma.ProductSyncOutboxFindUniqueArgs<ExtArgs>
|
|
1209
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload> | null
|
|
1210
|
+
}
|
|
1211
|
+
findUniqueOrThrow: {
|
|
1212
|
+
args: Prisma.ProductSyncOutboxFindUniqueOrThrowArgs<ExtArgs>
|
|
1213
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>
|
|
1214
|
+
}
|
|
1215
|
+
findFirst: {
|
|
1216
|
+
args: Prisma.ProductSyncOutboxFindFirstArgs<ExtArgs>
|
|
1217
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload> | null
|
|
1218
|
+
}
|
|
1219
|
+
findFirstOrThrow: {
|
|
1220
|
+
args: Prisma.ProductSyncOutboxFindFirstOrThrowArgs<ExtArgs>
|
|
1221
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>
|
|
1222
|
+
}
|
|
1223
|
+
findMany: {
|
|
1224
|
+
args: Prisma.ProductSyncOutboxFindManyArgs<ExtArgs>
|
|
1225
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>[]
|
|
1226
|
+
}
|
|
1227
|
+
create: {
|
|
1228
|
+
args: Prisma.ProductSyncOutboxCreateArgs<ExtArgs>
|
|
1229
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>
|
|
1230
|
+
}
|
|
1231
|
+
createMany: {
|
|
1232
|
+
args: Prisma.ProductSyncOutboxCreateManyArgs<ExtArgs>
|
|
1233
|
+
result: BatchPayload
|
|
1234
|
+
}
|
|
1235
|
+
createManyAndReturn: {
|
|
1236
|
+
args: Prisma.ProductSyncOutboxCreateManyAndReturnArgs<ExtArgs>
|
|
1237
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>[]
|
|
1238
|
+
}
|
|
1239
|
+
delete: {
|
|
1240
|
+
args: Prisma.ProductSyncOutboxDeleteArgs<ExtArgs>
|
|
1241
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>
|
|
1242
|
+
}
|
|
1243
|
+
update: {
|
|
1244
|
+
args: Prisma.ProductSyncOutboxUpdateArgs<ExtArgs>
|
|
1245
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>
|
|
1246
|
+
}
|
|
1247
|
+
deleteMany: {
|
|
1248
|
+
args: Prisma.ProductSyncOutboxDeleteManyArgs<ExtArgs>
|
|
1249
|
+
result: BatchPayload
|
|
1250
|
+
}
|
|
1251
|
+
updateMany: {
|
|
1252
|
+
args: Prisma.ProductSyncOutboxUpdateManyArgs<ExtArgs>
|
|
1253
|
+
result: BatchPayload
|
|
1254
|
+
}
|
|
1255
|
+
updateManyAndReturn: {
|
|
1256
|
+
args: Prisma.ProductSyncOutboxUpdateManyAndReturnArgs<ExtArgs>
|
|
1257
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>[]
|
|
1258
|
+
}
|
|
1259
|
+
upsert: {
|
|
1260
|
+
args: Prisma.ProductSyncOutboxUpsertArgs<ExtArgs>
|
|
1261
|
+
result: $Utils.PayloadToResult<Prisma.$ProductSyncOutboxPayload>
|
|
1262
|
+
}
|
|
1263
|
+
aggregate: {
|
|
1264
|
+
args: Prisma.ProductSyncOutboxAggregateArgs<ExtArgs>
|
|
1265
|
+
result: $Utils.Optional<AggregateProductSyncOutbox>
|
|
1266
|
+
}
|
|
1267
|
+
groupBy: {
|
|
1268
|
+
args: Prisma.ProductSyncOutboxGroupByArgs<ExtArgs>
|
|
1269
|
+
result: $Utils.Optional<ProductSyncOutboxGroupByOutputType>[]
|
|
1270
|
+
}
|
|
1271
|
+
count: {
|
|
1272
|
+
args: Prisma.ProductSyncOutboxCountArgs<ExtArgs>
|
|
1273
|
+
result: $Utils.Optional<ProductSyncOutboxCountAggregateOutputType> | number
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
InventoryOutbox: {
|
|
1278
|
+
payload: Prisma.$InventoryOutboxPayload<ExtArgs>
|
|
1279
|
+
fields: Prisma.InventoryOutboxFieldRefs
|
|
1280
|
+
operations: {
|
|
1281
|
+
findUnique: {
|
|
1282
|
+
args: Prisma.InventoryOutboxFindUniqueArgs<ExtArgs>
|
|
1283
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload> | null
|
|
1284
|
+
}
|
|
1285
|
+
findUniqueOrThrow: {
|
|
1286
|
+
args: Prisma.InventoryOutboxFindUniqueOrThrowArgs<ExtArgs>
|
|
1287
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>
|
|
1288
|
+
}
|
|
1289
|
+
findFirst: {
|
|
1290
|
+
args: Prisma.InventoryOutboxFindFirstArgs<ExtArgs>
|
|
1291
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload> | null
|
|
1292
|
+
}
|
|
1293
|
+
findFirstOrThrow: {
|
|
1294
|
+
args: Prisma.InventoryOutboxFindFirstOrThrowArgs<ExtArgs>
|
|
1295
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>
|
|
1296
|
+
}
|
|
1297
|
+
findMany: {
|
|
1298
|
+
args: Prisma.InventoryOutboxFindManyArgs<ExtArgs>
|
|
1299
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>[]
|
|
1300
|
+
}
|
|
1301
|
+
create: {
|
|
1302
|
+
args: Prisma.InventoryOutboxCreateArgs<ExtArgs>
|
|
1303
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>
|
|
1304
|
+
}
|
|
1305
|
+
createMany: {
|
|
1306
|
+
args: Prisma.InventoryOutboxCreateManyArgs<ExtArgs>
|
|
1307
|
+
result: BatchPayload
|
|
1308
|
+
}
|
|
1309
|
+
createManyAndReturn: {
|
|
1310
|
+
args: Prisma.InventoryOutboxCreateManyAndReturnArgs<ExtArgs>
|
|
1311
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>[]
|
|
1312
|
+
}
|
|
1313
|
+
delete: {
|
|
1314
|
+
args: Prisma.InventoryOutboxDeleteArgs<ExtArgs>
|
|
1315
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>
|
|
1316
|
+
}
|
|
1317
|
+
update: {
|
|
1318
|
+
args: Prisma.InventoryOutboxUpdateArgs<ExtArgs>
|
|
1319
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>
|
|
1320
|
+
}
|
|
1321
|
+
deleteMany: {
|
|
1322
|
+
args: Prisma.InventoryOutboxDeleteManyArgs<ExtArgs>
|
|
1323
|
+
result: BatchPayload
|
|
1324
|
+
}
|
|
1325
|
+
updateMany: {
|
|
1326
|
+
args: Prisma.InventoryOutboxUpdateManyArgs<ExtArgs>
|
|
1327
|
+
result: BatchPayload
|
|
1328
|
+
}
|
|
1329
|
+
updateManyAndReturn: {
|
|
1330
|
+
args: Prisma.InventoryOutboxUpdateManyAndReturnArgs<ExtArgs>
|
|
1331
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>[]
|
|
1332
|
+
}
|
|
1333
|
+
upsert: {
|
|
1334
|
+
args: Prisma.InventoryOutboxUpsertArgs<ExtArgs>
|
|
1335
|
+
result: $Utils.PayloadToResult<Prisma.$InventoryOutboxPayload>
|
|
1336
|
+
}
|
|
1337
|
+
aggregate: {
|
|
1338
|
+
args: Prisma.InventoryOutboxAggregateArgs<ExtArgs>
|
|
1339
|
+
result: $Utils.Optional<AggregateInventoryOutbox>
|
|
1340
|
+
}
|
|
1341
|
+
groupBy: {
|
|
1342
|
+
args: Prisma.InventoryOutboxGroupByArgs<ExtArgs>
|
|
1343
|
+
result: $Utils.Optional<InventoryOutboxGroupByOutputType>[]
|
|
1344
|
+
}
|
|
1345
|
+
count: {
|
|
1346
|
+
args: Prisma.InventoryOutboxCountArgs<ExtArgs>
|
|
1347
|
+
result: $Utils.Optional<InventoryOutboxCountAggregateOutputType> | number
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1171
1351
|
AttributeValue: {
|
|
1172
1352
|
payload: Prisma.$AttributeValuePayload<ExtArgs>
|
|
1173
1353
|
fields: Prisma.AttributeValueFieldRefs
|
|
@@ -1416,6 +1596,8 @@ export namespace Prisma {
|
|
|
1416
1596
|
category?: CategoryOmit
|
|
1417
1597
|
categoriesAttribute?: CategoriesAttributeOmit
|
|
1418
1598
|
product?: ProductOmit
|
|
1599
|
+
productSyncOutbox?: ProductSyncOutboxOmit
|
|
1600
|
+
inventoryOutbox?: InventoryOutboxOmit
|
|
1419
1601
|
attributeValue?: AttributeValueOmit
|
|
1420
1602
|
sku?: SkuOmit
|
|
1421
1603
|
}
|
|
@@ -5037,7 +5219,6 @@ export namespace Prisma {
|
|
|
5037
5219
|
description: string | null
|
|
5038
5220
|
keywords: string | null
|
|
5039
5221
|
categoryId: string | null
|
|
5040
|
-
storeId: string | null
|
|
5041
5222
|
viewedCount: number | null
|
|
5042
5223
|
status: string | null
|
|
5043
5224
|
createdAt: Date | null
|
|
@@ -5051,7 +5232,6 @@ export namespace Prisma {
|
|
|
5051
5232
|
description: string | null
|
|
5052
5233
|
keywords: string | null
|
|
5053
5234
|
categoryId: string | null
|
|
5054
|
-
storeId: string | null
|
|
5055
5235
|
viewedCount: number | null
|
|
5056
5236
|
status: string | null
|
|
5057
5237
|
createdAt: Date | null
|
|
@@ -5065,7 +5245,6 @@ export namespace Prisma {
|
|
|
5065
5245
|
description: number
|
|
5066
5246
|
keywords: number
|
|
5067
5247
|
categoryId: number
|
|
5068
|
-
storeId: number
|
|
5069
5248
|
viewedCount: number
|
|
5070
5249
|
status: number
|
|
5071
5250
|
media: number
|
|
@@ -5090,7 +5269,6 @@ export namespace Prisma {
|
|
|
5090
5269
|
description?: true
|
|
5091
5270
|
keywords?: true
|
|
5092
5271
|
categoryId?: true
|
|
5093
|
-
storeId?: true
|
|
5094
5272
|
viewedCount?: true
|
|
5095
5273
|
status?: true
|
|
5096
5274
|
createdAt?: true
|
|
@@ -5104,7 +5282,6 @@ export namespace Prisma {
|
|
|
5104
5282
|
description?: true
|
|
5105
5283
|
keywords?: true
|
|
5106
5284
|
categoryId?: true
|
|
5107
|
-
storeId?: true
|
|
5108
5285
|
viewedCount?: true
|
|
5109
5286
|
status?: true
|
|
5110
5287
|
createdAt?: true
|
|
@@ -5118,7 +5295,6 @@ export namespace Prisma {
|
|
|
5118
5295
|
description?: true
|
|
5119
5296
|
keywords?: true
|
|
5120
5297
|
categoryId?: true
|
|
5121
|
-
storeId?: true
|
|
5122
5298
|
viewedCount?: true
|
|
5123
5299
|
status?: true
|
|
5124
5300
|
media?: true
|
|
@@ -5220,10 +5396,9 @@ export namespace Prisma {
|
|
|
5220
5396
|
description: string
|
|
5221
5397
|
keywords: string
|
|
5222
5398
|
categoryId: string
|
|
5223
|
-
storeId: string
|
|
5224
5399
|
viewedCount: number
|
|
5225
5400
|
status: string
|
|
5226
|
-
media:PrismaJson.
|
|
5401
|
+
media:PrismaJson.PrismaMediaEntity
|
|
5227
5402
|
createdAt: Date
|
|
5228
5403
|
updatedAt: Date
|
|
5229
5404
|
_count: ProductCountAggregateOutputType | null
|
|
@@ -5254,7 +5429,6 @@ export namespace Prisma {
|
|
|
5254
5429
|
description?: boolean
|
|
5255
5430
|
keywords?: boolean
|
|
5256
5431
|
categoryId?: boolean
|
|
5257
|
-
storeId?: boolean
|
|
5258
5432
|
viewedCount?: boolean
|
|
5259
5433
|
status?: boolean
|
|
5260
5434
|
media?: boolean
|
|
@@ -5272,7 +5446,6 @@ export namespace Prisma {
|
|
|
5272
5446
|
description?: boolean
|
|
5273
5447
|
keywords?: boolean
|
|
5274
5448
|
categoryId?: boolean
|
|
5275
|
-
storeId?: boolean
|
|
5276
5449
|
viewedCount?: boolean
|
|
5277
5450
|
status?: boolean
|
|
5278
5451
|
media?: boolean
|
|
@@ -5288,7 +5461,6 @@ export namespace Prisma {
|
|
|
5288
5461
|
description?: boolean
|
|
5289
5462
|
keywords?: boolean
|
|
5290
5463
|
categoryId?: boolean
|
|
5291
|
-
storeId?: boolean
|
|
5292
5464
|
viewedCount?: boolean
|
|
5293
5465
|
status?: boolean
|
|
5294
5466
|
media?: boolean
|
|
@@ -5304,7 +5476,6 @@ export namespace Prisma {
|
|
|
5304
5476
|
description?: boolean
|
|
5305
5477
|
keywords?: boolean
|
|
5306
5478
|
categoryId?: boolean
|
|
5307
|
-
storeId?: boolean
|
|
5308
5479
|
viewedCount?: boolean
|
|
5309
5480
|
status?: boolean
|
|
5310
5481
|
media?: boolean
|
|
@@ -5312,7 +5483,7 @@ export namespace Prisma {
|
|
|
5312
5483
|
updatedAt?: boolean
|
|
5313
5484
|
}
|
|
5314
5485
|
|
|
5315
|
-
export type ProductOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "title" | "description" | "keywords" | "categoryId" | "
|
|
5486
|
+
export type ProductOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "title" | "description" | "keywords" | "categoryId" | "viewedCount" | "status" | "media" | "createdAt" | "updatedAt", ExtArgs["result"]["product"]>
|
|
5316
5487
|
export type ProductInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
5317
5488
|
category?: boolean | CategoryDefaultArgs<ExtArgs>
|
|
5318
5489
|
skus?: boolean | Product$skusArgs<ExtArgs>
|
|
@@ -5338,13 +5509,12 @@ export namespace Prisma {
|
|
|
5338
5509
|
description: string
|
|
5339
5510
|
keywords: string
|
|
5340
5511
|
categoryId: string
|
|
5341
|
-
storeId: string
|
|
5342
5512
|
viewedCount: number
|
|
5343
5513
|
status: string
|
|
5344
5514
|
/**
|
|
5345
|
-
* [
|
|
5515
|
+
* [PrismaMediaEntity]
|
|
5346
5516
|
*/
|
|
5347
|
-
media:PrismaJson.
|
|
5517
|
+
media:PrismaJson.PrismaMediaEntity
|
|
5348
5518
|
createdAt: Date
|
|
5349
5519
|
updatedAt: Date
|
|
5350
5520
|
}, ExtArgs["result"]["product"]>
|
|
@@ -5778,7 +5948,6 @@ export namespace Prisma {
|
|
|
5778
5948
|
readonly description: FieldRef<"Product", 'String'>
|
|
5779
5949
|
readonly keywords: FieldRef<"Product", 'String'>
|
|
5780
5950
|
readonly categoryId: FieldRef<"Product", 'String'>
|
|
5781
|
-
readonly storeId: FieldRef<"Product", 'String'>
|
|
5782
5951
|
readonly viewedCount: FieldRef<"Product", 'Int'>
|
|
5783
5952
|
readonly status: FieldRef<"Product", 'String'>
|
|
5784
5953
|
readonly media: FieldRef<"Product", 'Json'>
|
|
@@ -6223,303 +6392,2490 @@ export namespace Prisma {
|
|
|
6223
6392
|
|
|
6224
6393
|
|
|
6225
6394
|
/**
|
|
6226
|
-
* Model
|
|
6395
|
+
* Model ProductSyncOutbox
|
|
6227
6396
|
*/
|
|
6228
6397
|
|
|
6229
|
-
export type
|
|
6230
|
-
_count:
|
|
6231
|
-
|
|
6232
|
-
|
|
6398
|
+
export type AggregateProductSyncOutbox = {
|
|
6399
|
+
_count: ProductSyncOutboxCountAggregateOutputType | null
|
|
6400
|
+
_avg: ProductSyncOutboxAvgAggregateOutputType | null
|
|
6401
|
+
_sum: ProductSyncOutboxSumAggregateOutputType | null
|
|
6402
|
+
_min: ProductSyncOutboxMinAggregateOutputType | null
|
|
6403
|
+
_max: ProductSyncOutboxMaxAggregateOutputType | null
|
|
6233
6404
|
}
|
|
6234
6405
|
|
|
6235
|
-
export type
|
|
6406
|
+
export type ProductSyncOutboxAvgAggregateOutputType = {
|
|
6407
|
+
publishRetryCount: number | null
|
|
6408
|
+
esRetryCount: number | null
|
|
6409
|
+
}
|
|
6410
|
+
|
|
6411
|
+
export type ProductSyncOutboxSumAggregateOutputType = {
|
|
6412
|
+
publishRetryCount: number | null
|
|
6413
|
+
esRetryCount: number | null
|
|
6414
|
+
}
|
|
6415
|
+
|
|
6416
|
+
export type ProductSyncOutboxMinAggregateOutputType = {
|
|
6236
6417
|
id: string | null
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6418
|
+
publishStatus: string | null
|
|
6419
|
+
publishRetryCount: number | null
|
|
6420
|
+
publishError: string | null
|
|
6421
|
+
publishedAt: Date | null
|
|
6422
|
+
esSyncStatus: string | null
|
|
6423
|
+
esRetryCount: number | null
|
|
6424
|
+
esSyncedAt: Date | null
|
|
6425
|
+
esSyncError: string | null
|
|
6240
6426
|
createdAt: Date | null
|
|
6241
6427
|
updatedAt: Date | null
|
|
6242
6428
|
}
|
|
6243
6429
|
|
|
6244
|
-
export type
|
|
6430
|
+
export type ProductSyncOutboxMaxAggregateOutputType = {
|
|
6245
6431
|
id: string | null
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6432
|
+
publishStatus: string | null
|
|
6433
|
+
publishRetryCount: number | null
|
|
6434
|
+
publishError: string | null
|
|
6435
|
+
publishedAt: Date | null
|
|
6436
|
+
esSyncStatus: string | null
|
|
6437
|
+
esRetryCount: number | null
|
|
6438
|
+
esSyncedAt: Date | null
|
|
6439
|
+
esSyncError: string | null
|
|
6249
6440
|
createdAt: Date | null
|
|
6250
6441
|
updatedAt: Date | null
|
|
6251
6442
|
}
|
|
6252
6443
|
|
|
6253
|
-
export type
|
|
6444
|
+
export type ProductSyncOutboxCountAggregateOutputType = {
|
|
6254
6445
|
id: number
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6446
|
+
publishStatus: number
|
|
6447
|
+
publishRetryCount: number
|
|
6448
|
+
publishError: number
|
|
6449
|
+
publishedAt: number
|
|
6450
|
+
esSyncStatus: number
|
|
6451
|
+
esRetryCount: number
|
|
6452
|
+
esSyncedAt: number
|
|
6453
|
+
esSyncError: number
|
|
6454
|
+
payload: number
|
|
6258
6455
|
createdAt: number
|
|
6259
6456
|
updatedAt: number
|
|
6260
6457
|
_all: number
|
|
6261
6458
|
}
|
|
6262
6459
|
|
|
6263
6460
|
|
|
6264
|
-
export type
|
|
6461
|
+
export type ProductSyncOutboxAvgAggregateInputType = {
|
|
6462
|
+
publishRetryCount?: true
|
|
6463
|
+
esRetryCount?: true
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
export type ProductSyncOutboxSumAggregateInputType = {
|
|
6467
|
+
publishRetryCount?: true
|
|
6468
|
+
esRetryCount?: true
|
|
6469
|
+
}
|
|
6470
|
+
|
|
6471
|
+
export type ProductSyncOutboxMinAggregateInputType = {
|
|
6265
6472
|
id?: true
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6473
|
+
publishStatus?: true
|
|
6474
|
+
publishRetryCount?: true
|
|
6475
|
+
publishError?: true
|
|
6476
|
+
publishedAt?: true
|
|
6477
|
+
esSyncStatus?: true
|
|
6478
|
+
esRetryCount?: true
|
|
6479
|
+
esSyncedAt?: true
|
|
6480
|
+
esSyncError?: true
|
|
6269
6481
|
createdAt?: true
|
|
6270
6482
|
updatedAt?: true
|
|
6271
6483
|
}
|
|
6272
6484
|
|
|
6273
|
-
export type
|
|
6485
|
+
export type ProductSyncOutboxMaxAggregateInputType = {
|
|
6274
6486
|
id?: true
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6487
|
+
publishStatus?: true
|
|
6488
|
+
publishRetryCount?: true
|
|
6489
|
+
publishError?: true
|
|
6490
|
+
publishedAt?: true
|
|
6491
|
+
esSyncStatus?: true
|
|
6492
|
+
esRetryCount?: true
|
|
6493
|
+
esSyncedAt?: true
|
|
6494
|
+
esSyncError?: true
|
|
6278
6495
|
createdAt?: true
|
|
6279
6496
|
updatedAt?: true
|
|
6280
6497
|
}
|
|
6281
6498
|
|
|
6282
|
-
export type
|
|
6499
|
+
export type ProductSyncOutboxCountAggregateInputType = {
|
|
6283
6500
|
id?: true
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6501
|
+
publishStatus?: true
|
|
6502
|
+
publishRetryCount?: true
|
|
6503
|
+
publishError?: true
|
|
6504
|
+
publishedAt?: true
|
|
6505
|
+
esSyncStatus?: true
|
|
6506
|
+
esRetryCount?: true
|
|
6507
|
+
esSyncedAt?: true
|
|
6508
|
+
esSyncError?: true
|
|
6509
|
+
payload?: true
|
|
6287
6510
|
createdAt?: true
|
|
6288
6511
|
updatedAt?: true
|
|
6289
6512
|
_all?: true
|
|
6290
6513
|
}
|
|
6291
6514
|
|
|
6292
|
-
export type
|
|
6515
|
+
export type ProductSyncOutboxAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6293
6516
|
/**
|
|
6294
|
-
* Filter which
|
|
6517
|
+
* Filter which ProductSyncOutbox to aggregate.
|
|
6295
6518
|
*/
|
|
6296
|
-
where?:
|
|
6519
|
+
where?: ProductSyncOutboxWhereInput
|
|
6297
6520
|
/**
|
|
6298
6521
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
6299
6522
|
*
|
|
6300
|
-
* Determine the order of
|
|
6523
|
+
* Determine the order of ProductSyncOutboxes to fetch.
|
|
6301
6524
|
*/
|
|
6302
|
-
orderBy?:
|
|
6525
|
+
orderBy?: ProductSyncOutboxOrderByWithRelationInput | ProductSyncOutboxOrderByWithRelationInput[]
|
|
6303
6526
|
/**
|
|
6304
6527
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
6305
6528
|
*
|
|
6306
6529
|
* Sets the start position
|
|
6307
6530
|
*/
|
|
6308
|
-
cursor?:
|
|
6531
|
+
cursor?: ProductSyncOutboxWhereUniqueInput
|
|
6309
6532
|
/**
|
|
6310
6533
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
6311
6534
|
*
|
|
6312
|
-
* Take `±n`
|
|
6535
|
+
* Take `±n` ProductSyncOutboxes from the position of the cursor.
|
|
6313
6536
|
*/
|
|
6314
6537
|
take?: number
|
|
6315
6538
|
/**
|
|
6316
6539
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
6317
6540
|
*
|
|
6318
|
-
* Skip the first `n`
|
|
6541
|
+
* Skip the first `n` ProductSyncOutboxes.
|
|
6319
6542
|
*/
|
|
6320
6543
|
skip?: number
|
|
6321
6544
|
/**
|
|
6322
6545
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6323
6546
|
*
|
|
6324
|
-
* Count returned
|
|
6547
|
+
* Count returned ProductSyncOutboxes
|
|
6325
6548
|
**/
|
|
6326
|
-
_count?: true |
|
|
6549
|
+
_count?: true | ProductSyncOutboxCountAggregateInputType
|
|
6550
|
+
/**
|
|
6551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6552
|
+
*
|
|
6553
|
+
* Select which fields to average
|
|
6554
|
+
**/
|
|
6555
|
+
_avg?: ProductSyncOutboxAvgAggregateInputType
|
|
6556
|
+
/**
|
|
6557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6558
|
+
*
|
|
6559
|
+
* Select which fields to sum
|
|
6560
|
+
**/
|
|
6561
|
+
_sum?: ProductSyncOutboxSumAggregateInputType
|
|
6327
6562
|
/**
|
|
6328
6563
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6329
6564
|
*
|
|
6330
6565
|
* Select which fields to find the minimum value
|
|
6331
6566
|
**/
|
|
6332
|
-
_min?:
|
|
6567
|
+
_min?: ProductSyncOutboxMinAggregateInputType
|
|
6333
6568
|
/**
|
|
6334
6569
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6335
6570
|
*
|
|
6336
6571
|
* Select which fields to find the maximum value
|
|
6337
6572
|
**/
|
|
6338
|
-
_max?:
|
|
6573
|
+
_max?: ProductSyncOutboxMaxAggregateInputType
|
|
6339
6574
|
}
|
|
6340
6575
|
|
|
6341
|
-
export type
|
|
6342
|
-
[P in keyof T & keyof
|
|
6576
|
+
export type GetProductSyncOutboxAggregateType<T extends ProductSyncOutboxAggregateArgs> = {
|
|
6577
|
+
[P in keyof T & keyof AggregateProductSyncOutbox]: P extends '_count' | 'count'
|
|
6343
6578
|
? T[P] extends true
|
|
6344
6579
|
? number
|
|
6345
|
-
: GetScalarType<T[P],
|
|
6346
|
-
: GetScalarType<T[P],
|
|
6580
|
+
: GetScalarType<T[P], AggregateProductSyncOutbox[P]>
|
|
6581
|
+
: GetScalarType<T[P], AggregateProductSyncOutbox[P]>
|
|
6347
6582
|
}
|
|
6348
6583
|
|
|
6349
6584
|
|
|
6350
6585
|
|
|
6351
6586
|
|
|
6352
|
-
export type
|
|
6353
|
-
where?:
|
|
6354
|
-
orderBy?:
|
|
6355
|
-
by:
|
|
6356
|
-
having?:
|
|
6587
|
+
export type ProductSyncOutboxGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6588
|
+
where?: ProductSyncOutboxWhereInput
|
|
6589
|
+
orderBy?: ProductSyncOutboxOrderByWithAggregationInput | ProductSyncOutboxOrderByWithAggregationInput[]
|
|
6590
|
+
by: ProductSyncOutboxScalarFieldEnum[] | ProductSyncOutboxScalarFieldEnum
|
|
6591
|
+
having?: ProductSyncOutboxScalarWhereWithAggregatesInput
|
|
6357
6592
|
take?: number
|
|
6358
6593
|
skip?: number
|
|
6359
|
-
_count?:
|
|
6360
|
-
|
|
6361
|
-
|
|
6594
|
+
_count?: ProductSyncOutboxCountAggregateInputType | true
|
|
6595
|
+
_avg?: ProductSyncOutboxAvgAggregateInputType
|
|
6596
|
+
_sum?: ProductSyncOutboxSumAggregateInputType
|
|
6597
|
+
_min?: ProductSyncOutboxMinAggregateInputType
|
|
6598
|
+
_max?: ProductSyncOutboxMaxAggregateInputType
|
|
6362
6599
|
}
|
|
6363
6600
|
|
|
6364
|
-
export type
|
|
6601
|
+
export type ProductSyncOutboxGroupByOutputType = {
|
|
6365
6602
|
id: string
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6603
|
+
publishStatus: string
|
|
6604
|
+
publishRetryCount: number
|
|
6605
|
+
publishError: string | null
|
|
6606
|
+
publishedAt: Date | null
|
|
6607
|
+
esSyncStatus: string | null
|
|
6608
|
+
esRetryCount: number
|
|
6609
|
+
esSyncedAt: Date | null
|
|
6610
|
+
esSyncError: string | null
|
|
6611
|
+
payload:PrismaJson.PrismaProductEntityPopulated | null
|
|
6369
6612
|
createdAt: Date
|
|
6370
6613
|
updatedAt: Date
|
|
6371
|
-
_count:
|
|
6372
|
-
|
|
6373
|
-
|
|
6614
|
+
_count: ProductSyncOutboxCountAggregateOutputType | null
|
|
6615
|
+
_avg: ProductSyncOutboxAvgAggregateOutputType | null
|
|
6616
|
+
_sum: ProductSyncOutboxSumAggregateOutputType | null
|
|
6617
|
+
_min: ProductSyncOutboxMinAggregateOutputType | null
|
|
6618
|
+
_max: ProductSyncOutboxMaxAggregateOutputType | null
|
|
6374
6619
|
}
|
|
6375
6620
|
|
|
6376
|
-
type
|
|
6621
|
+
type GetProductSyncOutboxGroupByPayload<T extends ProductSyncOutboxGroupByArgs> = Prisma.PrismaPromise<
|
|
6377
6622
|
Array<
|
|
6378
|
-
PickEnumerable<
|
|
6623
|
+
PickEnumerable<ProductSyncOutboxGroupByOutputType, T['by']> &
|
|
6379
6624
|
{
|
|
6380
|
-
[P in ((keyof T) & (keyof
|
|
6625
|
+
[P in ((keyof T) & (keyof ProductSyncOutboxGroupByOutputType))]: P extends '_count'
|
|
6381
6626
|
? T[P] extends boolean
|
|
6382
6627
|
? number
|
|
6383
|
-
: GetScalarType<T[P],
|
|
6384
|
-
: GetScalarType<T[P],
|
|
6628
|
+
: GetScalarType<T[P], ProductSyncOutboxGroupByOutputType[P]>
|
|
6629
|
+
: GetScalarType<T[P], ProductSyncOutboxGroupByOutputType[P]>
|
|
6385
6630
|
}
|
|
6386
6631
|
>
|
|
6387
6632
|
>
|
|
6388
6633
|
|
|
6389
6634
|
|
|
6390
|
-
export type
|
|
6635
|
+
export type ProductSyncOutboxSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
6391
6636
|
id?: boolean
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6637
|
+
publishStatus?: boolean
|
|
6638
|
+
publishRetryCount?: boolean
|
|
6639
|
+
publishError?: boolean
|
|
6640
|
+
publishedAt?: boolean
|
|
6641
|
+
esSyncStatus?: boolean
|
|
6642
|
+
esRetryCount?: boolean
|
|
6643
|
+
esSyncedAt?: boolean
|
|
6644
|
+
esSyncError?: boolean
|
|
6645
|
+
payload?: boolean
|
|
6395
6646
|
createdAt?: boolean
|
|
6396
6647
|
updatedAt?: boolean
|
|
6397
|
-
|
|
6398
|
-
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
6399
|
-
}, ExtArgs["result"]["attributeValue"]>
|
|
6648
|
+
}, ExtArgs["result"]["productSyncOutbox"]>
|
|
6400
6649
|
|
|
6401
|
-
export type
|
|
6650
|
+
export type ProductSyncOutboxSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
6402
6651
|
id?: boolean
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6652
|
+
publishStatus?: boolean
|
|
6653
|
+
publishRetryCount?: boolean
|
|
6654
|
+
publishError?: boolean
|
|
6655
|
+
publishedAt?: boolean
|
|
6656
|
+
esSyncStatus?: boolean
|
|
6657
|
+
esRetryCount?: boolean
|
|
6658
|
+
esSyncedAt?: boolean
|
|
6659
|
+
esSyncError?: boolean
|
|
6660
|
+
payload?: boolean
|
|
6406
6661
|
createdAt?: boolean
|
|
6407
6662
|
updatedAt?: boolean
|
|
6408
|
-
|
|
6409
|
-
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
6410
|
-
}, ExtArgs["result"]["attributeValue"]>
|
|
6663
|
+
}, ExtArgs["result"]["productSyncOutbox"]>
|
|
6411
6664
|
|
|
6412
|
-
export type
|
|
6665
|
+
export type ProductSyncOutboxSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
6413
6666
|
id?: boolean
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6667
|
+
publishStatus?: boolean
|
|
6668
|
+
publishRetryCount?: boolean
|
|
6669
|
+
publishError?: boolean
|
|
6670
|
+
publishedAt?: boolean
|
|
6671
|
+
esSyncStatus?: boolean
|
|
6672
|
+
esRetryCount?: boolean
|
|
6673
|
+
esSyncedAt?: boolean
|
|
6674
|
+
esSyncError?: boolean
|
|
6675
|
+
payload?: boolean
|
|
6417
6676
|
createdAt?: boolean
|
|
6418
6677
|
updatedAt?: boolean
|
|
6419
|
-
|
|
6420
|
-
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
6421
|
-
}, ExtArgs["result"]["attributeValue"]>
|
|
6678
|
+
}, ExtArgs["result"]["productSyncOutbox"]>
|
|
6422
6679
|
|
|
6423
|
-
export type
|
|
6680
|
+
export type ProductSyncOutboxSelectScalar = {
|
|
6424
6681
|
id?: boolean
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6682
|
+
publishStatus?: boolean
|
|
6683
|
+
publishRetryCount?: boolean
|
|
6684
|
+
publishError?: boolean
|
|
6685
|
+
publishedAt?: boolean
|
|
6686
|
+
esSyncStatus?: boolean
|
|
6687
|
+
esRetryCount?: boolean
|
|
6688
|
+
esSyncedAt?: boolean
|
|
6689
|
+
esSyncError?: boolean
|
|
6690
|
+
payload?: boolean
|
|
6428
6691
|
createdAt?: boolean
|
|
6429
6692
|
updatedAt?: boolean
|
|
6430
6693
|
}
|
|
6431
6694
|
|
|
6432
|
-
export type
|
|
6433
|
-
export type AttributeValueInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6434
|
-
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
6435
|
-
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
6436
|
-
}
|
|
6437
|
-
export type AttributeValueIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6438
|
-
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
6439
|
-
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
6440
|
-
}
|
|
6441
|
-
export type AttributeValueIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6442
|
-
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
6443
|
-
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
6444
|
-
}
|
|
6695
|
+
export type ProductSyncOutboxOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "publishStatus" | "publishRetryCount" | "publishError" | "publishedAt" | "esSyncStatus" | "esRetryCount" | "esSyncedAt" | "esSyncError" | "payload" | "createdAt" | "updatedAt", ExtArgs["result"]["productSyncOutbox"]>
|
|
6445
6696
|
|
|
6446
|
-
export type $
|
|
6447
|
-
name: "
|
|
6448
|
-
objects: {
|
|
6449
|
-
attr: Prisma.$AttributePayload<ExtArgs> | null
|
|
6450
|
-
skus: Prisma.$SkuPayload<ExtArgs> | null
|
|
6451
|
-
}
|
|
6697
|
+
export type $ProductSyncOutboxPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6698
|
+
name: "ProductSyncOutbox"
|
|
6699
|
+
objects: {}
|
|
6452
6700
|
scalars: $Extensions.GetPayloadResult<{
|
|
6453
6701
|
id: string
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6702
|
+
publishStatus: string
|
|
6703
|
+
publishRetryCount: number
|
|
6704
|
+
publishError: string | null
|
|
6705
|
+
publishedAt: Date | null
|
|
6706
|
+
esSyncStatus: string | null
|
|
6707
|
+
esRetryCount: number
|
|
6708
|
+
esSyncedAt: Date | null
|
|
6709
|
+
esSyncError: string | null
|
|
6710
|
+
/**
|
|
6711
|
+
* [PrismaProductEntityPopulated]
|
|
6712
|
+
*/
|
|
6713
|
+
payload:PrismaJson.PrismaProductEntityPopulated | null
|
|
6457
6714
|
createdAt: Date
|
|
6458
6715
|
updatedAt: Date
|
|
6459
|
-
}, ExtArgs["result"]["
|
|
6716
|
+
}, ExtArgs["result"]["productSyncOutbox"]>
|
|
6460
6717
|
composites: {}
|
|
6461
6718
|
}
|
|
6462
6719
|
|
|
6463
|
-
type
|
|
6720
|
+
type ProductSyncOutboxGetPayload<S extends boolean | null | undefined | ProductSyncOutboxDefaultArgs> = $Result.GetResult<Prisma.$ProductSyncOutboxPayload, S>
|
|
6464
6721
|
|
|
6465
|
-
type
|
|
6466
|
-
Omit<
|
|
6467
|
-
select?:
|
|
6722
|
+
type ProductSyncOutboxCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
6723
|
+
Omit<ProductSyncOutboxFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
6724
|
+
select?: ProductSyncOutboxCountAggregateInputType | true
|
|
6468
6725
|
}
|
|
6469
6726
|
|
|
6470
|
-
export interface
|
|
6471
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['
|
|
6727
|
+
export interface ProductSyncOutboxDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
6728
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProductSyncOutbox'], meta: { name: 'ProductSyncOutbox' } }
|
|
6472
6729
|
/**
|
|
6473
|
-
* Find zero or one
|
|
6474
|
-
* @param {
|
|
6730
|
+
* Find zero or one ProductSyncOutbox that matches the filter.
|
|
6731
|
+
* @param {ProductSyncOutboxFindUniqueArgs} args - Arguments to find a ProductSyncOutbox
|
|
6475
6732
|
* @example
|
|
6476
|
-
* // Get one
|
|
6477
|
-
* const
|
|
6733
|
+
* // Get one ProductSyncOutbox
|
|
6734
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.findUnique({
|
|
6478
6735
|
* where: {
|
|
6479
6736
|
* // ... provide filter here
|
|
6480
6737
|
* }
|
|
6481
6738
|
* })
|
|
6482
6739
|
*/
|
|
6483
|
-
findUnique<T extends
|
|
6740
|
+
findUnique<T extends ProductSyncOutboxFindUniqueArgs>(args: SelectSubset<T, ProductSyncOutboxFindUniqueArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
6484
6741
|
|
|
6485
6742
|
/**
|
|
6486
|
-
* Find one
|
|
6743
|
+
* Find one ProductSyncOutbox that matches the filter or throw an error with `error.code='P2025'`
|
|
6487
6744
|
* if no matches were found.
|
|
6488
|
-
* @param {
|
|
6745
|
+
* @param {ProductSyncOutboxFindUniqueOrThrowArgs} args - Arguments to find a ProductSyncOutbox
|
|
6489
6746
|
* @example
|
|
6490
|
-
* // Get one
|
|
6491
|
-
* const
|
|
6747
|
+
* // Get one ProductSyncOutbox
|
|
6748
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.findUniqueOrThrow({
|
|
6492
6749
|
* where: {
|
|
6493
6750
|
* // ... provide filter here
|
|
6494
6751
|
* }
|
|
6495
6752
|
* })
|
|
6496
6753
|
*/
|
|
6497
|
-
findUniqueOrThrow<T extends
|
|
6754
|
+
findUniqueOrThrow<T extends ProductSyncOutboxFindUniqueOrThrowArgs>(args: SelectSubset<T, ProductSyncOutboxFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6498
6755
|
|
|
6499
6756
|
/**
|
|
6500
|
-
* Find the first
|
|
6757
|
+
* Find the first ProductSyncOutbox that matches the filter.
|
|
6501
6758
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
6502
6759
|
* Read more here: https://pris.ly/d/null-undefined
|
|
6503
|
-
* @param {
|
|
6760
|
+
* @param {ProductSyncOutboxFindFirstArgs} args - Arguments to find a ProductSyncOutbox
|
|
6504
6761
|
* @example
|
|
6505
|
-
* // Get one
|
|
6506
|
-
* const
|
|
6762
|
+
* // Get one ProductSyncOutbox
|
|
6763
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.findFirst({
|
|
6507
6764
|
* where: {
|
|
6508
6765
|
* // ... provide filter here
|
|
6509
6766
|
* }
|
|
6510
6767
|
* })
|
|
6511
6768
|
*/
|
|
6512
|
-
findFirst<T extends
|
|
6769
|
+
findFirst<T extends ProductSyncOutboxFindFirstArgs>(args?: SelectSubset<T, ProductSyncOutboxFindFirstArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
6513
6770
|
|
|
6514
6771
|
/**
|
|
6515
|
-
* Find the first
|
|
6772
|
+
* Find the first ProductSyncOutbox that matches the filter or
|
|
6516
6773
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
6517
6774
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
6518
6775
|
* Read more here: https://pris.ly/d/null-undefined
|
|
6519
|
-
* @param {
|
|
6776
|
+
* @param {ProductSyncOutboxFindFirstOrThrowArgs} args - Arguments to find a ProductSyncOutbox
|
|
6520
6777
|
* @example
|
|
6521
|
-
* // Get one
|
|
6522
|
-
* const
|
|
6778
|
+
* // Get one ProductSyncOutbox
|
|
6779
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.findFirstOrThrow({
|
|
6780
|
+
* where: {
|
|
6781
|
+
* // ... provide filter here
|
|
6782
|
+
* }
|
|
6783
|
+
* })
|
|
6784
|
+
*/
|
|
6785
|
+
findFirstOrThrow<T extends ProductSyncOutboxFindFirstOrThrowArgs>(args?: SelectSubset<T, ProductSyncOutboxFindFirstOrThrowArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6786
|
+
|
|
6787
|
+
/**
|
|
6788
|
+
* Find zero or more ProductSyncOutboxes that matches the filter.
|
|
6789
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6790
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6791
|
+
* @param {ProductSyncOutboxFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
6792
|
+
* @example
|
|
6793
|
+
* // Get all ProductSyncOutboxes
|
|
6794
|
+
* const productSyncOutboxes = await prisma.productSyncOutbox.findMany()
|
|
6795
|
+
*
|
|
6796
|
+
* // Get first 10 ProductSyncOutboxes
|
|
6797
|
+
* const productSyncOutboxes = await prisma.productSyncOutbox.findMany({ take: 10 })
|
|
6798
|
+
*
|
|
6799
|
+
* // Only select the `id`
|
|
6800
|
+
* const productSyncOutboxWithIdOnly = await prisma.productSyncOutbox.findMany({ select: { id: true } })
|
|
6801
|
+
*
|
|
6802
|
+
*/
|
|
6803
|
+
findMany<T extends ProductSyncOutboxFindManyArgs>(args?: SelectSubset<T, ProductSyncOutboxFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
6804
|
+
|
|
6805
|
+
/**
|
|
6806
|
+
* Create a ProductSyncOutbox.
|
|
6807
|
+
* @param {ProductSyncOutboxCreateArgs} args - Arguments to create a ProductSyncOutbox.
|
|
6808
|
+
* @example
|
|
6809
|
+
* // Create one ProductSyncOutbox
|
|
6810
|
+
* const ProductSyncOutbox = await prisma.productSyncOutbox.create({
|
|
6811
|
+
* data: {
|
|
6812
|
+
* // ... data to create a ProductSyncOutbox
|
|
6813
|
+
* }
|
|
6814
|
+
* })
|
|
6815
|
+
*
|
|
6816
|
+
*/
|
|
6817
|
+
create<T extends ProductSyncOutboxCreateArgs>(args: SelectSubset<T, ProductSyncOutboxCreateArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6818
|
+
|
|
6819
|
+
/**
|
|
6820
|
+
* Create many ProductSyncOutboxes.
|
|
6821
|
+
* @param {ProductSyncOutboxCreateManyArgs} args - Arguments to create many ProductSyncOutboxes.
|
|
6822
|
+
* @example
|
|
6823
|
+
* // Create many ProductSyncOutboxes
|
|
6824
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.createMany({
|
|
6825
|
+
* data: [
|
|
6826
|
+
* // ... provide data here
|
|
6827
|
+
* ]
|
|
6828
|
+
* })
|
|
6829
|
+
*
|
|
6830
|
+
*/
|
|
6831
|
+
createMany<T extends ProductSyncOutboxCreateManyArgs>(args?: SelectSubset<T, ProductSyncOutboxCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
6832
|
+
|
|
6833
|
+
/**
|
|
6834
|
+
* Create many ProductSyncOutboxes and returns the data saved in the database.
|
|
6835
|
+
* @param {ProductSyncOutboxCreateManyAndReturnArgs} args - Arguments to create many ProductSyncOutboxes.
|
|
6836
|
+
* @example
|
|
6837
|
+
* // Create many ProductSyncOutboxes
|
|
6838
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.createManyAndReturn({
|
|
6839
|
+
* data: [
|
|
6840
|
+
* // ... provide data here
|
|
6841
|
+
* ]
|
|
6842
|
+
* })
|
|
6843
|
+
*
|
|
6844
|
+
* // Create many ProductSyncOutboxes and only return the `id`
|
|
6845
|
+
* const productSyncOutboxWithIdOnly = await prisma.productSyncOutbox.createManyAndReturn({
|
|
6846
|
+
* select: { id: true },
|
|
6847
|
+
* data: [
|
|
6848
|
+
* // ... provide data here
|
|
6849
|
+
* ]
|
|
6850
|
+
* })
|
|
6851
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6852
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6853
|
+
*
|
|
6854
|
+
*/
|
|
6855
|
+
createManyAndReturn<T extends ProductSyncOutboxCreateManyAndReturnArgs>(args?: SelectSubset<T, ProductSyncOutboxCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
6856
|
+
|
|
6857
|
+
/**
|
|
6858
|
+
* Delete a ProductSyncOutbox.
|
|
6859
|
+
* @param {ProductSyncOutboxDeleteArgs} args - Arguments to delete one ProductSyncOutbox.
|
|
6860
|
+
* @example
|
|
6861
|
+
* // Delete one ProductSyncOutbox
|
|
6862
|
+
* const ProductSyncOutbox = await prisma.productSyncOutbox.delete({
|
|
6863
|
+
* where: {
|
|
6864
|
+
* // ... filter to delete one ProductSyncOutbox
|
|
6865
|
+
* }
|
|
6866
|
+
* })
|
|
6867
|
+
*
|
|
6868
|
+
*/
|
|
6869
|
+
delete<T extends ProductSyncOutboxDeleteArgs>(args: SelectSubset<T, ProductSyncOutboxDeleteArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6870
|
+
|
|
6871
|
+
/**
|
|
6872
|
+
* Update one ProductSyncOutbox.
|
|
6873
|
+
* @param {ProductSyncOutboxUpdateArgs} args - Arguments to update one ProductSyncOutbox.
|
|
6874
|
+
* @example
|
|
6875
|
+
* // Update one ProductSyncOutbox
|
|
6876
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.update({
|
|
6877
|
+
* where: {
|
|
6878
|
+
* // ... provide filter here
|
|
6879
|
+
* },
|
|
6880
|
+
* data: {
|
|
6881
|
+
* // ... provide data here
|
|
6882
|
+
* }
|
|
6883
|
+
* })
|
|
6884
|
+
*
|
|
6885
|
+
*/
|
|
6886
|
+
update<T extends ProductSyncOutboxUpdateArgs>(args: SelectSubset<T, ProductSyncOutboxUpdateArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6887
|
+
|
|
6888
|
+
/**
|
|
6889
|
+
* Delete zero or more ProductSyncOutboxes.
|
|
6890
|
+
* @param {ProductSyncOutboxDeleteManyArgs} args - Arguments to filter ProductSyncOutboxes to delete.
|
|
6891
|
+
* @example
|
|
6892
|
+
* // Delete a few ProductSyncOutboxes
|
|
6893
|
+
* const { count } = await prisma.productSyncOutbox.deleteMany({
|
|
6894
|
+
* where: {
|
|
6895
|
+
* // ... provide filter here
|
|
6896
|
+
* }
|
|
6897
|
+
* })
|
|
6898
|
+
*
|
|
6899
|
+
*/
|
|
6900
|
+
deleteMany<T extends ProductSyncOutboxDeleteManyArgs>(args?: SelectSubset<T, ProductSyncOutboxDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
6901
|
+
|
|
6902
|
+
/**
|
|
6903
|
+
* Update zero or more ProductSyncOutboxes.
|
|
6904
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6905
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6906
|
+
* @param {ProductSyncOutboxUpdateManyArgs} args - Arguments to update one or more rows.
|
|
6907
|
+
* @example
|
|
6908
|
+
* // Update many ProductSyncOutboxes
|
|
6909
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.updateMany({
|
|
6910
|
+
* where: {
|
|
6911
|
+
* // ... provide filter here
|
|
6912
|
+
* },
|
|
6913
|
+
* data: {
|
|
6914
|
+
* // ... provide data here
|
|
6915
|
+
* }
|
|
6916
|
+
* })
|
|
6917
|
+
*
|
|
6918
|
+
*/
|
|
6919
|
+
updateMany<T extends ProductSyncOutboxUpdateManyArgs>(args: SelectSubset<T, ProductSyncOutboxUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
6920
|
+
|
|
6921
|
+
/**
|
|
6922
|
+
* Update zero or more ProductSyncOutboxes and returns the data updated in the database.
|
|
6923
|
+
* @param {ProductSyncOutboxUpdateManyAndReturnArgs} args - Arguments to update many ProductSyncOutboxes.
|
|
6924
|
+
* @example
|
|
6925
|
+
* // Update many ProductSyncOutboxes
|
|
6926
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.updateManyAndReturn({
|
|
6927
|
+
* where: {
|
|
6928
|
+
* // ... provide filter here
|
|
6929
|
+
* },
|
|
6930
|
+
* data: [
|
|
6931
|
+
* // ... provide data here
|
|
6932
|
+
* ]
|
|
6933
|
+
* })
|
|
6934
|
+
*
|
|
6935
|
+
* // Update zero or more ProductSyncOutboxes and only return the `id`
|
|
6936
|
+
* const productSyncOutboxWithIdOnly = await prisma.productSyncOutbox.updateManyAndReturn({
|
|
6937
|
+
* select: { id: true },
|
|
6938
|
+
* where: {
|
|
6939
|
+
* // ... provide filter here
|
|
6940
|
+
* },
|
|
6941
|
+
* data: [
|
|
6942
|
+
* // ... provide data here
|
|
6943
|
+
* ]
|
|
6944
|
+
* })
|
|
6945
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6946
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6947
|
+
*
|
|
6948
|
+
*/
|
|
6949
|
+
updateManyAndReturn<T extends ProductSyncOutboxUpdateManyAndReturnArgs>(args: SelectSubset<T, ProductSyncOutboxUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
6950
|
+
|
|
6951
|
+
/**
|
|
6952
|
+
* Create or update one ProductSyncOutbox.
|
|
6953
|
+
* @param {ProductSyncOutboxUpsertArgs} args - Arguments to update or create a ProductSyncOutbox.
|
|
6954
|
+
* @example
|
|
6955
|
+
* // Update or create a ProductSyncOutbox
|
|
6956
|
+
* const productSyncOutbox = await prisma.productSyncOutbox.upsert({
|
|
6957
|
+
* create: {
|
|
6958
|
+
* // ... data to create a ProductSyncOutbox
|
|
6959
|
+
* },
|
|
6960
|
+
* update: {
|
|
6961
|
+
* // ... in case it already exists, update
|
|
6962
|
+
* },
|
|
6963
|
+
* where: {
|
|
6964
|
+
* // ... the filter for the ProductSyncOutbox we want to update
|
|
6965
|
+
* }
|
|
6966
|
+
* })
|
|
6967
|
+
*/
|
|
6968
|
+
upsert<T extends ProductSyncOutboxUpsertArgs>(args: SelectSubset<T, ProductSyncOutboxUpsertArgs<ExtArgs>>): Prisma__ProductSyncOutboxClient<$Result.GetResult<Prisma.$ProductSyncOutboxPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
6969
|
+
|
|
6970
|
+
|
|
6971
|
+
/**
|
|
6972
|
+
* Count the number of ProductSyncOutboxes.
|
|
6973
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6974
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6975
|
+
* @param {ProductSyncOutboxCountArgs} args - Arguments to filter ProductSyncOutboxes to count.
|
|
6976
|
+
* @example
|
|
6977
|
+
* // Count the number of ProductSyncOutboxes
|
|
6978
|
+
* const count = await prisma.productSyncOutbox.count({
|
|
6979
|
+
* where: {
|
|
6980
|
+
* // ... the filter for the ProductSyncOutboxes we want to count
|
|
6981
|
+
* }
|
|
6982
|
+
* })
|
|
6983
|
+
**/
|
|
6984
|
+
count<T extends ProductSyncOutboxCountArgs>(
|
|
6985
|
+
args?: Subset<T, ProductSyncOutboxCountArgs>,
|
|
6986
|
+
): Prisma.PrismaPromise<
|
|
6987
|
+
T extends $Utils.Record<'select', any>
|
|
6988
|
+
? T['select'] extends true
|
|
6989
|
+
? number
|
|
6990
|
+
: GetScalarType<T['select'], ProductSyncOutboxCountAggregateOutputType>
|
|
6991
|
+
: number
|
|
6992
|
+
>
|
|
6993
|
+
|
|
6994
|
+
/**
|
|
6995
|
+
* Allows you to perform aggregations operations on a ProductSyncOutbox.
|
|
6996
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6997
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6998
|
+
* @param {ProductSyncOutboxAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
6999
|
+
* @example
|
|
7000
|
+
* // Ordered by age ascending
|
|
7001
|
+
* // Where email contains prisma.io
|
|
7002
|
+
* // Limited to the 10 users
|
|
7003
|
+
* const aggregations = await prisma.user.aggregate({
|
|
7004
|
+
* _avg: {
|
|
7005
|
+
* age: true,
|
|
7006
|
+
* },
|
|
7007
|
+
* where: {
|
|
7008
|
+
* email: {
|
|
7009
|
+
* contains: "prisma.io",
|
|
7010
|
+
* },
|
|
7011
|
+
* },
|
|
7012
|
+
* orderBy: {
|
|
7013
|
+
* age: "asc",
|
|
7014
|
+
* },
|
|
7015
|
+
* take: 10,
|
|
7016
|
+
* })
|
|
7017
|
+
**/
|
|
7018
|
+
aggregate<T extends ProductSyncOutboxAggregateArgs>(args: Subset<T, ProductSyncOutboxAggregateArgs>): Prisma.PrismaPromise<GetProductSyncOutboxAggregateType<T>>
|
|
7019
|
+
|
|
7020
|
+
/**
|
|
7021
|
+
* Group by ProductSyncOutbox.
|
|
7022
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7023
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7024
|
+
* @param {ProductSyncOutboxGroupByArgs} args - Group by arguments.
|
|
7025
|
+
* @example
|
|
7026
|
+
* // Group by city, order by createdAt, get count
|
|
7027
|
+
* const result = await prisma.user.groupBy({
|
|
7028
|
+
* by: ['city', 'createdAt'],
|
|
7029
|
+
* orderBy: {
|
|
7030
|
+
* createdAt: true
|
|
7031
|
+
* },
|
|
7032
|
+
* _count: {
|
|
7033
|
+
* _all: true
|
|
7034
|
+
* },
|
|
7035
|
+
* })
|
|
7036
|
+
*
|
|
7037
|
+
**/
|
|
7038
|
+
groupBy<
|
|
7039
|
+
T extends ProductSyncOutboxGroupByArgs,
|
|
7040
|
+
HasSelectOrTake extends Or<
|
|
7041
|
+
Extends<'skip', Keys<T>>,
|
|
7042
|
+
Extends<'take', Keys<T>>
|
|
7043
|
+
>,
|
|
7044
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
7045
|
+
? { orderBy: ProductSyncOutboxGroupByArgs['orderBy'] }
|
|
7046
|
+
: { orderBy?: ProductSyncOutboxGroupByArgs['orderBy'] },
|
|
7047
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
7048
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
7049
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
7050
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
7051
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
7052
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
7053
|
+
InputErrors extends ByEmpty extends True
|
|
7054
|
+
? `Error: "by" must not be empty.`
|
|
7055
|
+
: HavingValid extends False
|
|
7056
|
+
? {
|
|
7057
|
+
[P in HavingFields]: P extends ByFields
|
|
7058
|
+
? never
|
|
7059
|
+
: P extends string
|
|
7060
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
7061
|
+
: [
|
|
7062
|
+
Error,
|
|
7063
|
+
'Field ',
|
|
7064
|
+
P,
|
|
7065
|
+
` in "having" needs to be provided in "by"`,
|
|
7066
|
+
]
|
|
7067
|
+
}[HavingFields]
|
|
7068
|
+
: 'take' extends Keys<T>
|
|
7069
|
+
? 'orderBy' extends Keys<T>
|
|
7070
|
+
? ByValid extends True
|
|
7071
|
+
? {}
|
|
7072
|
+
: {
|
|
7073
|
+
[P in OrderFields]: P extends ByFields
|
|
7074
|
+
? never
|
|
7075
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
7076
|
+
}[OrderFields]
|
|
7077
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
7078
|
+
: 'skip' extends Keys<T>
|
|
7079
|
+
? 'orderBy' extends Keys<T>
|
|
7080
|
+
? ByValid extends True
|
|
7081
|
+
? {}
|
|
7082
|
+
: {
|
|
7083
|
+
[P in OrderFields]: P extends ByFields
|
|
7084
|
+
? never
|
|
7085
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
7086
|
+
}[OrderFields]
|
|
7087
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
7088
|
+
: ByValid extends True
|
|
7089
|
+
? {}
|
|
7090
|
+
: {
|
|
7091
|
+
[P in OrderFields]: P extends ByFields
|
|
7092
|
+
? never
|
|
7093
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
7094
|
+
}[OrderFields]
|
|
7095
|
+
>(args: SubsetIntersection<T, ProductSyncOutboxGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductSyncOutboxGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
7096
|
+
/**
|
|
7097
|
+
* Fields of the ProductSyncOutbox model
|
|
7098
|
+
*/
|
|
7099
|
+
readonly fields: ProductSyncOutboxFieldRefs;
|
|
7100
|
+
}
|
|
7101
|
+
|
|
7102
|
+
/**
|
|
7103
|
+
* The delegate class that acts as a "Promise-like" for ProductSyncOutbox.
|
|
7104
|
+
* Why is this prefixed with `Prisma__`?
|
|
7105
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
7106
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
7107
|
+
*/
|
|
7108
|
+
export interface Prisma__ProductSyncOutboxClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
7109
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
7110
|
+
/**
|
|
7111
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
7112
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
7113
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
7114
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
7115
|
+
*/
|
|
7116
|
+
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>
|
|
7117
|
+
/**
|
|
7118
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
7119
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
7120
|
+
* @returns A Promise for the completion of the callback.
|
|
7121
|
+
*/
|
|
7122
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
7123
|
+
/**
|
|
7124
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
7125
|
+
* resolved value cannot be modified from the callback.
|
|
7126
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
7127
|
+
* @returns A Promise for the completion of the callback.
|
|
7128
|
+
*/
|
|
7129
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
|
|
7133
|
+
|
|
7134
|
+
|
|
7135
|
+
/**
|
|
7136
|
+
* Fields of the ProductSyncOutbox model
|
|
7137
|
+
*/
|
|
7138
|
+
interface ProductSyncOutboxFieldRefs {
|
|
7139
|
+
readonly id: FieldRef<"ProductSyncOutbox", 'String'>
|
|
7140
|
+
readonly publishStatus: FieldRef<"ProductSyncOutbox", 'String'>
|
|
7141
|
+
readonly publishRetryCount: FieldRef<"ProductSyncOutbox", 'Int'>
|
|
7142
|
+
readonly publishError: FieldRef<"ProductSyncOutbox", 'String'>
|
|
7143
|
+
readonly publishedAt: FieldRef<"ProductSyncOutbox", 'DateTime'>
|
|
7144
|
+
readonly esSyncStatus: FieldRef<"ProductSyncOutbox", 'String'>
|
|
7145
|
+
readonly esRetryCount: FieldRef<"ProductSyncOutbox", 'Int'>
|
|
7146
|
+
readonly esSyncedAt: FieldRef<"ProductSyncOutbox", 'DateTime'>
|
|
7147
|
+
readonly esSyncError: FieldRef<"ProductSyncOutbox", 'String'>
|
|
7148
|
+
readonly payload: FieldRef<"ProductSyncOutbox", 'Json'>
|
|
7149
|
+
readonly createdAt: FieldRef<"ProductSyncOutbox", 'DateTime'>
|
|
7150
|
+
readonly updatedAt: FieldRef<"ProductSyncOutbox", 'DateTime'>
|
|
7151
|
+
}
|
|
7152
|
+
|
|
7153
|
+
|
|
7154
|
+
// Custom InputTypes
|
|
7155
|
+
/**
|
|
7156
|
+
* ProductSyncOutbox findUnique
|
|
7157
|
+
*/
|
|
7158
|
+
export type ProductSyncOutboxFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7159
|
+
/**
|
|
7160
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7161
|
+
*/
|
|
7162
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7163
|
+
/**
|
|
7164
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7165
|
+
*/
|
|
7166
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7167
|
+
/**
|
|
7168
|
+
* Filter, which ProductSyncOutbox to fetch.
|
|
7169
|
+
*/
|
|
7170
|
+
where: ProductSyncOutboxWhereUniqueInput
|
|
7171
|
+
}
|
|
7172
|
+
|
|
7173
|
+
/**
|
|
7174
|
+
* ProductSyncOutbox findUniqueOrThrow
|
|
7175
|
+
*/
|
|
7176
|
+
export type ProductSyncOutboxFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7177
|
+
/**
|
|
7178
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7179
|
+
*/
|
|
7180
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7181
|
+
/**
|
|
7182
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7183
|
+
*/
|
|
7184
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7185
|
+
/**
|
|
7186
|
+
* Filter, which ProductSyncOutbox to fetch.
|
|
7187
|
+
*/
|
|
7188
|
+
where: ProductSyncOutboxWhereUniqueInput
|
|
7189
|
+
}
|
|
7190
|
+
|
|
7191
|
+
/**
|
|
7192
|
+
* ProductSyncOutbox findFirst
|
|
7193
|
+
*/
|
|
7194
|
+
export type ProductSyncOutboxFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7195
|
+
/**
|
|
7196
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7197
|
+
*/
|
|
7198
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7199
|
+
/**
|
|
7200
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7201
|
+
*/
|
|
7202
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7203
|
+
/**
|
|
7204
|
+
* Filter, which ProductSyncOutbox to fetch.
|
|
7205
|
+
*/
|
|
7206
|
+
where?: ProductSyncOutboxWhereInput
|
|
7207
|
+
/**
|
|
7208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7209
|
+
*
|
|
7210
|
+
* Determine the order of ProductSyncOutboxes to fetch.
|
|
7211
|
+
*/
|
|
7212
|
+
orderBy?: ProductSyncOutboxOrderByWithRelationInput | ProductSyncOutboxOrderByWithRelationInput[]
|
|
7213
|
+
/**
|
|
7214
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7215
|
+
*
|
|
7216
|
+
* Sets the position for searching for ProductSyncOutboxes.
|
|
7217
|
+
*/
|
|
7218
|
+
cursor?: ProductSyncOutboxWhereUniqueInput
|
|
7219
|
+
/**
|
|
7220
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7221
|
+
*
|
|
7222
|
+
* Take `±n` ProductSyncOutboxes from the position of the cursor.
|
|
7223
|
+
*/
|
|
7224
|
+
take?: number
|
|
7225
|
+
/**
|
|
7226
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7227
|
+
*
|
|
7228
|
+
* Skip the first `n` ProductSyncOutboxes.
|
|
7229
|
+
*/
|
|
7230
|
+
skip?: number
|
|
7231
|
+
/**
|
|
7232
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
7233
|
+
*
|
|
7234
|
+
* Filter by unique combinations of ProductSyncOutboxes.
|
|
7235
|
+
*/
|
|
7236
|
+
distinct?: ProductSyncOutboxScalarFieldEnum | ProductSyncOutboxScalarFieldEnum[]
|
|
7237
|
+
}
|
|
7238
|
+
|
|
7239
|
+
/**
|
|
7240
|
+
* ProductSyncOutbox findFirstOrThrow
|
|
7241
|
+
*/
|
|
7242
|
+
export type ProductSyncOutboxFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7243
|
+
/**
|
|
7244
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7245
|
+
*/
|
|
7246
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7247
|
+
/**
|
|
7248
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7249
|
+
*/
|
|
7250
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7251
|
+
/**
|
|
7252
|
+
* Filter, which ProductSyncOutbox to fetch.
|
|
7253
|
+
*/
|
|
7254
|
+
where?: ProductSyncOutboxWhereInput
|
|
7255
|
+
/**
|
|
7256
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7257
|
+
*
|
|
7258
|
+
* Determine the order of ProductSyncOutboxes to fetch.
|
|
7259
|
+
*/
|
|
7260
|
+
orderBy?: ProductSyncOutboxOrderByWithRelationInput | ProductSyncOutboxOrderByWithRelationInput[]
|
|
7261
|
+
/**
|
|
7262
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7263
|
+
*
|
|
7264
|
+
* Sets the position for searching for ProductSyncOutboxes.
|
|
7265
|
+
*/
|
|
7266
|
+
cursor?: ProductSyncOutboxWhereUniqueInput
|
|
7267
|
+
/**
|
|
7268
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7269
|
+
*
|
|
7270
|
+
* Take `±n` ProductSyncOutboxes from the position of the cursor.
|
|
7271
|
+
*/
|
|
7272
|
+
take?: number
|
|
7273
|
+
/**
|
|
7274
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7275
|
+
*
|
|
7276
|
+
* Skip the first `n` ProductSyncOutboxes.
|
|
7277
|
+
*/
|
|
7278
|
+
skip?: number
|
|
7279
|
+
/**
|
|
7280
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
7281
|
+
*
|
|
7282
|
+
* Filter by unique combinations of ProductSyncOutboxes.
|
|
7283
|
+
*/
|
|
7284
|
+
distinct?: ProductSyncOutboxScalarFieldEnum | ProductSyncOutboxScalarFieldEnum[]
|
|
7285
|
+
}
|
|
7286
|
+
|
|
7287
|
+
/**
|
|
7288
|
+
* ProductSyncOutbox findMany
|
|
7289
|
+
*/
|
|
7290
|
+
export type ProductSyncOutboxFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7291
|
+
/**
|
|
7292
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7293
|
+
*/
|
|
7294
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7295
|
+
/**
|
|
7296
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7297
|
+
*/
|
|
7298
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7299
|
+
/**
|
|
7300
|
+
* Filter, which ProductSyncOutboxes to fetch.
|
|
7301
|
+
*/
|
|
7302
|
+
where?: ProductSyncOutboxWhereInput
|
|
7303
|
+
/**
|
|
7304
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7305
|
+
*
|
|
7306
|
+
* Determine the order of ProductSyncOutboxes to fetch.
|
|
7307
|
+
*/
|
|
7308
|
+
orderBy?: ProductSyncOutboxOrderByWithRelationInput | ProductSyncOutboxOrderByWithRelationInput[]
|
|
7309
|
+
/**
|
|
7310
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7311
|
+
*
|
|
7312
|
+
* Sets the position for listing ProductSyncOutboxes.
|
|
7313
|
+
*/
|
|
7314
|
+
cursor?: ProductSyncOutboxWhereUniqueInput
|
|
7315
|
+
/**
|
|
7316
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7317
|
+
*
|
|
7318
|
+
* Take `±n` ProductSyncOutboxes from the position of the cursor.
|
|
7319
|
+
*/
|
|
7320
|
+
take?: number
|
|
7321
|
+
/**
|
|
7322
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7323
|
+
*
|
|
7324
|
+
* Skip the first `n` ProductSyncOutboxes.
|
|
7325
|
+
*/
|
|
7326
|
+
skip?: number
|
|
7327
|
+
distinct?: ProductSyncOutboxScalarFieldEnum | ProductSyncOutboxScalarFieldEnum[]
|
|
7328
|
+
}
|
|
7329
|
+
|
|
7330
|
+
/**
|
|
7331
|
+
* ProductSyncOutbox create
|
|
7332
|
+
*/
|
|
7333
|
+
export type ProductSyncOutboxCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7334
|
+
/**
|
|
7335
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7336
|
+
*/
|
|
7337
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7338
|
+
/**
|
|
7339
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7340
|
+
*/
|
|
7341
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7342
|
+
/**
|
|
7343
|
+
* The data needed to create a ProductSyncOutbox.
|
|
7344
|
+
*/
|
|
7345
|
+
data: XOR<ProductSyncOutboxCreateInput, ProductSyncOutboxUncheckedCreateInput>
|
|
7346
|
+
}
|
|
7347
|
+
|
|
7348
|
+
/**
|
|
7349
|
+
* ProductSyncOutbox createMany
|
|
7350
|
+
*/
|
|
7351
|
+
export type ProductSyncOutboxCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7352
|
+
/**
|
|
7353
|
+
* The data used to create many ProductSyncOutboxes.
|
|
7354
|
+
*/
|
|
7355
|
+
data: ProductSyncOutboxCreateManyInput | ProductSyncOutboxCreateManyInput[]
|
|
7356
|
+
skipDuplicates?: boolean
|
|
7357
|
+
}
|
|
7358
|
+
|
|
7359
|
+
/**
|
|
7360
|
+
* ProductSyncOutbox createManyAndReturn
|
|
7361
|
+
*/
|
|
7362
|
+
export type ProductSyncOutboxCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7363
|
+
/**
|
|
7364
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7365
|
+
*/
|
|
7366
|
+
select?: ProductSyncOutboxSelectCreateManyAndReturn<ExtArgs> | null
|
|
7367
|
+
/**
|
|
7368
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7369
|
+
*/
|
|
7370
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7371
|
+
/**
|
|
7372
|
+
* The data used to create many ProductSyncOutboxes.
|
|
7373
|
+
*/
|
|
7374
|
+
data: ProductSyncOutboxCreateManyInput | ProductSyncOutboxCreateManyInput[]
|
|
7375
|
+
skipDuplicates?: boolean
|
|
7376
|
+
}
|
|
7377
|
+
|
|
7378
|
+
/**
|
|
7379
|
+
* ProductSyncOutbox update
|
|
7380
|
+
*/
|
|
7381
|
+
export type ProductSyncOutboxUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7382
|
+
/**
|
|
7383
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7384
|
+
*/
|
|
7385
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7386
|
+
/**
|
|
7387
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7388
|
+
*/
|
|
7389
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7390
|
+
/**
|
|
7391
|
+
* The data needed to update a ProductSyncOutbox.
|
|
7392
|
+
*/
|
|
7393
|
+
data: XOR<ProductSyncOutboxUpdateInput, ProductSyncOutboxUncheckedUpdateInput>
|
|
7394
|
+
/**
|
|
7395
|
+
* Choose, which ProductSyncOutbox to update.
|
|
7396
|
+
*/
|
|
7397
|
+
where: ProductSyncOutboxWhereUniqueInput
|
|
7398
|
+
}
|
|
7399
|
+
|
|
7400
|
+
/**
|
|
7401
|
+
* ProductSyncOutbox updateMany
|
|
7402
|
+
*/
|
|
7403
|
+
export type ProductSyncOutboxUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7404
|
+
/**
|
|
7405
|
+
* The data used to update ProductSyncOutboxes.
|
|
7406
|
+
*/
|
|
7407
|
+
data: XOR<ProductSyncOutboxUpdateManyMutationInput, ProductSyncOutboxUncheckedUpdateManyInput>
|
|
7408
|
+
/**
|
|
7409
|
+
* Filter which ProductSyncOutboxes to update
|
|
7410
|
+
*/
|
|
7411
|
+
where?: ProductSyncOutboxWhereInput
|
|
7412
|
+
/**
|
|
7413
|
+
* Limit how many ProductSyncOutboxes to update.
|
|
7414
|
+
*/
|
|
7415
|
+
limit?: number
|
|
7416
|
+
}
|
|
7417
|
+
|
|
7418
|
+
/**
|
|
7419
|
+
* ProductSyncOutbox updateManyAndReturn
|
|
7420
|
+
*/
|
|
7421
|
+
export type ProductSyncOutboxUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7422
|
+
/**
|
|
7423
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7424
|
+
*/
|
|
7425
|
+
select?: ProductSyncOutboxSelectUpdateManyAndReturn<ExtArgs> | null
|
|
7426
|
+
/**
|
|
7427
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7428
|
+
*/
|
|
7429
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7430
|
+
/**
|
|
7431
|
+
* The data used to update ProductSyncOutboxes.
|
|
7432
|
+
*/
|
|
7433
|
+
data: XOR<ProductSyncOutboxUpdateManyMutationInput, ProductSyncOutboxUncheckedUpdateManyInput>
|
|
7434
|
+
/**
|
|
7435
|
+
* Filter which ProductSyncOutboxes to update
|
|
7436
|
+
*/
|
|
7437
|
+
where?: ProductSyncOutboxWhereInput
|
|
7438
|
+
/**
|
|
7439
|
+
* Limit how many ProductSyncOutboxes to update.
|
|
7440
|
+
*/
|
|
7441
|
+
limit?: number
|
|
7442
|
+
}
|
|
7443
|
+
|
|
7444
|
+
/**
|
|
7445
|
+
* ProductSyncOutbox upsert
|
|
7446
|
+
*/
|
|
7447
|
+
export type ProductSyncOutboxUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7448
|
+
/**
|
|
7449
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7450
|
+
*/
|
|
7451
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7452
|
+
/**
|
|
7453
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7454
|
+
*/
|
|
7455
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7456
|
+
/**
|
|
7457
|
+
* The filter to search for the ProductSyncOutbox to update in case it exists.
|
|
7458
|
+
*/
|
|
7459
|
+
where: ProductSyncOutboxWhereUniqueInput
|
|
7460
|
+
/**
|
|
7461
|
+
* In case the ProductSyncOutbox found by the `where` argument doesn't exist, create a new ProductSyncOutbox with this data.
|
|
7462
|
+
*/
|
|
7463
|
+
create: XOR<ProductSyncOutboxCreateInput, ProductSyncOutboxUncheckedCreateInput>
|
|
7464
|
+
/**
|
|
7465
|
+
* In case the ProductSyncOutbox was found with the provided `where` argument, update it with this data.
|
|
7466
|
+
*/
|
|
7467
|
+
update: XOR<ProductSyncOutboxUpdateInput, ProductSyncOutboxUncheckedUpdateInput>
|
|
7468
|
+
}
|
|
7469
|
+
|
|
7470
|
+
/**
|
|
7471
|
+
* ProductSyncOutbox delete
|
|
7472
|
+
*/
|
|
7473
|
+
export type ProductSyncOutboxDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7474
|
+
/**
|
|
7475
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7476
|
+
*/
|
|
7477
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7478
|
+
/**
|
|
7479
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7480
|
+
*/
|
|
7481
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7482
|
+
/**
|
|
7483
|
+
* Filter which ProductSyncOutbox to delete.
|
|
7484
|
+
*/
|
|
7485
|
+
where: ProductSyncOutboxWhereUniqueInput
|
|
7486
|
+
}
|
|
7487
|
+
|
|
7488
|
+
/**
|
|
7489
|
+
* ProductSyncOutbox deleteMany
|
|
7490
|
+
*/
|
|
7491
|
+
export type ProductSyncOutboxDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7492
|
+
/**
|
|
7493
|
+
* Filter which ProductSyncOutboxes to delete
|
|
7494
|
+
*/
|
|
7495
|
+
where?: ProductSyncOutboxWhereInput
|
|
7496
|
+
/**
|
|
7497
|
+
* Limit how many ProductSyncOutboxes to delete.
|
|
7498
|
+
*/
|
|
7499
|
+
limit?: number
|
|
7500
|
+
}
|
|
7501
|
+
|
|
7502
|
+
/**
|
|
7503
|
+
* ProductSyncOutbox without action
|
|
7504
|
+
*/
|
|
7505
|
+
export type ProductSyncOutboxDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7506
|
+
/**
|
|
7507
|
+
* Select specific fields to fetch from the ProductSyncOutbox
|
|
7508
|
+
*/
|
|
7509
|
+
select?: ProductSyncOutboxSelect<ExtArgs> | null
|
|
7510
|
+
/**
|
|
7511
|
+
* Omit specific fields from the ProductSyncOutbox
|
|
7512
|
+
*/
|
|
7513
|
+
omit?: ProductSyncOutboxOmit<ExtArgs> | null
|
|
7514
|
+
}
|
|
7515
|
+
|
|
7516
|
+
|
|
7517
|
+
/**
|
|
7518
|
+
* Model InventoryOutbox
|
|
7519
|
+
*/
|
|
7520
|
+
|
|
7521
|
+
export type AggregateInventoryOutbox = {
|
|
7522
|
+
_count: InventoryOutboxCountAggregateOutputType | null
|
|
7523
|
+
_avg: InventoryOutboxAvgAggregateOutputType | null
|
|
7524
|
+
_sum: InventoryOutboxSumAggregateOutputType | null
|
|
7525
|
+
_min: InventoryOutboxMinAggregateOutputType | null
|
|
7526
|
+
_max: InventoryOutboxMaxAggregateOutputType | null
|
|
7527
|
+
}
|
|
7528
|
+
|
|
7529
|
+
export type InventoryOutboxAvgAggregateOutputType = {
|
|
7530
|
+
publishRetryCount: number | null
|
|
7531
|
+
}
|
|
7532
|
+
|
|
7533
|
+
export type InventoryOutboxSumAggregateOutputType = {
|
|
7534
|
+
publishRetryCount: number | null
|
|
7535
|
+
}
|
|
7536
|
+
|
|
7537
|
+
export type InventoryOutboxMinAggregateOutputType = {
|
|
7538
|
+
id: string | null
|
|
7539
|
+
publishStatus: string | null
|
|
7540
|
+
publishRetryCount: number | null
|
|
7541
|
+
publishError: string | null
|
|
7542
|
+
publishedAt: Date | null
|
|
7543
|
+
createdAt: Date | null
|
|
7544
|
+
updatedAt: Date | null
|
|
7545
|
+
}
|
|
7546
|
+
|
|
7547
|
+
export type InventoryOutboxMaxAggregateOutputType = {
|
|
7548
|
+
id: string | null
|
|
7549
|
+
publishStatus: string | null
|
|
7550
|
+
publishRetryCount: number | null
|
|
7551
|
+
publishError: string | null
|
|
7552
|
+
publishedAt: Date | null
|
|
7553
|
+
createdAt: Date | null
|
|
7554
|
+
updatedAt: Date | null
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7557
|
+
export type InventoryOutboxCountAggregateOutputType = {
|
|
7558
|
+
id: number
|
|
7559
|
+
publishStatus: number
|
|
7560
|
+
publishRetryCount: number
|
|
7561
|
+
publishError: number
|
|
7562
|
+
publishedAt: number
|
|
7563
|
+
payload: number
|
|
7564
|
+
createdAt: number
|
|
7565
|
+
updatedAt: number
|
|
7566
|
+
_all: number
|
|
7567
|
+
}
|
|
7568
|
+
|
|
7569
|
+
|
|
7570
|
+
export type InventoryOutboxAvgAggregateInputType = {
|
|
7571
|
+
publishRetryCount?: true
|
|
7572
|
+
}
|
|
7573
|
+
|
|
7574
|
+
export type InventoryOutboxSumAggregateInputType = {
|
|
7575
|
+
publishRetryCount?: true
|
|
7576
|
+
}
|
|
7577
|
+
|
|
7578
|
+
export type InventoryOutboxMinAggregateInputType = {
|
|
7579
|
+
id?: true
|
|
7580
|
+
publishStatus?: true
|
|
7581
|
+
publishRetryCount?: true
|
|
7582
|
+
publishError?: true
|
|
7583
|
+
publishedAt?: true
|
|
7584
|
+
createdAt?: true
|
|
7585
|
+
updatedAt?: true
|
|
7586
|
+
}
|
|
7587
|
+
|
|
7588
|
+
export type InventoryOutboxMaxAggregateInputType = {
|
|
7589
|
+
id?: true
|
|
7590
|
+
publishStatus?: true
|
|
7591
|
+
publishRetryCount?: true
|
|
7592
|
+
publishError?: true
|
|
7593
|
+
publishedAt?: true
|
|
7594
|
+
createdAt?: true
|
|
7595
|
+
updatedAt?: true
|
|
7596
|
+
}
|
|
7597
|
+
|
|
7598
|
+
export type InventoryOutboxCountAggregateInputType = {
|
|
7599
|
+
id?: true
|
|
7600
|
+
publishStatus?: true
|
|
7601
|
+
publishRetryCount?: true
|
|
7602
|
+
publishError?: true
|
|
7603
|
+
publishedAt?: true
|
|
7604
|
+
payload?: true
|
|
7605
|
+
createdAt?: true
|
|
7606
|
+
updatedAt?: true
|
|
7607
|
+
_all?: true
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7610
|
+
export type InventoryOutboxAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7611
|
+
/**
|
|
7612
|
+
* Filter which InventoryOutbox to aggregate.
|
|
7613
|
+
*/
|
|
7614
|
+
where?: InventoryOutboxWhereInput
|
|
7615
|
+
/**
|
|
7616
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
7617
|
+
*
|
|
7618
|
+
* Determine the order of InventoryOutboxes to fetch.
|
|
7619
|
+
*/
|
|
7620
|
+
orderBy?: InventoryOutboxOrderByWithRelationInput | InventoryOutboxOrderByWithRelationInput[]
|
|
7621
|
+
/**
|
|
7622
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
7623
|
+
*
|
|
7624
|
+
* Sets the start position
|
|
7625
|
+
*/
|
|
7626
|
+
cursor?: InventoryOutboxWhereUniqueInput
|
|
7627
|
+
/**
|
|
7628
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7629
|
+
*
|
|
7630
|
+
* Take `±n` InventoryOutboxes from the position of the cursor.
|
|
7631
|
+
*/
|
|
7632
|
+
take?: number
|
|
7633
|
+
/**
|
|
7634
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
7635
|
+
*
|
|
7636
|
+
* Skip the first `n` InventoryOutboxes.
|
|
7637
|
+
*/
|
|
7638
|
+
skip?: number
|
|
7639
|
+
/**
|
|
7640
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7641
|
+
*
|
|
7642
|
+
* Count returned InventoryOutboxes
|
|
7643
|
+
**/
|
|
7644
|
+
_count?: true | InventoryOutboxCountAggregateInputType
|
|
7645
|
+
/**
|
|
7646
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7647
|
+
*
|
|
7648
|
+
* Select which fields to average
|
|
7649
|
+
**/
|
|
7650
|
+
_avg?: InventoryOutboxAvgAggregateInputType
|
|
7651
|
+
/**
|
|
7652
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7653
|
+
*
|
|
7654
|
+
* Select which fields to sum
|
|
7655
|
+
**/
|
|
7656
|
+
_sum?: InventoryOutboxSumAggregateInputType
|
|
7657
|
+
/**
|
|
7658
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7659
|
+
*
|
|
7660
|
+
* Select which fields to find the minimum value
|
|
7661
|
+
**/
|
|
7662
|
+
_min?: InventoryOutboxMinAggregateInputType
|
|
7663
|
+
/**
|
|
7664
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7665
|
+
*
|
|
7666
|
+
* Select which fields to find the maximum value
|
|
7667
|
+
**/
|
|
7668
|
+
_max?: InventoryOutboxMaxAggregateInputType
|
|
7669
|
+
}
|
|
7670
|
+
|
|
7671
|
+
export type GetInventoryOutboxAggregateType<T extends InventoryOutboxAggregateArgs> = {
|
|
7672
|
+
[P in keyof T & keyof AggregateInventoryOutbox]: P extends '_count' | 'count'
|
|
7673
|
+
? T[P] extends true
|
|
7674
|
+
? number
|
|
7675
|
+
: GetScalarType<T[P], AggregateInventoryOutbox[P]>
|
|
7676
|
+
: GetScalarType<T[P], AggregateInventoryOutbox[P]>
|
|
7677
|
+
}
|
|
7678
|
+
|
|
7679
|
+
|
|
7680
|
+
|
|
7681
|
+
|
|
7682
|
+
export type InventoryOutboxGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7683
|
+
where?: InventoryOutboxWhereInput
|
|
7684
|
+
orderBy?: InventoryOutboxOrderByWithAggregationInput | InventoryOutboxOrderByWithAggregationInput[]
|
|
7685
|
+
by: InventoryOutboxScalarFieldEnum[] | InventoryOutboxScalarFieldEnum
|
|
7686
|
+
having?: InventoryOutboxScalarWhereWithAggregatesInput
|
|
7687
|
+
take?: number
|
|
7688
|
+
skip?: number
|
|
7689
|
+
_count?: InventoryOutboxCountAggregateInputType | true
|
|
7690
|
+
_avg?: InventoryOutboxAvgAggregateInputType
|
|
7691
|
+
_sum?: InventoryOutboxSumAggregateInputType
|
|
7692
|
+
_min?: InventoryOutboxMinAggregateInputType
|
|
7693
|
+
_max?: InventoryOutboxMaxAggregateInputType
|
|
7694
|
+
}
|
|
7695
|
+
|
|
7696
|
+
export type InventoryOutboxGroupByOutputType = {
|
|
7697
|
+
id: string
|
|
7698
|
+
publishStatus: string
|
|
7699
|
+
publishRetryCount: number
|
|
7700
|
+
publishError: string | null
|
|
7701
|
+
publishedAt: Date | null
|
|
7702
|
+
payload:unknown | null
|
|
7703
|
+
createdAt: Date
|
|
7704
|
+
updatedAt: Date
|
|
7705
|
+
_count: InventoryOutboxCountAggregateOutputType | null
|
|
7706
|
+
_avg: InventoryOutboxAvgAggregateOutputType | null
|
|
7707
|
+
_sum: InventoryOutboxSumAggregateOutputType | null
|
|
7708
|
+
_min: InventoryOutboxMinAggregateOutputType | null
|
|
7709
|
+
_max: InventoryOutboxMaxAggregateOutputType | null
|
|
7710
|
+
}
|
|
7711
|
+
|
|
7712
|
+
type GetInventoryOutboxGroupByPayload<T extends InventoryOutboxGroupByArgs> = Prisma.PrismaPromise<
|
|
7713
|
+
Array<
|
|
7714
|
+
PickEnumerable<InventoryOutboxGroupByOutputType, T['by']> &
|
|
7715
|
+
{
|
|
7716
|
+
[P in ((keyof T) & (keyof InventoryOutboxGroupByOutputType))]: P extends '_count'
|
|
7717
|
+
? T[P] extends boolean
|
|
7718
|
+
? number
|
|
7719
|
+
: GetScalarType<T[P], InventoryOutboxGroupByOutputType[P]>
|
|
7720
|
+
: GetScalarType<T[P], InventoryOutboxGroupByOutputType[P]>
|
|
7721
|
+
}
|
|
7722
|
+
>
|
|
7723
|
+
>
|
|
7724
|
+
|
|
7725
|
+
|
|
7726
|
+
export type InventoryOutboxSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
7727
|
+
id?: boolean
|
|
7728
|
+
publishStatus?: boolean
|
|
7729
|
+
publishRetryCount?: boolean
|
|
7730
|
+
publishError?: boolean
|
|
7731
|
+
publishedAt?: boolean
|
|
7732
|
+
payload?: boolean
|
|
7733
|
+
createdAt?: boolean
|
|
7734
|
+
updatedAt?: boolean
|
|
7735
|
+
}, ExtArgs["result"]["inventoryOutbox"]>
|
|
7736
|
+
|
|
7737
|
+
export type InventoryOutboxSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
7738
|
+
id?: boolean
|
|
7739
|
+
publishStatus?: boolean
|
|
7740
|
+
publishRetryCount?: boolean
|
|
7741
|
+
publishError?: boolean
|
|
7742
|
+
publishedAt?: boolean
|
|
7743
|
+
payload?: boolean
|
|
7744
|
+
createdAt?: boolean
|
|
7745
|
+
updatedAt?: boolean
|
|
7746
|
+
}, ExtArgs["result"]["inventoryOutbox"]>
|
|
7747
|
+
|
|
7748
|
+
export type InventoryOutboxSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
7749
|
+
id?: boolean
|
|
7750
|
+
publishStatus?: boolean
|
|
7751
|
+
publishRetryCount?: boolean
|
|
7752
|
+
publishError?: boolean
|
|
7753
|
+
publishedAt?: boolean
|
|
7754
|
+
payload?: boolean
|
|
7755
|
+
createdAt?: boolean
|
|
7756
|
+
updatedAt?: boolean
|
|
7757
|
+
}, ExtArgs["result"]["inventoryOutbox"]>
|
|
7758
|
+
|
|
7759
|
+
export type InventoryOutboxSelectScalar = {
|
|
7760
|
+
id?: boolean
|
|
7761
|
+
publishStatus?: boolean
|
|
7762
|
+
publishRetryCount?: boolean
|
|
7763
|
+
publishError?: boolean
|
|
7764
|
+
publishedAt?: boolean
|
|
7765
|
+
payload?: boolean
|
|
7766
|
+
createdAt?: boolean
|
|
7767
|
+
updatedAt?: boolean
|
|
7768
|
+
}
|
|
7769
|
+
|
|
7770
|
+
export type InventoryOutboxOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "publishStatus" | "publishRetryCount" | "publishError" | "publishedAt" | "payload" | "createdAt" | "updatedAt", ExtArgs["result"]["inventoryOutbox"]>
|
|
7771
|
+
|
|
7772
|
+
export type $InventoryOutboxPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7773
|
+
name: "InventoryOutbox"
|
|
7774
|
+
objects: {}
|
|
7775
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
7776
|
+
id: string
|
|
7777
|
+
publishStatus: string
|
|
7778
|
+
publishRetryCount: number
|
|
7779
|
+
publishError: string | null
|
|
7780
|
+
publishedAt: Date | null
|
|
7781
|
+
payload:unknown | null
|
|
7782
|
+
createdAt: Date
|
|
7783
|
+
updatedAt: Date
|
|
7784
|
+
}, ExtArgs["result"]["inventoryOutbox"]>
|
|
7785
|
+
composites: {}
|
|
7786
|
+
}
|
|
7787
|
+
|
|
7788
|
+
type InventoryOutboxGetPayload<S extends boolean | null | undefined | InventoryOutboxDefaultArgs> = $Result.GetResult<Prisma.$InventoryOutboxPayload, S>
|
|
7789
|
+
|
|
7790
|
+
type InventoryOutboxCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
7791
|
+
Omit<InventoryOutboxFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
7792
|
+
select?: InventoryOutboxCountAggregateInputType | true
|
|
7793
|
+
}
|
|
7794
|
+
|
|
7795
|
+
export interface InventoryOutboxDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
7796
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['InventoryOutbox'], meta: { name: 'InventoryOutbox' } }
|
|
7797
|
+
/**
|
|
7798
|
+
* Find zero or one InventoryOutbox that matches the filter.
|
|
7799
|
+
* @param {InventoryOutboxFindUniqueArgs} args - Arguments to find a InventoryOutbox
|
|
7800
|
+
* @example
|
|
7801
|
+
* // Get one InventoryOutbox
|
|
7802
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.findUnique({
|
|
7803
|
+
* where: {
|
|
7804
|
+
* // ... provide filter here
|
|
7805
|
+
* }
|
|
7806
|
+
* })
|
|
7807
|
+
*/
|
|
7808
|
+
findUnique<T extends InventoryOutboxFindUniqueArgs>(args: SelectSubset<T, InventoryOutboxFindUniqueArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
7809
|
+
|
|
7810
|
+
/**
|
|
7811
|
+
* Find one InventoryOutbox that matches the filter or throw an error with `error.code='P2025'`
|
|
7812
|
+
* if no matches were found.
|
|
7813
|
+
* @param {InventoryOutboxFindUniqueOrThrowArgs} args - Arguments to find a InventoryOutbox
|
|
7814
|
+
* @example
|
|
7815
|
+
* // Get one InventoryOutbox
|
|
7816
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.findUniqueOrThrow({
|
|
7817
|
+
* where: {
|
|
7818
|
+
* // ... provide filter here
|
|
7819
|
+
* }
|
|
7820
|
+
* })
|
|
7821
|
+
*/
|
|
7822
|
+
findUniqueOrThrow<T extends InventoryOutboxFindUniqueOrThrowArgs>(args: SelectSubset<T, InventoryOutboxFindUniqueOrThrowArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7823
|
+
|
|
7824
|
+
/**
|
|
7825
|
+
* Find the first InventoryOutbox that matches the filter.
|
|
7826
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7827
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7828
|
+
* @param {InventoryOutboxFindFirstArgs} args - Arguments to find a InventoryOutbox
|
|
7829
|
+
* @example
|
|
7830
|
+
* // Get one InventoryOutbox
|
|
7831
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.findFirst({
|
|
7832
|
+
* where: {
|
|
7833
|
+
* // ... provide filter here
|
|
7834
|
+
* }
|
|
7835
|
+
* })
|
|
7836
|
+
*/
|
|
7837
|
+
findFirst<T extends InventoryOutboxFindFirstArgs>(args?: SelectSubset<T, InventoryOutboxFindFirstArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
7838
|
+
|
|
7839
|
+
/**
|
|
7840
|
+
* Find the first InventoryOutbox that matches the filter or
|
|
7841
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
7842
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7843
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7844
|
+
* @param {InventoryOutboxFindFirstOrThrowArgs} args - Arguments to find a InventoryOutbox
|
|
7845
|
+
* @example
|
|
7846
|
+
* // Get one InventoryOutbox
|
|
7847
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.findFirstOrThrow({
|
|
7848
|
+
* where: {
|
|
7849
|
+
* // ... provide filter here
|
|
7850
|
+
* }
|
|
7851
|
+
* })
|
|
7852
|
+
*/
|
|
7853
|
+
findFirstOrThrow<T extends InventoryOutboxFindFirstOrThrowArgs>(args?: SelectSubset<T, InventoryOutboxFindFirstOrThrowArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7854
|
+
|
|
7855
|
+
/**
|
|
7856
|
+
* Find zero or more InventoryOutboxes that matches the filter.
|
|
7857
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7858
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7859
|
+
* @param {InventoryOutboxFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
7860
|
+
* @example
|
|
7861
|
+
* // Get all InventoryOutboxes
|
|
7862
|
+
* const inventoryOutboxes = await prisma.inventoryOutbox.findMany()
|
|
7863
|
+
*
|
|
7864
|
+
* // Get first 10 InventoryOutboxes
|
|
7865
|
+
* const inventoryOutboxes = await prisma.inventoryOutbox.findMany({ take: 10 })
|
|
7866
|
+
*
|
|
7867
|
+
* // Only select the `id`
|
|
7868
|
+
* const inventoryOutboxWithIdOnly = await prisma.inventoryOutbox.findMany({ select: { id: true } })
|
|
7869
|
+
*
|
|
7870
|
+
*/
|
|
7871
|
+
findMany<T extends InventoryOutboxFindManyArgs>(args?: SelectSubset<T, InventoryOutboxFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
7872
|
+
|
|
7873
|
+
/**
|
|
7874
|
+
* Create a InventoryOutbox.
|
|
7875
|
+
* @param {InventoryOutboxCreateArgs} args - Arguments to create a InventoryOutbox.
|
|
7876
|
+
* @example
|
|
7877
|
+
* // Create one InventoryOutbox
|
|
7878
|
+
* const InventoryOutbox = await prisma.inventoryOutbox.create({
|
|
7879
|
+
* data: {
|
|
7880
|
+
* // ... data to create a InventoryOutbox
|
|
7881
|
+
* }
|
|
7882
|
+
* })
|
|
7883
|
+
*
|
|
7884
|
+
*/
|
|
7885
|
+
create<T extends InventoryOutboxCreateArgs>(args: SelectSubset<T, InventoryOutboxCreateArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7886
|
+
|
|
7887
|
+
/**
|
|
7888
|
+
* Create many InventoryOutboxes.
|
|
7889
|
+
* @param {InventoryOutboxCreateManyArgs} args - Arguments to create many InventoryOutboxes.
|
|
7890
|
+
* @example
|
|
7891
|
+
* // Create many InventoryOutboxes
|
|
7892
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.createMany({
|
|
7893
|
+
* data: [
|
|
7894
|
+
* // ... provide data here
|
|
7895
|
+
* ]
|
|
7896
|
+
* })
|
|
7897
|
+
*
|
|
7898
|
+
*/
|
|
7899
|
+
createMany<T extends InventoryOutboxCreateManyArgs>(args?: SelectSubset<T, InventoryOutboxCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
7900
|
+
|
|
7901
|
+
/**
|
|
7902
|
+
* Create many InventoryOutboxes and returns the data saved in the database.
|
|
7903
|
+
* @param {InventoryOutboxCreateManyAndReturnArgs} args - Arguments to create many InventoryOutboxes.
|
|
7904
|
+
* @example
|
|
7905
|
+
* // Create many InventoryOutboxes
|
|
7906
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.createManyAndReturn({
|
|
7907
|
+
* data: [
|
|
7908
|
+
* // ... provide data here
|
|
7909
|
+
* ]
|
|
7910
|
+
* })
|
|
7911
|
+
*
|
|
7912
|
+
* // Create many InventoryOutboxes and only return the `id`
|
|
7913
|
+
* const inventoryOutboxWithIdOnly = await prisma.inventoryOutbox.createManyAndReturn({
|
|
7914
|
+
* select: { id: true },
|
|
7915
|
+
* data: [
|
|
7916
|
+
* // ... provide data here
|
|
7917
|
+
* ]
|
|
7918
|
+
* })
|
|
7919
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7920
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7921
|
+
*
|
|
7922
|
+
*/
|
|
7923
|
+
createManyAndReturn<T extends InventoryOutboxCreateManyAndReturnArgs>(args?: SelectSubset<T, InventoryOutboxCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
7924
|
+
|
|
7925
|
+
/**
|
|
7926
|
+
* Delete a InventoryOutbox.
|
|
7927
|
+
* @param {InventoryOutboxDeleteArgs} args - Arguments to delete one InventoryOutbox.
|
|
7928
|
+
* @example
|
|
7929
|
+
* // Delete one InventoryOutbox
|
|
7930
|
+
* const InventoryOutbox = await prisma.inventoryOutbox.delete({
|
|
7931
|
+
* where: {
|
|
7932
|
+
* // ... filter to delete one InventoryOutbox
|
|
7933
|
+
* }
|
|
7934
|
+
* })
|
|
7935
|
+
*
|
|
7936
|
+
*/
|
|
7937
|
+
delete<T extends InventoryOutboxDeleteArgs>(args: SelectSubset<T, InventoryOutboxDeleteArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7938
|
+
|
|
7939
|
+
/**
|
|
7940
|
+
* Update one InventoryOutbox.
|
|
7941
|
+
* @param {InventoryOutboxUpdateArgs} args - Arguments to update one InventoryOutbox.
|
|
7942
|
+
* @example
|
|
7943
|
+
* // Update one InventoryOutbox
|
|
7944
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.update({
|
|
7945
|
+
* where: {
|
|
7946
|
+
* // ... provide filter here
|
|
7947
|
+
* },
|
|
7948
|
+
* data: {
|
|
7949
|
+
* // ... provide data here
|
|
7950
|
+
* }
|
|
7951
|
+
* })
|
|
7952
|
+
*
|
|
7953
|
+
*/
|
|
7954
|
+
update<T extends InventoryOutboxUpdateArgs>(args: SelectSubset<T, InventoryOutboxUpdateArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
7955
|
+
|
|
7956
|
+
/**
|
|
7957
|
+
* Delete zero or more InventoryOutboxes.
|
|
7958
|
+
* @param {InventoryOutboxDeleteManyArgs} args - Arguments to filter InventoryOutboxes to delete.
|
|
7959
|
+
* @example
|
|
7960
|
+
* // Delete a few InventoryOutboxes
|
|
7961
|
+
* const { count } = await prisma.inventoryOutbox.deleteMany({
|
|
7962
|
+
* where: {
|
|
7963
|
+
* // ... provide filter here
|
|
7964
|
+
* }
|
|
7965
|
+
* })
|
|
7966
|
+
*
|
|
7967
|
+
*/
|
|
7968
|
+
deleteMany<T extends InventoryOutboxDeleteManyArgs>(args?: SelectSubset<T, InventoryOutboxDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
7969
|
+
|
|
7970
|
+
/**
|
|
7971
|
+
* Update zero or more InventoryOutboxes.
|
|
7972
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
7973
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
7974
|
+
* @param {InventoryOutboxUpdateManyArgs} args - Arguments to update one or more rows.
|
|
7975
|
+
* @example
|
|
7976
|
+
* // Update many InventoryOutboxes
|
|
7977
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.updateMany({
|
|
7978
|
+
* where: {
|
|
7979
|
+
* // ... provide filter here
|
|
7980
|
+
* },
|
|
7981
|
+
* data: {
|
|
7982
|
+
* // ... provide data here
|
|
7983
|
+
* }
|
|
7984
|
+
* })
|
|
7985
|
+
*
|
|
7986
|
+
*/
|
|
7987
|
+
updateMany<T extends InventoryOutboxUpdateManyArgs>(args: SelectSubset<T, InventoryOutboxUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
7988
|
+
|
|
7989
|
+
/**
|
|
7990
|
+
* Update zero or more InventoryOutboxes and returns the data updated in the database.
|
|
7991
|
+
* @param {InventoryOutboxUpdateManyAndReturnArgs} args - Arguments to update many InventoryOutboxes.
|
|
7992
|
+
* @example
|
|
7993
|
+
* // Update many InventoryOutboxes
|
|
7994
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.updateManyAndReturn({
|
|
7995
|
+
* where: {
|
|
7996
|
+
* // ... provide filter here
|
|
7997
|
+
* },
|
|
7998
|
+
* data: [
|
|
7999
|
+
* // ... provide data here
|
|
8000
|
+
* ]
|
|
8001
|
+
* })
|
|
8002
|
+
*
|
|
8003
|
+
* // Update zero or more InventoryOutboxes and only return the `id`
|
|
8004
|
+
* const inventoryOutboxWithIdOnly = await prisma.inventoryOutbox.updateManyAndReturn({
|
|
8005
|
+
* select: { id: true },
|
|
8006
|
+
* where: {
|
|
8007
|
+
* // ... provide filter here
|
|
8008
|
+
* },
|
|
8009
|
+
* data: [
|
|
8010
|
+
* // ... provide data here
|
|
8011
|
+
* ]
|
|
8012
|
+
* })
|
|
8013
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8014
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8015
|
+
*
|
|
8016
|
+
*/
|
|
8017
|
+
updateManyAndReturn<T extends InventoryOutboxUpdateManyAndReturnArgs>(args: SelectSubset<T, InventoryOutboxUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
8018
|
+
|
|
8019
|
+
/**
|
|
8020
|
+
* Create or update one InventoryOutbox.
|
|
8021
|
+
* @param {InventoryOutboxUpsertArgs} args - Arguments to update or create a InventoryOutbox.
|
|
8022
|
+
* @example
|
|
8023
|
+
* // Update or create a InventoryOutbox
|
|
8024
|
+
* const inventoryOutbox = await prisma.inventoryOutbox.upsert({
|
|
8025
|
+
* create: {
|
|
8026
|
+
* // ... data to create a InventoryOutbox
|
|
8027
|
+
* },
|
|
8028
|
+
* update: {
|
|
8029
|
+
* // ... in case it already exists, update
|
|
8030
|
+
* },
|
|
8031
|
+
* where: {
|
|
8032
|
+
* // ... the filter for the InventoryOutbox we want to update
|
|
8033
|
+
* }
|
|
8034
|
+
* })
|
|
8035
|
+
*/
|
|
8036
|
+
upsert<T extends InventoryOutboxUpsertArgs>(args: SelectSubset<T, InventoryOutboxUpsertArgs<ExtArgs>>): Prisma__InventoryOutboxClient<$Result.GetResult<Prisma.$InventoryOutboxPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
/**
|
|
8040
|
+
* Count the number of InventoryOutboxes.
|
|
8041
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8042
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8043
|
+
* @param {InventoryOutboxCountArgs} args - Arguments to filter InventoryOutboxes to count.
|
|
8044
|
+
* @example
|
|
8045
|
+
* // Count the number of InventoryOutboxes
|
|
8046
|
+
* const count = await prisma.inventoryOutbox.count({
|
|
8047
|
+
* where: {
|
|
8048
|
+
* // ... the filter for the InventoryOutboxes we want to count
|
|
8049
|
+
* }
|
|
8050
|
+
* })
|
|
8051
|
+
**/
|
|
8052
|
+
count<T extends InventoryOutboxCountArgs>(
|
|
8053
|
+
args?: Subset<T, InventoryOutboxCountArgs>,
|
|
8054
|
+
): Prisma.PrismaPromise<
|
|
8055
|
+
T extends $Utils.Record<'select', any>
|
|
8056
|
+
? T['select'] extends true
|
|
8057
|
+
? number
|
|
8058
|
+
: GetScalarType<T['select'], InventoryOutboxCountAggregateOutputType>
|
|
8059
|
+
: number
|
|
8060
|
+
>
|
|
8061
|
+
|
|
8062
|
+
/**
|
|
8063
|
+
* Allows you to perform aggregations operations on a InventoryOutbox.
|
|
8064
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8065
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8066
|
+
* @param {InventoryOutboxAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
8067
|
+
* @example
|
|
8068
|
+
* // Ordered by age ascending
|
|
8069
|
+
* // Where email contains prisma.io
|
|
8070
|
+
* // Limited to the 10 users
|
|
8071
|
+
* const aggregations = await prisma.user.aggregate({
|
|
8072
|
+
* _avg: {
|
|
8073
|
+
* age: true,
|
|
8074
|
+
* },
|
|
8075
|
+
* where: {
|
|
8076
|
+
* email: {
|
|
8077
|
+
* contains: "prisma.io",
|
|
8078
|
+
* },
|
|
8079
|
+
* },
|
|
8080
|
+
* orderBy: {
|
|
8081
|
+
* age: "asc",
|
|
8082
|
+
* },
|
|
8083
|
+
* take: 10,
|
|
8084
|
+
* })
|
|
8085
|
+
**/
|
|
8086
|
+
aggregate<T extends InventoryOutboxAggregateArgs>(args: Subset<T, InventoryOutboxAggregateArgs>): Prisma.PrismaPromise<GetInventoryOutboxAggregateType<T>>
|
|
8087
|
+
|
|
8088
|
+
/**
|
|
8089
|
+
* Group by InventoryOutbox.
|
|
8090
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8091
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8092
|
+
* @param {InventoryOutboxGroupByArgs} args - Group by arguments.
|
|
8093
|
+
* @example
|
|
8094
|
+
* // Group by city, order by createdAt, get count
|
|
8095
|
+
* const result = await prisma.user.groupBy({
|
|
8096
|
+
* by: ['city', 'createdAt'],
|
|
8097
|
+
* orderBy: {
|
|
8098
|
+
* createdAt: true
|
|
8099
|
+
* },
|
|
8100
|
+
* _count: {
|
|
8101
|
+
* _all: true
|
|
8102
|
+
* },
|
|
8103
|
+
* })
|
|
8104
|
+
*
|
|
8105
|
+
**/
|
|
8106
|
+
groupBy<
|
|
8107
|
+
T extends InventoryOutboxGroupByArgs,
|
|
8108
|
+
HasSelectOrTake extends Or<
|
|
8109
|
+
Extends<'skip', Keys<T>>,
|
|
8110
|
+
Extends<'take', Keys<T>>
|
|
8111
|
+
>,
|
|
8112
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
8113
|
+
? { orderBy: InventoryOutboxGroupByArgs['orderBy'] }
|
|
8114
|
+
: { orderBy?: InventoryOutboxGroupByArgs['orderBy'] },
|
|
8115
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
8116
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
8117
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
8118
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
8119
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
8120
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
8121
|
+
InputErrors extends ByEmpty extends True
|
|
8122
|
+
? `Error: "by" must not be empty.`
|
|
8123
|
+
: HavingValid extends False
|
|
8124
|
+
? {
|
|
8125
|
+
[P in HavingFields]: P extends ByFields
|
|
8126
|
+
? never
|
|
8127
|
+
: P extends string
|
|
8128
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
8129
|
+
: [
|
|
8130
|
+
Error,
|
|
8131
|
+
'Field ',
|
|
8132
|
+
P,
|
|
8133
|
+
` in "having" needs to be provided in "by"`,
|
|
8134
|
+
]
|
|
8135
|
+
}[HavingFields]
|
|
8136
|
+
: 'take' extends Keys<T>
|
|
8137
|
+
? 'orderBy' extends Keys<T>
|
|
8138
|
+
? ByValid extends True
|
|
8139
|
+
? {}
|
|
8140
|
+
: {
|
|
8141
|
+
[P in OrderFields]: P extends ByFields
|
|
8142
|
+
? never
|
|
8143
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
8144
|
+
}[OrderFields]
|
|
8145
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
8146
|
+
: 'skip' extends Keys<T>
|
|
8147
|
+
? 'orderBy' extends Keys<T>
|
|
8148
|
+
? ByValid extends True
|
|
8149
|
+
? {}
|
|
8150
|
+
: {
|
|
8151
|
+
[P in OrderFields]: P extends ByFields
|
|
8152
|
+
? never
|
|
8153
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
8154
|
+
}[OrderFields]
|
|
8155
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
8156
|
+
: ByValid extends True
|
|
8157
|
+
? {}
|
|
8158
|
+
: {
|
|
8159
|
+
[P in OrderFields]: P extends ByFields
|
|
8160
|
+
? never
|
|
8161
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
8162
|
+
}[OrderFields]
|
|
8163
|
+
>(args: SubsetIntersection<T, InventoryOutboxGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInventoryOutboxGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
8164
|
+
/**
|
|
8165
|
+
* Fields of the InventoryOutbox model
|
|
8166
|
+
*/
|
|
8167
|
+
readonly fields: InventoryOutboxFieldRefs;
|
|
8168
|
+
}
|
|
8169
|
+
|
|
8170
|
+
/**
|
|
8171
|
+
* The delegate class that acts as a "Promise-like" for InventoryOutbox.
|
|
8172
|
+
* Why is this prefixed with `Prisma__`?
|
|
8173
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
8174
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
8175
|
+
*/
|
|
8176
|
+
export interface Prisma__InventoryOutboxClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
8177
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
8178
|
+
/**
|
|
8179
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
8180
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
8181
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
8182
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
8183
|
+
*/
|
|
8184
|
+
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>
|
|
8185
|
+
/**
|
|
8186
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
8187
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
8188
|
+
* @returns A Promise for the completion of the callback.
|
|
8189
|
+
*/
|
|
8190
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
8191
|
+
/**
|
|
8192
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
8193
|
+
* resolved value cannot be modified from the callback.
|
|
8194
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
8195
|
+
* @returns A Promise for the completion of the callback.
|
|
8196
|
+
*/
|
|
8197
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
8198
|
+
}
|
|
8199
|
+
|
|
8200
|
+
|
|
8201
|
+
|
|
8202
|
+
|
|
8203
|
+
/**
|
|
8204
|
+
* Fields of the InventoryOutbox model
|
|
8205
|
+
*/
|
|
8206
|
+
interface InventoryOutboxFieldRefs {
|
|
8207
|
+
readonly id: FieldRef<"InventoryOutbox", 'String'>
|
|
8208
|
+
readonly publishStatus: FieldRef<"InventoryOutbox", 'String'>
|
|
8209
|
+
readonly publishRetryCount: FieldRef<"InventoryOutbox", 'Int'>
|
|
8210
|
+
readonly publishError: FieldRef<"InventoryOutbox", 'String'>
|
|
8211
|
+
readonly publishedAt: FieldRef<"InventoryOutbox", 'DateTime'>
|
|
8212
|
+
readonly payload: FieldRef<"InventoryOutbox", 'Json'>
|
|
8213
|
+
readonly createdAt: FieldRef<"InventoryOutbox", 'DateTime'>
|
|
8214
|
+
readonly updatedAt: FieldRef<"InventoryOutbox", 'DateTime'>
|
|
8215
|
+
}
|
|
8216
|
+
|
|
8217
|
+
|
|
8218
|
+
// Custom InputTypes
|
|
8219
|
+
/**
|
|
8220
|
+
* InventoryOutbox findUnique
|
|
8221
|
+
*/
|
|
8222
|
+
export type InventoryOutboxFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8223
|
+
/**
|
|
8224
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8225
|
+
*/
|
|
8226
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8227
|
+
/**
|
|
8228
|
+
* Omit specific fields from the InventoryOutbox
|
|
8229
|
+
*/
|
|
8230
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8231
|
+
/**
|
|
8232
|
+
* Filter, which InventoryOutbox to fetch.
|
|
8233
|
+
*/
|
|
8234
|
+
where: InventoryOutboxWhereUniqueInput
|
|
8235
|
+
}
|
|
8236
|
+
|
|
8237
|
+
/**
|
|
8238
|
+
* InventoryOutbox findUniqueOrThrow
|
|
8239
|
+
*/
|
|
8240
|
+
export type InventoryOutboxFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8241
|
+
/**
|
|
8242
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8243
|
+
*/
|
|
8244
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8245
|
+
/**
|
|
8246
|
+
* Omit specific fields from the InventoryOutbox
|
|
8247
|
+
*/
|
|
8248
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8249
|
+
/**
|
|
8250
|
+
* Filter, which InventoryOutbox to fetch.
|
|
8251
|
+
*/
|
|
8252
|
+
where: InventoryOutboxWhereUniqueInput
|
|
8253
|
+
}
|
|
8254
|
+
|
|
8255
|
+
/**
|
|
8256
|
+
* InventoryOutbox findFirst
|
|
8257
|
+
*/
|
|
8258
|
+
export type InventoryOutboxFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8259
|
+
/**
|
|
8260
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8261
|
+
*/
|
|
8262
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8263
|
+
/**
|
|
8264
|
+
* Omit specific fields from the InventoryOutbox
|
|
8265
|
+
*/
|
|
8266
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8267
|
+
/**
|
|
8268
|
+
* Filter, which InventoryOutbox to fetch.
|
|
8269
|
+
*/
|
|
8270
|
+
where?: InventoryOutboxWhereInput
|
|
8271
|
+
/**
|
|
8272
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8273
|
+
*
|
|
8274
|
+
* Determine the order of InventoryOutboxes to fetch.
|
|
8275
|
+
*/
|
|
8276
|
+
orderBy?: InventoryOutboxOrderByWithRelationInput | InventoryOutboxOrderByWithRelationInput[]
|
|
8277
|
+
/**
|
|
8278
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8279
|
+
*
|
|
8280
|
+
* Sets the position for searching for InventoryOutboxes.
|
|
8281
|
+
*/
|
|
8282
|
+
cursor?: InventoryOutboxWhereUniqueInput
|
|
8283
|
+
/**
|
|
8284
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8285
|
+
*
|
|
8286
|
+
* Take `±n` InventoryOutboxes from the position of the cursor.
|
|
8287
|
+
*/
|
|
8288
|
+
take?: number
|
|
8289
|
+
/**
|
|
8290
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8291
|
+
*
|
|
8292
|
+
* Skip the first `n` InventoryOutboxes.
|
|
8293
|
+
*/
|
|
8294
|
+
skip?: number
|
|
8295
|
+
/**
|
|
8296
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
8297
|
+
*
|
|
8298
|
+
* Filter by unique combinations of InventoryOutboxes.
|
|
8299
|
+
*/
|
|
8300
|
+
distinct?: InventoryOutboxScalarFieldEnum | InventoryOutboxScalarFieldEnum[]
|
|
8301
|
+
}
|
|
8302
|
+
|
|
8303
|
+
/**
|
|
8304
|
+
* InventoryOutbox findFirstOrThrow
|
|
8305
|
+
*/
|
|
8306
|
+
export type InventoryOutboxFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8307
|
+
/**
|
|
8308
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8309
|
+
*/
|
|
8310
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8311
|
+
/**
|
|
8312
|
+
* Omit specific fields from the InventoryOutbox
|
|
8313
|
+
*/
|
|
8314
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8315
|
+
/**
|
|
8316
|
+
* Filter, which InventoryOutbox to fetch.
|
|
8317
|
+
*/
|
|
8318
|
+
where?: InventoryOutboxWhereInput
|
|
8319
|
+
/**
|
|
8320
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8321
|
+
*
|
|
8322
|
+
* Determine the order of InventoryOutboxes to fetch.
|
|
8323
|
+
*/
|
|
8324
|
+
orderBy?: InventoryOutboxOrderByWithRelationInput | InventoryOutboxOrderByWithRelationInput[]
|
|
8325
|
+
/**
|
|
8326
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8327
|
+
*
|
|
8328
|
+
* Sets the position for searching for InventoryOutboxes.
|
|
8329
|
+
*/
|
|
8330
|
+
cursor?: InventoryOutboxWhereUniqueInput
|
|
8331
|
+
/**
|
|
8332
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8333
|
+
*
|
|
8334
|
+
* Take `±n` InventoryOutboxes from the position of the cursor.
|
|
8335
|
+
*/
|
|
8336
|
+
take?: number
|
|
8337
|
+
/**
|
|
8338
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8339
|
+
*
|
|
8340
|
+
* Skip the first `n` InventoryOutboxes.
|
|
8341
|
+
*/
|
|
8342
|
+
skip?: number
|
|
8343
|
+
/**
|
|
8344
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
8345
|
+
*
|
|
8346
|
+
* Filter by unique combinations of InventoryOutboxes.
|
|
8347
|
+
*/
|
|
8348
|
+
distinct?: InventoryOutboxScalarFieldEnum | InventoryOutboxScalarFieldEnum[]
|
|
8349
|
+
}
|
|
8350
|
+
|
|
8351
|
+
/**
|
|
8352
|
+
* InventoryOutbox findMany
|
|
8353
|
+
*/
|
|
8354
|
+
export type InventoryOutboxFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8355
|
+
/**
|
|
8356
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8357
|
+
*/
|
|
8358
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8359
|
+
/**
|
|
8360
|
+
* Omit specific fields from the InventoryOutbox
|
|
8361
|
+
*/
|
|
8362
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8363
|
+
/**
|
|
8364
|
+
* Filter, which InventoryOutboxes to fetch.
|
|
8365
|
+
*/
|
|
8366
|
+
where?: InventoryOutboxWhereInput
|
|
8367
|
+
/**
|
|
8368
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8369
|
+
*
|
|
8370
|
+
* Determine the order of InventoryOutboxes to fetch.
|
|
8371
|
+
*/
|
|
8372
|
+
orderBy?: InventoryOutboxOrderByWithRelationInput | InventoryOutboxOrderByWithRelationInput[]
|
|
8373
|
+
/**
|
|
8374
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8375
|
+
*
|
|
8376
|
+
* Sets the position for listing InventoryOutboxes.
|
|
8377
|
+
*/
|
|
8378
|
+
cursor?: InventoryOutboxWhereUniqueInput
|
|
8379
|
+
/**
|
|
8380
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8381
|
+
*
|
|
8382
|
+
* Take `±n` InventoryOutboxes from the position of the cursor.
|
|
8383
|
+
*/
|
|
8384
|
+
take?: number
|
|
8385
|
+
/**
|
|
8386
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8387
|
+
*
|
|
8388
|
+
* Skip the first `n` InventoryOutboxes.
|
|
8389
|
+
*/
|
|
8390
|
+
skip?: number
|
|
8391
|
+
distinct?: InventoryOutboxScalarFieldEnum | InventoryOutboxScalarFieldEnum[]
|
|
8392
|
+
}
|
|
8393
|
+
|
|
8394
|
+
/**
|
|
8395
|
+
* InventoryOutbox create
|
|
8396
|
+
*/
|
|
8397
|
+
export type InventoryOutboxCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8398
|
+
/**
|
|
8399
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8400
|
+
*/
|
|
8401
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8402
|
+
/**
|
|
8403
|
+
* Omit specific fields from the InventoryOutbox
|
|
8404
|
+
*/
|
|
8405
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8406
|
+
/**
|
|
8407
|
+
* The data needed to create a InventoryOutbox.
|
|
8408
|
+
*/
|
|
8409
|
+
data: XOR<InventoryOutboxCreateInput, InventoryOutboxUncheckedCreateInput>
|
|
8410
|
+
}
|
|
8411
|
+
|
|
8412
|
+
/**
|
|
8413
|
+
* InventoryOutbox createMany
|
|
8414
|
+
*/
|
|
8415
|
+
export type InventoryOutboxCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8416
|
+
/**
|
|
8417
|
+
* The data used to create many InventoryOutboxes.
|
|
8418
|
+
*/
|
|
8419
|
+
data: InventoryOutboxCreateManyInput | InventoryOutboxCreateManyInput[]
|
|
8420
|
+
skipDuplicates?: boolean
|
|
8421
|
+
}
|
|
8422
|
+
|
|
8423
|
+
/**
|
|
8424
|
+
* InventoryOutbox createManyAndReturn
|
|
8425
|
+
*/
|
|
8426
|
+
export type InventoryOutboxCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8427
|
+
/**
|
|
8428
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8429
|
+
*/
|
|
8430
|
+
select?: InventoryOutboxSelectCreateManyAndReturn<ExtArgs> | null
|
|
8431
|
+
/**
|
|
8432
|
+
* Omit specific fields from the InventoryOutbox
|
|
8433
|
+
*/
|
|
8434
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8435
|
+
/**
|
|
8436
|
+
* The data used to create many InventoryOutboxes.
|
|
8437
|
+
*/
|
|
8438
|
+
data: InventoryOutboxCreateManyInput | InventoryOutboxCreateManyInput[]
|
|
8439
|
+
skipDuplicates?: boolean
|
|
8440
|
+
}
|
|
8441
|
+
|
|
8442
|
+
/**
|
|
8443
|
+
* InventoryOutbox update
|
|
8444
|
+
*/
|
|
8445
|
+
export type InventoryOutboxUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8446
|
+
/**
|
|
8447
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8448
|
+
*/
|
|
8449
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8450
|
+
/**
|
|
8451
|
+
* Omit specific fields from the InventoryOutbox
|
|
8452
|
+
*/
|
|
8453
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8454
|
+
/**
|
|
8455
|
+
* The data needed to update a InventoryOutbox.
|
|
8456
|
+
*/
|
|
8457
|
+
data: XOR<InventoryOutboxUpdateInput, InventoryOutboxUncheckedUpdateInput>
|
|
8458
|
+
/**
|
|
8459
|
+
* Choose, which InventoryOutbox to update.
|
|
8460
|
+
*/
|
|
8461
|
+
where: InventoryOutboxWhereUniqueInput
|
|
8462
|
+
}
|
|
8463
|
+
|
|
8464
|
+
/**
|
|
8465
|
+
* InventoryOutbox updateMany
|
|
8466
|
+
*/
|
|
8467
|
+
export type InventoryOutboxUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8468
|
+
/**
|
|
8469
|
+
* The data used to update InventoryOutboxes.
|
|
8470
|
+
*/
|
|
8471
|
+
data: XOR<InventoryOutboxUpdateManyMutationInput, InventoryOutboxUncheckedUpdateManyInput>
|
|
8472
|
+
/**
|
|
8473
|
+
* Filter which InventoryOutboxes to update
|
|
8474
|
+
*/
|
|
8475
|
+
where?: InventoryOutboxWhereInput
|
|
8476
|
+
/**
|
|
8477
|
+
* Limit how many InventoryOutboxes to update.
|
|
8478
|
+
*/
|
|
8479
|
+
limit?: number
|
|
8480
|
+
}
|
|
8481
|
+
|
|
8482
|
+
/**
|
|
8483
|
+
* InventoryOutbox updateManyAndReturn
|
|
8484
|
+
*/
|
|
8485
|
+
export type InventoryOutboxUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8486
|
+
/**
|
|
8487
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8488
|
+
*/
|
|
8489
|
+
select?: InventoryOutboxSelectUpdateManyAndReturn<ExtArgs> | null
|
|
8490
|
+
/**
|
|
8491
|
+
* Omit specific fields from the InventoryOutbox
|
|
8492
|
+
*/
|
|
8493
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8494
|
+
/**
|
|
8495
|
+
* The data used to update InventoryOutboxes.
|
|
8496
|
+
*/
|
|
8497
|
+
data: XOR<InventoryOutboxUpdateManyMutationInput, InventoryOutboxUncheckedUpdateManyInput>
|
|
8498
|
+
/**
|
|
8499
|
+
* Filter which InventoryOutboxes to update
|
|
8500
|
+
*/
|
|
8501
|
+
where?: InventoryOutboxWhereInput
|
|
8502
|
+
/**
|
|
8503
|
+
* Limit how many InventoryOutboxes to update.
|
|
8504
|
+
*/
|
|
8505
|
+
limit?: number
|
|
8506
|
+
}
|
|
8507
|
+
|
|
8508
|
+
/**
|
|
8509
|
+
* InventoryOutbox upsert
|
|
8510
|
+
*/
|
|
8511
|
+
export type InventoryOutboxUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8512
|
+
/**
|
|
8513
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8514
|
+
*/
|
|
8515
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8516
|
+
/**
|
|
8517
|
+
* Omit specific fields from the InventoryOutbox
|
|
8518
|
+
*/
|
|
8519
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8520
|
+
/**
|
|
8521
|
+
* The filter to search for the InventoryOutbox to update in case it exists.
|
|
8522
|
+
*/
|
|
8523
|
+
where: InventoryOutboxWhereUniqueInput
|
|
8524
|
+
/**
|
|
8525
|
+
* In case the InventoryOutbox found by the `where` argument doesn't exist, create a new InventoryOutbox with this data.
|
|
8526
|
+
*/
|
|
8527
|
+
create: XOR<InventoryOutboxCreateInput, InventoryOutboxUncheckedCreateInput>
|
|
8528
|
+
/**
|
|
8529
|
+
* In case the InventoryOutbox was found with the provided `where` argument, update it with this data.
|
|
8530
|
+
*/
|
|
8531
|
+
update: XOR<InventoryOutboxUpdateInput, InventoryOutboxUncheckedUpdateInput>
|
|
8532
|
+
}
|
|
8533
|
+
|
|
8534
|
+
/**
|
|
8535
|
+
* InventoryOutbox delete
|
|
8536
|
+
*/
|
|
8537
|
+
export type InventoryOutboxDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8538
|
+
/**
|
|
8539
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8540
|
+
*/
|
|
8541
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8542
|
+
/**
|
|
8543
|
+
* Omit specific fields from the InventoryOutbox
|
|
8544
|
+
*/
|
|
8545
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8546
|
+
/**
|
|
8547
|
+
* Filter which InventoryOutbox to delete.
|
|
8548
|
+
*/
|
|
8549
|
+
where: InventoryOutboxWhereUniqueInput
|
|
8550
|
+
}
|
|
8551
|
+
|
|
8552
|
+
/**
|
|
8553
|
+
* InventoryOutbox deleteMany
|
|
8554
|
+
*/
|
|
8555
|
+
export type InventoryOutboxDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8556
|
+
/**
|
|
8557
|
+
* Filter which InventoryOutboxes to delete
|
|
8558
|
+
*/
|
|
8559
|
+
where?: InventoryOutboxWhereInput
|
|
8560
|
+
/**
|
|
8561
|
+
* Limit how many InventoryOutboxes to delete.
|
|
8562
|
+
*/
|
|
8563
|
+
limit?: number
|
|
8564
|
+
}
|
|
8565
|
+
|
|
8566
|
+
/**
|
|
8567
|
+
* InventoryOutbox without action
|
|
8568
|
+
*/
|
|
8569
|
+
export type InventoryOutboxDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8570
|
+
/**
|
|
8571
|
+
* Select specific fields to fetch from the InventoryOutbox
|
|
8572
|
+
*/
|
|
8573
|
+
select?: InventoryOutboxSelect<ExtArgs> | null
|
|
8574
|
+
/**
|
|
8575
|
+
* Omit specific fields from the InventoryOutbox
|
|
8576
|
+
*/
|
|
8577
|
+
omit?: InventoryOutboxOmit<ExtArgs> | null
|
|
8578
|
+
}
|
|
8579
|
+
|
|
8580
|
+
|
|
8581
|
+
/**
|
|
8582
|
+
* Model AttributeValue
|
|
8583
|
+
*/
|
|
8584
|
+
|
|
8585
|
+
export type AggregateAttributeValue = {
|
|
8586
|
+
_count: AttributeValueCountAggregateOutputType | null
|
|
8587
|
+
_min: AttributeValueMinAggregateOutputType | null
|
|
8588
|
+
_max: AttributeValueMaxAggregateOutputType | null
|
|
8589
|
+
}
|
|
8590
|
+
|
|
8591
|
+
export type AttributeValueMinAggregateOutputType = {
|
|
8592
|
+
id: string | null
|
|
8593
|
+
skuId: string | null
|
|
8594
|
+
attrId: string | null
|
|
8595
|
+
value: string | null
|
|
8596
|
+
createdAt: Date | null
|
|
8597
|
+
updatedAt: Date | null
|
|
8598
|
+
}
|
|
8599
|
+
|
|
8600
|
+
export type AttributeValueMaxAggregateOutputType = {
|
|
8601
|
+
id: string | null
|
|
8602
|
+
skuId: string | null
|
|
8603
|
+
attrId: string | null
|
|
8604
|
+
value: string | null
|
|
8605
|
+
createdAt: Date | null
|
|
8606
|
+
updatedAt: Date | null
|
|
8607
|
+
}
|
|
8608
|
+
|
|
8609
|
+
export type AttributeValueCountAggregateOutputType = {
|
|
8610
|
+
id: number
|
|
8611
|
+
skuId: number
|
|
8612
|
+
attrId: number
|
|
8613
|
+
value: number
|
|
8614
|
+
createdAt: number
|
|
8615
|
+
updatedAt: number
|
|
8616
|
+
_all: number
|
|
8617
|
+
}
|
|
8618
|
+
|
|
8619
|
+
|
|
8620
|
+
export type AttributeValueMinAggregateInputType = {
|
|
8621
|
+
id?: true
|
|
8622
|
+
skuId?: true
|
|
8623
|
+
attrId?: true
|
|
8624
|
+
value?: true
|
|
8625
|
+
createdAt?: true
|
|
8626
|
+
updatedAt?: true
|
|
8627
|
+
}
|
|
8628
|
+
|
|
8629
|
+
export type AttributeValueMaxAggregateInputType = {
|
|
8630
|
+
id?: true
|
|
8631
|
+
skuId?: true
|
|
8632
|
+
attrId?: true
|
|
8633
|
+
value?: true
|
|
8634
|
+
createdAt?: true
|
|
8635
|
+
updatedAt?: true
|
|
8636
|
+
}
|
|
8637
|
+
|
|
8638
|
+
export type AttributeValueCountAggregateInputType = {
|
|
8639
|
+
id?: true
|
|
8640
|
+
skuId?: true
|
|
8641
|
+
attrId?: true
|
|
8642
|
+
value?: true
|
|
8643
|
+
createdAt?: true
|
|
8644
|
+
updatedAt?: true
|
|
8645
|
+
_all?: true
|
|
8646
|
+
}
|
|
8647
|
+
|
|
8648
|
+
export type AttributeValueAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8649
|
+
/**
|
|
8650
|
+
* Filter which AttributeValue to aggregate.
|
|
8651
|
+
*/
|
|
8652
|
+
where?: AttributeValueWhereInput
|
|
8653
|
+
/**
|
|
8654
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
8655
|
+
*
|
|
8656
|
+
* Determine the order of AttributeValues to fetch.
|
|
8657
|
+
*/
|
|
8658
|
+
orderBy?: AttributeValueOrderByWithRelationInput | AttributeValueOrderByWithRelationInput[]
|
|
8659
|
+
/**
|
|
8660
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
8661
|
+
*
|
|
8662
|
+
* Sets the start position
|
|
8663
|
+
*/
|
|
8664
|
+
cursor?: AttributeValueWhereUniqueInput
|
|
8665
|
+
/**
|
|
8666
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8667
|
+
*
|
|
8668
|
+
* Take `±n` AttributeValues from the position of the cursor.
|
|
8669
|
+
*/
|
|
8670
|
+
take?: number
|
|
8671
|
+
/**
|
|
8672
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
8673
|
+
*
|
|
8674
|
+
* Skip the first `n` AttributeValues.
|
|
8675
|
+
*/
|
|
8676
|
+
skip?: number
|
|
8677
|
+
/**
|
|
8678
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8679
|
+
*
|
|
8680
|
+
* Count returned AttributeValues
|
|
8681
|
+
**/
|
|
8682
|
+
_count?: true | AttributeValueCountAggregateInputType
|
|
8683
|
+
/**
|
|
8684
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8685
|
+
*
|
|
8686
|
+
* Select which fields to find the minimum value
|
|
8687
|
+
**/
|
|
8688
|
+
_min?: AttributeValueMinAggregateInputType
|
|
8689
|
+
/**
|
|
8690
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
8691
|
+
*
|
|
8692
|
+
* Select which fields to find the maximum value
|
|
8693
|
+
**/
|
|
8694
|
+
_max?: AttributeValueMaxAggregateInputType
|
|
8695
|
+
}
|
|
8696
|
+
|
|
8697
|
+
export type GetAttributeValueAggregateType<T extends AttributeValueAggregateArgs> = {
|
|
8698
|
+
[P in keyof T & keyof AggregateAttributeValue]: P extends '_count' | 'count'
|
|
8699
|
+
? T[P] extends true
|
|
8700
|
+
? number
|
|
8701
|
+
: GetScalarType<T[P], AggregateAttributeValue[P]>
|
|
8702
|
+
: GetScalarType<T[P], AggregateAttributeValue[P]>
|
|
8703
|
+
}
|
|
8704
|
+
|
|
8705
|
+
|
|
8706
|
+
|
|
8707
|
+
|
|
8708
|
+
export type AttributeValueGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8709
|
+
where?: AttributeValueWhereInput
|
|
8710
|
+
orderBy?: AttributeValueOrderByWithAggregationInput | AttributeValueOrderByWithAggregationInput[]
|
|
8711
|
+
by: AttributeValueScalarFieldEnum[] | AttributeValueScalarFieldEnum
|
|
8712
|
+
having?: AttributeValueScalarWhereWithAggregatesInput
|
|
8713
|
+
take?: number
|
|
8714
|
+
skip?: number
|
|
8715
|
+
_count?: AttributeValueCountAggregateInputType | true
|
|
8716
|
+
_min?: AttributeValueMinAggregateInputType
|
|
8717
|
+
_max?: AttributeValueMaxAggregateInputType
|
|
8718
|
+
}
|
|
8719
|
+
|
|
8720
|
+
export type AttributeValueGroupByOutputType = {
|
|
8721
|
+
id: string
|
|
8722
|
+
skuId: string
|
|
8723
|
+
attrId: string
|
|
8724
|
+
value: string
|
|
8725
|
+
createdAt: Date
|
|
8726
|
+
updatedAt: Date
|
|
8727
|
+
_count: AttributeValueCountAggregateOutputType | null
|
|
8728
|
+
_min: AttributeValueMinAggregateOutputType | null
|
|
8729
|
+
_max: AttributeValueMaxAggregateOutputType | null
|
|
8730
|
+
}
|
|
8731
|
+
|
|
8732
|
+
type GetAttributeValueGroupByPayload<T extends AttributeValueGroupByArgs> = Prisma.PrismaPromise<
|
|
8733
|
+
Array<
|
|
8734
|
+
PickEnumerable<AttributeValueGroupByOutputType, T['by']> &
|
|
8735
|
+
{
|
|
8736
|
+
[P in ((keyof T) & (keyof AttributeValueGroupByOutputType))]: P extends '_count'
|
|
8737
|
+
? T[P] extends boolean
|
|
8738
|
+
? number
|
|
8739
|
+
: GetScalarType<T[P], AttributeValueGroupByOutputType[P]>
|
|
8740
|
+
: GetScalarType<T[P], AttributeValueGroupByOutputType[P]>
|
|
8741
|
+
}
|
|
8742
|
+
>
|
|
8743
|
+
>
|
|
8744
|
+
|
|
8745
|
+
|
|
8746
|
+
export type AttributeValueSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
8747
|
+
id?: boolean
|
|
8748
|
+
skuId?: boolean
|
|
8749
|
+
attrId?: boolean
|
|
8750
|
+
value?: boolean
|
|
8751
|
+
createdAt?: boolean
|
|
8752
|
+
updatedAt?: boolean
|
|
8753
|
+
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
8754
|
+
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
8755
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
8756
|
+
|
|
8757
|
+
export type AttributeValueSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
8758
|
+
id?: boolean
|
|
8759
|
+
skuId?: boolean
|
|
8760
|
+
attrId?: boolean
|
|
8761
|
+
value?: boolean
|
|
8762
|
+
createdAt?: boolean
|
|
8763
|
+
updatedAt?: boolean
|
|
8764
|
+
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
8765
|
+
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
8766
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
8767
|
+
|
|
8768
|
+
export type AttributeValueSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
8769
|
+
id?: boolean
|
|
8770
|
+
skuId?: boolean
|
|
8771
|
+
attrId?: boolean
|
|
8772
|
+
value?: boolean
|
|
8773
|
+
createdAt?: boolean
|
|
8774
|
+
updatedAt?: boolean
|
|
8775
|
+
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
8776
|
+
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
8777
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
8778
|
+
|
|
8779
|
+
export type AttributeValueSelectScalar = {
|
|
8780
|
+
id?: boolean
|
|
8781
|
+
skuId?: boolean
|
|
8782
|
+
attrId?: boolean
|
|
8783
|
+
value?: boolean
|
|
8784
|
+
createdAt?: boolean
|
|
8785
|
+
updatedAt?: boolean
|
|
8786
|
+
}
|
|
8787
|
+
|
|
8788
|
+
export type AttributeValueOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "skuId" | "attrId" | "value" | "createdAt" | "updatedAt", ExtArgs["result"]["attributeValue"]>
|
|
8789
|
+
export type AttributeValueInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8790
|
+
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
8791
|
+
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
8792
|
+
}
|
|
8793
|
+
export type AttributeValueIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8794
|
+
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
8795
|
+
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
8796
|
+
}
|
|
8797
|
+
export type AttributeValueIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8798
|
+
attr?: boolean | AttributeValue$attrArgs<ExtArgs>
|
|
8799
|
+
skus?: boolean | AttributeValue$skusArgs<ExtArgs>
|
|
8800
|
+
}
|
|
8801
|
+
|
|
8802
|
+
export type $AttributeValuePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
8803
|
+
name: "AttributeValue"
|
|
8804
|
+
objects: {
|
|
8805
|
+
attr: Prisma.$AttributePayload<ExtArgs> | null
|
|
8806
|
+
skus: Prisma.$SkuPayload<ExtArgs> | null
|
|
8807
|
+
}
|
|
8808
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
8809
|
+
id: string
|
|
8810
|
+
skuId: string
|
|
8811
|
+
attrId: string
|
|
8812
|
+
value: string
|
|
8813
|
+
createdAt: Date
|
|
8814
|
+
updatedAt: Date
|
|
8815
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
8816
|
+
composites: {}
|
|
8817
|
+
}
|
|
8818
|
+
|
|
8819
|
+
type AttributeValueGetPayload<S extends boolean | null | undefined | AttributeValueDefaultArgs> = $Result.GetResult<Prisma.$AttributeValuePayload, S>
|
|
8820
|
+
|
|
8821
|
+
type AttributeValueCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
8822
|
+
Omit<AttributeValueFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
8823
|
+
select?: AttributeValueCountAggregateInputType | true
|
|
8824
|
+
}
|
|
8825
|
+
|
|
8826
|
+
export interface AttributeValueDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
8827
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AttributeValue'], meta: { name: 'AttributeValue' } }
|
|
8828
|
+
/**
|
|
8829
|
+
* Find zero or one AttributeValue that matches the filter.
|
|
8830
|
+
* @param {AttributeValueFindUniqueArgs} args - Arguments to find a AttributeValue
|
|
8831
|
+
* @example
|
|
8832
|
+
* // Get one AttributeValue
|
|
8833
|
+
* const attributeValue = await prisma.attributeValue.findUnique({
|
|
8834
|
+
* where: {
|
|
8835
|
+
* // ... provide filter here
|
|
8836
|
+
* }
|
|
8837
|
+
* })
|
|
8838
|
+
*/
|
|
8839
|
+
findUnique<T extends AttributeValueFindUniqueArgs>(args: SelectSubset<T, AttributeValueFindUniqueArgs<ExtArgs>>): Prisma__AttributeValueClient<$Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
8840
|
+
|
|
8841
|
+
/**
|
|
8842
|
+
* Find one AttributeValue that matches the filter or throw an error with `error.code='P2025'`
|
|
8843
|
+
* if no matches were found.
|
|
8844
|
+
* @param {AttributeValueFindUniqueOrThrowArgs} args - Arguments to find a AttributeValue
|
|
8845
|
+
* @example
|
|
8846
|
+
* // Get one AttributeValue
|
|
8847
|
+
* const attributeValue = await prisma.attributeValue.findUniqueOrThrow({
|
|
8848
|
+
* where: {
|
|
8849
|
+
* // ... provide filter here
|
|
8850
|
+
* }
|
|
8851
|
+
* })
|
|
8852
|
+
*/
|
|
8853
|
+
findUniqueOrThrow<T extends AttributeValueFindUniqueOrThrowArgs>(args: SelectSubset<T, AttributeValueFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AttributeValueClient<$Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
8854
|
+
|
|
8855
|
+
/**
|
|
8856
|
+
* Find the first AttributeValue that matches the filter.
|
|
8857
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8858
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8859
|
+
* @param {AttributeValueFindFirstArgs} args - Arguments to find a AttributeValue
|
|
8860
|
+
* @example
|
|
8861
|
+
* // Get one AttributeValue
|
|
8862
|
+
* const attributeValue = await prisma.attributeValue.findFirst({
|
|
8863
|
+
* where: {
|
|
8864
|
+
* // ... provide filter here
|
|
8865
|
+
* }
|
|
8866
|
+
* })
|
|
8867
|
+
*/
|
|
8868
|
+
findFirst<T extends AttributeValueFindFirstArgs>(args?: SelectSubset<T, AttributeValueFindFirstArgs<ExtArgs>>): Prisma__AttributeValueClient<$Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
8869
|
+
|
|
8870
|
+
/**
|
|
8871
|
+
* Find the first AttributeValue that matches the filter or
|
|
8872
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
8873
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
8874
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
8875
|
+
* @param {AttributeValueFindFirstOrThrowArgs} args - Arguments to find a AttributeValue
|
|
8876
|
+
* @example
|
|
8877
|
+
* // Get one AttributeValue
|
|
8878
|
+
* const attributeValue = await prisma.attributeValue.findFirstOrThrow({
|
|
6523
8879
|
* where: {
|
|
6524
8880
|
* // ... provide filter here
|
|
6525
8881
|
* }
|
|
@@ -7353,12 +9709,10 @@ export namespace Prisma {
|
|
|
7353
9709
|
|
|
7354
9710
|
export type SkuAvgAggregateOutputType = {
|
|
7355
9711
|
price: number | null
|
|
7356
|
-
quantity: number | null
|
|
7357
9712
|
}
|
|
7358
9713
|
|
|
7359
9714
|
export type SkuSumAggregateOutputType = {
|
|
7360
9715
|
price: bigint | null
|
|
7361
|
-
quantity: number | null
|
|
7362
9716
|
}
|
|
7363
9717
|
|
|
7364
9718
|
export type SkuMinAggregateOutputType = {
|
|
@@ -7366,7 +9720,6 @@ export namespace Prisma {
|
|
|
7366
9720
|
skuNo: string | null
|
|
7367
9721
|
productId: string | null
|
|
7368
9722
|
price: bigint | null
|
|
7369
|
-
quantity: number | null
|
|
7370
9723
|
brand: string | null
|
|
7371
9724
|
inactive: boolean | null
|
|
7372
9725
|
createdAt: Date | null
|
|
@@ -7378,7 +9731,6 @@ export namespace Prisma {
|
|
|
7378
9731
|
skuNo: string | null
|
|
7379
9732
|
productId: string | null
|
|
7380
9733
|
price: bigint | null
|
|
7381
|
-
quantity: number | null
|
|
7382
9734
|
brand: string | null
|
|
7383
9735
|
inactive: boolean | null
|
|
7384
9736
|
createdAt: Date | null
|
|
@@ -7390,7 +9742,6 @@ export namespace Prisma {
|
|
|
7390
9742
|
skuNo: number
|
|
7391
9743
|
productId: number
|
|
7392
9744
|
price: number
|
|
7393
|
-
quantity: number
|
|
7394
9745
|
brand: number
|
|
7395
9746
|
media: number
|
|
7396
9747
|
inactive: number
|
|
@@ -7402,12 +9753,10 @@ export namespace Prisma {
|
|
|
7402
9753
|
|
|
7403
9754
|
export type SkuAvgAggregateInputType = {
|
|
7404
9755
|
price?: true
|
|
7405
|
-
quantity?: true
|
|
7406
9756
|
}
|
|
7407
9757
|
|
|
7408
9758
|
export type SkuSumAggregateInputType = {
|
|
7409
9759
|
price?: true
|
|
7410
|
-
quantity?: true
|
|
7411
9760
|
}
|
|
7412
9761
|
|
|
7413
9762
|
export type SkuMinAggregateInputType = {
|
|
@@ -7415,7 +9764,6 @@ export namespace Prisma {
|
|
|
7415
9764
|
skuNo?: true
|
|
7416
9765
|
productId?: true
|
|
7417
9766
|
price?: true
|
|
7418
|
-
quantity?: true
|
|
7419
9767
|
brand?: true
|
|
7420
9768
|
inactive?: true
|
|
7421
9769
|
createdAt?: true
|
|
@@ -7427,7 +9775,6 @@ export namespace Prisma {
|
|
|
7427
9775
|
skuNo?: true
|
|
7428
9776
|
productId?: true
|
|
7429
9777
|
price?: true
|
|
7430
|
-
quantity?: true
|
|
7431
9778
|
brand?: true
|
|
7432
9779
|
inactive?: true
|
|
7433
9780
|
createdAt?: true
|
|
@@ -7439,7 +9786,6 @@ export namespace Prisma {
|
|
|
7439
9786
|
skuNo?: true
|
|
7440
9787
|
productId?: true
|
|
7441
9788
|
price?: true
|
|
7442
|
-
quantity?: true
|
|
7443
9789
|
brand?: true
|
|
7444
9790
|
media?: true
|
|
7445
9791
|
inactive?: true
|
|
@@ -7539,9 +9885,8 @@ export namespace Prisma {
|
|
|
7539
9885
|
skuNo: string
|
|
7540
9886
|
productId: string
|
|
7541
9887
|
price: bigint
|
|
7542
|
-
quantity: number
|
|
7543
9888
|
brand: string | null
|
|
7544
|
-
media:PrismaJson.
|
|
9889
|
+
media:PrismaJson.PrismaMediaEntity | null
|
|
7545
9890
|
inactive: boolean | null
|
|
7546
9891
|
createdAt: Date
|
|
7547
9892
|
updatedAt: Date
|
|
@@ -7571,7 +9916,6 @@ export namespace Prisma {
|
|
|
7571
9916
|
skuNo?: boolean
|
|
7572
9917
|
productId?: boolean
|
|
7573
9918
|
price?: boolean
|
|
7574
|
-
quantity?: boolean
|
|
7575
9919
|
brand?: boolean
|
|
7576
9920
|
media?: boolean
|
|
7577
9921
|
inactive?: boolean
|
|
@@ -7587,7 +9931,6 @@ export namespace Prisma {
|
|
|
7587
9931
|
skuNo?: boolean
|
|
7588
9932
|
productId?: boolean
|
|
7589
9933
|
price?: boolean
|
|
7590
|
-
quantity?: boolean
|
|
7591
9934
|
brand?: boolean
|
|
7592
9935
|
media?: boolean
|
|
7593
9936
|
inactive?: boolean
|
|
@@ -7601,7 +9944,6 @@ export namespace Prisma {
|
|
|
7601
9944
|
skuNo?: boolean
|
|
7602
9945
|
productId?: boolean
|
|
7603
9946
|
price?: boolean
|
|
7604
|
-
quantity?: boolean
|
|
7605
9947
|
brand?: boolean
|
|
7606
9948
|
media?: boolean
|
|
7607
9949
|
inactive?: boolean
|
|
@@ -7615,7 +9957,6 @@ export namespace Prisma {
|
|
|
7615
9957
|
skuNo?: boolean
|
|
7616
9958
|
productId?: boolean
|
|
7617
9959
|
price?: boolean
|
|
7618
|
-
quantity?: boolean
|
|
7619
9960
|
brand?: boolean
|
|
7620
9961
|
media?: boolean
|
|
7621
9962
|
inactive?: boolean
|
|
@@ -7623,7 +9964,7 @@ export namespace Prisma {
|
|
|
7623
9964
|
updatedAt?: boolean
|
|
7624
9965
|
}
|
|
7625
9966
|
|
|
7626
|
-
export type SkuOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "skuNo" | "productId" | "price" | "
|
|
9967
|
+
export type SkuOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "skuNo" | "productId" | "price" | "brand" | "media" | "inactive" | "createdAt" | "updatedAt", ExtArgs["result"]["sku"]>
|
|
7627
9968
|
export type SkuInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7628
9969
|
attributeValues?: boolean | Sku$attributeValuesArgs<ExtArgs>
|
|
7629
9970
|
product?: boolean | Sku$productArgs<ExtArgs>
|
|
@@ -7647,12 +9988,11 @@ export namespace Prisma {
|
|
|
7647
9988
|
skuNo: string
|
|
7648
9989
|
productId: string
|
|
7649
9990
|
price: bigint
|
|
7650
|
-
quantity: number
|
|
7651
9991
|
brand: string | null
|
|
7652
9992
|
/**
|
|
7653
|
-
* [
|
|
9993
|
+
* [PrismaMediaEntity]
|
|
7654
9994
|
*/
|
|
7655
|
-
media:PrismaJson.
|
|
9995
|
+
media:PrismaJson.PrismaMediaEntity | null
|
|
7656
9996
|
inactive: boolean | null
|
|
7657
9997
|
createdAt: Date
|
|
7658
9998
|
updatedAt: Date
|
|
@@ -8085,7 +10425,6 @@ export namespace Prisma {
|
|
|
8085
10425
|
readonly skuNo: FieldRef<"Sku", 'String'>
|
|
8086
10426
|
readonly productId: FieldRef<"Sku", 'String'>
|
|
8087
10427
|
readonly price: FieldRef<"Sku", 'BigInt'>
|
|
8088
|
-
readonly quantity: FieldRef<"Sku", 'Int'>
|
|
8089
10428
|
readonly brand: FieldRef<"Sku", 'String'>
|
|
8090
10429
|
readonly media: FieldRef<"Sku", 'Json'>
|
|
8091
10430
|
readonly inactive: FieldRef<"Sku", 'Boolean'>
|
|
@@ -8604,7 +10943,6 @@ export namespace Prisma {
|
|
|
8604
10943
|
description: 'description',
|
|
8605
10944
|
keywords: 'keywords',
|
|
8606
10945
|
categoryId: 'categoryId',
|
|
8607
|
-
storeId: 'storeId',
|
|
8608
10946
|
viewedCount: 'viewedCount',
|
|
8609
10947
|
status: 'status',
|
|
8610
10948
|
media: 'media',
|
|
@@ -8615,6 +10953,38 @@ export namespace Prisma {
|
|
|
8615
10953
|
export type ProductScalarFieldEnum = (typeof ProductScalarFieldEnum)[keyof typeof ProductScalarFieldEnum]
|
|
8616
10954
|
|
|
8617
10955
|
|
|
10956
|
+
export const ProductSyncOutboxScalarFieldEnum: {
|
|
10957
|
+
id: 'id',
|
|
10958
|
+
publishStatus: 'publishStatus',
|
|
10959
|
+
publishRetryCount: 'publishRetryCount',
|
|
10960
|
+
publishError: 'publishError',
|
|
10961
|
+
publishedAt: 'publishedAt',
|
|
10962
|
+
esSyncStatus: 'esSyncStatus',
|
|
10963
|
+
esRetryCount: 'esRetryCount',
|
|
10964
|
+
esSyncedAt: 'esSyncedAt',
|
|
10965
|
+
esSyncError: 'esSyncError',
|
|
10966
|
+
payload: 'payload',
|
|
10967
|
+
createdAt: 'createdAt',
|
|
10968
|
+
updatedAt: 'updatedAt'
|
|
10969
|
+
};
|
|
10970
|
+
|
|
10971
|
+
export type ProductSyncOutboxScalarFieldEnum = (typeof ProductSyncOutboxScalarFieldEnum)[keyof typeof ProductSyncOutboxScalarFieldEnum]
|
|
10972
|
+
|
|
10973
|
+
|
|
10974
|
+
export const InventoryOutboxScalarFieldEnum: {
|
|
10975
|
+
id: 'id',
|
|
10976
|
+
publishStatus: 'publishStatus',
|
|
10977
|
+
publishRetryCount: 'publishRetryCount',
|
|
10978
|
+
publishError: 'publishError',
|
|
10979
|
+
publishedAt: 'publishedAt',
|
|
10980
|
+
payload: 'payload',
|
|
10981
|
+
createdAt: 'createdAt',
|
|
10982
|
+
updatedAt: 'updatedAt'
|
|
10983
|
+
};
|
|
10984
|
+
|
|
10985
|
+
export type InventoryOutboxScalarFieldEnum = (typeof InventoryOutboxScalarFieldEnum)[keyof typeof InventoryOutboxScalarFieldEnum]
|
|
10986
|
+
|
|
10987
|
+
|
|
8618
10988
|
export const AttributeValueScalarFieldEnum: {
|
|
8619
10989
|
id: 'id',
|
|
8620
10990
|
skuId: 'skuId',
|
|
@@ -8632,7 +11002,6 @@ export namespace Prisma {
|
|
|
8632
11002
|
skuNo: 'skuNo',
|
|
8633
11003
|
productId: 'productId',
|
|
8634
11004
|
price: 'price',
|
|
8635
|
-
quantity: 'quantity',
|
|
8636
11005
|
brand: 'brand',
|
|
8637
11006
|
media: 'media',
|
|
8638
11007
|
inactive: 'inactive',
|
|
@@ -8988,7 +11357,6 @@ export namespace Prisma {
|
|
|
8988
11357
|
description?: StringFilter<"Product"> | string
|
|
8989
11358
|
keywords?: StringFilter<"Product"> | string
|
|
8990
11359
|
categoryId?: UuidFilter<"Product"> | string
|
|
8991
|
-
storeId?: UuidFilter<"Product"> | string
|
|
8992
11360
|
viewedCount?: IntFilter<"Product"> | number
|
|
8993
11361
|
status?: StringFilter<"Product"> | string
|
|
8994
11362
|
media?: JsonFilter<"Product">
|
|
@@ -9005,7 +11373,6 @@ export namespace Prisma {
|
|
|
9005
11373
|
description?: SortOrder
|
|
9006
11374
|
keywords?: SortOrder
|
|
9007
11375
|
categoryId?: SortOrder
|
|
9008
|
-
storeId?: SortOrder
|
|
9009
11376
|
viewedCount?: SortOrder
|
|
9010
11377
|
status?: SortOrder
|
|
9011
11378
|
media?: SortOrder
|
|
@@ -9025,7 +11392,6 @@ export namespace Prisma {
|
|
|
9025
11392
|
description?: StringFilter<"Product"> | string
|
|
9026
11393
|
keywords?: StringFilter<"Product"> | string
|
|
9027
11394
|
categoryId?: UuidFilter<"Product"> | string
|
|
9028
|
-
storeId?: UuidFilter<"Product"> | string
|
|
9029
11395
|
viewedCount?: IntFilter<"Product"> | number
|
|
9030
11396
|
status?: StringFilter<"Product"> | string
|
|
9031
11397
|
media?: JsonFilter<"Product">
|
|
@@ -9042,7 +11408,6 @@ export namespace Prisma {
|
|
|
9042
11408
|
description?: SortOrder
|
|
9043
11409
|
keywords?: SortOrder
|
|
9044
11410
|
categoryId?: SortOrder
|
|
9045
|
-
storeId?: SortOrder
|
|
9046
11411
|
viewedCount?: SortOrder
|
|
9047
11412
|
status?: SortOrder
|
|
9048
11413
|
media?: SortOrder
|
|
@@ -9065,7 +11430,6 @@ export namespace Prisma {
|
|
|
9065
11430
|
description?: StringWithAggregatesFilter<"Product"> | string
|
|
9066
11431
|
keywords?: StringWithAggregatesFilter<"Product"> | string
|
|
9067
11432
|
categoryId?: UuidWithAggregatesFilter<"Product"> | string
|
|
9068
|
-
storeId?: UuidWithAggregatesFilter<"Product"> | string
|
|
9069
11433
|
viewedCount?: IntWithAggregatesFilter<"Product"> | number
|
|
9070
11434
|
status?: StringWithAggregatesFilter<"Product"> | string
|
|
9071
11435
|
media?: JsonWithAggregatesFilter<"Product">
|
|
@@ -9073,6 +11437,164 @@ export namespace Prisma {
|
|
|
9073
11437
|
updatedAt?: DateTimeWithAggregatesFilter<"Product"> | Date | string
|
|
9074
11438
|
}
|
|
9075
11439
|
|
|
11440
|
+
export type ProductSyncOutboxWhereInput = {
|
|
11441
|
+
AND?: ProductSyncOutboxWhereInput | ProductSyncOutboxWhereInput[]
|
|
11442
|
+
OR?: ProductSyncOutboxWhereInput[]
|
|
11443
|
+
NOT?: ProductSyncOutboxWhereInput | ProductSyncOutboxWhereInput[]
|
|
11444
|
+
id?: UuidFilter<"ProductSyncOutbox"> | string
|
|
11445
|
+
publishStatus?: StringFilter<"ProductSyncOutbox"> | string
|
|
11446
|
+
publishRetryCount?: IntFilter<"ProductSyncOutbox"> | number
|
|
11447
|
+
publishError?: StringNullableFilter<"ProductSyncOutbox"> | string | null
|
|
11448
|
+
publishedAt?: DateTimeNullableFilter<"ProductSyncOutbox"> | Date | string | null
|
|
11449
|
+
esSyncStatus?: StringNullableFilter<"ProductSyncOutbox"> | string | null
|
|
11450
|
+
esRetryCount?: IntFilter<"ProductSyncOutbox"> | number
|
|
11451
|
+
esSyncedAt?: DateTimeNullableFilter<"ProductSyncOutbox"> | Date | string | null
|
|
11452
|
+
esSyncError?: StringNullableFilter<"ProductSyncOutbox"> | string | null
|
|
11453
|
+
payload?: JsonNullableFilter<"ProductSyncOutbox">
|
|
11454
|
+
createdAt?: DateTimeFilter<"ProductSyncOutbox"> | Date | string
|
|
11455
|
+
updatedAt?: DateTimeFilter<"ProductSyncOutbox"> | Date | string
|
|
11456
|
+
}
|
|
11457
|
+
|
|
11458
|
+
export type ProductSyncOutboxOrderByWithRelationInput = {
|
|
11459
|
+
id?: SortOrder
|
|
11460
|
+
publishStatus?: SortOrder
|
|
11461
|
+
publishRetryCount?: SortOrder
|
|
11462
|
+
publishError?: SortOrderInput | SortOrder
|
|
11463
|
+
publishedAt?: SortOrderInput | SortOrder
|
|
11464
|
+
esSyncStatus?: SortOrderInput | SortOrder
|
|
11465
|
+
esRetryCount?: SortOrder
|
|
11466
|
+
esSyncedAt?: SortOrderInput | SortOrder
|
|
11467
|
+
esSyncError?: SortOrderInput | SortOrder
|
|
11468
|
+
payload?: SortOrderInput | SortOrder
|
|
11469
|
+
createdAt?: SortOrder
|
|
11470
|
+
updatedAt?: SortOrder
|
|
11471
|
+
}
|
|
11472
|
+
|
|
11473
|
+
export type ProductSyncOutboxWhereUniqueInput = Prisma.AtLeast<{
|
|
11474
|
+
id?: string
|
|
11475
|
+
AND?: ProductSyncOutboxWhereInput | ProductSyncOutboxWhereInput[]
|
|
11476
|
+
OR?: ProductSyncOutboxWhereInput[]
|
|
11477
|
+
NOT?: ProductSyncOutboxWhereInput | ProductSyncOutboxWhereInput[]
|
|
11478
|
+
publishStatus?: StringFilter<"ProductSyncOutbox"> | string
|
|
11479
|
+
publishRetryCount?: IntFilter<"ProductSyncOutbox"> | number
|
|
11480
|
+
publishError?: StringNullableFilter<"ProductSyncOutbox"> | string | null
|
|
11481
|
+
publishedAt?: DateTimeNullableFilter<"ProductSyncOutbox"> | Date | string | null
|
|
11482
|
+
esSyncStatus?: StringNullableFilter<"ProductSyncOutbox"> | string | null
|
|
11483
|
+
esRetryCount?: IntFilter<"ProductSyncOutbox"> | number
|
|
11484
|
+
esSyncedAt?: DateTimeNullableFilter<"ProductSyncOutbox"> | Date | string | null
|
|
11485
|
+
esSyncError?: StringNullableFilter<"ProductSyncOutbox"> | string | null
|
|
11486
|
+
payload?: JsonNullableFilter<"ProductSyncOutbox">
|
|
11487
|
+
createdAt?: DateTimeFilter<"ProductSyncOutbox"> | Date | string
|
|
11488
|
+
updatedAt?: DateTimeFilter<"ProductSyncOutbox"> | Date | string
|
|
11489
|
+
}, "id">
|
|
11490
|
+
|
|
11491
|
+
export type ProductSyncOutboxOrderByWithAggregationInput = {
|
|
11492
|
+
id?: SortOrder
|
|
11493
|
+
publishStatus?: SortOrder
|
|
11494
|
+
publishRetryCount?: SortOrder
|
|
11495
|
+
publishError?: SortOrderInput | SortOrder
|
|
11496
|
+
publishedAt?: SortOrderInput | SortOrder
|
|
11497
|
+
esSyncStatus?: SortOrderInput | SortOrder
|
|
11498
|
+
esRetryCount?: SortOrder
|
|
11499
|
+
esSyncedAt?: SortOrderInput | SortOrder
|
|
11500
|
+
esSyncError?: SortOrderInput | SortOrder
|
|
11501
|
+
payload?: SortOrderInput | SortOrder
|
|
11502
|
+
createdAt?: SortOrder
|
|
11503
|
+
updatedAt?: SortOrder
|
|
11504
|
+
_count?: ProductSyncOutboxCountOrderByAggregateInput
|
|
11505
|
+
_avg?: ProductSyncOutboxAvgOrderByAggregateInput
|
|
11506
|
+
_max?: ProductSyncOutboxMaxOrderByAggregateInput
|
|
11507
|
+
_min?: ProductSyncOutboxMinOrderByAggregateInput
|
|
11508
|
+
_sum?: ProductSyncOutboxSumOrderByAggregateInput
|
|
11509
|
+
}
|
|
11510
|
+
|
|
11511
|
+
export type ProductSyncOutboxScalarWhereWithAggregatesInput = {
|
|
11512
|
+
AND?: ProductSyncOutboxScalarWhereWithAggregatesInput | ProductSyncOutboxScalarWhereWithAggregatesInput[]
|
|
11513
|
+
OR?: ProductSyncOutboxScalarWhereWithAggregatesInput[]
|
|
11514
|
+
NOT?: ProductSyncOutboxScalarWhereWithAggregatesInput | ProductSyncOutboxScalarWhereWithAggregatesInput[]
|
|
11515
|
+
id?: UuidWithAggregatesFilter<"ProductSyncOutbox"> | string
|
|
11516
|
+
publishStatus?: StringWithAggregatesFilter<"ProductSyncOutbox"> | string
|
|
11517
|
+
publishRetryCount?: IntWithAggregatesFilter<"ProductSyncOutbox"> | number
|
|
11518
|
+
publishError?: StringNullableWithAggregatesFilter<"ProductSyncOutbox"> | string | null
|
|
11519
|
+
publishedAt?: DateTimeNullableWithAggregatesFilter<"ProductSyncOutbox"> | Date | string | null
|
|
11520
|
+
esSyncStatus?: StringNullableWithAggregatesFilter<"ProductSyncOutbox"> | string | null
|
|
11521
|
+
esRetryCount?: IntWithAggregatesFilter<"ProductSyncOutbox"> | number
|
|
11522
|
+
esSyncedAt?: DateTimeNullableWithAggregatesFilter<"ProductSyncOutbox"> | Date | string | null
|
|
11523
|
+
esSyncError?: StringNullableWithAggregatesFilter<"ProductSyncOutbox"> | string | null
|
|
11524
|
+
payload?: JsonNullableWithAggregatesFilter<"ProductSyncOutbox">
|
|
11525
|
+
createdAt?: DateTimeWithAggregatesFilter<"ProductSyncOutbox"> | Date | string
|
|
11526
|
+
updatedAt?: DateTimeWithAggregatesFilter<"ProductSyncOutbox"> | Date | string
|
|
11527
|
+
}
|
|
11528
|
+
|
|
11529
|
+
export type InventoryOutboxWhereInput = {
|
|
11530
|
+
AND?: InventoryOutboxWhereInput | InventoryOutboxWhereInput[]
|
|
11531
|
+
OR?: InventoryOutboxWhereInput[]
|
|
11532
|
+
NOT?: InventoryOutboxWhereInput | InventoryOutboxWhereInput[]
|
|
11533
|
+
id?: UuidFilter<"InventoryOutbox"> | string
|
|
11534
|
+
publishStatus?: StringFilter<"InventoryOutbox"> | string
|
|
11535
|
+
publishRetryCount?: IntFilter<"InventoryOutbox"> | number
|
|
11536
|
+
publishError?: StringNullableFilter<"InventoryOutbox"> | string | null
|
|
11537
|
+
publishedAt?: DateTimeNullableFilter<"InventoryOutbox"> | Date | string | null
|
|
11538
|
+
payload?: JsonNullableFilter<"InventoryOutbox">
|
|
11539
|
+
createdAt?: DateTimeFilter<"InventoryOutbox"> | Date | string
|
|
11540
|
+
updatedAt?: DateTimeFilter<"InventoryOutbox"> | Date | string
|
|
11541
|
+
}
|
|
11542
|
+
|
|
11543
|
+
export type InventoryOutboxOrderByWithRelationInput = {
|
|
11544
|
+
id?: SortOrder
|
|
11545
|
+
publishStatus?: SortOrder
|
|
11546
|
+
publishRetryCount?: SortOrder
|
|
11547
|
+
publishError?: SortOrderInput | SortOrder
|
|
11548
|
+
publishedAt?: SortOrderInput | SortOrder
|
|
11549
|
+
payload?: SortOrderInput | SortOrder
|
|
11550
|
+
createdAt?: SortOrder
|
|
11551
|
+
updatedAt?: SortOrder
|
|
11552
|
+
}
|
|
11553
|
+
|
|
11554
|
+
export type InventoryOutboxWhereUniqueInput = Prisma.AtLeast<{
|
|
11555
|
+
id?: string
|
|
11556
|
+
AND?: InventoryOutboxWhereInput | InventoryOutboxWhereInput[]
|
|
11557
|
+
OR?: InventoryOutboxWhereInput[]
|
|
11558
|
+
NOT?: InventoryOutboxWhereInput | InventoryOutboxWhereInput[]
|
|
11559
|
+
publishStatus?: StringFilter<"InventoryOutbox"> | string
|
|
11560
|
+
publishRetryCount?: IntFilter<"InventoryOutbox"> | number
|
|
11561
|
+
publishError?: StringNullableFilter<"InventoryOutbox"> | string | null
|
|
11562
|
+
publishedAt?: DateTimeNullableFilter<"InventoryOutbox"> | Date | string | null
|
|
11563
|
+
payload?: JsonNullableFilter<"InventoryOutbox">
|
|
11564
|
+
createdAt?: DateTimeFilter<"InventoryOutbox"> | Date | string
|
|
11565
|
+
updatedAt?: DateTimeFilter<"InventoryOutbox"> | Date | string
|
|
11566
|
+
}, "id">
|
|
11567
|
+
|
|
11568
|
+
export type InventoryOutboxOrderByWithAggregationInput = {
|
|
11569
|
+
id?: SortOrder
|
|
11570
|
+
publishStatus?: SortOrder
|
|
11571
|
+
publishRetryCount?: SortOrder
|
|
11572
|
+
publishError?: SortOrderInput | SortOrder
|
|
11573
|
+
publishedAt?: SortOrderInput | SortOrder
|
|
11574
|
+
payload?: SortOrderInput | SortOrder
|
|
11575
|
+
createdAt?: SortOrder
|
|
11576
|
+
updatedAt?: SortOrder
|
|
11577
|
+
_count?: InventoryOutboxCountOrderByAggregateInput
|
|
11578
|
+
_avg?: InventoryOutboxAvgOrderByAggregateInput
|
|
11579
|
+
_max?: InventoryOutboxMaxOrderByAggregateInput
|
|
11580
|
+
_min?: InventoryOutboxMinOrderByAggregateInput
|
|
11581
|
+
_sum?: InventoryOutboxSumOrderByAggregateInput
|
|
11582
|
+
}
|
|
11583
|
+
|
|
11584
|
+
export type InventoryOutboxScalarWhereWithAggregatesInput = {
|
|
11585
|
+
AND?: InventoryOutboxScalarWhereWithAggregatesInput | InventoryOutboxScalarWhereWithAggregatesInput[]
|
|
11586
|
+
OR?: InventoryOutboxScalarWhereWithAggregatesInput[]
|
|
11587
|
+
NOT?: InventoryOutboxScalarWhereWithAggregatesInput | InventoryOutboxScalarWhereWithAggregatesInput[]
|
|
11588
|
+
id?: UuidWithAggregatesFilter<"InventoryOutbox"> | string
|
|
11589
|
+
publishStatus?: StringWithAggregatesFilter<"InventoryOutbox"> | string
|
|
11590
|
+
publishRetryCount?: IntWithAggregatesFilter<"InventoryOutbox"> | number
|
|
11591
|
+
publishError?: StringNullableWithAggregatesFilter<"InventoryOutbox"> | string | null
|
|
11592
|
+
publishedAt?: DateTimeNullableWithAggregatesFilter<"InventoryOutbox"> | Date | string | null
|
|
11593
|
+
payload?: JsonNullableWithAggregatesFilter<"InventoryOutbox">
|
|
11594
|
+
createdAt?: DateTimeWithAggregatesFilter<"InventoryOutbox"> | Date | string
|
|
11595
|
+
updatedAt?: DateTimeWithAggregatesFilter<"InventoryOutbox"> | Date | string
|
|
11596
|
+
}
|
|
11597
|
+
|
|
9076
11598
|
export type AttributeValueWhereInput = {
|
|
9077
11599
|
AND?: AttributeValueWhereInput | AttributeValueWhereInput[]
|
|
9078
11600
|
OR?: AttributeValueWhereInput[]
|
|
@@ -9145,7 +11667,6 @@ export namespace Prisma {
|
|
|
9145
11667
|
skuNo?: StringFilter<"Sku"> | string
|
|
9146
11668
|
productId?: UuidFilter<"Sku"> | string
|
|
9147
11669
|
price?: BigIntFilter<"Sku"> | bigint | number
|
|
9148
|
-
quantity?: IntFilter<"Sku"> | number
|
|
9149
11670
|
brand?: StringNullableFilter<"Sku"> | string | null
|
|
9150
11671
|
media?: JsonNullableFilter<"Sku">
|
|
9151
11672
|
inactive?: BoolNullableFilter<"Sku"> | boolean | null
|
|
@@ -9160,7 +11681,6 @@ export namespace Prisma {
|
|
|
9160
11681
|
skuNo?: SortOrder
|
|
9161
11682
|
productId?: SortOrder
|
|
9162
11683
|
price?: SortOrder
|
|
9163
|
-
quantity?: SortOrder
|
|
9164
11684
|
brand?: SortOrderInput | SortOrder
|
|
9165
11685
|
media?: SortOrderInput | SortOrder
|
|
9166
11686
|
inactive?: SortOrderInput | SortOrder
|
|
@@ -9178,7 +11698,6 @@ export namespace Prisma {
|
|
|
9178
11698
|
NOT?: SkuWhereInput | SkuWhereInput[]
|
|
9179
11699
|
productId?: UuidFilter<"Sku"> | string
|
|
9180
11700
|
price?: BigIntFilter<"Sku"> | bigint | number
|
|
9181
|
-
quantity?: IntFilter<"Sku"> | number
|
|
9182
11701
|
brand?: StringNullableFilter<"Sku"> | string | null
|
|
9183
11702
|
media?: JsonNullableFilter<"Sku">
|
|
9184
11703
|
inactive?: BoolNullableFilter<"Sku"> | boolean | null
|
|
@@ -9193,7 +11712,6 @@ export namespace Prisma {
|
|
|
9193
11712
|
skuNo?: SortOrder
|
|
9194
11713
|
productId?: SortOrder
|
|
9195
11714
|
price?: SortOrder
|
|
9196
|
-
quantity?: SortOrder
|
|
9197
11715
|
brand?: SortOrderInput | SortOrder
|
|
9198
11716
|
media?: SortOrderInput | SortOrder
|
|
9199
11717
|
inactive?: SortOrderInput | SortOrder
|
|
@@ -9214,7 +11732,6 @@ export namespace Prisma {
|
|
|
9214
11732
|
skuNo?: StringWithAggregatesFilter<"Sku"> | string
|
|
9215
11733
|
productId?: UuidWithAggregatesFilter<"Sku"> | string
|
|
9216
11734
|
price?: BigIntWithAggregatesFilter<"Sku"> | bigint | number
|
|
9217
|
-
quantity?: IntWithAggregatesFilter<"Sku"> | number
|
|
9218
11735
|
brand?: StringNullableWithAggregatesFilter<"Sku"> | string | null
|
|
9219
11736
|
media?: JsonNullableWithAggregatesFilter<"Sku">
|
|
9220
11737
|
inactive?: BoolNullableWithAggregatesFilter<"Sku"> | boolean | null
|
|
@@ -9424,10 +11941,9 @@ export namespace Prisma {
|
|
|
9424
11941
|
title: string
|
|
9425
11942
|
description: string
|
|
9426
11943
|
keywords: string
|
|
9427
|
-
storeId: string
|
|
9428
11944
|
viewedCount?: number
|
|
9429
11945
|
status: string
|
|
9430
|
-
media:PrismaJson.
|
|
11946
|
+
media:PrismaJson.PrismaMediaEntity
|
|
9431
11947
|
createdAt?: Date | string
|
|
9432
11948
|
updatedAt?: Date | string
|
|
9433
11949
|
category: CategoryCreateNestedOneWithoutProductsInput
|
|
@@ -9441,10 +11957,9 @@ export namespace Prisma {
|
|
|
9441
11957
|
description: string
|
|
9442
11958
|
keywords: string
|
|
9443
11959
|
categoryId: string
|
|
9444
|
-
storeId: string
|
|
9445
11960
|
viewedCount?: number
|
|
9446
11961
|
status: string
|
|
9447
|
-
media:PrismaJson.
|
|
11962
|
+
media:PrismaJson.PrismaMediaEntity
|
|
9448
11963
|
createdAt?: Date | string
|
|
9449
11964
|
updatedAt?: Date | string
|
|
9450
11965
|
skus?: SkuUncheckedCreateNestedManyWithoutProductInput
|
|
@@ -9456,10 +11971,9 @@ export namespace Prisma {
|
|
|
9456
11971
|
title?: StringFieldUpdateOperationsInput | string
|
|
9457
11972
|
description?: StringFieldUpdateOperationsInput | string
|
|
9458
11973
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
9459
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
9460
11974
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
9461
11975
|
status?: StringFieldUpdateOperationsInput | string
|
|
9462
|
-
media?:PrismaJson.
|
|
11976
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
9463
11977
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9464
11978
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9465
11979
|
category?: CategoryUpdateOneRequiredWithoutProductsNestedInput
|
|
@@ -9473,10 +11987,9 @@ export namespace Prisma {
|
|
|
9473
11987
|
description?: StringFieldUpdateOperationsInput | string
|
|
9474
11988
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
9475
11989
|
categoryId?: StringFieldUpdateOperationsInput | string
|
|
9476
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
9477
11990
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
9478
11991
|
status?: StringFieldUpdateOperationsInput | string
|
|
9479
|
-
media?:PrismaJson.
|
|
11992
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
9480
11993
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9481
11994
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9482
11995
|
skus?: SkuUncheckedUpdateManyWithoutProductNestedInput
|
|
@@ -9489,10 +12002,9 @@ export namespace Prisma {
|
|
|
9489
12002
|
description: string
|
|
9490
12003
|
keywords: string
|
|
9491
12004
|
categoryId: string
|
|
9492
|
-
storeId: string
|
|
9493
12005
|
viewedCount?: number
|
|
9494
12006
|
status: string
|
|
9495
|
-
media:PrismaJson.
|
|
12007
|
+
media:PrismaJson.PrismaMediaEntity
|
|
9496
12008
|
createdAt?: Date | string
|
|
9497
12009
|
updatedAt?: Date | string
|
|
9498
12010
|
}
|
|
@@ -9503,10 +12015,9 @@ export namespace Prisma {
|
|
|
9503
12015
|
title?: StringFieldUpdateOperationsInput | string
|
|
9504
12016
|
description?: StringFieldUpdateOperationsInput | string
|
|
9505
12017
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
9506
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
9507
12018
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
9508
12019
|
status?: StringFieldUpdateOperationsInput | string
|
|
9509
|
-
media?:PrismaJson.
|
|
12020
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
9510
12021
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9511
12022
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9512
12023
|
}
|
|
@@ -9518,10 +12029,191 @@ export namespace Prisma {
|
|
|
9518
12029
|
description?: StringFieldUpdateOperationsInput | string
|
|
9519
12030
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
9520
12031
|
categoryId?: StringFieldUpdateOperationsInput | string
|
|
9521
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
9522
12032
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
9523
12033
|
status?: StringFieldUpdateOperationsInput | string
|
|
9524
|
-
media?:PrismaJson.
|
|
12034
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
12035
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12036
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12037
|
+
}
|
|
12038
|
+
|
|
12039
|
+
export type ProductSyncOutboxCreateInput = {
|
|
12040
|
+
id?: string
|
|
12041
|
+
publishStatus: string
|
|
12042
|
+
publishRetryCount?: number
|
|
12043
|
+
publishError?: string | null
|
|
12044
|
+
publishedAt?: Date | string | null
|
|
12045
|
+
esSyncStatus?: string | null
|
|
12046
|
+
esRetryCount?: number
|
|
12047
|
+
esSyncedAt?: Date | string | null
|
|
12048
|
+
esSyncError?: string | null
|
|
12049
|
+
payload?:PrismaJson.PrismaProductEntityPopulated | NullableJsonNullValueInput
|
|
12050
|
+
createdAt?: Date | string
|
|
12051
|
+
updatedAt?: Date | string
|
|
12052
|
+
}
|
|
12053
|
+
|
|
12054
|
+
export type ProductSyncOutboxUncheckedCreateInput = {
|
|
12055
|
+
id?: string
|
|
12056
|
+
publishStatus: string
|
|
12057
|
+
publishRetryCount?: number
|
|
12058
|
+
publishError?: string | null
|
|
12059
|
+
publishedAt?: Date | string | null
|
|
12060
|
+
esSyncStatus?: string | null
|
|
12061
|
+
esRetryCount?: number
|
|
12062
|
+
esSyncedAt?: Date | string | null
|
|
12063
|
+
esSyncError?: string | null
|
|
12064
|
+
payload?:PrismaJson.PrismaProductEntityPopulated | NullableJsonNullValueInput
|
|
12065
|
+
createdAt?: Date | string
|
|
12066
|
+
updatedAt?: Date | string
|
|
12067
|
+
}
|
|
12068
|
+
|
|
12069
|
+
export type ProductSyncOutboxUpdateInput = {
|
|
12070
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12071
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12072
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12073
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12074
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12075
|
+
esSyncStatus?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12076
|
+
esRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12077
|
+
esSyncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12078
|
+
esSyncError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12079
|
+
payload?:PrismaJson.PrismaProductEntityPopulated | NullableJsonNullValueInput
|
|
12080
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12081
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12082
|
+
}
|
|
12083
|
+
|
|
12084
|
+
export type ProductSyncOutboxUncheckedUpdateInput = {
|
|
12085
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12086
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12087
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12088
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12089
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12090
|
+
esSyncStatus?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12091
|
+
esRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12092
|
+
esSyncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12093
|
+
esSyncError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12094
|
+
payload?:PrismaJson.PrismaProductEntityPopulated | NullableJsonNullValueInput
|
|
12095
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12096
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12097
|
+
}
|
|
12098
|
+
|
|
12099
|
+
export type ProductSyncOutboxCreateManyInput = {
|
|
12100
|
+
id?: string
|
|
12101
|
+
publishStatus: string
|
|
12102
|
+
publishRetryCount?: number
|
|
12103
|
+
publishError?: string | null
|
|
12104
|
+
publishedAt?: Date | string | null
|
|
12105
|
+
esSyncStatus?: string | null
|
|
12106
|
+
esRetryCount?: number
|
|
12107
|
+
esSyncedAt?: Date | string | null
|
|
12108
|
+
esSyncError?: string | null
|
|
12109
|
+
payload?:PrismaJson.PrismaProductEntityPopulated | NullableJsonNullValueInput
|
|
12110
|
+
createdAt?: Date | string
|
|
12111
|
+
updatedAt?: Date | string
|
|
12112
|
+
}
|
|
12113
|
+
|
|
12114
|
+
export type ProductSyncOutboxUpdateManyMutationInput = {
|
|
12115
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12116
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12117
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12118
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12119
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12120
|
+
esSyncStatus?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12121
|
+
esRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12122
|
+
esSyncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12123
|
+
esSyncError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12124
|
+
payload?:PrismaJson.PrismaProductEntityPopulated | NullableJsonNullValueInput
|
|
12125
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12126
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12127
|
+
}
|
|
12128
|
+
|
|
12129
|
+
export type ProductSyncOutboxUncheckedUpdateManyInput = {
|
|
12130
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12131
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12132
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12133
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12134
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12135
|
+
esSyncStatus?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12136
|
+
esRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12137
|
+
esSyncedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12138
|
+
esSyncError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12139
|
+
payload?:PrismaJson.PrismaProductEntityPopulated | NullableJsonNullValueInput
|
|
12140
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12141
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12142
|
+
}
|
|
12143
|
+
|
|
12144
|
+
export type InventoryOutboxCreateInput = {
|
|
12145
|
+
id?: string
|
|
12146
|
+
publishStatus: string
|
|
12147
|
+
publishRetryCount?: number
|
|
12148
|
+
publishError?: string | null
|
|
12149
|
+
publishedAt?: Date | string | null
|
|
12150
|
+
payload?:unknown | NullableJsonNullValueInput
|
|
12151
|
+
createdAt?: Date | string
|
|
12152
|
+
updatedAt?: Date | string
|
|
12153
|
+
}
|
|
12154
|
+
|
|
12155
|
+
export type InventoryOutboxUncheckedCreateInput = {
|
|
12156
|
+
id?: string
|
|
12157
|
+
publishStatus: string
|
|
12158
|
+
publishRetryCount?: number
|
|
12159
|
+
publishError?: string | null
|
|
12160
|
+
publishedAt?: Date | string | null
|
|
12161
|
+
payload?:unknown | NullableJsonNullValueInput
|
|
12162
|
+
createdAt?: Date | string
|
|
12163
|
+
updatedAt?: Date | string
|
|
12164
|
+
}
|
|
12165
|
+
|
|
12166
|
+
export type InventoryOutboxUpdateInput = {
|
|
12167
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12168
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12169
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12170
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12171
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12172
|
+
payload?:unknown | NullableJsonNullValueInput
|
|
12173
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12174
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12175
|
+
}
|
|
12176
|
+
|
|
12177
|
+
export type InventoryOutboxUncheckedUpdateInput = {
|
|
12178
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12179
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12180
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12181
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12182
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12183
|
+
payload?:unknown | NullableJsonNullValueInput
|
|
12184
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12185
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12186
|
+
}
|
|
12187
|
+
|
|
12188
|
+
export type InventoryOutboxCreateManyInput = {
|
|
12189
|
+
id?: string
|
|
12190
|
+
publishStatus: string
|
|
12191
|
+
publishRetryCount?: number
|
|
12192
|
+
publishError?: string | null
|
|
12193
|
+
publishedAt?: Date | string | null
|
|
12194
|
+
payload?:unknown | NullableJsonNullValueInput
|
|
12195
|
+
createdAt?: Date | string
|
|
12196
|
+
updatedAt?: Date | string
|
|
12197
|
+
}
|
|
12198
|
+
|
|
12199
|
+
export type InventoryOutboxUpdateManyMutationInput = {
|
|
12200
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12201
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12202
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12203
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12204
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12205
|
+
payload?:unknown | NullableJsonNullValueInput
|
|
12206
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12207
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
12208
|
+
}
|
|
12209
|
+
|
|
12210
|
+
export type InventoryOutboxUncheckedUpdateManyInput = {
|
|
12211
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12212
|
+
publishStatus?: StringFieldUpdateOperationsInput | string
|
|
12213
|
+
publishRetryCount?: IntFieldUpdateOperationsInput | number
|
|
12214
|
+
publishError?: NullableStringFieldUpdateOperationsInput | string | null
|
|
12215
|
+
publishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
12216
|
+
payload?:unknown | NullableJsonNullValueInput
|
|
9525
12217
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9526
12218
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9527
12219
|
}
|
|
@@ -9591,9 +12283,8 @@ export namespace Prisma {
|
|
|
9591
12283
|
id?: string
|
|
9592
12284
|
skuNo: string
|
|
9593
12285
|
price: bigint | number
|
|
9594
|
-
quantity: number
|
|
9595
12286
|
brand?: string | null
|
|
9596
|
-
media?:PrismaJson.
|
|
12287
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
9597
12288
|
inactive?: boolean | null
|
|
9598
12289
|
createdAt?: Date | string
|
|
9599
12290
|
updatedAt?: Date | string
|
|
@@ -9606,9 +12297,8 @@ export namespace Prisma {
|
|
|
9606
12297
|
skuNo: string
|
|
9607
12298
|
productId: string
|
|
9608
12299
|
price: bigint | number
|
|
9609
|
-
quantity: number
|
|
9610
12300
|
brand?: string | null
|
|
9611
|
-
media?:PrismaJson.
|
|
12301
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
9612
12302
|
inactive?: boolean | null
|
|
9613
12303
|
createdAt?: Date | string
|
|
9614
12304
|
updatedAt?: Date | string
|
|
@@ -9619,9 +12309,8 @@ export namespace Prisma {
|
|
|
9619
12309
|
id?: StringFieldUpdateOperationsInput | string
|
|
9620
12310
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
9621
12311
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
9622
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
9623
12312
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
9624
|
-
media?:PrismaJson.
|
|
12313
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
9625
12314
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
9626
12315
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9627
12316
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -9634,9 +12323,8 @@ export namespace Prisma {
|
|
|
9634
12323
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
9635
12324
|
productId?: StringFieldUpdateOperationsInput | string
|
|
9636
12325
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
9637
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
9638
12326
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
9639
|
-
media?:PrismaJson.
|
|
12327
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
9640
12328
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
9641
12329
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9642
12330
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -9648,9 +12336,8 @@ export namespace Prisma {
|
|
|
9648
12336
|
skuNo: string
|
|
9649
12337
|
productId: string
|
|
9650
12338
|
price: bigint | number
|
|
9651
|
-
quantity: number
|
|
9652
12339
|
brand?: string | null
|
|
9653
|
-
media?:PrismaJson.
|
|
12340
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
9654
12341
|
inactive?: boolean | null
|
|
9655
12342
|
createdAt?: Date | string
|
|
9656
12343
|
updatedAt?: Date | string
|
|
@@ -9660,9 +12347,8 @@ export namespace Prisma {
|
|
|
9660
12347
|
id?: StringFieldUpdateOperationsInput | string
|
|
9661
12348
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
9662
12349
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
9663
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
9664
12350
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
9665
|
-
media?:PrismaJson.
|
|
12351
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
9666
12352
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
9667
12353
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9668
12354
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -9673,9 +12359,8 @@ export namespace Prisma {
|
|
|
9673
12359
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
9674
12360
|
productId?: StringFieldUpdateOperationsInput | string
|
|
9675
12361
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
9676
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
9677
12362
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
9678
|
-
media?:PrismaJson.
|
|
12363
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
9679
12364
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
9680
12365
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
9681
12366
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -10027,74 +12712,231 @@ export namespace Prisma {
|
|
|
10027
12712
|
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10028
12713
|
}
|
|
10029
12714
|
|
|
10030
|
-
export type SkuListRelationFilter = {
|
|
10031
|
-
every?: SkuWhereInput
|
|
10032
|
-
some?: SkuWhereInput
|
|
10033
|
-
none?: SkuWhereInput
|
|
10034
|
-
}
|
|
10035
|
-
|
|
10036
|
-
export type SkuOrderByRelationAggregateInput = {
|
|
10037
|
-
_count?: SortOrder
|
|
10038
|
-
}
|
|
10039
|
-
|
|
10040
|
-
export type ProductCountOrderByAggregateInput = {
|
|
12715
|
+
export type SkuListRelationFilter = {
|
|
12716
|
+
every?: SkuWhereInput
|
|
12717
|
+
some?: SkuWhereInput
|
|
12718
|
+
none?: SkuWhereInput
|
|
12719
|
+
}
|
|
12720
|
+
|
|
12721
|
+
export type SkuOrderByRelationAggregateInput = {
|
|
12722
|
+
_count?: SortOrder
|
|
12723
|
+
}
|
|
12724
|
+
|
|
12725
|
+
export type ProductCountOrderByAggregateInput = {
|
|
12726
|
+
id?: SortOrder
|
|
12727
|
+
name?: SortOrder
|
|
12728
|
+
title?: SortOrder
|
|
12729
|
+
description?: SortOrder
|
|
12730
|
+
keywords?: SortOrder
|
|
12731
|
+
categoryId?: SortOrder
|
|
12732
|
+
viewedCount?: SortOrder
|
|
12733
|
+
status?: SortOrder
|
|
12734
|
+
media?: SortOrder
|
|
12735
|
+
createdAt?: SortOrder
|
|
12736
|
+
updatedAt?: SortOrder
|
|
12737
|
+
}
|
|
12738
|
+
|
|
12739
|
+
export type ProductAvgOrderByAggregateInput = {
|
|
12740
|
+
viewedCount?: SortOrder
|
|
12741
|
+
}
|
|
12742
|
+
|
|
12743
|
+
export type ProductMaxOrderByAggregateInput = {
|
|
12744
|
+
id?: SortOrder
|
|
12745
|
+
name?: SortOrder
|
|
12746
|
+
title?: SortOrder
|
|
12747
|
+
description?: SortOrder
|
|
12748
|
+
keywords?: SortOrder
|
|
12749
|
+
categoryId?: SortOrder
|
|
12750
|
+
viewedCount?: SortOrder
|
|
12751
|
+
status?: SortOrder
|
|
12752
|
+
createdAt?: SortOrder
|
|
12753
|
+
updatedAt?: SortOrder
|
|
12754
|
+
}
|
|
12755
|
+
|
|
12756
|
+
export type ProductMinOrderByAggregateInput = {
|
|
12757
|
+
id?: SortOrder
|
|
12758
|
+
name?: SortOrder
|
|
12759
|
+
title?: SortOrder
|
|
12760
|
+
description?: SortOrder
|
|
12761
|
+
keywords?: SortOrder
|
|
12762
|
+
categoryId?: SortOrder
|
|
12763
|
+
viewedCount?: SortOrder
|
|
12764
|
+
status?: SortOrder
|
|
12765
|
+
createdAt?: SortOrder
|
|
12766
|
+
updatedAt?: SortOrder
|
|
12767
|
+
}
|
|
12768
|
+
|
|
12769
|
+
export type ProductSumOrderByAggregateInput = {
|
|
12770
|
+
viewedCount?: SortOrder
|
|
12771
|
+
}
|
|
12772
|
+
export type JsonWithAggregatesFilter<$PrismaModel = never> =
|
|
12773
|
+
| PatchUndefined<
|
|
12774
|
+
Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
12775
|
+
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
|
|
12776
|
+
>
|
|
12777
|
+
| OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
12778
|
+
|
|
12779
|
+
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
12780
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
12781
|
+
path?: string[]
|
|
12782
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
12783
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
12784
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
12785
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
12786
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
12787
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
12788
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
12789
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12790
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12791
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12792
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12793
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
12794
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
12795
|
+
_min?: NestedJsonFilter<$PrismaModel>
|
|
12796
|
+
_max?: NestedJsonFilter<$PrismaModel>
|
|
12797
|
+
}
|
|
12798
|
+
|
|
12799
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
12800
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
12801
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
12802
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
12803
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
12804
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
12805
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
12806
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
12807
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
12808
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
12809
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
12810
|
+
mode?: QueryMode
|
|
12811
|
+
not?: NestedStringNullableFilter<$PrismaModel> | string | null
|
|
12812
|
+
}
|
|
12813
|
+
|
|
12814
|
+
export type DateTimeNullableFilter<$PrismaModel = never> = {
|
|
12815
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
|
|
12816
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
12817
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
12818
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12819
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12820
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12821
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12822
|
+
not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
12823
|
+
}
|
|
12824
|
+
export type JsonNullableFilter<$PrismaModel = never> =
|
|
12825
|
+
| PatchUndefined<
|
|
12826
|
+
Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
12827
|
+
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
12828
|
+
>
|
|
12829
|
+
| OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
12830
|
+
|
|
12831
|
+
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
12832
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
12833
|
+
path?: string[]
|
|
12834
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
12835
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
12836
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
12837
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
12838
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
12839
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
12840
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
12841
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12842
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12843
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12844
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
12845
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
12846
|
+
}
|
|
12847
|
+
|
|
12848
|
+
export type ProductSyncOutboxCountOrderByAggregateInput = {
|
|
10041
12849
|
id?: SortOrder
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
12850
|
+
publishStatus?: SortOrder
|
|
12851
|
+
publishRetryCount?: SortOrder
|
|
12852
|
+
publishError?: SortOrder
|
|
12853
|
+
publishedAt?: SortOrder
|
|
12854
|
+
esSyncStatus?: SortOrder
|
|
12855
|
+
esRetryCount?: SortOrder
|
|
12856
|
+
esSyncedAt?: SortOrder
|
|
12857
|
+
esSyncError?: SortOrder
|
|
12858
|
+
payload?: SortOrder
|
|
10051
12859
|
createdAt?: SortOrder
|
|
10052
12860
|
updatedAt?: SortOrder
|
|
10053
12861
|
}
|
|
10054
12862
|
|
|
10055
|
-
export type
|
|
10056
|
-
|
|
12863
|
+
export type ProductSyncOutboxAvgOrderByAggregateInput = {
|
|
12864
|
+
publishRetryCount?: SortOrder
|
|
12865
|
+
esRetryCount?: SortOrder
|
|
10057
12866
|
}
|
|
10058
12867
|
|
|
10059
|
-
export type
|
|
12868
|
+
export type ProductSyncOutboxMaxOrderByAggregateInput = {
|
|
10060
12869
|
id?: SortOrder
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
12870
|
+
publishStatus?: SortOrder
|
|
12871
|
+
publishRetryCount?: SortOrder
|
|
12872
|
+
publishError?: SortOrder
|
|
12873
|
+
publishedAt?: SortOrder
|
|
12874
|
+
esSyncStatus?: SortOrder
|
|
12875
|
+
esRetryCount?: SortOrder
|
|
12876
|
+
esSyncedAt?: SortOrder
|
|
12877
|
+
esSyncError?: SortOrder
|
|
10069
12878
|
createdAt?: SortOrder
|
|
10070
12879
|
updatedAt?: SortOrder
|
|
10071
12880
|
}
|
|
10072
12881
|
|
|
10073
|
-
export type
|
|
12882
|
+
export type ProductSyncOutboxMinOrderByAggregateInput = {
|
|
10074
12883
|
id?: SortOrder
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
12884
|
+
publishStatus?: SortOrder
|
|
12885
|
+
publishRetryCount?: SortOrder
|
|
12886
|
+
publishError?: SortOrder
|
|
12887
|
+
publishedAt?: SortOrder
|
|
12888
|
+
esSyncStatus?: SortOrder
|
|
12889
|
+
esRetryCount?: SortOrder
|
|
12890
|
+
esSyncedAt?: SortOrder
|
|
12891
|
+
esSyncError?: SortOrder
|
|
10083
12892
|
createdAt?: SortOrder
|
|
10084
12893
|
updatedAt?: SortOrder
|
|
10085
12894
|
}
|
|
10086
12895
|
|
|
10087
|
-
export type
|
|
10088
|
-
|
|
12896
|
+
export type ProductSyncOutboxSumOrderByAggregateInput = {
|
|
12897
|
+
publishRetryCount?: SortOrder
|
|
12898
|
+
esRetryCount?: SortOrder
|
|
10089
12899
|
}
|
|
10090
|
-
|
|
12900
|
+
|
|
12901
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
12902
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
12903
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
12904
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
12905
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
12906
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
12907
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
12908
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
12909
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
12910
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
12911
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
12912
|
+
mode?: QueryMode
|
|
12913
|
+
not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
12914
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
12915
|
+
_min?: NestedStringNullableFilter<$PrismaModel>
|
|
12916
|
+
_max?: NestedStringNullableFilter<$PrismaModel>
|
|
12917
|
+
}
|
|
12918
|
+
|
|
12919
|
+
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
12920
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
|
|
12921
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
12922
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
12923
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12924
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12925
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12926
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
12927
|
+
not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
12928
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
12929
|
+
_min?: NestedDateTimeNullableFilter<$PrismaModel>
|
|
12930
|
+
_max?: NestedDateTimeNullableFilter<$PrismaModel>
|
|
12931
|
+
}
|
|
12932
|
+
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
|
10091
12933
|
| PatchUndefined<
|
|
10092
|
-
Either<Required<
|
|
10093
|
-
Required<
|
|
12934
|
+
Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
12935
|
+
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
10094
12936
|
>
|
|
10095
|
-
| OptionalFlat<Omit<Required<
|
|
12937
|
+
| OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
10096
12938
|
|
|
10097
|
-
export type
|
|
12939
|
+
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
10098
12940
|
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10099
12941
|
path?: string[]
|
|
10100
12942
|
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
@@ -10109,9 +12951,48 @@ export namespace Prisma {
|
|
|
10109
12951
|
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10110
12952
|
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10111
12953
|
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10112
|
-
_count?:
|
|
10113
|
-
_min?:
|
|
10114
|
-
_max?:
|
|
12954
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
12955
|
+
_min?: NestedJsonNullableFilter<$PrismaModel>
|
|
12956
|
+
_max?: NestedJsonNullableFilter<$PrismaModel>
|
|
12957
|
+
}
|
|
12958
|
+
|
|
12959
|
+
export type InventoryOutboxCountOrderByAggregateInput = {
|
|
12960
|
+
id?: SortOrder
|
|
12961
|
+
publishStatus?: SortOrder
|
|
12962
|
+
publishRetryCount?: SortOrder
|
|
12963
|
+
publishError?: SortOrder
|
|
12964
|
+
publishedAt?: SortOrder
|
|
12965
|
+
payload?: SortOrder
|
|
12966
|
+
createdAt?: SortOrder
|
|
12967
|
+
updatedAt?: SortOrder
|
|
12968
|
+
}
|
|
12969
|
+
|
|
12970
|
+
export type InventoryOutboxAvgOrderByAggregateInput = {
|
|
12971
|
+
publishRetryCount?: SortOrder
|
|
12972
|
+
}
|
|
12973
|
+
|
|
12974
|
+
export type InventoryOutboxMaxOrderByAggregateInput = {
|
|
12975
|
+
id?: SortOrder
|
|
12976
|
+
publishStatus?: SortOrder
|
|
12977
|
+
publishRetryCount?: SortOrder
|
|
12978
|
+
publishError?: SortOrder
|
|
12979
|
+
publishedAt?: SortOrder
|
|
12980
|
+
createdAt?: SortOrder
|
|
12981
|
+
updatedAt?: SortOrder
|
|
12982
|
+
}
|
|
12983
|
+
|
|
12984
|
+
export type InventoryOutboxMinOrderByAggregateInput = {
|
|
12985
|
+
id?: SortOrder
|
|
12986
|
+
publishStatus?: SortOrder
|
|
12987
|
+
publishRetryCount?: SortOrder
|
|
12988
|
+
publishError?: SortOrder
|
|
12989
|
+
publishedAt?: SortOrder
|
|
12990
|
+
createdAt?: SortOrder
|
|
12991
|
+
updatedAt?: SortOrder
|
|
12992
|
+
}
|
|
12993
|
+
|
|
12994
|
+
export type InventoryOutboxSumOrderByAggregateInput = {
|
|
12995
|
+
publishRetryCount?: SortOrder
|
|
10115
12996
|
}
|
|
10116
12997
|
|
|
10117
12998
|
export type AttributeNullableScalarRelationFilter = {
|
|
@@ -10167,44 +13048,6 @@ export namespace Prisma {
|
|
|
10167
13048
|
not?: NestedBigIntFilter<$PrismaModel> | bigint | number
|
|
10168
13049
|
}
|
|
10169
13050
|
|
|
10170
|
-
export type StringNullableFilter<$PrismaModel = never> = {
|
|
10171
|
-
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
10172
|
-
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
10173
|
-
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
10174
|
-
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
10175
|
-
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
10176
|
-
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
10177
|
-
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
10178
|
-
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
10179
|
-
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
10180
|
-
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
10181
|
-
mode?: QueryMode
|
|
10182
|
-
not?: NestedStringNullableFilter<$PrismaModel> | string | null
|
|
10183
|
-
}
|
|
10184
|
-
export type JsonNullableFilter<$PrismaModel = never> =
|
|
10185
|
-
| PatchUndefined<
|
|
10186
|
-
Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
10187
|
-
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
10188
|
-
>
|
|
10189
|
-
| OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
10190
|
-
|
|
10191
|
-
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
10192
|
-
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10193
|
-
path?: string[]
|
|
10194
|
-
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
10195
|
-
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
10196
|
-
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
10197
|
-
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
10198
|
-
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
10199
|
-
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
10200
|
-
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
10201
|
-
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10202
|
-
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10203
|
-
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10204
|
-
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10205
|
-
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10206
|
-
}
|
|
10207
|
-
|
|
10208
13051
|
export type BoolNullableFilter<$PrismaModel = never> = {
|
|
10209
13052
|
equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
|
|
10210
13053
|
not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
|
@@ -10220,7 +13063,6 @@ export namespace Prisma {
|
|
|
10220
13063
|
skuNo?: SortOrder
|
|
10221
13064
|
productId?: SortOrder
|
|
10222
13065
|
price?: SortOrder
|
|
10223
|
-
quantity?: SortOrder
|
|
10224
13066
|
brand?: SortOrder
|
|
10225
13067
|
media?: SortOrder
|
|
10226
13068
|
inactive?: SortOrder
|
|
@@ -10230,7 +13072,6 @@ export namespace Prisma {
|
|
|
10230
13072
|
|
|
10231
13073
|
export type SkuAvgOrderByAggregateInput = {
|
|
10232
13074
|
price?: SortOrder
|
|
10233
|
-
quantity?: SortOrder
|
|
10234
13075
|
}
|
|
10235
13076
|
|
|
10236
13077
|
export type SkuMaxOrderByAggregateInput = {
|
|
@@ -10238,7 +13079,6 @@ export namespace Prisma {
|
|
|
10238
13079
|
skuNo?: SortOrder
|
|
10239
13080
|
productId?: SortOrder
|
|
10240
13081
|
price?: SortOrder
|
|
10241
|
-
quantity?: SortOrder
|
|
10242
13082
|
brand?: SortOrder
|
|
10243
13083
|
inactive?: SortOrder
|
|
10244
13084
|
createdAt?: SortOrder
|
|
@@ -10250,7 +13090,6 @@ export namespace Prisma {
|
|
|
10250
13090
|
skuNo?: SortOrder
|
|
10251
13091
|
productId?: SortOrder
|
|
10252
13092
|
price?: SortOrder
|
|
10253
|
-
quantity?: SortOrder
|
|
10254
13093
|
brand?: SortOrder
|
|
10255
13094
|
inactive?: SortOrder
|
|
10256
13095
|
createdAt?: SortOrder
|
|
@@ -10259,7 +13098,6 @@ export namespace Prisma {
|
|
|
10259
13098
|
|
|
10260
13099
|
export type SkuSumOrderByAggregateInput = {
|
|
10261
13100
|
price?: SortOrder
|
|
10262
|
-
quantity?: SortOrder
|
|
10263
13101
|
}
|
|
10264
13102
|
|
|
10265
13103
|
export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
@@ -10278,50 +13116,6 @@ export namespace Prisma {
|
|
|
10278
13116
|
_max?: NestedBigIntFilter<$PrismaModel>
|
|
10279
13117
|
}
|
|
10280
13118
|
|
|
10281
|
-
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
10282
|
-
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
10283
|
-
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
10284
|
-
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
10285
|
-
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
10286
|
-
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
10287
|
-
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
10288
|
-
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
10289
|
-
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
10290
|
-
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
10291
|
-
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
10292
|
-
mode?: QueryMode
|
|
10293
|
-
not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
10294
|
-
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
10295
|
-
_min?: NestedStringNullableFilter<$PrismaModel>
|
|
10296
|
-
_max?: NestedStringNullableFilter<$PrismaModel>
|
|
10297
|
-
}
|
|
10298
|
-
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
|
10299
|
-
| PatchUndefined<
|
|
10300
|
-
Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
10301
|
-
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
10302
|
-
>
|
|
10303
|
-
| OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
10304
|
-
|
|
10305
|
-
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
10306
|
-
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10307
|
-
path?: string[]
|
|
10308
|
-
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
10309
|
-
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
10310
|
-
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
10311
|
-
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
10312
|
-
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
10313
|
-
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
10314
|
-
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
10315
|
-
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10316
|
-
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10317
|
-
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10318
|
-
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
10319
|
-
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10320
|
-
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
10321
|
-
_min?: NestedJsonNullableFilter<$PrismaModel>
|
|
10322
|
-
_max?: NestedJsonNullableFilter<$PrismaModel>
|
|
10323
|
-
}
|
|
10324
|
-
|
|
10325
13119
|
export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
10326
13120
|
equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
|
|
10327
13121
|
not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
|
|
@@ -10606,6 +13400,10 @@ export namespace Prisma {
|
|
|
10606
13400
|
deleteMany?: SkuScalarWhereInput | SkuScalarWhereInput[]
|
|
10607
13401
|
}
|
|
10608
13402
|
|
|
13403
|
+
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
13404
|
+
set?: Date | string | null
|
|
13405
|
+
}
|
|
13406
|
+
|
|
10609
13407
|
export type AttributeCreateNestedOneWithoutSkuAttributesValuesInput = {
|
|
10610
13408
|
create?: XOR<AttributeCreateWithoutSkuAttributesValuesInput, AttributeUncheckedCreateWithoutSkuAttributesValuesInput>
|
|
10611
13409
|
connectOrCreate?: AttributeCreateOrConnectWithoutSkuAttributesValuesInput
|
|
@@ -10940,36 +13738,15 @@ export namespace Prisma {
|
|
|
10940
13738
|
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
10941
13739
|
}
|
|
10942
13740
|
|
|
10943
|
-
export type
|
|
10944
|
-
equals?:
|
|
10945
|
-
in?:
|
|
10946
|
-
notIn?:
|
|
10947
|
-
lt?:
|
|
10948
|
-
lte?:
|
|
10949
|
-
gt?:
|
|
10950
|
-
gte?:
|
|
10951
|
-
not?:
|
|
10952
|
-
}
|
|
10953
|
-
|
|
10954
|
-
export type NestedBoolNullableFilter<$PrismaModel = never> = {
|
|
10955
|
-
equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
|
|
10956
|
-
not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
|
10957
|
-
}
|
|
10958
|
-
|
|
10959
|
-
export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
10960
|
-
equals?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
10961
|
-
in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
|
|
10962
|
-
notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
|
|
10963
|
-
lt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
10964
|
-
lte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
10965
|
-
gt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
10966
|
-
gte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
10967
|
-
not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number
|
|
10968
|
-
_count?: NestedIntFilter<$PrismaModel>
|
|
10969
|
-
_avg?: NestedFloatFilter<$PrismaModel>
|
|
10970
|
-
_sum?: NestedBigIntFilter<$PrismaModel>
|
|
10971
|
-
_min?: NestedBigIntFilter<$PrismaModel>
|
|
10972
|
-
_max?: NestedBigIntFilter<$PrismaModel>
|
|
13741
|
+
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
|
13742
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
|
|
13743
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
13744
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
13745
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13746
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13747
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13748
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13749
|
+
not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
10973
13750
|
}
|
|
10974
13751
|
|
|
10975
13752
|
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
@@ -10988,6 +13765,20 @@ export namespace Prisma {
|
|
|
10988
13765
|
_min?: NestedStringNullableFilter<$PrismaModel>
|
|
10989
13766
|
_max?: NestedStringNullableFilter<$PrismaModel>
|
|
10990
13767
|
}
|
|
13768
|
+
|
|
13769
|
+
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
13770
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null
|
|
13771
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
13772
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
13773
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13774
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13775
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13776
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
13777
|
+
not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
13778
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
13779
|
+
_min?: NestedDateTimeNullableFilter<$PrismaModel>
|
|
13780
|
+
_max?: NestedDateTimeNullableFilter<$PrismaModel>
|
|
13781
|
+
}
|
|
10991
13782
|
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
|
10992
13783
|
| PatchUndefined<
|
|
10993
13784
|
Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
@@ -11012,6 +13803,38 @@ export namespace Prisma {
|
|
|
11012
13803
|
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
11013
13804
|
}
|
|
11014
13805
|
|
|
13806
|
+
export type NestedBigIntFilter<$PrismaModel = never> = {
|
|
13807
|
+
equals?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13808
|
+
in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
|
|
13809
|
+
notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
|
|
13810
|
+
lt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13811
|
+
lte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13812
|
+
gt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13813
|
+
gte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13814
|
+
not?: NestedBigIntFilter<$PrismaModel> | bigint | number
|
|
13815
|
+
}
|
|
13816
|
+
|
|
13817
|
+
export type NestedBoolNullableFilter<$PrismaModel = never> = {
|
|
13818
|
+
equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
|
|
13819
|
+
not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
|
13820
|
+
}
|
|
13821
|
+
|
|
13822
|
+
export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
13823
|
+
equals?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13824
|
+
in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
|
|
13825
|
+
notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel>
|
|
13826
|
+
lt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13827
|
+
lte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13828
|
+
gt?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13829
|
+
gte?: bigint | number | BigIntFieldRefInput<$PrismaModel>
|
|
13830
|
+
not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number
|
|
13831
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
13832
|
+
_avg?: NestedFloatFilter<$PrismaModel>
|
|
13833
|
+
_sum?: NestedBigIntFilter<$PrismaModel>
|
|
13834
|
+
_min?: NestedBigIntFilter<$PrismaModel>
|
|
13835
|
+
_max?: NestedBigIntFilter<$PrismaModel>
|
|
13836
|
+
}
|
|
13837
|
+
|
|
11015
13838
|
export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
11016
13839
|
equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null
|
|
11017
13840
|
not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
|
|
@@ -11166,10 +13989,9 @@ export namespace Prisma {
|
|
|
11166
13989
|
title: string
|
|
11167
13990
|
description: string
|
|
11168
13991
|
keywords: string
|
|
11169
|
-
storeId: string
|
|
11170
13992
|
viewedCount?: number
|
|
11171
13993
|
status: string
|
|
11172
|
-
media:PrismaJson.
|
|
13994
|
+
media:PrismaJson.PrismaMediaEntity
|
|
11173
13995
|
createdAt?: Date | string
|
|
11174
13996
|
updatedAt?: Date | string
|
|
11175
13997
|
skus?: SkuCreateNestedManyWithoutProductInput
|
|
@@ -11181,10 +14003,9 @@ export namespace Prisma {
|
|
|
11181
14003
|
title: string
|
|
11182
14004
|
description: string
|
|
11183
14005
|
keywords: string
|
|
11184
|
-
storeId: string
|
|
11185
14006
|
viewedCount?: number
|
|
11186
14007
|
status: string
|
|
11187
|
-
media:PrismaJson.
|
|
14008
|
+
media:PrismaJson.PrismaMediaEntity
|
|
11188
14009
|
createdAt?: Date | string
|
|
11189
14010
|
updatedAt?: Date | string
|
|
11190
14011
|
skus?: SkuUncheckedCreateNestedManyWithoutProductInput
|
|
@@ -11318,7 +14139,6 @@ export namespace Prisma {
|
|
|
11318
14139
|
description?: StringFilter<"Product"> | string
|
|
11319
14140
|
keywords?: StringFilter<"Product"> | string
|
|
11320
14141
|
categoryId?: UuidFilter<"Product"> | string
|
|
11321
|
-
storeId?: UuidFilter<"Product"> | string
|
|
11322
14142
|
viewedCount?: IntFilter<"Product"> | number
|
|
11323
14143
|
status?: StringFilter<"Product"> | string
|
|
11324
14144
|
media?: JsonFilter<"Product">
|
|
@@ -11429,9 +14249,8 @@ export namespace Prisma {
|
|
|
11429
14249
|
id?: string
|
|
11430
14250
|
skuNo: string
|
|
11431
14251
|
price: bigint | number
|
|
11432
|
-
quantity: number
|
|
11433
14252
|
brand?: string | null
|
|
11434
|
-
media?:PrismaJson.
|
|
14253
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11435
14254
|
inactive?: boolean | null
|
|
11436
14255
|
createdAt?: Date | string
|
|
11437
14256
|
updatedAt?: Date | string
|
|
@@ -11442,9 +14261,8 @@ export namespace Prisma {
|
|
|
11442
14261
|
id?: string
|
|
11443
14262
|
skuNo: string
|
|
11444
14263
|
price: bigint | number
|
|
11445
|
-
quantity: number
|
|
11446
14264
|
brand?: string | null
|
|
11447
|
-
media?:PrismaJson.
|
|
14265
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11448
14266
|
inactive?: boolean | null
|
|
11449
14267
|
createdAt?: Date | string
|
|
11450
14268
|
updatedAt?: Date | string
|
|
@@ -11522,7 +14340,6 @@ export namespace Prisma {
|
|
|
11522
14340
|
skuNo?: StringFilter<"Sku"> | string
|
|
11523
14341
|
productId?: UuidFilter<"Sku"> | string
|
|
11524
14342
|
price?: BigIntFilter<"Sku"> | bigint | number
|
|
11525
|
-
quantity?: IntFilter<"Sku"> | number
|
|
11526
14343
|
brand?: StringNullableFilter<"Sku"> | string | null
|
|
11527
14344
|
media?: JsonNullableFilter<"Sku">
|
|
11528
14345
|
inactive?: BoolNullableFilter<"Sku"> | boolean | null
|
|
@@ -11553,9 +14370,8 @@ export namespace Prisma {
|
|
|
11553
14370
|
id?: string
|
|
11554
14371
|
skuNo: string
|
|
11555
14372
|
price: bigint | number
|
|
11556
|
-
quantity: number
|
|
11557
14373
|
brand?: string | null
|
|
11558
|
-
media?:PrismaJson.
|
|
14374
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11559
14375
|
inactive?: boolean | null
|
|
11560
14376
|
createdAt?: Date | string
|
|
11561
14377
|
updatedAt?: Date | string
|
|
@@ -11567,9 +14383,8 @@ export namespace Prisma {
|
|
|
11567
14383
|
skuNo: string
|
|
11568
14384
|
productId: string
|
|
11569
14385
|
price: bigint | number
|
|
11570
|
-
quantity: number
|
|
11571
14386
|
brand?: string | null
|
|
11572
|
-
media?:PrismaJson.
|
|
14387
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11573
14388
|
inactive?: boolean | null
|
|
11574
14389
|
createdAt?: Date | string
|
|
11575
14390
|
updatedAt?: Date | string
|
|
@@ -11620,9 +14435,8 @@ export namespace Prisma {
|
|
|
11620
14435
|
id?: StringFieldUpdateOperationsInput | string
|
|
11621
14436
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
11622
14437
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
11623
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
11624
14438
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
11625
|
-
media?:PrismaJson.
|
|
14439
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11626
14440
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
11627
14441
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11628
14442
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -11634,9 +14448,8 @@ export namespace Prisma {
|
|
|
11634
14448
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
11635
14449
|
productId?: StringFieldUpdateOperationsInput | string
|
|
11636
14450
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
11637
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
11638
14451
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
11639
|
-
media?:PrismaJson.
|
|
14452
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11640
14453
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
11641
14454
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11642
14455
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -11674,10 +14487,9 @@ export namespace Prisma {
|
|
|
11674
14487
|
title: string
|
|
11675
14488
|
description: string
|
|
11676
14489
|
keywords: string
|
|
11677
|
-
storeId: string
|
|
11678
14490
|
viewedCount?: number
|
|
11679
14491
|
status: string
|
|
11680
|
-
media:PrismaJson.
|
|
14492
|
+
media:PrismaJson.PrismaMediaEntity
|
|
11681
14493
|
createdAt?: Date | string
|
|
11682
14494
|
updatedAt?: Date | string
|
|
11683
14495
|
category: CategoryCreateNestedOneWithoutProductsInput
|
|
@@ -11690,10 +14502,9 @@ export namespace Prisma {
|
|
|
11690
14502
|
description: string
|
|
11691
14503
|
keywords: string
|
|
11692
14504
|
categoryId: string
|
|
11693
|
-
storeId: string
|
|
11694
14505
|
viewedCount?: number
|
|
11695
14506
|
status: string
|
|
11696
|
-
media:PrismaJson.
|
|
14507
|
+
media:PrismaJson.PrismaMediaEntity
|
|
11697
14508
|
createdAt?: Date | string
|
|
11698
14509
|
updatedAt?: Date | string
|
|
11699
14510
|
}
|
|
@@ -11736,10 +14547,9 @@ export namespace Prisma {
|
|
|
11736
14547
|
title?: StringFieldUpdateOperationsInput | string
|
|
11737
14548
|
description?: StringFieldUpdateOperationsInput | string
|
|
11738
14549
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
11739
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
11740
14550
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
11741
14551
|
status?: StringFieldUpdateOperationsInput | string
|
|
11742
|
-
media?:PrismaJson.
|
|
14552
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
11743
14553
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11744
14554
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11745
14555
|
category?: CategoryUpdateOneRequiredWithoutProductsNestedInput
|
|
@@ -11752,10 +14562,9 @@ export namespace Prisma {
|
|
|
11752
14562
|
description?: StringFieldUpdateOperationsInput | string
|
|
11753
14563
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
11754
14564
|
categoryId?: StringFieldUpdateOperationsInput | string
|
|
11755
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
11756
14565
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
11757
14566
|
status?: StringFieldUpdateOperationsInput | string
|
|
11758
|
-
media?:PrismaJson.
|
|
14567
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
11759
14568
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11760
14569
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11761
14570
|
}
|
|
@@ -11808,10 +14617,9 @@ export namespace Prisma {
|
|
|
11808
14617
|
title: string
|
|
11809
14618
|
description: string
|
|
11810
14619
|
keywords: string
|
|
11811
|
-
storeId: string
|
|
11812
14620
|
viewedCount?: number
|
|
11813
14621
|
status: string
|
|
11814
|
-
media:PrismaJson.
|
|
14622
|
+
media:PrismaJson.PrismaMediaEntity
|
|
11815
14623
|
createdAt?: Date | string
|
|
11816
14624
|
updatedAt?: Date | string
|
|
11817
14625
|
}
|
|
@@ -11858,10 +14666,9 @@ export namespace Prisma {
|
|
|
11858
14666
|
title?: StringFieldUpdateOperationsInput | string
|
|
11859
14667
|
description?: StringFieldUpdateOperationsInput | string
|
|
11860
14668
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
11861
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
11862
14669
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
11863
14670
|
status?: StringFieldUpdateOperationsInput | string
|
|
11864
|
-
media?:PrismaJson.
|
|
14671
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
11865
14672
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11866
14673
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11867
14674
|
skus?: SkuUpdateManyWithoutProductNestedInput
|
|
@@ -11873,10 +14680,9 @@ export namespace Prisma {
|
|
|
11873
14680
|
title?: StringFieldUpdateOperationsInput | string
|
|
11874
14681
|
description?: StringFieldUpdateOperationsInput | string
|
|
11875
14682
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
11876
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
11877
14683
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
11878
14684
|
status?: StringFieldUpdateOperationsInput | string
|
|
11879
|
-
media?:PrismaJson.
|
|
14685
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
11880
14686
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11881
14687
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11882
14688
|
skus?: SkuUncheckedUpdateManyWithoutProductNestedInput
|
|
@@ -11888,10 +14694,9 @@ export namespace Prisma {
|
|
|
11888
14694
|
title?: StringFieldUpdateOperationsInput | string
|
|
11889
14695
|
description?: StringFieldUpdateOperationsInput | string
|
|
11890
14696
|
keywords?: StringFieldUpdateOperationsInput | string
|
|
11891
|
-
storeId?: StringFieldUpdateOperationsInput | string
|
|
11892
14697
|
viewedCount?: IntFieldUpdateOperationsInput | number
|
|
11893
14698
|
status?: StringFieldUpdateOperationsInput | string
|
|
11894
|
-
media?:PrismaJson.
|
|
14699
|
+
media?:PrismaJson.PrismaMediaEntity
|
|
11895
14700
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11896
14701
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11897
14702
|
}
|
|
@@ -11900,9 +14705,8 @@ export namespace Prisma {
|
|
|
11900
14705
|
id?: string
|
|
11901
14706
|
skuNo: string
|
|
11902
14707
|
price: bigint | number
|
|
11903
|
-
quantity: number
|
|
11904
14708
|
brand?: string | null
|
|
11905
|
-
media?:PrismaJson.
|
|
14709
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11906
14710
|
inactive?: boolean | null
|
|
11907
14711
|
createdAt?: Date | string
|
|
11908
14712
|
updatedAt?: Date | string
|
|
@@ -11912,9 +14716,8 @@ export namespace Prisma {
|
|
|
11912
14716
|
id?: StringFieldUpdateOperationsInput | string
|
|
11913
14717
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
11914
14718
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
11915
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
11916
14719
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
11917
|
-
media?:PrismaJson.
|
|
14720
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11918
14721
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
11919
14722
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11920
14723
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -11925,9 +14728,8 @@ export namespace Prisma {
|
|
|
11925
14728
|
id?: StringFieldUpdateOperationsInput | string
|
|
11926
14729
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
11927
14730
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
11928
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
11929
14731
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
11930
|
-
media?:PrismaJson.
|
|
14732
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11931
14733
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
11932
14734
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11933
14735
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -11938,9 +14740,8 @@ export namespace Prisma {
|
|
|
11938
14740
|
id?: StringFieldUpdateOperationsInput | string
|
|
11939
14741
|
skuNo?: StringFieldUpdateOperationsInput | string
|
|
11940
14742
|
price?: BigIntFieldUpdateOperationsInput | bigint | number
|
|
11941
|
-
quantity?: IntFieldUpdateOperationsInput | number
|
|
11942
14743
|
brand?: NullableStringFieldUpdateOperationsInput | string | null
|
|
11943
|
-
media?:PrismaJson.
|
|
14744
|
+
media?:PrismaJson.PrismaMediaEntity | NullableJsonNullValueInput
|
|
11944
14745
|
inactive?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
11945
14746
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
11946
14747
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|