@valentine-efagene/qshelter-common 2.0.150 → 2.0.152
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/generated/client/browser.d.ts +13 -2
- package/dist/generated/client/client.d.ts +15 -4
- package/dist/generated/client/client.js +2 -2
- package/dist/generated/client/commonInputTypes.d.ts +50 -190
- package/dist/generated/client/enums.d.ts +7 -34
- package/dist/generated/client/enums.js +6 -30
- package/dist/generated/client/internal/class.d.ts +29 -7
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +185 -34
- package/dist/generated/client/internal/prismaNamespace.js +42 -13
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +46 -13
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +42 -13
- package/dist/generated/client/models/ApplicationOrganization.d.ts +308 -67
- package/dist/generated/client/models/ApprovalStage.d.ts +210 -91
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +258 -69
- package/dist/generated/client/models/DocumentApproval.d.ts +196 -65
- package/dist/generated/client/models/DocumentReview.d.ts +475 -86
- package/dist/generated/client/models/Organization.d.ts +424 -52
- package/dist/generated/client/models/OrganizationMember.d.ts +42 -169
- package/dist/generated/client/models/OrganizationType.d.ts +1982 -0
- package/dist/generated/client/models/OrganizationType.js +1 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.d.ts +1159 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.js +1 -0
- package/dist/generated/client/models/Property.d.ts +59 -120
- package/dist/generated/client/models/Tenant.d.ts +575 -4
- package/dist/generated/client/models/User.d.ts +0 -12
- package/dist/generated/client/models/index.d.ts +2 -0
- package/dist/generated/client/models/index.js +2 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/package.json +1 -1
- package/prisma/migrations/20260125090213_remove_is_published_use_status_enum/migration.sql +10 -0
- package/prisma/migrations/20260125102448_org_types_many_to_many/migration.sql +153 -0
- package/prisma/migrations/20260125103700_20260125102448_org_types_many_to_many_fix/migration.sql +5 -0
- package/prisma/schema.prisma +121 -81
|
@@ -0,0 +1,1159 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model OrganizationTypeAssignment
|
|
5
|
+
* Links organizations to their types (many-to-many)
|
|
6
|
+
* An organization can have multiple types (e.g., QShelter is PLATFORM + DEVELOPER)
|
|
7
|
+
*/
|
|
8
|
+
export type OrganizationTypeAssignmentModel = runtime.Types.Result.DefaultSelection<Prisma.$OrganizationTypeAssignmentPayload>;
|
|
9
|
+
export type AggregateOrganizationTypeAssignment = {
|
|
10
|
+
_count: OrganizationTypeAssignmentCountAggregateOutputType | null;
|
|
11
|
+
_min: OrganizationTypeAssignmentMinAggregateOutputType | null;
|
|
12
|
+
_max: OrganizationTypeAssignmentMaxAggregateOutputType | null;
|
|
13
|
+
};
|
|
14
|
+
export type OrganizationTypeAssignmentMinAggregateOutputType = {
|
|
15
|
+
id: string | null;
|
|
16
|
+
organizationId: string | null;
|
|
17
|
+
typeId: string | null;
|
|
18
|
+
isPrimary: boolean | null;
|
|
19
|
+
createdAt: Date | null;
|
|
20
|
+
};
|
|
21
|
+
export type OrganizationTypeAssignmentMaxAggregateOutputType = {
|
|
22
|
+
id: string | null;
|
|
23
|
+
organizationId: string | null;
|
|
24
|
+
typeId: string | null;
|
|
25
|
+
isPrimary: boolean | null;
|
|
26
|
+
createdAt: Date | null;
|
|
27
|
+
};
|
|
28
|
+
export type OrganizationTypeAssignmentCountAggregateOutputType = {
|
|
29
|
+
id: number;
|
|
30
|
+
organizationId: number;
|
|
31
|
+
typeId: number;
|
|
32
|
+
isPrimary: number;
|
|
33
|
+
createdAt: number;
|
|
34
|
+
_all: number;
|
|
35
|
+
};
|
|
36
|
+
export type OrganizationTypeAssignmentMinAggregateInputType = {
|
|
37
|
+
id?: true;
|
|
38
|
+
organizationId?: true;
|
|
39
|
+
typeId?: true;
|
|
40
|
+
isPrimary?: true;
|
|
41
|
+
createdAt?: true;
|
|
42
|
+
};
|
|
43
|
+
export type OrganizationTypeAssignmentMaxAggregateInputType = {
|
|
44
|
+
id?: true;
|
|
45
|
+
organizationId?: true;
|
|
46
|
+
typeId?: true;
|
|
47
|
+
isPrimary?: true;
|
|
48
|
+
createdAt?: true;
|
|
49
|
+
};
|
|
50
|
+
export type OrganizationTypeAssignmentCountAggregateInputType = {
|
|
51
|
+
id?: true;
|
|
52
|
+
organizationId?: true;
|
|
53
|
+
typeId?: true;
|
|
54
|
+
isPrimary?: true;
|
|
55
|
+
createdAt?: true;
|
|
56
|
+
_all?: true;
|
|
57
|
+
};
|
|
58
|
+
export type OrganizationTypeAssignmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
59
|
+
/**
|
|
60
|
+
* Filter which OrganizationTypeAssignment to aggregate.
|
|
61
|
+
*/
|
|
62
|
+
where?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
63
|
+
/**
|
|
64
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
65
|
+
*
|
|
66
|
+
* Determine the order of OrganizationTypeAssignments to fetch.
|
|
67
|
+
*/
|
|
68
|
+
orderBy?: Prisma.OrganizationTypeAssignmentOrderByWithRelationInput | Prisma.OrganizationTypeAssignmentOrderByWithRelationInput[];
|
|
69
|
+
/**
|
|
70
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
71
|
+
*
|
|
72
|
+
* Sets the start position
|
|
73
|
+
*/
|
|
74
|
+
cursor?: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
75
|
+
/**
|
|
76
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
77
|
+
*
|
|
78
|
+
* Take `±n` OrganizationTypeAssignments from the position of the cursor.
|
|
79
|
+
*/
|
|
80
|
+
take?: number;
|
|
81
|
+
/**
|
|
82
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
83
|
+
*
|
|
84
|
+
* Skip the first `n` OrganizationTypeAssignments.
|
|
85
|
+
*/
|
|
86
|
+
skip?: number;
|
|
87
|
+
/**
|
|
88
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
89
|
+
*
|
|
90
|
+
* Count returned OrganizationTypeAssignments
|
|
91
|
+
**/
|
|
92
|
+
_count?: true | OrganizationTypeAssignmentCountAggregateInputType;
|
|
93
|
+
/**
|
|
94
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
95
|
+
*
|
|
96
|
+
* Select which fields to find the minimum value
|
|
97
|
+
**/
|
|
98
|
+
_min?: OrganizationTypeAssignmentMinAggregateInputType;
|
|
99
|
+
/**
|
|
100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
101
|
+
*
|
|
102
|
+
* Select which fields to find the maximum value
|
|
103
|
+
**/
|
|
104
|
+
_max?: OrganizationTypeAssignmentMaxAggregateInputType;
|
|
105
|
+
};
|
|
106
|
+
export type GetOrganizationTypeAssignmentAggregateType<T extends OrganizationTypeAssignmentAggregateArgs> = {
|
|
107
|
+
[P in keyof T & keyof AggregateOrganizationTypeAssignment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOrganizationTypeAssignment[P]> : Prisma.GetScalarType<T[P], AggregateOrganizationTypeAssignment[P]>;
|
|
108
|
+
};
|
|
109
|
+
export type OrganizationTypeAssignmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
110
|
+
where?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
111
|
+
orderBy?: Prisma.OrganizationTypeAssignmentOrderByWithAggregationInput | Prisma.OrganizationTypeAssignmentOrderByWithAggregationInput[];
|
|
112
|
+
by: Prisma.OrganizationTypeAssignmentScalarFieldEnum[] | Prisma.OrganizationTypeAssignmentScalarFieldEnum;
|
|
113
|
+
having?: Prisma.OrganizationTypeAssignmentScalarWhereWithAggregatesInput;
|
|
114
|
+
take?: number;
|
|
115
|
+
skip?: number;
|
|
116
|
+
_count?: OrganizationTypeAssignmentCountAggregateInputType | true;
|
|
117
|
+
_min?: OrganizationTypeAssignmentMinAggregateInputType;
|
|
118
|
+
_max?: OrganizationTypeAssignmentMaxAggregateInputType;
|
|
119
|
+
};
|
|
120
|
+
export type OrganizationTypeAssignmentGroupByOutputType = {
|
|
121
|
+
id: string;
|
|
122
|
+
organizationId: string;
|
|
123
|
+
typeId: string;
|
|
124
|
+
isPrimary: boolean;
|
|
125
|
+
createdAt: Date;
|
|
126
|
+
_count: OrganizationTypeAssignmentCountAggregateOutputType | null;
|
|
127
|
+
_min: OrganizationTypeAssignmentMinAggregateOutputType | null;
|
|
128
|
+
_max: OrganizationTypeAssignmentMaxAggregateOutputType | null;
|
|
129
|
+
};
|
|
130
|
+
type GetOrganizationTypeAssignmentGroupByPayload<T extends OrganizationTypeAssignmentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OrganizationTypeAssignmentGroupByOutputType, T['by']> & {
|
|
131
|
+
[P in ((keyof T) & (keyof OrganizationTypeAssignmentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OrganizationTypeAssignmentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OrganizationTypeAssignmentGroupByOutputType[P]>;
|
|
132
|
+
}>>;
|
|
133
|
+
export type OrganizationTypeAssignmentWhereInput = {
|
|
134
|
+
AND?: Prisma.OrganizationTypeAssignmentWhereInput | Prisma.OrganizationTypeAssignmentWhereInput[];
|
|
135
|
+
OR?: Prisma.OrganizationTypeAssignmentWhereInput[];
|
|
136
|
+
NOT?: Prisma.OrganizationTypeAssignmentWhereInput | Prisma.OrganizationTypeAssignmentWhereInput[];
|
|
137
|
+
id?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
138
|
+
organizationId?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
139
|
+
typeId?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
140
|
+
isPrimary?: Prisma.BoolFilter<"OrganizationTypeAssignment"> | boolean;
|
|
141
|
+
createdAt?: Prisma.DateTimeFilter<"OrganizationTypeAssignment"> | Date | string;
|
|
142
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
143
|
+
orgType?: Prisma.XOR<Prisma.OrganizationTypeScalarRelationFilter, Prisma.OrganizationTypeWhereInput>;
|
|
144
|
+
};
|
|
145
|
+
export type OrganizationTypeAssignmentOrderByWithRelationInput = {
|
|
146
|
+
id?: Prisma.SortOrder;
|
|
147
|
+
organizationId?: Prisma.SortOrder;
|
|
148
|
+
typeId?: Prisma.SortOrder;
|
|
149
|
+
isPrimary?: Prisma.SortOrder;
|
|
150
|
+
createdAt?: Prisma.SortOrder;
|
|
151
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
152
|
+
orgType?: Prisma.OrganizationTypeOrderByWithRelationInput;
|
|
153
|
+
_relevance?: Prisma.OrganizationTypeAssignmentOrderByRelevanceInput;
|
|
154
|
+
};
|
|
155
|
+
export type OrganizationTypeAssignmentWhereUniqueInput = Prisma.AtLeast<{
|
|
156
|
+
id?: string;
|
|
157
|
+
organizationId_typeId?: Prisma.OrganizationTypeAssignmentOrganizationIdTypeIdCompoundUniqueInput;
|
|
158
|
+
AND?: Prisma.OrganizationTypeAssignmentWhereInput | Prisma.OrganizationTypeAssignmentWhereInput[];
|
|
159
|
+
OR?: Prisma.OrganizationTypeAssignmentWhereInput[];
|
|
160
|
+
NOT?: Prisma.OrganizationTypeAssignmentWhereInput | Prisma.OrganizationTypeAssignmentWhereInput[];
|
|
161
|
+
organizationId?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
162
|
+
typeId?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
163
|
+
isPrimary?: Prisma.BoolFilter<"OrganizationTypeAssignment"> | boolean;
|
|
164
|
+
createdAt?: Prisma.DateTimeFilter<"OrganizationTypeAssignment"> | Date | string;
|
|
165
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
166
|
+
orgType?: Prisma.XOR<Prisma.OrganizationTypeScalarRelationFilter, Prisma.OrganizationTypeWhereInput>;
|
|
167
|
+
}, "id" | "organizationId_typeId">;
|
|
168
|
+
export type OrganizationTypeAssignmentOrderByWithAggregationInput = {
|
|
169
|
+
id?: Prisma.SortOrder;
|
|
170
|
+
organizationId?: Prisma.SortOrder;
|
|
171
|
+
typeId?: Prisma.SortOrder;
|
|
172
|
+
isPrimary?: Prisma.SortOrder;
|
|
173
|
+
createdAt?: Prisma.SortOrder;
|
|
174
|
+
_count?: Prisma.OrganizationTypeAssignmentCountOrderByAggregateInput;
|
|
175
|
+
_max?: Prisma.OrganizationTypeAssignmentMaxOrderByAggregateInput;
|
|
176
|
+
_min?: Prisma.OrganizationTypeAssignmentMinOrderByAggregateInput;
|
|
177
|
+
};
|
|
178
|
+
export type OrganizationTypeAssignmentScalarWhereWithAggregatesInput = {
|
|
179
|
+
AND?: Prisma.OrganizationTypeAssignmentScalarWhereWithAggregatesInput | Prisma.OrganizationTypeAssignmentScalarWhereWithAggregatesInput[];
|
|
180
|
+
OR?: Prisma.OrganizationTypeAssignmentScalarWhereWithAggregatesInput[];
|
|
181
|
+
NOT?: Prisma.OrganizationTypeAssignmentScalarWhereWithAggregatesInput | Prisma.OrganizationTypeAssignmentScalarWhereWithAggregatesInput[];
|
|
182
|
+
id?: Prisma.StringWithAggregatesFilter<"OrganizationTypeAssignment"> | string;
|
|
183
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"OrganizationTypeAssignment"> | string;
|
|
184
|
+
typeId?: Prisma.StringWithAggregatesFilter<"OrganizationTypeAssignment"> | string;
|
|
185
|
+
isPrimary?: Prisma.BoolWithAggregatesFilter<"OrganizationTypeAssignment"> | boolean;
|
|
186
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"OrganizationTypeAssignment"> | Date | string;
|
|
187
|
+
};
|
|
188
|
+
export type OrganizationTypeAssignmentCreateInput = {
|
|
189
|
+
id?: string;
|
|
190
|
+
isPrimary?: boolean;
|
|
191
|
+
createdAt?: Date | string;
|
|
192
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutTypesInput;
|
|
193
|
+
orgType: Prisma.OrganizationTypeCreateNestedOneWithoutOrganizationsInput;
|
|
194
|
+
};
|
|
195
|
+
export type OrganizationTypeAssignmentUncheckedCreateInput = {
|
|
196
|
+
id?: string;
|
|
197
|
+
organizationId: string;
|
|
198
|
+
typeId: string;
|
|
199
|
+
isPrimary?: boolean;
|
|
200
|
+
createdAt?: Date | string;
|
|
201
|
+
};
|
|
202
|
+
export type OrganizationTypeAssignmentUpdateInput = {
|
|
203
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
204
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
205
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
206
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutTypesNestedInput;
|
|
207
|
+
orgType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
208
|
+
};
|
|
209
|
+
export type OrganizationTypeAssignmentUncheckedUpdateInput = {
|
|
210
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
211
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
212
|
+
typeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
213
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
214
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
215
|
+
};
|
|
216
|
+
export type OrganizationTypeAssignmentCreateManyInput = {
|
|
217
|
+
id?: string;
|
|
218
|
+
organizationId: string;
|
|
219
|
+
typeId: string;
|
|
220
|
+
isPrimary?: boolean;
|
|
221
|
+
createdAt?: Date | string;
|
|
222
|
+
};
|
|
223
|
+
export type OrganizationTypeAssignmentUpdateManyMutationInput = {
|
|
224
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
225
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
226
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
227
|
+
};
|
|
228
|
+
export type OrganizationTypeAssignmentUncheckedUpdateManyInput = {
|
|
229
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
230
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
231
|
+
typeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
232
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
233
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
234
|
+
};
|
|
235
|
+
export type OrganizationTypeAssignmentListRelationFilter = {
|
|
236
|
+
every?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
237
|
+
some?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
238
|
+
none?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
239
|
+
};
|
|
240
|
+
export type OrganizationTypeAssignmentOrderByRelationAggregateInput = {
|
|
241
|
+
_count?: Prisma.SortOrder;
|
|
242
|
+
};
|
|
243
|
+
export type OrganizationTypeAssignmentOrderByRelevanceInput = {
|
|
244
|
+
fields: Prisma.OrganizationTypeAssignmentOrderByRelevanceFieldEnum | Prisma.OrganizationTypeAssignmentOrderByRelevanceFieldEnum[];
|
|
245
|
+
sort: Prisma.SortOrder;
|
|
246
|
+
search: string;
|
|
247
|
+
};
|
|
248
|
+
export type OrganizationTypeAssignmentOrganizationIdTypeIdCompoundUniqueInput = {
|
|
249
|
+
organizationId: string;
|
|
250
|
+
typeId: string;
|
|
251
|
+
};
|
|
252
|
+
export type OrganizationTypeAssignmentCountOrderByAggregateInput = {
|
|
253
|
+
id?: Prisma.SortOrder;
|
|
254
|
+
organizationId?: Prisma.SortOrder;
|
|
255
|
+
typeId?: Prisma.SortOrder;
|
|
256
|
+
isPrimary?: Prisma.SortOrder;
|
|
257
|
+
createdAt?: Prisma.SortOrder;
|
|
258
|
+
};
|
|
259
|
+
export type OrganizationTypeAssignmentMaxOrderByAggregateInput = {
|
|
260
|
+
id?: Prisma.SortOrder;
|
|
261
|
+
organizationId?: Prisma.SortOrder;
|
|
262
|
+
typeId?: Prisma.SortOrder;
|
|
263
|
+
isPrimary?: Prisma.SortOrder;
|
|
264
|
+
createdAt?: Prisma.SortOrder;
|
|
265
|
+
};
|
|
266
|
+
export type OrganizationTypeAssignmentMinOrderByAggregateInput = {
|
|
267
|
+
id?: Prisma.SortOrder;
|
|
268
|
+
organizationId?: Prisma.SortOrder;
|
|
269
|
+
typeId?: Prisma.SortOrder;
|
|
270
|
+
isPrimary?: Prisma.SortOrder;
|
|
271
|
+
createdAt?: Prisma.SortOrder;
|
|
272
|
+
};
|
|
273
|
+
export type OrganizationTypeAssignmentCreateNestedManyWithoutOrgTypeInput = {
|
|
274
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput[];
|
|
275
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput[];
|
|
276
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrgTypeInputEnvelope;
|
|
277
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
278
|
+
};
|
|
279
|
+
export type OrganizationTypeAssignmentUncheckedCreateNestedManyWithoutOrgTypeInput = {
|
|
280
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput[];
|
|
281
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput[];
|
|
282
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrgTypeInputEnvelope;
|
|
283
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
284
|
+
};
|
|
285
|
+
export type OrganizationTypeAssignmentUpdateManyWithoutOrgTypeNestedInput = {
|
|
286
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput[];
|
|
287
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput[];
|
|
288
|
+
upsert?: Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrgTypeInput[];
|
|
289
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrgTypeInputEnvelope;
|
|
290
|
+
set?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
291
|
+
disconnect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
292
|
+
delete?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
293
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
294
|
+
update?: Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrgTypeInput[];
|
|
295
|
+
updateMany?: Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrgTypeInput[];
|
|
296
|
+
deleteMany?: Prisma.OrganizationTypeAssignmentScalarWhereInput | Prisma.OrganizationTypeAssignmentScalarWhereInput[];
|
|
297
|
+
};
|
|
298
|
+
export type OrganizationTypeAssignmentUncheckedUpdateManyWithoutOrgTypeNestedInput = {
|
|
299
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput[];
|
|
300
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput[];
|
|
301
|
+
upsert?: Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrgTypeInput[];
|
|
302
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrgTypeInputEnvelope;
|
|
303
|
+
set?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
304
|
+
disconnect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
305
|
+
delete?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
306
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
307
|
+
update?: Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrgTypeInput[];
|
|
308
|
+
updateMany?: Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrgTypeInput | Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrgTypeInput[];
|
|
309
|
+
deleteMany?: Prisma.OrganizationTypeAssignmentScalarWhereInput | Prisma.OrganizationTypeAssignmentScalarWhereInput[];
|
|
310
|
+
};
|
|
311
|
+
export type OrganizationTypeAssignmentCreateNestedManyWithoutOrganizationInput = {
|
|
312
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput[];
|
|
313
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput[];
|
|
314
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrganizationInputEnvelope;
|
|
315
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
316
|
+
};
|
|
317
|
+
export type OrganizationTypeAssignmentUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
318
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput[];
|
|
319
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput[];
|
|
320
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrganizationInputEnvelope;
|
|
321
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
322
|
+
};
|
|
323
|
+
export type OrganizationTypeAssignmentUpdateManyWithoutOrganizationNestedInput = {
|
|
324
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput[];
|
|
325
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput[];
|
|
326
|
+
upsert?: Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
327
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrganizationInputEnvelope;
|
|
328
|
+
set?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
329
|
+
disconnect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
330
|
+
delete?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
331
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
332
|
+
update?: Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
333
|
+
updateMany?: Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrganizationInput[];
|
|
334
|
+
deleteMany?: Prisma.OrganizationTypeAssignmentScalarWhereInput | Prisma.OrganizationTypeAssignmentScalarWhereInput[];
|
|
335
|
+
};
|
|
336
|
+
export type OrganizationTypeAssignmentUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
337
|
+
create?: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput> | Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput[] | Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput[];
|
|
338
|
+
connectOrCreate?: Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput[];
|
|
339
|
+
upsert?: Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
340
|
+
createMany?: Prisma.OrganizationTypeAssignmentCreateManyOrganizationInputEnvelope;
|
|
341
|
+
set?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
342
|
+
disconnect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
343
|
+
delete?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
344
|
+
connect?: Prisma.OrganizationTypeAssignmentWhereUniqueInput | Prisma.OrganizationTypeAssignmentWhereUniqueInput[];
|
|
345
|
+
update?: Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
346
|
+
updateMany?: Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrganizationInput | Prisma.OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrganizationInput[];
|
|
347
|
+
deleteMany?: Prisma.OrganizationTypeAssignmentScalarWhereInput | Prisma.OrganizationTypeAssignmentScalarWhereInput[];
|
|
348
|
+
};
|
|
349
|
+
export type OrganizationTypeAssignmentCreateWithoutOrgTypeInput = {
|
|
350
|
+
id?: string;
|
|
351
|
+
isPrimary?: boolean;
|
|
352
|
+
createdAt?: Date | string;
|
|
353
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutTypesInput;
|
|
354
|
+
};
|
|
355
|
+
export type OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput = {
|
|
356
|
+
id?: string;
|
|
357
|
+
organizationId: string;
|
|
358
|
+
isPrimary?: boolean;
|
|
359
|
+
createdAt?: Date | string;
|
|
360
|
+
};
|
|
361
|
+
export type OrganizationTypeAssignmentCreateOrConnectWithoutOrgTypeInput = {
|
|
362
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
363
|
+
create: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput>;
|
|
364
|
+
};
|
|
365
|
+
export type OrganizationTypeAssignmentCreateManyOrgTypeInputEnvelope = {
|
|
366
|
+
data: Prisma.OrganizationTypeAssignmentCreateManyOrgTypeInput | Prisma.OrganizationTypeAssignmentCreateManyOrgTypeInput[];
|
|
367
|
+
skipDuplicates?: boolean;
|
|
368
|
+
};
|
|
369
|
+
export type OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrgTypeInput = {
|
|
370
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
371
|
+
update: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateWithoutOrgTypeInput>;
|
|
372
|
+
create: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrgTypeInput>;
|
|
373
|
+
};
|
|
374
|
+
export type OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrgTypeInput = {
|
|
375
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
376
|
+
data: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateWithoutOrgTypeInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateWithoutOrgTypeInput>;
|
|
377
|
+
};
|
|
378
|
+
export type OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrgTypeInput = {
|
|
379
|
+
where: Prisma.OrganizationTypeAssignmentScalarWhereInput;
|
|
380
|
+
data: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateManyMutationInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateManyWithoutOrgTypeInput>;
|
|
381
|
+
};
|
|
382
|
+
export type OrganizationTypeAssignmentScalarWhereInput = {
|
|
383
|
+
AND?: Prisma.OrganizationTypeAssignmentScalarWhereInput | Prisma.OrganizationTypeAssignmentScalarWhereInput[];
|
|
384
|
+
OR?: Prisma.OrganizationTypeAssignmentScalarWhereInput[];
|
|
385
|
+
NOT?: Prisma.OrganizationTypeAssignmentScalarWhereInput | Prisma.OrganizationTypeAssignmentScalarWhereInput[];
|
|
386
|
+
id?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
387
|
+
organizationId?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
388
|
+
typeId?: Prisma.StringFilter<"OrganizationTypeAssignment"> | string;
|
|
389
|
+
isPrimary?: Prisma.BoolFilter<"OrganizationTypeAssignment"> | boolean;
|
|
390
|
+
createdAt?: Prisma.DateTimeFilter<"OrganizationTypeAssignment"> | Date | string;
|
|
391
|
+
};
|
|
392
|
+
export type OrganizationTypeAssignmentCreateWithoutOrganizationInput = {
|
|
393
|
+
id?: string;
|
|
394
|
+
isPrimary?: boolean;
|
|
395
|
+
createdAt?: Date | string;
|
|
396
|
+
orgType: Prisma.OrganizationTypeCreateNestedOneWithoutOrganizationsInput;
|
|
397
|
+
};
|
|
398
|
+
export type OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput = {
|
|
399
|
+
id?: string;
|
|
400
|
+
typeId: string;
|
|
401
|
+
isPrimary?: boolean;
|
|
402
|
+
createdAt?: Date | string;
|
|
403
|
+
};
|
|
404
|
+
export type OrganizationTypeAssignmentCreateOrConnectWithoutOrganizationInput = {
|
|
405
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
406
|
+
create: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput>;
|
|
407
|
+
};
|
|
408
|
+
export type OrganizationTypeAssignmentCreateManyOrganizationInputEnvelope = {
|
|
409
|
+
data: Prisma.OrganizationTypeAssignmentCreateManyOrganizationInput | Prisma.OrganizationTypeAssignmentCreateManyOrganizationInput[];
|
|
410
|
+
skipDuplicates?: boolean;
|
|
411
|
+
};
|
|
412
|
+
export type OrganizationTypeAssignmentUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
413
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
414
|
+
update: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateWithoutOrganizationInput>;
|
|
415
|
+
create: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedCreateWithoutOrganizationInput>;
|
|
416
|
+
};
|
|
417
|
+
export type OrganizationTypeAssignmentUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
418
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
419
|
+
data: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateWithoutOrganizationInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateWithoutOrganizationInput>;
|
|
420
|
+
};
|
|
421
|
+
export type OrganizationTypeAssignmentUpdateManyWithWhereWithoutOrganizationInput = {
|
|
422
|
+
where: Prisma.OrganizationTypeAssignmentScalarWhereInput;
|
|
423
|
+
data: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateManyMutationInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateManyWithoutOrganizationInput>;
|
|
424
|
+
};
|
|
425
|
+
export type OrganizationTypeAssignmentCreateManyOrgTypeInput = {
|
|
426
|
+
id?: string;
|
|
427
|
+
organizationId: string;
|
|
428
|
+
isPrimary?: boolean;
|
|
429
|
+
createdAt?: Date | string;
|
|
430
|
+
};
|
|
431
|
+
export type OrganizationTypeAssignmentUpdateWithoutOrgTypeInput = {
|
|
432
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
434
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
435
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutTypesNestedInput;
|
|
436
|
+
};
|
|
437
|
+
export type OrganizationTypeAssignmentUncheckedUpdateWithoutOrgTypeInput = {
|
|
438
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
439
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
440
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
441
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
442
|
+
};
|
|
443
|
+
export type OrganizationTypeAssignmentUncheckedUpdateManyWithoutOrgTypeInput = {
|
|
444
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
445
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
446
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
447
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
448
|
+
};
|
|
449
|
+
export type OrganizationTypeAssignmentCreateManyOrganizationInput = {
|
|
450
|
+
id?: string;
|
|
451
|
+
typeId: string;
|
|
452
|
+
isPrimary?: boolean;
|
|
453
|
+
createdAt?: Date | string;
|
|
454
|
+
};
|
|
455
|
+
export type OrganizationTypeAssignmentUpdateWithoutOrganizationInput = {
|
|
456
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
457
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
458
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
|
+
orgType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
460
|
+
};
|
|
461
|
+
export type OrganizationTypeAssignmentUncheckedUpdateWithoutOrganizationInput = {
|
|
462
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
463
|
+
typeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
464
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
465
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
466
|
+
};
|
|
467
|
+
export type OrganizationTypeAssignmentUncheckedUpdateManyWithoutOrganizationInput = {
|
|
468
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
469
|
+
typeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
470
|
+
isPrimary?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
471
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
472
|
+
};
|
|
473
|
+
export type OrganizationTypeAssignmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
474
|
+
id?: boolean;
|
|
475
|
+
organizationId?: boolean;
|
|
476
|
+
typeId?: boolean;
|
|
477
|
+
isPrimary?: boolean;
|
|
478
|
+
createdAt?: boolean;
|
|
479
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
480
|
+
orgType?: boolean | Prisma.OrganizationTypeDefaultArgs<ExtArgs>;
|
|
481
|
+
}, ExtArgs["result"]["organizationTypeAssignment"]>;
|
|
482
|
+
export type OrganizationTypeAssignmentSelectScalar = {
|
|
483
|
+
id?: boolean;
|
|
484
|
+
organizationId?: boolean;
|
|
485
|
+
typeId?: boolean;
|
|
486
|
+
isPrimary?: boolean;
|
|
487
|
+
createdAt?: boolean;
|
|
488
|
+
};
|
|
489
|
+
export type OrganizationTypeAssignmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "organizationId" | "typeId" | "isPrimary" | "createdAt", ExtArgs["result"]["organizationTypeAssignment"]>;
|
|
490
|
+
export type OrganizationTypeAssignmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
491
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
492
|
+
orgType?: boolean | Prisma.OrganizationTypeDefaultArgs<ExtArgs>;
|
|
493
|
+
};
|
|
494
|
+
export type $OrganizationTypeAssignmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
495
|
+
name: "OrganizationTypeAssignment";
|
|
496
|
+
objects: {
|
|
497
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
498
|
+
orgType: Prisma.$OrganizationTypePayload<ExtArgs>;
|
|
499
|
+
};
|
|
500
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
501
|
+
id: string;
|
|
502
|
+
organizationId: string;
|
|
503
|
+
typeId: string;
|
|
504
|
+
isPrimary: boolean;
|
|
505
|
+
createdAt: Date;
|
|
506
|
+
}, ExtArgs["result"]["organizationTypeAssignment"]>;
|
|
507
|
+
composites: {};
|
|
508
|
+
};
|
|
509
|
+
export type OrganizationTypeAssignmentGetPayload<S extends boolean | null | undefined | OrganizationTypeAssignmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload, S>;
|
|
510
|
+
export type OrganizationTypeAssignmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OrganizationTypeAssignmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
511
|
+
select?: OrganizationTypeAssignmentCountAggregateInputType | true;
|
|
512
|
+
};
|
|
513
|
+
export interface OrganizationTypeAssignmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
514
|
+
[K: symbol]: {
|
|
515
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OrganizationTypeAssignment'];
|
|
516
|
+
meta: {
|
|
517
|
+
name: 'OrganizationTypeAssignment';
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
/**
|
|
521
|
+
* Find zero or one OrganizationTypeAssignment that matches the filter.
|
|
522
|
+
* @param {OrganizationTypeAssignmentFindUniqueArgs} args - Arguments to find a OrganizationTypeAssignment
|
|
523
|
+
* @example
|
|
524
|
+
* // Get one OrganizationTypeAssignment
|
|
525
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.findUnique({
|
|
526
|
+
* where: {
|
|
527
|
+
* // ... provide filter here
|
|
528
|
+
* }
|
|
529
|
+
* })
|
|
530
|
+
*/
|
|
531
|
+
findUnique<T extends OrganizationTypeAssignmentFindUniqueArgs>(args: Prisma.SelectSubset<T, OrganizationTypeAssignmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
532
|
+
/**
|
|
533
|
+
* Find one OrganizationTypeAssignment that matches the filter or throw an error with `error.code='P2025'`
|
|
534
|
+
* if no matches were found.
|
|
535
|
+
* @param {OrganizationTypeAssignmentFindUniqueOrThrowArgs} args - Arguments to find a OrganizationTypeAssignment
|
|
536
|
+
* @example
|
|
537
|
+
* // Get one OrganizationTypeAssignment
|
|
538
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.findUniqueOrThrow({
|
|
539
|
+
* where: {
|
|
540
|
+
* // ... provide filter here
|
|
541
|
+
* }
|
|
542
|
+
* })
|
|
543
|
+
*/
|
|
544
|
+
findUniqueOrThrow<T extends OrganizationTypeAssignmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OrganizationTypeAssignmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
545
|
+
/**
|
|
546
|
+
* Find the first OrganizationTypeAssignment that matches the filter.
|
|
547
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
548
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
549
|
+
* @param {OrganizationTypeAssignmentFindFirstArgs} args - Arguments to find a OrganizationTypeAssignment
|
|
550
|
+
* @example
|
|
551
|
+
* // Get one OrganizationTypeAssignment
|
|
552
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.findFirst({
|
|
553
|
+
* where: {
|
|
554
|
+
* // ... provide filter here
|
|
555
|
+
* }
|
|
556
|
+
* })
|
|
557
|
+
*/
|
|
558
|
+
findFirst<T extends OrganizationTypeAssignmentFindFirstArgs>(args?: Prisma.SelectSubset<T, OrganizationTypeAssignmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
559
|
+
/**
|
|
560
|
+
* Find the first OrganizationTypeAssignment that matches the filter or
|
|
561
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
562
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
563
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
564
|
+
* @param {OrganizationTypeAssignmentFindFirstOrThrowArgs} args - Arguments to find a OrganizationTypeAssignment
|
|
565
|
+
* @example
|
|
566
|
+
* // Get one OrganizationTypeAssignment
|
|
567
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.findFirstOrThrow({
|
|
568
|
+
* where: {
|
|
569
|
+
* // ... provide filter here
|
|
570
|
+
* }
|
|
571
|
+
* })
|
|
572
|
+
*/
|
|
573
|
+
findFirstOrThrow<T extends OrganizationTypeAssignmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OrganizationTypeAssignmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
574
|
+
/**
|
|
575
|
+
* Find zero or more OrganizationTypeAssignments that matches the filter.
|
|
576
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
577
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
578
|
+
* @param {OrganizationTypeAssignmentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
579
|
+
* @example
|
|
580
|
+
* // Get all OrganizationTypeAssignments
|
|
581
|
+
* const organizationTypeAssignments = await prisma.organizationTypeAssignment.findMany()
|
|
582
|
+
*
|
|
583
|
+
* // Get first 10 OrganizationTypeAssignments
|
|
584
|
+
* const organizationTypeAssignments = await prisma.organizationTypeAssignment.findMany({ take: 10 })
|
|
585
|
+
*
|
|
586
|
+
* // Only select the `id`
|
|
587
|
+
* const organizationTypeAssignmentWithIdOnly = await prisma.organizationTypeAssignment.findMany({ select: { id: true } })
|
|
588
|
+
*
|
|
589
|
+
*/
|
|
590
|
+
findMany<T extends OrganizationTypeAssignmentFindManyArgs>(args?: Prisma.SelectSubset<T, OrganizationTypeAssignmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
591
|
+
/**
|
|
592
|
+
* Create a OrganizationTypeAssignment.
|
|
593
|
+
* @param {OrganizationTypeAssignmentCreateArgs} args - Arguments to create a OrganizationTypeAssignment.
|
|
594
|
+
* @example
|
|
595
|
+
* // Create one OrganizationTypeAssignment
|
|
596
|
+
* const OrganizationTypeAssignment = await prisma.organizationTypeAssignment.create({
|
|
597
|
+
* data: {
|
|
598
|
+
* // ... data to create a OrganizationTypeAssignment
|
|
599
|
+
* }
|
|
600
|
+
* })
|
|
601
|
+
*
|
|
602
|
+
*/
|
|
603
|
+
create<T extends OrganizationTypeAssignmentCreateArgs>(args: Prisma.SelectSubset<T, OrganizationTypeAssignmentCreateArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
604
|
+
/**
|
|
605
|
+
* Create many OrganizationTypeAssignments.
|
|
606
|
+
* @param {OrganizationTypeAssignmentCreateManyArgs} args - Arguments to create many OrganizationTypeAssignments.
|
|
607
|
+
* @example
|
|
608
|
+
* // Create many OrganizationTypeAssignments
|
|
609
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.createMany({
|
|
610
|
+
* data: [
|
|
611
|
+
* // ... provide data here
|
|
612
|
+
* ]
|
|
613
|
+
* })
|
|
614
|
+
*
|
|
615
|
+
*/
|
|
616
|
+
createMany<T extends OrganizationTypeAssignmentCreateManyArgs>(args?: Prisma.SelectSubset<T, OrganizationTypeAssignmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
617
|
+
/**
|
|
618
|
+
* Delete a OrganizationTypeAssignment.
|
|
619
|
+
* @param {OrganizationTypeAssignmentDeleteArgs} args - Arguments to delete one OrganizationTypeAssignment.
|
|
620
|
+
* @example
|
|
621
|
+
* // Delete one OrganizationTypeAssignment
|
|
622
|
+
* const OrganizationTypeAssignment = await prisma.organizationTypeAssignment.delete({
|
|
623
|
+
* where: {
|
|
624
|
+
* // ... filter to delete one OrganizationTypeAssignment
|
|
625
|
+
* }
|
|
626
|
+
* })
|
|
627
|
+
*
|
|
628
|
+
*/
|
|
629
|
+
delete<T extends OrganizationTypeAssignmentDeleteArgs>(args: Prisma.SelectSubset<T, OrganizationTypeAssignmentDeleteArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
630
|
+
/**
|
|
631
|
+
* Update one OrganizationTypeAssignment.
|
|
632
|
+
* @param {OrganizationTypeAssignmentUpdateArgs} args - Arguments to update one OrganizationTypeAssignment.
|
|
633
|
+
* @example
|
|
634
|
+
* // Update one OrganizationTypeAssignment
|
|
635
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.update({
|
|
636
|
+
* where: {
|
|
637
|
+
* // ... provide filter here
|
|
638
|
+
* },
|
|
639
|
+
* data: {
|
|
640
|
+
* // ... provide data here
|
|
641
|
+
* }
|
|
642
|
+
* })
|
|
643
|
+
*
|
|
644
|
+
*/
|
|
645
|
+
update<T extends OrganizationTypeAssignmentUpdateArgs>(args: Prisma.SelectSubset<T, OrganizationTypeAssignmentUpdateArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
646
|
+
/**
|
|
647
|
+
* Delete zero or more OrganizationTypeAssignments.
|
|
648
|
+
* @param {OrganizationTypeAssignmentDeleteManyArgs} args - Arguments to filter OrganizationTypeAssignments to delete.
|
|
649
|
+
* @example
|
|
650
|
+
* // Delete a few OrganizationTypeAssignments
|
|
651
|
+
* const { count } = await prisma.organizationTypeAssignment.deleteMany({
|
|
652
|
+
* where: {
|
|
653
|
+
* // ... provide filter here
|
|
654
|
+
* }
|
|
655
|
+
* })
|
|
656
|
+
*
|
|
657
|
+
*/
|
|
658
|
+
deleteMany<T extends OrganizationTypeAssignmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, OrganizationTypeAssignmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
659
|
+
/**
|
|
660
|
+
* Update zero or more OrganizationTypeAssignments.
|
|
661
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
662
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
663
|
+
* @param {OrganizationTypeAssignmentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
664
|
+
* @example
|
|
665
|
+
* // Update many OrganizationTypeAssignments
|
|
666
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.updateMany({
|
|
667
|
+
* where: {
|
|
668
|
+
* // ... provide filter here
|
|
669
|
+
* },
|
|
670
|
+
* data: {
|
|
671
|
+
* // ... provide data here
|
|
672
|
+
* }
|
|
673
|
+
* })
|
|
674
|
+
*
|
|
675
|
+
*/
|
|
676
|
+
updateMany<T extends OrganizationTypeAssignmentUpdateManyArgs>(args: Prisma.SelectSubset<T, OrganizationTypeAssignmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
677
|
+
/**
|
|
678
|
+
* Create or update one OrganizationTypeAssignment.
|
|
679
|
+
* @param {OrganizationTypeAssignmentUpsertArgs} args - Arguments to update or create a OrganizationTypeAssignment.
|
|
680
|
+
* @example
|
|
681
|
+
* // Update or create a OrganizationTypeAssignment
|
|
682
|
+
* const organizationTypeAssignment = await prisma.organizationTypeAssignment.upsert({
|
|
683
|
+
* create: {
|
|
684
|
+
* // ... data to create a OrganizationTypeAssignment
|
|
685
|
+
* },
|
|
686
|
+
* update: {
|
|
687
|
+
* // ... in case it already exists, update
|
|
688
|
+
* },
|
|
689
|
+
* where: {
|
|
690
|
+
* // ... the filter for the OrganizationTypeAssignment we want to update
|
|
691
|
+
* }
|
|
692
|
+
* })
|
|
693
|
+
*/
|
|
694
|
+
upsert<T extends OrganizationTypeAssignmentUpsertArgs>(args: Prisma.SelectSubset<T, OrganizationTypeAssignmentUpsertArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeAssignmentClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
695
|
+
/**
|
|
696
|
+
* Count the number of OrganizationTypeAssignments.
|
|
697
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
698
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
699
|
+
* @param {OrganizationTypeAssignmentCountArgs} args - Arguments to filter OrganizationTypeAssignments to count.
|
|
700
|
+
* @example
|
|
701
|
+
* // Count the number of OrganizationTypeAssignments
|
|
702
|
+
* const count = await prisma.organizationTypeAssignment.count({
|
|
703
|
+
* where: {
|
|
704
|
+
* // ... the filter for the OrganizationTypeAssignments we want to count
|
|
705
|
+
* }
|
|
706
|
+
* })
|
|
707
|
+
**/
|
|
708
|
+
count<T extends OrganizationTypeAssignmentCountArgs>(args?: Prisma.Subset<T, OrganizationTypeAssignmentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OrganizationTypeAssignmentCountAggregateOutputType> : number>;
|
|
709
|
+
/**
|
|
710
|
+
* Allows you to perform aggregations operations on a OrganizationTypeAssignment.
|
|
711
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
712
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
713
|
+
* @param {OrganizationTypeAssignmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
714
|
+
* @example
|
|
715
|
+
* // Ordered by age ascending
|
|
716
|
+
* // Where email contains prisma.io
|
|
717
|
+
* // Limited to the 10 users
|
|
718
|
+
* const aggregations = await prisma.user.aggregate({
|
|
719
|
+
* _avg: {
|
|
720
|
+
* age: true,
|
|
721
|
+
* },
|
|
722
|
+
* where: {
|
|
723
|
+
* email: {
|
|
724
|
+
* contains: "prisma.io",
|
|
725
|
+
* },
|
|
726
|
+
* },
|
|
727
|
+
* orderBy: {
|
|
728
|
+
* age: "asc",
|
|
729
|
+
* },
|
|
730
|
+
* take: 10,
|
|
731
|
+
* })
|
|
732
|
+
**/
|
|
733
|
+
aggregate<T extends OrganizationTypeAssignmentAggregateArgs>(args: Prisma.Subset<T, OrganizationTypeAssignmentAggregateArgs>): Prisma.PrismaPromise<GetOrganizationTypeAssignmentAggregateType<T>>;
|
|
734
|
+
/**
|
|
735
|
+
* Group by OrganizationTypeAssignment.
|
|
736
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
737
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
738
|
+
* @param {OrganizationTypeAssignmentGroupByArgs} args - Group by arguments.
|
|
739
|
+
* @example
|
|
740
|
+
* // Group by city, order by createdAt, get count
|
|
741
|
+
* const result = await prisma.user.groupBy({
|
|
742
|
+
* by: ['city', 'createdAt'],
|
|
743
|
+
* orderBy: {
|
|
744
|
+
* createdAt: true
|
|
745
|
+
* },
|
|
746
|
+
* _count: {
|
|
747
|
+
* _all: true
|
|
748
|
+
* },
|
|
749
|
+
* })
|
|
750
|
+
*
|
|
751
|
+
**/
|
|
752
|
+
groupBy<T extends OrganizationTypeAssignmentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
753
|
+
orderBy: OrganizationTypeAssignmentGroupByArgs['orderBy'];
|
|
754
|
+
} : {
|
|
755
|
+
orderBy?: OrganizationTypeAssignmentGroupByArgs['orderBy'];
|
|
756
|
+
}, 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 ? {
|
|
757
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
758
|
+
Error,
|
|
759
|
+
'Field ',
|
|
760
|
+
P,
|
|
761
|
+
` in "having" needs to be provided in "by"`
|
|
762
|
+
];
|
|
763
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
764
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
765
|
+
}[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 ? {} : {
|
|
766
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
767
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
768
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
769
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OrganizationTypeAssignmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationTypeAssignmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
770
|
+
/**
|
|
771
|
+
* Fields of the OrganizationTypeAssignment model
|
|
772
|
+
*/
|
|
773
|
+
readonly fields: OrganizationTypeAssignmentFieldRefs;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* The delegate class that acts as a "Promise-like" for OrganizationTypeAssignment.
|
|
777
|
+
* Why is this prefixed with `Prisma__`?
|
|
778
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
779
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
780
|
+
*/
|
|
781
|
+
export interface Prisma__OrganizationTypeAssignmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
782
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
783
|
+
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
784
|
+
orgType<T extends Prisma.OrganizationTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
785
|
+
/**
|
|
786
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
787
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
788
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
789
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
790
|
+
*/
|
|
791
|
+
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>;
|
|
792
|
+
/**
|
|
793
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
794
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
795
|
+
* @returns A Promise for the completion of the callback.
|
|
796
|
+
*/
|
|
797
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
798
|
+
/**
|
|
799
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
800
|
+
* resolved value cannot be modified from the callback.
|
|
801
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
802
|
+
* @returns A Promise for the completion of the callback.
|
|
803
|
+
*/
|
|
804
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Fields of the OrganizationTypeAssignment model
|
|
808
|
+
*/
|
|
809
|
+
export interface OrganizationTypeAssignmentFieldRefs {
|
|
810
|
+
readonly id: Prisma.FieldRef<"OrganizationTypeAssignment", 'String'>;
|
|
811
|
+
readonly organizationId: Prisma.FieldRef<"OrganizationTypeAssignment", 'String'>;
|
|
812
|
+
readonly typeId: Prisma.FieldRef<"OrganizationTypeAssignment", 'String'>;
|
|
813
|
+
readonly isPrimary: Prisma.FieldRef<"OrganizationTypeAssignment", 'Boolean'>;
|
|
814
|
+
readonly createdAt: Prisma.FieldRef<"OrganizationTypeAssignment", 'DateTime'>;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* OrganizationTypeAssignment findUnique
|
|
818
|
+
*/
|
|
819
|
+
export type OrganizationTypeAssignmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
820
|
+
/**
|
|
821
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
822
|
+
*/
|
|
823
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
824
|
+
/**
|
|
825
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
826
|
+
*/
|
|
827
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
828
|
+
/**
|
|
829
|
+
* Choose, which related nodes to fetch as well
|
|
830
|
+
*/
|
|
831
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
832
|
+
/**
|
|
833
|
+
* Filter, which OrganizationTypeAssignment to fetch.
|
|
834
|
+
*/
|
|
835
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* OrganizationTypeAssignment findUniqueOrThrow
|
|
839
|
+
*/
|
|
840
|
+
export type OrganizationTypeAssignmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
841
|
+
/**
|
|
842
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
843
|
+
*/
|
|
844
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
845
|
+
/**
|
|
846
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
847
|
+
*/
|
|
848
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
849
|
+
/**
|
|
850
|
+
* Choose, which related nodes to fetch as well
|
|
851
|
+
*/
|
|
852
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
853
|
+
/**
|
|
854
|
+
* Filter, which OrganizationTypeAssignment to fetch.
|
|
855
|
+
*/
|
|
856
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
857
|
+
};
|
|
858
|
+
/**
|
|
859
|
+
* OrganizationTypeAssignment findFirst
|
|
860
|
+
*/
|
|
861
|
+
export type OrganizationTypeAssignmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
862
|
+
/**
|
|
863
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
864
|
+
*/
|
|
865
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
866
|
+
/**
|
|
867
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
868
|
+
*/
|
|
869
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
870
|
+
/**
|
|
871
|
+
* Choose, which related nodes to fetch as well
|
|
872
|
+
*/
|
|
873
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
874
|
+
/**
|
|
875
|
+
* Filter, which OrganizationTypeAssignment to fetch.
|
|
876
|
+
*/
|
|
877
|
+
where?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
878
|
+
/**
|
|
879
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
880
|
+
*
|
|
881
|
+
* Determine the order of OrganizationTypeAssignments to fetch.
|
|
882
|
+
*/
|
|
883
|
+
orderBy?: Prisma.OrganizationTypeAssignmentOrderByWithRelationInput | Prisma.OrganizationTypeAssignmentOrderByWithRelationInput[];
|
|
884
|
+
/**
|
|
885
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
886
|
+
*
|
|
887
|
+
* Sets the position for searching for OrganizationTypeAssignments.
|
|
888
|
+
*/
|
|
889
|
+
cursor?: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
890
|
+
/**
|
|
891
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
892
|
+
*
|
|
893
|
+
* Take `±n` OrganizationTypeAssignments from the position of the cursor.
|
|
894
|
+
*/
|
|
895
|
+
take?: number;
|
|
896
|
+
/**
|
|
897
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
898
|
+
*
|
|
899
|
+
* Skip the first `n` OrganizationTypeAssignments.
|
|
900
|
+
*/
|
|
901
|
+
skip?: number;
|
|
902
|
+
/**
|
|
903
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
904
|
+
*
|
|
905
|
+
* Filter by unique combinations of OrganizationTypeAssignments.
|
|
906
|
+
*/
|
|
907
|
+
distinct?: Prisma.OrganizationTypeAssignmentScalarFieldEnum | Prisma.OrganizationTypeAssignmentScalarFieldEnum[];
|
|
908
|
+
};
|
|
909
|
+
/**
|
|
910
|
+
* OrganizationTypeAssignment findFirstOrThrow
|
|
911
|
+
*/
|
|
912
|
+
export type OrganizationTypeAssignmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
913
|
+
/**
|
|
914
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
915
|
+
*/
|
|
916
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
917
|
+
/**
|
|
918
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
919
|
+
*/
|
|
920
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
921
|
+
/**
|
|
922
|
+
* Choose, which related nodes to fetch as well
|
|
923
|
+
*/
|
|
924
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
925
|
+
/**
|
|
926
|
+
* Filter, which OrganizationTypeAssignment to fetch.
|
|
927
|
+
*/
|
|
928
|
+
where?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
929
|
+
/**
|
|
930
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
931
|
+
*
|
|
932
|
+
* Determine the order of OrganizationTypeAssignments to fetch.
|
|
933
|
+
*/
|
|
934
|
+
orderBy?: Prisma.OrganizationTypeAssignmentOrderByWithRelationInput | Prisma.OrganizationTypeAssignmentOrderByWithRelationInput[];
|
|
935
|
+
/**
|
|
936
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
937
|
+
*
|
|
938
|
+
* Sets the position for searching for OrganizationTypeAssignments.
|
|
939
|
+
*/
|
|
940
|
+
cursor?: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
941
|
+
/**
|
|
942
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
943
|
+
*
|
|
944
|
+
* Take `±n` OrganizationTypeAssignments from the position of the cursor.
|
|
945
|
+
*/
|
|
946
|
+
take?: number;
|
|
947
|
+
/**
|
|
948
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
949
|
+
*
|
|
950
|
+
* Skip the first `n` OrganizationTypeAssignments.
|
|
951
|
+
*/
|
|
952
|
+
skip?: number;
|
|
953
|
+
/**
|
|
954
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
955
|
+
*
|
|
956
|
+
* Filter by unique combinations of OrganizationTypeAssignments.
|
|
957
|
+
*/
|
|
958
|
+
distinct?: Prisma.OrganizationTypeAssignmentScalarFieldEnum | Prisma.OrganizationTypeAssignmentScalarFieldEnum[];
|
|
959
|
+
};
|
|
960
|
+
/**
|
|
961
|
+
* OrganizationTypeAssignment findMany
|
|
962
|
+
*/
|
|
963
|
+
export type OrganizationTypeAssignmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
964
|
+
/**
|
|
965
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
966
|
+
*/
|
|
967
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
968
|
+
/**
|
|
969
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
970
|
+
*/
|
|
971
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
972
|
+
/**
|
|
973
|
+
* Choose, which related nodes to fetch as well
|
|
974
|
+
*/
|
|
975
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
976
|
+
/**
|
|
977
|
+
* Filter, which OrganizationTypeAssignments to fetch.
|
|
978
|
+
*/
|
|
979
|
+
where?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
980
|
+
/**
|
|
981
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
982
|
+
*
|
|
983
|
+
* Determine the order of OrganizationTypeAssignments to fetch.
|
|
984
|
+
*/
|
|
985
|
+
orderBy?: Prisma.OrganizationTypeAssignmentOrderByWithRelationInput | Prisma.OrganizationTypeAssignmentOrderByWithRelationInput[];
|
|
986
|
+
/**
|
|
987
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
988
|
+
*
|
|
989
|
+
* Sets the position for listing OrganizationTypeAssignments.
|
|
990
|
+
*/
|
|
991
|
+
cursor?: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
992
|
+
/**
|
|
993
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
994
|
+
*
|
|
995
|
+
* Take `±n` OrganizationTypeAssignments from the position of the cursor.
|
|
996
|
+
*/
|
|
997
|
+
take?: number;
|
|
998
|
+
/**
|
|
999
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1000
|
+
*
|
|
1001
|
+
* Skip the first `n` OrganizationTypeAssignments.
|
|
1002
|
+
*/
|
|
1003
|
+
skip?: number;
|
|
1004
|
+
distinct?: Prisma.OrganizationTypeAssignmentScalarFieldEnum | Prisma.OrganizationTypeAssignmentScalarFieldEnum[];
|
|
1005
|
+
};
|
|
1006
|
+
/**
|
|
1007
|
+
* OrganizationTypeAssignment create
|
|
1008
|
+
*/
|
|
1009
|
+
export type OrganizationTypeAssignmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1010
|
+
/**
|
|
1011
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
1012
|
+
*/
|
|
1013
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
1016
|
+
*/
|
|
1017
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* Choose, which related nodes to fetch as well
|
|
1020
|
+
*/
|
|
1021
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* The data needed to create a OrganizationTypeAssignment.
|
|
1024
|
+
*/
|
|
1025
|
+
data: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateInput, Prisma.OrganizationTypeAssignmentUncheckedCreateInput>;
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* OrganizationTypeAssignment createMany
|
|
1029
|
+
*/
|
|
1030
|
+
export type OrganizationTypeAssignmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1031
|
+
/**
|
|
1032
|
+
* The data used to create many OrganizationTypeAssignments.
|
|
1033
|
+
*/
|
|
1034
|
+
data: Prisma.OrganizationTypeAssignmentCreateManyInput | Prisma.OrganizationTypeAssignmentCreateManyInput[];
|
|
1035
|
+
skipDuplicates?: boolean;
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* OrganizationTypeAssignment update
|
|
1039
|
+
*/
|
|
1040
|
+
export type OrganizationTypeAssignmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1041
|
+
/**
|
|
1042
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
1043
|
+
*/
|
|
1044
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
1047
|
+
*/
|
|
1048
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
1049
|
+
/**
|
|
1050
|
+
* Choose, which related nodes to fetch as well
|
|
1051
|
+
*/
|
|
1052
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
1053
|
+
/**
|
|
1054
|
+
* The data needed to update a OrganizationTypeAssignment.
|
|
1055
|
+
*/
|
|
1056
|
+
data: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateInput>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Choose, which OrganizationTypeAssignment to update.
|
|
1059
|
+
*/
|
|
1060
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* OrganizationTypeAssignment updateMany
|
|
1064
|
+
*/
|
|
1065
|
+
export type OrganizationTypeAssignmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* The data used to update OrganizationTypeAssignments.
|
|
1068
|
+
*/
|
|
1069
|
+
data: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateManyMutationInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateManyInput>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Filter which OrganizationTypeAssignments to update
|
|
1072
|
+
*/
|
|
1073
|
+
where?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
1074
|
+
/**
|
|
1075
|
+
* Limit how many OrganizationTypeAssignments to update.
|
|
1076
|
+
*/
|
|
1077
|
+
limit?: number;
|
|
1078
|
+
};
|
|
1079
|
+
/**
|
|
1080
|
+
* OrganizationTypeAssignment upsert
|
|
1081
|
+
*/
|
|
1082
|
+
export type OrganizationTypeAssignmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1083
|
+
/**
|
|
1084
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
1085
|
+
*/
|
|
1086
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
1089
|
+
*/
|
|
1090
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
1091
|
+
/**
|
|
1092
|
+
* Choose, which related nodes to fetch as well
|
|
1093
|
+
*/
|
|
1094
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* The filter to search for the OrganizationTypeAssignment to update in case it exists.
|
|
1097
|
+
*/
|
|
1098
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
1099
|
+
/**
|
|
1100
|
+
* In case the OrganizationTypeAssignment found by the `where` argument doesn't exist, create a new OrganizationTypeAssignment with this data.
|
|
1101
|
+
*/
|
|
1102
|
+
create: Prisma.XOR<Prisma.OrganizationTypeAssignmentCreateInput, Prisma.OrganizationTypeAssignmentUncheckedCreateInput>;
|
|
1103
|
+
/**
|
|
1104
|
+
* In case the OrganizationTypeAssignment was found with the provided `where` argument, update it with this data.
|
|
1105
|
+
*/
|
|
1106
|
+
update: Prisma.XOR<Prisma.OrganizationTypeAssignmentUpdateInput, Prisma.OrganizationTypeAssignmentUncheckedUpdateInput>;
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* OrganizationTypeAssignment delete
|
|
1110
|
+
*/
|
|
1111
|
+
export type OrganizationTypeAssignmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
1114
|
+
*/
|
|
1115
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
1118
|
+
*/
|
|
1119
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* Choose, which related nodes to fetch as well
|
|
1122
|
+
*/
|
|
1123
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Filter which OrganizationTypeAssignment to delete.
|
|
1126
|
+
*/
|
|
1127
|
+
where: Prisma.OrganizationTypeAssignmentWhereUniqueInput;
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* OrganizationTypeAssignment deleteMany
|
|
1131
|
+
*/
|
|
1132
|
+
export type OrganizationTypeAssignmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
+
/**
|
|
1134
|
+
* Filter which OrganizationTypeAssignments to delete
|
|
1135
|
+
*/
|
|
1136
|
+
where?: Prisma.OrganizationTypeAssignmentWhereInput;
|
|
1137
|
+
/**
|
|
1138
|
+
* Limit how many OrganizationTypeAssignments to delete.
|
|
1139
|
+
*/
|
|
1140
|
+
limit?: number;
|
|
1141
|
+
};
|
|
1142
|
+
/**
|
|
1143
|
+
* OrganizationTypeAssignment without action
|
|
1144
|
+
*/
|
|
1145
|
+
export type OrganizationTypeAssignmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1146
|
+
/**
|
|
1147
|
+
* Select specific fields to fetch from the OrganizationTypeAssignment
|
|
1148
|
+
*/
|
|
1149
|
+
select?: Prisma.OrganizationTypeAssignmentSelect<ExtArgs> | null;
|
|
1150
|
+
/**
|
|
1151
|
+
* Omit specific fields from the OrganizationTypeAssignment
|
|
1152
|
+
*/
|
|
1153
|
+
omit?: Prisma.OrganizationTypeAssignmentOmit<ExtArgs> | null;
|
|
1154
|
+
/**
|
|
1155
|
+
* Choose, which related nodes to fetch as well
|
|
1156
|
+
*/
|
|
1157
|
+
include?: Prisma.OrganizationTypeAssignmentInclude<ExtArgs> | null;
|
|
1158
|
+
};
|
|
1159
|
+
export {};
|