@shophost/rest-api 2.0.35 → 2.0.37
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/LICENSE +17 -13
- package/README.md +76 -66
- package/package.json +2 -2
- package/src/app.js +1 -1
- package/src/app.js.map +1 -1
- package/src/core/db/__generated__/client/internal/class.js +1 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +2 -2
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -1
- package/src/core/db/__generated__/client/models/Account.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Address.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -5
- package/src/core/db/__generated__/client/models/File.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -5
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Member.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -5
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Order.d.ts +0 -5
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -5
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Organization.d.ts +0 -5
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Payment.d.ts +0 -5
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Product.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Session.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -5
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -5
- package/src/core/db/__generated__/client/models/User.d.ts +0 -5
- package/src/core/db/__generated__/client/models/Verification.d.ts +0 -5
- package/src/core/email/components.d.ts +16 -0
- package/src/core/email/components.js +1 -0
- package/src/core/email/components.js.map +1 -0
- package/src/core/hono/hono.d.ts +53 -11
- package/src/core/hono/hono.js +1 -1
- package/src/core/hono/hono.js.map +1 -1
- package/src/core/lib/prisma.d.ts +8 -8
- package/src/features/access/access.handler.js.map +1 -1
- package/src/features/access/access.route.d.ts +774 -10
- package/src/features/analytics/analytics.handler.d.ts +2 -0
- package/src/features/analytics/analytics.handler.js +1 -0
- package/src/features/analytics/analytics.handler.js.map +1 -0
- package/src/features/analytics/analytics.route.d.ts +148 -0
- package/src/features/analytics/analytics.route.js +1 -0
- package/src/features/analytics/analytics.route.js.map +1 -0
- package/src/features/analytics/analytics.schema.d.ts +86 -0
- package/src/features/analytics/analytics.schema.js +1 -0
- package/src/features/analytics/analytics.schema.js.map +1 -0
- package/src/features/analytics/analytics.service.d.ts +45 -0
- package/src/features/analytics/analytics.service.js +1 -0
- package/src/features/analytics/analytics.service.js.map +1 -0
- package/src/features/cart/cart.handler.js.map +1 -1
- package/src/features/cart/cart.route.d.ts +349 -1
- package/src/features/cart/cart.schema.d.ts +1 -1
- package/src/features/cart/cart.service.d.ts +1 -1
- package/src/features/file/file.handler.js.map +1 -1
- package/src/features/file/file.route.d.ts +104 -2
- package/src/features/file/file.service.d.ts +2 -1
- package/src/features/file/file.service.js.map +1 -1
- package/src/features/health/health.handler.js.map +1 -1
- package/src/features/health/health.route.d.ts +40 -1
- package/src/features/index.d.ts +1 -0
- package/src/features/index.js +1 -1
- package/src/features/index.js.map +1 -1
- package/src/features/location/location.handler.js +1 -1
- package/src/features/location/location.handler.js.map +1 -1
- package/src/features/location/location.route.d.ts +118 -2
- package/src/features/manufacturer/manufacturer.handler.js.map +1 -1
- package/src/features/manufacturer/manufacturer.route.d.ts +675 -5
- package/src/features/order/emails/order-confirmation.email.js +1 -1
- package/src/features/order/emails/order-confirmation.email.js.map +1 -1
- package/src/features/order/emails/order-notification.email.js +1 -1
- package/src/features/order/emails/order-notification.email.js.map +1 -1
- package/src/features/order/order.handler.js +1 -1
- package/src/features/order/order.handler.js.map +1 -1
- package/src/features/order/order.route.d.ts +3193 -5
- package/src/features/order/order.route.js +1 -1
- package/src/features/order/order.route.js.map +1 -1
- package/src/features/order/order.schema.d.ts +4 -4
- package/src/features/order/order.service.d.ts +119 -4
- package/src/features/order/order.service.js +1 -1
- package/src/features/order/order.service.js.map +1 -1
- package/src/features/organization/organization.handler.js.map +1 -1
- package/src/features/organization/organization.route.d.ts +1973 -5
- package/src/features/payment/payment.handler.js.map +1 -1
- package/src/features/payment/payment.route.d.ts +67 -1
- package/src/features/payment/payment.schema.d.ts +3 -3
- package/src/features/payment/payment.service.d.ts +1 -1
- package/src/features/product/product.handler.js.map +1 -1
- package/src/features/product/product.route.d.ts +4267 -7
- package/src/features/product/product.schema.d.ts +3 -3
- package/src/features/product/product.service.d.ts +2 -2
- package/src/features/product-category/product-category.handler.js.map +1 -1
- package/src/features/product-category/product-category.route.d.ts +774 -6
- package/src/features/reservation/emails/reservation-cancellation.email.js +1 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js +1 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -1
- package/src/features/reservation/emails/reservation-notification.email.js +1 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +1 -1
- package/src/features/reservation/reservation.handler.js +1 -1
- package/src/features/reservation/reservation.handler.js.map +1 -1
- package/src/features/reservation/reservation.route.d.ts +854 -6
- package/src/features/reservation/reservation.route.js +1 -1
- package/src/features/reservation/reservation.route.js.map +1 -1
- package/src/features/reservation/reservation.schema.d.ts +1 -1
- package/src/features/reservation/reservation.service.d.ts +27 -0
- package/src/features/reservation/reservation.service.js +1 -1
- package/src/features/reservation/reservation.service.js.map +1 -1
- package/src/features/shipping/shipping.handler.js.map +1 -1
- package/src/features/shipping/shipping.route.d.ts +214 -3
- package/src/features/shipping-method/shipping-method.handler.js.map +1 -1
- package/src/features/shipping-method/shipping-method.route.d.ts +663 -6
- package/src/features/webhook/webhook.handler.d.ts +0 -1
- package/src/features/webhook/webhook.handler.js +1 -1
- package/src/features/webhook/webhook.handler.js.map +1 -1
- package/src/features/webhook/webhook.route.d.ts +64 -1
- package/src/schemas/index.d.ts +1 -0
- package/src/schemas/index.js +1 -1
- package/src/schemas/index.js.map +1 -1
- package/src/test/global-setup.d.ts +0 -1
- package/src/test/global-setup.js +0 -1
- package/src/test/global-setup.js.map +0 -1
- package/src/test/integration/api-fixtures.d.ts +0 -147
- package/src/test/integration/api-fixtures.js +0 -1
- package/src/test/integration/api-fixtures.js.map +0 -1
- package/src/test/integration/seed.d.ts +0 -81
- package/src/test/integration/seed.js +0 -1
- package/src/test/integration/seed.js.map +0 -1
- package/src/test/integration/test-helpers.d.ts +0 -144
- package/src/test/integration/test-helpers.js +0 -1
- package/src/test/integration/test-helpers.js.map +0 -1
- package/src/test/setup-test-env.d.ts +0 -1
- package/src/test/setup-test-env.js +0 -1
- package/src/test/setup-test-env.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2026 Abhishek Shaji
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
6
11
|
|
|
7
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
8
14
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,114 +1,124 @@
|
|
|
1
1
|
# @shophost/rest-api
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`@shophost/rest-api` is the backend package for ShopHost. It provides:
|
|
4
|
+
|
|
5
|
+
- the core API app builder
|
|
6
|
+
- a Next.js route handler integration
|
|
7
|
+
- exported Zod/OpenAPI schemas
|
|
8
|
+
- a packaged Prisma schema and CLI for database sync
|
|
4
9
|
|
|
5
10
|
## Installation
|
|
6
11
|
|
|
7
12
|
```bash
|
|
8
|
-
|
|
9
|
-
# or
|
|
10
|
-
pnpm add @shophost/rest-api
|
|
11
|
-
# or
|
|
12
|
-
yarn add @shophost/rest-api
|
|
13
|
+
pnpm add @shophost/rest-api prisma @prisma/client @prisma/client-runtime-utils
|
|
13
14
|
```
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## Exports
|
|
16
|
+
Peer dependencies:
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
- `next >= 14`
|
|
19
|
+
- `react >= 18`
|
|
20
|
+
- `react-dom >= 18`
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
## Entry Points
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
- `@shophost/rest-api`
|
|
25
|
+
Exposes `buildApiApp`, `generateOpenApiSpec`, and schema exports.
|
|
26
|
+
- `@shophost/rest-api/next`
|
|
27
|
+
Exposes `createNextHandler` for Next.js App Router route handlers.
|
|
28
|
+
- `@shophost/rest-api/db`
|
|
29
|
+
Exposes packaged Prisma client helpers.
|
|
30
|
+
- `@shophost/rest-api/schemas`
|
|
31
|
+
Exposes reusable request/response schemas.
|
|
26
32
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
```typescript
|
|
30
|
-
import { initClient } from "@shophost/client";
|
|
31
|
-
```
|
|
33
|
+
## Next.js Usage
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
Create an App Router API route:
|
|
34
36
|
|
|
35
|
-
```
|
|
37
|
+
```ts
|
|
36
38
|
import { createNextHandler } from "@shophost/rest-api/next";
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### 4. Schemas (`@shophost/rest-api/schemas`)
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
const handler = createNextHandler({
|
|
41
|
+
database: {
|
|
42
|
+
connectionString: process.env.DATABASE_URL!,
|
|
43
|
+
log: ["info", "warn", "error"],
|
|
44
|
+
},
|
|
45
|
+
maps: {
|
|
46
|
+
google: {
|
|
47
|
+
key: process.env.GOOGLE_PLACES_API_KEY!,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
auth: {
|
|
51
|
+
baseURL: process.env.NEXT_PUBLIC_API_BASE_URL!,
|
|
52
|
+
domain: new URL(process.env.NEXT_PUBLIC_API_BASE_URL!).hostname.split(".").slice(-2).join("."),
|
|
53
|
+
trustedOrigins: [process.env.NEXT_PUBLIC_APP_DOMAIN!],
|
|
54
|
+
socialProviders: {
|
|
55
|
+
google: {
|
|
56
|
+
clientId: process.env.AUTH_GOOGLE_ID!,
|
|
57
|
+
clientSecret: process.env.AUTH_GOOGLE_SECRET!,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
payment: {
|
|
62
|
+
stripe: {
|
|
63
|
+
secretKey: process.env.STRIPE_SECRET_KEY!,
|
|
64
|
+
webhookSecret: process.env.STRIPE_WEBHOOK_SECRET!,
|
|
65
|
+
resendApiKey: process.env.RESEND_API_KEY!,
|
|
66
|
+
paymentMethods: ["card", "blik"],
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export { handler as GET, handler as POST, handler as PUT, handler as PATCH, handler as DELETE, handler as OPTIONS };
|
|
43
72
|
```
|
|
44
73
|
|
|
45
74
|
## Database Schema Sync
|
|
46
75
|
|
|
47
|
-
The published package
|
|
76
|
+
The published package ships the Prisma schema and a CLI so a consuming app can
|
|
77
|
+
push the schema without copying Prisma files into the host project.
|
|
48
78
|
|
|
49
|
-
1.
|
|
50
|
-
|
|
51
|
-
- `.env`
|
|
52
|
-
- the shell environment
|
|
53
|
-
2. Use one of these variables:
|
|
54
|
-
- `DATABASE_URL`
|
|
55
|
-
- `DATABASE_URL`
|
|
56
|
-
3. Run:
|
|
79
|
+
1. Set `DATABASE_URL` in `.env.local`, `.env`, or your shell.
|
|
80
|
+
2. Run:
|
|
57
81
|
|
|
58
82
|
```bash
|
|
59
83
|
pnpm exec shophost-rest-api db push
|
|
60
|
-
# or
|
|
61
|
-
npx shophost-rest-api db push
|
|
62
84
|
```
|
|
63
85
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
```env
|
|
67
|
-
# .env.local
|
|
68
|
-
DATABASE_URL=postgresql://user:password@host:5432/dbname?sslmode=require
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
You can pass regular Prisma `db push` flags through as well:
|
|
86
|
+
You can also pass standard Prisma flags through:
|
|
72
87
|
|
|
73
88
|
```bash
|
|
74
89
|
pnpm exec shophost-rest-api db push --accept-data-loss
|
|
75
90
|
pnpm exec shophost-rest-api db push --url "postgresql://user:password@host:5432/dbname?sslmode=require"
|
|
76
91
|
```
|
|
77
92
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
- `.env.local` overrides `.env`
|
|
81
|
-
- `DATABASE_URL` takes precedence over `DATABASE_URL`
|
|
82
|
-
- the CLI uses the `schema.prisma` and `prisma.config.ts` shipped inside `@shophost/rest-api`
|
|
93
|
+
## Schemas and Utilities
|
|
83
94
|
|
|
84
|
-
|
|
95
|
+
Import shared schemas:
|
|
85
96
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
nx build rest-api
|
|
97
|
+
```ts
|
|
98
|
+
import { CreateProductSchema, ProductSchema } from "@shophost/rest-api/schemas";
|
|
90
99
|
```
|
|
91
100
|
|
|
92
|
-
|
|
101
|
+
Import Prisma helpers owned by this package:
|
|
93
102
|
|
|
94
|
-
```
|
|
95
|
-
|
|
103
|
+
```ts
|
|
104
|
+
import { createPrismaClient, PrismaClient } from "@shophost/rest-api/db";
|
|
96
105
|
```
|
|
97
106
|
|
|
98
|
-
|
|
107
|
+
Generate the OpenAPI document:
|
|
99
108
|
|
|
100
|
-
```
|
|
101
|
-
|
|
109
|
+
```ts
|
|
110
|
+
import { generateOpenApiSpec } from "@shophost/rest-api";
|
|
111
|
+
|
|
112
|
+
const spec = generateOpenApiSpec();
|
|
102
113
|
```
|
|
103
114
|
|
|
104
|
-
|
|
115
|
+
## Local Development
|
|
105
116
|
|
|
106
117
|
```bash
|
|
107
|
-
nx
|
|
118
|
+
pnpm exec nx run rest-api:prisma:generate
|
|
119
|
+
pnpm exec nx run rest-api:test
|
|
108
120
|
```
|
|
109
121
|
|
|
110
122
|
## License
|
|
111
123
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
This software is proprietary and confidential. Unauthorized copying, distribution, or use is strictly prohibited. For licensing inquiries, please contact Shophost.
|
|
124
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shophost/rest-api",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"shophost-rest-api": "./scripts/shophost-rest-api.mjs"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"typescript"
|
|
57
57
|
],
|
|
58
58
|
"author": "Abhishek Shaji (kontakt@abhishek.pl)",
|
|
59
|
-
"license": "
|
|
59
|
+
"license": "MIT",
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|
|
62
62
|
"url": "https://github.com/abhishek-shaji/shophost",
|
package/src/app.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as h}from"tslib";import{cors as g}from"hono/cors";import{createApiRouter as
|
|
1
|
+
import{__awaiter as h}from"tslib";import{cors as g}from"hono/cors";import{createApiRouter as A,createUnavailableAuth as s,handleAppError as O}from"./core/hono/hono";import{buildAccessHandler as f,buildAnalyticsHandler as T,buildCartHandler as C,buildFileHandler as P,buildHealthHandler as _,buildLocationHandler as E,buildManufacturerHandler as w,buildOrderHandler as R,buildOrganizationHandler as S,buildPaymentHandler as k,buildProductCategoryHandler as q,buildProductHandler as j,buildReservationHandler as K,buildShippingHandler as L,buildShippingMethodHandler as M,buildWebhookHandler as X}from"./features";const x={allowHeaders:["Content-Type","Authorization","X-Requested-With","Accept","Origin","X-CSRF-Token"],allowMethods:["GET","POST","PUT","DELETE","OPTIONS","PATCH"],credentials:!0,exposeHeaders:["Content-Length","X-Kuma-Revision"],origin:["http://localhost:3000"]};export const buildApiApp=({corsOptions:a,maps:d,payment:l,prisma:o,resolveAuth:c=()=>s()}={})=>{var i,u,t,n,v;const e=A();return e.use("*",g(Object.assign(Object.assign({},x),a))),e.use("*",(r,H)=>h(void 0,void 0,void 0,function*(){const b=c(r.req.raw,r.req.path);r.set("auth",b),Object.assign(r.req.raw,{auth:b}),yield H()})),e.onError(r=>O(r)),e.route("/",_()),e.route("/",T(o)),e.route("/",w(o)),e.route("/",S(o,(u=(i=d?.google)===null||i===void 0?void 0:i.key)!==null&&u!==void 0?u:"")),e.route("/",P(o)),e.route("/",q(o)),e.route("/",j(o)),e.route("/",f(o)),e.route("/",M(o)),e.route("/",R(o,l??{})),e.route("/",C(o)),e.route("/",L(o,(n=(t=d?.google)===null||t===void 0?void 0:t.key)!==null&&n!==void 0?n:"")),e.route("/",E(d??{})),e.route("/",k(o,l??{})),e.route("/",X(o,l??{})),!((v=l?.stripe)===null||v===void 0)&&v.resendApiKey&&e.route("/",K(o,l.stripe.resendApiKey)),e};
|
package/src/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../../packages/rest-api/src/app.ts"],"names":[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0CAAE,GAAG,mCAAI,EAAE,CAAC,CAAC,CAAC;IACtE,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,oBAAoB,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC,CAAC;IACjD,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,mBAAmB,CAAC,MAAM,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC,CAAC,CAAC;IAC3D,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,mBAAmB,CAAC,MAAM,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC,CAAC,CAAC;IAE3D,IAAI,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,0CAAE,YAAY,EAAE,CAAC;QAClC,GAAG,CAAC,KAAK,CACP,GAAG,EACH,uBAAuB,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,CAC7D,CAAC;IACJ,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__awaiter as C}from"tslib";import*as I from"@prisma/client/runtime/client";const A={previewFeatures:["driverAdapters"],clientVersion:"7.
|
|
1
|
+
import{__awaiter as C}from"tslib";import*as I from"@prisma/client/runtime/client";const A={previewFeatures:["driverAdapters"],clientVersion:"7.4.2",engineVersion:"94a226be1cf2967af2541cca5529f0f7ba866919",activeProvider:"postgresql",inlineSchema:`generator client {
|
|
2
2
|
provider = "prisma-client"
|
|
3
3
|
previewFeatures = ["driverAdapters"]
|
|
4
4
|
output = "src/core/db/__generated__/client"
|
|
@@ -46,8 +46,8 @@ export type PrismaVersion = {
|
|
|
46
46
|
engine: string;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
|
-
* Prisma Client JS version: 7.
|
|
50
|
-
* Query Engine version:
|
|
49
|
+
* Prisma Client JS version: 7.4.2
|
|
50
|
+
* Query Engine version: 94a226be1cf2967af2541cca5529f0f7ba866919
|
|
51
51
|
*/
|
|
52
52
|
export declare const prismaVersion: PrismaVersion;
|
|
53
53
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"@prisma/client/runtime/client";export const PrismaClientKnownRequestError=e.PrismaClientKnownRequestError,PrismaClientUnknownRequestError=e.PrismaClientUnknownRequestError,PrismaClientRustPanicError=e.PrismaClientRustPanicError,PrismaClientInitializationError=e.PrismaClientInitializationError,PrismaClientValidationError=e.PrismaClientValidationError,sql=e.sqltag,empty=e.empty,join=e.join,raw=e.raw,Sql=e.Sql,Decimal=e.Decimal,getExtensionContext=e.Extensions.getExtensionContext,prismaVersion={client:"7.5.0",engine:"280c870be64f457428992c43c1f6d557fab6e29e"},NullTypes={DbNull:e.NullTypes.DbNull,JsonNull:e.NullTypes.JsonNull,AnyNull:e.NullTypes.AnyNull},DbNull=e.DbNull,JsonNull=e.JsonNull,AnyNull=e.AnyNull,ModelName={User:"User",Session:"Session",Account:"Account",Verification:"Verification",Member:"Member",Invitation:"Invitation",Organization:"Organization",OpeningTimes:"OpeningTimes",ClosingTimes:"ClosingTimes",OrganizationConfiguration:"OrganizationConfiguration",Address:"Address",LegalEntity:"LegalEntity",File:"File",Manufacturer:"Manufacturer",ManufacturerTranslation:"ManufacturerTranslation",ProductCategory:"ProductCategory",ProductCategoryTranslation:"ProductCategoryTranslation",Product:"Product",ProductSnapshot:"ProductSnapshot",ProductTranslation:"ProductTranslation",ModifierGroup:"ModifierGroup",ModifierGroupTranslation:"ModifierGroupTranslation",Modifier:"Modifier",Order:"Order",OrderItem:"OrderItem",OrderItemTranslation:"OrderItemTranslation",Payment:"Payment",PaymentSession:"PaymentSession",Campaign:"Campaign",ShippingMethod:"ShippingMethod",ShippingZone:"ShippingZone",Reservation:"Reservation"},TransactionIsolationLevel=e.makeStrictEnum({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),UserScalarFieldEnum={id:"id",name:"name",firstname:"firstname",lastname:"lastname",email:"email",emailVerified:"emailVerified",image:"image",createdAt:"createdAt",updatedAt:"updatedAt"},SessionScalarFieldEnum={id:"id",expiresAt:"expiresAt",token:"token",createdAt:"createdAt",updatedAt:"updatedAt",ipAddress:"ipAddress",userAgent:"userAgent",userId:"userId",activeOrganizationId:"activeOrganizationId"},AccountScalarFieldEnum={id:"id",accountId:"accountId",providerId:"providerId",userId:"userId",accessToken:"accessToken",refreshToken:"refreshToken",idToken:"idToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"},VerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},MemberScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",role:"role",createdAt:"createdAt"},InvitationScalarFieldEnum={id:"id",organizationId:"organizationId",email:"email",role:"role",status:"status",expiresAt:"expiresAt",inviterId:"inviterId"},OrganizationScalarFieldEnum={id:"id",name:"name",slug:"slug",phone:"phone",email:"email",legalEntityId:"legalEntityId",addressId:"addressId",configurationId:"configurationId",logo:"logo",logoId:"logoId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},OpeningTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},ClosingTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},OrganizationConfigurationScalarFieldEnum={id:"id",hostname:"hostname",countriesShipping:"countriesShipping",stripeAccountId:"stripeAccountId",enableHostCheckout:"enableHostCheckout",enableHostTracking:"enableHostTracking",isAcceptingOrders:"isAcceptingOrders",defaultCurrency:"defaultCurrency",defaultLocale:"defaultLocale",supportedLocales:"supportedLocales",openingTimesId:"openingTimesId",closingTimesId:"closingTimesId",facebookProfile:"facebookProfile",instagramProfile:"instagramProfile",xProfile:"xProfile",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},AddressScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",phone:"phone",addressLineOne:"addressLineOne",doorNumber:"doorNumber",addressLineTwo:"addressLineTwo",zipCode:"zipCode",placeId:"placeId",deliveryInstructions:"deliveryInstructions",city:"city",country:"country",latitude:"latitude",longitude:"longitude",isDefault:"isDefault",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},LegalEntityScalarFieldEnum={id:"id",name:"name",taxId:"taxId",addressId:"addressId",email:"email",phone:"phone",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},FileScalarFieldEnum={id:"id",mimeType:"mimeType",size:"size",filename:"filename",url:"url",status:"status",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerScalarFieldEnum={id:"id",name:"name",logoId:"logoId",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerTranslationScalarFieldEnum={id:"id",locale:"locale",about:"about",manufacturerId:"manufacturerId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductCategoryScalarFieldEnum={id:"id",slug:"slug",organizationId:"organizationId",priority:"priority",imageId:"imageId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",publishedAt:"publishedAt",publishedBy:"publishedBy"},ProductCategoryTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productCategoryId:"productCategoryId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductScalarFieldEnum={id:"id",content:"content",slug:"slug",sku:"sku",basePrice:"basePrice",discountedBasePrice:"discountedBasePrice",currency:"currency",organizationId:"organizationId",manufacturerId:"manufacturerId",tags:"tags",metadata:"metadata",publishedAt:"publishedAt",publishedBy:"publishedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",latestSnapshotId:"latestSnapshotId"},ProductSnapshotScalarFieldEnum={id:"id",productId:"productId",data:"data",createdAt:"createdAt",createdBy:"createdBy"},ProductTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productId:"productId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ModifierGroupScalarFieldEnum={id:"id",selectMin:"selectMin",selectMax:"selectMax",createdAt:"createdAt",updatedAt:"updatedAt"},ModifierGroupTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",modifierGroupId:"modifierGroupId"},ModifierScalarFieldEnum={id:"id",title:"title",description:"description",sku:"sku",price:"price",modifierGroupId:"modifierGroupId"},OrderScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",paymentId:"paymentId",token:"token",expiresAt:"expiresAt",referenceId:"referenceId",fulfilmentMethod:"fulfilmentMethod",shippingMethodId:"shippingMethodId",shippingAddressId:"shippingAddressId",dateOfExecution:"dateOfExecution",currency:"currency",sourceIp:"sourceIp",acceptedAt:"acceptedAt",readyForDispatchAt:"readyForDispatchAt",dispatchedAt:"dispatchedAt",completedAt:"completedAt",cancelledAt:"cancelledAt",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",updatedAt:"updatedAt"},OrderItemScalarFieldEnum={id:"id",quantity:"quantity",unitPrice:"unitPrice",totalPrice:"totalPrice",orderId:"orderId",rawData:"rawData",productSnapshotId:"productSnapshotId",imageId:"imageId"},OrderItemTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",subtitle:"subtitle",orderItemId:"orderItemId"},PaymentScalarFieldEnum={id:"id",method:"method",provider:"provider",shipping:"shipping",subtotal:"subtotal",total:"total",discount:"discount",currency:"currency",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},PaymentSessionScalarFieldEnum={id:"id",referenceId:"referenceId",amount:"amount",currency:"currency",rawData:"rawData",capturedAt:"capturedAt",expiredAt:"expiredAt",createdAt:"createdAt",updatedAt:"updatedAt",paymentId:"paymentId"},CampaignScalarFieldEnum={id:"id",title:"title",type:"type",validFrom:"validFrom",validTo:"validTo",organizationId:"organizationId",amount:"amount",percentage:"percentage",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",updatedAt:"updatedAt"},ShippingMethodScalarFieldEnum={id:"id",title:"title",providerName:"providerName",providerLogoId:"providerLogoId",requireDateOfDelivery:"requireDateOfDelivery",organizationId:"organizationId",archivedAt:"archivedAt",archivedBy:"archivedBy",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ShippingZoneScalarFieldEnum={id:"id",title:"title",distanceUpto:"distanceUpto",price:"price",minimumOrderAmount:"minimumOrderAmount",shippingMethodId:"shippingMethodId",eta:"eta",createdAt:"createdAt",updatedAt:"updatedAt"},ReservationScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",userId:"userId",guests:"guests",phone:"phone",date:"date",referenceId:"referenceId",organizationId:"organizationId",createdAt:"createdAt",acceptedAt:"acceptedAt",cancelledAt:"cancelledAt",updatedAt:"updatedAt"},SortOrder={asc:"asc",desc:"desc"},NullableJsonNullValueInput={DbNull,JsonNull},JsonNullValueInput={JsonNull},QueryMode={default:"default",insensitive:"insensitive"},NullsOrder={first:"first",last:"last"},JsonNullValueFilter={DbNull,JsonNull,AnyNull},defineExtension=e.Extensions.defineExtension;
|
|
1
|
+
import*as e from"@prisma/client/runtime/client";export const PrismaClientKnownRequestError=e.PrismaClientKnownRequestError,PrismaClientUnknownRequestError=e.PrismaClientUnknownRequestError,PrismaClientRustPanicError=e.PrismaClientRustPanicError,PrismaClientInitializationError=e.PrismaClientInitializationError,PrismaClientValidationError=e.PrismaClientValidationError,sql=e.sqltag,empty=e.empty,join=e.join,raw=e.raw,Sql=e.Sql,Decimal=e.Decimal,getExtensionContext=e.Extensions.getExtensionContext,prismaVersion={client:"7.4.2",engine:"94a226be1cf2967af2541cca5529f0f7ba866919"},NullTypes={DbNull:e.NullTypes.DbNull,JsonNull:e.NullTypes.JsonNull,AnyNull:e.NullTypes.AnyNull},DbNull=e.DbNull,JsonNull=e.JsonNull,AnyNull=e.AnyNull,ModelName={User:"User",Session:"Session",Account:"Account",Verification:"Verification",Member:"Member",Invitation:"Invitation",Organization:"Organization",OpeningTimes:"OpeningTimes",ClosingTimes:"ClosingTimes",OrganizationConfiguration:"OrganizationConfiguration",Address:"Address",LegalEntity:"LegalEntity",File:"File",Manufacturer:"Manufacturer",ManufacturerTranslation:"ManufacturerTranslation",ProductCategory:"ProductCategory",ProductCategoryTranslation:"ProductCategoryTranslation",Product:"Product",ProductSnapshot:"ProductSnapshot",ProductTranslation:"ProductTranslation",ModifierGroup:"ModifierGroup",ModifierGroupTranslation:"ModifierGroupTranslation",Modifier:"Modifier",Order:"Order",OrderItem:"OrderItem",OrderItemTranslation:"OrderItemTranslation",Payment:"Payment",PaymentSession:"PaymentSession",Campaign:"Campaign",ShippingMethod:"ShippingMethod",ShippingZone:"ShippingZone",Reservation:"Reservation"},TransactionIsolationLevel=e.makeStrictEnum({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),UserScalarFieldEnum={id:"id",name:"name",firstname:"firstname",lastname:"lastname",email:"email",emailVerified:"emailVerified",image:"image",createdAt:"createdAt",updatedAt:"updatedAt"},SessionScalarFieldEnum={id:"id",expiresAt:"expiresAt",token:"token",createdAt:"createdAt",updatedAt:"updatedAt",ipAddress:"ipAddress",userAgent:"userAgent",userId:"userId",activeOrganizationId:"activeOrganizationId"},AccountScalarFieldEnum={id:"id",accountId:"accountId",providerId:"providerId",userId:"userId",accessToken:"accessToken",refreshToken:"refreshToken",idToken:"idToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"},VerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},MemberScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",role:"role",createdAt:"createdAt"},InvitationScalarFieldEnum={id:"id",organizationId:"organizationId",email:"email",role:"role",status:"status",expiresAt:"expiresAt",inviterId:"inviterId"},OrganizationScalarFieldEnum={id:"id",name:"name",slug:"slug",phone:"phone",email:"email",legalEntityId:"legalEntityId",addressId:"addressId",configurationId:"configurationId",logo:"logo",logoId:"logoId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},OpeningTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},ClosingTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},OrganizationConfigurationScalarFieldEnum={id:"id",hostname:"hostname",countriesShipping:"countriesShipping",stripeAccountId:"stripeAccountId",enableHostCheckout:"enableHostCheckout",enableHostTracking:"enableHostTracking",isAcceptingOrders:"isAcceptingOrders",defaultCurrency:"defaultCurrency",defaultLocale:"defaultLocale",supportedLocales:"supportedLocales",openingTimesId:"openingTimesId",closingTimesId:"closingTimesId",facebookProfile:"facebookProfile",instagramProfile:"instagramProfile",xProfile:"xProfile",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},AddressScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",phone:"phone",addressLineOne:"addressLineOne",doorNumber:"doorNumber",addressLineTwo:"addressLineTwo",zipCode:"zipCode",placeId:"placeId",deliveryInstructions:"deliveryInstructions",city:"city",country:"country",latitude:"latitude",longitude:"longitude",isDefault:"isDefault",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},LegalEntityScalarFieldEnum={id:"id",name:"name",taxId:"taxId",addressId:"addressId",email:"email",phone:"phone",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},FileScalarFieldEnum={id:"id",mimeType:"mimeType",size:"size",filename:"filename",url:"url",status:"status",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerScalarFieldEnum={id:"id",name:"name",logoId:"logoId",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerTranslationScalarFieldEnum={id:"id",locale:"locale",about:"about",manufacturerId:"manufacturerId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductCategoryScalarFieldEnum={id:"id",slug:"slug",organizationId:"organizationId",priority:"priority",imageId:"imageId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",publishedAt:"publishedAt",publishedBy:"publishedBy"},ProductCategoryTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productCategoryId:"productCategoryId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductScalarFieldEnum={id:"id",content:"content",slug:"slug",sku:"sku",basePrice:"basePrice",discountedBasePrice:"discountedBasePrice",currency:"currency",organizationId:"organizationId",manufacturerId:"manufacturerId",tags:"tags",metadata:"metadata",publishedAt:"publishedAt",publishedBy:"publishedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",latestSnapshotId:"latestSnapshotId"},ProductSnapshotScalarFieldEnum={id:"id",productId:"productId",data:"data",createdAt:"createdAt",createdBy:"createdBy"},ProductTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productId:"productId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ModifierGroupScalarFieldEnum={id:"id",selectMin:"selectMin",selectMax:"selectMax",createdAt:"createdAt",updatedAt:"updatedAt"},ModifierGroupTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",modifierGroupId:"modifierGroupId"},ModifierScalarFieldEnum={id:"id",title:"title",description:"description",sku:"sku",price:"price",modifierGroupId:"modifierGroupId"},OrderScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",paymentId:"paymentId",token:"token",expiresAt:"expiresAt",referenceId:"referenceId",fulfilmentMethod:"fulfilmentMethod",shippingMethodId:"shippingMethodId",shippingAddressId:"shippingAddressId",dateOfExecution:"dateOfExecution",currency:"currency",sourceIp:"sourceIp",acceptedAt:"acceptedAt",readyForDispatchAt:"readyForDispatchAt",dispatchedAt:"dispatchedAt",completedAt:"completedAt",cancelledAt:"cancelledAt",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",updatedAt:"updatedAt"},OrderItemScalarFieldEnum={id:"id",quantity:"quantity",unitPrice:"unitPrice",totalPrice:"totalPrice",orderId:"orderId",rawData:"rawData",productSnapshotId:"productSnapshotId",imageId:"imageId"},OrderItemTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",subtitle:"subtitle",orderItemId:"orderItemId"},PaymentScalarFieldEnum={id:"id",method:"method",provider:"provider",shipping:"shipping",subtotal:"subtotal",total:"total",discount:"discount",currency:"currency",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},PaymentSessionScalarFieldEnum={id:"id",referenceId:"referenceId",amount:"amount",currency:"currency",rawData:"rawData",capturedAt:"capturedAt",expiredAt:"expiredAt",createdAt:"createdAt",updatedAt:"updatedAt",paymentId:"paymentId"},CampaignScalarFieldEnum={id:"id",title:"title",type:"type",validFrom:"validFrom",validTo:"validTo",organizationId:"organizationId",amount:"amount",percentage:"percentage",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",updatedAt:"updatedAt"},ShippingMethodScalarFieldEnum={id:"id",title:"title",providerName:"providerName",providerLogoId:"providerLogoId",requireDateOfDelivery:"requireDateOfDelivery",organizationId:"organizationId",archivedAt:"archivedAt",archivedBy:"archivedBy",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ShippingZoneScalarFieldEnum={id:"id",title:"title",distanceUpto:"distanceUpto",price:"price",minimumOrderAmount:"minimumOrderAmount",shippingMethodId:"shippingMethodId",eta:"eta",createdAt:"createdAt",updatedAt:"updatedAt"},ReservationScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",userId:"userId",guests:"guests",phone:"phone",date:"date",referenceId:"referenceId",organizationId:"organizationId",createdAt:"createdAt",acceptedAt:"acceptedAt",cancelledAt:"cancelledAt",updatedAt:"updatedAt"},SortOrder={asc:"asc",desc:"desc"},NullableJsonNullValueInput={DbNull,JsonNull},JsonNullValueInput={JsonNull},QueryMode={default:"default",insensitive:"insensitive"},NullsOrder={first:"first",last:"last"},JsonNullValueFilter={DbNull,JsonNull,AnyNull},defineExtension=e.Extensions.defineExtension;
|
|
@@ -1245,11 +1245,6 @@ export type AccountFindManyArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
1245
1245
|
* Skip the first `n` Accounts.
|
|
1246
1246
|
*/
|
|
1247
1247
|
skip?: number;
|
|
1248
|
-
/**
|
|
1249
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1250
|
-
*
|
|
1251
|
-
* Filter by unique combinations of Accounts.
|
|
1252
|
-
*/
|
|
1253
1248
|
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[];
|
|
1254
1249
|
};
|
|
1255
1250
|
/**
|
|
@@ -2039,11 +2039,6 @@ export type AddressFindManyArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
2039
2039
|
* Skip the first `n` Addresses.
|
|
2040
2040
|
*/
|
|
2041
2041
|
skip?: number;
|
|
2042
|
-
/**
|
|
2043
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2044
|
-
*
|
|
2045
|
-
* Filter by unique combinations of Addresses.
|
|
2046
|
-
*/
|
|
2047
2042
|
distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[];
|
|
2048
2043
|
};
|
|
2049
2044
|
/**
|
|
@@ -1255,11 +1255,6 @@ export type CampaignFindManyArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1255
1255
|
* Skip the first `n` Campaigns.
|
|
1256
1256
|
*/
|
|
1257
1257
|
skip?: number;
|
|
1258
|
-
/**
|
|
1259
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1260
|
-
*
|
|
1261
|
-
* Filter by unique combinations of Campaigns.
|
|
1262
|
-
*/
|
|
1263
1258
|
distinct?: Prisma.CampaignScalarFieldEnum | Prisma.CampaignScalarFieldEnum[];
|
|
1264
1259
|
};
|
|
1265
1260
|
/**
|
|
@@ -1003,11 +1003,6 @@ export type ClosingTimesFindManyArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1003
1003
|
* Skip the first `n` ClosingTimes.
|
|
1004
1004
|
*/
|
|
1005
1005
|
skip?: number;
|
|
1006
|
-
/**
|
|
1007
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1008
|
-
*
|
|
1009
|
-
* Filter by unique combinations of ClosingTimes.
|
|
1010
|
-
*/
|
|
1011
1006
|
distinct?: Prisma.ClosingTimesScalarFieldEnum | Prisma.ClosingTimesScalarFieldEnum[];
|
|
1012
1007
|
};
|
|
1013
1008
|
/**
|
|
@@ -2297,11 +2297,6 @@ export type FileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
2297
2297
|
* Skip the first `n` Files.
|
|
2298
2298
|
*/
|
|
2299
2299
|
skip?: number;
|
|
2300
|
-
/**
|
|
2301
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2302
|
-
*
|
|
2303
|
-
* Filter by unique combinations of Files.
|
|
2304
|
-
*/
|
|
2305
2300
|
distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
|
|
2306
2301
|
};
|
|
2307
2302
|
/**
|
|
@@ -1149,11 +1149,6 @@ export type InvitationFindManyArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1149
1149
|
* Skip the first `n` Invitations.
|
|
1150
1150
|
*/
|
|
1151
1151
|
skip?: number;
|
|
1152
|
-
/**
|
|
1153
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1154
|
-
*
|
|
1155
|
-
* Filter by unique combinations of Invitations.
|
|
1156
|
-
*/
|
|
1157
1152
|
distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
|
|
1158
1153
|
};
|
|
1159
1154
|
/**
|
|
@@ -1335,11 +1335,6 @@ export type LegalEntityFindManyArgs<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
1335
1335
|
* Skip the first `n` LegalEntities.
|
|
1336
1336
|
*/
|
|
1337
1337
|
skip?: number;
|
|
1338
|
-
/**
|
|
1339
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1340
|
-
*
|
|
1341
|
-
* Filter by unique combinations of LegalEntities.
|
|
1342
|
-
*/
|
|
1343
1338
|
distinct?: Prisma.LegalEntityScalarFieldEnum | Prisma.LegalEntityScalarFieldEnum[];
|
|
1344
1339
|
};
|
|
1345
1340
|
/**
|
|
@@ -1468,11 +1468,6 @@ export type ManufacturerFindManyArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1468
1468
|
* Skip the first `n` Manufacturers.
|
|
1469
1469
|
*/
|
|
1470
1470
|
skip?: number;
|
|
1471
|
-
/**
|
|
1472
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1473
|
-
*
|
|
1474
|
-
* Filter by unique combinations of Manufacturers.
|
|
1475
|
-
*/
|
|
1476
1471
|
distinct?: Prisma.ManufacturerScalarFieldEnum | Prisma.ManufacturerScalarFieldEnum[];
|
|
1477
1472
|
};
|
|
1478
1473
|
/**
|
|
@@ -1072,11 +1072,6 @@ export type ManufacturerTranslationFindManyArgs<ExtArgs extends runtime.Types.Ex
|
|
|
1072
1072
|
* Skip the first `n` ManufacturerTranslations.
|
|
1073
1073
|
*/
|
|
1074
1074
|
skip?: number;
|
|
1075
|
-
/**
|
|
1076
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1077
|
-
*
|
|
1078
|
-
* Filter by unique combinations of ManufacturerTranslations.
|
|
1079
|
-
*/
|
|
1080
1075
|
distinct?: Prisma.ManufacturerTranslationScalarFieldEnum | Prisma.ManufacturerTranslationScalarFieldEnum[];
|
|
1081
1076
|
};
|
|
1082
1077
|
/**
|
|
@@ -1067,11 +1067,6 @@ export type MemberFindManyArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
1067
1067
|
* Skip the first `n` Members.
|
|
1068
1068
|
*/
|
|
1069
1069
|
skip?: number;
|
|
1070
|
-
/**
|
|
1071
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1072
|
-
*
|
|
1073
|
-
* Filter by unique combinations of Members.
|
|
1074
|
-
*/
|
|
1075
1070
|
distinct?: Prisma.MemberScalarFieldEnum | Prisma.MemberScalarFieldEnum[];
|
|
1076
1071
|
};
|
|
1077
1072
|
/**
|
|
@@ -1167,11 +1167,6 @@ export type ModifierFindManyArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1167
1167
|
* Skip the first `n` Modifiers.
|
|
1168
1168
|
*/
|
|
1169
1169
|
skip?: number;
|
|
1170
|
-
/**
|
|
1171
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1172
|
-
*
|
|
1173
|
-
* Filter by unique combinations of Modifiers.
|
|
1174
|
-
*/
|
|
1175
1170
|
distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
|
|
1176
1171
|
};
|
|
1177
1172
|
/**
|
|
@@ -1194,11 +1194,6 @@ export type ModifierGroupFindManyArgs<ExtArgs extends runtime.Types.Extensions.I
|
|
|
1194
1194
|
* Skip the first `n` ModifierGroups.
|
|
1195
1195
|
*/
|
|
1196
1196
|
skip?: number;
|
|
1197
|
-
/**
|
|
1198
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1199
|
-
*
|
|
1200
|
-
* Filter by unique combinations of ModifierGroups.
|
|
1201
|
-
*/
|
|
1202
1197
|
distinct?: Prisma.ModifierGroupScalarFieldEnum | Prisma.ModifierGroupScalarFieldEnum[];
|
|
1203
1198
|
};
|
|
1204
1199
|
/**
|
|
@@ -967,11 +967,6 @@ export type ModifierGroupTranslationFindManyArgs<ExtArgs extends runtime.Types.E
|
|
|
967
967
|
* Skip the first `n` ModifierGroupTranslations.
|
|
968
968
|
*/
|
|
969
969
|
skip?: number;
|
|
970
|
-
/**
|
|
971
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
972
|
-
*
|
|
973
|
-
* Filter by unique combinations of ModifierGroupTranslations.
|
|
974
|
-
*/
|
|
975
970
|
distinct?: Prisma.ModifierGroupTranslationScalarFieldEnum | Prisma.ModifierGroupTranslationScalarFieldEnum[];
|
|
976
971
|
};
|
|
977
972
|
/**
|
|
@@ -1003,11 +1003,6 @@ export type OpeningTimesFindManyArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1003
1003
|
* Skip the first `n` OpeningTimes.
|
|
1004
1004
|
*/
|
|
1005
1005
|
skip?: number;
|
|
1006
|
-
/**
|
|
1007
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1008
|
-
*
|
|
1009
|
-
* Filter by unique combinations of OpeningTimes.
|
|
1010
|
-
*/
|
|
1011
1006
|
distinct?: Prisma.OpeningTimesScalarFieldEnum | Prisma.OpeningTimesScalarFieldEnum[];
|
|
1012
1007
|
};
|
|
1013
1008
|
/**
|
|
@@ -2511,11 +2511,6 @@ export type OrderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
2511
2511
|
* Skip the first `n` Orders.
|
|
2512
2512
|
*/
|
|
2513
2513
|
skip?: number;
|
|
2514
|
-
/**
|
|
2515
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2516
|
-
*
|
|
2517
|
-
* Filter by unique combinations of Orders.
|
|
2518
|
-
*/
|
|
2519
2514
|
distinct?: Prisma.OrderScalarFieldEnum | Prisma.OrderScalarFieldEnum[];
|
|
2520
2515
|
};
|
|
2521
2516
|
/**
|
|
@@ -1482,11 +1482,6 @@ export type OrderItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1482
1482
|
* Skip the first `n` OrderItems.
|
|
1483
1483
|
*/
|
|
1484
1484
|
skip?: number;
|
|
1485
|
-
/**
|
|
1486
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1487
|
-
*
|
|
1488
|
-
* Filter by unique combinations of OrderItems.
|
|
1489
|
-
*/
|
|
1490
1485
|
distinct?: Prisma.OrderItemScalarFieldEnum | Prisma.OrderItemScalarFieldEnum[];
|
|
1491
1486
|
};
|
|
1492
1487
|
/**
|
|
@@ -967,11 +967,6 @@ export type OrderItemTranslationFindManyArgs<ExtArgs extends runtime.Types.Exten
|
|
|
967
967
|
* Skip the first `n` OrderItemTranslations.
|
|
968
968
|
*/
|
|
969
969
|
skip?: number;
|
|
970
|
-
/**
|
|
971
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
972
|
-
*
|
|
973
|
-
* Filter by unique combinations of OrderItemTranslations.
|
|
974
|
-
*/
|
|
975
970
|
distinct?: Prisma.OrderItemTranslationScalarFieldEnum | Prisma.OrderItemTranslationScalarFieldEnum[];
|
|
976
971
|
};
|
|
977
972
|
/**
|
|
@@ -3516,11 +3516,6 @@ export type OrganizationFindManyArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
3516
3516
|
* Skip the first `n` Organizations.
|
|
3517
3517
|
*/
|
|
3518
3518
|
skip?: number;
|
|
3519
|
-
/**
|
|
3520
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3521
|
-
*
|
|
3522
|
-
* Filter by unique combinations of Organizations.
|
|
3523
|
-
*/
|
|
3524
3519
|
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
3525
3520
|
};
|
|
3526
3521
|
/**
|
|
@@ -1681,11 +1681,6 @@ export type OrganizationConfigurationFindManyArgs<ExtArgs extends runtime.Types.
|
|
|
1681
1681
|
* Skip the first `n` OrganizationConfigurations.
|
|
1682
1682
|
*/
|
|
1683
1683
|
skip?: number;
|
|
1684
|
-
/**
|
|
1685
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1686
|
-
*
|
|
1687
|
-
* Filter by unique combinations of OrganizationConfigurations.
|
|
1688
|
-
*/
|
|
1689
1684
|
distinct?: Prisma.OrganizationConfigurationScalarFieldEnum | Prisma.OrganizationConfigurationScalarFieldEnum[];
|
|
1690
1685
|
};
|
|
1691
1686
|
/**
|
|
@@ -1291,11 +1291,6 @@ export type PaymentFindManyArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
1291
1291
|
* Skip the first `n` Payments.
|
|
1292
1292
|
*/
|
|
1293
1293
|
skip?: number;
|
|
1294
|
-
/**
|
|
1295
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1296
|
-
*
|
|
1297
|
-
* Filter by unique combinations of Payments.
|
|
1298
|
-
*/
|
|
1299
1294
|
distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
|
|
1300
1295
|
};
|
|
1301
1296
|
/**
|