@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,1712 @@
|
|
|
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 `ProviderCategory` 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 ProviderCategory
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ProviderCategoryModel = runtime.Types.Result.DefaultSelection<Prisma.$ProviderCategoryPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateProviderCategory = {
|
|
22
|
+
_count: ProviderCategoryCountAggregateOutputType | null
|
|
23
|
+
_min: ProviderCategoryMinAggregateOutputType | null
|
|
24
|
+
_max: ProviderCategoryMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ProviderCategoryMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
name: string | null
|
|
30
|
+
description: string | null
|
|
31
|
+
active: boolean | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
updatedAt: Date | null
|
|
34
|
+
parentId: string | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type ProviderCategoryMaxAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
name: string | null
|
|
40
|
+
description: string | null
|
|
41
|
+
active: boolean | null
|
|
42
|
+
createdAt: Date | null
|
|
43
|
+
updatedAt: Date | null
|
|
44
|
+
parentId: string | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type ProviderCategoryCountAggregateOutputType = {
|
|
48
|
+
id: number
|
|
49
|
+
name: number
|
|
50
|
+
description: number
|
|
51
|
+
active: number
|
|
52
|
+
createdAt: number
|
|
53
|
+
updatedAt: number
|
|
54
|
+
parentId: number
|
|
55
|
+
_all: number
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type ProviderCategoryMinAggregateInputType = {
|
|
60
|
+
id?: true
|
|
61
|
+
name?: true
|
|
62
|
+
description?: true
|
|
63
|
+
active?: true
|
|
64
|
+
createdAt?: true
|
|
65
|
+
updatedAt?: true
|
|
66
|
+
parentId?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type ProviderCategoryMaxAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
name?: true
|
|
72
|
+
description?: true
|
|
73
|
+
active?: true
|
|
74
|
+
createdAt?: true
|
|
75
|
+
updatedAt?: true
|
|
76
|
+
parentId?: true
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type ProviderCategoryCountAggregateInputType = {
|
|
80
|
+
id?: true
|
|
81
|
+
name?: true
|
|
82
|
+
description?: true
|
|
83
|
+
active?: true
|
|
84
|
+
createdAt?: true
|
|
85
|
+
updatedAt?: true
|
|
86
|
+
parentId?: true
|
|
87
|
+
_all?: true
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type ProviderCategoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
/**
|
|
92
|
+
* Filter which ProviderCategory to aggregate.
|
|
93
|
+
*/
|
|
94
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
97
|
+
*
|
|
98
|
+
* Determine the order of ProviderCategories to fetch.
|
|
99
|
+
*/
|
|
100
|
+
orderBy?: Prisma.ProviderCategoryOrderByWithRelationInput | Prisma.ProviderCategoryOrderByWithRelationInput[]
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
103
|
+
*
|
|
104
|
+
* Sets the start position
|
|
105
|
+
*/
|
|
106
|
+
cursor?: Prisma.ProviderCategoryWhereUniqueInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Take `±n` ProviderCategories from the position of the cursor.
|
|
111
|
+
*/
|
|
112
|
+
take?: number
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Skip the first `n` ProviderCategories.
|
|
117
|
+
*/
|
|
118
|
+
skip?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Count returned ProviderCategories
|
|
123
|
+
**/
|
|
124
|
+
_count?: true | ProviderCategoryCountAggregateInputType
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Select which fields to find the minimum value
|
|
129
|
+
**/
|
|
130
|
+
_min?: ProviderCategoryMinAggregateInputType
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to find the maximum value
|
|
135
|
+
**/
|
|
136
|
+
_max?: ProviderCategoryMaxAggregateInputType
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type GetProviderCategoryAggregateType<T extends ProviderCategoryAggregateArgs> = {
|
|
140
|
+
[P in keyof T & keyof AggregateProviderCategory]: P extends '_count' | 'count'
|
|
141
|
+
? T[P] extends true
|
|
142
|
+
? number
|
|
143
|
+
: Prisma.GetScalarType<T[P], AggregateProviderCategory[P]>
|
|
144
|
+
: Prisma.GetScalarType<T[P], AggregateProviderCategory[P]>
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export type ProviderCategoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
151
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
152
|
+
orderBy?: Prisma.ProviderCategoryOrderByWithAggregationInput | Prisma.ProviderCategoryOrderByWithAggregationInput[]
|
|
153
|
+
by: Prisma.ProviderCategoryScalarFieldEnum[] | Prisma.ProviderCategoryScalarFieldEnum
|
|
154
|
+
having?: Prisma.ProviderCategoryScalarWhereWithAggregatesInput
|
|
155
|
+
take?: number
|
|
156
|
+
skip?: number
|
|
157
|
+
_count?: ProviderCategoryCountAggregateInputType | true
|
|
158
|
+
_min?: ProviderCategoryMinAggregateInputType
|
|
159
|
+
_max?: ProviderCategoryMaxAggregateInputType
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type ProviderCategoryGroupByOutputType = {
|
|
163
|
+
id: string
|
|
164
|
+
name: string
|
|
165
|
+
description: string | null
|
|
166
|
+
active: boolean
|
|
167
|
+
createdAt: Date
|
|
168
|
+
updatedAt: Date
|
|
169
|
+
parentId: string | null
|
|
170
|
+
_count: ProviderCategoryCountAggregateOutputType | null
|
|
171
|
+
_min: ProviderCategoryMinAggregateOutputType | null
|
|
172
|
+
_max: ProviderCategoryMaxAggregateOutputType | null
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type GetProviderCategoryGroupByPayload<T extends ProviderCategoryGroupByArgs> = Prisma.PrismaPromise<
|
|
176
|
+
Array<
|
|
177
|
+
Prisma.PickEnumerable<ProviderCategoryGroupByOutputType, T['by']> &
|
|
178
|
+
{
|
|
179
|
+
[P in ((keyof T) & (keyof ProviderCategoryGroupByOutputType))]: P extends '_count'
|
|
180
|
+
? T[P] extends boolean
|
|
181
|
+
? number
|
|
182
|
+
: Prisma.GetScalarType<T[P], ProviderCategoryGroupByOutputType[P]>
|
|
183
|
+
: Prisma.GetScalarType<T[P], ProviderCategoryGroupByOutputType[P]>
|
|
184
|
+
}
|
|
185
|
+
>
|
|
186
|
+
>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
export type ProviderCategoryWhereInput = {
|
|
191
|
+
AND?: Prisma.ProviderCategoryWhereInput | Prisma.ProviderCategoryWhereInput[]
|
|
192
|
+
OR?: Prisma.ProviderCategoryWhereInput[]
|
|
193
|
+
NOT?: Prisma.ProviderCategoryWhereInput | Prisma.ProviderCategoryWhereInput[]
|
|
194
|
+
id?: Prisma.StringFilter<"ProviderCategory"> | string
|
|
195
|
+
name?: Prisma.StringFilter<"ProviderCategory"> | string
|
|
196
|
+
description?: Prisma.StringNullableFilter<"ProviderCategory"> | string | null
|
|
197
|
+
active?: Prisma.BoolFilter<"ProviderCategory"> | boolean
|
|
198
|
+
createdAt?: Prisma.DateTimeFilter<"ProviderCategory"> | Date | string
|
|
199
|
+
updatedAt?: Prisma.DateTimeFilter<"ProviderCategory"> | Date | string
|
|
200
|
+
parentId?: Prisma.StringNullableFilter<"ProviderCategory"> | string | null
|
|
201
|
+
providers?: Prisma.ProviderListRelationFilter
|
|
202
|
+
parent?: Prisma.XOR<Prisma.ProviderCategoryNullableScalarRelationFilter, Prisma.ProviderCategoryWhereInput> | null
|
|
203
|
+
children?: Prisma.ProviderCategoryListRelationFilter
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export type ProviderCategoryOrderByWithRelationInput = {
|
|
207
|
+
id?: Prisma.SortOrder
|
|
208
|
+
name?: Prisma.SortOrder
|
|
209
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
210
|
+
active?: Prisma.SortOrder
|
|
211
|
+
createdAt?: Prisma.SortOrder
|
|
212
|
+
updatedAt?: Prisma.SortOrder
|
|
213
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
214
|
+
providers?: Prisma.ProviderOrderByRelationAggregateInput
|
|
215
|
+
parent?: Prisma.ProviderCategoryOrderByWithRelationInput
|
|
216
|
+
children?: Prisma.ProviderCategoryOrderByRelationAggregateInput
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export type ProviderCategoryWhereUniqueInput = Prisma.AtLeast<{
|
|
220
|
+
id?: string
|
|
221
|
+
name?: string
|
|
222
|
+
AND?: Prisma.ProviderCategoryWhereInput | Prisma.ProviderCategoryWhereInput[]
|
|
223
|
+
OR?: Prisma.ProviderCategoryWhereInput[]
|
|
224
|
+
NOT?: Prisma.ProviderCategoryWhereInput | Prisma.ProviderCategoryWhereInput[]
|
|
225
|
+
description?: Prisma.StringNullableFilter<"ProviderCategory"> | string | null
|
|
226
|
+
active?: Prisma.BoolFilter<"ProviderCategory"> | boolean
|
|
227
|
+
createdAt?: Prisma.DateTimeFilter<"ProviderCategory"> | Date | string
|
|
228
|
+
updatedAt?: Prisma.DateTimeFilter<"ProviderCategory"> | Date | string
|
|
229
|
+
parentId?: Prisma.StringNullableFilter<"ProviderCategory"> | string | null
|
|
230
|
+
providers?: Prisma.ProviderListRelationFilter
|
|
231
|
+
parent?: Prisma.XOR<Prisma.ProviderCategoryNullableScalarRelationFilter, Prisma.ProviderCategoryWhereInput> | null
|
|
232
|
+
children?: Prisma.ProviderCategoryListRelationFilter
|
|
233
|
+
}, "id" | "name">
|
|
234
|
+
|
|
235
|
+
export type ProviderCategoryOrderByWithAggregationInput = {
|
|
236
|
+
id?: Prisma.SortOrder
|
|
237
|
+
name?: Prisma.SortOrder
|
|
238
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
239
|
+
active?: Prisma.SortOrder
|
|
240
|
+
createdAt?: Prisma.SortOrder
|
|
241
|
+
updatedAt?: Prisma.SortOrder
|
|
242
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
243
|
+
_count?: Prisma.ProviderCategoryCountOrderByAggregateInput
|
|
244
|
+
_max?: Prisma.ProviderCategoryMaxOrderByAggregateInput
|
|
245
|
+
_min?: Prisma.ProviderCategoryMinOrderByAggregateInput
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type ProviderCategoryScalarWhereWithAggregatesInput = {
|
|
249
|
+
AND?: Prisma.ProviderCategoryScalarWhereWithAggregatesInput | Prisma.ProviderCategoryScalarWhereWithAggregatesInput[]
|
|
250
|
+
OR?: Prisma.ProviderCategoryScalarWhereWithAggregatesInput[]
|
|
251
|
+
NOT?: Prisma.ProviderCategoryScalarWhereWithAggregatesInput | Prisma.ProviderCategoryScalarWhereWithAggregatesInput[]
|
|
252
|
+
id?: Prisma.StringWithAggregatesFilter<"ProviderCategory"> | string
|
|
253
|
+
name?: Prisma.StringWithAggregatesFilter<"ProviderCategory"> | string
|
|
254
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"ProviderCategory"> | string | null
|
|
255
|
+
active?: Prisma.BoolWithAggregatesFilter<"ProviderCategory"> | boolean
|
|
256
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProviderCategory"> | Date | string
|
|
257
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProviderCategory"> | Date | string
|
|
258
|
+
parentId?: Prisma.StringNullableWithAggregatesFilter<"ProviderCategory"> | string | null
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type ProviderCategoryCreateInput = {
|
|
262
|
+
id?: string
|
|
263
|
+
name: string
|
|
264
|
+
description?: string | null
|
|
265
|
+
active?: boolean
|
|
266
|
+
createdAt?: Date | string
|
|
267
|
+
updatedAt?: Date | string
|
|
268
|
+
providers?: Prisma.ProviderCreateNestedManyWithoutCategoryInput
|
|
269
|
+
parent?: Prisma.ProviderCategoryCreateNestedOneWithoutChildrenInput
|
|
270
|
+
children?: Prisma.ProviderCategoryCreateNestedManyWithoutParentInput
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export type ProviderCategoryUncheckedCreateInput = {
|
|
274
|
+
id?: string
|
|
275
|
+
name: string
|
|
276
|
+
description?: string | null
|
|
277
|
+
active?: boolean
|
|
278
|
+
createdAt?: Date | string
|
|
279
|
+
updatedAt?: Date | string
|
|
280
|
+
parentId?: string | null
|
|
281
|
+
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutCategoryInput
|
|
282
|
+
children?: Prisma.ProviderCategoryUncheckedCreateNestedManyWithoutParentInput
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type ProviderCategoryUpdateInput = {
|
|
286
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
287
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
288
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
289
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
290
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
291
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
292
|
+
providers?: Prisma.ProviderUpdateManyWithoutCategoryNestedInput
|
|
293
|
+
parent?: Prisma.ProviderCategoryUpdateOneWithoutChildrenNestedInput
|
|
294
|
+
children?: Prisma.ProviderCategoryUpdateManyWithoutParentNestedInput
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type ProviderCategoryUncheckedUpdateInput = {
|
|
298
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
300
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
301
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
302
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
303
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
304
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
305
|
+
providers?: Prisma.ProviderUncheckedUpdateManyWithoutCategoryNestedInput
|
|
306
|
+
children?: Prisma.ProviderCategoryUncheckedUpdateManyWithoutParentNestedInput
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export type ProviderCategoryCreateManyInput = {
|
|
310
|
+
id?: string
|
|
311
|
+
name: string
|
|
312
|
+
description?: string | null
|
|
313
|
+
active?: boolean
|
|
314
|
+
createdAt?: Date | string
|
|
315
|
+
updatedAt?: Date | string
|
|
316
|
+
parentId?: string | null
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export type ProviderCategoryUpdateManyMutationInput = {
|
|
320
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
321
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
322
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
323
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
324
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
325
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type ProviderCategoryUncheckedUpdateManyInput = {
|
|
329
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
330
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
331
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
332
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
333
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
334
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
335
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type ProviderCategoryNullableScalarRelationFilter = {
|
|
339
|
+
is?: Prisma.ProviderCategoryWhereInput | null
|
|
340
|
+
isNot?: Prisma.ProviderCategoryWhereInput | null
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type ProviderCategoryListRelationFilter = {
|
|
344
|
+
every?: Prisma.ProviderCategoryWhereInput
|
|
345
|
+
some?: Prisma.ProviderCategoryWhereInput
|
|
346
|
+
none?: Prisma.ProviderCategoryWhereInput
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type ProviderCategoryOrderByRelationAggregateInput = {
|
|
350
|
+
_count?: Prisma.SortOrder
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export type ProviderCategoryCountOrderByAggregateInput = {
|
|
354
|
+
id?: Prisma.SortOrder
|
|
355
|
+
name?: Prisma.SortOrder
|
|
356
|
+
description?: Prisma.SortOrder
|
|
357
|
+
active?: Prisma.SortOrder
|
|
358
|
+
createdAt?: Prisma.SortOrder
|
|
359
|
+
updatedAt?: Prisma.SortOrder
|
|
360
|
+
parentId?: Prisma.SortOrder
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export type ProviderCategoryMaxOrderByAggregateInput = {
|
|
364
|
+
id?: Prisma.SortOrder
|
|
365
|
+
name?: Prisma.SortOrder
|
|
366
|
+
description?: Prisma.SortOrder
|
|
367
|
+
active?: Prisma.SortOrder
|
|
368
|
+
createdAt?: Prisma.SortOrder
|
|
369
|
+
updatedAt?: Prisma.SortOrder
|
|
370
|
+
parentId?: Prisma.SortOrder
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export type ProviderCategoryMinOrderByAggregateInput = {
|
|
374
|
+
id?: Prisma.SortOrder
|
|
375
|
+
name?: Prisma.SortOrder
|
|
376
|
+
description?: Prisma.SortOrder
|
|
377
|
+
active?: Prisma.SortOrder
|
|
378
|
+
createdAt?: Prisma.SortOrder
|
|
379
|
+
updatedAt?: Prisma.SortOrder
|
|
380
|
+
parentId?: Prisma.SortOrder
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type ProviderCategoryScalarRelationFilter = {
|
|
384
|
+
is?: Prisma.ProviderCategoryWhereInput
|
|
385
|
+
isNot?: Prisma.ProviderCategoryWhereInput
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export type ProviderCategoryCreateNestedOneWithoutChildrenInput = {
|
|
389
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutChildrenInput, Prisma.ProviderCategoryUncheckedCreateWithoutChildrenInput>
|
|
390
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutChildrenInput
|
|
391
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type ProviderCategoryCreateNestedManyWithoutParentInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutParentInput, Prisma.ProviderCategoryUncheckedCreateWithoutParentInput> | Prisma.ProviderCategoryCreateWithoutParentInput[] | Prisma.ProviderCategoryUncheckedCreateWithoutParentInput[]
|
|
396
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutParentInput | Prisma.ProviderCategoryCreateOrConnectWithoutParentInput[]
|
|
397
|
+
createMany?: Prisma.ProviderCategoryCreateManyParentInputEnvelope
|
|
398
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type ProviderCategoryUncheckedCreateNestedManyWithoutParentInput = {
|
|
402
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutParentInput, Prisma.ProviderCategoryUncheckedCreateWithoutParentInput> | Prisma.ProviderCategoryCreateWithoutParentInput[] | Prisma.ProviderCategoryUncheckedCreateWithoutParentInput[]
|
|
403
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutParentInput | Prisma.ProviderCategoryCreateOrConnectWithoutParentInput[]
|
|
404
|
+
createMany?: Prisma.ProviderCategoryCreateManyParentInputEnvelope
|
|
405
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type ProviderCategoryUpdateOneWithoutChildrenNestedInput = {
|
|
409
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutChildrenInput, Prisma.ProviderCategoryUncheckedCreateWithoutChildrenInput>
|
|
410
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutChildrenInput
|
|
411
|
+
upsert?: Prisma.ProviderCategoryUpsertWithoutChildrenInput
|
|
412
|
+
disconnect?: Prisma.ProviderCategoryWhereInput | boolean
|
|
413
|
+
delete?: Prisma.ProviderCategoryWhereInput | boolean
|
|
414
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput
|
|
415
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderCategoryUpdateToOneWithWhereWithoutChildrenInput, Prisma.ProviderCategoryUpdateWithoutChildrenInput>, Prisma.ProviderCategoryUncheckedUpdateWithoutChildrenInput>
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export type ProviderCategoryUpdateManyWithoutParentNestedInput = {
|
|
419
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutParentInput, Prisma.ProviderCategoryUncheckedCreateWithoutParentInput> | Prisma.ProviderCategoryCreateWithoutParentInput[] | Prisma.ProviderCategoryUncheckedCreateWithoutParentInput[]
|
|
420
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutParentInput | Prisma.ProviderCategoryCreateOrConnectWithoutParentInput[]
|
|
421
|
+
upsert?: Prisma.ProviderCategoryUpsertWithWhereUniqueWithoutParentInput | Prisma.ProviderCategoryUpsertWithWhereUniqueWithoutParentInput[]
|
|
422
|
+
createMany?: Prisma.ProviderCategoryCreateManyParentInputEnvelope
|
|
423
|
+
set?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
424
|
+
disconnect?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
425
|
+
delete?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
426
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
427
|
+
update?: Prisma.ProviderCategoryUpdateWithWhereUniqueWithoutParentInput | Prisma.ProviderCategoryUpdateWithWhereUniqueWithoutParentInput[]
|
|
428
|
+
updateMany?: Prisma.ProviderCategoryUpdateManyWithWhereWithoutParentInput | Prisma.ProviderCategoryUpdateManyWithWhereWithoutParentInput[]
|
|
429
|
+
deleteMany?: Prisma.ProviderCategoryScalarWhereInput | Prisma.ProviderCategoryScalarWhereInput[]
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type ProviderCategoryUncheckedUpdateManyWithoutParentNestedInput = {
|
|
433
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutParentInput, Prisma.ProviderCategoryUncheckedCreateWithoutParentInput> | Prisma.ProviderCategoryCreateWithoutParentInput[] | Prisma.ProviderCategoryUncheckedCreateWithoutParentInput[]
|
|
434
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutParentInput | Prisma.ProviderCategoryCreateOrConnectWithoutParentInput[]
|
|
435
|
+
upsert?: Prisma.ProviderCategoryUpsertWithWhereUniqueWithoutParentInput | Prisma.ProviderCategoryUpsertWithWhereUniqueWithoutParentInput[]
|
|
436
|
+
createMany?: Prisma.ProviderCategoryCreateManyParentInputEnvelope
|
|
437
|
+
set?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
438
|
+
disconnect?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
439
|
+
delete?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
440
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput | Prisma.ProviderCategoryWhereUniqueInput[]
|
|
441
|
+
update?: Prisma.ProviderCategoryUpdateWithWhereUniqueWithoutParentInput | Prisma.ProviderCategoryUpdateWithWhereUniqueWithoutParentInput[]
|
|
442
|
+
updateMany?: Prisma.ProviderCategoryUpdateManyWithWhereWithoutParentInput | Prisma.ProviderCategoryUpdateManyWithWhereWithoutParentInput[]
|
|
443
|
+
deleteMany?: Prisma.ProviderCategoryScalarWhereInput | Prisma.ProviderCategoryScalarWhereInput[]
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type ProviderCategoryCreateNestedOneWithoutProvidersInput = {
|
|
447
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutProvidersInput, Prisma.ProviderCategoryUncheckedCreateWithoutProvidersInput>
|
|
448
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutProvidersInput
|
|
449
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export type ProviderCategoryUpdateOneRequiredWithoutProvidersNestedInput = {
|
|
453
|
+
create?: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutProvidersInput, Prisma.ProviderCategoryUncheckedCreateWithoutProvidersInput>
|
|
454
|
+
connectOrCreate?: Prisma.ProviderCategoryCreateOrConnectWithoutProvidersInput
|
|
455
|
+
upsert?: Prisma.ProviderCategoryUpsertWithoutProvidersInput
|
|
456
|
+
connect?: Prisma.ProviderCategoryWhereUniqueInput
|
|
457
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderCategoryUpdateToOneWithWhereWithoutProvidersInput, Prisma.ProviderCategoryUpdateWithoutProvidersInput>, Prisma.ProviderCategoryUncheckedUpdateWithoutProvidersInput>
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type ProviderCategoryCreateWithoutChildrenInput = {
|
|
461
|
+
id?: string
|
|
462
|
+
name: string
|
|
463
|
+
description?: string | null
|
|
464
|
+
active?: boolean
|
|
465
|
+
createdAt?: Date | string
|
|
466
|
+
updatedAt?: Date | string
|
|
467
|
+
providers?: Prisma.ProviderCreateNestedManyWithoutCategoryInput
|
|
468
|
+
parent?: Prisma.ProviderCategoryCreateNestedOneWithoutChildrenInput
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type ProviderCategoryUncheckedCreateWithoutChildrenInput = {
|
|
472
|
+
id?: string
|
|
473
|
+
name: string
|
|
474
|
+
description?: string | null
|
|
475
|
+
active?: boolean
|
|
476
|
+
createdAt?: Date | string
|
|
477
|
+
updatedAt?: Date | string
|
|
478
|
+
parentId?: string | null
|
|
479
|
+
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutCategoryInput
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type ProviderCategoryCreateOrConnectWithoutChildrenInput = {
|
|
483
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
484
|
+
create: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutChildrenInput, Prisma.ProviderCategoryUncheckedCreateWithoutChildrenInput>
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export type ProviderCategoryCreateWithoutParentInput = {
|
|
488
|
+
id?: string
|
|
489
|
+
name: string
|
|
490
|
+
description?: string | null
|
|
491
|
+
active?: boolean
|
|
492
|
+
createdAt?: Date | string
|
|
493
|
+
updatedAt?: Date | string
|
|
494
|
+
providers?: Prisma.ProviderCreateNestedManyWithoutCategoryInput
|
|
495
|
+
children?: Prisma.ProviderCategoryCreateNestedManyWithoutParentInput
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export type ProviderCategoryUncheckedCreateWithoutParentInput = {
|
|
499
|
+
id?: string
|
|
500
|
+
name: string
|
|
501
|
+
description?: string | null
|
|
502
|
+
active?: boolean
|
|
503
|
+
createdAt?: Date | string
|
|
504
|
+
updatedAt?: Date | string
|
|
505
|
+
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutCategoryInput
|
|
506
|
+
children?: Prisma.ProviderCategoryUncheckedCreateNestedManyWithoutParentInput
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type ProviderCategoryCreateOrConnectWithoutParentInput = {
|
|
510
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
511
|
+
create: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutParentInput, Prisma.ProviderCategoryUncheckedCreateWithoutParentInput>
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export type ProviderCategoryCreateManyParentInputEnvelope = {
|
|
515
|
+
data: Prisma.ProviderCategoryCreateManyParentInput | Prisma.ProviderCategoryCreateManyParentInput[]
|
|
516
|
+
skipDuplicates?: boolean
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export type ProviderCategoryUpsertWithoutChildrenInput = {
|
|
520
|
+
update: Prisma.XOR<Prisma.ProviderCategoryUpdateWithoutChildrenInput, Prisma.ProviderCategoryUncheckedUpdateWithoutChildrenInput>
|
|
521
|
+
create: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutChildrenInput, Prisma.ProviderCategoryUncheckedCreateWithoutChildrenInput>
|
|
522
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type ProviderCategoryUpdateToOneWithWhereWithoutChildrenInput = {
|
|
526
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
527
|
+
data: Prisma.XOR<Prisma.ProviderCategoryUpdateWithoutChildrenInput, Prisma.ProviderCategoryUncheckedUpdateWithoutChildrenInput>
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export type ProviderCategoryUpdateWithoutChildrenInput = {
|
|
531
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
532
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
533
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
534
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
535
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
536
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
537
|
+
providers?: Prisma.ProviderUpdateManyWithoutCategoryNestedInput
|
|
538
|
+
parent?: Prisma.ProviderCategoryUpdateOneWithoutChildrenNestedInput
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export type ProviderCategoryUncheckedUpdateWithoutChildrenInput = {
|
|
542
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
543
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
544
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
545
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
546
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
547
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
548
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
549
|
+
providers?: Prisma.ProviderUncheckedUpdateManyWithoutCategoryNestedInput
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export type ProviderCategoryUpsertWithWhereUniqueWithoutParentInput = {
|
|
553
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
554
|
+
update: Prisma.XOR<Prisma.ProviderCategoryUpdateWithoutParentInput, Prisma.ProviderCategoryUncheckedUpdateWithoutParentInput>
|
|
555
|
+
create: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutParentInput, Prisma.ProviderCategoryUncheckedCreateWithoutParentInput>
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export type ProviderCategoryUpdateWithWhereUniqueWithoutParentInput = {
|
|
559
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
560
|
+
data: Prisma.XOR<Prisma.ProviderCategoryUpdateWithoutParentInput, Prisma.ProviderCategoryUncheckedUpdateWithoutParentInput>
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export type ProviderCategoryUpdateManyWithWhereWithoutParentInput = {
|
|
564
|
+
where: Prisma.ProviderCategoryScalarWhereInput
|
|
565
|
+
data: Prisma.XOR<Prisma.ProviderCategoryUpdateManyMutationInput, Prisma.ProviderCategoryUncheckedUpdateManyWithoutParentInput>
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type ProviderCategoryScalarWhereInput = {
|
|
569
|
+
AND?: Prisma.ProviderCategoryScalarWhereInput | Prisma.ProviderCategoryScalarWhereInput[]
|
|
570
|
+
OR?: Prisma.ProviderCategoryScalarWhereInput[]
|
|
571
|
+
NOT?: Prisma.ProviderCategoryScalarWhereInput | Prisma.ProviderCategoryScalarWhereInput[]
|
|
572
|
+
id?: Prisma.StringFilter<"ProviderCategory"> | string
|
|
573
|
+
name?: Prisma.StringFilter<"ProviderCategory"> | string
|
|
574
|
+
description?: Prisma.StringNullableFilter<"ProviderCategory"> | string | null
|
|
575
|
+
active?: Prisma.BoolFilter<"ProviderCategory"> | boolean
|
|
576
|
+
createdAt?: Prisma.DateTimeFilter<"ProviderCategory"> | Date | string
|
|
577
|
+
updatedAt?: Prisma.DateTimeFilter<"ProviderCategory"> | Date | string
|
|
578
|
+
parentId?: Prisma.StringNullableFilter<"ProviderCategory"> | string | null
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export type ProviderCategoryCreateWithoutProvidersInput = {
|
|
582
|
+
id?: string
|
|
583
|
+
name: string
|
|
584
|
+
description?: string | null
|
|
585
|
+
active?: boolean
|
|
586
|
+
createdAt?: Date | string
|
|
587
|
+
updatedAt?: Date | string
|
|
588
|
+
parent?: Prisma.ProviderCategoryCreateNestedOneWithoutChildrenInput
|
|
589
|
+
children?: Prisma.ProviderCategoryCreateNestedManyWithoutParentInput
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export type ProviderCategoryUncheckedCreateWithoutProvidersInput = {
|
|
593
|
+
id?: string
|
|
594
|
+
name: string
|
|
595
|
+
description?: string | null
|
|
596
|
+
active?: boolean
|
|
597
|
+
createdAt?: Date | string
|
|
598
|
+
updatedAt?: Date | string
|
|
599
|
+
parentId?: string | null
|
|
600
|
+
children?: Prisma.ProviderCategoryUncheckedCreateNestedManyWithoutParentInput
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export type ProviderCategoryCreateOrConnectWithoutProvidersInput = {
|
|
604
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
605
|
+
create: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutProvidersInput, Prisma.ProviderCategoryUncheckedCreateWithoutProvidersInput>
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export type ProviderCategoryUpsertWithoutProvidersInput = {
|
|
609
|
+
update: Prisma.XOR<Prisma.ProviderCategoryUpdateWithoutProvidersInput, Prisma.ProviderCategoryUncheckedUpdateWithoutProvidersInput>
|
|
610
|
+
create: Prisma.XOR<Prisma.ProviderCategoryCreateWithoutProvidersInput, Prisma.ProviderCategoryUncheckedCreateWithoutProvidersInput>
|
|
611
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export type ProviderCategoryUpdateToOneWithWhereWithoutProvidersInput = {
|
|
615
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
616
|
+
data: Prisma.XOR<Prisma.ProviderCategoryUpdateWithoutProvidersInput, Prisma.ProviderCategoryUncheckedUpdateWithoutProvidersInput>
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export type ProviderCategoryUpdateWithoutProvidersInput = {
|
|
620
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
621
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
622
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
623
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
624
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
625
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
626
|
+
parent?: Prisma.ProviderCategoryUpdateOneWithoutChildrenNestedInput
|
|
627
|
+
children?: Prisma.ProviderCategoryUpdateManyWithoutParentNestedInput
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export type ProviderCategoryUncheckedUpdateWithoutProvidersInput = {
|
|
631
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
632
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
633
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
634
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
635
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
636
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
637
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
638
|
+
children?: Prisma.ProviderCategoryUncheckedUpdateManyWithoutParentNestedInput
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export type ProviderCategoryCreateManyParentInput = {
|
|
642
|
+
id?: string
|
|
643
|
+
name: string
|
|
644
|
+
description?: string | null
|
|
645
|
+
active?: boolean
|
|
646
|
+
createdAt?: Date | string
|
|
647
|
+
updatedAt?: Date | string
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export type ProviderCategoryUpdateWithoutParentInput = {
|
|
651
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
652
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
653
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
654
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
655
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
656
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
657
|
+
providers?: Prisma.ProviderUpdateManyWithoutCategoryNestedInput
|
|
658
|
+
children?: Prisma.ProviderCategoryUpdateManyWithoutParentNestedInput
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
export type ProviderCategoryUncheckedUpdateWithoutParentInput = {
|
|
662
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
663
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
664
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
665
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
666
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
667
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
668
|
+
providers?: Prisma.ProviderUncheckedUpdateManyWithoutCategoryNestedInput
|
|
669
|
+
children?: Prisma.ProviderCategoryUncheckedUpdateManyWithoutParentNestedInput
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export type ProviderCategoryUncheckedUpdateManyWithoutParentInput = {
|
|
673
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
674
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
675
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
676
|
+
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
677
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
678
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Count Type ProviderCategoryCountOutputType
|
|
684
|
+
*/
|
|
685
|
+
|
|
686
|
+
export type ProviderCategoryCountOutputType = {
|
|
687
|
+
providers: number
|
|
688
|
+
children: number
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export type ProviderCategoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
692
|
+
providers?: boolean | ProviderCategoryCountOutputTypeCountProvidersArgs
|
|
693
|
+
children?: boolean | ProviderCategoryCountOutputTypeCountChildrenArgs
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* ProviderCategoryCountOutputType without action
|
|
698
|
+
*/
|
|
699
|
+
export type ProviderCategoryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
700
|
+
/**
|
|
701
|
+
* Select specific fields to fetch from the ProviderCategoryCountOutputType
|
|
702
|
+
*/
|
|
703
|
+
select?: Prisma.ProviderCategoryCountOutputTypeSelect<ExtArgs> | null
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* ProviderCategoryCountOutputType without action
|
|
708
|
+
*/
|
|
709
|
+
export type ProviderCategoryCountOutputTypeCountProvidersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
710
|
+
where?: Prisma.ProviderWhereInput
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* ProviderCategoryCountOutputType without action
|
|
715
|
+
*/
|
|
716
|
+
export type ProviderCategoryCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
717
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
export type ProviderCategorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
722
|
+
id?: boolean
|
|
723
|
+
name?: boolean
|
|
724
|
+
description?: boolean
|
|
725
|
+
active?: boolean
|
|
726
|
+
createdAt?: boolean
|
|
727
|
+
updatedAt?: boolean
|
|
728
|
+
parentId?: boolean
|
|
729
|
+
providers?: boolean | Prisma.ProviderCategory$providersArgs<ExtArgs>
|
|
730
|
+
parent?: boolean | Prisma.ProviderCategory$parentArgs<ExtArgs>
|
|
731
|
+
children?: boolean | Prisma.ProviderCategory$childrenArgs<ExtArgs>
|
|
732
|
+
_count?: boolean | Prisma.ProviderCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
|
733
|
+
}, ExtArgs["result"]["providerCategory"]>
|
|
734
|
+
|
|
735
|
+
export type ProviderCategorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
736
|
+
id?: boolean
|
|
737
|
+
name?: boolean
|
|
738
|
+
description?: boolean
|
|
739
|
+
active?: boolean
|
|
740
|
+
createdAt?: boolean
|
|
741
|
+
updatedAt?: boolean
|
|
742
|
+
parentId?: boolean
|
|
743
|
+
parent?: boolean | Prisma.ProviderCategory$parentArgs<ExtArgs>
|
|
744
|
+
}, ExtArgs["result"]["providerCategory"]>
|
|
745
|
+
|
|
746
|
+
export type ProviderCategorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
747
|
+
id?: boolean
|
|
748
|
+
name?: boolean
|
|
749
|
+
description?: boolean
|
|
750
|
+
active?: boolean
|
|
751
|
+
createdAt?: boolean
|
|
752
|
+
updatedAt?: boolean
|
|
753
|
+
parentId?: boolean
|
|
754
|
+
parent?: boolean | Prisma.ProviderCategory$parentArgs<ExtArgs>
|
|
755
|
+
}, ExtArgs["result"]["providerCategory"]>
|
|
756
|
+
|
|
757
|
+
export type ProviderCategorySelectScalar = {
|
|
758
|
+
id?: boolean
|
|
759
|
+
name?: boolean
|
|
760
|
+
description?: boolean
|
|
761
|
+
active?: boolean
|
|
762
|
+
createdAt?: boolean
|
|
763
|
+
updatedAt?: boolean
|
|
764
|
+
parentId?: boolean
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
export type ProviderCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "active" | "createdAt" | "updatedAt" | "parentId", ExtArgs["result"]["providerCategory"]>
|
|
768
|
+
export type ProviderCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
769
|
+
providers?: boolean | Prisma.ProviderCategory$providersArgs<ExtArgs>
|
|
770
|
+
parent?: boolean | Prisma.ProviderCategory$parentArgs<ExtArgs>
|
|
771
|
+
children?: boolean | Prisma.ProviderCategory$childrenArgs<ExtArgs>
|
|
772
|
+
_count?: boolean | Prisma.ProviderCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
|
773
|
+
}
|
|
774
|
+
export type ProviderCategoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
775
|
+
parent?: boolean | Prisma.ProviderCategory$parentArgs<ExtArgs>
|
|
776
|
+
}
|
|
777
|
+
export type ProviderCategoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
778
|
+
parent?: boolean | Prisma.ProviderCategory$parentArgs<ExtArgs>
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export type $ProviderCategoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
782
|
+
name: "ProviderCategory"
|
|
783
|
+
objects: {
|
|
784
|
+
providers: Prisma.$ProviderPayload<ExtArgs>[]
|
|
785
|
+
parent: Prisma.$ProviderCategoryPayload<ExtArgs> | null
|
|
786
|
+
children: Prisma.$ProviderCategoryPayload<ExtArgs>[]
|
|
787
|
+
}
|
|
788
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
789
|
+
id: string
|
|
790
|
+
name: string
|
|
791
|
+
description: string | null
|
|
792
|
+
active: boolean
|
|
793
|
+
createdAt: Date
|
|
794
|
+
updatedAt: Date
|
|
795
|
+
parentId: string | null
|
|
796
|
+
}, ExtArgs["result"]["providerCategory"]>
|
|
797
|
+
composites: {}
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type ProviderCategoryGetPayload<S extends boolean | null | undefined | ProviderCategoryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload, S>
|
|
801
|
+
|
|
802
|
+
export type ProviderCategoryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
803
|
+
Omit<ProviderCategoryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
804
|
+
select?: ProviderCategoryCountAggregateInputType | true
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export interface ProviderCategoryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
808
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProviderCategory'], meta: { name: 'ProviderCategory' } }
|
|
809
|
+
/**
|
|
810
|
+
* Find zero or one ProviderCategory that matches the filter.
|
|
811
|
+
* @param {ProviderCategoryFindUniqueArgs} args - Arguments to find a ProviderCategory
|
|
812
|
+
* @example
|
|
813
|
+
* // Get one ProviderCategory
|
|
814
|
+
* const providerCategory = await prisma.providerCategory.findUnique({
|
|
815
|
+
* where: {
|
|
816
|
+
* // ... provide filter here
|
|
817
|
+
* }
|
|
818
|
+
* })
|
|
819
|
+
*/
|
|
820
|
+
findUnique<T extends ProviderCategoryFindUniqueArgs>(args: Prisma.SelectSubset<T, ProviderCategoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Find one ProviderCategory that matches the filter or throw an error with `error.code='P2025'`
|
|
824
|
+
* if no matches were found.
|
|
825
|
+
* @param {ProviderCategoryFindUniqueOrThrowArgs} args - Arguments to find a ProviderCategory
|
|
826
|
+
* @example
|
|
827
|
+
* // Get one ProviderCategory
|
|
828
|
+
* const providerCategory = await prisma.providerCategory.findUniqueOrThrow({
|
|
829
|
+
* where: {
|
|
830
|
+
* // ... provide filter here
|
|
831
|
+
* }
|
|
832
|
+
* })
|
|
833
|
+
*/
|
|
834
|
+
findUniqueOrThrow<T extends ProviderCategoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProviderCategoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Find the first ProviderCategory that matches the filter.
|
|
838
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
839
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
840
|
+
* @param {ProviderCategoryFindFirstArgs} args - Arguments to find a ProviderCategory
|
|
841
|
+
* @example
|
|
842
|
+
* // Get one ProviderCategory
|
|
843
|
+
* const providerCategory = await prisma.providerCategory.findFirst({
|
|
844
|
+
* where: {
|
|
845
|
+
* // ... provide filter here
|
|
846
|
+
* }
|
|
847
|
+
* })
|
|
848
|
+
*/
|
|
849
|
+
findFirst<T extends ProviderCategoryFindFirstArgs>(args?: Prisma.SelectSubset<T, ProviderCategoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Find the first ProviderCategory that matches the filter or
|
|
853
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
854
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
855
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
856
|
+
* @param {ProviderCategoryFindFirstOrThrowArgs} args - Arguments to find a ProviderCategory
|
|
857
|
+
* @example
|
|
858
|
+
* // Get one ProviderCategory
|
|
859
|
+
* const providerCategory = await prisma.providerCategory.findFirstOrThrow({
|
|
860
|
+
* where: {
|
|
861
|
+
* // ... provide filter here
|
|
862
|
+
* }
|
|
863
|
+
* })
|
|
864
|
+
*/
|
|
865
|
+
findFirstOrThrow<T extends ProviderCategoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProviderCategoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Find zero or more ProviderCategories that matches the filter.
|
|
869
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
870
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
871
|
+
* @param {ProviderCategoryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
872
|
+
* @example
|
|
873
|
+
* // Get all ProviderCategories
|
|
874
|
+
* const providerCategories = await prisma.providerCategory.findMany()
|
|
875
|
+
*
|
|
876
|
+
* // Get first 10 ProviderCategories
|
|
877
|
+
* const providerCategories = await prisma.providerCategory.findMany({ take: 10 })
|
|
878
|
+
*
|
|
879
|
+
* // Only select the `id`
|
|
880
|
+
* const providerCategoryWithIdOnly = await prisma.providerCategory.findMany({ select: { id: true } })
|
|
881
|
+
*
|
|
882
|
+
*/
|
|
883
|
+
findMany<T extends ProviderCategoryFindManyArgs>(args?: Prisma.SelectSubset<T, ProviderCategoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Create a ProviderCategory.
|
|
887
|
+
* @param {ProviderCategoryCreateArgs} args - Arguments to create a ProviderCategory.
|
|
888
|
+
* @example
|
|
889
|
+
* // Create one ProviderCategory
|
|
890
|
+
* const ProviderCategory = await prisma.providerCategory.create({
|
|
891
|
+
* data: {
|
|
892
|
+
* // ... data to create a ProviderCategory
|
|
893
|
+
* }
|
|
894
|
+
* })
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
create<T extends ProviderCategoryCreateArgs>(args: Prisma.SelectSubset<T, ProviderCategoryCreateArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Create many ProviderCategories.
|
|
901
|
+
* @param {ProviderCategoryCreateManyArgs} args - Arguments to create many ProviderCategories.
|
|
902
|
+
* @example
|
|
903
|
+
* // Create many ProviderCategories
|
|
904
|
+
* const providerCategory = await prisma.providerCategory.createMany({
|
|
905
|
+
* data: [
|
|
906
|
+
* // ... provide data here
|
|
907
|
+
* ]
|
|
908
|
+
* })
|
|
909
|
+
*
|
|
910
|
+
*/
|
|
911
|
+
createMany<T extends ProviderCategoryCreateManyArgs>(args?: Prisma.SelectSubset<T, ProviderCategoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Create many ProviderCategories and returns the data saved in the database.
|
|
915
|
+
* @param {ProviderCategoryCreateManyAndReturnArgs} args - Arguments to create many ProviderCategories.
|
|
916
|
+
* @example
|
|
917
|
+
* // Create many ProviderCategories
|
|
918
|
+
* const providerCategory = await prisma.providerCategory.createManyAndReturn({
|
|
919
|
+
* data: [
|
|
920
|
+
* // ... provide data here
|
|
921
|
+
* ]
|
|
922
|
+
* })
|
|
923
|
+
*
|
|
924
|
+
* // Create many ProviderCategories and only return the `id`
|
|
925
|
+
* const providerCategoryWithIdOnly = await prisma.providerCategory.createManyAndReturn({
|
|
926
|
+
* select: { id: true },
|
|
927
|
+
* data: [
|
|
928
|
+
* // ... provide data here
|
|
929
|
+
* ]
|
|
930
|
+
* })
|
|
931
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
932
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
933
|
+
*
|
|
934
|
+
*/
|
|
935
|
+
createManyAndReturn<T extends ProviderCategoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProviderCategoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Delete a ProviderCategory.
|
|
939
|
+
* @param {ProviderCategoryDeleteArgs} args - Arguments to delete one ProviderCategory.
|
|
940
|
+
* @example
|
|
941
|
+
* // Delete one ProviderCategory
|
|
942
|
+
* const ProviderCategory = await prisma.providerCategory.delete({
|
|
943
|
+
* where: {
|
|
944
|
+
* // ... filter to delete one ProviderCategory
|
|
945
|
+
* }
|
|
946
|
+
* })
|
|
947
|
+
*
|
|
948
|
+
*/
|
|
949
|
+
delete<T extends ProviderCategoryDeleteArgs>(args: Prisma.SelectSubset<T, ProviderCategoryDeleteArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Update one ProviderCategory.
|
|
953
|
+
* @param {ProviderCategoryUpdateArgs} args - Arguments to update one ProviderCategory.
|
|
954
|
+
* @example
|
|
955
|
+
* // Update one ProviderCategory
|
|
956
|
+
* const providerCategory = await prisma.providerCategory.update({
|
|
957
|
+
* where: {
|
|
958
|
+
* // ... provide filter here
|
|
959
|
+
* },
|
|
960
|
+
* data: {
|
|
961
|
+
* // ... provide data here
|
|
962
|
+
* }
|
|
963
|
+
* })
|
|
964
|
+
*
|
|
965
|
+
*/
|
|
966
|
+
update<T extends ProviderCategoryUpdateArgs>(args: Prisma.SelectSubset<T, ProviderCategoryUpdateArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* Delete zero or more ProviderCategories.
|
|
970
|
+
* @param {ProviderCategoryDeleteManyArgs} args - Arguments to filter ProviderCategories to delete.
|
|
971
|
+
* @example
|
|
972
|
+
* // Delete a few ProviderCategories
|
|
973
|
+
* const { count } = await prisma.providerCategory.deleteMany({
|
|
974
|
+
* where: {
|
|
975
|
+
* // ... provide filter here
|
|
976
|
+
* }
|
|
977
|
+
* })
|
|
978
|
+
*
|
|
979
|
+
*/
|
|
980
|
+
deleteMany<T extends ProviderCategoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProviderCategoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Update zero or more ProviderCategories.
|
|
984
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
985
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
986
|
+
* @param {ProviderCategoryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
987
|
+
* @example
|
|
988
|
+
* // Update many ProviderCategories
|
|
989
|
+
* const providerCategory = await prisma.providerCategory.updateMany({
|
|
990
|
+
* where: {
|
|
991
|
+
* // ... provide filter here
|
|
992
|
+
* },
|
|
993
|
+
* data: {
|
|
994
|
+
* // ... provide data here
|
|
995
|
+
* }
|
|
996
|
+
* })
|
|
997
|
+
*
|
|
998
|
+
*/
|
|
999
|
+
updateMany<T extends ProviderCategoryUpdateManyArgs>(args: Prisma.SelectSubset<T, ProviderCategoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Update zero or more ProviderCategories and returns the data updated in the database.
|
|
1003
|
+
* @param {ProviderCategoryUpdateManyAndReturnArgs} args - Arguments to update many ProviderCategories.
|
|
1004
|
+
* @example
|
|
1005
|
+
* // Update many ProviderCategories
|
|
1006
|
+
* const providerCategory = await prisma.providerCategory.updateManyAndReturn({
|
|
1007
|
+
* where: {
|
|
1008
|
+
* // ... provide filter here
|
|
1009
|
+
* },
|
|
1010
|
+
* data: [
|
|
1011
|
+
* // ... provide data here
|
|
1012
|
+
* ]
|
|
1013
|
+
* })
|
|
1014
|
+
*
|
|
1015
|
+
* // Update zero or more ProviderCategories and only return the `id`
|
|
1016
|
+
* const providerCategoryWithIdOnly = await prisma.providerCategory.updateManyAndReturn({
|
|
1017
|
+
* select: { id: true },
|
|
1018
|
+
* where: {
|
|
1019
|
+
* // ... provide filter here
|
|
1020
|
+
* },
|
|
1021
|
+
* data: [
|
|
1022
|
+
* // ... provide data here
|
|
1023
|
+
* ]
|
|
1024
|
+
* })
|
|
1025
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1026
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1027
|
+
*
|
|
1028
|
+
*/
|
|
1029
|
+
updateManyAndReturn<T extends ProviderCategoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProviderCategoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Create or update one ProviderCategory.
|
|
1033
|
+
* @param {ProviderCategoryUpsertArgs} args - Arguments to update or create a ProviderCategory.
|
|
1034
|
+
* @example
|
|
1035
|
+
* // Update or create a ProviderCategory
|
|
1036
|
+
* const providerCategory = await prisma.providerCategory.upsert({
|
|
1037
|
+
* create: {
|
|
1038
|
+
* // ... data to create a ProviderCategory
|
|
1039
|
+
* },
|
|
1040
|
+
* update: {
|
|
1041
|
+
* // ... in case it already exists, update
|
|
1042
|
+
* },
|
|
1043
|
+
* where: {
|
|
1044
|
+
* // ... the filter for the ProviderCategory we want to update
|
|
1045
|
+
* }
|
|
1046
|
+
* })
|
|
1047
|
+
*/
|
|
1048
|
+
upsert<T extends ProviderCategoryUpsertArgs>(args: Prisma.SelectSubset<T, ProviderCategoryUpsertArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Count the number of ProviderCategories.
|
|
1053
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1054
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1055
|
+
* @param {ProviderCategoryCountArgs} args - Arguments to filter ProviderCategories to count.
|
|
1056
|
+
* @example
|
|
1057
|
+
* // Count the number of ProviderCategories
|
|
1058
|
+
* const count = await prisma.providerCategory.count({
|
|
1059
|
+
* where: {
|
|
1060
|
+
* // ... the filter for the ProviderCategories we want to count
|
|
1061
|
+
* }
|
|
1062
|
+
* })
|
|
1063
|
+
**/
|
|
1064
|
+
count<T extends ProviderCategoryCountArgs>(
|
|
1065
|
+
args?: Prisma.Subset<T, ProviderCategoryCountArgs>,
|
|
1066
|
+
): Prisma.PrismaPromise<
|
|
1067
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1068
|
+
? T['select'] extends true
|
|
1069
|
+
? number
|
|
1070
|
+
: Prisma.GetScalarType<T['select'], ProviderCategoryCountAggregateOutputType>
|
|
1071
|
+
: number
|
|
1072
|
+
>
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Allows you to perform aggregations operations on a ProviderCategory.
|
|
1076
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1077
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1078
|
+
* @param {ProviderCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1079
|
+
* @example
|
|
1080
|
+
* // Ordered by age ascending
|
|
1081
|
+
* // Where email contains prisma.io
|
|
1082
|
+
* // Limited to the 10 users
|
|
1083
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1084
|
+
* _avg: {
|
|
1085
|
+
* age: true,
|
|
1086
|
+
* },
|
|
1087
|
+
* where: {
|
|
1088
|
+
* email: {
|
|
1089
|
+
* contains: "prisma.io",
|
|
1090
|
+
* },
|
|
1091
|
+
* },
|
|
1092
|
+
* orderBy: {
|
|
1093
|
+
* age: "asc",
|
|
1094
|
+
* },
|
|
1095
|
+
* take: 10,
|
|
1096
|
+
* })
|
|
1097
|
+
**/
|
|
1098
|
+
aggregate<T extends ProviderCategoryAggregateArgs>(args: Prisma.Subset<T, ProviderCategoryAggregateArgs>): Prisma.PrismaPromise<GetProviderCategoryAggregateType<T>>
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Group by ProviderCategory.
|
|
1102
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1103
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1104
|
+
* @param {ProviderCategoryGroupByArgs} args - Group by arguments.
|
|
1105
|
+
* @example
|
|
1106
|
+
* // Group by city, order by createdAt, get count
|
|
1107
|
+
* const result = await prisma.user.groupBy({
|
|
1108
|
+
* by: ['city', 'createdAt'],
|
|
1109
|
+
* orderBy: {
|
|
1110
|
+
* createdAt: true
|
|
1111
|
+
* },
|
|
1112
|
+
* _count: {
|
|
1113
|
+
* _all: true
|
|
1114
|
+
* },
|
|
1115
|
+
* })
|
|
1116
|
+
*
|
|
1117
|
+
**/
|
|
1118
|
+
groupBy<
|
|
1119
|
+
T extends ProviderCategoryGroupByArgs,
|
|
1120
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1121
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1122
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1123
|
+
>,
|
|
1124
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1125
|
+
? { orderBy: ProviderCategoryGroupByArgs['orderBy'] }
|
|
1126
|
+
: { orderBy?: ProviderCategoryGroupByArgs['orderBy'] },
|
|
1127
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1128
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1129
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1130
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1131
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1132
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1133
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1134
|
+
? `Error: "by" must not be empty.`
|
|
1135
|
+
: HavingValid extends Prisma.False
|
|
1136
|
+
? {
|
|
1137
|
+
[P in HavingFields]: P extends ByFields
|
|
1138
|
+
? never
|
|
1139
|
+
: P extends string
|
|
1140
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1141
|
+
: [
|
|
1142
|
+
Error,
|
|
1143
|
+
'Field ',
|
|
1144
|
+
P,
|
|
1145
|
+
` in "having" needs to be provided in "by"`,
|
|
1146
|
+
]
|
|
1147
|
+
}[HavingFields]
|
|
1148
|
+
: 'take' extends Prisma.Keys<T>
|
|
1149
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1150
|
+
? ByValid extends Prisma.True
|
|
1151
|
+
? {}
|
|
1152
|
+
: {
|
|
1153
|
+
[P in OrderFields]: P extends ByFields
|
|
1154
|
+
? never
|
|
1155
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1156
|
+
}[OrderFields]
|
|
1157
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1158
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1159
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1160
|
+
? ByValid extends Prisma.True
|
|
1161
|
+
? {}
|
|
1162
|
+
: {
|
|
1163
|
+
[P in OrderFields]: P extends ByFields
|
|
1164
|
+
? never
|
|
1165
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1166
|
+
}[OrderFields]
|
|
1167
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1168
|
+
: ByValid extends Prisma.True
|
|
1169
|
+
? {}
|
|
1170
|
+
: {
|
|
1171
|
+
[P in OrderFields]: P extends ByFields
|
|
1172
|
+
? never
|
|
1173
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1174
|
+
}[OrderFields]
|
|
1175
|
+
>(args: Prisma.SubsetIntersection<T, ProviderCategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProviderCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1176
|
+
/**
|
|
1177
|
+
* Fields of the ProviderCategory model
|
|
1178
|
+
*/
|
|
1179
|
+
readonly fields: ProviderCategoryFieldRefs;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* The delegate class that acts as a "Promise-like" for ProviderCategory.
|
|
1184
|
+
* Why is this prefixed with `Prisma__`?
|
|
1185
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1186
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1187
|
+
*/
|
|
1188
|
+
export interface Prisma__ProviderCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1189
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1190
|
+
providers<T extends Prisma.ProviderCategory$providersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProviderCategory$providersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1191
|
+
parent<T extends Prisma.ProviderCategory$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProviderCategory$parentArgs<ExtArgs>>): Prisma.Prisma__ProviderCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1192
|
+
children<T extends Prisma.ProviderCategory$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProviderCategory$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1193
|
+
/**
|
|
1194
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1195
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1196
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1197
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1198
|
+
*/
|
|
1199
|
+
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>
|
|
1200
|
+
/**
|
|
1201
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1202
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1203
|
+
* @returns A Promise for the completion of the callback.
|
|
1204
|
+
*/
|
|
1205
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1206
|
+
/**
|
|
1207
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1208
|
+
* resolved value cannot be modified from the callback.
|
|
1209
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1210
|
+
* @returns A Promise for the completion of the callback.
|
|
1211
|
+
*/
|
|
1212
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Fields of the ProviderCategory model
|
|
1220
|
+
*/
|
|
1221
|
+
export interface ProviderCategoryFieldRefs {
|
|
1222
|
+
readonly id: Prisma.FieldRef<"ProviderCategory", 'String'>
|
|
1223
|
+
readonly name: Prisma.FieldRef<"ProviderCategory", 'String'>
|
|
1224
|
+
readonly description: Prisma.FieldRef<"ProviderCategory", 'String'>
|
|
1225
|
+
readonly active: Prisma.FieldRef<"ProviderCategory", 'Boolean'>
|
|
1226
|
+
readonly createdAt: Prisma.FieldRef<"ProviderCategory", 'DateTime'>
|
|
1227
|
+
readonly updatedAt: Prisma.FieldRef<"ProviderCategory", 'DateTime'>
|
|
1228
|
+
readonly parentId: Prisma.FieldRef<"ProviderCategory", 'String'>
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
// Custom InputTypes
|
|
1233
|
+
/**
|
|
1234
|
+
* ProviderCategory findUnique
|
|
1235
|
+
*/
|
|
1236
|
+
export type ProviderCategoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1237
|
+
/**
|
|
1238
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1239
|
+
*/
|
|
1240
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1241
|
+
/**
|
|
1242
|
+
* Omit specific fields from the ProviderCategory
|
|
1243
|
+
*/
|
|
1244
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1245
|
+
/**
|
|
1246
|
+
* Choose, which related nodes to fetch as well
|
|
1247
|
+
*/
|
|
1248
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1249
|
+
/**
|
|
1250
|
+
* Filter, which ProviderCategory to fetch.
|
|
1251
|
+
*/
|
|
1252
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* ProviderCategory findUniqueOrThrow
|
|
1257
|
+
*/
|
|
1258
|
+
export type ProviderCategoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1259
|
+
/**
|
|
1260
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1261
|
+
*/
|
|
1262
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1263
|
+
/**
|
|
1264
|
+
* Omit specific fields from the ProviderCategory
|
|
1265
|
+
*/
|
|
1266
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1267
|
+
/**
|
|
1268
|
+
* Choose, which related nodes to fetch as well
|
|
1269
|
+
*/
|
|
1270
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1271
|
+
/**
|
|
1272
|
+
* Filter, which ProviderCategory to fetch.
|
|
1273
|
+
*/
|
|
1274
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* ProviderCategory findFirst
|
|
1279
|
+
*/
|
|
1280
|
+
export type ProviderCategoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1281
|
+
/**
|
|
1282
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1283
|
+
*/
|
|
1284
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1285
|
+
/**
|
|
1286
|
+
* Omit specific fields from the ProviderCategory
|
|
1287
|
+
*/
|
|
1288
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1289
|
+
/**
|
|
1290
|
+
* Choose, which related nodes to fetch as well
|
|
1291
|
+
*/
|
|
1292
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1293
|
+
/**
|
|
1294
|
+
* Filter, which ProviderCategory to fetch.
|
|
1295
|
+
*/
|
|
1296
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1297
|
+
/**
|
|
1298
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1299
|
+
*
|
|
1300
|
+
* Determine the order of ProviderCategories to fetch.
|
|
1301
|
+
*/
|
|
1302
|
+
orderBy?: Prisma.ProviderCategoryOrderByWithRelationInput | Prisma.ProviderCategoryOrderByWithRelationInput[]
|
|
1303
|
+
/**
|
|
1304
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1305
|
+
*
|
|
1306
|
+
* Sets the position for searching for ProviderCategories.
|
|
1307
|
+
*/
|
|
1308
|
+
cursor?: Prisma.ProviderCategoryWhereUniqueInput
|
|
1309
|
+
/**
|
|
1310
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1311
|
+
*
|
|
1312
|
+
* Take `±n` ProviderCategories from the position of the cursor.
|
|
1313
|
+
*/
|
|
1314
|
+
take?: number
|
|
1315
|
+
/**
|
|
1316
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1317
|
+
*
|
|
1318
|
+
* Skip the first `n` ProviderCategories.
|
|
1319
|
+
*/
|
|
1320
|
+
skip?: number
|
|
1321
|
+
/**
|
|
1322
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1323
|
+
*
|
|
1324
|
+
* Filter by unique combinations of ProviderCategories.
|
|
1325
|
+
*/
|
|
1326
|
+
distinct?: Prisma.ProviderCategoryScalarFieldEnum | Prisma.ProviderCategoryScalarFieldEnum[]
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* ProviderCategory findFirstOrThrow
|
|
1331
|
+
*/
|
|
1332
|
+
export type ProviderCategoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1333
|
+
/**
|
|
1334
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1335
|
+
*/
|
|
1336
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1337
|
+
/**
|
|
1338
|
+
* Omit specific fields from the ProviderCategory
|
|
1339
|
+
*/
|
|
1340
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1341
|
+
/**
|
|
1342
|
+
* Choose, which related nodes to fetch as well
|
|
1343
|
+
*/
|
|
1344
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1345
|
+
/**
|
|
1346
|
+
* Filter, which ProviderCategory to fetch.
|
|
1347
|
+
*/
|
|
1348
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1349
|
+
/**
|
|
1350
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1351
|
+
*
|
|
1352
|
+
* Determine the order of ProviderCategories to fetch.
|
|
1353
|
+
*/
|
|
1354
|
+
orderBy?: Prisma.ProviderCategoryOrderByWithRelationInput | Prisma.ProviderCategoryOrderByWithRelationInput[]
|
|
1355
|
+
/**
|
|
1356
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1357
|
+
*
|
|
1358
|
+
* Sets the position for searching for ProviderCategories.
|
|
1359
|
+
*/
|
|
1360
|
+
cursor?: Prisma.ProviderCategoryWhereUniqueInput
|
|
1361
|
+
/**
|
|
1362
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1363
|
+
*
|
|
1364
|
+
* Take `±n` ProviderCategories from the position of the cursor.
|
|
1365
|
+
*/
|
|
1366
|
+
take?: number
|
|
1367
|
+
/**
|
|
1368
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1369
|
+
*
|
|
1370
|
+
* Skip the first `n` ProviderCategories.
|
|
1371
|
+
*/
|
|
1372
|
+
skip?: number
|
|
1373
|
+
/**
|
|
1374
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1375
|
+
*
|
|
1376
|
+
* Filter by unique combinations of ProviderCategories.
|
|
1377
|
+
*/
|
|
1378
|
+
distinct?: Prisma.ProviderCategoryScalarFieldEnum | Prisma.ProviderCategoryScalarFieldEnum[]
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* ProviderCategory findMany
|
|
1383
|
+
*/
|
|
1384
|
+
export type ProviderCategoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1385
|
+
/**
|
|
1386
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1387
|
+
*/
|
|
1388
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1389
|
+
/**
|
|
1390
|
+
* Omit specific fields from the ProviderCategory
|
|
1391
|
+
*/
|
|
1392
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1393
|
+
/**
|
|
1394
|
+
* Choose, which related nodes to fetch as well
|
|
1395
|
+
*/
|
|
1396
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1397
|
+
/**
|
|
1398
|
+
* Filter, which ProviderCategories to fetch.
|
|
1399
|
+
*/
|
|
1400
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1401
|
+
/**
|
|
1402
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1403
|
+
*
|
|
1404
|
+
* Determine the order of ProviderCategories to fetch.
|
|
1405
|
+
*/
|
|
1406
|
+
orderBy?: Prisma.ProviderCategoryOrderByWithRelationInput | Prisma.ProviderCategoryOrderByWithRelationInput[]
|
|
1407
|
+
/**
|
|
1408
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1409
|
+
*
|
|
1410
|
+
* Sets the position for listing ProviderCategories.
|
|
1411
|
+
*/
|
|
1412
|
+
cursor?: Prisma.ProviderCategoryWhereUniqueInput
|
|
1413
|
+
/**
|
|
1414
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1415
|
+
*
|
|
1416
|
+
* Take `±n` ProviderCategories from the position of the cursor.
|
|
1417
|
+
*/
|
|
1418
|
+
take?: number
|
|
1419
|
+
/**
|
|
1420
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1421
|
+
*
|
|
1422
|
+
* Skip the first `n` ProviderCategories.
|
|
1423
|
+
*/
|
|
1424
|
+
skip?: number
|
|
1425
|
+
/**
|
|
1426
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1427
|
+
*
|
|
1428
|
+
* Filter by unique combinations of ProviderCategories.
|
|
1429
|
+
*/
|
|
1430
|
+
distinct?: Prisma.ProviderCategoryScalarFieldEnum | Prisma.ProviderCategoryScalarFieldEnum[]
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* ProviderCategory create
|
|
1435
|
+
*/
|
|
1436
|
+
export type ProviderCategoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1437
|
+
/**
|
|
1438
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1439
|
+
*/
|
|
1440
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1441
|
+
/**
|
|
1442
|
+
* Omit specific fields from the ProviderCategory
|
|
1443
|
+
*/
|
|
1444
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1445
|
+
/**
|
|
1446
|
+
* Choose, which related nodes to fetch as well
|
|
1447
|
+
*/
|
|
1448
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1449
|
+
/**
|
|
1450
|
+
* The data needed to create a ProviderCategory.
|
|
1451
|
+
*/
|
|
1452
|
+
data: Prisma.XOR<Prisma.ProviderCategoryCreateInput, Prisma.ProviderCategoryUncheckedCreateInput>
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* ProviderCategory createMany
|
|
1457
|
+
*/
|
|
1458
|
+
export type ProviderCategoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1459
|
+
/**
|
|
1460
|
+
* The data used to create many ProviderCategories.
|
|
1461
|
+
*/
|
|
1462
|
+
data: Prisma.ProviderCategoryCreateManyInput | Prisma.ProviderCategoryCreateManyInput[]
|
|
1463
|
+
skipDuplicates?: boolean
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* ProviderCategory createManyAndReturn
|
|
1468
|
+
*/
|
|
1469
|
+
export type ProviderCategoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1470
|
+
/**
|
|
1471
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1472
|
+
*/
|
|
1473
|
+
select?: Prisma.ProviderCategorySelectCreateManyAndReturn<ExtArgs> | null
|
|
1474
|
+
/**
|
|
1475
|
+
* Omit specific fields from the ProviderCategory
|
|
1476
|
+
*/
|
|
1477
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1478
|
+
/**
|
|
1479
|
+
* The data used to create many ProviderCategories.
|
|
1480
|
+
*/
|
|
1481
|
+
data: Prisma.ProviderCategoryCreateManyInput | Prisma.ProviderCategoryCreateManyInput[]
|
|
1482
|
+
skipDuplicates?: boolean
|
|
1483
|
+
/**
|
|
1484
|
+
* Choose, which related nodes to fetch as well
|
|
1485
|
+
*/
|
|
1486
|
+
include?: Prisma.ProviderCategoryIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* ProviderCategory update
|
|
1491
|
+
*/
|
|
1492
|
+
export type ProviderCategoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1493
|
+
/**
|
|
1494
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1495
|
+
*/
|
|
1496
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1497
|
+
/**
|
|
1498
|
+
* Omit specific fields from the ProviderCategory
|
|
1499
|
+
*/
|
|
1500
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1501
|
+
/**
|
|
1502
|
+
* Choose, which related nodes to fetch as well
|
|
1503
|
+
*/
|
|
1504
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1505
|
+
/**
|
|
1506
|
+
* The data needed to update a ProviderCategory.
|
|
1507
|
+
*/
|
|
1508
|
+
data: Prisma.XOR<Prisma.ProviderCategoryUpdateInput, Prisma.ProviderCategoryUncheckedUpdateInput>
|
|
1509
|
+
/**
|
|
1510
|
+
* Choose, which ProviderCategory to update.
|
|
1511
|
+
*/
|
|
1512
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* ProviderCategory updateMany
|
|
1517
|
+
*/
|
|
1518
|
+
export type ProviderCategoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1519
|
+
/**
|
|
1520
|
+
* The data used to update ProviderCategories.
|
|
1521
|
+
*/
|
|
1522
|
+
data: Prisma.XOR<Prisma.ProviderCategoryUpdateManyMutationInput, Prisma.ProviderCategoryUncheckedUpdateManyInput>
|
|
1523
|
+
/**
|
|
1524
|
+
* Filter which ProviderCategories to update
|
|
1525
|
+
*/
|
|
1526
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1527
|
+
/**
|
|
1528
|
+
* Limit how many ProviderCategories to update.
|
|
1529
|
+
*/
|
|
1530
|
+
limit?: number
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* ProviderCategory updateManyAndReturn
|
|
1535
|
+
*/
|
|
1536
|
+
export type ProviderCategoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1537
|
+
/**
|
|
1538
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1539
|
+
*/
|
|
1540
|
+
select?: Prisma.ProviderCategorySelectUpdateManyAndReturn<ExtArgs> | null
|
|
1541
|
+
/**
|
|
1542
|
+
* Omit specific fields from the ProviderCategory
|
|
1543
|
+
*/
|
|
1544
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1545
|
+
/**
|
|
1546
|
+
* The data used to update ProviderCategories.
|
|
1547
|
+
*/
|
|
1548
|
+
data: Prisma.XOR<Prisma.ProviderCategoryUpdateManyMutationInput, Prisma.ProviderCategoryUncheckedUpdateManyInput>
|
|
1549
|
+
/**
|
|
1550
|
+
* Filter which ProviderCategories to update
|
|
1551
|
+
*/
|
|
1552
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1553
|
+
/**
|
|
1554
|
+
* Limit how many ProviderCategories to update.
|
|
1555
|
+
*/
|
|
1556
|
+
limit?: number
|
|
1557
|
+
/**
|
|
1558
|
+
* Choose, which related nodes to fetch as well
|
|
1559
|
+
*/
|
|
1560
|
+
include?: Prisma.ProviderCategoryIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* ProviderCategory upsert
|
|
1565
|
+
*/
|
|
1566
|
+
export type ProviderCategoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1567
|
+
/**
|
|
1568
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1569
|
+
*/
|
|
1570
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1571
|
+
/**
|
|
1572
|
+
* Omit specific fields from the ProviderCategory
|
|
1573
|
+
*/
|
|
1574
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1575
|
+
/**
|
|
1576
|
+
* Choose, which related nodes to fetch as well
|
|
1577
|
+
*/
|
|
1578
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1579
|
+
/**
|
|
1580
|
+
* The filter to search for the ProviderCategory to update in case it exists.
|
|
1581
|
+
*/
|
|
1582
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
1583
|
+
/**
|
|
1584
|
+
* In case the ProviderCategory found by the `where` argument doesn't exist, create a new ProviderCategory with this data.
|
|
1585
|
+
*/
|
|
1586
|
+
create: Prisma.XOR<Prisma.ProviderCategoryCreateInput, Prisma.ProviderCategoryUncheckedCreateInput>
|
|
1587
|
+
/**
|
|
1588
|
+
* In case the ProviderCategory was found with the provided `where` argument, update it with this data.
|
|
1589
|
+
*/
|
|
1590
|
+
update: Prisma.XOR<Prisma.ProviderCategoryUpdateInput, Prisma.ProviderCategoryUncheckedUpdateInput>
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* ProviderCategory delete
|
|
1595
|
+
*/
|
|
1596
|
+
export type ProviderCategoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1597
|
+
/**
|
|
1598
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1599
|
+
*/
|
|
1600
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1601
|
+
/**
|
|
1602
|
+
* Omit specific fields from the ProviderCategory
|
|
1603
|
+
*/
|
|
1604
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1605
|
+
/**
|
|
1606
|
+
* Choose, which related nodes to fetch as well
|
|
1607
|
+
*/
|
|
1608
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1609
|
+
/**
|
|
1610
|
+
* Filter which ProviderCategory to delete.
|
|
1611
|
+
*/
|
|
1612
|
+
where: Prisma.ProviderCategoryWhereUniqueInput
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* ProviderCategory deleteMany
|
|
1617
|
+
*/
|
|
1618
|
+
export type ProviderCategoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1619
|
+
/**
|
|
1620
|
+
* Filter which ProviderCategories to delete
|
|
1621
|
+
*/
|
|
1622
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1623
|
+
/**
|
|
1624
|
+
* Limit how many ProviderCategories to delete.
|
|
1625
|
+
*/
|
|
1626
|
+
limit?: number
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* ProviderCategory.providers
|
|
1631
|
+
*/
|
|
1632
|
+
export type ProviderCategory$providersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1633
|
+
/**
|
|
1634
|
+
* Select specific fields to fetch from the Provider
|
|
1635
|
+
*/
|
|
1636
|
+
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
1637
|
+
/**
|
|
1638
|
+
* Omit specific fields from the Provider
|
|
1639
|
+
*/
|
|
1640
|
+
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
1641
|
+
/**
|
|
1642
|
+
* Choose, which related nodes to fetch as well
|
|
1643
|
+
*/
|
|
1644
|
+
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
1645
|
+
where?: Prisma.ProviderWhereInput
|
|
1646
|
+
orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[]
|
|
1647
|
+
cursor?: Prisma.ProviderWhereUniqueInput
|
|
1648
|
+
take?: number
|
|
1649
|
+
skip?: number
|
|
1650
|
+
distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[]
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* ProviderCategory.parent
|
|
1655
|
+
*/
|
|
1656
|
+
export type ProviderCategory$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1657
|
+
/**
|
|
1658
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1659
|
+
*/
|
|
1660
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1661
|
+
/**
|
|
1662
|
+
* Omit specific fields from the ProviderCategory
|
|
1663
|
+
*/
|
|
1664
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1665
|
+
/**
|
|
1666
|
+
* Choose, which related nodes to fetch as well
|
|
1667
|
+
*/
|
|
1668
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1669
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* ProviderCategory.children
|
|
1674
|
+
*/
|
|
1675
|
+
export type ProviderCategory$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1676
|
+
/**
|
|
1677
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1678
|
+
*/
|
|
1679
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1680
|
+
/**
|
|
1681
|
+
* Omit specific fields from the ProviderCategory
|
|
1682
|
+
*/
|
|
1683
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1684
|
+
/**
|
|
1685
|
+
* Choose, which related nodes to fetch as well
|
|
1686
|
+
*/
|
|
1687
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1688
|
+
where?: Prisma.ProviderCategoryWhereInput
|
|
1689
|
+
orderBy?: Prisma.ProviderCategoryOrderByWithRelationInput | Prisma.ProviderCategoryOrderByWithRelationInput[]
|
|
1690
|
+
cursor?: Prisma.ProviderCategoryWhereUniqueInput
|
|
1691
|
+
take?: number
|
|
1692
|
+
skip?: number
|
|
1693
|
+
distinct?: Prisma.ProviderCategoryScalarFieldEnum | Prisma.ProviderCategoryScalarFieldEnum[]
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* ProviderCategory without action
|
|
1698
|
+
*/
|
|
1699
|
+
export type ProviderCategoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1700
|
+
/**
|
|
1701
|
+
* Select specific fields to fetch from the ProviderCategory
|
|
1702
|
+
*/
|
|
1703
|
+
select?: Prisma.ProviderCategorySelect<ExtArgs> | null
|
|
1704
|
+
/**
|
|
1705
|
+
* Omit specific fields from the ProviderCategory
|
|
1706
|
+
*/
|
|
1707
|
+
omit?: Prisma.ProviderCategoryOmit<ExtArgs> | null
|
|
1708
|
+
/**
|
|
1709
|
+
* Choose, which related nodes to fetch as well
|
|
1710
|
+
*/
|
|
1711
|
+
include?: Prisma.ProviderCategoryInclude<ExtArgs> | null
|
|
1712
|
+
}
|