@valentine-efagene/qshelter-common 2.0.51 → 2.0.53

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.
Files changed (118) hide show
  1. package/dist/src/middleware/tenant.js +3 -3
  2. package/package.json +1 -1
  3. package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
  4. package/dist/generated/client/models/ContractPhaseStep.js +0 -1
  5. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
  6. package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
  7. package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
  8. package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
  9. package/dist/generated/client/models/Mortgage.d.ts +0 -2777
  10. package/dist/generated/client/models/Mortgage.js +0 -1
  11. package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
  12. package/dist/generated/client/models/MortgageDocument.js +0 -1
  13. package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  14. package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  15. package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  16. package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  17. package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  18. package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  19. package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
  20. package/dist/generated/client/models/MortgageStep.js +0 -1
  21. package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
  22. package/dist/generated/client/models/MortgageTransition.js +0 -1
  23. package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  24. package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
  25. package/dist/generated/client/models/MortgageType.d.ts +0 -1052
  26. package/dist/generated/client/models/MortgageType.js +0 -1
  27. package/dist/generated/client/models/Payment.d.ts +0 -2026
  28. package/dist/generated/client/models/Payment.js +0 -1
  29. package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
  30. package/dist/generated/client/models/PaymentInstallment.js +0 -1
  31. package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
  32. package/dist/generated/client/models/PaymentSchedule.js +0 -1
  33. package/dist/index.d.ts +0 -6
  34. package/dist/index.js +0 -6
  35. package/dist/src/generated/client/client.d.ts +0 -201
  36. package/dist/src/generated/client/client.js +0 -32
  37. package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
  38. package/dist/src/generated/client/commonInputTypes.js +0 -10
  39. package/dist/src/generated/client/enums.d.ts +0 -1
  40. package/dist/src/generated/client/enums.js +0 -10
  41. package/dist/src/generated/client/internal/class.d.ts +0 -511
  42. package/dist/src/generated/client/internal/class.js +0 -40
  43. package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
  44. package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
  45. package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
  46. package/dist/src/generated/client/models/Amenity.js +0 -1
  47. package/dist/src/generated/client/models/Contract.d.ts +0 -2099
  48. package/dist/src/generated/client/models/Contract.js +0 -1
  49. package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
  50. package/dist/src/generated/client/models/ContractDocument.js +0 -1
  51. package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
  52. package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
  53. package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
  54. package/dist/src/generated/client/models/EmailPreference.js +0 -1
  55. package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
  56. package/dist/src/generated/client/models/Mortgage.js +0 -1
  57. package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
  58. package/dist/src/generated/client/models/MortgageDocument.js +0 -1
  59. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  60. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  61. package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  62. package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  63. package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  64. package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  65. package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
  66. package/dist/src/generated/client/models/MortgageStep.js +0 -1
  67. package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
  68. package/dist/src/generated/client/models/MortgageTransition.js +0 -1
  69. package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  70. package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
  71. package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
  72. package/dist/src/generated/client/models/MortgageType.js +0 -1
  73. package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
  74. package/dist/src/generated/client/models/OAuthState.js +0 -1
  75. package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
  76. package/dist/src/generated/client/models/PasswordReset.js +0 -1
  77. package/dist/src/generated/client/models/Payment.d.ts +0 -2026
  78. package/dist/src/generated/client/models/Payment.js +0 -1
  79. package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
  80. package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
  81. package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
  82. package/dist/src/generated/client/models/PaymentPlan.js +0 -1
  83. package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
  84. package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
  85. package/dist/src/generated/client/models/Permission.d.ts +0 -1115
  86. package/dist/src/generated/client/models/Permission.js +0 -1
  87. package/dist/src/generated/client/models/Property.d.ts +0 -3254
  88. package/dist/src/generated/client/models/Property.js +0 -1
  89. package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
  90. package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
  91. package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
  92. package/dist/src/generated/client/models/PropertyDocument.js +0 -1
  93. package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
  94. package/dist/src/generated/client/models/PropertyMedia.js +0 -1
  95. package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
  96. package/dist/src/generated/client/models/RefreshToken.js +0 -1
  97. package/dist/src/generated/client/models/Role.d.ts +0 -1153
  98. package/dist/src/generated/client/models/Role.js +0 -1
  99. package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
  100. package/dist/src/generated/client/models/RolePermission.js +0 -1
  101. package/dist/src/generated/client/models/Settings.d.ts +0 -916
  102. package/dist/src/generated/client/models/Settings.js +0 -1
  103. package/dist/src/generated/client/models/Social.d.ts +0 -1090
  104. package/dist/src/generated/client/models/Social.js +0 -1
  105. package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
  106. package/dist/src/generated/client/models/Tenant.js +0 -1
  107. package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
  108. package/dist/src/generated/client/models/Transaction.js +0 -1
  109. package/dist/src/generated/client/models/User.d.ts +0 -4239
  110. package/dist/src/generated/client/models/User.js +0 -1
  111. package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
  112. package/dist/src/generated/client/models/UserRole.js +0 -1
  113. package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
  114. package/dist/src/generated/client/models/UserSuspension.js +0 -1
  115. package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
  116. package/dist/src/generated/client/models/Wallet.js +0 -1
  117. package/dist/src/generated/client/models.d.ts +0 -37
  118. package/dist/src/generated/client/models.js +0 -1
