@optimatech88/titomeet-shared-lib 1.0.56 → 1.1.1
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/.env +2 -0
- package/dist/auth/admin.middleware.d.ts +1 -1
- package/dist/auth/admin.middleware.d.ts.map +1 -1
- package/dist/auth/admin.middleware.js +7 -11
- package/dist/auth/admin.middleware.js.map +1 -1
- package/dist/auth/auth.guard.d.ts.map +1 -1
- package/dist/auth/auth.guard.js +46 -41
- package/dist/auth/auth.guard.js.map +1 -1
- package/dist/auth/auth.module.d.ts +1 -1
- package/dist/auth/auth.module.d.ts.map +1 -1
- package/dist/auth/auth.module.js +8 -11
- package/dist/auth/auth.module.js.map +1 -1
- package/dist/cache/cache.module.js +12 -18
- package/dist/cache/cache.module.js.map +1 -1
- package/dist/cache/cache.service.js +8 -10
- package/dist/cache/cache.service.js.map +1 -1
- package/dist/generated/prisma/client.d.ts +33 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +10 -0
- package/dist/generated/prisma/client.js.map +1 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +966 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +2 -0
- package/dist/generated/prisma/commonInputTypes.js.map +1 -0
- package/dist/generated/prisma/enums.d.ts +111 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +93 -0
- package/dist/generated/prisma/enums.js.map +1 -0
- package/dist/generated/prisma/internal/class.d.ts +105 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +39 -0
- package/dist/generated/prisma/internal/class.js.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +2426 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +338 -0
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/prisma/models/Account.d.ts +582 -0
- package/dist/generated/prisma/models/Account.d.ts.map +1 -0
- package/dist/generated/prisma/models/Account.js +2 -0
- package/dist/generated/prisma/models/Account.js.map +1 -0
- package/dist/generated/prisma/models/Address.d.ts +930 -0
- package/dist/generated/prisma/models/Address.d.ts.map +1 -0
- package/dist/generated/prisma/models/Address.js +2 -0
- package/dist/generated/prisma/models/Address.js.map +1 -0
- package/dist/generated/prisma/models/Chat.d.ts +788 -0
- package/dist/generated/prisma/models/Chat.d.ts.map +1 -0
- package/dist/generated/prisma/models/Chat.js +2 -0
- package/dist/generated/prisma/models/Chat.js.map +1 -0
- package/dist/generated/prisma/models/ChatUser.d.ts +648 -0
- package/dist/generated/prisma/models/ChatUser.d.ts.map +1 -0
- package/dist/generated/prisma/models/ChatUser.js +2 -0
- package/dist/generated/prisma/models/ChatUser.js.map +1 -0
- package/dist/generated/prisma/models/Country.d.ts +543 -0
- package/dist/generated/prisma/models/Country.d.ts.map +1 -0
- package/dist/generated/prisma/models/Country.js +2 -0
- package/dist/generated/prisma/models/Country.js.map +1 -0
- package/dist/generated/prisma/models/Event.d.ts +3206 -0
- package/dist/generated/prisma/models/Event.d.ts.map +1 -0
- package/dist/generated/prisma/models/Event.js +2 -0
- package/dist/generated/prisma/models/Event.js.map +1 -0
- package/dist/generated/prisma/models/EventCategory.d.ts +1004 -0
- package/dist/generated/prisma/models/EventCategory.d.ts.map +1 -0
- package/dist/generated/prisma/models/EventCategory.js +2 -0
- package/dist/generated/prisma/models/EventCategory.js.map +1 -0
- package/dist/generated/prisma/models/EventPrice.d.ts +798 -0
- package/dist/generated/prisma/models/EventPrice.d.ts.map +1 -0
- package/dist/generated/prisma/models/EventPrice.js +2 -0
- package/dist/generated/prisma/models/EventPrice.js.map +1 -0
- package/dist/generated/prisma/models/Favorite.d.ts +648 -0
- package/dist/generated/prisma/models/Favorite.d.ts.map +1 -0
- package/dist/generated/prisma/models/Favorite.js +2 -0
- package/dist/generated/prisma/models/Favorite.js.map +1 -0
- package/dist/generated/prisma/models/Feedback.d.ts +682 -0
- package/dist/generated/prisma/models/Feedback.d.ts.map +1 -0
- package/dist/generated/prisma/models/Feedback.js +2 -0
- package/dist/generated/prisma/models/Feedback.js.map +1 -0
- package/dist/generated/prisma/models/Message.d.ts +724 -0
- package/dist/generated/prisma/models/Message.d.ts.map +1 -0
- package/dist/generated/prisma/models/Message.js +2 -0
- package/dist/generated/prisma/models/Message.js.map +1 -0
- package/dist/generated/prisma/models/Newsletter.d.ts +404 -0
- package/dist/generated/prisma/models/Newsletter.d.ts.map +1 -0
- package/dist/generated/prisma/models/Newsletter.js +2 -0
- package/dist/generated/prisma/models/Newsletter.js.map +1 -0
- package/dist/generated/prisma/models/Notification.d.ts +775 -0
- package/dist/generated/prisma/models/Notification.d.ts.map +1 -0
- package/dist/generated/prisma/models/Notification.js +2 -0
- package/dist/generated/prisma/models/Notification.js.map +1 -0
- package/dist/generated/prisma/models/Order.d.ts +1009 -0
- package/dist/generated/prisma/models/Order.d.ts.map +1 -0
- package/dist/generated/prisma/models/Order.js +2 -0
- package/dist/generated/prisma/models/Order.js.map +1 -0
- package/dist/generated/prisma/models/OrderItem.d.ts +806 -0
- package/dist/generated/prisma/models/OrderItem.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrderItem.js +2 -0
- package/dist/generated/prisma/models/OrderItem.js.map +1 -0
- package/dist/generated/prisma/models/Pricing.d.ts +739 -0
- package/dist/generated/prisma/models/Pricing.d.ts.map +1 -0
- package/dist/generated/prisma/models/Pricing.js +2 -0
- package/dist/generated/prisma/models/Pricing.js.map +1 -0
- package/dist/generated/prisma/models/Provider.d.ts +1650 -0
- package/dist/generated/prisma/models/Provider.d.ts.map +1 -0
- package/dist/generated/prisma/models/Provider.js +2 -0
- package/dist/generated/prisma/models/Provider.js.map +1 -0
- package/dist/generated/prisma/models/ProviderCategory.d.ts +830 -0
- package/dist/generated/prisma/models/ProviderCategory.d.ts.map +1 -0
- package/dist/generated/prisma/models/ProviderCategory.js +2 -0
- package/dist/generated/prisma/models/ProviderCategory.js.map +1 -0
- package/dist/generated/prisma/models/ProviderOnEvent.d.ts +693 -0
- package/dist/generated/prisma/models/ProviderOnEvent.d.ts.map +1 -0
- package/dist/generated/prisma/models/ProviderOnEvent.js +2 -0
- package/dist/generated/prisma/models/ProviderOnEvent.js.map +1 -0
- package/dist/generated/prisma/models/Report.d.ts +689 -0
- package/dist/generated/prisma/models/Report.d.ts.map +1 -0
- package/dist/generated/prisma/models/Report.js +2 -0
- package/dist/generated/prisma/models/Report.js.map +1 -0
- package/dist/generated/prisma/models/Review.d.ts +758 -0
- package/dist/generated/prisma/models/Review.d.ts.map +1 -0
- package/dist/generated/prisma/models/Review.js +2 -0
- package/dist/generated/prisma/models/Review.js.map +1 -0
- package/dist/generated/prisma/models/Transaction.d.ts +894 -0
- package/dist/generated/prisma/models/Transaction.d.ts.map +1 -0
- package/dist/generated/prisma/models/Transaction.js +2 -0
- package/dist/generated/prisma/models/Transaction.js.map +1 -0
- package/dist/generated/prisma/models/User.d.ts +2966 -0
- package/dist/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/User.js.map +1 -0
- package/dist/generated/prisma/models/UserInterests.d.ts +605 -0
- package/dist/generated/prisma/models/UserInterests.d.ts.map +1 -0
- package/dist/generated/prisma/models/UserInterests.js +2 -0
- package/dist/generated/prisma/models/UserInterests.js.map +1 -0
- package/dist/generated/prisma/models.d.ts +26 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/generated/prisma/models.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -51
- package/dist/index.js.map +1 -1
- package/dist/prisma/prisma.module.js +8 -11
- package/dist/prisma/prisma.module.js.map +1 -1
- package/dist/prisma/prisma.service.d.ts +2 -1
- package/dist/prisma/prisma.service.d.ts.map +1 -1
- package/dist/prisma/prisma.service.js +17 -9
- package/dist/prisma/prisma.service.js.map +1 -1
- package/dist/prisma/seed.js +6 -4
- package/dist/prisma/seed.js.map +1 -1
- package/dist/src/auth/admin.middleware.d.ts +11 -0
- package/dist/src/auth/admin.middleware.d.ts.map +1 -0
- package/dist/src/auth/admin.middleware.js +22 -0
- package/dist/src/auth/admin.middleware.js.map +1 -0
- package/dist/src/auth/auth.guard.d.ts +25 -0
- package/dist/src/auth/auth.guard.d.ts.map +1 -0
- package/dist/src/auth/auth.guard.js +137 -0
- package/dist/src/auth/auth.guard.js.map +1 -0
- package/dist/src/auth/auth.module.d.ts +9 -0
- package/dist/src/auth/auth.module.d.ts.map +1 -0
- package/dist/src/auth/auth.module.js +30 -0
- package/dist/src/auth/auth.module.js.map +1 -0
- package/dist/src/cache/cache.module.d.ts +5 -0
- package/dist/src/cache/cache.module.d.ts.map +1 -0
- package/dist/src/cache/cache.module.js +35 -0
- package/dist/src/cache/cache.module.js.map +1 -0
- package/dist/src/cache/cache.service.d.ts +9 -0
- package/dist/src/cache/cache.service.d.ts.map +1 -0
- package/dist/src/cache/cache.service.js +36 -0
- package/dist/src/cache/cache.service.js.map +1 -0
- package/dist/src/index.d.ts +16 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +16 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/prisma/prisma.module.d.ts +3 -0
- package/dist/src/prisma/prisma.module.d.ts.map +1 -0
- package/dist/src/prisma/prisma.module.js +19 -0
- package/dist/src/prisma/prisma.module.js.map +1 -0
- package/dist/src/prisma/prisma.service.d.ts +8 -0
- package/dist/src/prisma/prisma.service.d.ts.map +1 -0
- package/dist/src/prisma/prisma.service.js +32 -0
- package/dist/src/prisma/prisma.service.js.map +1 -0
- package/dist/src/prisma/seed.d.ts +2 -0
- package/dist/src/prisma/seed.d.ts.map +1 -0
- package/dist/src/prisma/seed.js +75 -0
- package/dist/src/prisma/seed.js.map +1 -0
- package/dist/src/types/index.d.ts +12 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/index.js +2 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/utils/api/endpoints.d.ts +7 -0
- package/dist/src/utils/api/endpoints.d.ts.map +1 -0
- package/dist/src/utils/api/endpoints.js +7 -0
- package/dist/src/utils/api/endpoints.js.map +1 -0
- package/dist/src/utils/constants.d.ts +3 -0
- package/dist/src/utils/constants.d.ts.map +1 -0
- package/dist/src/utils/constants.js +12 -0
- package/dist/src/utils/constants.js.map +1 -0
- package/dist/src/utils/events.d.ts +7 -0
- package/dist/src/utils/events.d.ts.map +1 -0
- package/dist/src/utils/events.js +7 -0
- package/dist/src/utils/events.js.map +1 -0
- package/dist/src/utils/index.d.ts +8 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/index.js +9 -0
- package/dist/src/utils/index.js.map +1 -0
- package/dist/types/index.js +1 -2
- package/dist/utils/api/endpoints.js +3 -6
- package/dist/utils/api/endpoints.js.map +1 -1
- package/dist/utils/constants.js +2 -5
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/events.js +1 -4
- package/dist/utils/events.js.map +1 -1
- package/dist/utils/index.js +2 -7
- package/dist/utils/index.js.map +1 -1
- package/package.json +25 -20
- package/prisma/schema.prisma +3 -2
- package/prisma.config.ts +13 -0
- package/src/auth/admin.middleware.ts +2 -1
- package/src/auth/auth.guard.ts +11 -4
- package/src/auth/auth.module.ts +1 -1
- package/src/generated/prisma/browser.ts +139 -0
- package/src/generated/prisma/client.ts +163 -0
- package/src/generated/prisma/commonInputTypes.ts +1102 -0
- package/src/generated/prisma/enums.ts +173 -0
- package/src/generated/prisma/internal/class.ts +434 -0
- package/src/generated/prisma/internal/prismaNamespace.ts +3141 -0
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +489 -0
- package/src/generated/prisma/models/Account.ts +1384 -0
- package/src/generated/prisma/models/Address.ts +1791 -0
- package/src/generated/prisma/models/Chat.ts +1676 -0
- package/src/generated/prisma/models/ChatUser.ts +1465 -0
- package/src/generated/prisma/models/Country.ts +1361 -0
- package/src/generated/prisma/models/Event.ts +4258 -0
- package/src/generated/prisma/models/EventCategory.ts +1919 -0
- package/src/generated/prisma/models/EventPrice.ts +1657 -0
- package/src/generated/prisma/models/Favorite.ts +1465 -0
- package/src/generated/prisma/models/Feedback.ts +1513 -0
- package/src/generated/prisma/models/Message.ts +1541 -0
- package/src/generated/prisma/models/Newsletter.ts +1153 -0
- package/src/generated/prisma/models/Notification.ts +1605 -0
- package/src/generated/prisma/models/Order.ts +1883 -0
- package/src/generated/prisma/models/OrderItem.ts +1641 -0
- package/src/generated/prisma/models/Pricing.ts +1576 -0
- package/src/generated/prisma/models/Provider.ts +2577 -0
- package/src/generated/prisma/models/ProviderCategory.ts +1712 -0
- package/src/generated/prisma/models/ProviderOnEvent.ts +1510 -0
- package/src/generated/prisma/models/Report.ts +1506 -0
- package/src/generated/prisma/models/Review.ts +1591 -0
- package/src/generated/prisma/models/Transaction.ts +1741 -0
- package/src/generated/prisma/models/User.ts +4124 -0
- package/src/generated/prisma/models/UserInterests.ts +1447 -0
- package/src/generated/prisma/models.ts +35 -0
- package/src/index.ts +1 -1
- package/src/prisma/prisma.service.ts +10 -1
- package/src/prisma/seed.ts +8 -3
- package/tsconfig.json +13 -7
|
@@ -0,0 +1,2577 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `Provider` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model Provider
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ProviderModel = runtime.Types.Result.DefaultSelection<Prisma.$ProviderPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateProvider = {
|
|
22
|
+
_count: ProviderCountAggregateOutputType | null
|
|
23
|
+
_avg: ProviderAvgAggregateOutputType | null
|
|
24
|
+
_sum: ProviderSumAggregateOutputType | null
|
|
25
|
+
_min: ProviderMinAggregateOutputType | null
|
|
26
|
+
_max: ProviderMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ProviderAvgAggregateOutputType = {
|
|
30
|
+
rating: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ProviderSumAggregateOutputType = {
|
|
34
|
+
rating: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type ProviderMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
name: string | null
|
|
40
|
+
description: string | null
|
|
41
|
+
image: string | null
|
|
42
|
+
userId: string | null
|
|
43
|
+
status: $Enums.ProviderStatus | null
|
|
44
|
+
createdAt: Date | null
|
|
45
|
+
updatedAt: Date | null
|
|
46
|
+
addressId: string | null
|
|
47
|
+
categoryId: string | null
|
|
48
|
+
email: string | null
|
|
49
|
+
phoneNumber: string | null
|
|
50
|
+
pricingDetails: string | null
|
|
51
|
+
rating: number | null
|
|
52
|
+
website: string | null
|
|
53
|
+
location: string | null
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type ProviderMaxAggregateOutputType = {
|
|
57
|
+
id: string | null
|
|
58
|
+
name: string | null
|
|
59
|
+
description: string | null
|
|
60
|
+
image: string | null
|
|
61
|
+
userId: string | null
|
|
62
|
+
status: $Enums.ProviderStatus | null
|
|
63
|
+
createdAt: Date | null
|
|
64
|
+
updatedAt: Date | null
|
|
65
|
+
addressId: string | null
|
|
66
|
+
categoryId: string | null
|
|
67
|
+
email: string | null
|
|
68
|
+
phoneNumber: string | null
|
|
69
|
+
pricingDetails: string | null
|
|
70
|
+
rating: number | null
|
|
71
|
+
website: string | null
|
|
72
|
+
location: string | null
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type ProviderCountAggregateOutputType = {
|
|
76
|
+
id: number
|
|
77
|
+
name: number
|
|
78
|
+
description: number
|
|
79
|
+
image: number
|
|
80
|
+
userId: number
|
|
81
|
+
status: number
|
|
82
|
+
createdAt: number
|
|
83
|
+
updatedAt: number
|
|
84
|
+
addressId: number
|
|
85
|
+
categoryId: number
|
|
86
|
+
docs: number
|
|
87
|
+
email: number
|
|
88
|
+
phoneNumber: number
|
|
89
|
+
pricingDetails: number
|
|
90
|
+
rating: number
|
|
91
|
+
website: number
|
|
92
|
+
location: number
|
|
93
|
+
_all: number
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
export type ProviderAvgAggregateInputType = {
|
|
98
|
+
rating?: true
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export type ProviderSumAggregateInputType = {
|
|
102
|
+
rating?: true
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export type ProviderMinAggregateInputType = {
|
|
106
|
+
id?: true
|
|
107
|
+
name?: true
|
|
108
|
+
description?: true
|
|
109
|
+
image?: true
|
|
110
|
+
userId?: true
|
|
111
|
+
status?: true
|
|
112
|
+
createdAt?: true
|
|
113
|
+
updatedAt?: true
|
|
114
|
+
addressId?: true
|
|
115
|
+
categoryId?: true
|
|
116
|
+
email?: true
|
|
117
|
+
phoneNumber?: true
|
|
118
|
+
pricingDetails?: true
|
|
119
|
+
rating?: true
|
|
120
|
+
website?: true
|
|
121
|
+
location?: true
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export type ProviderMaxAggregateInputType = {
|
|
125
|
+
id?: true
|
|
126
|
+
name?: true
|
|
127
|
+
description?: true
|
|
128
|
+
image?: true
|
|
129
|
+
userId?: true
|
|
130
|
+
status?: true
|
|
131
|
+
createdAt?: true
|
|
132
|
+
updatedAt?: true
|
|
133
|
+
addressId?: true
|
|
134
|
+
categoryId?: true
|
|
135
|
+
email?: true
|
|
136
|
+
phoneNumber?: true
|
|
137
|
+
pricingDetails?: true
|
|
138
|
+
rating?: true
|
|
139
|
+
website?: true
|
|
140
|
+
location?: true
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export type ProviderCountAggregateInputType = {
|
|
144
|
+
id?: true
|
|
145
|
+
name?: true
|
|
146
|
+
description?: true
|
|
147
|
+
image?: true
|
|
148
|
+
userId?: true
|
|
149
|
+
status?: true
|
|
150
|
+
createdAt?: true
|
|
151
|
+
updatedAt?: true
|
|
152
|
+
addressId?: true
|
|
153
|
+
categoryId?: true
|
|
154
|
+
docs?: true
|
|
155
|
+
email?: true
|
|
156
|
+
phoneNumber?: true
|
|
157
|
+
pricingDetails?: true
|
|
158
|
+
rating?: true
|
|
159
|
+
website?: true
|
|
160
|
+
location?: true
|
|
161
|
+
_all?: true
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export type ProviderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
165
|
+
/**
|
|
166
|
+
* Filter which Provider to aggregate.
|
|
167
|
+
*/
|
|
168
|
+
where?: Prisma.ProviderWhereInput
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
171
|
+
*
|
|
172
|
+
* Determine the order of Providers to fetch.
|
|
173
|
+
*/
|
|
174
|
+
orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[]
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
177
|
+
*
|
|
178
|
+
* Sets the start position
|
|
179
|
+
*/
|
|
180
|
+
cursor?: Prisma.ProviderWhereUniqueInput
|
|
181
|
+
/**
|
|
182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
183
|
+
*
|
|
184
|
+
* Take `±n` Providers from the position of the cursor.
|
|
185
|
+
*/
|
|
186
|
+
take?: number
|
|
187
|
+
/**
|
|
188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
189
|
+
*
|
|
190
|
+
* Skip the first `n` Providers.
|
|
191
|
+
*/
|
|
192
|
+
skip?: number
|
|
193
|
+
/**
|
|
194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
195
|
+
*
|
|
196
|
+
* Count returned Providers
|
|
197
|
+
**/
|
|
198
|
+
_count?: true | ProviderCountAggregateInputType
|
|
199
|
+
/**
|
|
200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
201
|
+
*
|
|
202
|
+
* Select which fields to average
|
|
203
|
+
**/
|
|
204
|
+
_avg?: ProviderAvgAggregateInputType
|
|
205
|
+
/**
|
|
206
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
207
|
+
*
|
|
208
|
+
* Select which fields to sum
|
|
209
|
+
**/
|
|
210
|
+
_sum?: ProviderSumAggregateInputType
|
|
211
|
+
/**
|
|
212
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
213
|
+
*
|
|
214
|
+
* Select which fields to find the minimum value
|
|
215
|
+
**/
|
|
216
|
+
_min?: ProviderMinAggregateInputType
|
|
217
|
+
/**
|
|
218
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
219
|
+
*
|
|
220
|
+
* Select which fields to find the maximum value
|
|
221
|
+
**/
|
|
222
|
+
_max?: ProviderMaxAggregateInputType
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export type GetProviderAggregateType<T extends ProviderAggregateArgs> = {
|
|
226
|
+
[P in keyof T & keyof AggregateProvider]: P extends '_count' | 'count'
|
|
227
|
+
? T[P] extends true
|
|
228
|
+
? number
|
|
229
|
+
: Prisma.GetScalarType<T[P], AggregateProvider[P]>
|
|
230
|
+
: Prisma.GetScalarType<T[P], AggregateProvider[P]>
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
export type ProviderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
237
|
+
where?: Prisma.ProviderWhereInput
|
|
238
|
+
orderBy?: Prisma.ProviderOrderByWithAggregationInput | Prisma.ProviderOrderByWithAggregationInput[]
|
|
239
|
+
by: Prisma.ProviderScalarFieldEnum[] | Prisma.ProviderScalarFieldEnum
|
|
240
|
+
having?: Prisma.ProviderScalarWhereWithAggregatesInput
|
|
241
|
+
take?: number
|
|
242
|
+
skip?: number
|
|
243
|
+
_count?: ProviderCountAggregateInputType | true
|
|
244
|
+
_avg?: ProviderAvgAggregateInputType
|
|
245
|
+
_sum?: ProviderSumAggregateInputType
|
|
246
|
+
_min?: ProviderMinAggregateInputType
|
|
247
|
+
_max?: ProviderMaxAggregateInputType
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type ProviderGroupByOutputType = {
|
|
251
|
+
id: string
|
|
252
|
+
name: string
|
|
253
|
+
description: string | null
|
|
254
|
+
image: string | null
|
|
255
|
+
userId: string
|
|
256
|
+
status: $Enums.ProviderStatus
|
|
257
|
+
createdAt: Date
|
|
258
|
+
updatedAt: Date
|
|
259
|
+
addressId: string | null
|
|
260
|
+
categoryId: string
|
|
261
|
+
docs: runtime.JsonValue | null
|
|
262
|
+
email: string | null
|
|
263
|
+
phoneNumber: string | null
|
|
264
|
+
pricingDetails: string | null
|
|
265
|
+
rating: number | null
|
|
266
|
+
website: string | null
|
|
267
|
+
location: string | null
|
|
268
|
+
_count: ProviderCountAggregateOutputType | null
|
|
269
|
+
_avg: ProviderAvgAggregateOutputType | null
|
|
270
|
+
_sum: ProviderSumAggregateOutputType | null
|
|
271
|
+
_min: ProviderMinAggregateOutputType | null
|
|
272
|
+
_max: ProviderMaxAggregateOutputType | null
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type GetProviderGroupByPayload<T extends ProviderGroupByArgs> = Prisma.PrismaPromise<
|
|
276
|
+
Array<
|
|
277
|
+
Prisma.PickEnumerable<ProviderGroupByOutputType, T['by']> &
|
|
278
|
+
{
|
|
279
|
+
[P in ((keyof T) & (keyof ProviderGroupByOutputType))]: P extends '_count'
|
|
280
|
+
? T[P] extends boolean
|
|
281
|
+
? number
|
|
282
|
+
: Prisma.GetScalarType<T[P], ProviderGroupByOutputType[P]>
|
|
283
|
+
: Prisma.GetScalarType<T[P], ProviderGroupByOutputType[P]>
|
|
284
|
+
}
|
|
285
|
+
>
|
|
286
|
+
>
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
export type ProviderWhereInput = {
|
|
291
|
+
AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
|
292
|
+
OR?: Prisma.ProviderWhereInput[]
|
|
293
|
+
NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
|
294
|
+
id?: Prisma.StringFilter<"Provider"> | string
|
|
295
|
+
name?: Prisma.StringFilter<"Provider"> | string
|
|
296
|
+
description?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
297
|
+
image?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
298
|
+
userId?: Prisma.StringFilter<"Provider"> | string
|
|
299
|
+
status?: Prisma.EnumProviderStatusFilter<"Provider"> | $Enums.ProviderStatus
|
|
300
|
+
createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
|
301
|
+
updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
|
302
|
+
addressId?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
303
|
+
categoryId?: Prisma.StringFilter<"Provider"> | string
|
|
304
|
+
docs?: Prisma.JsonNullableFilter<"Provider">
|
|
305
|
+
email?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
306
|
+
phoneNumber?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
307
|
+
pricingDetails?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
308
|
+
rating?: Prisma.FloatNullableFilter<"Provider"> | number | null
|
|
309
|
+
website?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
310
|
+
location?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
311
|
+
address?: Prisma.XOR<Prisma.AddressNullableScalarRelationFilter, Prisma.AddressWhereInput> | null
|
|
312
|
+
category?: Prisma.XOR<Prisma.ProviderCategoryScalarRelationFilter, Prisma.ProviderCategoryWhereInput>
|
|
313
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
314
|
+
reviews?: Prisma.ReviewListRelationFilter
|
|
315
|
+
events?: Prisma.ProviderOnEventListRelationFilter
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type ProviderOrderByWithRelationInput = {
|
|
319
|
+
id?: Prisma.SortOrder
|
|
320
|
+
name?: Prisma.SortOrder
|
|
321
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
322
|
+
image?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
323
|
+
userId?: Prisma.SortOrder
|
|
324
|
+
status?: Prisma.SortOrder
|
|
325
|
+
createdAt?: Prisma.SortOrder
|
|
326
|
+
updatedAt?: Prisma.SortOrder
|
|
327
|
+
addressId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
328
|
+
categoryId?: Prisma.SortOrder
|
|
329
|
+
docs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
330
|
+
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
331
|
+
phoneNumber?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
332
|
+
pricingDetails?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
333
|
+
rating?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
334
|
+
website?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
335
|
+
location?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
336
|
+
address?: Prisma.AddressOrderByWithRelationInput
|
|
337
|
+
category?: Prisma.ProviderCategoryOrderByWithRelationInput
|
|
338
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
339
|
+
reviews?: Prisma.ReviewOrderByRelationAggregateInput
|
|
340
|
+
events?: Prisma.ProviderOnEventOrderByRelationAggregateInput
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type ProviderWhereUniqueInput = Prisma.AtLeast<{
|
|
344
|
+
id?: string
|
|
345
|
+
AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
|
346
|
+
OR?: Prisma.ProviderWhereInput[]
|
|
347
|
+
NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
|
348
|
+
name?: Prisma.StringFilter<"Provider"> | string
|
|
349
|
+
description?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
350
|
+
image?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
351
|
+
userId?: Prisma.StringFilter<"Provider"> | string
|
|
352
|
+
status?: Prisma.EnumProviderStatusFilter<"Provider"> | $Enums.ProviderStatus
|
|
353
|
+
createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
|
354
|
+
updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
|
355
|
+
addressId?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
356
|
+
categoryId?: Prisma.StringFilter<"Provider"> | string
|
|
357
|
+
docs?: Prisma.JsonNullableFilter<"Provider">
|
|
358
|
+
email?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
359
|
+
phoneNumber?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
360
|
+
pricingDetails?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
361
|
+
rating?: Prisma.FloatNullableFilter<"Provider"> | number | null
|
|
362
|
+
website?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
363
|
+
location?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
364
|
+
address?: Prisma.XOR<Prisma.AddressNullableScalarRelationFilter, Prisma.AddressWhereInput> | null
|
|
365
|
+
category?: Prisma.XOR<Prisma.ProviderCategoryScalarRelationFilter, Prisma.ProviderCategoryWhereInput>
|
|
366
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
367
|
+
reviews?: Prisma.ReviewListRelationFilter
|
|
368
|
+
events?: Prisma.ProviderOnEventListRelationFilter
|
|
369
|
+
}, "id">
|
|
370
|
+
|
|
371
|
+
export type ProviderOrderByWithAggregationInput = {
|
|
372
|
+
id?: Prisma.SortOrder
|
|
373
|
+
name?: Prisma.SortOrder
|
|
374
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
375
|
+
image?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
376
|
+
userId?: Prisma.SortOrder
|
|
377
|
+
status?: Prisma.SortOrder
|
|
378
|
+
createdAt?: Prisma.SortOrder
|
|
379
|
+
updatedAt?: Prisma.SortOrder
|
|
380
|
+
addressId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
381
|
+
categoryId?: Prisma.SortOrder
|
|
382
|
+
docs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
383
|
+
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
384
|
+
phoneNumber?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
385
|
+
pricingDetails?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
386
|
+
rating?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
387
|
+
website?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
388
|
+
location?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
389
|
+
_count?: Prisma.ProviderCountOrderByAggregateInput
|
|
390
|
+
_avg?: Prisma.ProviderAvgOrderByAggregateInput
|
|
391
|
+
_max?: Prisma.ProviderMaxOrderByAggregateInput
|
|
392
|
+
_min?: Prisma.ProviderMinOrderByAggregateInput
|
|
393
|
+
_sum?: Prisma.ProviderSumOrderByAggregateInput
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type ProviderScalarWhereWithAggregatesInput = {
|
|
397
|
+
AND?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[]
|
|
398
|
+
OR?: Prisma.ProviderScalarWhereWithAggregatesInput[]
|
|
399
|
+
NOT?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[]
|
|
400
|
+
id?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
|
401
|
+
name?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
|
402
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
403
|
+
image?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
404
|
+
userId?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
|
405
|
+
status?: Prisma.EnumProviderStatusWithAggregatesFilter<"Provider"> | $Enums.ProviderStatus
|
|
406
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string
|
|
407
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string
|
|
408
|
+
addressId?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
409
|
+
categoryId?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
|
410
|
+
docs?: Prisma.JsonNullableWithAggregatesFilter<"Provider">
|
|
411
|
+
email?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
412
|
+
phoneNumber?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
413
|
+
pricingDetails?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
414
|
+
rating?: Prisma.FloatNullableWithAggregatesFilter<"Provider"> | number | null
|
|
415
|
+
website?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
416
|
+
location?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type ProviderCreateInput = {
|
|
420
|
+
id?: string
|
|
421
|
+
name: string
|
|
422
|
+
description?: string | null
|
|
423
|
+
image?: string | null
|
|
424
|
+
status?: $Enums.ProviderStatus
|
|
425
|
+
createdAt?: Date | string
|
|
426
|
+
updatedAt?: Date | string
|
|
427
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
428
|
+
email?: string | null
|
|
429
|
+
phoneNumber?: string | null
|
|
430
|
+
pricingDetails?: string | null
|
|
431
|
+
rating?: number | null
|
|
432
|
+
website?: string | null
|
|
433
|
+
location?: string | null
|
|
434
|
+
address?: Prisma.AddressCreateNestedOneWithoutProviderInput
|
|
435
|
+
category: Prisma.ProviderCategoryCreateNestedOneWithoutProvidersInput
|
|
436
|
+
user: Prisma.UserCreateNestedOneWithoutProvidersInput
|
|
437
|
+
reviews?: Prisma.ReviewCreateNestedManyWithoutProviderInput
|
|
438
|
+
events?: Prisma.ProviderOnEventCreateNestedManyWithoutProviderInput
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export type ProviderUncheckedCreateInput = {
|
|
442
|
+
id?: string
|
|
443
|
+
name: string
|
|
444
|
+
description?: string | null
|
|
445
|
+
image?: string | null
|
|
446
|
+
userId: string
|
|
447
|
+
status?: $Enums.ProviderStatus
|
|
448
|
+
createdAt?: Date | string
|
|
449
|
+
updatedAt?: Date | string
|
|
450
|
+
addressId?: string | null
|
|
451
|
+
categoryId: string
|
|
452
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
453
|
+
email?: string | null
|
|
454
|
+
phoneNumber?: string | null
|
|
455
|
+
pricingDetails?: string | null
|
|
456
|
+
rating?: number | null
|
|
457
|
+
website?: string | null
|
|
458
|
+
location?: string | null
|
|
459
|
+
reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutProviderInput
|
|
460
|
+
events?: Prisma.ProviderOnEventUncheckedCreateNestedManyWithoutProviderInput
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export type ProviderUpdateInput = {
|
|
464
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
465
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
466
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
467
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
468
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
469
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
470
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
471
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
472
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
473
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
474
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
475
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
476
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
477
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
478
|
+
address?: Prisma.AddressUpdateOneWithoutProviderNestedInput
|
|
479
|
+
category?: Prisma.ProviderCategoryUpdateOneRequiredWithoutProvidersNestedInput
|
|
480
|
+
user?: Prisma.UserUpdateOneRequiredWithoutProvidersNestedInput
|
|
481
|
+
reviews?: Prisma.ReviewUpdateManyWithoutProviderNestedInput
|
|
482
|
+
events?: Prisma.ProviderOnEventUpdateManyWithoutProviderNestedInput
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export type ProviderUncheckedUpdateInput = {
|
|
486
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
487
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
488
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
489
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
490
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
491
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
492
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
493
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
494
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
495
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
496
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
497
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
498
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
499
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
500
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
501
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
502
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
503
|
+
reviews?: Prisma.ReviewUncheckedUpdateManyWithoutProviderNestedInput
|
|
504
|
+
events?: Prisma.ProviderOnEventUncheckedUpdateManyWithoutProviderNestedInput
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export type ProviderCreateManyInput = {
|
|
508
|
+
id?: string
|
|
509
|
+
name: string
|
|
510
|
+
description?: string | null
|
|
511
|
+
image?: string | null
|
|
512
|
+
userId: string
|
|
513
|
+
status?: $Enums.ProviderStatus
|
|
514
|
+
createdAt?: Date | string
|
|
515
|
+
updatedAt?: Date | string
|
|
516
|
+
addressId?: string | null
|
|
517
|
+
categoryId: string
|
|
518
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
519
|
+
email?: string | null
|
|
520
|
+
phoneNumber?: string | null
|
|
521
|
+
pricingDetails?: string | null
|
|
522
|
+
rating?: number | null
|
|
523
|
+
website?: string | null
|
|
524
|
+
location?: string | null
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export type ProviderUpdateManyMutationInput = {
|
|
528
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
529
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
530
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
531
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
532
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
533
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
534
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
535
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
536
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
537
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
538
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
539
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
540
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
541
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export type ProviderUncheckedUpdateManyInput = {
|
|
545
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
546
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
547
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
548
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
549
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
550
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
551
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
552
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
553
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
554
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
555
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
556
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
557
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
558
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
559
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
560
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
561
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export type ProviderListRelationFilter = {
|
|
565
|
+
every?: Prisma.ProviderWhereInput
|
|
566
|
+
some?: Prisma.ProviderWhereInput
|
|
567
|
+
none?: Prisma.ProviderWhereInput
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export type ProviderOrderByRelationAggregateInput = {
|
|
571
|
+
_count?: Prisma.SortOrder
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export type ProviderCountOrderByAggregateInput = {
|
|
575
|
+
id?: Prisma.SortOrder
|
|
576
|
+
name?: Prisma.SortOrder
|
|
577
|
+
description?: Prisma.SortOrder
|
|
578
|
+
image?: Prisma.SortOrder
|
|
579
|
+
userId?: Prisma.SortOrder
|
|
580
|
+
status?: Prisma.SortOrder
|
|
581
|
+
createdAt?: Prisma.SortOrder
|
|
582
|
+
updatedAt?: Prisma.SortOrder
|
|
583
|
+
addressId?: Prisma.SortOrder
|
|
584
|
+
categoryId?: Prisma.SortOrder
|
|
585
|
+
docs?: Prisma.SortOrder
|
|
586
|
+
email?: Prisma.SortOrder
|
|
587
|
+
phoneNumber?: Prisma.SortOrder
|
|
588
|
+
pricingDetails?: Prisma.SortOrder
|
|
589
|
+
rating?: Prisma.SortOrder
|
|
590
|
+
website?: Prisma.SortOrder
|
|
591
|
+
location?: Prisma.SortOrder
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export type ProviderAvgOrderByAggregateInput = {
|
|
595
|
+
rating?: Prisma.SortOrder
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export type ProviderMaxOrderByAggregateInput = {
|
|
599
|
+
id?: Prisma.SortOrder
|
|
600
|
+
name?: Prisma.SortOrder
|
|
601
|
+
description?: Prisma.SortOrder
|
|
602
|
+
image?: Prisma.SortOrder
|
|
603
|
+
userId?: Prisma.SortOrder
|
|
604
|
+
status?: Prisma.SortOrder
|
|
605
|
+
createdAt?: Prisma.SortOrder
|
|
606
|
+
updatedAt?: Prisma.SortOrder
|
|
607
|
+
addressId?: Prisma.SortOrder
|
|
608
|
+
categoryId?: Prisma.SortOrder
|
|
609
|
+
email?: Prisma.SortOrder
|
|
610
|
+
phoneNumber?: Prisma.SortOrder
|
|
611
|
+
pricingDetails?: Prisma.SortOrder
|
|
612
|
+
rating?: Prisma.SortOrder
|
|
613
|
+
website?: Prisma.SortOrder
|
|
614
|
+
location?: Prisma.SortOrder
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export type ProviderMinOrderByAggregateInput = {
|
|
618
|
+
id?: Prisma.SortOrder
|
|
619
|
+
name?: Prisma.SortOrder
|
|
620
|
+
description?: Prisma.SortOrder
|
|
621
|
+
image?: Prisma.SortOrder
|
|
622
|
+
userId?: Prisma.SortOrder
|
|
623
|
+
status?: Prisma.SortOrder
|
|
624
|
+
createdAt?: Prisma.SortOrder
|
|
625
|
+
updatedAt?: Prisma.SortOrder
|
|
626
|
+
addressId?: Prisma.SortOrder
|
|
627
|
+
categoryId?: Prisma.SortOrder
|
|
628
|
+
email?: Prisma.SortOrder
|
|
629
|
+
phoneNumber?: Prisma.SortOrder
|
|
630
|
+
pricingDetails?: Prisma.SortOrder
|
|
631
|
+
rating?: Prisma.SortOrder
|
|
632
|
+
website?: Prisma.SortOrder
|
|
633
|
+
location?: Prisma.SortOrder
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export type ProviderSumOrderByAggregateInput = {
|
|
637
|
+
rating?: Prisma.SortOrder
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export type ProviderScalarRelationFilter = {
|
|
641
|
+
is?: Prisma.ProviderWhereInput
|
|
642
|
+
isNot?: Prisma.ProviderWhereInput
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export type ProviderCreateNestedManyWithoutUserInput = {
|
|
646
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutUserInput, Prisma.ProviderUncheckedCreateWithoutUserInput> | Prisma.ProviderCreateWithoutUserInput[] | Prisma.ProviderUncheckedCreateWithoutUserInput[]
|
|
647
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutUserInput | Prisma.ProviderCreateOrConnectWithoutUserInput[]
|
|
648
|
+
createMany?: Prisma.ProviderCreateManyUserInputEnvelope
|
|
649
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export type ProviderUncheckedCreateNestedManyWithoutUserInput = {
|
|
653
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutUserInput, Prisma.ProviderUncheckedCreateWithoutUserInput> | Prisma.ProviderCreateWithoutUserInput[] | Prisma.ProviderUncheckedCreateWithoutUserInput[]
|
|
654
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutUserInput | Prisma.ProviderCreateOrConnectWithoutUserInput[]
|
|
655
|
+
createMany?: Prisma.ProviderCreateManyUserInputEnvelope
|
|
656
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export type ProviderUpdateManyWithoutUserNestedInput = {
|
|
660
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutUserInput, Prisma.ProviderUncheckedCreateWithoutUserInput> | Prisma.ProviderCreateWithoutUserInput[] | Prisma.ProviderUncheckedCreateWithoutUserInput[]
|
|
661
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutUserInput | Prisma.ProviderCreateOrConnectWithoutUserInput[]
|
|
662
|
+
upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutUserInput | Prisma.ProviderUpsertWithWhereUniqueWithoutUserInput[]
|
|
663
|
+
createMany?: Prisma.ProviderCreateManyUserInputEnvelope
|
|
664
|
+
set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
665
|
+
disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
666
|
+
delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
667
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
668
|
+
update?: Prisma.ProviderUpdateWithWhereUniqueWithoutUserInput | Prisma.ProviderUpdateWithWhereUniqueWithoutUserInput[]
|
|
669
|
+
updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutUserInput | Prisma.ProviderUpdateManyWithWhereWithoutUserInput[]
|
|
670
|
+
deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export type ProviderUncheckedUpdateManyWithoutUserNestedInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutUserInput, Prisma.ProviderUncheckedCreateWithoutUserInput> | Prisma.ProviderCreateWithoutUserInput[] | Prisma.ProviderUncheckedCreateWithoutUserInput[]
|
|
675
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutUserInput | Prisma.ProviderCreateOrConnectWithoutUserInput[]
|
|
676
|
+
upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutUserInput | Prisma.ProviderUpsertWithWhereUniqueWithoutUserInput[]
|
|
677
|
+
createMany?: Prisma.ProviderCreateManyUserInputEnvelope
|
|
678
|
+
set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
679
|
+
disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
680
|
+
delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
681
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
682
|
+
update?: Prisma.ProviderUpdateWithWhereUniqueWithoutUserInput | Prisma.ProviderUpdateWithWhereUniqueWithoutUserInput[]
|
|
683
|
+
updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutUserInput | Prisma.ProviderUpdateManyWithWhereWithoutUserInput[]
|
|
684
|
+
deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export type ProviderCreateNestedManyWithoutAddressInput = {
|
|
688
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutAddressInput, Prisma.ProviderUncheckedCreateWithoutAddressInput> | Prisma.ProviderCreateWithoutAddressInput[] | Prisma.ProviderUncheckedCreateWithoutAddressInput[]
|
|
689
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAddressInput | Prisma.ProviderCreateOrConnectWithoutAddressInput[]
|
|
690
|
+
createMany?: Prisma.ProviderCreateManyAddressInputEnvelope
|
|
691
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type ProviderUncheckedCreateNestedManyWithoutAddressInput = {
|
|
695
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutAddressInput, Prisma.ProviderUncheckedCreateWithoutAddressInput> | Prisma.ProviderCreateWithoutAddressInput[] | Prisma.ProviderUncheckedCreateWithoutAddressInput[]
|
|
696
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAddressInput | Prisma.ProviderCreateOrConnectWithoutAddressInput[]
|
|
697
|
+
createMany?: Prisma.ProviderCreateManyAddressInputEnvelope
|
|
698
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
export type ProviderUpdateManyWithoutAddressNestedInput = {
|
|
702
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutAddressInput, Prisma.ProviderUncheckedCreateWithoutAddressInput> | Prisma.ProviderCreateWithoutAddressInput[] | Prisma.ProviderUncheckedCreateWithoutAddressInput[]
|
|
703
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAddressInput | Prisma.ProviderCreateOrConnectWithoutAddressInput[]
|
|
704
|
+
upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutAddressInput | Prisma.ProviderUpsertWithWhereUniqueWithoutAddressInput[]
|
|
705
|
+
createMany?: Prisma.ProviderCreateManyAddressInputEnvelope
|
|
706
|
+
set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
707
|
+
disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
708
|
+
delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
709
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
710
|
+
update?: Prisma.ProviderUpdateWithWhereUniqueWithoutAddressInput | Prisma.ProviderUpdateWithWhereUniqueWithoutAddressInput[]
|
|
711
|
+
updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutAddressInput | Prisma.ProviderUpdateManyWithWhereWithoutAddressInput[]
|
|
712
|
+
deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export type ProviderUncheckedUpdateManyWithoutAddressNestedInput = {
|
|
716
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutAddressInput, Prisma.ProviderUncheckedCreateWithoutAddressInput> | Prisma.ProviderCreateWithoutAddressInput[] | Prisma.ProviderUncheckedCreateWithoutAddressInput[]
|
|
717
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAddressInput | Prisma.ProviderCreateOrConnectWithoutAddressInput[]
|
|
718
|
+
upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutAddressInput | Prisma.ProviderUpsertWithWhereUniqueWithoutAddressInput[]
|
|
719
|
+
createMany?: Prisma.ProviderCreateManyAddressInputEnvelope
|
|
720
|
+
set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
721
|
+
disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
722
|
+
delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
723
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
724
|
+
update?: Prisma.ProviderUpdateWithWhereUniqueWithoutAddressInput | Prisma.ProviderUpdateWithWhereUniqueWithoutAddressInput[]
|
|
725
|
+
updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutAddressInput | Prisma.ProviderUpdateManyWithWhereWithoutAddressInput[]
|
|
726
|
+
deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export type ProviderCreateNestedManyWithoutCategoryInput = {
|
|
730
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutCategoryInput, Prisma.ProviderUncheckedCreateWithoutCategoryInput> | Prisma.ProviderCreateWithoutCategoryInput[] | Prisma.ProviderUncheckedCreateWithoutCategoryInput[]
|
|
731
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutCategoryInput | Prisma.ProviderCreateOrConnectWithoutCategoryInput[]
|
|
732
|
+
createMany?: Prisma.ProviderCreateManyCategoryInputEnvelope
|
|
733
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type ProviderUncheckedCreateNestedManyWithoutCategoryInput = {
|
|
737
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutCategoryInput, Prisma.ProviderUncheckedCreateWithoutCategoryInput> | Prisma.ProviderCreateWithoutCategoryInput[] | Prisma.ProviderUncheckedCreateWithoutCategoryInput[]
|
|
738
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutCategoryInput | Prisma.ProviderCreateOrConnectWithoutCategoryInput[]
|
|
739
|
+
createMany?: Prisma.ProviderCreateManyCategoryInputEnvelope
|
|
740
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export type ProviderUpdateManyWithoutCategoryNestedInput = {
|
|
744
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutCategoryInput, Prisma.ProviderUncheckedCreateWithoutCategoryInput> | Prisma.ProviderCreateWithoutCategoryInput[] | Prisma.ProviderUncheckedCreateWithoutCategoryInput[]
|
|
745
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutCategoryInput | Prisma.ProviderCreateOrConnectWithoutCategoryInput[]
|
|
746
|
+
upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProviderUpsertWithWhereUniqueWithoutCategoryInput[]
|
|
747
|
+
createMany?: Prisma.ProviderCreateManyCategoryInputEnvelope
|
|
748
|
+
set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
749
|
+
disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
750
|
+
delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
751
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
752
|
+
update?: Prisma.ProviderUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProviderUpdateWithWhereUniqueWithoutCategoryInput[]
|
|
753
|
+
updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutCategoryInput | Prisma.ProviderUpdateManyWithWhereWithoutCategoryInput[]
|
|
754
|
+
deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
export type ProviderUncheckedUpdateManyWithoutCategoryNestedInput = {
|
|
758
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutCategoryInput, Prisma.ProviderUncheckedCreateWithoutCategoryInput> | Prisma.ProviderCreateWithoutCategoryInput[] | Prisma.ProviderUncheckedCreateWithoutCategoryInput[]
|
|
759
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutCategoryInput | Prisma.ProviderCreateOrConnectWithoutCategoryInput[]
|
|
760
|
+
upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProviderUpsertWithWhereUniqueWithoutCategoryInput[]
|
|
761
|
+
createMany?: Prisma.ProviderCreateManyCategoryInputEnvelope
|
|
762
|
+
set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
763
|
+
disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
764
|
+
delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
765
|
+
connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[]
|
|
766
|
+
update?: Prisma.ProviderUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProviderUpdateWithWhereUniqueWithoutCategoryInput[]
|
|
767
|
+
updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutCategoryInput | Prisma.ProviderUpdateManyWithWhereWithoutCategoryInput[]
|
|
768
|
+
deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
export type EnumProviderStatusFieldUpdateOperationsInput = {
|
|
772
|
+
set?: $Enums.ProviderStatus
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
export type ProviderCreateNestedOneWithoutEventsInput = {
|
|
776
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutEventsInput, Prisma.ProviderUncheckedCreateWithoutEventsInput>
|
|
777
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutEventsInput
|
|
778
|
+
connect?: Prisma.ProviderWhereUniqueInput
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export type ProviderUpdateOneRequiredWithoutEventsNestedInput = {
|
|
782
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutEventsInput, Prisma.ProviderUncheckedCreateWithoutEventsInput>
|
|
783
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutEventsInput
|
|
784
|
+
upsert?: Prisma.ProviderUpsertWithoutEventsInput
|
|
785
|
+
connect?: Prisma.ProviderWhereUniqueInput
|
|
786
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderUpdateToOneWithWhereWithoutEventsInput, Prisma.ProviderUpdateWithoutEventsInput>, Prisma.ProviderUncheckedUpdateWithoutEventsInput>
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export type ProviderCreateNestedOneWithoutReviewsInput = {
|
|
790
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutReviewsInput, Prisma.ProviderUncheckedCreateWithoutReviewsInput>
|
|
791
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutReviewsInput
|
|
792
|
+
connect?: Prisma.ProviderWhereUniqueInput
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export type ProviderUpdateOneRequiredWithoutReviewsNestedInput = {
|
|
796
|
+
create?: Prisma.XOR<Prisma.ProviderCreateWithoutReviewsInput, Prisma.ProviderUncheckedCreateWithoutReviewsInput>
|
|
797
|
+
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutReviewsInput
|
|
798
|
+
upsert?: Prisma.ProviderUpsertWithoutReviewsInput
|
|
799
|
+
connect?: Prisma.ProviderWhereUniqueInput
|
|
800
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderUpdateToOneWithWhereWithoutReviewsInput, Prisma.ProviderUpdateWithoutReviewsInput>, Prisma.ProviderUncheckedUpdateWithoutReviewsInput>
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
export type ProviderCreateWithoutUserInput = {
|
|
804
|
+
id?: string
|
|
805
|
+
name: string
|
|
806
|
+
description?: string | null
|
|
807
|
+
image?: string | null
|
|
808
|
+
status?: $Enums.ProviderStatus
|
|
809
|
+
createdAt?: Date | string
|
|
810
|
+
updatedAt?: Date | string
|
|
811
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
812
|
+
email?: string | null
|
|
813
|
+
phoneNumber?: string | null
|
|
814
|
+
pricingDetails?: string | null
|
|
815
|
+
rating?: number | null
|
|
816
|
+
website?: string | null
|
|
817
|
+
location?: string | null
|
|
818
|
+
address?: Prisma.AddressCreateNestedOneWithoutProviderInput
|
|
819
|
+
category: Prisma.ProviderCategoryCreateNestedOneWithoutProvidersInput
|
|
820
|
+
reviews?: Prisma.ReviewCreateNestedManyWithoutProviderInput
|
|
821
|
+
events?: Prisma.ProviderOnEventCreateNestedManyWithoutProviderInput
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export type ProviderUncheckedCreateWithoutUserInput = {
|
|
825
|
+
id?: string
|
|
826
|
+
name: string
|
|
827
|
+
description?: string | null
|
|
828
|
+
image?: string | null
|
|
829
|
+
status?: $Enums.ProviderStatus
|
|
830
|
+
createdAt?: Date | string
|
|
831
|
+
updatedAt?: Date | string
|
|
832
|
+
addressId?: string | null
|
|
833
|
+
categoryId: string
|
|
834
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
835
|
+
email?: string | null
|
|
836
|
+
phoneNumber?: string | null
|
|
837
|
+
pricingDetails?: string | null
|
|
838
|
+
rating?: number | null
|
|
839
|
+
website?: string | null
|
|
840
|
+
location?: string | null
|
|
841
|
+
reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutProviderInput
|
|
842
|
+
events?: Prisma.ProviderOnEventUncheckedCreateNestedManyWithoutProviderInput
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
export type ProviderCreateOrConnectWithoutUserInput = {
|
|
846
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
847
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutUserInput, Prisma.ProviderUncheckedCreateWithoutUserInput>
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export type ProviderCreateManyUserInputEnvelope = {
|
|
851
|
+
data: Prisma.ProviderCreateManyUserInput | Prisma.ProviderCreateManyUserInput[]
|
|
852
|
+
skipDuplicates?: boolean
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export type ProviderUpsertWithWhereUniqueWithoutUserInput = {
|
|
856
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
857
|
+
update: Prisma.XOR<Prisma.ProviderUpdateWithoutUserInput, Prisma.ProviderUncheckedUpdateWithoutUserInput>
|
|
858
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutUserInput, Prisma.ProviderUncheckedCreateWithoutUserInput>
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
export type ProviderUpdateWithWhereUniqueWithoutUserInput = {
|
|
862
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
863
|
+
data: Prisma.XOR<Prisma.ProviderUpdateWithoutUserInput, Prisma.ProviderUncheckedUpdateWithoutUserInput>
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export type ProviderUpdateManyWithWhereWithoutUserInput = {
|
|
867
|
+
where: Prisma.ProviderScalarWhereInput
|
|
868
|
+
data: Prisma.XOR<Prisma.ProviderUpdateManyMutationInput, Prisma.ProviderUncheckedUpdateManyWithoutUserInput>
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export type ProviderScalarWhereInput = {
|
|
872
|
+
AND?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
873
|
+
OR?: Prisma.ProviderScalarWhereInput[]
|
|
874
|
+
NOT?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[]
|
|
875
|
+
id?: Prisma.StringFilter<"Provider"> | string
|
|
876
|
+
name?: Prisma.StringFilter<"Provider"> | string
|
|
877
|
+
description?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
878
|
+
image?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
879
|
+
userId?: Prisma.StringFilter<"Provider"> | string
|
|
880
|
+
status?: Prisma.EnumProviderStatusFilter<"Provider"> | $Enums.ProviderStatus
|
|
881
|
+
createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
|
882
|
+
updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
|
883
|
+
addressId?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
884
|
+
categoryId?: Prisma.StringFilter<"Provider"> | string
|
|
885
|
+
docs?: Prisma.JsonNullableFilter<"Provider">
|
|
886
|
+
email?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
887
|
+
phoneNumber?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
888
|
+
pricingDetails?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
889
|
+
rating?: Prisma.FloatNullableFilter<"Provider"> | number | null
|
|
890
|
+
website?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
891
|
+
location?: Prisma.StringNullableFilter<"Provider"> | string | null
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
export type ProviderCreateWithoutAddressInput = {
|
|
895
|
+
id?: string
|
|
896
|
+
name: string
|
|
897
|
+
description?: string | null
|
|
898
|
+
image?: string | null
|
|
899
|
+
status?: $Enums.ProviderStatus
|
|
900
|
+
createdAt?: Date | string
|
|
901
|
+
updatedAt?: Date | string
|
|
902
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
903
|
+
email?: string | null
|
|
904
|
+
phoneNumber?: string | null
|
|
905
|
+
pricingDetails?: string | null
|
|
906
|
+
rating?: number | null
|
|
907
|
+
website?: string | null
|
|
908
|
+
location?: string | null
|
|
909
|
+
category: Prisma.ProviderCategoryCreateNestedOneWithoutProvidersInput
|
|
910
|
+
user: Prisma.UserCreateNestedOneWithoutProvidersInput
|
|
911
|
+
reviews?: Prisma.ReviewCreateNestedManyWithoutProviderInput
|
|
912
|
+
events?: Prisma.ProviderOnEventCreateNestedManyWithoutProviderInput
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export type ProviderUncheckedCreateWithoutAddressInput = {
|
|
916
|
+
id?: string
|
|
917
|
+
name: string
|
|
918
|
+
description?: string | null
|
|
919
|
+
image?: string | null
|
|
920
|
+
userId: string
|
|
921
|
+
status?: $Enums.ProviderStatus
|
|
922
|
+
createdAt?: Date | string
|
|
923
|
+
updatedAt?: Date | string
|
|
924
|
+
categoryId: string
|
|
925
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
926
|
+
email?: string | null
|
|
927
|
+
phoneNumber?: string | null
|
|
928
|
+
pricingDetails?: string | null
|
|
929
|
+
rating?: number | null
|
|
930
|
+
website?: string | null
|
|
931
|
+
location?: string | null
|
|
932
|
+
reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutProviderInput
|
|
933
|
+
events?: Prisma.ProviderOnEventUncheckedCreateNestedManyWithoutProviderInput
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
export type ProviderCreateOrConnectWithoutAddressInput = {
|
|
937
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
938
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutAddressInput, Prisma.ProviderUncheckedCreateWithoutAddressInput>
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export type ProviderCreateManyAddressInputEnvelope = {
|
|
942
|
+
data: Prisma.ProviderCreateManyAddressInput | Prisma.ProviderCreateManyAddressInput[]
|
|
943
|
+
skipDuplicates?: boolean
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export type ProviderUpsertWithWhereUniqueWithoutAddressInput = {
|
|
947
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
948
|
+
update: Prisma.XOR<Prisma.ProviderUpdateWithoutAddressInput, Prisma.ProviderUncheckedUpdateWithoutAddressInput>
|
|
949
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutAddressInput, Prisma.ProviderUncheckedCreateWithoutAddressInput>
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
export type ProviderUpdateWithWhereUniqueWithoutAddressInput = {
|
|
953
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
954
|
+
data: Prisma.XOR<Prisma.ProviderUpdateWithoutAddressInput, Prisma.ProviderUncheckedUpdateWithoutAddressInput>
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export type ProviderUpdateManyWithWhereWithoutAddressInput = {
|
|
958
|
+
where: Prisma.ProviderScalarWhereInput
|
|
959
|
+
data: Prisma.XOR<Prisma.ProviderUpdateManyMutationInput, Prisma.ProviderUncheckedUpdateManyWithoutAddressInput>
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export type ProviderCreateWithoutCategoryInput = {
|
|
963
|
+
id?: string
|
|
964
|
+
name: string
|
|
965
|
+
description?: string | null
|
|
966
|
+
image?: string | null
|
|
967
|
+
status?: $Enums.ProviderStatus
|
|
968
|
+
createdAt?: Date | string
|
|
969
|
+
updatedAt?: Date | string
|
|
970
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
971
|
+
email?: string | null
|
|
972
|
+
phoneNumber?: string | null
|
|
973
|
+
pricingDetails?: string | null
|
|
974
|
+
rating?: number | null
|
|
975
|
+
website?: string | null
|
|
976
|
+
location?: string | null
|
|
977
|
+
address?: Prisma.AddressCreateNestedOneWithoutProviderInput
|
|
978
|
+
user: Prisma.UserCreateNestedOneWithoutProvidersInput
|
|
979
|
+
reviews?: Prisma.ReviewCreateNestedManyWithoutProviderInput
|
|
980
|
+
events?: Prisma.ProviderOnEventCreateNestedManyWithoutProviderInput
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export type ProviderUncheckedCreateWithoutCategoryInput = {
|
|
984
|
+
id?: string
|
|
985
|
+
name: string
|
|
986
|
+
description?: string | null
|
|
987
|
+
image?: string | null
|
|
988
|
+
userId: string
|
|
989
|
+
status?: $Enums.ProviderStatus
|
|
990
|
+
createdAt?: Date | string
|
|
991
|
+
updatedAt?: Date | string
|
|
992
|
+
addressId?: string | null
|
|
993
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
994
|
+
email?: string | null
|
|
995
|
+
phoneNumber?: string | null
|
|
996
|
+
pricingDetails?: string | null
|
|
997
|
+
rating?: number | null
|
|
998
|
+
website?: string | null
|
|
999
|
+
location?: string | null
|
|
1000
|
+
reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutProviderInput
|
|
1001
|
+
events?: Prisma.ProviderOnEventUncheckedCreateNestedManyWithoutProviderInput
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export type ProviderCreateOrConnectWithoutCategoryInput = {
|
|
1005
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
1006
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutCategoryInput, Prisma.ProviderUncheckedCreateWithoutCategoryInput>
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
export type ProviderCreateManyCategoryInputEnvelope = {
|
|
1010
|
+
data: Prisma.ProviderCreateManyCategoryInput | Prisma.ProviderCreateManyCategoryInput[]
|
|
1011
|
+
skipDuplicates?: boolean
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export type ProviderUpsertWithWhereUniqueWithoutCategoryInput = {
|
|
1015
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
1016
|
+
update: Prisma.XOR<Prisma.ProviderUpdateWithoutCategoryInput, Prisma.ProviderUncheckedUpdateWithoutCategoryInput>
|
|
1017
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutCategoryInput, Prisma.ProviderUncheckedCreateWithoutCategoryInput>
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
export type ProviderUpdateWithWhereUniqueWithoutCategoryInput = {
|
|
1021
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
1022
|
+
data: Prisma.XOR<Prisma.ProviderUpdateWithoutCategoryInput, Prisma.ProviderUncheckedUpdateWithoutCategoryInput>
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
export type ProviderUpdateManyWithWhereWithoutCategoryInput = {
|
|
1026
|
+
where: Prisma.ProviderScalarWhereInput
|
|
1027
|
+
data: Prisma.XOR<Prisma.ProviderUpdateManyMutationInput, Prisma.ProviderUncheckedUpdateManyWithoutCategoryInput>
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export type ProviderCreateWithoutEventsInput = {
|
|
1031
|
+
id?: string
|
|
1032
|
+
name: string
|
|
1033
|
+
description?: string | null
|
|
1034
|
+
image?: string | null
|
|
1035
|
+
status?: $Enums.ProviderStatus
|
|
1036
|
+
createdAt?: Date | string
|
|
1037
|
+
updatedAt?: Date | string
|
|
1038
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1039
|
+
email?: string | null
|
|
1040
|
+
phoneNumber?: string | null
|
|
1041
|
+
pricingDetails?: string | null
|
|
1042
|
+
rating?: number | null
|
|
1043
|
+
website?: string | null
|
|
1044
|
+
location?: string | null
|
|
1045
|
+
address?: Prisma.AddressCreateNestedOneWithoutProviderInput
|
|
1046
|
+
category: Prisma.ProviderCategoryCreateNestedOneWithoutProvidersInput
|
|
1047
|
+
user: Prisma.UserCreateNestedOneWithoutProvidersInput
|
|
1048
|
+
reviews?: Prisma.ReviewCreateNestedManyWithoutProviderInput
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
export type ProviderUncheckedCreateWithoutEventsInput = {
|
|
1052
|
+
id?: string
|
|
1053
|
+
name: string
|
|
1054
|
+
description?: string | null
|
|
1055
|
+
image?: string | null
|
|
1056
|
+
userId: string
|
|
1057
|
+
status?: $Enums.ProviderStatus
|
|
1058
|
+
createdAt?: Date | string
|
|
1059
|
+
updatedAt?: Date | string
|
|
1060
|
+
addressId?: string | null
|
|
1061
|
+
categoryId: string
|
|
1062
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1063
|
+
email?: string | null
|
|
1064
|
+
phoneNumber?: string | null
|
|
1065
|
+
pricingDetails?: string | null
|
|
1066
|
+
rating?: number | null
|
|
1067
|
+
website?: string | null
|
|
1068
|
+
location?: string | null
|
|
1069
|
+
reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutProviderInput
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
export type ProviderCreateOrConnectWithoutEventsInput = {
|
|
1073
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
1074
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutEventsInput, Prisma.ProviderUncheckedCreateWithoutEventsInput>
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
export type ProviderUpsertWithoutEventsInput = {
|
|
1078
|
+
update: Prisma.XOR<Prisma.ProviderUpdateWithoutEventsInput, Prisma.ProviderUncheckedUpdateWithoutEventsInput>
|
|
1079
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutEventsInput, Prisma.ProviderUncheckedCreateWithoutEventsInput>
|
|
1080
|
+
where?: Prisma.ProviderWhereInput
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export type ProviderUpdateToOneWithWhereWithoutEventsInput = {
|
|
1084
|
+
where?: Prisma.ProviderWhereInput
|
|
1085
|
+
data: Prisma.XOR<Prisma.ProviderUpdateWithoutEventsInput, Prisma.ProviderUncheckedUpdateWithoutEventsInput>
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export type ProviderUpdateWithoutEventsInput = {
|
|
1089
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1090
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1091
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1092
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1093
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1094
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1095
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1096
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1097
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1098
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1099
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1100
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1101
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1102
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1103
|
+
address?: Prisma.AddressUpdateOneWithoutProviderNestedInput
|
|
1104
|
+
category?: Prisma.ProviderCategoryUpdateOneRequiredWithoutProvidersNestedInput
|
|
1105
|
+
user?: Prisma.UserUpdateOneRequiredWithoutProvidersNestedInput
|
|
1106
|
+
reviews?: Prisma.ReviewUpdateManyWithoutProviderNestedInput
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
export type ProviderUncheckedUpdateWithoutEventsInput = {
|
|
1110
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1111
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1112
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1113
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1114
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1115
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1116
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1117
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1118
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1119
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1120
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1121
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1122
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1123
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1124
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1125
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1126
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1127
|
+
reviews?: Prisma.ReviewUncheckedUpdateManyWithoutProviderNestedInput
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
export type ProviderCreateWithoutReviewsInput = {
|
|
1131
|
+
id?: string
|
|
1132
|
+
name: string
|
|
1133
|
+
description?: string | null
|
|
1134
|
+
image?: string | null
|
|
1135
|
+
status?: $Enums.ProviderStatus
|
|
1136
|
+
createdAt?: Date | string
|
|
1137
|
+
updatedAt?: Date | string
|
|
1138
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1139
|
+
email?: string | null
|
|
1140
|
+
phoneNumber?: string | null
|
|
1141
|
+
pricingDetails?: string | null
|
|
1142
|
+
rating?: number | null
|
|
1143
|
+
website?: string | null
|
|
1144
|
+
location?: string | null
|
|
1145
|
+
address?: Prisma.AddressCreateNestedOneWithoutProviderInput
|
|
1146
|
+
category: Prisma.ProviderCategoryCreateNestedOneWithoutProvidersInput
|
|
1147
|
+
user: Prisma.UserCreateNestedOneWithoutProvidersInput
|
|
1148
|
+
events?: Prisma.ProviderOnEventCreateNestedManyWithoutProviderInput
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
export type ProviderUncheckedCreateWithoutReviewsInput = {
|
|
1152
|
+
id?: string
|
|
1153
|
+
name: string
|
|
1154
|
+
description?: string | null
|
|
1155
|
+
image?: string | null
|
|
1156
|
+
userId: string
|
|
1157
|
+
status?: $Enums.ProviderStatus
|
|
1158
|
+
createdAt?: Date | string
|
|
1159
|
+
updatedAt?: Date | string
|
|
1160
|
+
addressId?: string | null
|
|
1161
|
+
categoryId: string
|
|
1162
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1163
|
+
email?: string | null
|
|
1164
|
+
phoneNumber?: string | null
|
|
1165
|
+
pricingDetails?: string | null
|
|
1166
|
+
rating?: number | null
|
|
1167
|
+
website?: string | null
|
|
1168
|
+
location?: string | null
|
|
1169
|
+
events?: Prisma.ProviderOnEventUncheckedCreateNestedManyWithoutProviderInput
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
export type ProviderCreateOrConnectWithoutReviewsInput = {
|
|
1173
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
1174
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutReviewsInput, Prisma.ProviderUncheckedCreateWithoutReviewsInput>
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
export type ProviderUpsertWithoutReviewsInput = {
|
|
1178
|
+
update: Prisma.XOR<Prisma.ProviderUpdateWithoutReviewsInput, Prisma.ProviderUncheckedUpdateWithoutReviewsInput>
|
|
1179
|
+
create: Prisma.XOR<Prisma.ProviderCreateWithoutReviewsInput, Prisma.ProviderUncheckedCreateWithoutReviewsInput>
|
|
1180
|
+
where?: Prisma.ProviderWhereInput
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
export type ProviderUpdateToOneWithWhereWithoutReviewsInput = {
|
|
1184
|
+
where?: Prisma.ProviderWhereInput
|
|
1185
|
+
data: Prisma.XOR<Prisma.ProviderUpdateWithoutReviewsInput, Prisma.ProviderUncheckedUpdateWithoutReviewsInput>
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
export type ProviderUpdateWithoutReviewsInput = {
|
|
1189
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1190
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1191
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1192
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1193
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1194
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1195
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1196
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1197
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1198
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1199
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1200
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1201
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1202
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1203
|
+
address?: Prisma.AddressUpdateOneWithoutProviderNestedInput
|
|
1204
|
+
category?: Prisma.ProviderCategoryUpdateOneRequiredWithoutProvidersNestedInput
|
|
1205
|
+
user?: Prisma.UserUpdateOneRequiredWithoutProvidersNestedInput
|
|
1206
|
+
events?: Prisma.ProviderOnEventUpdateManyWithoutProviderNestedInput
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
export type ProviderUncheckedUpdateWithoutReviewsInput = {
|
|
1210
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1211
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1212
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1213
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1214
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1215
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1216
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1217
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1218
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1219
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1220
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1221
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1222
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1223
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1224
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1225
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1226
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1227
|
+
events?: Prisma.ProviderOnEventUncheckedUpdateManyWithoutProviderNestedInput
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
export type ProviderCreateManyUserInput = {
|
|
1231
|
+
id?: string
|
|
1232
|
+
name: string
|
|
1233
|
+
description?: string | null
|
|
1234
|
+
image?: string | null
|
|
1235
|
+
status?: $Enums.ProviderStatus
|
|
1236
|
+
createdAt?: Date | string
|
|
1237
|
+
updatedAt?: Date | string
|
|
1238
|
+
addressId?: string | null
|
|
1239
|
+
categoryId: string
|
|
1240
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1241
|
+
email?: string | null
|
|
1242
|
+
phoneNumber?: string | null
|
|
1243
|
+
pricingDetails?: string | null
|
|
1244
|
+
rating?: number | null
|
|
1245
|
+
website?: string | null
|
|
1246
|
+
location?: string | null
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
export type ProviderUpdateWithoutUserInput = {
|
|
1250
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1251
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1252
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1253
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1254
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1255
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1256
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1257
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1258
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1259
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1260
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1261
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1262
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1263
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1264
|
+
address?: Prisma.AddressUpdateOneWithoutProviderNestedInput
|
|
1265
|
+
category?: Prisma.ProviderCategoryUpdateOneRequiredWithoutProvidersNestedInput
|
|
1266
|
+
reviews?: Prisma.ReviewUpdateManyWithoutProviderNestedInput
|
|
1267
|
+
events?: Prisma.ProviderOnEventUpdateManyWithoutProviderNestedInput
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
export type ProviderUncheckedUpdateWithoutUserInput = {
|
|
1271
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1272
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1273
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1274
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1275
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1276
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1277
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1278
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1279
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1280
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1281
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1282
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1283
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1284
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1285
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1286
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1287
|
+
reviews?: Prisma.ReviewUncheckedUpdateManyWithoutProviderNestedInput
|
|
1288
|
+
events?: Prisma.ProviderOnEventUncheckedUpdateManyWithoutProviderNestedInput
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
export type ProviderUncheckedUpdateManyWithoutUserInput = {
|
|
1292
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1293
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1294
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1295
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1296
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1297
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1298
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1299
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1300
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1301
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1302
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1303
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1304
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1305
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1306
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1307
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
export type ProviderCreateManyAddressInput = {
|
|
1311
|
+
id?: string
|
|
1312
|
+
name: string
|
|
1313
|
+
description?: string | null
|
|
1314
|
+
image?: string | null
|
|
1315
|
+
userId: string
|
|
1316
|
+
status?: $Enums.ProviderStatus
|
|
1317
|
+
createdAt?: Date | string
|
|
1318
|
+
updatedAt?: Date | string
|
|
1319
|
+
categoryId: string
|
|
1320
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1321
|
+
email?: string | null
|
|
1322
|
+
phoneNumber?: string | null
|
|
1323
|
+
pricingDetails?: string | null
|
|
1324
|
+
rating?: number | null
|
|
1325
|
+
website?: string | null
|
|
1326
|
+
location?: string | null
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
export type ProviderUpdateWithoutAddressInput = {
|
|
1330
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1331
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1332
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1333
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1334
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1335
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1336
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1337
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1338
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1339
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1340
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1341
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1342
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1343
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1344
|
+
category?: Prisma.ProviderCategoryUpdateOneRequiredWithoutProvidersNestedInput
|
|
1345
|
+
user?: Prisma.UserUpdateOneRequiredWithoutProvidersNestedInput
|
|
1346
|
+
reviews?: Prisma.ReviewUpdateManyWithoutProviderNestedInput
|
|
1347
|
+
events?: Prisma.ProviderOnEventUpdateManyWithoutProviderNestedInput
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
export type ProviderUncheckedUpdateWithoutAddressInput = {
|
|
1351
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1352
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1353
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1354
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1355
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1356
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1357
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1358
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1359
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1360
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1361
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1362
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1363
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1364
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1365
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1366
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1367
|
+
reviews?: Prisma.ReviewUncheckedUpdateManyWithoutProviderNestedInput
|
|
1368
|
+
events?: Prisma.ProviderOnEventUncheckedUpdateManyWithoutProviderNestedInput
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
export type ProviderUncheckedUpdateManyWithoutAddressInput = {
|
|
1372
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1373
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1374
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1375
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1376
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1377
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1378
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1379
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1380
|
+
categoryId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1381
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1382
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1383
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1384
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1385
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1386
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1387
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
export type ProviderCreateManyCategoryInput = {
|
|
1391
|
+
id?: string
|
|
1392
|
+
name: string
|
|
1393
|
+
description?: string | null
|
|
1394
|
+
image?: string | null
|
|
1395
|
+
userId: string
|
|
1396
|
+
status?: $Enums.ProviderStatus
|
|
1397
|
+
createdAt?: Date | string
|
|
1398
|
+
updatedAt?: Date | string
|
|
1399
|
+
addressId?: string | null
|
|
1400
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1401
|
+
email?: string | null
|
|
1402
|
+
phoneNumber?: string | null
|
|
1403
|
+
pricingDetails?: string | null
|
|
1404
|
+
rating?: number | null
|
|
1405
|
+
website?: string | null
|
|
1406
|
+
location?: string | null
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
export type ProviderUpdateWithoutCategoryInput = {
|
|
1410
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1411
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1412
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1413
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1414
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1415
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1416
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1417
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1418
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1419
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1420
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1421
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1422
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1423
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1424
|
+
address?: Prisma.AddressUpdateOneWithoutProviderNestedInput
|
|
1425
|
+
user?: Prisma.UserUpdateOneRequiredWithoutProvidersNestedInput
|
|
1426
|
+
reviews?: Prisma.ReviewUpdateManyWithoutProviderNestedInput
|
|
1427
|
+
events?: Prisma.ProviderOnEventUpdateManyWithoutProviderNestedInput
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
export type ProviderUncheckedUpdateWithoutCategoryInput = {
|
|
1431
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1432
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1433
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1434
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1435
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1436
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1437
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1438
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1439
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1440
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1441
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1442
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1443
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1444
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1445
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1446
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1447
|
+
reviews?: Prisma.ReviewUncheckedUpdateManyWithoutProviderNestedInput
|
|
1448
|
+
events?: Prisma.ProviderOnEventUncheckedUpdateManyWithoutProviderNestedInput
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
export type ProviderUncheckedUpdateManyWithoutCategoryInput = {
|
|
1452
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1453
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1454
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1455
|
+
image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1456
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1457
|
+
status?: Prisma.EnumProviderStatusFieldUpdateOperationsInput | $Enums.ProviderStatus
|
|
1458
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1459
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1460
|
+
addressId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1461
|
+
docs?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1462
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1463
|
+
phoneNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1464
|
+
pricingDetails?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1465
|
+
rating?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1466
|
+
website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1467
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Count Type ProviderCountOutputType
|
|
1473
|
+
*/
|
|
1474
|
+
|
|
1475
|
+
export type ProviderCountOutputType = {
|
|
1476
|
+
reviews: number
|
|
1477
|
+
events: number
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
export type ProviderCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1481
|
+
reviews?: boolean | ProviderCountOutputTypeCountReviewsArgs
|
|
1482
|
+
events?: boolean | ProviderCountOutputTypeCountEventsArgs
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* ProviderCountOutputType without action
|
|
1487
|
+
*/
|
|
1488
|
+
export type ProviderCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1489
|
+
/**
|
|
1490
|
+
* Select specific fields to fetch from the ProviderCountOutputType
|
|
1491
|
+
*/
|
|
1492
|
+
select?: Prisma.ProviderCountOutputTypeSelect<ExtArgs> | null
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* ProviderCountOutputType without action
|
|
1497
|
+
*/
|
|
1498
|
+
export type ProviderCountOutputTypeCountReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1499
|
+
where?: Prisma.ReviewWhereInput
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* ProviderCountOutputType without action
|
|
1504
|
+
*/
|
|
1505
|
+
export type ProviderCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1506
|
+
where?: Prisma.ProviderOnEventWhereInput
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
export type ProviderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1511
|
+
id?: boolean
|
|
1512
|
+
name?: boolean
|
|
1513
|
+
description?: boolean
|
|
1514
|
+
image?: boolean
|
|
1515
|
+
userId?: boolean
|
|
1516
|
+
status?: boolean
|
|
1517
|
+
createdAt?: boolean
|
|
1518
|
+
updatedAt?: boolean
|
|
1519
|
+
addressId?: boolean
|
|
1520
|
+
categoryId?: boolean
|
|
1521
|
+
docs?: boolean
|
|
1522
|
+
email?: boolean
|
|
1523
|
+
phoneNumber?: boolean
|
|
1524
|
+
pricingDetails?: boolean
|
|
1525
|
+
rating?: boolean
|
|
1526
|
+
website?: boolean
|
|
1527
|
+
location?: boolean
|
|
1528
|
+
address?: boolean | Prisma.Provider$addressArgs<ExtArgs>
|
|
1529
|
+
category?: boolean | Prisma.ProviderCategoryDefaultArgs<ExtArgs>
|
|
1530
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1531
|
+
reviews?: boolean | Prisma.Provider$reviewsArgs<ExtArgs>
|
|
1532
|
+
events?: boolean | Prisma.Provider$eventsArgs<ExtArgs>
|
|
1533
|
+
_count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs<ExtArgs>
|
|
1534
|
+
}, ExtArgs["result"]["provider"]>
|
|
1535
|
+
|
|
1536
|
+
export type ProviderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1537
|
+
id?: boolean
|
|
1538
|
+
name?: boolean
|
|
1539
|
+
description?: boolean
|
|
1540
|
+
image?: boolean
|
|
1541
|
+
userId?: boolean
|
|
1542
|
+
status?: boolean
|
|
1543
|
+
createdAt?: boolean
|
|
1544
|
+
updatedAt?: boolean
|
|
1545
|
+
addressId?: boolean
|
|
1546
|
+
categoryId?: boolean
|
|
1547
|
+
docs?: boolean
|
|
1548
|
+
email?: boolean
|
|
1549
|
+
phoneNumber?: boolean
|
|
1550
|
+
pricingDetails?: boolean
|
|
1551
|
+
rating?: boolean
|
|
1552
|
+
website?: boolean
|
|
1553
|
+
location?: boolean
|
|
1554
|
+
address?: boolean | Prisma.Provider$addressArgs<ExtArgs>
|
|
1555
|
+
category?: boolean | Prisma.ProviderCategoryDefaultArgs<ExtArgs>
|
|
1556
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1557
|
+
}, ExtArgs["result"]["provider"]>
|
|
1558
|
+
|
|
1559
|
+
export type ProviderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1560
|
+
id?: boolean
|
|
1561
|
+
name?: boolean
|
|
1562
|
+
description?: boolean
|
|
1563
|
+
image?: boolean
|
|
1564
|
+
userId?: boolean
|
|
1565
|
+
status?: boolean
|
|
1566
|
+
createdAt?: boolean
|
|
1567
|
+
updatedAt?: boolean
|
|
1568
|
+
addressId?: boolean
|
|
1569
|
+
categoryId?: boolean
|
|
1570
|
+
docs?: boolean
|
|
1571
|
+
email?: boolean
|
|
1572
|
+
phoneNumber?: boolean
|
|
1573
|
+
pricingDetails?: boolean
|
|
1574
|
+
rating?: boolean
|
|
1575
|
+
website?: boolean
|
|
1576
|
+
location?: boolean
|
|
1577
|
+
address?: boolean | Prisma.Provider$addressArgs<ExtArgs>
|
|
1578
|
+
category?: boolean | Prisma.ProviderCategoryDefaultArgs<ExtArgs>
|
|
1579
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1580
|
+
}, ExtArgs["result"]["provider"]>
|
|
1581
|
+
|
|
1582
|
+
export type ProviderSelectScalar = {
|
|
1583
|
+
id?: boolean
|
|
1584
|
+
name?: boolean
|
|
1585
|
+
description?: boolean
|
|
1586
|
+
image?: boolean
|
|
1587
|
+
userId?: boolean
|
|
1588
|
+
status?: boolean
|
|
1589
|
+
createdAt?: boolean
|
|
1590
|
+
updatedAt?: boolean
|
|
1591
|
+
addressId?: boolean
|
|
1592
|
+
categoryId?: boolean
|
|
1593
|
+
docs?: boolean
|
|
1594
|
+
email?: boolean
|
|
1595
|
+
phoneNumber?: boolean
|
|
1596
|
+
pricingDetails?: boolean
|
|
1597
|
+
rating?: boolean
|
|
1598
|
+
website?: boolean
|
|
1599
|
+
location?: boolean
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
export type ProviderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image" | "userId" | "status" | "createdAt" | "updatedAt" | "addressId" | "categoryId" | "docs" | "email" | "phoneNumber" | "pricingDetails" | "rating" | "website" | "location", ExtArgs["result"]["provider"]>
|
|
1603
|
+
export type ProviderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1604
|
+
address?: boolean | Prisma.Provider$addressArgs<ExtArgs>
|
|
1605
|
+
category?: boolean | Prisma.ProviderCategoryDefaultArgs<ExtArgs>
|
|
1606
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1607
|
+
reviews?: boolean | Prisma.Provider$reviewsArgs<ExtArgs>
|
|
1608
|
+
events?: boolean | Prisma.Provider$eventsArgs<ExtArgs>
|
|
1609
|
+
_count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs<ExtArgs>
|
|
1610
|
+
}
|
|
1611
|
+
export type ProviderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1612
|
+
address?: boolean | Prisma.Provider$addressArgs<ExtArgs>
|
|
1613
|
+
category?: boolean | Prisma.ProviderCategoryDefaultArgs<ExtArgs>
|
|
1614
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1615
|
+
}
|
|
1616
|
+
export type ProviderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1617
|
+
address?: boolean | Prisma.Provider$addressArgs<ExtArgs>
|
|
1618
|
+
category?: boolean | Prisma.ProviderCategoryDefaultArgs<ExtArgs>
|
|
1619
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
export type $ProviderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1623
|
+
name: "Provider"
|
|
1624
|
+
objects: {
|
|
1625
|
+
address: Prisma.$AddressPayload<ExtArgs> | null
|
|
1626
|
+
category: Prisma.$ProviderCategoryPayload<ExtArgs>
|
|
1627
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
1628
|
+
reviews: Prisma.$ReviewPayload<ExtArgs>[]
|
|
1629
|
+
events: Prisma.$ProviderOnEventPayload<ExtArgs>[]
|
|
1630
|
+
}
|
|
1631
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1632
|
+
id: string
|
|
1633
|
+
name: string
|
|
1634
|
+
description: string | null
|
|
1635
|
+
image: string | null
|
|
1636
|
+
userId: string
|
|
1637
|
+
status: $Enums.ProviderStatus
|
|
1638
|
+
createdAt: Date
|
|
1639
|
+
updatedAt: Date
|
|
1640
|
+
addressId: string | null
|
|
1641
|
+
categoryId: string
|
|
1642
|
+
docs: runtime.JsonValue | null
|
|
1643
|
+
email: string | null
|
|
1644
|
+
phoneNumber: string | null
|
|
1645
|
+
pricingDetails: string | null
|
|
1646
|
+
rating: number | null
|
|
1647
|
+
website: string | null
|
|
1648
|
+
location: string | null
|
|
1649
|
+
}, ExtArgs["result"]["provider"]>
|
|
1650
|
+
composites: {}
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
export type ProviderGetPayload<S extends boolean | null | undefined | ProviderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProviderPayload, S>
|
|
1654
|
+
|
|
1655
|
+
export type ProviderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1656
|
+
Omit<ProviderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1657
|
+
select?: ProviderCountAggregateInputType | true
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
export interface ProviderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1661
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Provider'], meta: { name: 'Provider' } }
|
|
1662
|
+
/**
|
|
1663
|
+
* Find zero or one Provider that matches the filter.
|
|
1664
|
+
* @param {ProviderFindUniqueArgs} args - Arguments to find a Provider
|
|
1665
|
+
* @example
|
|
1666
|
+
* // Get one Provider
|
|
1667
|
+
* const provider = await prisma.provider.findUnique({
|
|
1668
|
+
* where: {
|
|
1669
|
+
* // ... provide filter here
|
|
1670
|
+
* }
|
|
1671
|
+
* })
|
|
1672
|
+
*/
|
|
1673
|
+
findUnique<T extends ProviderFindUniqueArgs>(args: Prisma.SelectSubset<T, ProviderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Find one Provider that matches the filter or throw an error with `error.code='P2025'`
|
|
1677
|
+
* if no matches were found.
|
|
1678
|
+
* @param {ProviderFindUniqueOrThrowArgs} args - Arguments to find a Provider
|
|
1679
|
+
* @example
|
|
1680
|
+
* // Get one Provider
|
|
1681
|
+
* const provider = await prisma.provider.findUniqueOrThrow({
|
|
1682
|
+
* where: {
|
|
1683
|
+
* // ... provide filter here
|
|
1684
|
+
* }
|
|
1685
|
+
* })
|
|
1686
|
+
*/
|
|
1687
|
+
findUniqueOrThrow<T extends ProviderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProviderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* Find the first Provider that matches the filter.
|
|
1691
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1692
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1693
|
+
* @param {ProviderFindFirstArgs} args - Arguments to find a Provider
|
|
1694
|
+
* @example
|
|
1695
|
+
* // Get one Provider
|
|
1696
|
+
* const provider = await prisma.provider.findFirst({
|
|
1697
|
+
* where: {
|
|
1698
|
+
* // ... provide filter here
|
|
1699
|
+
* }
|
|
1700
|
+
* })
|
|
1701
|
+
*/
|
|
1702
|
+
findFirst<T extends ProviderFindFirstArgs>(args?: Prisma.SelectSubset<T, ProviderFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* Find the first Provider that matches the filter or
|
|
1706
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1707
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1708
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1709
|
+
* @param {ProviderFindFirstOrThrowArgs} args - Arguments to find a Provider
|
|
1710
|
+
* @example
|
|
1711
|
+
* // Get one Provider
|
|
1712
|
+
* const provider = await prisma.provider.findFirstOrThrow({
|
|
1713
|
+
* where: {
|
|
1714
|
+
* // ... provide filter here
|
|
1715
|
+
* }
|
|
1716
|
+
* })
|
|
1717
|
+
*/
|
|
1718
|
+
findFirstOrThrow<T extends ProviderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProviderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* Find zero or more Providers that matches the filter.
|
|
1722
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1723
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1724
|
+
* @param {ProviderFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1725
|
+
* @example
|
|
1726
|
+
* // Get all Providers
|
|
1727
|
+
* const providers = await prisma.provider.findMany()
|
|
1728
|
+
*
|
|
1729
|
+
* // Get first 10 Providers
|
|
1730
|
+
* const providers = await prisma.provider.findMany({ take: 10 })
|
|
1731
|
+
*
|
|
1732
|
+
* // Only select the `id`
|
|
1733
|
+
* const providerWithIdOnly = await prisma.provider.findMany({ select: { id: true } })
|
|
1734
|
+
*
|
|
1735
|
+
*/
|
|
1736
|
+
findMany<T extends ProviderFindManyArgs>(args?: Prisma.SelectSubset<T, ProviderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* Create a Provider.
|
|
1740
|
+
* @param {ProviderCreateArgs} args - Arguments to create a Provider.
|
|
1741
|
+
* @example
|
|
1742
|
+
* // Create one Provider
|
|
1743
|
+
* const Provider = await prisma.provider.create({
|
|
1744
|
+
* data: {
|
|
1745
|
+
* // ... data to create a Provider
|
|
1746
|
+
* }
|
|
1747
|
+
* })
|
|
1748
|
+
*
|
|
1749
|
+
*/
|
|
1750
|
+
create<T extends ProviderCreateArgs>(args: Prisma.SelectSubset<T, ProviderCreateArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* Create many Providers.
|
|
1754
|
+
* @param {ProviderCreateManyArgs} args - Arguments to create many Providers.
|
|
1755
|
+
* @example
|
|
1756
|
+
* // Create many Providers
|
|
1757
|
+
* const provider = await prisma.provider.createMany({
|
|
1758
|
+
* data: [
|
|
1759
|
+
* // ... provide data here
|
|
1760
|
+
* ]
|
|
1761
|
+
* })
|
|
1762
|
+
*
|
|
1763
|
+
*/
|
|
1764
|
+
createMany<T extends ProviderCreateManyArgs>(args?: Prisma.SelectSubset<T, ProviderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* Create many Providers and returns the data saved in the database.
|
|
1768
|
+
* @param {ProviderCreateManyAndReturnArgs} args - Arguments to create many Providers.
|
|
1769
|
+
* @example
|
|
1770
|
+
* // Create many Providers
|
|
1771
|
+
* const provider = await prisma.provider.createManyAndReturn({
|
|
1772
|
+
* data: [
|
|
1773
|
+
* // ... provide data here
|
|
1774
|
+
* ]
|
|
1775
|
+
* })
|
|
1776
|
+
*
|
|
1777
|
+
* // Create many Providers and only return the `id`
|
|
1778
|
+
* const providerWithIdOnly = await prisma.provider.createManyAndReturn({
|
|
1779
|
+
* select: { id: true },
|
|
1780
|
+
* data: [
|
|
1781
|
+
* // ... provide data here
|
|
1782
|
+
* ]
|
|
1783
|
+
* })
|
|
1784
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1785
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1786
|
+
*
|
|
1787
|
+
*/
|
|
1788
|
+
createManyAndReturn<T extends ProviderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProviderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Delete a Provider.
|
|
1792
|
+
* @param {ProviderDeleteArgs} args - Arguments to delete one Provider.
|
|
1793
|
+
* @example
|
|
1794
|
+
* // Delete one Provider
|
|
1795
|
+
* const Provider = await prisma.provider.delete({
|
|
1796
|
+
* where: {
|
|
1797
|
+
* // ... filter to delete one Provider
|
|
1798
|
+
* }
|
|
1799
|
+
* })
|
|
1800
|
+
*
|
|
1801
|
+
*/
|
|
1802
|
+
delete<T extends ProviderDeleteArgs>(args: Prisma.SelectSubset<T, ProviderDeleteArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Update one Provider.
|
|
1806
|
+
* @param {ProviderUpdateArgs} args - Arguments to update one Provider.
|
|
1807
|
+
* @example
|
|
1808
|
+
* // Update one Provider
|
|
1809
|
+
* const provider = await prisma.provider.update({
|
|
1810
|
+
* where: {
|
|
1811
|
+
* // ... provide filter here
|
|
1812
|
+
* },
|
|
1813
|
+
* data: {
|
|
1814
|
+
* // ... provide data here
|
|
1815
|
+
* }
|
|
1816
|
+
* })
|
|
1817
|
+
*
|
|
1818
|
+
*/
|
|
1819
|
+
update<T extends ProviderUpdateArgs>(args: Prisma.SelectSubset<T, ProviderUpdateArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* Delete zero or more Providers.
|
|
1823
|
+
* @param {ProviderDeleteManyArgs} args - Arguments to filter Providers to delete.
|
|
1824
|
+
* @example
|
|
1825
|
+
* // Delete a few Providers
|
|
1826
|
+
* const { count } = await prisma.provider.deleteMany({
|
|
1827
|
+
* where: {
|
|
1828
|
+
* // ... provide filter here
|
|
1829
|
+
* }
|
|
1830
|
+
* })
|
|
1831
|
+
*
|
|
1832
|
+
*/
|
|
1833
|
+
deleteMany<T extends ProviderDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProviderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* Update zero or more Providers.
|
|
1837
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1838
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1839
|
+
* @param {ProviderUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1840
|
+
* @example
|
|
1841
|
+
* // Update many Providers
|
|
1842
|
+
* const provider = await prisma.provider.updateMany({
|
|
1843
|
+
* where: {
|
|
1844
|
+
* // ... provide filter here
|
|
1845
|
+
* },
|
|
1846
|
+
* data: {
|
|
1847
|
+
* // ... provide data here
|
|
1848
|
+
* }
|
|
1849
|
+
* })
|
|
1850
|
+
*
|
|
1851
|
+
*/
|
|
1852
|
+
updateMany<T extends ProviderUpdateManyArgs>(args: Prisma.SelectSubset<T, ProviderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* Update zero or more Providers and returns the data updated in the database.
|
|
1856
|
+
* @param {ProviderUpdateManyAndReturnArgs} args - Arguments to update many Providers.
|
|
1857
|
+
* @example
|
|
1858
|
+
* // Update many Providers
|
|
1859
|
+
* const provider = await prisma.provider.updateManyAndReturn({
|
|
1860
|
+
* where: {
|
|
1861
|
+
* // ... provide filter here
|
|
1862
|
+
* },
|
|
1863
|
+
* data: [
|
|
1864
|
+
* // ... provide data here
|
|
1865
|
+
* ]
|
|
1866
|
+
* })
|
|
1867
|
+
*
|
|
1868
|
+
* // Update zero or more Providers and only return the `id`
|
|
1869
|
+
* const providerWithIdOnly = await prisma.provider.updateManyAndReturn({
|
|
1870
|
+
* select: { id: true },
|
|
1871
|
+
* where: {
|
|
1872
|
+
* // ... provide filter here
|
|
1873
|
+
* },
|
|
1874
|
+
* data: [
|
|
1875
|
+
* // ... provide data here
|
|
1876
|
+
* ]
|
|
1877
|
+
* })
|
|
1878
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1879
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1880
|
+
*
|
|
1881
|
+
*/
|
|
1882
|
+
updateManyAndReturn<T extends ProviderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProviderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* Create or update one Provider.
|
|
1886
|
+
* @param {ProviderUpsertArgs} args - Arguments to update or create a Provider.
|
|
1887
|
+
* @example
|
|
1888
|
+
* // Update or create a Provider
|
|
1889
|
+
* const provider = await prisma.provider.upsert({
|
|
1890
|
+
* create: {
|
|
1891
|
+
* // ... data to create a Provider
|
|
1892
|
+
* },
|
|
1893
|
+
* update: {
|
|
1894
|
+
* // ... in case it already exists, update
|
|
1895
|
+
* },
|
|
1896
|
+
* where: {
|
|
1897
|
+
* // ... the filter for the Provider we want to update
|
|
1898
|
+
* }
|
|
1899
|
+
* })
|
|
1900
|
+
*/
|
|
1901
|
+
upsert<T extends ProviderUpsertArgs>(args: Prisma.SelectSubset<T, ProviderUpsertArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* Count the number of Providers.
|
|
1906
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1907
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1908
|
+
* @param {ProviderCountArgs} args - Arguments to filter Providers to count.
|
|
1909
|
+
* @example
|
|
1910
|
+
* // Count the number of Providers
|
|
1911
|
+
* const count = await prisma.provider.count({
|
|
1912
|
+
* where: {
|
|
1913
|
+
* // ... the filter for the Providers we want to count
|
|
1914
|
+
* }
|
|
1915
|
+
* })
|
|
1916
|
+
**/
|
|
1917
|
+
count<T extends ProviderCountArgs>(
|
|
1918
|
+
args?: Prisma.Subset<T, ProviderCountArgs>,
|
|
1919
|
+
): Prisma.PrismaPromise<
|
|
1920
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1921
|
+
? T['select'] extends true
|
|
1922
|
+
? number
|
|
1923
|
+
: Prisma.GetScalarType<T['select'], ProviderCountAggregateOutputType>
|
|
1924
|
+
: number
|
|
1925
|
+
>
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* Allows you to perform aggregations operations on a Provider.
|
|
1929
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1930
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1931
|
+
* @param {ProviderAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1932
|
+
* @example
|
|
1933
|
+
* // Ordered by age ascending
|
|
1934
|
+
* // Where email contains prisma.io
|
|
1935
|
+
* // Limited to the 10 users
|
|
1936
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1937
|
+
* _avg: {
|
|
1938
|
+
* age: true,
|
|
1939
|
+
* },
|
|
1940
|
+
* where: {
|
|
1941
|
+
* email: {
|
|
1942
|
+
* contains: "prisma.io",
|
|
1943
|
+
* },
|
|
1944
|
+
* },
|
|
1945
|
+
* orderBy: {
|
|
1946
|
+
* age: "asc",
|
|
1947
|
+
* },
|
|
1948
|
+
* take: 10,
|
|
1949
|
+
* })
|
|
1950
|
+
**/
|
|
1951
|
+
aggregate<T extends ProviderAggregateArgs>(args: Prisma.Subset<T, ProviderAggregateArgs>): Prisma.PrismaPromise<GetProviderAggregateType<T>>
|
|
1952
|
+
|
|
1953
|
+
/**
|
|
1954
|
+
* Group by Provider.
|
|
1955
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1956
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1957
|
+
* @param {ProviderGroupByArgs} args - Group by arguments.
|
|
1958
|
+
* @example
|
|
1959
|
+
* // Group by city, order by createdAt, get count
|
|
1960
|
+
* const result = await prisma.user.groupBy({
|
|
1961
|
+
* by: ['city', 'createdAt'],
|
|
1962
|
+
* orderBy: {
|
|
1963
|
+
* createdAt: true
|
|
1964
|
+
* },
|
|
1965
|
+
* _count: {
|
|
1966
|
+
* _all: true
|
|
1967
|
+
* },
|
|
1968
|
+
* })
|
|
1969
|
+
*
|
|
1970
|
+
**/
|
|
1971
|
+
groupBy<
|
|
1972
|
+
T extends ProviderGroupByArgs,
|
|
1973
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1974
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1975
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1976
|
+
>,
|
|
1977
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1978
|
+
? { orderBy: ProviderGroupByArgs['orderBy'] }
|
|
1979
|
+
: { orderBy?: ProviderGroupByArgs['orderBy'] },
|
|
1980
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1981
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1982
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1983
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1984
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1985
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1986
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1987
|
+
? `Error: "by" must not be empty.`
|
|
1988
|
+
: HavingValid extends Prisma.False
|
|
1989
|
+
? {
|
|
1990
|
+
[P in HavingFields]: P extends ByFields
|
|
1991
|
+
? never
|
|
1992
|
+
: P extends string
|
|
1993
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1994
|
+
: [
|
|
1995
|
+
Error,
|
|
1996
|
+
'Field ',
|
|
1997
|
+
P,
|
|
1998
|
+
` in "having" needs to be provided in "by"`,
|
|
1999
|
+
]
|
|
2000
|
+
}[HavingFields]
|
|
2001
|
+
: 'take' extends Prisma.Keys<T>
|
|
2002
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2003
|
+
? ByValid extends Prisma.True
|
|
2004
|
+
? {}
|
|
2005
|
+
: {
|
|
2006
|
+
[P in OrderFields]: P extends ByFields
|
|
2007
|
+
? never
|
|
2008
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2009
|
+
}[OrderFields]
|
|
2010
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2011
|
+
: 'skip' extends Prisma.Keys<T>
|
|
2012
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2013
|
+
? ByValid extends Prisma.True
|
|
2014
|
+
? {}
|
|
2015
|
+
: {
|
|
2016
|
+
[P in OrderFields]: P extends ByFields
|
|
2017
|
+
? never
|
|
2018
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2019
|
+
}[OrderFields]
|
|
2020
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2021
|
+
: ByValid extends Prisma.True
|
|
2022
|
+
? {}
|
|
2023
|
+
: {
|
|
2024
|
+
[P in OrderFields]: P extends ByFields
|
|
2025
|
+
? never
|
|
2026
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2027
|
+
}[OrderFields]
|
|
2028
|
+
>(args: Prisma.SubsetIntersection<T, ProviderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProviderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2029
|
+
/**
|
|
2030
|
+
* Fields of the Provider model
|
|
2031
|
+
*/
|
|
2032
|
+
readonly fields: ProviderFieldRefs;
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* The delegate class that acts as a "Promise-like" for Provider.
|
|
2037
|
+
* Why is this prefixed with `Prisma__`?
|
|
2038
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2039
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2040
|
+
*/
|
|
2041
|
+
export interface Prisma__ProviderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2042
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2043
|
+
address<T extends Prisma.Provider$addressArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Provider$addressArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2044
|
+
category<T extends Prisma.ProviderCategoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProviderCategoryDefaultArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
2045
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
2046
|
+
reviews<T extends Prisma.Provider$reviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Provider$reviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2047
|
+
events<T extends Prisma.Provider$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Provider$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderOnEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2048
|
+
/**
|
|
2049
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2050
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2051
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2052
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2053
|
+
*/
|
|
2054
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
2055
|
+
/**
|
|
2056
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2057
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2058
|
+
* @returns A Promise for the completion of the callback.
|
|
2059
|
+
*/
|
|
2060
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2061
|
+
/**
|
|
2062
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2063
|
+
* resolved value cannot be modified from the callback.
|
|
2064
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2065
|
+
* @returns A Promise for the completion of the callback.
|
|
2066
|
+
*/
|
|
2067
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* Fields of the Provider model
|
|
2075
|
+
*/
|
|
2076
|
+
export interface ProviderFieldRefs {
|
|
2077
|
+
readonly id: Prisma.FieldRef<"Provider", 'String'>
|
|
2078
|
+
readonly name: Prisma.FieldRef<"Provider", 'String'>
|
|
2079
|
+
readonly description: Prisma.FieldRef<"Provider", 'String'>
|
|
2080
|
+
readonly image: Prisma.FieldRef<"Provider", 'String'>
|
|
2081
|
+
readonly userId: Prisma.FieldRef<"Provider", 'String'>
|
|
2082
|
+
readonly status: Prisma.FieldRef<"Provider", 'ProviderStatus'>
|
|
2083
|
+
readonly createdAt: Prisma.FieldRef<"Provider", 'DateTime'>
|
|
2084
|
+
readonly updatedAt: Prisma.FieldRef<"Provider", 'DateTime'>
|
|
2085
|
+
readonly addressId: Prisma.FieldRef<"Provider", 'String'>
|
|
2086
|
+
readonly categoryId: Prisma.FieldRef<"Provider", 'String'>
|
|
2087
|
+
readonly docs: Prisma.FieldRef<"Provider", 'Json'>
|
|
2088
|
+
readonly email: Prisma.FieldRef<"Provider", 'String'>
|
|
2089
|
+
readonly phoneNumber: Prisma.FieldRef<"Provider", 'String'>
|
|
2090
|
+
readonly pricingDetails: Prisma.FieldRef<"Provider", 'String'>
|
|
2091
|
+
readonly rating: Prisma.FieldRef<"Provider", 'Float'>
|
|
2092
|
+
readonly website: Prisma.FieldRef<"Provider", 'String'>
|
|
2093
|
+
readonly location: Prisma.FieldRef<"Provider", 'String'>
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
// Custom InputTypes
|
|
2098
|
+
/**
|
|
2099
|
+
* Provider findUnique
|
|
2100
|
+
*/
|
|
2101
|
+
export type ProviderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2102
|
+
/**
|
|
2103
|
+
* Select specific fields to fetch from the Provider
|
|
2104
|
+
*/
|
|
2105
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2106
|
+
/**
|
|
2107
|
+
* Omit specific fields from the Provider
|
|
2108
|
+
*/
|
|
2109
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2110
|
+
/**
|
|
2111
|
+
* Choose, which related nodes to fetch as well
|
|
2112
|
+
*/
|
|
2113
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2114
|
+
/**
|
|
2115
|
+
* Filter, which Provider to fetch.
|
|
2116
|
+
*/
|
|
2117
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* Provider findUniqueOrThrow
|
|
2122
|
+
*/
|
|
2123
|
+
export type ProviderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2124
|
+
/**
|
|
2125
|
+
* Select specific fields to fetch from the Provider
|
|
2126
|
+
*/
|
|
2127
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2128
|
+
/**
|
|
2129
|
+
* Omit specific fields from the Provider
|
|
2130
|
+
*/
|
|
2131
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2132
|
+
/**
|
|
2133
|
+
* Choose, which related nodes to fetch as well
|
|
2134
|
+
*/
|
|
2135
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2136
|
+
/**
|
|
2137
|
+
* Filter, which Provider to fetch.
|
|
2138
|
+
*/
|
|
2139
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* Provider findFirst
|
|
2144
|
+
*/
|
|
2145
|
+
export type ProviderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2146
|
+
/**
|
|
2147
|
+
* Select specific fields to fetch from the Provider
|
|
2148
|
+
*/
|
|
2149
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2150
|
+
/**
|
|
2151
|
+
* Omit specific fields from the Provider
|
|
2152
|
+
*/
|
|
2153
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2154
|
+
/**
|
|
2155
|
+
* Choose, which related nodes to fetch as well
|
|
2156
|
+
*/
|
|
2157
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2158
|
+
/**
|
|
2159
|
+
* Filter, which Provider to fetch.
|
|
2160
|
+
*/
|
|
2161
|
+
where?: Prisma.ProviderWhereInput
|
|
2162
|
+
/**
|
|
2163
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2164
|
+
*
|
|
2165
|
+
* Determine the order of Providers to fetch.
|
|
2166
|
+
*/
|
|
2167
|
+
orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[]
|
|
2168
|
+
/**
|
|
2169
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2170
|
+
*
|
|
2171
|
+
* Sets the position for searching for Providers.
|
|
2172
|
+
*/
|
|
2173
|
+
cursor?: Prisma.ProviderWhereUniqueInput
|
|
2174
|
+
/**
|
|
2175
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2176
|
+
*
|
|
2177
|
+
* Take `±n` Providers from the position of the cursor.
|
|
2178
|
+
*/
|
|
2179
|
+
take?: number
|
|
2180
|
+
/**
|
|
2181
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2182
|
+
*
|
|
2183
|
+
* Skip the first `n` Providers.
|
|
2184
|
+
*/
|
|
2185
|
+
skip?: number
|
|
2186
|
+
/**
|
|
2187
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2188
|
+
*
|
|
2189
|
+
* Filter by unique combinations of Providers.
|
|
2190
|
+
*/
|
|
2191
|
+
distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[]
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* Provider findFirstOrThrow
|
|
2196
|
+
*/
|
|
2197
|
+
export type ProviderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2198
|
+
/**
|
|
2199
|
+
* Select specific fields to fetch from the Provider
|
|
2200
|
+
*/
|
|
2201
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2202
|
+
/**
|
|
2203
|
+
* Omit specific fields from the Provider
|
|
2204
|
+
*/
|
|
2205
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2206
|
+
/**
|
|
2207
|
+
* Choose, which related nodes to fetch as well
|
|
2208
|
+
*/
|
|
2209
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2210
|
+
/**
|
|
2211
|
+
* Filter, which Provider to fetch.
|
|
2212
|
+
*/
|
|
2213
|
+
where?: Prisma.ProviderWhereInput
|
|
2214
|
+
/**
|
|
2215
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2216
|
+
*
|
|
2217
|
+
* Determine the order of Providers to fetch.
|
|
2218
|
+
*/
|
|
2219
|
+
orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[]
|
|
2220
|
+
/**
|
|
2221
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2222
|
+
*
|
|
2223
|
+
* Sets the position for searching for Providers.
|
|
2224
|
+
*/
|
|
2225
|
+
cursor?: Prisma.ProviderWhereUniqueInput
|
|
2226
|
+
/**
|
|
2227
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2228
|
+
*
|
|
2229
|
+
* Take `±n` Providers from the position of the cursor.
|
|
2230
|
+
*/
|
|
2231
|
+
take?: number
|
|
2232
|
+
/**
|
|
2233
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2234
|
+
*
|
|
2235
|
+
* Skip the first `n` Providers.
|
|
2236
|
+
*/
|
|
2237
|
+
skip?: number
|
|
2238
|
+
/**
|
|
2239
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2240
|
+
*
|
|
2241
|
+
* Filter by unique combinations of Providers.
|
|
2242
|
+
*/
|
|
2243
|
+
distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[]
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* Provider findMany
|
|
2248
|
+
*/
|
|
2249
|
+
export type ProviderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2250
|
+
/**
|
|
2251
|
+
* Select specific fields to fetch from the Provider
|
|
2252
|
+
*/
|
|
2253
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2254
|
+
/**
|
|
2255
|
+
* Omit specific fields from the Provider
|
|
2256
|
+
*/
|
|
2257
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2258
|
+
/**
|
|
2259
|
+
* Choose, which related nodes to fetch as well
|
|
2260
|
+
*/
|
|
2261
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2262
|
+
/**
|
|
2263
|
+
* Filter, which Providers to fetch.
|
|
2264
|
+
*/
|
|
2265
|
+
where?: Prisma.ProviderWhereInput
|
|
2266
|
+
/**
|
|
2267
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2268
|
+
*
|
|
2269
|
+
* Determine the order of Providers to fetch.
|
|
2270
|
+
*/
|
|
2271
|
+
orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[]
|
|
2272
|
+
/**
|
|
2273
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2274
|
+
*
|
|
2275
|
+
* Sets the position for listing Providers.
|
|
2276
|
+
*/
|
|
2277
|
+
cursor?: Prisma.ProviderWhereUniqueInput
|
|
2278
|
+
/**
|
|
2279
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2280
|
+
*
|
|
2281
|
+
* Take `±n` Providers from the position of the cursor.
|
|
2282
|
+
*/
|
|
2283
|
+
take?: number
|
|
2284
|
+
/**
|
|
2285
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2286
|
+
*
|
|
2287
|
+
* Skip the first `n` Providers.
|
|
2288
|
+
*/
|
|
2289
|
+
skip?: number
|
|
2290
|
+
/**
|
|
2291
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2292
|
+
*
|
|
2293
|
+
* Filter by unique combinations of Providers.
|
|
2294
|
+
*/
|
|
2295
|
+
distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[]
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* Provider create
|
|
2300
|
+
*/
|
|
2301
|
+
export type ProviderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2302
|
+
/**
|
|
2303
|
+
* Select specific fields to fetch from the Provider
|
|
2304
|
+
*/
|
|
2305
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2306
|
+
/**
|
|
2307
|
+
* Omit specific fields from the Provider
|
|
2308
|
+
*/
|
|
2309
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2310
|
+
/**
|
|
2311
|
+
* Choose, which related nodes to fetch as well
|
|
2312
|
+
*/
|
|
2313
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2314
|
+
/**
|
|
2315
|
+
* The data needed to create a Provider.
|
|
2316
|
+
*/
|
|
2317
|
+
data: Prisma.XOR<Prisma.ProviderCreateInput, Prisma.ProviderUncheckedCreateInput>
|
|
2318
|
+
}
|
|
2319
|
+
|
|
2320
|
+
/**
|
|
2321
|
+
* Provider createMany
|
|
2322
|
+
*/
|
|
2323
|
+
export type ProviderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2324
|
+
/**
|
|
2325
|
+
* The data used to create many Providers.
|
|
2326
|
+
*/
|
|
2327
|
+
data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[]
|
|
2328
|
+
skipDuplicates?: boolean
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Provider createManyAndReturn
|
|
2333
|
+
*/
|
|
2334
|
+
export type ProviderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2335
|
+
/**
|
|
2336
|
+
* Select specific fields to fetch from the Provider
|
|
2337
|
+
*/
|
|
2338
|
+
select?: Prisma.ProviderSelectCreateManyAndReturn<ExtArgs> | null
|
|
2339
|
+
/**
|
|
2340
|
+
* Omit specific fields from the Provider
|
|
2341
|
+
*/
|
|
2342
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2343
|
+
/**
|
|
2344
|
+
* The data used to create many Providers.
|
|
2345
|
+
*/
|
|
2346
|
+
data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[]
|
|
2347
|
+
skipDuplicates?: boolean
|
|
2348
|
+
/**
|
|
2349
|
+
* Choose, which related nodes to fetch as well
|
|
2350
|
+
*/
|
|
2351
|
+
include?: Prisma.ProviderIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* Provider update
|
|
2356
|
+
*/
|
|
2357
|
+
export type ProviderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2358
|
+
/**
|
|
2359
|
+
* Select specific fields to fetch from the Provider
|
|
2360
|
+
*/
|
|
2361
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2362
|
+
/**
|
|
2363
|
+
* Omit specific fields from the Provider
|
|
2364
|
+
*/
|
|
2365
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2366
|
+
/**
|
|
2367
|
+
* Choose, which related nodes to fetch as well
|
|
2368
|
+
*/
|
|
2369
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2370
|
+
/**
|
|
2371
|
+
* The data needed to update a Provider.
|
|
2372
|
+
*/
|
|
2373
|
+
data: Prisma.XOR<Prisma.ProviderUpdateInput, Prisma.ProviderUncheckedUpdateInput>
|
|
2374
|
+
/**
|
|
2375
|
+
* Choose, which Provider to update.
|
|
2376
|
+
*/
|
|
2377
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* Provider updateMany
|
|
2382
|
+
*/
|
|
2383
|
+
export type ProviderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2384
|
+
/**
|
|
2385
|
+
* The data used to update Providers.
|
|
2386
|
+
*/
|
|
2387
|
+
data: Prisma.XOR<Prisma.ProviderUpdateManyMutationInput, Prisma.ProviderUncheckedUpdateManyInput>
|
|
2388
|
+
/**
|
|
2389
|
+
* Filter which Providers to update
|
|
2390
|
+
*/
|
|
2391
|
+
where?: Prisma.ProviderWhereInput
|
|
2392
|
+
/**
|
|
2393
|
+
* Limit how many Providers to update.
|
|
2394
|
+
*/
|
|
2395
|
+
limit?: number
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Provider updateManyAndReturn
|
|
2400
|
+
*/
|
|
2401
|
+
export type ProviderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2402
|
+
/**
|
|
2403
|
+
* Select specific fields to fetch from the Provider
|
|
2404
|
+
*/
|
|
2405
|
+
select?: Prisma.ProviderSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2406
|
+
/**
|
|
2407
|
+
* Omit specific fields from the Provider
|
|
2408
|
+
*/
|
|
2409
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2410
|
+
/**
|
|
2411
|
+
* The data used to update Providers.
|
|
2412
|
+
*/
|
|
2413
|
+
data: Prisma.XOR<Prisma.ProviderUpdateManyMutationInput, Prisma.ProviderUncheckedUpdateManyInput>
|
|
2414
|
+
/**
|
|
2415
|
+
* Filter which Providers to update
|
|
2416
|
+
*/
|
|
2417
|
+
where?: Prisma.ProviderWhereInput
|
|
2418
|
+
/**
|
|
2419
|
+
* Limit how many Providers to update.
|
|
2420
|
+
*/
|
|
2421
|
+
limit?: number
|
|
2422
|
+
/**
|
|
2423
|
+
* Choose, which related nodes to fetch as well
|
|
2424
|
+
*/
|
|
2425
|
+
include?: Prisma.ProviderIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Provider upsert
|
|
2430
|
+
*/
|
|
2431
|
+
export type ProviderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2432
|
+
/**
|
|
2433
|
+
* Select specific fields to fetch from the Provider
|
|
2434
|
+
*/
|
|
2435
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2436
|
+
/**
|
|
2437
|
+
* Omit specific fields from the Provider
|
|
2438
|
+
*/
|
|
2439
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2440
|
+
/**
|
|
2441
|
+
* Choose, which related nodes to fetch as well
|
|
2442
|
+
*/
|
|
2443
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2444
|
+
/**
|
|
2445
|
+
* The filter to search for the Provider to update in case it exists.
|
|
2446
|
+
*/
|
|
2447
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
2448
|
+
/**
|
|
2449
|
+
* In case the Provider found by the `where` argument doesn't exist, create a new Provider with this data.
|
|
2450
|
+
*/
|
|
2451
|
+
create: Prisma.XOR<Prisma.ProviderCreateInput, Prisma.ProviderUncheckedCreateInput>
|
|
2452
|
+
/**
|
|
2453
|
+
* In case the Provider was found with the provided `where` argument, update it with this data.
|
|
2454
|
+
*/
|
|
2455
|
+
update: Prisma.XOR<Prisma.ProviderUpdateInput, Prisma.ProviderUncheckedUpdateInput>
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* Provider delete
|
|
2460
|
+
*/
|
|
2461
|
+
export type ProviderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2462
|
+
/**
|
|
2463
|
+
* Select specific fields to fetch from the Provider
|
|
2464
|
+
*/
|
|
2465
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2466
|
+
/**
|
|
2467
|
+
* Omit specific fields from the Provider
|
|
2468
|
+
*/
|
|
2469
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2470
|
+
/**
|
|
2471
|
+
* Choose, which related nodes to fetch as well
|
|
2472
|
+
*/
|
|
2473
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2474
|
+
/**
|
|
2475
|
+
* Filter which Provider to delete.
|
|
2476
|
+
*/
|
|
2477
|
+
where: Prisma.ProviderWhereUniqueInput
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* Provider deleteMany
|
|
2482
|
+
*/
|
|
2483
|
+
export type ProviderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2484
|
+
/**
|
|
2485
|
+
* Filter which Providers to delete
|
|
2486
|
+
*/
|
|
2487
|
+
where?: Prisma.ProviderWhereInput
|
|
2488
|
+
/**
|
|
2489
|
+
* Limit how many Providers to delete.
|
|
2490
|
+
*/
|
|
2491
|
+
limit?: number
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* Provider.address
|
|
2496
|
+
*/
|
|
2497
|
+
export type Provider$addressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2498
|
+
/**
|
|
2499
|
+
* Select specific fields to fetch from the Address
|
|
2500
|
+
*/
|
|
2501
|
+
select?: Prisma.AddressSelect<ExtArgs> | null
|
|
2502
|
+
/**
|
|
2503
|
+
* Omit specific fields from the Address
|
|
2504
|
+
*/
|
|
2505
|
+
omit?: Prisma.AddressOmit<ExtArgs> | null
|
|
2506
|
+
/**
|
|
2507
|
+
* Choose, which related nodes to fetch as well
|
|
2508
|
+
*/
|
|
2509
|
+
include?: Prisma.AddressInclude<ExtArgs> | null
|
|
2510
|
+
where?: Prisma.AddressWhereInput
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* Provider.reviews
|
|
2515
|
+
*/
|
|
2516
|
+
export type Provider$reviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2517
|
+
/**
|
|
2518
|
+
* Select specific fields to fetch from the Review
|
|
2519
|
+
*/
|
|
2520
|
+
select?: Prisma.ReviewSelect<ExtArgs> | null
|
|
2521
|
+
/**
|
|
2522
|
+
* Omit specific fields from the Review
|
|
2523
|
+
*/
|
|
2524
|
+
omit?: Prisma.ReviewOmit<ExtArgs> | null
|
|
2525
|
+
/**
|
|
2526
|
+
* Choose, which related nodes to fetch as well
|
|
2527
|
+
*/
|
|
2528
|
+
include?: Prisma.ReviewInclude<ExtArgs> | null
|
|
2529
|
+
where?: Prisma.ReviewWhereInput
|
|
2530
|
+
orderBy?: Prisma.ReviewOrderByWithRelationInput | Prisma.ReviewOrderByWithRelationInput[]
|
|
2531
|
+
cursor?: Prisma.ReviewWhereUniqueInput
|
|
2532
|
+
take?: number
|
|
2533
|
+
skip?: number
|
|
2534
|
+
distinct?: Prisma.ReviewScalarFieldEnum | Prisma.ReviewScalarFieldEnum[]
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* Provider.events
|
|
2539
|
+
*/
|
|
2540
|
+
export type Provider$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2541
|
+
/**
|
|
2542
|
+
* Select specific fields to fetch from the ProviderOnEvent
|
|
2543
|
+
*/
|
|
2544
|
+
select?: Prisma.ProviderOnEventSelect<ExtArgs> | null
|
|
2545
|
+
/**
|
|
2546
|
+
* Omit specific fields from the ProviderOnEvent
|
|
2547
|
+
*/
|
|
2548
|
+
omit?: Prisma.ProviderOnEventOmit<ExtArgs> | null
|
|
2549
|
+
/**
|
|
2550
|
+
* Choose, which related nodes to fetch as well
|
|
2551
|
+
*/
|
|
2552
|
+
include?: Prisma.ProviderOnEventInclude<ExtArgs> | null
|
|
2553
|
+
where?: Prisma.ProviderOnEventWhereInput
|
|
2554
|
+
orderBy?: Prisma.ProviderOnEventOrderByWithRelationInput | Prisma.ProviderOnEventOrderByWithRelationInput[]
|
|
2555
|
+
cursor?: Prisma.ProviderOnEventWhereUniqueInput
|
|
2556
|
+
take?: number
|
|
2557
|
+
skip?: number
|
|
2558
|
+
distinct?: Prisma.ProviderOnEventScalarFieldEnum | Prisma.ProviderOnEventScalarFieldEnum[]
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* Provider without action
|
|
2563
|
+
*/
|
|
2564
|
+
export type ProviderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2565
|
+
/**
|
|
2566
|
+
* Select specific fields to fetch from the Provider
|
|
2567
|
+
*/
|
|
2568
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
2569
|
+
/**
|
|
2570
|
+
* Omit specific fields from the Provider
|
|
2571
|
+
*/
|
|
2572
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
2573
|
+
/**
|
|
2574
|
+
* Choose, which related nodes to fetch as well
|
|
2575
|
+
*/
|
|
2576
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
2577
|
+
}
|