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