@valentine-efagene/qshelter-common 2.0.101 → 2.0.102
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/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +10 -0
- package/dist/generated/client/internal/prismaNamespace.js +10 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +10 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +10 -0
- package/dist/generated/client/models/DomainEvent.d.ts +281 -2
- package/dist/generated/client/models/Settings.d.ts +211 -4
- package/dist/generated/client/models/Social.d.ts +147 -1
- package/dist/generated/client/models/Tenant.d.ts +3705 -639
- package/dist/generated/client/models/Transaction.d.ts +178 -14
- package/dist/generated/client/models/Wallet.d.ts +169 -1
- package/dist/generated/client/models/WorkflowBlocker.d.ts +299 -4
- package/dist/src/prisma/tenant.js +0 -8
- package/package.json +1 -1
- package/prisma/migrations/20260113122855_add_tenant_to_remaining_models/migration.sql +64 -0
- package/prisma/schema.prisma +25 -2
|
@@ -12,6 +12,7 @@ export type AggregateSocial = {
|
|
|
12
12
|
};
|
|
13
13
|
export type SocialMinAggregateOutputType = {
|
|
14
14
|
id: string | null;
|
|
15
|
+
tenantId: string | null;
|
|
15
16
|
userId: string | null;
|
|
16
17
|
provider: string | null;
|
|
17
18
|
socialId: string | null;
|
|
@@ -20,6 +21,7 @@ export type SocialMinAggregateOutputType = {
|
|
|
20
21
|
};
|
|
21
22
|
export type SocialMaxAggregateOutputType = {
|
|
22
23
|
id: string | null;
|
|
24
|
+
tenantId: string | null;
|
|
23
25
|
userId: string | null;
|
|
24
26
|
provider: string | null;
|
|
25
27
|
socialId: string | null;
|
|
@@ -28,6 +30,7 @@ export type SocialMaxAggregateOutputType = {
|
|
|
28
30
|
};
|
|
29
31
|
export type SocialCountAggregateOutputType = {
|
|
30
32
|
id: number;
|
|
33
|
+
tenantId: number;
|
|
31
34
|
userId: number;
|
|
32
35
|
provider: number;
|
|
33
36
|
socialId: number;
|
|
@@ -37,6 +40,7 @@ export type SocialCountAggregateOutputType = {
|
|
|
37
40
|
};
|
|
38
41
|
export type SocialMinAggregateInputType = {
|
|
39
42
|
id?: true;
|
|
43
|
+
tenantId?: true;
|
|
40
44
|
userId?: true;
|
|
41
45
|
provider?: true;
|
|
42
46
|
socialId?: true;
|
|
@@ -45,6 +49,7 @@ export type SocialMinAggregateInputType = {
|
|
|
45
49
|
};
|
|
46
50
|
export type SocialMaxAggregateInputType = {
|
|
47
51
|
id?: true;
|
|
52
|
+
tenantId?: true;
|
|
48
53
|
userId?: true;
|
|
49
54
|
provider?: true;
|
|
50
55
|
socialId?: true;
|
|
@@ -53,6 +58,7 @@ export type SocialMaxAggregateInputType = {
|
|
|
53
58
|
};
|
|
54
59
|
export type SocialCountAggregateInputType = {
|
|
55
60
|
id?: true;
|
|
61
|
+
tenantId?: true;
|
|
56
62
|
userId?: true;
|
|
57
63
|
provider?: true;
|
|
58
64
|
socialId?: true;
|
|
@@ -124,6 +130,7 @@ export type SocialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
124
130
|
};
|
|
125
131
|
export type SocialGroupByOutputType = {
|
|
126
132
|
id: string;
|
|
133
|
+
tenantId: string;
|
|
127
134
|
userId: string;
|
|
128
135
|
provider: string;
|
|
129
136
|
socialId: string;
|
|
@@ -141,20 +148,24 @@ export type SocialWhereInput = {
|
|
|
141
148
|
OR?: Prisma.SocialWhereInput[];
|
|
142
149
|
NOT?: Prisma.SocialWhereInput | Prisma.SocialWhereInput[];
|
|
143
150
|
id?: Prisma.StringFilter<"Social"> | string;
|
|
151
|
+
tenantId?: Prisma.StringFilter<"Social"> | string;
|
|
144
152
|
userId?: Prisma.StringFilter<"Social"> | string;
|
|
145
153
|
provider?: Prisma.StringFilter<"Social"> | string;
|
|
146
154
|
socialId?: Prisma.StringFilter<"Social"> | string;
|
|
147
155
|
createdAt?: Prisma.DateTimeFilter<"Social"> | Date | string;
|
|
148
156
|
updatedAt?: Prisma.DateTimeFilter<"Social"> | Date | string;
|
|
157
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
149
158
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
150
159
|
};
|
|
151
160
|
export type SocialOrderByWithRelationInput = {
|
|
152
161
|
id?: Prisma.SortOrder;
|
|
162
|
+
tenantId?: Prisma.SortOrder;
|
|
153
163
|
userId?: Prisma.SortOrder;
|
|
154
164
|
provider?: Prisma.SortOrder;
|
|
155
165
|
socialId?: Prisma.SortOrder;
|
|
156
166
|
createdAt?: Prisma.SortOrder;
|
|
157
167
|
updatedAt?: Prisma.SortOrder;
|
|
168
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
158
169
|
user?: Prisma.UserOrderByWithRelationInput;
|
|
159
170
|
_relevance?: Prisma.SocialOrderByRelevanceInput;
|
|
160
171
|
};
|
|
@@ -164,15 +175,18 @@ export type SocialWhereUniqueInput = Prisma.AtLeast<{
|
|
|
164
175
|
AND?: Prisma.SocialWhereInput | Prisma.SocialWhereInput[];
|
|
165
176
|
OR?: Prisma.SocialWhereInput[];
|
|
166
177
|
NOT?: Prisma.SocialWhereInput | Prisma.SocialWhereInput[];
|
|
178
|
+
tenantId?: Prisma.StringFilter<"Social"> | string;
|
|
167
179
|
userId?: Prisma.StringFilter<"Social"> | string;
|
|
168
180
|
provider?: Prisma.StringFilter<"Social"> | string;
|
|
169
181
|
socialId?: Prisma.StringFilter<"Social"> | string;
|
|
170
182
|
createdAt?: Prisma.DateTimeFilter<"Social"> | Date | string;
|
|
171
183
|
updatedAt?: Prisma.DateTimeFilter<"Social"> | Date | string;
|
|
184
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
172
185
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
173
186
|
}, "id" | "provider_socialId">;
|
|
174
187
|
export type SocialOrderByWithAggregationInput = {
|
|
175
188
|
id?: Prisma.SortOrder;
|
|
189
|
+
tenantId?: Prisma.SortOrder;
|
|
176
190
|
userId?: Prisma.SortOrder;
|
|
177
191
|
provider?: Prisma.SortOrder;
|
|
178
192
|
socialId?: Prisma.SortOrder;
|
|
@@ -187,6 +201,7 @@ export type SocialScalarWhereWithAggregatesInput = {
|
|
|
187
201
|
OR?: Prisma.SocialScalarWhereWithAggregatesInput[];
|
|
188
202
|
NOT?: Prisma.SocialScalarWhereWithAggregatesInput | Prisma.SocialScalarWhereWithAggregatesInput[];
|
|
189
203
|
id?: Prisma.StringWithAggregatesFilter<"Social"> | string;
|
|
204
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"Social"> | string;
|
|
190
205
|
userId?: Prisma.StringWithAggregatesFilter<"Social"> | string;
|
|
191
206
|
provider?: Prisma.StringWithAggregatesFilter<"Social"> | string;
|
|
192
207
|
socialId?: Prisma.StringWithAggregatesFilter<"Social"> | string;
|
|
@@ -199,10 +214,12 @@ export type SocialCreateInput = {
|
|
|
199
214
|
socialId: string;
|
|
200
215
|
createdAt?: Date | string;
|
|
201
216
|
updatedAt?: Date | string;
|
|
217
|
+
tenant: Prisma.TenantCreateNestedOneWithoutSocialsInput;
|
|
202
218
|
user: Prisma.UserCreateNestedOneWithoutSocialsInput;
|
|
203
219
|
};
|
|
204
220
|
export type SocialUncheckedCreateInput = {
|
|
205
221
|
id?: string;
|
|
222
|
+
tenantId: string;
|
|
206
223
|
userId: string;
|
|
207
224
|
provider: string;
|
|
208
225
|
socialId: string;
|
|
@@ -215,10 +232,12 @@ export type SocialUpdateInput = {
|
|
|
215
232
|
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
216
233
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
217
234
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
235
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutSocialsNestedInput;
|
|
218
236
|
user?: Prisma.UserUpdateOneRequiredWithoutSocialsNestedInput;
|
|
219
237
|
};
|
|
220
238
|
export type SocialUncheckedUpdateInput = {
|
|
221
239
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
222
241
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
223
242
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
224
243
|
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -227,6 +246,7 @@ export type SocialUncheckedUpdateInput = {
|
|
|
227
246
|
};
|
|
228
247
|
export type SocialCreateManyInput = {
|
|
229
248
|
id?: string;
|
|
249
|
+
tenantId: string;
|
|
230
250
|
userId: string;
|
|
231
251
|
provider: string;
|
|
232
252
|
socialId: string;
|
|
@@ -242,6 +262,7 @@ export type SocialUpdateManyMutationInput = {
|
|
|
242
262
|
};
|
|
243
263
|
export type SocialUncheckedUpdateManyInput = {
|
|
244
264
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
265
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
245
266
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
246
267
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
268
|
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -267,6 +288,7 @@ export type SocialProviderSocialIdCompoundUniqueInput = {
|
|
|
267
288
|
};
|
|
268
289
|
export type SocialCountOrderByAggregateInput = {
|
|
269
290
|
id?: Prisma.SortOrder;
|
|
291
|
+
tenantId?: Prisma.SortOrder;
|
|
270
292
|
userId?: Prisma.SortOrder;
|
|
271
293
|
provider?: Prisma.SortOrder;
|
|
272
294
|
socialId?: Prisma.SortOrder;
|
|
@@ -275,6 +297,7 @@ export type SocialCountOrderByAggregateInput = {
|
|
|
275
297
|
};
|
|
276
298
|
export type SocialMaxOrderByAggregateInput = {
|
|
277
299
|
id?: Prisma.SortOrder;
|
|
300
|
+
tenantId?: Prisma.SortOrder;
|
|
278
301
|
userId?: Prisma.SortOrder;
|
|
279
302
|
provider?: Prisma.SortOrder;
|
|
280
303
|
socialId?: Prisma.SortOrder;
|
|
@@ -283,6 +306,7 @@ export type SocialMaxOrderByAggregateInput = {
|
|
|
283
306
|
};
|
|
284
307
|
export type SocialMinOrderByAggregateInput = {
|
|
285
308
|
id?: Prisma.SortOrder;
|
|
309
|
+
tenantId?: Prisma.SortOrder;
|
|
286
310
|
userId?: Prisma.SortOrder;
|
|
287
311
|
provider?: Prisma.SortOrder;
|
|
288
312
|
socialId?: Prisma.SortOrder;
|
|
@@ -327,15 +351,55 @@ export type SocialUncheckedUpdateManyWithoutUserNestedInput = {
|
|
|
327
351
|
updateMany?: Prisma.SocialUpdateManyWithWhereWithoutUserInput | Prisma.SocialUpdateManyWithWhereWithoutUserInput[];
|
|
328
352
|
deleteMany?: Prisma.SocialScalarWhereInput | Prisma.SocialScalarWhereInput[];
|
|
329
353
|
};
|
|
354
|
+
export type SocialCreateNestedManyWithoutTenantInput = {
|
|
355
|
+
create?: Prisma.XOR<Prisma.SocialCreateWithoutTenantInput, Prisma.SocialUncheckedCreateWithoutTenantInput> | Prisma.SocialCreateWithoutTenantInput[] | Prisma.SocialUncheckedCreateWithoutTenantInput[];
|
|
356
|
+
connectOrCreate?: Prisma.SocialCreateOrConnectWithoutTenantInput | Prisma.SocialCreateOrConnectWithoutTenantInput[];
|
|
357
|
+
createMany?: Prisma.SocialCreateManyTenantInputEnvelope;
|
|
358
|
+
connect?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
359
|
+
};
|
|
360
|
+
export type SocialUncheckedCreateNestedManyWithoutTenantInput = {
|
|
361
|
+
create?: Prisma.XOR<Prisma.SocialCreateWithoutTenantInput, Prisma.SocialUncheckedCreateWithoutTenantInput> | Prisma.SocialCreateWithoutTenantInput[] | Prisma.SocialUncheckedCreateWithoutTenantInput[];
|
|
362
|
+
connectOrCreate?: Prisma.SocialCreateOrConnectWithoutTenantInput | Prisma.SocialCreateOrConnectWithoutTenantInput[];
|
|
363
|
+
createMany?: Prisma.SocialCreateManyTenantInputEnvelope;
|
|
364
|
+
connect?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
365
|
+
};
|
|
366
|
+
export type SocialUpdateManyWithoutTenantNestedInput = {
|
|
367
|
+
create?: Prisma.XOR<Prisma.SocialCreateWithoutTenantInput, Prisma.SocialUncheckedCreateWithoutTenantInput> | Prisma.SocialCreateWithoutTenantInput[] | Prisma.SocialUncheckedCreateWithoutTenantInput[];
|
|
368
|
+
connectOrCreate?: Prisma.SocialCreateOrConnectWithoutTenantInput | Prisma.SocialCreateOrConnectWithoutTenantInput[];
|
|
369
|
+
upsert?: Prisma.SocialUpsertWithWhereUniqueWithoutTenantInput | Prisma.SocialUpsertWithWhereUniqueWithoutTenantInput[];
|
|
370
|
+
createMany?: Prisma.SocialCreateManyTenantInputEnvelope;
|
|
371
|
+
set?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
372
|
+
disconnect?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
373
|
+
delete?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
374
|
+
connect?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
375
|
+
update?: Prisma.SocialUpdateWithWhereUniqueWithoutTenantInput | Prisma.SocialUpdateWithWhereUniqueWithoutTenantInput[];
|
|
376
|
+
updateMany?: Prisma.SocialUpdateManyWithWhereWithoutTenantInput | Prisma.SocialUpdateManyWithWhereWithoutTenantInput[];
|
|
377
|
+
deleteMany?: Prisma.SocialScalarWhereInput | Prisma.SocialScalarWhereInput[];
|
|
378
|
+
};
|
|
379
|
+
export type SocialUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
380
|
+
create?: Prisma.XOR<Prisma.SocialCreateWithoutTenantInput, Prisma.SocialUncheckedCreateWithoutTenantInput> | Prisma.SocialCreateWithoutTenantInput[] | Prisma.SocialUncheckedCreateWithoutTenantInput[];
|
|
381
|
+
connectOrCreate?: Prisma.SocialCreateOrConnectWithoutTenantInput | Prisma.SocialCreateOrConnectWithoutTenantInput[];
|
|
382
|
+
upsert?: Prisma.SocialUpsertWithWhereUniqueWithoutTenantInput | Prisma.SocialUpsertWithWhereUniqueWithoutTenantInput[];
|
|
383
|
+
createMany?: Prisma.SocialCreateManyTenantInputEnvelope;
|
|
384
|
+
set?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
385
|
+
disconnect?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
386
|
+
delete?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
387
|
+
connect?: Prisma.SocialWhereUniqueInput | Prisma.SocialWhereUniqueInput[];
|
|
388
|
+
update?: Prisma.SocialUpdateWithWhereUniqueWithoutTenantInput | Prisma.SocialUpdateWithWhereUniqueWithoutTenantInput[];
|
|
389
|
+
updateMany?: Prisma.SocialUpdateManyWithWhereWithoutTenantInput | Prisma.SocialUpdateManyWithWhereWithoutTenantInput[];
|
|
390
|
+
deleteMany?: Prisma.SocialScalarWhereInput | Prisma.SocialScalarWhereInput[];
|
|
391
|
+
};
|
|
330
392
|
export type SocialCreateWithoutUserInput = {
|
|
331
393
|
id?: string;
|
|
332
394
|
provider: string;
|
|
333
395
|
socialId: string;
|
|
334
396
|
createdAt?: Date | string;
|
|
335
397
|
updatedAt?: Date | string;
|
|
398
|
+
tenant: Prisma.TenantCreateNestedOneWithoutSocialsInput;
|
|
336
399
|
};
|
|
337
400
|
export type SocialUncheckedCreateWithoutUserInput = {
|
|
338
401
|
id?: string;
|
|
402
|
+
tenantId: string;
|
|
339
403
|
provider: string;
|
|
340
404
|
socialId: string;
|
|
341
405
|
createdAt?: Date | string;
|
|
@@ -367,14 +431,53 @@ export type SocialScalarWhereInput = {
|
|
|
367
431
|
OR?: Prisma.SocialScalarWhereInput[];
|
|
368
432
|
NOT?: Prisma.SocialScalarWhereInput | Prisma.SocialScalarWhereInput[];
|
|
369
433
|
id?: Prisma.StringFilter<"Social"> | string;
|
|
434
|
+
tenantId?: Prisma.StringFilter<"Social"> | string;
|
|
370
435
|
userId?: Prisma.StringFilter<"Social"> | string;
|
|
371
436
|
provider?: Prisma.StringFilter<"Social"> | string;
|
|
372
437
|
socialId?: Prisma.StringFilter<"Social"> | string;
|
|
373
438
|
createdAt?: Prisma.DateTimeFilter<"Social"> | Date | string;
|
|
374
439
|
updatedAt?: Prisma.DateTimeFilter<"Social"> | Date | string;
|
|
375
440
|
};
|
|
441
|
+
export type SocialCreateWithoutTenantInput = {
|
|
442
|
+
id?: string;
|
|
443
|
+
provider: string;
|
|
444
|
+
socialId: string;
|
|
445
|
+
createdAt?: Date | string;
|
|
446
|
+
updatedAt?: Date | string;
|
|
447
|
+
user: Prisma.UserCreateNestedOneWithoutSocialsInput;
|
|
448
|
+
};
|
|
449
|
+
export type SocialUncheckedCreateWithoutTenantInput = {
|
|
450
|
+
id?: string;
|
|
451
|
+
userId: string;
|
|
452
|
+
provider: string;
|
|
453
|
+
socialId: string;
|
|
454
|
+
createdAt?: Date | string;
|
|
455
|
+
updatedAt?: Date | string;
|
|
456
|
+
};
|
|
457
|
+
export type SocialCreateOrConnectWithoutTenantInput = {
|
|
458
|
+
where: Prisma.SocialWhereUniqueInput;
|
|
459
|
+
create: Prisma.XOR<Prisma.SocialCreateWithoutTenantInput, Prisma.SocialUncheckedCreateWithoutTenantInput>;
|
|
460
|
+
};
|
|
461
|
+
export type SocialCreateManyTenantInputEnvelope = {
|
|
462
|
+
data: Prisma.SocialCreateManyTenantInput | Prisma.SocialCreateManyTenantInput[];
|
|
463
|
+
skipDuplicates?: boolean;
|
|
464
|
+
};
|
|
465
|
+
export type SocialUpsertWithWhereUniqueWithoutTenantInput = {
|
|
466
|
+
where: Prisma.SocialWhereUniqueInput;
|
|
467
|
+
update: Prisma.XOR<Prisma.SocialUpdateWithoutTenantInput, Prisma.SocialUncheckedUpdateWithoutTenantInput>;
|
|
468
|
+
create: Prisma.XOR<Prisma.SocialCreateWithoutTenantInput, Prisma.SocialUncheckedCreateWithoutTenantInput>;
|
|
469
|
+
};
|
|
470
|
+
export type SocialUpdateWithWhereUniqueWithoutTenantInput = {
|
|
471
|
+
where: Prisma.SocialWhereUniqueInput;
|
|
472
|
+
data: Prisma.XOR<Prisma.SocialUpdateWithoutTenantInput, Prisma.SocialUncheckedUpdateWithoutTenantInput>;
|
|
473
|
+
};
|
|
474
|
+
export type SocialUpdateManyWithWhereWithoutTenantInput = {
|
|
475
|
+
where: Prisma.SocialScalarWhereInput;
|
|
476
|
+
data: Prisma.XOR<Prisma.SocialUpdateManyMutationInput, Prisma.SocialUncheckedUpdateManyWithoutTenantInput>;
|
|
477
|
+
};
|
|
376
478
|
export type SocialCreateManyUserInput = {
|
|
377
479
|
id?: string;
|
|
480
|
+
tenantId: string;
|
|
378
481
|
provider: string;
|
|
379
482
|
socialId: string;
|
|
380
483
|
createdAt?: Date | string;
|
|
@@ -386,9 +489,11 @@ export type SocialUpdateWithoutUserInput = {
|
|
|
386
489
|
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
387
490
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
388
491
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
492
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutSocialsNestedInput;
|
|
389
493
|
};
|
|
390
494
|
export type SocialUncheckedUpdateWithoutUserInput = {
|
|
391
495
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
496
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
392
497
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
393
498
|
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
499
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -396,6 +501,39 @@ export type SocialUncheckedUpdateWithoutUserInput = {
|
|
|
396
501
|
};
|
|
397
502
|
export type SocialUncheckedUpdateManyWithoutUserInput = {
|
|
398
503
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
504
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
505
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
506
|
+
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
507
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
508
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
509
|
+
};
|
|
510
|
+
export type SocialCreateManyTenantInput = {
|
|
511
|
+
id?: string;
|
|
512
|
+
userId: string;
|
|
513
|
+
provider: string;
|
|
514
|
+
socialId: string;
|
|
515
|
+
createdAt?: Date | string;
|
|
516
|
+
updatedAt?: Date | string;
|
|
517
|
+
};
|
|
518
|
+
export type SocialUpdateWithoutTenantInput = {
|
|
519
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
520
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
521
|
+
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
522
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
523
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
524
|
+
user?: Prisma.UserUpdateOneRequiredWithoutSocialsNestedInput;
|
|
525
|
+
};
|
|
526
|
+
export type SocialUncheckedUpdateWithoutTenantInput = {
|
|
527
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
528
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
529
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
530
|
+
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
531
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
532
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
533
|
+
};
|
|
534
|
+
export type SocialUncheckedUpdateManyWithoutTenantInput = {
|
|
535
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
536
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
537
|
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
538
|
socialId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
539
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -403,32 +541,38 @@ export type SocialUncheckedUpdateManyWithoutUserInput = {
|
|
|
403
541
|
};
|
|
404
542
|
export type SocialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
405
543
|
id?: boolean;
|
|
544
|
+
tenantId?: boolean;
|
|
406
545
|
userId?: boolean;
|
|
407
546
|
provider?: boolean;
|
|
408
547
|
socialId?: boolean;
|
|
409
548
|
createdAt?: boolean;
|
|
410
549
|
updatedAt?: boolean;
|
|
550
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
411
551
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
412
552
|
}, ExtArgs["result"]["social"]>;
|
|
413
553
|
export type SocialSelectScalar = {
|
|
414
554
|
id?: boolean;
|
|
555
|
+
tenantId?: boolean;
|
|
415
556
|
userId?: boolean;
|
|
416
557
|
provider?: boolean;
|
|
417
558
|
socialId?: boolean;
|
|
418
559
|
createdAt?: boolean;
|
|
419
560
|
updatedAt?: boolean;
|
|
420
561
|
};
|
|
421
|
-
export type SocialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "provider" | "socialId" | "createdAt" | "updatedAt", ExtArgs["result"]["social"]>;
|
|
562
|
+
export type SocialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "userId" | "provider" | "socialId" | "createdAt" | "updatedAt", ExtArgs["result"]["social"]>;
|
|
422
563
|
export type SocialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
564
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
423
565
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
424
566
|
};
|
|
425
567
|
export type $SocialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
426
568
|
name: "Social";
|
|
427
569
|
objects: {
|
|
570
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
428
571
|
user: Prisma.$UserPayload<ExtArgs>;
|
|
429
572
|
};
|
|
430
573
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
431
574
|
id: string;
|
|
575
|
+
tenantId: string;
|
|
432
576
|
userId: string;
|
|
433
577
|
provider: string;
|
|
434
578
|
socialId: string;
|
|
@@ -711,6 +855,7 @@ export interface SocialDelegate<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
711
855
|
*/
|
|
712
856
|
export interface Prisma__SocialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
713
857
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
858
|
+
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
714
859
|
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
715
860
|
/**
|
|
716
861
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -738,6 +883,7 @@ export interface Prisma__SocialClient<T, Null = never, ExtArgs extends runtime.T
|
|
|
738
883
|
*/
|
|
739
884
|
export interface SocialFieldRefs {
|
|
740
885
|
readonly id: Prisma.FieldRef<"Social", 'String'>;
|
|
886
|
+
readonly tenantId: Prisma.FieldRef<"Social", 'String'>;
|
|
741
887
|
readonly userId: Prisma.FieldRef<"Social", 'String'>;
|
|
742
888
|
readonly provider: Prisma.FieldRef<"Social", 'String'>;
|
|
743
889
|
readonly socialId: Prisma.FieldRef<"Social", 'String'>;
|