@@ -1,1080 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as Prisma from "../internal/prismaNamespace.js";
3
- /**
4
- * Model RolePermission
5
- *
6
- */
7
- export type RolePermissionModel = runtime.Types.Result.DefaultSelection<Prisma.$RolePermissionPayload>;
8
- export type AggregateRolePermission = {
9
- _count: RolePermissionCountAggregateOutputType | null;
10
- _min: RolePermissionMinAggregateOutputType | null;
11
- _max: RolePermissionMaxAggregateOutputType | null;
12
- };
13
- export type RolePermissionMinAggregateOutputType = {
14
- roleId: string | null;
15
- permissionId: string | null;
16
- createdAt: Date | null;
17
- };
18
- export type RolePermissionMaxAggregateOutputType = {
19
- roleId: string | null;
20
- permissionId: string | null;
21
- createdAt: Date | null;
22
- };
23
- export type RolePermissionCountAggregateOutputType = {
24
- roleId: number;
25
- permissionId: number;
26
- createdAt: number;
27
- _all: number;
28
- };
29
- export type RolePermissionMinAggregateInputType = {
30
- roleId?: true;
31
- permissionId?: true;
32
- createdAt?: true;
33
- };
34
- export type RolePermissionMaxAggregateInputType = {
35
- roleId?: true;
36
- permissionId?: true;
37
- createdAt?: true;
38
- };
39
- export type RolePermissionCountAggregateInputType = {
40
- roleId?: true;
41
- permissionId?: true;
42
- createdAt?: true;
43
- _all?: true;
44
- };
45
- export type RolePermissionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
46
- /**
47
- * Filter which RolePermission to aggregate.
48
- */
49
- where?: Prisma.RolePermissionWhereInput;
50
- /**
51
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52
- *
53
- * Determine the order of RolePermissions to fetch.
54
- */
55
- orderBy?: Prisma.RolePermissionOrderByWithRelationInput | Prisma.RolePermissionOrderByWithRelationInput[];
56
- /**
57
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
58
- *
59
- * Sets the start position
60
- */
61
- cursor?: Prisma.RolePermissionWhereUniqueInput;
62
- /**
63
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64
- *
65
- * Take `±n` RolePermissions from the position of the cursor.
66
- */
67
- take?: number;
68
- /**
69
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
70
- *
71
- * Skip the first `n` RolePermissions.
72
- */
73
- skip?: number;
74
- /**
75
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76
- *
77
- * Count returned RolePermissions
78
- **/
79
- _count?: true | RolePermissionCountAggregateInputType;
80
- /**
81
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
82
- *
83
- * Select which fields to find the minimum value
84
- **/
85
- _min?: RolePermissionMinAggregateInputType;
86
- /**
87
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
- *
89
- * Select which fields to find the maximum value
90
- **/
91
- _max?: RolePermissionMaxAggregateInputType;
92
- };
93
- export type GetRolePermissionAggregateType<T extends RolePermissionAggregateArgs> = {
94
- [P in keyof T & keyof AggregateRolePermission]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRolePermission[P]> : Prisma.GetScalarType<T[P], AggregateRolePermission[P]>;
95
- };
96
- export type RolePermissionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
97
- where?: Prisma.RolePermissionWhereInput;
98
- orderBy?: Prisma.RolePermissionOrderByWithAggregationInput | Prisma.RolePermissionOrderByWithAggregationInput[];
99
- by: Prisma.RolePermissionScalarFieldEnum[] | Prisma.RolePermissionScalarFieldEnum;
100
- having?: Prisma.RolePermissionScalarWhereWithAggregatesInput;
101
- take?: number;
102
- skip?: number;
103
- _count?: RolePermissionCountAggregateInputType | true;
104
- _min?: RolePermissionMinAggregateInputType;
105
- _max?: RolePermissionMaxAggregateInputType;
106
- };
107
- export type RolePermissionGroupByOutputType = {
108
- roleId: string;
109
- permissionId: string;
110
- createdAt: Date;
111
- _count: RolePermissionCountAggregateOutputType | null;
112
- _min: RolePermissionMinAggregateOutputType | null;
113
- _max: RolePermissionMaxAggregateOutputType | null;
114
- };
115
- type GetRolePermissionGroupByPayload<T extends RolePermissionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RolePermissionGroupByOutputType, T['by']> & {
116
- [P in ((keyof T) & (keyof RolePermissionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RolePermissionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RolePermissionGroupByOutputType[P]>;
117
- }>>;
118
- export type RolePermissionWhereInput = {
119
- AND?: Prisma.RolePermissionWhereInput | Prisma.RolePermissionWhereInput[];
120
- OR?: Prisma.RolePermissionWhereInput[];
121
- NOT?: Prisma.RolePermissionWhereInput | Prisma.RolePermissionWhereInput[];
122
- roleId?: Prisma.StringFilter<"RolePermission"> | string;
123
- permissionId?: Prisma.StringFilter<"RolePermission"> | string;
124
- createdAt?: Prisma.DateTimeFilter<"RolePermission"> | Date | string;
125
- role?: Prisma.XOR<Prisma.RoleScalarRelationFilter, Prisma.RoleWhereInput>;
126
- permission?: Prisma.XOR<Prisma.PermissionScalarRelationFilter, Prisma.PermissionWhereInput>;
127
- };
128
- export type RolePermissionOrderByWithRelationInput = {
129
- roleId?: Prisma.SortOrder;
130
- permissionId?: Prisma.SortOrder;
131
- createdAt?: Prisma.SortOrder;
132
- role?: Prisma.RoleOrderByWithRelationInput;
133
- permission?: Prisma.PermissionOrderByWithRelationInput;
134
- _relevance?: Prisma.RolePermissionOrderByRelevanceInput;
135
- };
136
- export type RolePermissionWhereUniqueInput = Prisma.AtLeast<{
137
- roleId_permissionId?: Prisma.RolePermissionRoleIdPermissionIdCompoundUniqueInput;
138
- AND?: Prisma.RolePermissionWhereInput | Prisma.RolePermissionWhereInput[];
139
- OR?: Prisma.RolePermissionWhereInput[];
140
- NOT?: Prisma.RolePermissionWhereInput | Prisma.RolePermissionWhereInput[];
141
- roleId?: Prisma.StringFilter<"RolePermission"> | string;
142
- permissionId?: Prisma.StringFilter<"RolePermission"> | string;
143
- createdAt?: Prisma.DateTimeFilter<"RolePermission"> | Date | string;
144
- role?: Prisma.XOR<Prisma.RoleScalarRelationFilter, Prisma.RoleWhereInput>;
145
- permission?: Prisma.XOR<Prisma.PermissionScalarRelationFilter, Prisma.PermissionWhereInput>;
146
- }, "roleId_permissionId">;
147
- export type RolePermissionOrderByWithAggregationInput = {
148
- roleId?: Prisma.SortOrder;
149
- permissionId?: Prisma.SortOrder;
150
- createdAt?: Prisma.SortOrder;
151
- _count?: Prisma.RolePermissionCountOrderByAggregateInput;
152
- _max?: Prisma.RolePermissionMaxOrderByAggregateInput;
153
- _min?: Prisma.RolePermissionMinOrderByAggregateInput;
154
- };
155
- export type RolePermissionScalarWhereWithAggregatesInput = {
156
- AND?: Prisma.RolePermissionScalarWhereWithAggregatesInput | Prisma.RolePermissionScalarWhereWithAggregatesInput[];
157
- OR?: Prisma.RolePermissionScalarWhereWithAggregatesInput[];
158
- NOT?: Prisma.RolePermissionScalarWhereWithAggregatesInput | Prisma.RolePermissionScalarWhereWithAggregatesInput[];
159
- roleId?: Prisma.StringWithAggregatesFilter<"RolePermission"> | string;
160
- permissionId?: Prisma.StringWithAggregatesFilter<"RolePermission"> | string;
161
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"RolePermission"> | Date | string;
162
- };
163
- export type RolePermissionCreateInput = {
164
- createdAt?: Date | string;
165
- role: Prisma.RoleCreateNestedOneWithoutPermissionsInput;
166
- permission: Prisma.PermissionCreateNestedOneWithoutRolesInput;
167
- };
168
- export type RolePermissionUncheckedCreateInput = {
169
- roleId: string;
170
- permissionId: string;
171
- createdAt?: Date | string;
172
- };
173
- export type RolePermissionUpdateInput = {
174
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
175
- role?: Prisma.RoleUpdateOneRequiredWithoutPermissionsNestedInput;
176
- permission?: Prisma.PermissionUpdateOneRequiredWithoutRolesNestedInput;
177
- };
178
- export type RolePermissionUncheckedUpdateInput = {
179
- roleId?: Prisma.StringFieldUpdateOperationsInput | string;
180
- permissionId?: Prisma.StringFieldUpdateOperationsInput | string;
181
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
182
- };
183
- export type RolePermissionCreateManyInput = {
184
- roleId: string;
185
- permissionId: string;
186
- createdAt?: Date | string;
187
- };
188
- export type RolePermissionUpdateManyMutationInput = {
189
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
190
- };
191
- export type RolePermissionUncheckedUpdateManyInput = {
192
- roleId?: Prisma.StringFieldUpdateOperationsInput | string;
193
- permissionId?: Prisma.StringFieldUpdateOperationsInput | string;
194
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
195
- };
196
- export type RolePermissionListRelationFilter = {
197
- every?: Prisma.RolePermissionWhereInput;
198
- some?: Prisma.RolePermissionWhereInput;
199
- none?: Prisma.RolePermissionWhereInput;
200
- };
201
- export type RolePermissionOrderByRelationAggregateInput = {
202
- _count?: Prisma.SortOrder;
203
- };
204
- export type RolePermissionOrderByRelevanceInput = {
205
- fields: Prisma.RolePermissionOrderByRelevanceFieldEnum | Prisma.RolePermissionOrderByRelevanceFieldEnum[];
206
- sort: Prisma.SortOrder;
207
- search: string;
208
- };
209
- export type RolePermissionRoleIdPermissionIdCompoundUniqueInput = {
210
- roleId: string;
211
- permissionId: string;
212
- };
213
- export type RolePermissionCountOrderByAggregateInput = {
214
- roleId?: Prisma.SortOrder;
215
- permissionId?: Prisma.SortOrder;
216
- createdAt?: Prisma.SortOrder;
217
- };
218
- export type RolePermissionMaxOrderByAggregateInput = {
219
- roleId?: Prisma.SortOrder;
220
- permissionId?: Prisma.SortOrder;
221
- createdAt?: Prisma.SortOrder;
222
- };
223
- export type RolePermissionMinOrderByAggregateInput = {
224
- roleId?: Prisma.SortOrder;
225
- permissionId?: Prisma.SortOrder;
226
- createdAt?: Prisma.SortOrder;
227
- };
228
- export type RolePermissionCreateNestedManyWithoutRoleInput = {
229
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutRoleInput, Prisma.RolePermissionUncheckedCreateWithoutRoleInput> | Prisma.RolePermissionCreateWithoutRoleInput[] | Prisma.RolePermissionUncheckedCreateWithoutRoleInput[];
230
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutRoleInput | Prisma.RolePermissionCreateOrConnectWithoutRoleInput[];
231
- createMany?: Prisma.RolePermissionCreateManyRoleInputEnvelope;
232
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
233
- };
234
- export type RolePermissionUncheckedCreateNestedManyWithoutRoleInput = {
235
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutRoleInput, Prisma.RolePermissionUncheckedCreateWithoutRoleInput> | Prisma.RolePermissionCreateWithoutRoleInput[] | Prisma.RolePermissionUncheckedCreateWithoutRoleInput[];
236
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutRoleInput | Prisma.RolePermissionCreateOrConnectWithoutRoleInput[];
237
- createMany?: Prisma.RolePermissionCreateManyRoleInputEnvelope;
238
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
239
- };
240
- export type RolePermissionUpdateManyWithoutRoleNestedInput = {
241
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutRoleInput, Prisma.RolePermissionUncheckedCreateWithoutRoleInput> | Prisma.RolePermissionCreateWithoutRoleInput[] | Prisma.RolePermissionUncheckedCreateWithoutRoleInput[];
242
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutRoleInput | Prisma.RolePermissionCreateOrConnectWithoutRoleInput[];
243
- upsert?: Prisma.RolePermissionUpsertWithWhereUniqueWithoutRoleInput | Prisma.RolePermissionUpsertWithWhereUniqueWithoutRoleInput[];
244
- createMany?: Prisma.RolePermissionCreateManyRoleInputEnvelope;
245
- set?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
246
- disconnect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
247
- delete?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
248
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
249
- update?: Prisma.RolePermissionUpdateWithWhereUniqueWithoutRoleInput | Prisma.RolePermissionUpdateWithWhereUniqueWithoutRoleInput[];
250
- updateMany?: Prisma.RolePermissionUpdateManyWithWhereWithoutRoleInput | Prisma.RolePermissionUpdateManyWithWhereWithoutRoleInput[];
251
- deleteMany?: Prisma.RolePermissionScalarWhereInput | Prisma.RolePermissionScalarWhereInput[];
252
- };
253
- export type RolePermissionUncheckedUpdateManyWithoutRoleNestedInput = {
254
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutRoleInput, Prisma.RolePermissionUncheckedCreateWithoutRoleInput> | Prisma.RolePermissionCreateWithoutRoleInput[] | Prisma.RolePermissionUncheckedCreateWithoutRoleInput[];
255
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutRoleInput | Prisma.RolePermissionCreateOrConnectWithoutRoleInput[];
256
- upsert?: Prisma.RolePermissionUpsertWithWhereUniqueWithoutRoleInput | Prisma.RolePermissionUpsertWithWhereUniqueWithoutRoleInput[];
257
- createMany?: Prisma.RolePermissionCreateManyRoleInputEnvelope;
258
- set?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
259
- disconnect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
260
- delete?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
261
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
262
- update?: Prisma.RolePermissionUpdateWithWhereUniqueWithoutRoleInput | Prisma.RolePermissionUpdateWithWhereUniqueWithoutRoleInput[];
263
- updateMany?: Prisma.RolePermissionUpdateManyWithWhereWithoutRoleInput | Prisma.RolePermissionUpdateManyWithWhereWithoutRoleInput[];
264
- deleteMany?: Prisma.RolePermissionScalarWhereInput | Prisma.RolePermissionScalarWhereInput[];
265
- };
266
- export type RolePermissionCreateNestedManyWithoutPermissionInput = {
267
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutPermissionInput, Prisma.RolePermissionUncheckedCreateWithoutPermissionInput> | Prisma.RolePermissionCreateWithoutPermissionInput[] | Prisma.RolePermissionUncheckedCreateWithoutPermissionInput[];
268
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutPermissionInput | Prisma.RolePermissionCreateOrConnectWithoutPermissionInput[];
269
- createMany?: Prisma.RolePermissionCreateManyPermissionInputEnvelope;
270
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
271
- };
272
- export type RolePermissionUncheckedCreateNestedManyWithoutPermissionInput = {
273
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutPermissionInput, Prisma.RolePermissionUncheckedCreateWithoutPermissionInput> | Prisma.RolePermissionCreateWithoutPermissionInput[] | Prisma.RolePermissionUncheckedCreateWithoutPermissionInput[];
274
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutPermissionInput | Prisma.RolePermissionCreateOrConnectWithoutPermissionInput[];
275
- createMany?: Prisma.RolePermissionCreateManyPermissionInputEnvelope;
276
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
277
- };
278
- export type RolePermissionUpdateManyWithoutPermissionNestedInput = {
279
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutPermissionInput, Prisma.RolePermissionUncheckedCreateWithoutPermissionInput> | Prisma.RolePermissionCreateWithoutPermissionInput[] | Prisma.RolePermissionUncheckedCreateWithoutPermissionInput[];
280
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutPermissionInput | Prisma.RolePermissionCreateOrConnectWithoutPermissionInput[];
281
- upsert?: Prisma.RolePermissionUpsertWithWhereUniqueWithoutPermissionInput | Prisma.RolePermissionUpsertWithWhereUniqueWithoutPermissionInput[];
282
- createMany?: Prisma.RolePermissionCreateManyPermissionInputEnvelope;
283
- set?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
284
- disconnect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
285
- delete?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
286
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
287
- update?: Prisma.RolePermissionUpdateWithWhereUniqueWithoutPermissionInput | Prisma.RolePermissionUpdateWithWhereUniqueWithoutPermissionInput[];
288
- updateMany?: Prisma.RolePermissionUpdateManyWithWhereWithoutPermissionInput | Prisma.RolePermissionUpdateManyWithWhereWithoutPermissionInput[];
289
- deleteMany?: Prisma.RolePermissionScalarWhereInput | Prisma.RolePermissionScalarWhereInput[];
290
- };
291
- export type RolePermissionUncheckedUpdateManyWithoutPermissionNestedInput = {
292
- create?: Prisma.XOR<Prisma.RolePermissionCreateWithoutPermissionInput, Prisma.RolePermissionUncheckedCreateWithoutPermissionInput> | Prisma.RolePermissionCreateWithoutPermissionInput[] | Prisma.RolePermissionUncheckedCreateWithoutPermissionInput[];
293
- connectOrCreate?: Prisma.RolePermissionCreateOrConnectWithoutPermissionInput | Prisma.RolePermissionCreateOrConnectWithoutPermissionInput[];
294
- upsert?: Prisma.RolePermissionUpsertWithWhereUniqueWithoutPermissionInput | Prisma.RolePermissionUpsertWithWhereUniqueWithoutPermissionInput[];
295
- createMany?: Prisma.RolePermissionCreateManyPermissionInputEnvelope;
296
- set?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
297
- disconnect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
298
- delete?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
299
- connect?: Prisma.RolePermissionWhereUniqueInput | Prisma.RolePermissionWhereUniqueInput[];
300
- update?: Prisma.RolePermissionUpdateWithWhereUniqueWithoutPermissionInput | Prisma.RolePermissionUpdateWithWhereUniqueWithoutPermissionInput[];
301
- updateMany?: Prisma.RolePermissionUpdateManyWithWhereWithoutPermissionInput | Prisma.RolePermissionUpdateManyWithWhereWithoutPermissionInput[];
302
- deleteMany?: Prisma.RolePermissionScalarWhereInput | Prisma.RolePermissionScalarWhereInput[];
303
- };
304
- export type RolePermissionCreateWithoutRoleInput = {
305
- createdAt?: Date | string;
306
- permission: Prisma.PermissionCreateNestedOneWithoutRolesInput;
307
- };
308
- export type RolePermissionUncheckedCreateWithoutRoleInput = {
309
- permissionId: string;
310
- createdAt?: Date | string;
311
- };
312
- export type RolePermissionCreateOrConnectWithoutRoleInput = {
313
- where: Prisma.RolePermissionWhereUniqueInput;
314
- create: Prisma.XOR<Prisma.RolePermissionCreateWithoutRoleInput, Prisma.RolePermissionUncheckedCreateWithoutRoleInput>;
315
- };
316
- export type RolePermissionCreateManyRoleInputEnvelope = {
317
- data: Prisma.RolePermissionCreateManyRoleInput | Prisma.RolePermissionCreateManyRoleInput[];
318
- skipDuplicates?: boolean;
319
- };
320
- export type RolePermissionUpsertWithWhereUniqueWithoutRoleInput = {
321
- where: Prisma.RolePermissionWhereUniqueInput;
322
- update: Prisma.XOR<Prisma.RolePermissionUpdateWithoutRoleInput, Prisma.RolePermissionUncheckedUpdateWithoutRoleInput>;
323
- create: Prisma.XOR<Prisma.RolePermissionCreateWithoutRoleInput, Prisma.RolePermissionUncheckedCreateWithoutRoleInput>;
324
- };
325
- export type RolePermissionUpdateWithWhereUniqueWithoutRoleInput = {
326
- where: Prisma.RolePermissionWhereUniqueInput;
327
- data: Prisma.XOR<Prisma.RolePermissionUpdateWithoutRoleInput, Prisma.RolePermissionUncheckedUpdateWithoutRoleInput>;
328
- };
329
- export type RolePermissionUpdateManyWithWhereWithoutRoleInput = {
330
- where: Prisma.RolePermissionScalarWhereInput;
331
- data: Prisma.XOR<Prisma.RolePermissionUpdateManyMutationInput, Prisma.RolePermissionUncheckedUpdateManyWithoutRoleInput>;
332
- };
333
- export type RolePermissionScalarWhereInput = {
334
- AND?: Prisma.RolePermissionScalarWhereInput | Prisma.RolePermissionScalarWhereInput[];
335
- OR?: Prisma.RolePermissionScalarWhereInput[];
336
- NOT?: Prisma.RolePermissionScalarWhereInput | Prisma.RolePermissionScalarWhereInput[];
337
- roleId?: Prisma.StringFilter<"RolePermission"> | string;
338
- permissionId?: Prisma.StringFilter<"RolePermission"> | string;
339
- createdAt?: Prisma.DateTimeFilter<"RolePermission"> | Date | string;
340
- };
341
- export type RolePermissionCreateWithoutPermissionInput = {
342
- createdAt?: Date | string;
343
- role: Prisma.RoleCreateNestedOneWithoutPermissionsInput;
344
- };
345
- export type RolePermissionUncheckedCreateWithoutPermissionInput = {
346
- roleId: string;
347
- createdAt?: Date | string;
348
- };
349
- export type RolePermissionCreateOrConnectWithoutPermissionInput = {
350
- where: Prisma.RolePermissionWhereUniqueInput;
351
- create: Prisma.XOR<Prisma.RolePermissionCreateWithoutPermissionInput, Prisma.RolePermissionUncheckedCreateWithoutPermissionInput>;
352
- };
353
- export type RolePermissionCreateManyPermissionInputEnvelope = {
354
- data: Prisma.RolePermissionCreateManyPermissionInput | Prisma.RolePermissionCreateManyPermissionInput[];
355
- skipDuplicates?: boolean;
356
- };
357
- export type RolePermissionUpsertWithWhereUniqueWithoutPermissionInput = {
358
- where: Prisma.RolePermissionWhereUniqueInput;
359
- update: Prisma.XOR<Prisma.RolePermissionUpdateWithoutPermissionInput, Prisma.RolePermissionUncheckedUpdateWithoutPermissionInput>;
360
- create: Prisma.XOR<Prisma.RolePermissionCreateWithoutPermissionInput, Prisma.RolePermissionUncheckedCreateWithoutPermissionInput>;
361
- };
362
- export type RolePermissionUpdateWithWhereUniqueWithoutPermissionInput = {
363
- where: Prisma.RolePermissionWhereUniqueInput;
364
- data: Prisma.XOR<Prisma.RolePermissionUpdateWithoutPermissionInput, Prisma.RolePermissionUncheckedUpdateWithoutPermissionInput>;
365
- };
366
- export type RolePermissionUpdateManyWithWhereWithoutPermissionInput = {
367
- where: Prisma.RolePermissionScalarWhereInput;
368
- data: Prisma.XOR<Prisma.RolePermissionUpdateManyMutationInput, Prisma.RolePermissionUncheckedUpdateManyWithoutPermissionInput>;
369
- };
370
- export type RolePermissionCreateManyRoleInput = {
371
- permissionId: string;
372
- createdAt?: Date | string;
373
- };
374
- export type RolePermissionUpdateWithoutRoleInput = {
375
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
376
- permission?: Prisma.PermissionUpdateOneRequiredWithoutRolesNestedInput;
377
- };
378
- export type RolePermissionUncheckedUpdateWithoutRoleInput = {
379
- permissionId?: Prisma.StringFieldUpdateOperationsInput | string;
380
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
381
- };
382
- export type RolePermissionUncheckedUpdateManyWithoutRoleInput = {
383
- permissionId?: Prisma.StringFieldUpdateOperationsInput | string;
384
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
385
- };
386
- export type RolePermissionCreateManyPermissionInput = {
387
- roleId: string;
388
- createdAt?: Date | string;
389
- };
390
- export type RolePermissionUpdateWithoutPermissionInput = {
391
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
392
- role?: Prisma.RoleUpdateOneRequiredWithoutPermissionsNestedInput;
393
- };
394
- export type RolePermissionUncheckedUpdateWithoutPermissionInput = {
395
- roleId?: Prisma.StringFieldUpdateOperationsInput | string;
396
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
397
- };
398
- export type RolePermissionUncheckedUpdateManyWithoutPermissionInput = {
399
- roleId?: Prisma.StringFieldUpdateOperationsInput | string;
400
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
401
- };
402
- export type RolePermissionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
403
- roleId?: boolean;
404
- permissionId?: boolean;
405
- createdAt?: boolean;
406
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
407
- permission?: boolean | Prisma.PermissionDefaultArgs<ExtArgs>;
408
- }, ExtArgs["result"]["rolePermission"]>;
409
- export type RolePermissionSelectScalar = {
410
- roleId?: boolean;
411
- permissionId?: boolean;
412
- createdAt?: boolean;
413
- };
414
- export type RolePermissionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"roleId" | "permissionId" | "createdAt", ExtArgs["result"]["rolePermission"]>;
415
- export type RolePermissionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
416
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
417
- permission?: boolean | Prisma.PermissionDefaultArgs<ExtArgs>;
418
- };
419
- export type $RolePermissionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
420
- name: "RolePermission";
421
- objects: {
422
- role: Prisma.$RolePayload<ExtArgs>;
423
- permission: Prisma.$PermissionPayload<ExtArgs>;
424
- };
425
- scalars: runtime.Types.Extensions.GetPayloadResult<{
426
- roleId: string;
427
- permissionId: string;
428
- createdAt: Date;
429
- }, ExtArgs["result"]["rolePermission"]>;
430
- composites: {};
431
- };
432
- export type RolePermissionGetPayload<S extends boolean | null | undefined | RolePermissionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload, S>;
433
- export type RolePermissionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RolePermissionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
434
- select?: RolePermissionCountAggregateInputType | true;
435
- };
436
- export interface RolePermissionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
437
- [K: symbol]: {
438
- types: Prisma.TypeMap<ExtArgs>['model']['RolePermission'];
439
- meta: {
440
- name: 'RolePermission';
441
- };
442
- };
443
- /**
444
- * Find zero or one RolePermission that matches the filter.
445
- * @param {RolePermissionFindUniqueArgs} args - Arguments to find a RolePermission
446
- * @example
447
- * // Get one RolePermission
448
- * const rolePermission = await prisma.rolePermission.findUnique({
449
- * where: {
450
- * // ... provide filter here
451
- * }
452
- * })
453
- */
454
- findUnique<T extends RolePermissionFindUniqueArgs>(args: Prisma.SelectSubset<T, RolePermissionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
455
- /**
456
- * Find one RolePermission that matches the filter or throw an error with `error.code='P2025'`
457
- * if no matches were found.
458
- * @param {RolePermissionFindUniqueOrThrowArgs} args - Arguments to find a RolePermission
459
- * @example
460
- * // Get one RolePermission
461
- * const rolePermission = await prisma.rolePermission.findUniqueOrThrow({
462
- * where: {
463
- * // ... provide filter here
464
- * }
465
- * })
466
- */
467
- findUniqueOrThrow<T extends RolePermissionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RolePermissionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
468
- /**
469
- * Find the first RolePermission that matches the filter.
470
- * Note, that providing `undefined` is treated as the value not being there.
471
- * Read more here: https://pris.ly/d/null-undefined
472
- * @param {RolePermissionFindFirstArgs} args - Arguments to find a RolePermission
473
- * @example
474
- * // Get one RolePermission
475
- * const rolePermission = await prisma.rolePermission.findFirst({
476
- * where: {
477
- * // ... provide filter here
478
- * }
479
- * })
480
- */
481
- findFirst<T extends RolePermissionFindFirstArgs>(args?: Prisma.SelectSubset<T, RolePermissionFindFirstArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
482
- /**
483
- * Find the first RolePermission that matches the filter or
484
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
485
- * Note, that providing `undefined` is treated as the value not being there.
486
- * Read more here: https://pris.ly/d/null-undefined
487
- * @param {RolePermissionFindFirstOrThrowArgs} args - Arguments to find a RolePermission
488
- * @example
489
- * // Get one RolePermission
490
- * const rolePermission = await prisma.rolePermission.findFirstOrThrow({
491
- * where: {
492
- * // ... provide filter here
493
- * }
494
- * })
495
- */
496
- findFirstOrThrow<T extends RolePermissionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RolePermissionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
497
- /**
498
- * Find zero or more RolePermissions that matches the filter.
499
- * Note, that providing `undefined` is treated as the value not being there.
500
- * Read more here: https://pris.ly/d/null-undefined
501
- * @param {RolePermissionFindManyArgs} args - Arguments to filter and select certain fields only.
502
- * @example
503
- * // Get all RolePermissions
504
- * const rolePermissions = await prisma.rolePermission.findMany()
505
- *
506
- * // Get first 10 RolePermissions
507
- * const rolePermissions = await prisma.rolePermission.findMany({ take: 10 })
508
- *
509
- * // Only select the `roleId`
510
- * const rolePermissionWithRoleIdOnly = await prisma.rolePermission.findMany({ select: { roleId: true } })
511
- *
512
- */
513
- findMany<T extends RolePermissionFindManyArgs>(args?: Prisma.SelectSubset<T, RolePermissionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
514
- /**
515
- * Create a RolePermission.
516
- * @param {RolePermissionCreateArgs} args - Arguments to create a RolePermission.
517
- * @example
518
- * // Create one RolePermission
519
- * const RolePermission = await prisma.rolePermission.create({
520
- * data: {
521
- * // ... data to create a RolePermission
522
- * }
523
- * })
524
- *
525
- */
526
- create<T extends RolePermissionCreateArgs>(args: Prisma.SelectSubset<T, RolePermissionCreateArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
527
- /**
528
- * Create many RolePermissions.
529
- * @param {RolePermissionCreateManyArgs} args - Arguments to create many RolePermissions.
530
- * @example
531
- * // Create many RolePermissions
532
- * const rolePermission = await prisma.rolePermission.createMany({
533
- * data: [
534
- * // ... provide data here
535
- * ]
536
- * })
537
- *
538
- */
539
- createMany<T extends RolePermissionCreateManyArgs>(args?: Prisma.SelectSubset<T, RolePermissionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
540
- /**
541
- * Delete a RolePermission.
542
- * @param {RolePermissionDeleteArgs} args - Arguments to delete one RolePermission.
543
- * @example
544
- * // Delete one RolePermission
545
- * const RolePermission = await prisma.rolePermission.delete({
546
- * where: {
547
- * // ... filter to delete one RolePermission
548
- * }
549
- * })
550
- *
551
- */
552
- delete<T extends RolePermissionDeleteArgs>(args: Prisma.SelectSubset<T, RolePermissionDeleteArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
553
- /**
554
- * Update one RolePermission.
555
- * @param {RolePermissionUpdateArgs} args - Arguments to update one RolePermission.
556
- * @example
557
- * // Update one RolePermission
558
- * const rolePermission = await prisma.rolePermission.update({
559
- * where: {
560
- * // ... provide filter here
561
- * },
562
- * data: {
563
- * // ... provide data here
564
- * }
565
- * })
566
- *
567
- */
568
- update<T extends RolePermissionUpdateArgs>(args: Prisma.SelectSubset<T, RolePermissionUpdateArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
569
- /**
570
- * Delete zero or more RolePermissions.
571
- * @param {RolePermissionDeleteManyArgs} args - Arguments to filter RolePermissions to delete.
572
- * @example
573
- * // Delete a few RolePermissions
574
- * const { count } = await prisma.rolePermission.deleteMany({
575
- * where: {
576
- * // ... provide filter here
577
- * }
578
- * })
579
- *
580
- */
581
- deleteMany<T extends RolePermissionDeleteManyArgs>(args?: Prisma.SelectSubset<T, RolePermissionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
582
- /**
583
- * Update zero or more RolePermissions.
584
- * Note, that providing `undefined` is treated as the value not being there.
585
- * Read more here: https://pris.ly/d/null-undefined
586
- * @param {RolePermissionUpdateManyArgs} args - Arguments to update one or more rows.
587
- * @example
588
- * // Update many RolePermissions
589
- * const rolePermission = await prisma.rolePermission.updateMany({
590
- * where: {
591
- * // ... provide filter here
592
- * },
593
- * data: {
594
- * // ... provide data here
595
- * }
596
- * })
597
- *
598
- */
599
- updateMany<T extends RolePermissionUpdateManyArgs>(args: Prisma.SelectSubset<T, RolePermissionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
600
- /**
601
- * Create or update one RolePermission.
602
- * @param {RolePermissionUpsertArgs} args - Arguments to update or create a RolePermission.
603
- * @example
604
- * // Update or create a RolePermission
605
- * const rolePermission = await prisma.rolePermission.upsert({
606
- * create: {
607
- * // ... data to create a RolePermission
608
- * },
609
- * update: {
610
- * // ... in case it already exists, update
611
- * },
612
- * where: {
613
- * // ... the filter for the RolePermission we want to update
614
- * }
615
- * })
616
- */
617
- upsert<T extends RolePermissionUpsertArgs>(args: Prisma.SelectSubset<T, RolePermissionUpsertArgs<ExtArgs>>): Prisma.Prisma__RolePermissionClient<runtime.Types.Result.GetResult<Prisma.$RolePermissionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
618
- /**
619
- * Count the number of RolePermissions.
620
- * Note, that providing `undefined` is treated as the value not being there.
621
- * Read more here: https://pris.ly/d/null-undefined
622
- * @param {RolePermissionCountArgs} args - Arguments to filter RolePermissions to count.
623
- * @example
624
- * // Count the number of RolePermissions
625
- * const count = await prisma.rolePermission.count({
626
- * where: {
627
- * // ... the filter for the RolePermissions we want to count
628
- * }
629
- * })
630
- **/
631
- count<T extends RolePermissionCountArgs>(args?: Prisma.Subset<T, RolePermissionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RolePermissionCountAggregateOutputType> : number>;
632
- /**
633
- * Allows you to perform aggregations operations on a RolePermission.
634
- * Note, that providing `undefined` is treated as the value not being there.
635
- * Read more here: https://pris.ly/d/null-undefined
636
- * @param {RolePermissionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
637
- * @example
638
- * // Ordered by age ascending
639
- * // Where email contains prisma.io
640
- * // Limited to the 10 users
641
- * const aggregations = await prisma.user.aggregate({
642
- * _avg: {
643
- * age: true,
644
- * },
645
- * where: {
646
- * email: {
647
- * contains: "prisma.io",
648
- * },
649
- * },
650
- * orderBy: {
651
- * age: "asc",
652
- * },
653
- * take: 10,
654
- * })
655
- **/
656
- aggregate<T extends RolePermissionAggregateArgs>(args: Prisma.Subset<T, RolePermissionAggregateArgs>): Prisma.PrismaPromise<GetRolePermissionAggregateType<T>>;
657
- /**
658
- * Group by RolePermission.
659
- * Note, that providing `undefined` is treated as the value not being there.
660
- * Read more here: https://pris.ly/d/null-undefined
661
- * @param {RolePermissionGroupByArgs} args - Group by arguments.
662
- * @example
663
- * // Group by city, order by createdAt, get count
664
- * const result = await prisma.user.groupBy({
665
- * by: ['city', 'createdAt'],
666
- * orderBy: {
667
- * createdAt: true
668
- * },
669
- * _count: {
670
- * _all: true
671
- * },
672
- * })
673
- *
674
- **/
675
- groupBy<T extends RolePermissionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
676
- orderBy: RolePermissionGroupByArgs['orderBy'];
677
- } : {
678
- orderBy?: RolePermissionGroupByArgs['orderBy'];
679
- }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
680
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
681
- Error,
682
- 'Field ',
683
- P,
684
- ` in "having" needs to be provided in "by"`
685
- ];
686
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
687
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
688
- }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
689
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
690
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
691
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
692
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, RolePermissionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRolePermissionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
693
- /**
694
- * Fields of the RolePermission model
695
- */
696
- readonly fields: RolePermissionFieldRefs;
697
- }
698
- /**
699
- * The delegate class that acts as a "Promise-like" for RolePermission.
700
- * Why is this prefixed with `Prisma__`?
701
- * Because we want to prevent naming conflicts as mentioned in
702
- * https://github.com/prisma/prisma-client-js/issues/707
703
- */
704
- export interface Prisma__RolePermissionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
705
- readonly [Symbol.toStringTag]: "PrismaPromise";
706
- role<T extends Prisma.RoleDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RoleDefaultArgs<ExtArgs>>): Prisma.Prisma__RoleClient<runtime.Types.Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
707
- permission<T extends Prisma.PermissionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PermissionDefaultArgs<ExtArgs>>): Prisma.Prisma__PermissionClient<runtime.Types.Result.GetResult<Prisma.$PermissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
708
- /**
709
- * Attaches callbacks for the resolution and/or rejection of the Promise.
710
- * @param onfulfilled The callback to execute when the Promise is resolved.
711
- * @param onrejected The callback to execute when the Promise is rejected.
712
- * @returns A Promise for the completion of which ever callback is executed.
713
- */
714
- 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>;
715
- /**
716
- * Attaches a callback for only the rejection of the Promise.
717
- * @param onrejected The callback to execute when the Promise is rejected.
718
- * @returns A Promise for the completion of the callback.
719
- */
720
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
721
- /**
722
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
723
- * resolved value cannot be modified from the callback.
724
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
725
- * @returns A Promise for the completion of the callback.
726
- */
727
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
728
- }
729
- /**
730
- * Fields of the RolePermission model
731
- */
732
- export interface RolePermissionFieldRefs {
733
- readonly roleId: Prisma.FieldRef<"RolePermission", 'String'>;
734
- readonly permissionId: Prisma.FieldRef<"RolePermission", 'String'>;
735
- readonly createdAt: Prisma.FieldRef<"RolePermission", 'DateTime'>;
736
- }
737
- /**
738
- * RolePermission findUnique
739
- */
740
- export type RolePermissionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
741
- /**
742
- * Select specific fields to fetch from the RolePermission
743
- */
744
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
745
- /**
746
- * Omit specific fields from the RolePermission
747
- */
748
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
749
- /**
750
- * Choose, which related nodes to fetch as well
751
- */
752
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
753
- /**
754
- * Filter, which RolePermission to fetch.
755
- */
756
- where: Prisma.RolePermissionWhereUniqueInput;
757
- };
758
- /**
759
- * RolePermission findUniqueOrThrow
760
- */
761
- export type RolePermissionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
- /**
763
- * Select specific fields to fetch from the RolePermission
764
- */
765
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
766
- /**
767
- * Omit specific fields from the RolePermission
768
- */
769
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
770
- /**
771
- * Choose, which related nodes to fetch as well
772
- */
773
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
774
- /**
775
- * Filter, which RolePermission to fetch.
776
- */
777
- where: Prisma.RolePermissionWhereUniqueInput;
778
- };
779
- /**
780
- * RolePermission findFirst
781
- */
782
- export type RolePermissionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
783
- /**
784
- * Select specific fields to fetch from the RolePermission
785
- */
786
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
787
- /**
788
- * Omit specific fields from the RolePermission
789
- */
790
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
791
- /**
792
- * Choose, which related nodes to fetch as well
793
- */
794
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
795
- /**
796
- * Filter, which RolePermission to fetch.
797
- */
798
- where?: Prisma.RolePermissionWhereInput;
799
- /**
800
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
801
- *
802
- * Determine the order of RolePermissions to fetch.
803
- */
804
- orderBy?: Prisma.RolePermissionOrderByWithRelationInput | Prisma.RolePermissionOrderByWithRelationInput[];
805
- /**
806
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
807
- *
808
- * Sets the position for searching for RolePermissions.
809
- */
810
- cursor?: Prisma.RolePermissionWhereUniqueInput;
811
- /**
812
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
813
- *
814
- * Take `±n` RolePermissions from the position of the cursor.
815
- */
816
- take?: number;
817
- /**
818
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
819
- *
820
- * Skip the first `n` RolePermissions.
821
- */
822
- skip?: number;
823
- /**
824
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
825
- *
826
- * Filter by unique combinations of RolePermissions.
827
- */
828
- distinct?: Prisma.RolePermissionScalarFieldEnum | Prisma.RolePermissionScalarFieldEnum[];
829
- };
830
- /**
831
- * RolePermission findFirstOrThrow
832
- */
833
- export type RolePermissionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
834
- /**
835
- * Select specific fields to fetch from the RolePermission
836
- */
837
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
838
- /**
839
- * Omit specific fields from the RolePermission
840
- */
841
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
842
- /**
843
- * Choose, which related nodes to fetch as well
844
- */
845
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
846
- /**
847
- * Filter, which RolePermission to fetch.
848
- */
849
- where?: Prisma.RolePermissionWhereInput;
850
- /**
851
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
852
- *
853
- * Determine the order of RolePermissions to fetch.
854
- */
855
- orderBy?: Prisma.RolePermissionOrderByWithRelationInput | Prisma.RolePermissionOrderByWithRelationInput[];
856
- /**
857
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
858
- *
859
- * Sets the position for searching for RolePermissions.
860
- */
861
- cursor?: Prisma.RolePermissionWhereUniqueInput;
862
- /**
863
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
864
- *
865
- * Take `±n` RolePermissions from the position of the cursor.
866
- */
867
- take?: number;
868
- /**
869
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
870
- *
871
- * Skip the first `n` RolePermissions.
872
- */
873
- skip?: number;
874
- /**
875
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
876
- *
877
- * Filter by unique combinations of RolePermissions.
878
- */
879
- distinct?: Prisma.RolePermissionScalarFieldEnum | Prisma.RolePermissionScalarFieldEnum[];
880
- };
881
- /**
882
- * RolePermission findMany
883
- */
884
- export type RolePermissionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
885
- /**
886
- * Select specific fields to fetch from the RolePermission
887
- */
888
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
889
- /**
890
- * Omit specific fields from the RolePermission
891
- */
892
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
893
- /**
894
- * Choose, which related nodes to fetch as well
895
- */
896
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
897
- /**
898
- * Filter, which RolePermissions to fetch.
899
- */
900
- where?: Prisma.RolePermissionWhereInput;
901
- /**
902
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
903
- *
904
- * Determine the order of RolePermissions to fetch.
905
- */
906
- orderBy?: Prisma.RolePermissionOrderByWithRelationInput | Prisma.RolePermissionOrderByWithRelationInput[];
907
- /**
908
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
909
- *
910
- * Sets the position for listing RolePermissions.
911
- */
912
- cursor?: Prisma.RolePermissionWhereUniqueInput;
913
- /**
914
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
915
- *
916
- * Take `±n` RolePermissions from the position of the cursor.
917
- */
918
- take?: number;
919
- /**
920
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
921
- *
922
- * Skip the first `n` RolePermissions.
923
- */
924
- skip?: number;
925
- distinct?: Prisma.RolePermissionScalarFieldEnum | Prisma.RolePermissionScalarFieldEnum[];
926
- };
927
- /**
928
- * RolePermission create
929
- */
930
- export type RolePermissionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
931
- /**
932
- * Select specific fields to fetch from the RolePermission
933
- */
934
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
935
- /**
936
- * Omit specific fields from the RolePermission
937
- */
938
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
939
- /**
940
- * Choose, which related nodes to fetch as well
941
- */
942
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
943
- /**
944
- * The data needed to create a RolePermission.
945
- */
946
- data: Prisma.XOR<Prisma.RolePermissionCreateInput, Prisma.RolePermissionUncheckedCreateInput>;
947
- };
948
- /**
949
- * RolePermission createMany
950
- */
951
- export type RolePermissionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
952
- /**
953
- * The data used to create many RolePermissions.
954
- */
955
- data: Prisma.RolePermissionCreateManyInput | Prisma.RolePermissionCreateManyInput[];
956
- skipDuplicates?: boolean;
957
- };
958
- /**
959
- * RolePermission update
960
- */
961
- export type RolePermissionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
962
- /**
963
- * Select specific fields to fetch from the RolePermission
964
- */
965
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
966
- /**
967
- * Omit specific fields from the RolePermission
968
- */
969
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
970
- /**
971
- * Choose, which related nodes to fetch as well
972
- */
973
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
974
- /**
975
- * The data needed to update a RolePermission.
976
- */
977
- data: Prisma.XOR<Prisma.RolePermissionUpdateInput, Prisma.RolePermissionUncheckedUpdateInput>;
978
- /**
979
- * Choose, which RolePermission to update.
980
- */
981
- where: Prisma.RolePermissionWhereUniqueInput;
982
- };
983
- /**
984
- * RolePermission updateMany
985
- */
986
- export type RolePermissionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
987
- /**
988
- * The data used to update RolePermissions.
989
- */
990
- data: Prisma.XOR<Prisma.RolePermissionUpdateManyMutationInput, Prisma.RolePermissionUncheckedUpdateManyInput>;
991
- /**
992
- * Filter which RolePermissions to update
993
- */
994
- where?: Prisma.RolePermissionWhereInput;
995
- /**
996
- * Limit how many RolePermissions to update.
997
- */
998
- limit?: number;
999
- };
1000
- /**
1001
- * RolePermission upsert
1002
- */
1003
- export type RolePermissionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1004
- /**
1005
- * Select specific fields to fetch from the RolePermission
1006
- */
1007
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
1008
- /**
1009
- * Omit specific fields from the RolePermission
1010
- */
1011
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
1012
- /**
1013
- * Choose, which related nodes to fetch as well
1014
- */
1015
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
1016
- /**
1017
- * The filter to search for the RolePermission to update in case it exists.
1018
- */
1019
- where: Prisma.RolePermissionWhereUniqueInput;
1020
- /**
1021
- * In case the RolePermission found by the `where` argument doesn't exist, create a new RolePermission with this data.
1022
- */
1023
- create: Prisma.XOR<Prisma.RolePermissionCreateInput, Prisma.RolePermissionUncheckedCreateInput>;
1024
- /**
1025
- * In case the RolePermission was found with the provided `where` argument, update it with this data.
1026
- */
1027
- update: Prisma.XOR<Prisma.RolePermissionUpdateInput, Prisma.RolePermissionUncheckedUpdateInput>;
1028
- };
1029
- /**
1030
- * RolePermission delete
1031
- */
1032
- export type RolePermissionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1033
- /**
1034
- * Select specific fields to fetch from the RolePermission
1035
- */
1036
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
1037
- /**
1038
- * Omit specific fields from the RolePermission
1039
- */
1040
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
1041
- /**
1042
- * Choose, which related nodes to fetch as well
1043
- */
1044
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
1045
- /**
1046
- * Filter which RolePermission to delete.
1047
- */
1048
- where: Prisma.RolePermissionWhereUniqueInput;
1049
- };
1050
- /**
1051
- * RolePermission deleteMany
1052
- */
1053
- export type RolePermissionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1054
- /**
1055
- * Filter which RolePermissions to delete
1056
- */
1057
- where?: Prisma.RolePermissionWhereInput;
1058
- /**
1059
- * Limit how many RolePermissions to delete.
1060
- */
1061
- limit?: number;
1062
- };
1063
- /**
1064
- * RolePermission without action
1065
- */
1066
- export type RolePermissionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1067
- /**
1068
- * Select specific fields to fetch from the RolePermission
1069
- */
1070
- select?: Prisma.RolePermissionSelect<ExtArgs> | null;
1071
- /**
1072
- * Omit specific fields from the RolePermission
1073
- */
1074
- omit?: Prisma.RolePermissionOmit<ExtArgs> | null;
1075
- /**
1076
- * Choose, which related nodes to fetch as well
1077
- */
1078
- include?: Prisma.RolePermissionInclude<ExtArgs> | null;
1079
- };
1080
- export {};