@danielcok17/prisma-db 1.7.0 → 1.8.0
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/package.json +1 -1
- package/prisma/app.prisma +33 -5
- package/prisma/generated/app/edge.js +21 -3
- package/prisma/generated/app/index-browser.js +18 -0
- package/prisma/generated/app/index.d.ts +2765 -300
- package/prisma/generated/app/index.js +21 -3
- package/prisma/generated/app/package.json +1 -1
- package/prisma/generated/app/schema.prisma +28 -0
- package/prisma/generated/app/wasm.js +21 -3
- package/prisma/migrations/20260113205726_add_organization_invite/migration.sql +40 -0
|
@@ -38,6 +38,11 @@ export type Organization = $Result.DefaultSelection<Prisma.$OrganizationPayload>
|
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
40
|
export type OrganizationMember = $Result.DefaultSelection<Prisma.$OrganizationMemberPayload>
|
|
41
|
+
/**
|
|
42
|
+
* Model OrganizationInvite
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export type OrganizationInvite = $Result.DefaultSelection<Prisma.$OrganizationInvitePayload>
|
|
41
46
|
/**
|
|
42
47
|
* Model Conversation
|
|
43
48
|
*
|
|
@@ -476,6 +481,16 @@ export class PrismaClient<
|
|
|
476
481
|
*/
|
|
477
482
|
get organizationMember(): Prisma.OrganizationMemberDelegate<ExtArgs, ClientOptions>;
|
|
478
483
|
|
|
484
|
+
/**
|
|
485
|
+
* `prisma.organizationInvite`: Exposes CRUD operations for the **OrganizationInvite** model.
|
|
486
|
+
* Example usage:
|
|
487
|
+
* ```ts
|
|
488
|
+
* // Fetch zero or more OrganizationInvites
|
|
489
|
+
* const organizationInvites = await prisma.organizationInvite.findMany()
|
|
490
|
+
* ```
|
|
491
|
+
*/
|
|
492
|
+
get organizationInvite(): Prisma.OrganizationInviteDelegate<ExtArgs, ClientOptions>;
|
|
493
|
+
|
|
479
494
|
/**
|
|
480
495
|
* `prisma.conversation`: Exposes CRUD operations for the **Conversation** model.
|
|
481
496
|
* Example usage:
|
|
@@ -1110,6 +1125,7 @@ export namespace Prisma {
|
|
|
1110
1125
|
UserApprovalRequest: 'UserApprovalRequest',
|
|
1111
1126
|
Organization: 'Organization',
|
|
1112
1127
|
OrganizationMember: 'OrganizationMember',
|
|
1128
|
+
OrganizationInvite: 'OrganizationInvite',
|
|
1113
1129
|
Conversation: 'Conversation',
|
|
1114
1130
|
Answer: 'Answer',
|
|
1115
1131
|
MessageFile: 'MessageFile',
|
|
@@ -1147,7 +1163,7 @@ export namespace Prisma {
|
|
|
1147
1163
|
omit: GlobalOmitOptions
|
|
1148
1164
|
}
|
|
1149
1165
|
meta: {
|
|
1150
|
-
modelProps: "account" | "user" | "userApprovalRequest" | "organization" | "organizationMember" | "conversation" | "answer" | "messageFile" | "answerMetrics" | "feedback" | "reference" | "pageView" | "session" | "stripeCustomer" | "stripeSubscription" | "stripeEvent" | "stripePayment" | "adminActionLog" | "workflowLog" | "workflowStep" | "verificationToken" | "passwordResetToken" | "canvasDocument" | "canvasDocumentVersion"
|
|
1166
|
+
modelProps: "account" | "user" | "userApprovalRequest" | "organization" | "organizationMember" | "organizationInvite" | "conversation" | "answer" | "messageFile" | "answerMetrics" | "feedback" | "reference" | "pageView" | "session" | "stripeCustomer" | "stripeSubscription" | "stripeEvent" | "stripePayment" | "adminActionLog" | "workflowLog" | "workflowStep" | "verificationToken" | "passwordResetToken" | "canvasDocument" | "canvasDocumentVersion"
|
|
1151
1167
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
1152
1168
|
}
|
|
1153
1169
|
model: {
|
|
@@ -1521,6 +1537,80 @@ export namespace Prisma {
|
|
|
1521
1537
|
}
|
|
1522
1538
|
}
|
|
1523
1539
|
}
|
|
1540
|
+
OrganizationInvite: {
|
|
1541
|
+
payload: Prisma.$OrganizationInvitePayload<ExtArgs>
|
|
1542
|
+
fields: Prisma.OrganizationInviteFieldRefs
|
|
1543
|
+
operations: {
|
|
1544
|
+
findUnique: {
|
|
1545
|
+
args: Prisma.OrganizationInviteFindUniqueArgs<ExtArgs>
|
|
1546
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload> | null
|
|
1547
|
+
}
|
|
1548
|
+
findUniqueOrThrow: {
|
|
1549
|
+
args: Prisma.OrganizationInviteFindUniqueOrThrowArgs<ExtArgs>
|
|
1550
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>
|
|
1551
|
+
}
|
|
1552
|
+
findFirst: {
|
|
1553
|
+
args: Prisma.OrganizationInviteFindFirstArgs<ExtArgs>
|
|
1554
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload> | null
|
|
1555
|
+
}
|
|
1556
|
+
findFirstOrThrow: {
|
|
1557
|
+
args: Prisma.OrganizationInviteFindFirstOrThrowArgs<ExtArgs>
|
|
1558
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>
|
|
1559
|
+
}
|
|
1560
|
+
findMany: {
|
|
1561
|
+
args: Prisma.OrganizationInviteFindManyArgs<ExtArgs>
|
|
1562
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>[]
|
|
1563
|
+
}
|
|
1564
|
+
create: {
|
|
1565
|
+
args: Prisma.OrganizationInviteCreateArgs<ExtArgs>
|
|
1566
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>
|
|
1567
|
+
}
|
|
1568
|
+
createMany: {
|
|
1569
|
+
args: Prisma.OrganizationInviteCreateManyArgs<ExtArgs>
|
|
1570
|
+
result: BatchPayload
|
|
1571
|
+
}
|
|
1572
|
+
createManyAndReturn: {
|
|
1573
|
+
args: Prisma.OrganizationInviteCreateManyAndReturnArgs<ExtArgs>
|
|
1574
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>[]
|
|
1575
|
+
}
|
|
1576
|
+
delete: {
|
|
1577
|
+
args: Prisma.OrganizationInviteDeleteArgs<ExtArgs>
|
|
1578
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>
|
|
1579
|
+
}
|
|
1580
|
+
update: {
|
|
1581
|
+
args: Prisma.OrganizationInviteUpdateArgs<ExtArgs>
|
|
1582
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>
|
|
1583
|
+
}
|
|
1584
|
+
deleteMany: {
|
|
1585
|
+
args: Prisma.OrganizationInviteDeleteManyArgs<ExtArgs>
|
|
1586
|
+
result: BatchPayload
|
|
1587
|
+
}
|
|
1588
|
+
updateMany: {
|
|
1589
|
+
args: Prisma.OrganizationInviteUpdateManyArgs<ExtArgs>
|
|
1590
|
+
result: BatchPayload
|
|
1591
|
+
}
|
|
1592
|
+
updateManyAndReturn: {
|
|
1593
|
+
args: Prisma.OrganizationInviteUpdateManyAndReturnArgs<ExtArgs>
|
|
1594
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>[]
|
|
1595
|
+
}
|
|
1596
|
+
upsert: {
|
|
1597
|
+
args: Prisma.OrganizationInviteUpsertArgs<ExtArgs>
|
|
1598
|
+
result: $Utils.PayloadToResult<Prisma.$OrganizationInvitePayload>
|
|
1599
|
+
}
|
|
1600
|
+
aggregate: {
|
|
1601
|
+
args: Prisma.OrganizationInviteAggregateArgs<ExtArgs>
|
|
1602
|
+
result: $Utils.Optional<AggregateOrganizationInvite>
|
|
1603
|
+
}
|
|
1604
|
+
groupBy: {
|
|
1605
|
+
args: Prisma.OrganizationInviteGroupByArgs<ExtArgs>
|
|
1606
|
+
result: $Utils.Optional<OrganizationInviteGroupByOutputType>[]
|
|
1607
|
+
}
|
|
1608
|
+
count: {
|
|
1609
|
+
args: Prisma.OrganizationInviteCountArgs<ExtArgs>
|
|
1610
|
+
result: $Utils.Optional<OrganizationInviteCountAggregateOutputType> | number
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1524
1614
|
Conversation: {
|
|
1525
1615
|
payload: Prisma.$ConversationPayload<ExtArgs>
|
|
1526
1616
|
fields: Prisma.ConversationFieldRefs
|
|
@@ -3028,6 +3118,7 @@ export namespace Prisma {
|
|
|
3028
3118
|
userApprovalRequest?: UserApprovalRequestOmit
|
|
3029
3119
|
organization?: OrganizationOmit
|
|
3030
3120
|
organizationMember?: OrganizationMemberOmit
|
|
3121
|
+
organizationInvite?: OrganizationInviteOmit
|
|
3031
3122
|
conversation?: ConversationOmit
|
|
3032
3123
|
answer?: AnswerOmit
|
|
3033
3124
|
messageFile?: MessageFileOmit
|
|
@@ -3129,6 +3220,7 @@ export namespace Prisma {
|
|
|
3129
3220
|
export type UserCountOutputType = {
|
|
3130
3221
|
ownedOrganizations: number
|
|
3131
3222
|
organizationMembers: number
|
|
3223
|
+
createdInvites: number
|
|
3132
3224
|
accounts: number
|
|
3133
3225
|
answers: number
|
|
3134
3226
|
conversations: number
|
|
@@ -3145,6 +3237,7 @@ export namespace Prisma {
|
|
|
3145
3237
|
export type UserCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3146
3238
|
ownedOrganizations?: boolean | UserCountOutputTypeCountOwnedOrganizationsArgs
|
|
3147
3239
|
organizationMembers?: boolean | UserCountOutputTypeCountOrganizationMembersArgs
|
|
3240
|
+
createdInvites?: boolean | UserCountOutputTypeCountCreatedInvitesArgs
|
|
3148
3241
|
accounts?: boolean | UserCountOutputTypeCountAccountsArgs
|
|
3149
3242
|
answers?: boolean | UserCountOutputTypeCountAnswersArgs
|
|
3150
3243
|
conversations?: boolean | UserCountOutputTypeCountConversationsArgs
|
|
@@ -3183,6 +3276,13 @@ export namespace Prisma {
|
|
|
3183
3276
|
where?: OrganizationMemberWhereInput
|
|
3184
3277
|
}
|
|
3185
3278
|
|
|
3279
|
+
/**
|
|
3280
|
+
* UserCountOutputType without action
|
|
3281
|
+
*/
|
|
3282
|
+
export type UserCountOutputTypeCountCreatedInvitesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3283
|
+
where?: OrganizationInviteWhereInput
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3186
3286
|
/**
|
|
3187
3287
|
* UserCountOutputType without action
|
|
3188
3288
|
*/
|
|
@@ -3267,10 +3367,12 @@ export namespace Prisma {
|
|
|
3267
3367
|
|
|
3268
3368
|
export type OrganizationCountOutputType = {
|
|
3269
3369
|
members: number
|
|
3370
|
+
invites: number
|
|
3270
3371
|
}
|
|
3271
3372
|
|
|
3272
3373
|
export type OrganizationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3273
3374
|
members?: boolean | OrganizationCountOutputTypeCountMembersArgs
|
|
3375
|
+
invites?: boolean | OrganizationCountOutputTypeCountInvitesArgs
|
|
3274
3376
|
}
|
|
3275
3377
|
|
|
3276
3378
|
// Custom InputTypes
|
|
@@ -3291,6 +3393,13 @@ export namespace Prisma {
|
|
|
3291
3393
|
where?: OrganizationMemberWhereInput
|
|
3292
3394
|
}
|
|
3293
3395
|
|
|
3396
|
+
/**
|
|
3397
|
+
* OrganizationCountOutputType without action
|
|
3398
|
+
*/
|
|
3399
|
+
export type OrganizationCountOutputTypeCountInvitesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3400
|
+
where?: OrganizationInviteWhereInput
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3294
3403
|
|
|
3295
3404
|
/**
|
|
3296
3405
|
* Count Type ConversationCountOutputType
|
|
@@ -5104,6 +5213,7 @@ export namespace Prisma {
|
|
|
5104
5213
|
stripeCustomer?: boolean | User$stripeCustomerArgs<ExtArgs>
|
|
5105
5214
|
ownedOrganizations?: boolean | User$ownedOrganizationsArgs<ExtArgs>
|
|
5106
5215
|
organizationMembers?: boolean | User$organizationMembersArgs<ExtArgs>
|
|
5216
|
+
createdInvites?: boolean | User$createdInvitesArgs<ExtArgs>
|
|
5107
5217
|
accounts?: boolean | User$accountsArgs<ExtArgs>
|
|
5108
5218
|
answers?: boolean | User$answersArgs<ExtArgs>
|
|
5109
5219
|
conversations?: boolean | User$conversationsArgs<ExtArgs>
|
|
@@ -5205,6 +5315,7 @@ export namespace Prisma {
|
|
|
5205
5315
|
stripeCustomer?: boolean | User$stripeCustomerArgs<ExtArgs>
|
|
5206
5316
|
ownedOrganizations?: boolean | User$ownedOrganizationsArgs<ExtArgs>
|
|
5207
5317
|
organizationMembers?: boolean | User$organizationMembersArgs<ExtArgs>
|
|
5318
|
+
createdInvites?: boolean | User$createdInvitesArgs<ExtArgs>
|
|
5208
5319
|
accounts?: boolean | User$accountsArgs<ExtArgs>
|
|
5209
5320
|
answers?: boolean | User$answersArgs<ExtArgs>
|
|
5210
5321
|
conversations?: boolean | User$conversationsArgs<ExtArgs>
|
|
@@ -5228,6 +5339,7 @@ export namespace Prisma {
|
|
|
5228
5339
|
stripeCustomer: Prisma.$StripeCustomerPayload<ExtArgs> | null
|
|
5229
5340
|
ownedOrganizations: Prisma.$OrganizationPayload<ExtArgs>[]
|
|
5230
5341
|
organizationMembers: Prisma.$OrganizationMemberPayload<ExtArgs>[]
|
|
5342
|
+
createdInvites: Prisma.$OrganizationInvitePayload<ExtArgs>[]
|
|
5231
5343
|
accounts: Prisma.$AccountPayload<ExtArgs>[]
|
|
5232
5344
|
answers: Prisma.$AnswerPayload<ExtArgs>[]
|
|
5233
5345
|
conversations: Prisma.$ConversationPayload<ExtArgs>[]
|
|
@@ -5663,6 +5775,7 @@ export namespace Prisma {
|
|
|
5663
5775
|
stripeCustomer<T extends User$stripeCustomerArgs<ExtArgs> = {}>(args?: Subset<T, User$stripeCustomerArgs<ExtArgs>>): Prisma__StripeCustomerClient<$Result.GetResult<Prisma.$StripeCustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
5664
5776
|
ownedOrganizations<T extends User$ownedOrganizationsArgs<ExtArgs> = {}>(args?: Subset<T, User$ownedOrganizationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
5665
5777
|
organizationMembers<T extends User$organizationMembersArgs<ExtArgs> = {}>(args?: Subset<T, User$organizationMembersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
5778
|
+
createdInvites<T extends User$createdInvitesArgs<ExtArgs> = {}>(args?: Subset<T, User$createdInvitesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
5666
5779
|
accounts<T extends User$accountsArgs<ExtArgs> = {}>(args?: Subset<T, User$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
5667
5780
|
answers<T extends User$answersArgs<ExtArgs> = {}>(args?: Subset<T, User$answersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AnswerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
5668
5781
|
conversations<T extends User$conversationsArgs<ExtArgs> = {}>(args?: Subset<T, User$conversationsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ConversationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
@@ -6200,6 +6313,30 @@ export namespace Prisma {
|
|
|
6200
6313
|
distinct?: OrganizationMemberScalarFieldEnum | OrganizationMemberScalarFieldEnum[]
|
|
6201
6314
|
}
|
|
6202
6315
|
|
|
6316
|
+
/**
|
|
6317
|
+
* User.createdInvites
|
|
6318
|
+
*/
|
|
6319
|
+
export type User$createdInvitesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6320
|
+
/**
|
|
6321
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
6322
|
+
*/
|
|
6323
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
6324
|
+
/**
|
|
6325
|
+
* Omit specific fields from the OrganizationInvite
|
|
6326
|
+
*/
|
|
6327
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
6328
|
+
/**
|
|
6329
|
+
* Choose, which related nodes to fetch as well
|
|
6330
|
+
*/
|
|
6331
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
6332
|
+
where?: OrganizationInviteWhereInput
|
|
6333
|
+
orderBy?: OrganizationInviteOrderByWithRelationInput | OrganizationInviteOrderByWithRelationInput[]
|
|
6334
|
+
cursor?: OrganizationInviteWhereUniqueInput
|
|
6335
|
+
take?: number
|
|
6336
|
+
skip?: number
|
|
6337
|
+
distinct?: OrganizationInviteScalarFieldEnum | OrganizationInviteScalarFieldEnum[]
|
|
6338
|
+
}
|
|
6339
|
+
|
|
6203
6340
|
/**
|
|
6204
6341
|
* User.accounts
|
|
6205
6342
|
*/
|
|
@@ -7903,6 +8040,7 @@ export namespace Prisma {
|
|
|
7903
8040
|
updatedAt?: boolean
|
|
7904
8041
|
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
7905
8042
|
members?: boolean | Organization$membersArgs<ExtArgs>
|
|
8043
|
+
invites?: boolean | Organization$invitesArgs<ExtArgs>
|
|
7906
8044
|
stripeCustomer?: boolean | Organization$stripeCustomerArgs<ExtArgs>
|
|
7907
8045
|
_count?: boolean | OrganizationCountOutputTypeDefaultArgs<ExtArgs>
|
|
7908
8046
|
}, ExtArgs["result"]["organization"]>
|
|
@@ -7985,6 +8123,7 @@ export namespace Prisma {
|
|
|
7985
8123
|
export type OrganizationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7986
8124
|
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
7987
8125
|
members?: boolean | Organization$membersArgs<ExtArgs>
|
|
8126
|
+
invites?: boolean | Organization$invitesArgs<ExtArgs>
|
|
7988
8127
|
stripeCustomer?: boolean | Organization$stripeCustomerArgs<ExtArgs>
|
|
7989
8128
|
_count?: boolean | OrganizationCountOutputTypeDefaultArgs<ExtArgs>
|
|
7990
8129
|
}
|
|
@@ -8000,6 +8139,7 @@ export namespace Prisma {
|
|
|
8000
8139
|
objects: {
|
|
8001
8140
|
owner: Prisma.$UserPayload<ExtArgs>
|
|
8002
8141
|
members: Prisma.$OrganizationMemberPayload<ExtArgs>[]
|
|
8142
|
+
invites: Prisma.$OrganizationInvitePayload<ExtArgs>[]
|
|
8003
8143
|
stripeCustomer: Prisma.$StripeCustomerPayload<ExtArgs> | null
|
|
8004
8144
|
}
|
|
8005
8145
|
scalars: $Extensions.GetPayloadResult<{
|
|
@@ -8420,6 +8560,7 @@ export namespace Prisma {
|
|
|
8420
8560
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
8421
8561
|
owner<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
8422
8562
|
members<T extends Organization$membersArgs<ExtArgs> = {}>(args?: Subset<T, Organization$membersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
8563
|
+
invites<T extends Organization$invitesArgs<ExtArgs> = {}>(args?: Subset<T, Organization$invitesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
8423
8564
|
stripeCustomer<T extends Organization$stripeCustomerArgs<ExtArgs> = {}>(args?: Subset<T, Organization$stripeCustomerArgs<ExtArgs>>): Prisma__StripeCustomerClient<$Result.GetResult<Prisma.$StripeCustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
8424
8565
|
/**
|
|
8425
8566
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -8890,6 +9031,30 @@ export namespace Prisma {
|
|
|
8890
9031
|
distinct?: OrganizationMemberScalarFieldEnum | OrganizationMemberScalarFieldEnum[]
|
|
8891
9032
|
}
|
|
8892
9033
|
|
|
9034
|
+
/**
|
|
9035
|
+
* Organization.invites
|
|
9036
|
+
*/
|
|
9037
|
+
export type Organization$invitesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9038
|
+
/**
|
|
9039
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9040
|
+
*/
|
|
9041
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9042
|
+
/**
|
|
9043
|
+
* Omit specific fields from the OrganizationInvite
|
|
9044
|
+
*/
|
|
9045
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9046
|
+
/**
|
|
9047
|
+
* Choose, which related nodes to fetch as well
|
|
9048
|
+
*/
|
|
9049
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9050
|
+
where?: OrganizationInviteWhereInput
|
|
9051
|
+
orderBy?: OrganizationInviteOrderByWithRelationInput | OrganizationInviteOrderByWithRelationInput[]
|
|
9052
|
+
cursor?: OrganizationInviteWhereUniqueInput
|
|
9053
|
+
take?: number
|
|
9054
|
+
skip?: number
|
|
9055
|
+
distinct?: OrganizationInviteScalarFieldEnum | OrganizationInviteScalarFieldEnum[]
|
|
9056
|
+
}
|
|
9057
|
+
|
|
8893
9058
|
/**
|
|
8894
9059
|
* Organization.stripeCustomer
|
|
8895
9060
|
*/
|
|
@@ -9572,425 +9737,1646 @@ export namespace Prisma {
|
|
|
9572
9737
|
|
|
9573
9738
|
|
|
9574
9739
|
/**
|
|
9575
|
-
* Fields of the OrganizationMember model
|
|
9740
|
+
* Fields of the OrganizationMember model
|
|
9741
|
+
*/
|
|
9742
|
+
interface OrganizationMemberFieldRefs {
|
|
9743
|
+
readonly id: FieldRef<"OrganizationMember", 'String'>
|
|
9744
|
+
readonly organizationId: FieldRef<"OrganizationMember", 'String'>
|
|
9745
|
+
readonly userId: FieldRef<"OrganizationMember", 'String'>
|
|
9746
|
+
readonly role: FieldRef<"OrganizationMember", 'MemberRole'>
|
|
9747
|
+
readonly joinedAt: FieldRef<"OrganizationMember", 'DateTime'>
|
|
9748
|
+
}
|
|
9749
|
+
|
|
9750
|
+
|
|
9751
|
+
// Custom InputTypes
|
|
9752
|
+
/**
|
|
9753
|
+
* OrganizationMember findUnique
|
|
9754
|
+
*/
|
|
9755
|
+
export type OrganizationMemberFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9756
|
+
/**
|
|
9757
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
9758
|
+
*/
|
|
9759
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
9760
|
+
/**
|
|
9761
|
+
* Omit specific fields from the OrganizationMember
|
|
9762
|
+
*/
|
|
9763
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
9764
|
+
/**
|
|
9765
|
+
* Choose, which related nodes to fetch as well
|
|
9766
|
+
*/
|
|
9767
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
9768
|
+
/**
|
|
9769
|
+
* Filter, which OrganizationMember to fetch.
|
|
9770
|
+
*/
|
|
9771
|
+
where: OrganizationMemberWhereUniqueInput
|
|
9772
|
+
}
|
|
9773
|
+
|
|
9774
|
+
/**
|
|
9775
|
+
* OrganizationMember findUniqueOrThrow
|
|
9776
|
+
*/
|
|
9777
|
+
export type OrganizationMemberFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9778
|
+
/**
|
|
9779
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
9780
|
+
*/
|
|
9781
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
9782
|
+
/**
|
|
9783
|
+
* Omit specific fields from the OrganizationMember
|
|
9784
|
+
*/
|
|
9785
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
9786
|
+
/**
|
|
9787
|
+
* Choose, which related nodes to fetch as well
|
|
9788
|
+
*/
|
|
9789
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
9790
|
+
/**
|
|
9791
|
+
* Filter, which OrganizationMember to fetch.
|
|
9792
|
+
*/
|
|
9793
|
+
where: OrganizationMemberWhereUniqueInput
|
|
9794
|
+
}
|
|
9795
|
+
|
|
9796
|
+
/**
|
|
9797
|
+
* OrganizationMember findFirst
|
|
9798
|
+
*/
|
|
9799
|
+
export type OrganizationMemberFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9800
|
+
/**
|
|
9801
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
9802
|
+
*/
|
|
9803
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
9804
|
+
/**
|
|
9805
|
+
* Omit specific fields from the OrganizationMember
|
|
9806
|
+
*/
|
|
9807
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
9808
|
+
/**
|
|
9809
|
+
* Choose, which related nodes to fetch as well
|
|
9810
|
+
*/
|
|
9811
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
9812
|
+
/**
|
|
9813
|
+
* Filter, which OrganizationMember to fetch.
|
|
9814
|
+
*/
|
|
9815
|
+
where?: OrganizationMemberWhereInput
|
|
9816
|
+
/**
|
|
9817
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9818
|
+
*
|
|
9819
|
+
* Determine the order of OrganizationMembers to fetch.
|
|
9820
|
+
*/
|
|
9821
|
+
orderBy?: OrganizationMemberOrderByWithRelationInput | OrganizationMemberOrderByWithRelationInput[]
|
|
9822
|
+
/**
|
|
9823
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9824
|
+
*
|
|
9825
|
+
* Sets the position for searching for OrganizationMembers.
|
|
9826
|
+
*/
|
|
9827
|
+
cursor?: OrganizationMemberWhereUniqueInput
|
|
9828
|
+
/**
|
|
9829
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9830
|
+
*
|
|
9831
|
+
* Take `±n` OrganizationMembers from the position of the cursor.
|
|
9832
|
+
*/
|
|
9833
|
+
take?: number
|
|
9834
|
+
/**
|
|
9835
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9836
|
+
*
|
|
9837
|
+
* Skip the first `n` OrganizationMembers.
|
|
9838
|
+
*/
|
|
9839
|
+
skip?: number
|
|
9840
|
+
/**
|
|
9841
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
9842
|
+
*
|
|
9843
|
+
* Filter by unique combinations of OrganizationMembers.
|
|
9844
|
+
*/
|
|
9845
|
+
distinct?: OrganizationMemberScalarFieldEnum | OrganizationMemberScalarFieldEnum[]
|
|
9846
|
+
}
|
|
9847
|
+
|
|
9848
|
+
/**
|
|
9849
|
+
* OrganizationMember findFirstOrThrow
|
|
9850
|
+
*/
|
|
9851
|
+
export type OrganizationMemberFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9852
|
+
/**
|
|
9853
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
9854
|
+
*/
|
|
9855
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
9856
|
+
/**
|
|
9857
|
+
* Omit specific fields from the OrganizationMember
|
|
9858
|
+
*/
|
|
9859
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
9860
|
+
/**
|
|
9861
|
+
* Choose, which related nodes to fetch as well
|
|
9862
|
+
*/
|
|
9863
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
9864
|
+
/**
|
|
9865
|
+
* Filter, which OrganizationMember to fetch.
|
|
9866
|
+
*/
|
|
9867
|
+
where?: OrganizationMemberWhereInput
|
|
9868
|
+
/**
|
|
9869
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9870
|
+
*
|
|
9871
|
+
* Determine the order of OrganizationMembers to fetch.
|
|
9872
|
+
*/
|
|
9873
|
+
orderBy?: OrganizationMemberOrderByWithRelationInput | OrganizationMemberOrderByWithRelationInput[]
|
|
9874
|
+
/**
|
|
9875
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9876
|
+
*
|
|
9877
|
+
* Sets the position for searching for OrganizationMembers.
|
|
9878
|
+
*/
|
|
9879
|
+
cursor?: OrganizationMemberWhereUniqueInput
|
|
9880
|
+
/**
|
|
9881
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9882
|
+
*
|
|
9883
|
+
* Take `±n` OrganizationMembers from the position of the cursor.
|
|
9884
|
+
*/
|
|
9885
|
+
take?: number
|
|
9886
|
+
/**
|
|
9887
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9888
|
+
*
|
|
9889
|
+
* Skip the first `n` OrganizationMembers.
|
|
9890
|
+
*/
|
|
9891
|
+
skip?: number
|
|
9892
|
+
/**
|
|
9893
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
9894
|
+
*
|
|
9895
|
+
* Filter by unique combinations of OrganizationMembers.
|
|
9896
|
+
*/
|
|
9897
|
+
distinct?: OrganizationMemberScalarFieldEnum | OrganizationMemberScalarFieldEnum[]
|
|
9898
|
+
}
|
|
9899
|
+
|
|
9900
|
+
/**
|
|
9901
|
+
* OrganizationMember findMany
|
|
9902
|
+
*/
|
|
9903
|
+
export type OrganizationMemberFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9904
|
+
/**
|
|
9905
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
9906
|
+
*/
|
|
9907
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
9908
|
+
/**
|
|
9909
|
+
* Omit specific fields from the OrganizationMember
|
|
9910
|
+
*/
|
|
9911
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
9912
|
+
/**
|
|
9913
|
+
* Choose, which related nodes to fetch as well
|
|
9914
|
+
*/
|
|
9915
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
9916
|
+
/**
|
|
9917
|
+
* Filter, which OrganizationMembers to fetch.
|
|
9918
|
+
*/
|
|
9919
|
+
where?: OrganizationMemberWhereInput
|
|
9920
|
+
/**
|
|
9921
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9922
|
+
*
|
|
9923
|
+
* Determine the order of OrganizationMembers to fetch.
|
|
9924
|
+
*/
|
|
9925
|
+
orderBy?: OrganizationMemberOrderByWithRelationInput | OrganizationMemberOrderByWithRelationInput[]
|
|
9926
|
+
/**
|
|
9927
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9928
|
+
*
|
|
9929
|
+
* Sets the position for listing OrganizationMembers.
|
|
9930
|
+
*/
|
|
9931
|
+
cursor?: OrganizationMemberWhereUniqueInput
|
|
9932
|
+
/**
|
|
9933
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9934
|
+
*
|
|
9935
|
+
* Take `±n` OrganizationMembers from the position of the cursor.
|
|
9936
|
+
*/
|
|
9937
|
+
take?: number
|
|
9938
|
+
/**
|
|
9939
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9940
|
+
*
|
|
9941
|
+
* Skip the first `n` OrganizationMembers.
|
|
9942
|
+
*/
|
|
9943
|
+
skip?: number
|
|
9944
|
+
distinct?: OrganizationMemberScalarFieldEnum | OrganizationMemberScalarFieldEnum[]
|
|
9945
|
+
}
|
|
9946
|
+
|
|
9947
|
+
/**
|
|
9948
|
+
* OrganizationMember create
|
|
9949
|
+
*/
|
|
9950
|
+
export type OrganizationMemberCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9951
|
+
/**
|
|
9952
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
9953
|
+
*/
|
|
9954
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
9955
|
+
/**
|
|
9956
|
+
* Omit specific fields from the OrganizationMember
|
|
9957
|
+
*/
|
|
9958
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
9959
|
+
/**
|
|
9960
|
+
* Choose, which related nodes to fetch as well
|
|
9961
|
+
*/
|
|
9962
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
9963
|
+
/**
|
|
9964
|
+
* The data needed to create a OrganizationMember.
|
|
9965
|
+
*/
|
|
9966
|
+
data: XOR<OrganizationMemberCreateInput, OrganizationMemberUncheckedCreateInput>
|
|
9967
|
+
}
|
|
9968
|
+
|
|
9969
|
+
/**
|
|
9970
|
+
* OrganizationMember createMany
|
|
9971
|
+
*/
|
|
9972
|
+
export type OrganizationMemberCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9973
|
+
/**
|
|
9974
|
+
* The data used to create many OrganizationMembers.
|
|
9975
|
+
*/
|
|
9976
|
+
data: OrganizationMemberCreateManyInput | OrganizationMemberCreateManyInput[]
|
|
9977
|
+
skipDuplicates?: boolean
|
|
9978
|
+
}
|
|
9979
|
+
|
|
9980
|
+
/**
|
|
9981
|
+
* OrganizationMember createManyAndReturn
|
|
9982
|
+
*/
|
|
9983
|
+
export type OrganizationMemberCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9984
|
+
/**
|
|
9985
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
9986
|
+
*/
|
|
9987
|
+
select?: OrganizationMemberSelectCreateManyAndReturn<ExtArgs> | null
|
|
9988
|
+
/**
|
|
9989
|
+
* Omit specific fields from the OrganizationMember
|
|
9990
|
+
*/
|
|
9991
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
9992
|
+
/**
|
|
9993
|
+
* The data used to create many OrganizationMembers.
|
|
9994
|
+
*/
|
|
9995
|
+
data: OrganizationMemberCreateManyInput | OrganizationMemberCreateManyInput[]
|
|
9996
|
+
skipDuplicates?: boolean
|
|
9997
|
+
/**
|
|
9998
|
+
* Choose, which related nodes to fetch as well
|
|
9999
|
+
*/
|
|
10000
|
+
include?: OrganizationMemberIncludeCreateManyAndReturn<ExtArgs> | null
|
|
10001
|
+
}
|
|
10002
|
+
|
|
10003
|
+
/**
|
|
10004
|
+
* OrganizationMember update
|
|
10005
|
+
*/
|
|
10006
|
+
export type OrganizationMemberUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10007
|
+
/**
|
|
10008
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
10009
|
+
*/
|
|
10010
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
10011
|
+
/**
|
|
10012
|
+
* Omit specific fields from the OrganizationMember
|
|
10013
|
+
*/
|
|
10014
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
10015
|
+
/**
|
|
10016
|
+
* Choose, which related nodes to fetch as well
|
|
10017
|
+
*/
|
|
10018
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
10019
|
+
/**
|
|
10020
|
+
* The data needed to update a OrganizationMember.
|
|
10021
|
+
*/
|
|
10022
|
+
data: XOR<OrganizationMemberUpdateInput, OrganizationMemberUncheckedUpdateInput>
|
|
10023
|
+
/**
|
|
10024
|
+
* Choose, which OrganizationMember to update.
|
|
10025
|
+
*/
|
|
10026
|
+
where: OrganizationMemberWhereUniqueInput
|
|
10027
|
+
}
|
|
10028
|
+
|
|
10029
|
+
/**
|
|
10030
|
+
* OrganizationMember updateMany
|
|
10031
|
+
*/
|
|
10032
|
+
export type OrganizationMemberUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10033
|
+
/**
|
|
10034
|
+
* The data used to update OrganizationMembers.
|
|
10035
|
+
*/
|
|
10036
|
+
data: XOR<OrganizationMemberUpdateManyMutationInput, OrganizationMemberUncheckedUpdateManyInput>
|
|
10037
|
+
/**
|
|
10038
|
+
* Filter which OrganizationMembers to update
|
|
10039
|
+
*/
|
|
10040
|
+
where?: OrganizationMemberWhereInput
|
|
10041
|
+
/**
|
|
10042
|
+
* Limit how many OrganizationMembers to update.
|
|
10043
|
+
*/
|
|
10044
|
+
limit?: number
|
|
10045
|
+
}
|
|
10046
|
+
|
|
10047
|
+
/**
|
|
10048
|
+
* OrganizationMember updateManyAndReturn
|
|
10049
|
+
*/
|
|
10050
|
+
export type OrganizationMemberUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10051
|
+
/**
|
|
10052
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
10053
|
+
*/
|
|
10054
|
+
select?: OrganizationMemberSelectUpdateManyAndReturn<ExtArgs> | null
|
|
10055
|
+
/**
|
|
10056
|
+
* Omit specific fields from the OrganizationMember
|
|
10057
|
+
*/
|
|
10058
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
10059
|
+
/**
|
|
10060
|
+
* The data used to update OrganizationMembers.
|
|
10061
|
+
*/
|
|
10062
|
+
data: XOR<OrganizationMemberUpdateManyMutationInput, OrganizationMemberUncheckedUpdateManyInput>
|
|
10063
|
+
/**
|
|
10064
|
+
* Filter which OrganizationMembers to update
|
|
10065
|
+
*/
|
|
10066
|
+
where?: OrganizationMemberWhereInput
|
|
10067
|
+
/**
|
|
10068
|
+
* Limit how many OrganizationMembers to update.
|
|
10069
|
+
*/
|
|
10070
|
+
limit?: number
|
|
10071
|
+
/**
|
|
10072
|
+
* Choose, which related nodes to fetch as well
|
|
10073
|
+
*/
|
|
10074
|
+
include?: OrganizationMemberIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
10075
|
+
}
|
|
10076
|
+
|
|
10077
|
+
/**
|
|
10078
|
+
* OrganizationMember upsert
|
|
10079
|
+
*/
|
|
10080
|
+
export type OrganizationMemberUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10081
|
+
/**
|
|
10082
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
10083
|
+
*/
|
|
10084
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
10085
|
+
/**
|
|
10086
|
+
* Omit specific fields from the OrganizationMember
|
|
10087
|
+
*/
|
|
10088
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
10089
|
+
/**
|
|
10090
|
+
* Choose, which related nodes to fetch as well
|
|
10091
|
+
*/
|
|
10092
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
10093
|
+
/**
|
|
10094
|
+
* The filter to search for the OrganizationMember to update in case it exists.
|
|
10095
|
+
*/
|
|
10096
|
+
where: OrganizationMemberWhereUniqueInput
|
|
10097
|
+
/**
|
|
10098
|
+
* In case the OrganizationMember found by the `where` argument doesn't exist, create a new OrganizationMember with this data.
|
|
10099
|
+
*/
|
|
10100
|
+
create: XOR<OrganizationMemberCreateInput, OrganizationMemberUncheckedCreateInput>
|
|
10101
|
+
/**
|
|
10102
|
+
* In case the OrganizationMember was found with the provided `where` argument, update it with this data.
|
|
10103
|
+
*/
|
|
10104
|
+
update: XOR<OrganizationMemberUpdateInput, OrganizationMemberUncheckedUpdateInput>
|
|
10105
|
+
}
|
|
10106
|
+
|
|
10107
|
+
/**
|
|
10108
|
+
* OrganizationMember delete
|
|
10109
|
+
*/
|
|
10110
|
+
export type OrganizationMemberDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10111
|
+
/**
|
|
10112
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
10113
|
+
*/
|
|
10114
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
10115
|
+
/**
|
|
10116
|
+
* Omit specific fields from the OrganizationMember
|
|
10117
|
+
*/
|
|
10118
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
10119
|
+
/**
|
|
10120
|
+
* Choose, which related nodes to fetch as well
|
|
10121
|
+
*/
|
|
10122
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
10123
|
+
/**
|
|
10124
|
+
* Filter which OrganizationMember to delete.
|
|
10125
|
+
*/
|
|
10126
|
+
where: OrganizationMemberWhereUniqueInput
|
|
10127
|
+
}
|
|
10128
|
+
|
|
10129
|
+
/**
|
|
10130
|
+
* OrganizationMember deleteMany
|
|
10131
|
+
*/
|
|
10132
|
+
export type OrganizationMemberDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10133
|
+
/**
|
|
10134
|
+
* Filter which OrganizationMembers to delete
|
|
10135
|
+
*/
|
|
10136
|
+
where?: OrganizationMemberWhereInput
|
|
10137
|
+
/**
|
|
10138
|
+
* Limit how many OrganizationMembers to delete.
|
|
10139
|
+
*/
|
|
10140
|
+
limit?: number
|
|
10141
|
+
}
|
|
10142
|
+
|
|
10143
|
+
/**
|
|
10144
|
+
* OrganizationMember without action
|
|
10145
|
+
*/
|
|
10146
|
+
export type OrganizationMemberDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10147
|
+
/**
|
|
10148
|
+
* Select specific fields to fetch from the OrganizationMember
|
|
10149
|
+
*/
|
|
10150
|
+
select?: OrganizationMemberSelect<ExtArgs> | null
|
|
10151
|
+
/**
|
|
10152
|
+
* Omit specific fields from the OrganizationMember
|
|
10153
|
+
*/
|
|
10154
|
+
omit?: OrganizationMemberOmit<ExtArgs> | null
|
|
10155
|
+
/**
|
|
10156
|
+
* Choose, which related nodes to fetch as well
|
|
10157
|
+
*/
|
|
10158
|
+
include?: OrganizationMemberInclude<ExtArgs> | null
|
|
10159
|
+
}
|
|
10160
|
+
|
|
10161
|
+
|
|
10162
|
+
/**
|
|
10163
|
+
* Model OrganizationInvite
|
|
10164
|
+
*/
|
|
10165
|
+
|
|
10166
|
+
export type AggregateOrganizationInvite = {
|
|
10167
|
+
_count: OrganizationInviteCountAggregateOutputType | null
|
|
10168
|
+
_avg: OrganizationInviteAvgAggregateOutputType | null
|
|
10169
|
+
_sum: OrganizationInviteSumAggregateOutputType | null
|
|
10170
|
+
_min: OrganizationInviteMinAggregateOutputType | null
|
|
10171
|
+
_max: OrganizationInviteMaxAggregateOutputType | null
|
|
10172
|
+
}
|
|
10173
|
+
|
|
10174
|
+
export type OrganizationInviteAvgAggregateOutputType = {
|
|
10175
|
+
maxUses: number | null
|
|
10176
|
+
currentUses: number | null
|
|
10177
|
+
}
|
|
10178
|
+
|
|
10179
|
+
export type OrganizationInviteSumAggregateOutputType = {
|
|
10180
|
+
maxUses: number | null
|
|
10181
|
+
currentUses: number | null
|
|
10182
|
+
}
|
|
10183
|
+
|
|
10184
|
+
export type OrganizationInviteMinAggregateOutputType = {
|
|
10185
|
+
id: string | null
|
|
10186
|
+
organizationId: string | null
|
|
10187
|
+
token: string | null
|
|
10188
|
+
email: string | null
|
|
10189
|
+
role: $Enums.MemberRole | null
|
|
10190
|
+
createdBy: string | null
|
|
10191
|
+
expiresAt: Date | null
|
|
10192
|
+
maxUses: number | null
|
|
10193
|
+
currentUses: number | null
|
|
10194
|
+
isActive: boolean | null
|
|
10195
|
+
usedAt: Date | null
|
|
10196
|
+
usedBy: string | null
|
|
10197
|
+
createdAt: Date | null
|
|
10198
|
+
updatedAt: Date | null
|
|
10199
|
+
}
|
|
10200
|
+
|
|
10201
|
+
export type OrganizationInviteMaxAggregateOutputType = {
|
|
10202
|
+
id: string | null
|
|
10203
|
+
organizationId: string | null
|
|
10204
|
+
token: string | null
|
|
10205
|
+
email: string | null
|
|
10206
|
+
role: $Enums.MemberRole | null
|
|
10207
|
+
createdBy: string | null
|
|
10208
|
+
expiresAt: Date | null
|
|
10209
|
+
maxUses: number | null
|
|
10210
|
+
currentUses: number | null
|
|
10211
|
+
isActive: boolean | null
|
|
10212
|
+
usedAt: Date | null
|
|
10213
|
+
usedBy: string | null
|
|
10214
|
+
createdAt: Date | null
|
|
10215
|
+
updatedAt: Date | null
|
|
10216
|
+
}
|
|
10217
|
+
|
|
10218
|
+
export type OrganizationInviteCountAggregateOutputType = {
|
|
10219
|
+
id: number
|
|
10220
|
+
organizationId: number
|
|
10221
|
+
token: number
|
|
10222
|
+
email: number
|
|
10223
|
+
role: number
|
|
10224
|
+
createdBy: number
|
|
10225
|
+
expiresAt: number
|
|
10226
|
+
maxUses: number
|
|
10227
|
+
currentUses: number
|
|
10228
|
+
isActive: number
|
|
10229
|
+
usedAt: number
|
|
10230
|
+
usedBy: number
|
|
10231
|
+
createdAt: number
|
|
10232
|
+
updatedAt: number
|
|
10233
|
+
_all: number
|
|
10234
|
+
}
|
|
10235
|
+
|
|
10236
|
+
|
|
10237
|
+
export type OrganizationInviteAvgAggregateInputType = {
|
|
10238
|
+
maxUses?: true
|
|
10239
|
+
currentUses?: true
|
|
10240
|
+
}
|
|
10241
|
+
|
|
10242
|
+
export type OrganizationInviteSumAggregateInputType = {
|
|
10243
|
+
maxUses?: true
|
|
10244
|
+
currentUses?: true
|
|
10245
|
+
}
|
|
10246
|
+
|
|
10247
|
+
export type OrganizationInviteMinAggregateInputType = {
|
|
10248
|
+
id?: true
|
|
10249
|
+
organizationId?: true
|
|
10250
|
+
token?: true
|
|
10251
|
+
email?: true
|
|
10252
|
+
role?: true
|
|
10253
|
+
createdBy?: true
|
|
10254
|
+
expiresAt?: true
|
|
10255
|
+
maxUses?: true
|
|
10256
|
+
currentUses?: true
|
|
10257
|
+
isActive?: true
|
|
10258
|
+
usedAt?: true
|
|
10259
|
+
usedBy?: true
|
|
10260
|
+
createdAt?: true
|
|
10261
|
+
updatedAt?: true
|
|
10262
|
+
}
|
|
10263
|
+
|
|
10264
|
+
export type OrganizationInviteMaxAggregateInputType = {
|
|
10265
|
+
id?: true
|
|
10266
|
+
organizationId?: true
|
|
10267
|
+
token?: true
|
|
10268
|
+
email?: true
|
|
10269
|
+
role?: true
|
|
10270
|
+
createdBy?: true
|
|
10271
|
+
expiresAt?: true
|
|
10272
|
+
maxUses?: true
|
|
10273
|
+
currentUses?: true
|
|
10274
|
+
isActive?: true
|
|
10275
|
+
usedAt?: true
|
|
10276
|
+
usedBy?: true
|
|
10277
|
+
createdAt?: true
|
|
10278
|
+
updatedAt?: true
|
|
10279
|
+
}
|
|
10280
|
+
|
|
10281
|
+
export type OrganizationInviteCountAggregateInputType = {
|
|
10282
|
+
id?: true
|
|
10283
|
+
organizationId?: true
|
|
10284
|
+
token?: true
|
|
10285
|
+
email?: true
|
|
10286
|
+
role?: true
|
|
10287
|
+
createdBy?: true
|
|
10288
|
+
expiresAt?: true
|
|
10289
|
+
maxUses?: true
|
|
10290
|
+
currentUses?: true
|
|
10291
|
+
isActive?: true
|
|
10292
|
+
usedAt?: true
|
|
10293
|
+
usedBy?: true
|
|
10294
|
+
createdAt?: true
|
|
10295
|
+
updatedAt?: true
|
|
10296
|
+
_all?: true
|
|
10297
|
+
}
|
|
10298
|
+
|
|
10299
|
+
export type OrganizationInviteAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10300
|
+
/**
|
|
10301
|
+
* Filter which OrganizationInvite to aggregate.
|
|
10302
|
+
*/
|
|
10303
|
+
where?: OrganizationInviteWhereInput
|
|
10304
|
+
/**
|
|
10305
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
10306
|
+
*
|
|
10307
|
+
* Determine the order of OrganizationInvites to fetch.
|
|
10308
|
+
*/
|
|
10309
|
+
orderBy?: OrganizationInviteOrderByWithRelationInput | OrganizationInviteOrderByWithRelationInput[]
|
|
10310
|
+
/**
|
|
10311
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
10312
|
+
*
|
|
10313
|
+
* Sets the start position
|
|
10314
|
+
*/
|
|
10315
|
+
cursor?: OrganizationInviteWhereUniqueInput
|
|
10316
|
+
/**
|
|
10317
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
10318
|
+
*
|
|
10319
|
+
* Take `±n` OrganizationInvites from the position of the cursor.
|
|
10320
|
+
*/
|
|
10321
|
+
take?: number
|
|
10322
|
+
/**
|
|
10323
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
10324
|
+
*
|
|
10325
|
+
* Skip the first `n` OrganizationInvites.
|
|
10326
|
+
*/
|
|
10327
|
+
skip?: number
|
|
10328
|
+
/**
|
|
10329
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
10330
|
+
*
|
|
10331
|
+
* Count returned OrganizationInvites
|
|
10332
|
+
**/
|
|
10333
|
+
_count?: true | OrganizationInviteCountAggregateInputType
|
|
10334
|
+
/**
|
|
10335
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
10336
|
+
*
|
|
10337
|
+
* Select which fields to average
|
|
10338
|
+
**/
|
|
10339
|
+
_avg?: OrganizationInviteAvgAggregateInputType
|
|
10340
|
+
/**
|
|
10341
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
10342
|
+
*
|
|
10343
|
+
* Select which fields to sum
|
|
10344
|
+
**/
|
|
10345
|
+
_sum?: OrganizationInviteSumAggregateInputType
|
|
10346
|
+
/**
|
|
10347
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
10348
|
+
*
|
|
10349
|
+
* Select which fields to find the minimum value
|
|
10350
|
+
**/
|
|
10351
|
+
_min?: OrganizationInviteMinAggregateInputType
|
|
10352
|
+
/**
|
|
10353
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
10354
|
+
*
|
|
10355
|
+
* Select which fields to find the maximum value
|
|
10356
|
+
**/
|
|
10357
|
+
_max?: OrganizationInviteMaxAggregateInputType
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10360
|
+
export type GetOrganizationInviteAggregateType<T extends OrganizationInviteAggregateArgs> = {
|
|
10361
|
+
[P in keyof T & keyof AggregateOrganizationInvite]: P extends '_count' | 'count'
|
|
10362
|
+
? T[P] extends true
|
|
10363
|
+
? number
|
|
10364
|
+
: GetScalarType<T[P], AggregateOrganizationInvite[P]>
|
|
10365
|
+
: GetScalarType<T[P], AggregateOrganizationInvite[P]>
|
|
10366
|
+
}
|
|
10367
|
+
|
|
10368
|
+
|
|
10369
|
+
|
|
10370
|
+
|
|
10371
|
+
export type OrganizationInviteGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10372
|
+
where?: OrganizationInviteWhereInput
|
|
10373
|
+
orderBy?: OrganizationInviteOrderByWithAggregationInput | OrganizationInviteOrderByWithAggregationInput[]
|
|
10374
|
+
by: OrganizationInviteScalarFieldEnum[] | OrganizationInviteScalarFieldEnum
|
|
10375
|
+
having?: OrganizationInviteScalarWhereWithAggregatesInput
|
|
10376
|
+
take?: number
|
|
10377
|
+
skip?: number
|
|
10378
|
+
_count?: OrganizationInviteCountAggregateInputType | true
|
|
10379
|
+
_avg?: OrganizationInviteAvgAggregateInputType
|
|
10380
|
+
_sum?: OrganizationInviteSumAggregateInputType
|
|
10381
|
+
_min?: OrganizationInviteMinAggregateInputType
|
|
10382
|
+
_max?: OrganizationInviteMaxAggregateInputType
|
|
10383
|
+
}
|
|
10384
|
+
|
|
10385
|
+
export type OrganizationInviteGroupByOutputType = {
|
|
10386
|
+
id: string
|
|
10387
|
+
organizationId: string
|
|
10388
|
+
token: string
|
|
10389
|
+
email: string | null
|
|
10390
|
+
role: $Enums.MemberRole
|
|
10391
|
+
createdBy: string
|
|
10392
|
+
expiresAt: Date
|
|
10393
|
+
maxUses: number
|
|
10394
|
+
currentUses: number
|
|
10395
|
+
isActive: boolean
|
|
10396
|
+
usedAt: Date | null
|
|
10397
|
+
usedBy: string | null
|
|
10398
|
+
createdAt: Date
|
|
10399
|
+
updatedAt: Date
|
|
10400
|
+
_count: OrganizationInviteCountAggregateOutputType | null
|
|
10401
|
+
_avg: OrganizationInviteAvgAggregateOutputType | null
|
|
10402
|
+
_sum: OrganizationInviteSumAggregateOutputType | null
|
|
10403
|
+
_min: OrganizationInviteMinAggregateOutputType | null
|
|
10404
|
+
_max: OrganizationInviteMaxAggregateOutputType | null
|
|
10405
|
+
}
|
|
10406
|
+
|
|
10407
|
+
type GetOrganizationInviteGroupByPayload<T extends OrganizationInviteGroupByArgs> = Prisma.PrismaPromise<
|
|
10408
|
+
Array<
|
|
10409
|
+
PickEnumerable<OrganizationInviteGroupByOutputType, T['by']> &
|
|
10410
|
+
{
|
|
10411
|
+
[P in ((keyof T) & (keyof OrganizationInviteGroupByOutputType))]: P extends '_count'
|
|
10412
|
+
? T[P] extends boolean
|
|
10413
|
+
? number
|
|
10414
|
+
: GetScalarType<T[P], OrganizationInviteGroupByOutputType[P]>
|
|
10415
|
+
: GetScalarType<T[P], OrganizationInviteGroupByOutputType[P]>
|
|
10416
|
+
}
|
|
10417
|
+
>
|
|
10418
|
+
>
|
|
10419
|
+
|
|
10420
|
+
|
|
10421
|
+
export type OrganizationInviteSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
10422
|
+
id?: boolean
|
|
10423
|
+
organizationId?: boolean
|
|
10424
|
+
token?: boolean
|
|
10425
|
+
email?: boolean
|
|
10426
|
+
role?: boolean
|
|
10427
|
+
createdBy?: boolean
|
|
10428
|
+
expiresAt?: boolean
|
|
10429
|
+
maxUses?: boolean
|
|
10430
|
+
currentUses?: boolean
|
|
10431
|
+
isActive?: boolean
|
|
10432
|
+
usedAt?: boolean
|
|
10433
|
+
usedBy?: boolean
|
|
10434
|
+
createdAt?: boolean
|
|
10435
|
+
updatedAt?: boolean
|
|
10436
|
+
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
|
|
10437
|
+
creator?: boolean | UserDefaultArgs<ExtArgs>
|
|
10438
|
+
}, ExtArgs["result"]["organizationInvite"]>
|
|
10439
|
+
|
|
10440
|
+
export type OrganizationInviteSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
10441
|
+
id?: boolean
|
|
10442
|
+
organizationId?: boolean
|
|
10443
|
+
token?: boolean
|
|
10444
|
+
email?: boolean
|
|
10445
|
+
role?: boolean
|
|
10446
|
+
createdBy?: boolean
|
|
10447
|
+
expiresAt?: boolean
|
|
10448
|
+
maxUses?: boolean
|
|
10449
|
+
currentUses?: boolean
|
|
10450
|
+
isActive?: boolean
|
|
10451
|
+
usedAt?: boolean
|
|
10452
|
+
usedBy?: boolean
|
|
10453
|
+
createdAt?: boolean
|
|
10454
|
+
updatedAt?: boolean
|
|
10455
|
+
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
|
|
10456
|
+
creator?: boolean | UserDefaultArgs<ExtArgs>
|
|
10457
|
+
}, ExtArgs["result"]["organizationInvite"]>
|
|
10458
|
+
|
|
10459
|
+
export type OrganizationInviteSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
10460
|
+
id?: boolean
|
|
10461
|
+
organizationId?: boolean
|
|
10462
|
+
token?: boolean
|
|
10463
|
+
email?: boolean
|
|
10464
|
+
role?: boolean
|
|
10465
|
+
createdBy?: boolean
|
|
10466
|
+
expiresAt?: boolean
|
|
10467
|
+
maxUses?: boolean
|
|
10468
|
+
currentUses?: boolean
|
|
10469
|
+
isActive?: boolean
|
|
10470
|
+
usedAt?: boolean
|
|
10471
|
+
usedBy?: boolean
|
|
10472
|
+
createdAt?: boolean
|
|
10473
|
+
updatedAt?: boolean
|
|
10474
|
+
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
|
|
10475
|
+
creator?: boolean | UserDefaultArgs<ExtArgs>
|
|
10476
|
+
}, ExtArgs["result"]["organizationInvite"]>
|
|
10477
|
+
|
|
10478
|
+
export type OrganizationInviteSelectScalar = {
|
|
10479
|
+
id?: boolean
|
|
10480
|
+
organizationId?: boolean
|
|
10481
|
+
token?: boolean
|
|
10482
|
+
email?: boolean
|
|
10483
|
+
role?: boolean
|
|
10484
|
+
createdBy?: boolean
|
|
10485
|
+
expiresAt?: boolean
|
|
10486
|
+
maxUses?: boolean
|
|
10487
|
+
currentUses?: boolean
|
|
10488
|
+
isActive?: boolean
|
|
10489
|
+
usedAt?: boolean
|
|
10490
|
+
usedBy?: boolean
|
|
10491
|
+
createdAt?: boolean
|
|
10492
|
+
updatedAt?: boolean
|
|
10493
|
+
}
|
|
10494
|
+
|
|
10495
|
+
export type OrganizationInviteOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "organizationId" | "token" | "email" | "role" | "createdBy" | "expiresAt" | "maxUses" | "currentUses" | "isActive" | "usedAt" | "usedBy" | "createdAt" | "updatedAt", ExtArgs["result"]["organizationInvite"]>
|
|
10496
|
+
export type OrganizationInviteInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10497
|
+
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
|
|
10498
|
+
creator?: boolean | UserDefaultArgs<ExtArgs>
|
|
10499
|
+
}
|
|
10500
|
+
export type OrganizationInviteIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10501
|
+
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
|
|
10502
|
+
creator?: boolean | UserDefaultArgs<ExtArgs>
|
|
10503
|
+
}
|
|
10504
|
+
export type OrganizationInviteIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10505
|
+
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
|
|
10506
|
+
creator?: boolean | UserDefaultArgs<ExtArgs>
|
|
10507
|
+
}
|
|
10508
|
+
|
|
10509
|
+
export type $OrganizationInvitePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
10510
|
+
name: "OrganizationInvite"
|
|
10511
|
+
objects: {
|
|
10512
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>
|
|
10513
|
+
creator: Prisma.$UserPayload<ExtArgs>
|
|
10514
|
+
}
|
|
10515
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
10516
|
+
id: string
|
|
10517
|
+
organizationId: string
|
|
10518
|
+
token: string
|
|
10519
|
+
email: string | null
|
|
10520
|
+
role: $Enums.MemberRole
|
|
10521
|
+
createdBy: string
|
|
10522
|
+
expiresAt: Date
|
|
10523
|
+
maxUses: number
|
|
10524
|
+
currentUses: number
|
|
10525
|
+
isActive: boolean
|
|
10526
|
+
usedAt: Date | null
|
|
10527
|
+
usedBy: string | null
|
|
10528
|
+
createdAt: Date
|
|
10529
|
+
updatedAt: Date
|
|
10530
|
+
}, ExtArgs["result"]["organizationInvite"]>
|
|
10531
|
+
composites: {}
|
|
10532
|
+
}
|
|
10533
|
+
|
|
10534
|
+
type OrganizationInviteGetPayload<S extends boolean | null | undefined | OrganizationInviteDefaultArgs> = $Result.GetResult<Prisma.$OrganizationInvitePayload, S>
|
|
10535
|
+
|
|
10536
|
+
type OrganizationInviteCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
10537
|
+
Omit<OrganizationInviteFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
10538
|
+
select?: OrganizationInviteCountAggregateInputType | true
|
|
10539
|
+
}
|
|
10540
|
+
|
|
10541
|
+
export interface OrganizationInviteDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
10542
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['OrganizationInvite'], meta: { name: 'OrganizationInvite' } }
|
|
10543
|
+
/**
|
|
10544
|
+
* Find zero or one OrganizationInvite that matches the filter.
|
|
10545
|
+
* @param {OrganizationInviteFindUniqueArgs} args - Arguments to find a OrganizationInvite
|
|
10546
|
+
* @example
|
|
10547
|
+
* // Get one OrganizationInvite
|
|
10548
|
+
* const organizationInvite = await prisma.organizationInvite.findUnique({
|
|
10549
|
+
* where: {
|
|
10550
|
+
* // ... provide filter here
|
|
10551
|
+
* }
|
|
10552
|
+
* })
|
|
10553
|
+
*/
|
|
10554
|
+
findUnique<T extends OrganizationInviteFindUniqueArgs>(args: SelectSubset<T, OrganizationInviteFindUniqueArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
10555
|
+
|
|
10556
|
+
/**
|
|
10557
|
+
* Find one OrganizationInvite that matches the filter or throw an error with `error.code='P2025'`
|
|
10558
|
+
* if no matches were found.
|
|
10559
|
+
* @param {OrganizationInviteFindUniqueOrThrowArgs} args - Arguments to find a OrganizationInvite
|
|
10560
|
+
* @example
|
|
10561
|
+
* // Get one OrganizationInvite
|
|
10562
|
+
* const organizationInvite = await prisma.organizationInvite.findUniqueOrThrow({
|
|
10563
|
+
* where: {
|
|
10564
|
+
* // ... provide filter here
|
|
10565
|
+
* }
|
|
10566
|
+
* })
|
|
10567
|
+
*/
|
|
10568
|
+
findUniqueOrThrow<T extends OrganizationInviteFindUniqueOrThrowArgs>(args: SelectSubset<T, OrganizationInviteFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
10569
|
+
|
|
10570
|
+
/**
|
|
10571
|
+
* Find the first OrganizationInvite that matches the filter.
|
|
10572
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10573
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10574
|
+
* @param {OrganizationInviteFindFirstArgs} args - Arguments to find a OrganizationInvite
|
|
10575
|
+
* @example
|
|
10576
|
+
* // Get one OrganizationInvite
|
|
10577
|
+
* const organizationInvite = await prisma.organizationInvite.findFirst({
|
|
10578
|
+
* where: {
|
|
10579
|
+
* // ... provide filter here
|
|
10580
|
+
* }
|
|
10581
|
+
* })
|
|
10582
|
+
*/
|
|
10583
|
+
findFirst<T extends OrganizationInviteFindFirstArgs>(args?: SelectSubset<T, OrganizationInviteFindFirstArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
10584
|
+
|
|
10585
|
+
/**
|
|
10586
|
+
* Find the first OrganizationInvite that matches the filter or
|
|
10587
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
10588
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10589
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10590
|
+
* @param {OrganizationInviteFindFirstOrThrowArgs} args - Arguments to find a OrganizationInvite
|
|
10591
|
+
* @example
|
|
10592
|
+
* // Get one OrganizationInvite
|
|
10593
|
+
* const organizationInvite = await prisma.organizationInvite.findFirstOrThrow({
|
|
10594
|
+
* where: {
|
|
10595
|
+
* // ... provide filter here
|
|
10596
|
+
* }
|
|
10597
|
+
* })
|
|
10598
|
+
*/
|
|
10599
|
+
findFirstOrThrow<T extends OrganizationInviteFindFirstOrThrowArgs>(args?: SelectSubset<T, OrganizationInviteFindFirstOrThrowArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
10600
|
+
|
|
10601
|
+
/**
|
|
10602
|
+
* Find zero or more OrganizationInvites that matches the filter.
|
|
10603
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10604
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10605
|
+
* @param {OrganizationInviteFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
10606
|
+
* @example
|
|
10607
|
+
* // Get all OrganizationInvites
|
|
10608
|
+
* const organizationInvites = await prisma.organizationInvite.findMany()
|
|
10609
|
+
*
|
|
10610
|
+
* // Get first 10 OrganizationInvites
|
|
10611
|
+
* const organizationInvites = await prisma.organizationInvite.findMany({ take: 10 })
|
|
10612
|
+
*
|
|
10613
|
+
* // Only select the `id`
|
|
10614
|
+
* const organizationInviteWithIdOnly = await prisma.organizationInvite.findMany({ select: { id: true } })
|
|
10615
|
+
*
|
|
10616
|
+
*/
|
|
10617
|
+
findMany<T extends OrganizationInviteFindManyArgs>(args?: SelectSubset<T, OrganizationInviteFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
10618
|
+
|
|
10619
|
+
/**
|
|
10620
|
+
* Create a OrganizationInvite.
|
|
10621
|
+
* @param {OrganizationInviteCreateArgs} args - Arguments to create a OrganizationInvite.
|
|
10622
|
+
* @example
|
|
10623
|
+
* // Create one OrganizationInvite
|
|
10624
|
+
* const OrganizationInvite = await prisma.organizationInvite.create({
|
|
10625
|
+
* data: {
|
|
10626
|
+
* // ... data to create a OrganizationInvite
|
|
10627
|
+
* }
|
|
10628
|
+
* })
|
|
10629
|
+
*
|
|
10630
|
+
*/
|
|
10631
|
+
create<T extends OrganizationInviteCreateArgs>(args: SelectSubset<T, OrganizationInviteCreateArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
10632
|
+
|
|
10633
|
+
/**
|
|
10634
|
+
* Create many OrganizationInvites.
|
|
10635
|
+
* @param {OrganizationInviteCreateManyArgs} args - Arguments to create many OrganizationInvites.
|
|
10636
|
+
* @example
|
|
10637
|
+
* // Create many OrganizationInvites
|
|
10638
|
+
* const organizationInvite = await prisma.organizationInvite.createMany({
|
|
10639
|
+
* data: [
|
|
10640
|
+
* // ... provide data here
|
|
10641
|
+
* ]
|
|
10642
|
+
* })
|
|
10643
|
+
*
|
|
10644
|
+
*/
|
|
10645
|
+
createMany<T extends OrganizationInviteCreateManyArgs>(args?: SelectSubset<T, OrganizationInviteCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
10646
|
+
|
|
10647
|
+
/**
|
|
10648
|
+
* Create many OrganizationInvites and returns the data saved in the database.
|
|
10649
|
+
* @param {OrganizationInviteCreateManyAndReturnArgs} args - Arguments to create many OrganizationInvites.
|
|
10650
|
+
* @example
|
|
10651
|
+
* // Create many OrganizationInvites
|
|
10652
|
+
* const organizationInvite = await prisma.organizationInvite.createManyAndReturn({
|
|
10653
|
+
* data: [
|
|
10654
|
+
* // ... provide data here
|
|
10655
|
+
* ]
|
|
10656
|
+
* })
|
|
10657
|
+
*
|
|
10658
|
+
* // Create many OrganizationInvites and only return the `id`
|
|
10659
|
+
* const organizationInviteWithIdOnly = await prisma.organizationInvite.createManyAndReturn({
|
|
10660
|
+
* select: { id: true },
|
|
10661
|
+
* data: [
|
|
10662
|
+
* // ... provide data here
|
|
10663
|
+
* ]
|
|
10664
|
+
* })
|
|
10665
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10666
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10667
|
+
*
|
|
10668
|
+
*/
|
|
10669
|
+
createManyAndReturn<T extends OrganizationInviteCreateManyAndReturnArgs>(args?: SelectSubset<T, OrganizationInviteCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
10670
|
+
|
|
10671
|
+
/**
|
|
10672
|
+
* Delete a OrganizationInvite.
|
|
10673
|
+
* @param {OrganizationInviteDeleteArgs} args - Arguments to delete one OrganizationInvite.
|
|
10674
|
+
* @example
|
|
10675
|
+
* // Delete one OrganizationInvite
|
|
10676
|
+
* const OrganizationInvite = await prisma.organizationInvite.delete({
|
|
10677
|
+
* where: {
|
|
10678
|
+
* // ... filter to delete one OrganizationInvite
|
|
10679
|
+
* }
|
|
10680
|
+
* })
|
|
10681
|
+
*
|
|
10682
|
+
*/
|
|
10683
|
+
delete<T extends OrganizationInviteDeleteArgs>(args: SelectSubset<T, OrganizationInviteDeleteArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
10684
|
+
|
|
10685
|
+
/**
|
|
10686
|
+
* Update one OrganizationInvite.
|
|
10687
|
+
* @param {OrganizationInviteUpdateArgs} args - Arguments to update one OrganizationInvite.
|
|
10688
|
+
* @example
|
|
10689
|
+
* // Update one OrganizationInvite
|
|
10690
|
+
* const organizationInvite = await prisma.organizationInvite.update({
|
|
10691
|
+
* where: {
|
|
10692
|
+
* // ... provide filter here
|
|
10693
|
+
* },
|
|
10694
|
+
* data: {
|
|
10695
|
+
* // ... provide data here
|
|
10696
|
+
* }
|
|
10697
|
+
* })
|
|
10698
|
+
*
|
|
10699
|
+
*/
|
|
10700
|
+
update<T extends OrganizationInviteUpdateArgs>(args: SelectSubset<T, OrganizationInviteUpdateArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
10701
|
+
|
|
10702
|
+
/**
|
|
10703
|
+
* Delete zero or more OrganizationInvites.
|
|
10704
|
+
* @param {OrganizationInviteDeleteManyArgs} args - Arguments to filter OrganizationInvites to delete.
|
|
10705
|
+
* @example
|
|
10706
|
+
* // Delete a few OrganizationInvites
|
|
10707
|
+
* const { count } = await prisma.organizationInvite.deleteMany({
|
|
10708
|
+
* where: {
|
|
10709
|
+
* // ... provide filter here
|
|
10710
|
+
* }
|
|
10711
|
+
* })
|
|
10712
|
+
*
|
|
10713
|
+
*/
|
|
10714
|
+
deleteMany<T extends OrganizationInviteDeleteManyArgs>(args?: SelectSubset<T, OrganizationInviteDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
10715
|
+
|
|
10716
|
+
/**
|
|
10717
|
+
* Update zero or more OrganizationInvites.
|
|
10718
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10719
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10720
|
+
* @param {OrganizationInviteUpdateManyArgs} args - Arguments to update one or more rows.
|
|
10721
|
+
* @example
|
|
10722
|
+
* // Update many OrganizationInvites
|
|
10723
|
+
* const organizationInvite = await prisma.organizationInvite.updateMany({
|
|
10724
|
+
* where: {
|
|
10725
|
+
* // ... provide filter here
|
|
10726
|
+
* },
|
|
10727
|
+
* data: {
|
|
10728
|
+
* // ... provide data here
|
|
10729
|
+
* }
|
|
10730
|
+
* })
|
|
10731
|
+
*
|
|
10732
|
+
*/
|
|
10733
|
+
updateMany<T extends OrganizationInviteUpdateManyArgs>(args: SelectSubset<T, OrganizationInviteUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
10734
|
+
|
|
10735
|
+
/**
|
|
10736
|
+
* Update zero or more OrganizationInvites and returns the data updated in the database.
|
|
10737
|
+
* @param {OrganizationInviteUpdateManyAndReturnArgs} args - Arguments to update many OrganizationInvites.
|
|
10738
|
+
* @example
|
|
10739
|
+
* // Update many OrganizationInvites
|
|
10740
|
+
* const organizationInvite = await prisma.organizationInvite.updateManyAndReturn({
|
|
10741
|
+
* where: {
|
|
10742
|
+
* // ... provide filter here
|
|
10743
|
+
* },
|
|
10744
|
+
* data: [
|
|
10745
|
+
* // ... provide data here
|
|
10746
|
+
* ]
|
|
10747
|
+
* })
|
|
10748
|
+
*
|
|
10749
|
+
* // Update zero or more OrganizationInvites and only return the `id`
|
|
10750
|
+
* const organizationInviteWithIdOnly = await prisma.organizationInvite.updateManyAndReturn({
|
|
10751
|
+
* select: { id: true },
|
|
10752
|
+
* where: {
|
|
10753
|
+
* // ... provide filter here
|
|
10754
|
+
* },
|
|
10755
|
+
* data: [
|
|
10756
|
+
* // ... provide data here
|
|
10757
|
+
* ]
|
|
10758
|
+
* })
|
|
10759
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10760
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10761
|
+
*
|
|
10762
|
+
*/
|
|
10763
|
+
updateManyAndReturn<T extends OrganizationInviteUpdateManyAndReturnArgs>(args: SelectSubset<T, OrganizationInviteUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
10764
|
+
|
|
10765
|
+
/**
|
|
10766
|
+
* Create or update one OrganizationInvite.
|
|
10767
|
+
* @param {OrganizationInviteUpsertArgs} args - Arguments to update or create a OrganizationInvite.
|
|
10768
|
+
* @example
|
|
10769
|
+
* // Update or create a OrganizationInvite
|
|
10770
|
+
* const organizationInvite = await prisma.organizationInvite.upsert({
|
|
10771
|
+
* create: {
|
|
10772
|
+
* // ... data to create a OrganizationInvite
|
|
10773
|
+
* },
|
|
10774
|
+
* update: {
|
|
10775
|
+
* // ... in case it already exists, update
|
|
10776
|
+
* },
|
|
10777
|
+
* where: {
|
|
10778
|
+
* // ... the filter for the OrganizationInvite we want to update
|
|
10779
|
+
* }
|
|
10780
|
+
* })
|
|
10781
|
+
*/
|
|
10782
|
+
upsert<T extends OrganizationInviteUpsertArgs>(args: SelectSubset<T, OrganizationInviteUpsertArgs<ExtArgs>>): Prisma__OrganizationInviteClient<$Result.GetResult<Prisma.$OrganizationInvitePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
10783
|
+
|
|
10784
|
+
|
|
10785
|
+
/**
|
|
10786
|
+
* Count the number of OrganizationInvites.
|
|
10787
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10788
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10789
|
+
* @param {OrganizationInviteCountArgs} args - Arguments to filter OrganizationInvites to count.
|
|
10790
|
+
* @example
|
|
10791
|
+
* // Count the number of OrganizationInvites
|
|
10792
|
+
* const count = await prisma.organizationInvite.count({
|
|
10793
|
+
* where: {
|
|
10794
|
+
* // ... the filter for the OrganizationInvites we want to count
|
|
10795
|
+
* }
|
|
10796
|
+
* })
|
|
10797
|
+
**/
|
|
10798
|
+
count<T extends OrganizationInviteCountArgs>(
|
|
10799
|
+
args?: Subset<T, OrganizationInviteCountArgs>,
|
|
10800
|
+
): Prisma.PrismaPromise<
|
|
10801
|
+
T extends $Utils.Record<'select', any>
|
|
10802
|
+
? T['select'] extends true
|
|
10803
|
+
? number
|
|
10804
|
+
: GetScalarType<T['select'], OrganizationInviteCountAggregateOutputType>
|
|
10805
|
+
: number
|
|
10806
|
+
>
|
|
10807
|
+
|
|
10808
|
+
/**
|
|
10809
|
+
* Allows you to perform aggregations operations on a OrganizationInvite.
|
|
10810
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10811
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10812
|
+
* @param {OrganizationInviteAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
10813
|
+
* @example
|
|
10814
|
+
* // Ordered by age ascending
|
|
10815
|
+
* // Where email contains prisma.io
|
|
10816
|
+
* // Limited to the 10 users
|
|
10817
|
+
* const aggregations = await prisma.user.aggregate({
|
|
10818
|
+
* _avg: {
|
|
10819
|
+
* age: true,
|
|
10820
|
+
* },
|
|
10821
|
+
* where: {
|
|
10822
|
+
* email: {
|
|
10823
|
+
* contains: "prisma.io",
|
|
10824
|
+
* },
|
|
10825
|
+
* },
|
|
10826
|
+
* orderBy: {
|
|
10827
|
+
* age: "asc",
|
|
10828
|
+
* },
|
|
10829
|
+
* take: 10,
|
|
10830
|
+
* })
|
|
10831
|
+
**/
|
|
10832
|
+
aggregate<T extends OrganizationInviteAggregateArgs>(args: Subset<T, OrganizationInviteAggregateArgs>): Prisma.PrismaPromise<GetOrganizationInviteAggregateType<T>>
|
|
10833
|
+
|
|
10834
|
+
/**
|
|
10835
|
+
* Group by OrganizationInvite.
|
|
10836
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
10837
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
10838
|
+
* @param {OrganizationInviteGroupByArgs} args - Group by arguments.
|
|
10839
|
+
* @example
|
|
10840
|
+
* // Group by city, order by createdAt, get count
|
|
10841
|
+
* const result = await prisma.user.groupBy({
|
|
10842
|
+
* by: ['city', 'createdAt'],
|
|
10843
|
+
* orderBy: {
|
|
10844
|
+
* createdAt: true
|
|
10845
|
+
* },
|
|
10846
|
+
* _count: {
|
|
10847
|
+
* _all: true
|
|
10848
|
+
* },
|
|
10849
|
+
* })
|
|
10850
|
+
*
|
|
10851
|
+
**/
|
|
10852
|
+
groupBy<
|
|
10853
|
+
T extends OrganizationInviteGroupByArgs,
|
|
10854
|
+
HasSelectOrTake extends Or<
|
|
10855
|
+
Extends<'skip', Keys<T>>,
|
|
10856
|
+
Extends<'take', Keys<T>>
|
|
10857
|
+
>,
|
|
10858
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
10859
|
+
? { orderBy: OrganizationInviteGroupByArgs['orderBy'] }
|
|
10860
|
+
: { orderBy?: OrganizationInviteGroupByArgs['orderBy'] },
|
|
10861
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
10862
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
10863
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
10864
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
10865
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
10866
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
10867
|
+
InputErrors extends ByEmpty extends True
|
|
10868
|
+
? `Error: "by" must not be empty.`
|
|
10869
|
+
: HavingValid extends False
|
|
10870
|
+
? {
|
|
10871
|
+
[P in HavingFields]: P extends ByFields
|
|
10872
|
+
? never
|
|
10873
|
+
: P extends string
|
|
10874
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
10875
|
+
: [
|
|
10876
|
+
Error,
|
|
10877
|
+
'Field ',
|
|
10878
|
+
P,
|
|
10879
|
+
` in "having" needs to be provided in "by"`,
|
|
10880
|
+
]
|
|
10881
|
+
}[HavingFields]
|
|
10882
|
+
: 'take' extends Keys<T>
|
|
10883
|
+
? 'orderBy' extends Keys<T>
|
|
10884
|
+
? ByValid extends True
|
|
10885
|
+
? {}
|
|
10886
|
+
: {
|
|
10887
|
+
[P in OrderFields]: P extends ByFields
|
|
10888
|
+
? never
|
|
10889
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
10890
|
+
}[OrderFields]
|
|
10891
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
10892
|
+
: 'skip' extends Keys<T>
|
|
10893
|
+
? 'orderBy' extends Keys<T>
|
|
10894
|
+
? ByValid extends True
|
|
10895
|
+
? {}
|
|
10896
|
+
: {
|
|
10897
|
+
[P in OrderFields]: P extends ByFields
|
|
10898
|
+
? never
|
|
10899
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
10900
|
+
}[OrderFields]
|
|
10901
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
10902
|
+
: ByValid extends True
|
|
10903
|
+
? {}
|
|
10904
|
+
: {
|
|
10905
|
+
[P in OrderFields]: P extends ByFields
|
|
10906
|
+
? never
|
|
10907
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
10908
|
+
}[OrderFields]
|
|
10909
|
+
>(args: SubsetIntersection<T, OrganizationInviteGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationInviteGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
10910
|
+
/**
|
|
10911
|
+
* Fields of the OrganizationInvite model
|
|
10912
|
+
*/
|
|
10913
|
+
readonly fields: OrganizationInviteFieldRefs;
|
|
10914
|
+
}
|
|
10915
|
+
|
|
10916
|
+
/**
|
|
10917
|
+
* The delegate class that acts as a "Promise-like" for OrganizationInvite.
|
|
10918
|
+
* Why is this prefixed with `Prisma__`?
|
|
10919
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
10920
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
10921
|
+
*/
|
|
10922
|
+
export interface Prisma__OrganizationInviteClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
10923
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
10924
|
+
organization<T extends OrganizationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, OrganizationDefaultArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
10925
|
+
creator<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
10926
|
+
/**
|
|
10927
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
10928
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
10929
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
10930
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
10931
|
+
*/
|
|
10932
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
10933
|
+
/**
|
|
10934
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
10935
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
10936
|
+
* @returns A Promise for the completion of the callback.
|
|
10937
|
+
*/
|
|
10938
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
10939
|
+
/**
|
|
10940
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
10941
|
+
* resolved value cannot be modified from the callback.
|
|
10942
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
10943
|
+
* @returns A Promise for the completion of the callback.
|
|
10944
|
+
*/
|
|
10945
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
10946
|
+
}
|
|
10947
|
+
|
|
10948
|
+
|
|
10949
|
+
|
|
10950
|
+
|
|
10951
|
+
/**
|
|
10952
|
+
* Fields of the OrganizationInvite model
|
|
9576
10953
|
*/
|
|
9577
|
-
interface
|
|
9578
|
-
readonly id: FieldRef<"
|
|
9579
|
-
readonly organizationId: FieldRef<"
|
|
9580
|
-
readonly
|
|
9581
|
-
readonly
|
|
9582
|
-
readonly
|
|
10954
|
+
interface OrganizationInviteFieldRefs {
|
|
10955
|
+
readonly id: FieldRef<"OrganizationInvite", 'String'>
|
|
10956
|
+
readonly organizationId: FieldRef<"OrganizationInvite", 'String'>
|
|
10957
|
+
readonly token: FieldRef<"OrganizationInvite", 'String'>
|
|
10958
|
+
readonly email: FieldRef<"OrganizationInvite", 'String'>
|
|
10959
|
+
readonly role: FieldRef<"OrganizationInvite", 'MemberRole'>
|
|
10960
|
+
readonly createdBy: FieldRef<"OrganizationInvite", 'String'>
|
|
10961
|
+
readonly expiresAt: FieldRef<"OrganizationInvite", 'DateTime'>
|
|
10962
|
+
readonly maxUses: FieldRef<"OrganizationInvite", 'Int'>
|
|
10963
|
+
readonly currentUses: FieldRef<"OrganizationInvite", 'Int'>
|
|
10964
|
+
readonly isActive: FieldRef<"OrganizationInvite", 'Boolean'>
|
|
10965
|
+
readonly usedAt: FieldRef<"OrganizationInvite", 'DateTime'>
|
|
10966
|
+
readonly usedBy: FieldRef<"OrganizationInvite", 'String'>
|
|
10967
|
+
readonly createdAt: FieldRef<"OrganizationInvite", 'DateTime'>
|
|
10968
|
+
readonly updatedAt: FieldRef<"OrganizationInvite", 'DateTime'>
|
|
9583
10969
|
}
|
|
9584
10970
|
|
|
9585
10971
|
|
|
9586
10972
|
// Custom InputTypes
|
|
9587
10973
|
/**
|
|
9588
|
-
*
|
|
10974
|
+
* OrganizationInvite findUnique
|
|
9589
10975
|
*/
|
|
9590
|
-
export type
|
|
10976
|
+
export type OrganizationInviteFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9591
10977
|
/**
|
|
9592
|
-
* Select specific fields to fetch from the
|
|
10978
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9593
10979
|
*/
|
|
9594
|
-
select?:
|
|
10980
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9595
10981
|
/**
|
|
9596
|
-
* Omit specific fields from the
|
|
10982
|
+
* Omit specific fields from the OrganizationInvite
|
|
9597
10983
|
*/
|
|
9598
|
-
omit?:
|
|
10984
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9599
10985
|
/**
|
|
9600
10986
|
* Choose, which related nodes to fetch as well
|
|
9601
10987
|
*/
|
|
9602
|
-
include?:
|
|
10988
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9603
10989
|
/**
|
|
9604
|
-
* Filter, which
|
|
10990
|
+
* Filter, which OrganizationInvite to fetch.
|
|
9605
10991
|
*/
|
|
9606
|
-
where:
|
|
10992
|
+
where: OrganizationInviteWhereUniqueInput
|
|
9607
10993
|
}
|
|
9608
10994
|
|
|
9609
10995
|
/**
|
|
9610
|
-
*
|
|
10996
|
+
* OrganizationInvite findUniqueOrThrow
|
|
9611
10997
|
*/
|
|
9612
|
-
export type
|
|
10998
|
+
export type OrganizationInviteFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9613
10999
|
/**
|
|
9614
|
-
* Select specific fields to fetch from the
|
|
11000
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9615
11001
|
*/
|
|
9616
|
-
select?:
|
|
11002
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9617
11003
|
/**
|
|
9618
|
-
* Omit specific fields from the
|
|
11004
|
+
* Omit specific fields from the OrganizationInvite
|
|
9619
11005
|
*/
|
|
9620
|
-
omit?:
|
|
11006
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9621
11007
|
/**
|
|
9622
11008
|
* Choose, which related nodes to fetch as well
|
|
9623
11009
|
*/
|
|
9624
|
-
include?:
|
|
11010
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9625
11011
|
/**
|
|
9626
|
-
* Filter, which
|
|
11012
|
+
* Filter, which OrganizationInvite to fetch.
|
|
9627
11013
|
*/
|
|
9628
|
-
where:
|
|
11014
|
+
where: OrganizationInviteWhereUniqueInput
|
|
9629
11015
|
}
|
|
9630
11016
|
|
|
9631
11017
|
/**
|
|
9632
|
-
*
|
|
11018
|
+
* OrganizationInvite findFirst
|
|
9633
11019
|
*/
|
|
9634
|
-
export type
|
|
11020
|
+
export type OrganizationInviteFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9635
11021
|
/**
|
|
9636
|
-
* Select specific fields to fetch from the
|
|
11022
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9637
11023
|
*/
|
|
9638
|
-
select?:
|
|
11024
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9639
11025
|
/**
|
|
9640
|
-
* Omit specific fields from the
|
|
11026
|
+
* Omit specific fields from the OrganizationInvite
|
|
9641
11027
|
*/
|
|
9642
|
-
omit?:
|
|
11028
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9643
11029
|
/**
|
|
9644
11030
|
* Choose, which related nodes to fetch as well
|
|
9645
11031
|
*/
|
|
9646
|
-
include?:
|
|
11032
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9647
11033
|
/**
|
|
9648
|
-
* Filter, which
|
|
11034
|
+
* Filter, which OrganizationInvite to fetch.
|
|
9649
11035
|
*/
|
|
9650
|
-
where?:
|
|
11036
|
+
where?: OrganizationInviteWhereInput
|
|
9651
11037
|
/**
|
|
9652
11038
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9653
11039
|
*
|
|
9654
|
-
* Determine the order of
|
|
11040
|
+
* Determine the order of OrganizationInvites to fetch.
|
|
9655
11041
|
*/
|
|
9656
|
-
orderBy?:
|
|
11042
|
+
orderBy?: OrganizationInviteOrderByWithRelationInput | OrganizationInviteOrderByWithRelationInput[]
|
|
9657
11043
|
/**
|
|
9658
11044
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9659
11045
|
*
|
|
9660
|
-
* Sets the position for searching for
|
|
11046
|
+
* Sets the position for searching for OrganizationInvites.
|
|
9661
11047
|
*/
|
|
9662
|
-
cursor?:
|
|
11048
|
+
cursor?: OrganizationInviteWhereUniqueInput
|
|
9663
11049
|
/**
|
|
9664
11050
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9665
11051
|
*
|
|
9666
|
-
* Take `±n`
|
|
11052
|
+
* Take `±n` OrganizationInvites from the position of the cursor.
|
|
9667
11053
|
*/
|
|
9668
11054
|
take?: number
|
|
9669
11055
|
/**
|
|
9670
11056
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9671
11057
|
*
|
|
9672
|
-
* Skip the first `n`
|
|
11058
|
+
* Skip the first `n` OrganizationInvites.
|
|
9673
11059
|
*/
|
|
9674
11060
|
skip?: number
|
|
9675
11061
|
/**
|
|
9676
11062
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
9677
11063
|
*
|
|
9678
|
-
* Filter by unique combinations of
|
|
11064
|
+
* Filter by unique combinations of OrganizationInvites.
|
|
9679
11065
|
*/
|
|
9680
|
-
distinct?:
|
|
11066
|
+
distinct?: OrganizationInviteScalarFieldEnum | OrganizationInviteScalarFieldEnum[]
|
|
9681
11067
|
}
|
|
9682
11068
|
|
|
9683
11069
|
/**
|
|
9684
|
-
*
|
|
11070
|
+
* OrganizationInvite findFirstOrThrow
|
|
9685
11071
|
*/
|
|
9686
|
-
export type
|
|
11072
|
+
export type OrganizationInviteFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9687
11073
|
/**
|
|
9688
|
-
* Select specific fields to fetch from the
|
|
11074
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9689
11075
|
*/
|
|
9690
|
-
select?:
|
|
11076
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9691
11077
|
/**
|
|
9692
|
-
* Omit specific fields from the
|
|
11078
|
+
* Omit specific fields from the OrganizationInvite
|
|
9693
11079
|
*/
|
|
9694
|
-
omit?:
|
|
11080
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9695
11081
|
/**
|
|
9696
11082
|
* Choose, which related nodes to fetch as well
|
|
9697
11083
|
*/
|
|
9698
|
-
include?:
|
|
11084
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9699
11085
|
/**
|
|
9700
|
-
* Filter, which
|
|
11086
|
+
* Filter, which OrganizationInvite to fetch.
|
|
9701
11087
|
*/
|
|
9702
|
-
where?:
|
|
11088
|
+
where?: OrganizationInviteWhereInput
|
|
9703
11089
|
/**
|
|
9704
11090
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9705
11091
|
*
|
|
9706
|
-
* Determine the order of
|
|
11092
|
+
* Determine the order of OrganizationInvites to fetch.
|
|
9707
11093
|
*/
|
|
9708
|
-
orderBy?:
|
|
11094
|
+
orderBy?: OrganizationInviteOrderByWithRelationInput | OrganizationInviteOrderByWithRelationInput[]
|
|
9709
11095
|
/**
|
|
9710
11096
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9711
11097
|
*
|
|
9712
|
-
* Sets the position for searching for
|
|
11098
|
+
* Sets the position for searching for OrganizationInvites.
|
|
9713
11099
|
*/
|
|
9714
|
-
cursor?:
|
|
11100
|
+
cursor?: OrganizationInviteWhereUniqueInput
|
|
9715
11101
|
/**
|
|
9716
11102
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9717
11103
|
*
|
|
9718
|
-
* Take `±n`
|
|
11104
|
+
* Take `±n` OrganizationInvites from the position of the cursor.
|
|
9719
11105
|
*/
|
|
9720
11106
|
take?: number
|
|
9721
11107
|
/**
|
|
9722
11108
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9723
11109
|
*
|
|
9724
|
-
* Skip the first `n`
|
|
11110
|
+
* Skip the first `n` OrganizationInvites.
|
|
9725
11111
|
*/
|
|
9726
11112
|
skip?: number
|
|
9727
11113
|
/**
|
|
9728
11114
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
9729
11115
|
*
|
|
9730
|
-
* Filter by unique combinations of
|
|
11116
|
+
* Filter by unique combinations of OrganizationInvites.
|
|
9731
11117
|
*/
|
|
9732
|
-
distinct?:
|
|
11118
|
+
distinct?: OrganizationInviteScalarFieldEnum | OrganizationInviteScalarFieldEnum[]
|
|
9733
11119
|
}
|
|
9734
11120
|
|
|
9735
11121
|
/**
|
|
9736
|
-
*
|
|
11122
|
+
* OrganizationInvite findMany
|
|
9737
11123
|
*/
|
|
9738
|
-
export type
|
|
11124
|
+
export type OrganizationInviteFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9739
11125
|
/**
|
|
9740
|
-
* Select specific fields to fetch from the
|
|
11126
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9741
11127
|
*/
|
|
9742
|
-
select?:
|
|
11128
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9743
11129
|
/**
|
|
9744
|
-
* Omit specific fields from the
|
|
11130
|
+
* Omit specific fields from the OrganizationInvite
|
|
9745
11131
|
*/
|
|
9746
|
-
omit?:
|
|
11132
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9747
11133
|
/**
|
|
9748
11134
|
* Choose, which related nodes to fetch as well
|
|
9749
11135
|
*/
|
|
9750
|
-
include?:
|
|
11136
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9751
11137
|
/**
|
|
9752
|
-
* Filter, which
|
|
11138
|
+
* Filter, which OrganizationInvites to fetch.
|
|
9753
11139
|
*/
|
|
9754
|
-
where?:
|
|
11140
|
+
where?: OrganizationInviteWhereInput
|
|
9755
11141
|
/**
|
|
9756
11142
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
9757
11143
|
*
|
|
9758
|
-
* Determine the order of
|
|
11144
|
+
* Determine the order of OrganizationInvites to fetch.
|
|
9759
11145
|
*/
|
|
9760
|
-
orderBy?:
|
|
11146
|
+
orderBy?: OrganizationInviteOrderByWithRelationInput | OrganizationInviteOrderByWithRelationInput[]
|
|
9761
11147
|
/**
|
|
9762
11148
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
9763
11149
|
*
|
|
9764
|
-
* Sets the position for listing
|
|
11150
|
+
* Sets the position for listing OrganizationInvites.
|
|
9765
11151
|
*/
|
|
9766
|
-
cursor?:
|
|
11152
|
+
cursor?: OrganizationInviteWhereUniqueInput
|
|
9767
11153
|
/**
|
|
9768
11154
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9769
11155
|
*
|
|
9770
|
-
* Take `±n`
|
|
11156
|
+
* Take `±n` OrganizationInvites from the position of the cursor.
|
|
9771
11157
|
*/
|
|
9772
11158
|
take?: number
|
|
9773
11159
|
/**
|
|
9774
11160
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
9775
11161
|
*
|
|
9776
|
-
* Skip the first `n`
|
|
11162
|
+
* Skip the first `n` OrganizationInvites.
|
|
9777
11163
|
*/
|
|
9778
11164
|
skip?: number
|
|
9779
|
-
distinct?:
|
|
11165
|
+
distinct?: OrganizationInviteScalarFieldEnum | OrganizationInviteScalarFieldEnum[]
|
|
9780
11166
|
}
|
|
9781
11167
|
|
|
9782
11168
|
/**
|
|
9783
|
-
*
|
|
11169
|
+
* OrganizationInvite create
|
|
9784
11170
|
*/
|
|
9785
|
-
export type
|
|
11171
|
+
export type OrganizationInviteCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9786
11172
|
/**
|
|
9787
|
-
* Select specific fields to fetch from the
|
|
11173
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9788
11174
|
*/
|
|
9789
|
-
select?:
|
|
11175
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9790
11176
|
/**
|
|
9791
|
-
* Omit specific fields from the
|
|
11177
|
+
* Omit specific fields from the OrganizationInvite
|
|
9792
11178
|
*/
|
|
9793
|
-
omit?:
|
|
11179
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9794
11180
|
/**
|
|
9795
11181
|
* Choose, which related nodes to fetch as well
|
|
9796
11182
|
*/
|
|
9797
|
-
include?:
|
|
11183
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9798
11184
|
/**
|
|
9799
|
-
* The data needed to create a
|
|
11185
|
+
* The data needed to create a OrganizationInvite.
|
|
9800
11186
|
*/
|
|
9801
|
-
data: XOR<
|
|
11187
|
+
data: XOR<OrganizationInviteCreateInput, OrganizationInviteUncheckedCreateInput>
|
|
9802
11188
|
}
|
|
9803
11189
|
|
|
9804
11190
|
/**
|
|
9805
|
-
*
|
|
11191
|
+
* OrganizationInvite createMany
|
|
9806
11192
|
*/
|
|
9807
|
-
export type
|
|
11193
|
+
export type OrganizationInviteCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9808
11194
|
/**
|
|
9809
|
-
* The data used to create many
|
|
11195
|
+
* The data used to create many OrganizationInvites.
|
|
9810
11196
|
*/
|
|
9811
|
-
data:
|
|
11197
|
+
data: OrganizationInviteCreateManyInput | OrganizationInviteCreateManyInput[]
|
|
9812
11198
|
skipDuplicates?: boolean
|
|
9813
11199
|
}
|
|
9814
11200
|
|
|
9815
11201
|
/**
|
|
9816
|
-
*
|
|
11202
|
+
* OrganizationInvite createManyAndReturn
|
|
9817
11203
|
*/
|
|
9818
|
-
export type
|
|
11204
|
+
export type OrganizationInviteCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9819
11205
|
/**
|
|
9820
|
-
* Select specific fields to fetch from the
|
|
11206
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9821
11207
|
*/
|
|
9822
|
-
select?:
|
|
11208
|
+
select?: OrganizationInviteSelectCreateManyAndReturn<ExtArgs> | null
|
|
9823
11209
|
/**
|
|
9824
|
-
* Omit specific fields from the
|
|
11210
|
+
* Omit specific fields from the OrganizationInvite
|
|
9825
11211
|
*/
|
|
9826
|
-
omit?:
|
|
11212
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9827
11213
|
/**
|
|
9828
|
-
* The data used to create many
|
|
11214
|
+
* The data used to create many OrganizationInvites.
|
|
9829
11215
|
*/
|
|
9830
|
-
data:
|
|
11216
|
+
data: OrganizationInviteCreateManyInput | OrganizationInviteCreateManyInput[]
|
|
9831
11217
|
skipDuplicates?: boolean
|
|
9832
11218
|
/**
|
|
9833
11219
|
* Choose, which related nodes to fetch as well
|
|
9834
11220
|
*/
|
|
9835
|
-
include?:
|
|
11221
|
+
include?: OrganizationInviteIncludeCreateManyAndReturn<ExtArgs> | null
|
|
9836
11222
|
}
|
|
9837
11223
|
|
|
9838
11224
|
/**
|
|
9839
|
-
*
|
|
11225
|
+
* OrganizationInvite update
|
|
9840
11226
|
*/
|
|
9841
|
-
export type
|
|
11227
|
+
export type OrganizationInviteUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9842
11228
|
/**
|
|
9843
|
-
* Select specific fields to fetch from the
|
|
11229
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9844
11230
|
*/
|
|
9845
|
-
select?:
|
|
11231
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9846
11232
|
/**
|
|
9847
|
-
* Omit specific fields from the
|
|
11233
|
+
* Omit specific fields from the OrganizationInvite
|
|
9848
11234
|
*/
|
|
9849
|
-
omit?:
|
|
11235
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9850
11236
|
/**
|
|
9851
11237
|
* Choose, which related nodes to fetch as well
|
|
9852
11238
|
*/
|
|
9853
|
-
include?:
|
|
11239
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9854
11240
|
/**
|
|
9855
|
-
* The data needed to update a
|
|
11241
|
+
* The data needed to update a OrganizationInvite.
|
|
9856
11242
|
*/
|
|
9857
|
-
data: XOR<
|
|
11243
|
+
data: XOR<OrganizationInviteUpdateInput, OrganizationInviteUncheckedUpdateInput>
|
|
9858
11244
|
/**
|
|
9859
|
-
* Choose, which
|
|
11245
|
+
* Choose, which OrganizationInvite to update.
|
|
9860
11246
|
*/
|
|
9861
|
-
where:
|
|
11247
|
+
where: OrganizationInviteWhereUniqueInput
|
|
9862
11248
|
}
|
|
9863
11249
|
|
|
9864
11250
|
/**
|
|
9865
|
-
*
|
|
11251
|
+
* OrganizationInvite updateMany
|
|
9866
11252
|
*/
|
|
9867
|
-
export type
|
|
11253
|
+
export type OrganizationInviteUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9868
11254
|
/**
|
|
9869
|
-
* The data used to update
|
|
11255
|
+
* The data used to update OrganizationInvites.
|
|
9870
11256
|
*/
|
|
9871
|
-
data: XOR<
|
|
11257
|
+
data: XOR<OrganizationInviteUpdateManyMutationInput, OrganizationInviteUncheckedUpdateManyInput>
|
|
9872
11258
|
/**
|
|
9873
|
-
* Filter which
|
|
11259
|
+
* Filter which OrganizationInvites to update
|
|
9874
11260
|
*/
|
|
9875
|
-
where?:
|
|
11261
|
+
where?: OrganizationInviteWhereInput
|
|
9876
11262
|
/**
|
|
9877
|
-
* Limit how many
|
|
11263
|
+
* Limit how many OrganizationInvites to update.
|
|
9878
11264
|
*/
|
|
9879
11265
|
limit?: number
|
|
9880
11266
|
}
|
|
9881
11267
|
|
|
9882
11268
|
/**
|
|
9883
|
-
*
|
|
11269
|
+
* OrganizationInvite updateManyAndReturn
|
|
9884
11270
|
*/
|
|
9885
|
-
export type
|
|
11271
|
+
export type OrganizationInviteUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9886
11272
|
/**
|
|
9887
|
-
* Select specific fields to fetch from the
|
|
11273
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9888
11274
|
*/
|
|
9889
|
-
select?:
|
|
11275
|
+
select?: OrganizationInviteSelectUpdateManyAndReturn<ExtArgs> | null
|
|
9890
11276
|
/**
|
|
9891
|
-
* Omit specific fields from the
|
|
11277
|
+
* Omit specific fields from the OrganizationInvite
|
|
9892
11278
|
*/
|
|
9893
|
-
omit?:
|
|
11279
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9894
11280
|
/**
|
|
9895
|
-
* The data used to update
|
|
11281
|
+
* The data used to update OrganizationInvites.
|
|
9896
11282
|
*/
|
|
9897
|
-
data: XOR<
|
|
11283
|
+
data: XOR<OrganizationInviteUpdateManyMutationInput, OrganizationInviteUncheckedUpdateManyInput>
|
|
9898
11284
|
/**
|
|
9899
|
-
* Filter which
|
|
11285
|
+
* Filter which OrganizationInvites to update
|
|
9900
11286
|
*/
|
|
9901
|
-
where?:
|
|
11287
|
+
where?: OrganizationInviteWhereInput
|
|
9902
11288
|
/**
|
|
9903
|
-
* Limit how many
|
|
11289
|
+
* Limit how many OrganizationInvites to update.
|
|
9904
11290
|
*/
|
|
9905
11291
|
limit?: number
|
|
9906
11292
|
/**
|
|
9907
11293
|
* Choose, which related nodes to fetch as well
|
|
9908
11294
|
*/
|
|
9909
|
-
include?:
|
|
11295
|
+
include?: OrganizationInviteIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
9910
11296
|
}
|
|
9911
11297
|
|
|
9912
11298
|
/**
|
|
9913
|
-
*
|
|
11299
|
+
* OrganizationInvite upsert
|
|
9914
11300
|
*/
|
|
9915
|
-
export type
|
|
11301
|
+
export type OrganizationInviteUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9916
11302
|
/**
|
|
9917
|
-
* Select specific fields to fetch from the
|
|
11303
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9918
11304
|
*/
|
|
9919
|
-
select?:
|
|
11305
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9920
11306
|
/**
|
|
9921
|
-
* Omit specific fields from the
|
|
11307
|
+
* Omit specific fields from the OrganizationInvite
|
|
9922
11308
|
*/
|
|
9923
|
-
omit?:
|
|
11309
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9924
11310
|
/**
|
|
9925
11311
|
* Choose, which related nodes to fetch as well
|
|
9926
11312
|
*/
|
|
9927
|
-
include?:
|
|
11313
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9928
11314
|
/**
|
|
9929
|
-
* The filter to search for the
|
|
11315
|
+
* The filter to search for the OrganizationInvite to update in case it exists.
|
|
9930
11316
|
*/
|
|
9931
|
-
where:
|
|
11317
|
+
where: OrganizationInviteWhereUniqueInput
|
|
9932
11318
|
/**
|
|
9933
|
-
* In case the
|
|
11319
|
+
* In case the OrganizationInvite found by the `where` argument doesn't exist, create a new OrganizationInvite with this data.
|
|
9934
11320
|
*/
|
|
9935
|
-
create: XOR<
|
|
11321
|
+
create: XOR<OrganizationInviteCreateInput, OrganizationInviteUncheckedCreateInput>
|
|
9936
11322
|
/**
|
|
9937
|
-
* In case the
|
|
11323
|
+
* In case the OrganizationInvite was found with the provided `where` argument, update it with this data.
|
|
9938
11324
|
*/
|
|
9939
|
-
update: XOR<
|
|
11325
|
+
update: XOR<OrganizationInviteUpdateInput, OrganizationInviteUncheckedUpdateInput>
|
|
9940
11326
|
}
|
|
9941
11327
|
|
|
9942
11328
|
/**
|
|
9943
|
-
*
|
|
11329
|
+
* OrganizationInvite delete
|
|
9944
11330
|
*/
|
|
9945
|
-
export type
|
|
11331
|
+
export type OrganizationInviteDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9946
11332
|
/**
|
|
9947
|
-
* Select specific fields to fetch from the
|
|
11333
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9948
11334
|
*/
|
|
9949
|
-
select?:
|
|
11335
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9950
11336
|
/**
|
|
9951
|
-
* Omit specific fields from the
|
|
11337
|
+
* Omit specific fields from the OrganizationInvite
|
|
9952
11338
|
*/
|
|
9953
|
-
omit?:
|
|
11339
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9954
11340
|
/**
|
|
9955
11341
|
* Choose, which related nodes to fetch as well
|
|
9956
11342
|
*/
|
|
9957
|
-
include?:
|
|
11343
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9958
11344
|
/**
|
|
9959
|
-
* Filter which
|
|
11345
|
+
* Filter which OrganizationInvite to delete.
|
|
9960
11346
|
*/
|
|
9961
|
-
where:
|
|
11347
|
+
where: OrganizationInviteWhereUniqueInput
|
|
9962
11348
|
}
|
|
9963
11349
|
|
|
9964
11350
|
/**
|
|
9965
|
-
*
|
|
11351
|
+
* OrganizationInvite deleteMany
|
|
9966
11352
|
*/
|
|
9967
|
-
export type
|
|
11353
|
+
export type OrganizationInviteDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9968
11354
|
/**
|
|
9969
|
-
* Filter which
|
|
11355
|
+
* Filter which OrganizationInvites to delete
|
|
9970
11356
|
*/
|
|
9971
|
-
where?:
|
|
11357
|
+
where?: OrganizationInviteWhereInput
|
|
9972
11358
|
/**
|
|
9973
|
-
* Limit how many
|
|
11359
|
+
* Limit how many OrganizationInvites to delete.
|
|
9974
11360
|
*/
|
|
9975
11361
|
limit?: number
|
|
9976
11362
|
}
|
|
9977
11363
|
|
|
9978
11364
|
/**
|
|
9979
|
-
*
|
|
11365
|
+
* OrganizationInvite without action
|
|
9980
11366
|
*/
|
|
9981
|
-
export type
|
|
11367
|
+
export type OrganizationInviteDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
9982
11368
|
/**
|
|
9983
|
-
* Select specific fields to fetch from the
|
|
11369
|
+
* Select specific fields to fetch from the OrganizationInvite
|
|
9984
11370
|
*/
|
|
9985
|
-
select?:
|
|
11371
|
+
select?: OrganizationInviteSelect<ExtArgs> | null
|
|
9986
11372
|
/**
|
|
9987
|
-
* Omit specific fields from the
|
|
11373
|
+
* Omit specific fields from the OrganizationInvite
|
|
9988
11374
|
*/
|
|
9989
|
-
omit?:
|
|
11375
|
+
omit?: OrganizationInviteOmit<ExtArgs> | null
|
|
9990
11376
|
/**
|
|
9991
11377
|
* Choose, which related nodes to fetch as well
|
|
9992
11378
|
*/
|
|
9993
|
-
include?:
|
|
11379
|
+
include?: OrganizationInviteInclude<ExtArgs> | null
|
|
9994
11380
|
}
|
|
9995
11381
|
|
|
9996
11382
|
|
|
@@ -32544,6 +33930,26 @@ export namespace Prisma {
|
|
|
32544
33930
|
export type OrganizationMemberScalarFieldEnum = (typeof OrganizationMemberScalarFieldEnum)[keyof typeof OrganizationMemberScalarFieldEnum]
|
|
32545
33931
|
|
|
32546
33932
|
|
|
33933
|
+
export const OrganizationInviteScalarFieldEnum: {
|
|
33934
|
+
id: 'id',
|
|
33935
|
+
organizationId: 'organizationId',
|
|
33936
|
+
token: 'token',
|
|
33937
|
+
email: 'email',
|
|
33938
|
+
role: 'role',
|
|
33939
|
+
createdBy: 'createdBy',
|
|
33940
|
+
expiresAt: 'expiresAt',
|
|
33941
|
+
maxUses: 'maxUses',
|
|
33942
|
+
currentUses: 'currentUses',
|
|
33943
|
+
isActive: 'isActive',
|
|
33944
|
+
usedAt: 'usedAt',
|
|
33945
|
+
usedBy: 'usedBy',
|
|
33946
|
+
createdAt: 'createdAt',
|
|
33947
|
+
updatedAt: 'updatedAt'
|
|
33948
|
+
};
|
|
33949
|
+
|
|
33950
|
+
export type OrganizationInviteScalarFieldEnum = (typeof OrganizationInviteScalarFieldEnum)[keyof typeof OrganizationInviteScalarFieldEnum]
|
|
33951
|
+
|
|
33952
|
+
|
|
32547
33953
|
export const ConversationScalarFieldEnum: {
|
|
32548
33954
|
id: 'id',
|
|
32549
33955
|
name: 'name',
|
|
@@ -33283,6 +34689,7 @@ export namespace Prisma {
|
|
|
33283
34689
|
stripeCustomer?: XOR<StripeCustomerNullableScalarRelationFilter, StripeCustomerWhereInput> | null
|
|
33284
34690
|
ownedOrganizations?: OrganizationListRelationFilter
|
|
33285
34691
|
organizationMembers?: OrganizationMemberListRelationFilter
|
|
34692
|
+
createdInvites?: OrganizationInviteListRelationFilter
|
|
33286
34693
|
accounts?: AccountListRelationFilter
|
|
33287
34694
|
answers?: AnswerListRelationFilter
|
|
33288
34695
|
conversations?: ConversationListRelationFilter
|
|
@@ -33325,6 +34732,7 @@ export namespace Prisma {
|
|
|
33325
34732
|
stripeCustomer?: StripeCustomerOrderByWithRelationInput
|
|
33326
34733
|
ownedOrganizations?: OrganizationOrderByRelationAggregateInput
|
|
33327
34734
|
organizationMembers?: OrganizationMemberOrderByRelationAggregateInput
|
|
34735
|
+
createdInvites?: OrganizationInviteOrderByRelationAggregateInput
|
|
33328
34736
|
accounts?: AccountOrderByRelationAggregateInput
|
|
33329
34737
|
answers?: AnswerOrderByRelationAggregateInput
|
|
33330
34738
|
conversations?: ConversationOrderByRelationAggregateInput
|
|
@@ -33370,6 +34778,7 @@ export namespace Prisma {
|
|
|
33370
34778
|
stripeCustomer?: XOR<StripeCustomerNullableScalarRelationFilter, StripeCustomerWhereInput> | null
|
|
33371
34779
|
ownedOrganizations?: OrganizationListRelationFilter
|
|
33372
34780
|
organizationMembers?: OrganizationMemberListRelationFilter
|
|
34781
|
+
createdInvites?: OrganizationInviteListRelationFilter
|
|
33373
34782
|
accounts?: AccountListRelationFilter
|
|
33374
34783
|
answers?: AnswerListRelationFilter
|
|
33375
34784
|
conversations?: ConversationListRelationFilter
|
|
@@ -33537,6 +34946,7 @@ export namespace Prisma {
|
|
|
33537
34946
|
updatedAt?: DateTimeFilter<"Organization"> | Date | string
|
|
33538
34947
|
owner?: XOR<UserScalarRelationFilter, UserWhereInput>
|
|
33539
34948
|
members?: OrganizationMemberListRelationFilter
|
|
34949
|
+
invites?: OrganizationInviteListRelationFilter
|
|
33540
34950
|
stripeCustomer?: XOR<StripeCustomerNullableScalarRelationFilter, StripeCustomerWhereInput> | null
|
|
33541
34951
|
}
|
|
33542
34952
|
|
|
@@ -33564,6 +34974,7 @@ export namespace Prisma {
|
|
|
33564
34974
|
updatedAt?: SortOrder
|
|
33565
34975
|
owner?: UserOrderByWithRelationInput
|
|
33566
34976
|
members?: OrganizationMemberOrderByRelationAggregateInput
|
|
34977
|
+
invites?: OrganizationInviteOrderByRelationAggregateInput
|
|
33567
34978
|
stripeCustomer?: StripeCustomerOrderByWithRelationInput
|
|
33568
34979
|
}
|
|
33569
34980
|
|
|
@@ -33594,6 +35005,7 @@ export namespace Prisma {
|
|
|
33594
35005
|
updatedAt?: DateTimeFilter<"Organization"> | Date | string
|
|
33595
35006
|
owner?: XOR<UserScalarRelationFilter, UserWhereInput>
|
|
33596
35007
|
members?: OrganizationMemberListRelationFilter
|
|
35008
|
+
invites?: OrganizationInviteListRelationFilter
|
|
33597
35009
|
stripeCustomer?: XOR<StripeCustomerNullableScalarRelationFilter, StripeCustomerWhereInput> | null
|
|
33598
35010
|
}, "id">
|
|
33599
35011
|
|
|
@@ -33712,6 +35124,111 @@ export namespace Prisma {
|
|
|
33712
35124
|
joinedAt?: DateTimeWithAggregatesFilter<"OrganizationMember"> | Date | string
|
|
33713
35125
|
}
|
|
33714
35126
|
|
|
35127
|
+
export type OrganizationInviteWhereInput = {
|
|
35128
|
+
AND?: OrganizationInviteWhereInput | OrganizationInviteWhereInput[]
|
|
35129
|
+
OR?: OrganizationInviteWhereInput[]
|
|
35130
|
+
NOT?: OrganizationInviteWhereInput | OrganizationInviteWhereInput[]
|
|
35131
|
+
id?: StringFilter<"OrganizationInvite"> | string
|
|
35132
|
+
organizationId?: StringFilter<"OrganizationInvite"> | string
|
|
35133
|
+
token?: StringFilter<"OrganizationInvite"> | string
|
|
35134
|
+
email?: StringNullableFilter<"OrganizationInvite"> | string | null
|
|
35135
|
+
role?: EnumMemberRoleFilter<"OrganizationInvite"> | $Enums.MemberRole
|
|
35136
|
+
createdBy?: StringFilter<"OrganizationInvite"> | string
|
|
35137
|
+
expiresAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
35138
|
+
maxUses?: IntFilter<"OrganizationInvite"> | number
|
|
35139
|
+
currentUses?: IntFilter<"OrganizationInvite"> | number
|
|
35140
|
+
isActive?: BoolFilter<"OrganizationInvite"> | boolean
|
|
35141
|
+
usedAt?: DateTimeNullableFilter<"OrganizationInvite"> | Date | string | null
|
|
35142
|
+
usedBy?: StringNullableFilter<"OrganizationInvite"> | string | null
|
|
35143
|
+
createdAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
35144
|
+
updatedAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
35145
|
+
organization?: XOR<OrganizationScalarRelationFilter, OrganizationWhereInput>
|
|
35146
|
+
creator?: XOR<UserScalarRelationFilter, UserWhereInput>
|
|
35147
|
+
}
|
|
35148
|
+
|
|
35149
|
+
export type OrganizationInviteOrderByWithRelationInput = {
|
|
35150
|
+
id?: SortOrder
|
|
35151
|
+
organizationId?: SortOrder
|
|
35152
|
+
token?: SortOrder
|
|
35153
|
+
email?: SortOrderInput | SortOrder
|
|
35154
|
+
role?: SortOrder
|
|
35155
|
+
createdBy?: SortOrder
|
|
35156
|
+
expiresAt?: SortOrder
|
|
35157
|
+
maxUses?: SortOrder
|
|
35158
|
+
currentUses?: SortOrder
|
|
35159
|
+
isActive?: SortOrder
|
|
35160
|
+
usedAt?: SortOrderInput | SortOrder
|
|
35161
|
+
usedBy?: SortOrderInput | SortOrder
|
|
35162
|
+
createdAt?: SortOrder
|
|
35163
|
+
updatedAt?: SortOrder
|
|
35164
|
+
organization?: OrganizationOrderByWithRelationInput
|
|
35165
|
+
creator?: UserOrderByWithRelationInput
|
|
35166
|
+
}
|
|
35167
|
+
|
|
35168
|
+
export type OrganizationInviteWhereUniqueInput = Prisma.AtLeast<{
|
|
35169
|
+
id?: string
|
|
35170
|
+
token?: string
|
|
35171
|
+
AND?: OrganizationInviteWhereInput | OrganizationInviteWhereInput[]
|
|
35172
|
+
OR?: OrganizationInviteWhereInput[]
|
|
35173
|
+
NOT?: OrganizationInviteWhereInput | OrganizationInviteWhereInput[]
|
|
35174
|
+
organizationId?: StringFilter<"OrganizationInvite"> | string
|
|
35175
|
+
email?: StringNullableFilter<"OrganizationInvite"> | string | null
|
|
35176
|
+
role?: EnumMemberRoleFilter<"OrganizationInvite"> | $Enums.MemberRole
|
|
35177
|
+
createdBy?: StringFilter<"OrganizationInvite"> | string
|
|
35178
|
+
expiresAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
35179
|
+
maxUses?: IntFilter<"OrganizationInvite"> | number
|
|
35180
|
+
currentUses?: IntFilter<"OrganizationInvite"> | number
|
|
35181
|
+
isActive?: BoolFilter<"OrganizationInvite"> | boolean
|
|
35182
|
+
usedAt?: DateTimeNullableFilter<"OrganizationInvite"> | Date | string | null
|
|
35183
|
+
usedBy?: StringNullableFilter<"OrganizationInvite"> | string | null
|
|
35184
|
+
createdAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
35185
|
+
updatedAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
35186
|
+
organization?: XOR<OrganizationScalarRelationFilter, OrganizationWhereInput>
|
|
35187
|
+
creator?: XOR<UserScalarRelationFilter, UserWhereInput>
|
|
35188
|
+
}, "id" | "token">
|
|
35189
|
+
|
|
35190
|
+
export type OrganizationInviteOrderByWithAggregationInput = {
|
|
35191
|
+
id?: SortOrder
|
|
35192
|
+
organizationId?: SortOrder
|
|
35193
|
+
token?: SortOrder
|
|
35194
|
+
email?: SortOrderInput | SortOrder
|
|
35195
|
+
role?: SortOrder
|
|
35196
|
+
createdBy?: SortOrder
|
|
35197
|
+
expiresAt?: SortOrder
|
|
35198
|
+
maxUses?: SortOrder
|
|
35199
|
+
currentUses?: SortOrder
|
|
35200
|
+
isActive?: SortOrder
|
|
35201
|
+
usedAt?: SortOrderInput | SortOrder
|
|
35202
|
+
usedBy?: SortOrderInput | SortOrder
|
|
35203
|
+
createdAt?: SortOrder
|
|
35204
|
+
updatedAt?: SortOrder
|
|
35205
|
+
_count?: OrganizationInviteCountOrderByAggregateInput
|
|
35206
|
+
_avg?: OrganizationInviteAvgOrderByAggregateInput
|
|
35207
|
+
_max?: OrganizationInviteMaxOrderByAggregateInput
|
|
35208
|
+
_min?: OrganizationInviteMinOrderByAggregateInput
|
|
35209
|
+
_sum?: OrganizationInviteSumOrderByAggregateInput
|
|
35210
|
+
}
|
|
35211
|
+
|
|
35212
|
+
export type OrganizationInviteScalarWhereWithAggregatesInput = {
|
|
35213
|
+
AND?: OrganizationInviteScalarWhereWithAggregatesInput | OrganizationInviteScalarWhereWithAggregatesInput[]
|
|
35214
|
+
OR?: OrganizationInviteScalarWhereWithAggregatesInput[]
|
|
35215
|
+
NOT?: OrganizationInviteScalarWhereWithAggregatesInput | OrganizationInviteScalarWhereWithAggregatesInput[]
|
|
35216
|
+
id?: StringWithAggregatesFilter<"OrganizationInvite"> | string
|
|
35217
|
+
organizationId?: StringWithAggregatesFilter<"OrganizationInvite"> | string
|
|
35218
|
+
token?: StringWithAggregatesFilter<"OrganizationInvite"> | string
|
|
35219
|
+
email?: StringNullableWithAggregatesFilter<"OrganizationInvite"> | string | null
|
|
35220
|
+
role?: EnumMemberRoleWithAggregatesFilter<"OrganizationInvite"> | $Enums.MemberRole
|
|
35221
|
+
createdBy?: StringWithAggregatesFilter<"OrganizationInvite"> | string
|
|
35222
|
+
expiresAt?: DateTimeWithAggregatesFilter<"OrganizationInvite"> | Date | string
|
|
35223
|
+
maxUses?: IntWithAggregatesFilter<"OrganizationInvite"> | number
|
|
35224
|
+
currentUses?: IntWithAggregatesFilter<"OrganizationInvite"> | number
|
|
35225
|
+
isActive?: BoolWithAggregatesFilter<"OrganizationInvite"> | boolean
|
|
35226
|
+
usedAt?: DateTimeNullableWithAggregatesFilter<"OrganizationInvite"> | Date | string | null
|
|
35227
|
+
usedBy?: StringNullableWithAggregatesFilter<"OrganizationInvite"> | string | null
|
|
35228
|
+
createdAt?: DateTimeWithAggregatesFilter<"OrganizationInvite"> | Date | string
|
|
35229
|
+
updatedAt?: DateTimeWithAggregatesFilter<"OrganizationInvite"> | Date | string
|
|
35230
|
+
}
|
|
35231
|
+
|
|
33715
35232
|
export type ConversationWhereInput = {
|
|
33716
35233
|
AND?: ConversationWhereInput | ConversationWhereInput[]
|
|
33717
35234
|
OR?: ConversationWhereInput[]
|
|
@@ -35508,6 +37025,7 @@ export namespace Prisma {
|
|
|
35508
37025
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
35509
37026
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
35510
37027
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
37028
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
35511
37029
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
35512
37030
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
35513
37031
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -35550,6 +37068,7 @@ export namespace Prisma {
|
|
|
35550
37068
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
35551
37069
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
35552
37070
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
37071
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
35553
37072
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
35554
37073
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
35555
37074
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -35592,6 +37111,7 @@ export namespace Prisma {
|
|
|
35592
37111
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
35593
37112
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
35594
37113
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
37114
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
35595
37115
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
35596
37116
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
35597
37117
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -35634,6 +37154,7 @@ export namespace Prisma {
|
|
|
35634
37154
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
35635
37155
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
35636
37156
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
37157
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
35637
37158
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
35638
37159
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
35639
37160
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -35820,6 +37341,7 @@ export namespace Prisma {
|
|
|
35820
37341
|
updatedAt?: Date | string
|
|
35821
37342
|
owner: UserCreateNestedOneWithoutOwnedOrganizationsInput
|
|
35822
37343
|
members?: OrganizationMemberCreateNestedManyWithoutOrganizationInput
|
|
37344
|
+
invites?: OrganizationInviteCreateNestedManyWithoutOrganizationInput
|
|
35823
37345
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutOrganizationInput
|
|
35824
37346
|
}
|
|
35825
37347
|
|
|
@@ -35846,6 +37368,7 @@ export namespace Prisma {
|
|
|
35846
37368
|
createdAt?: Date | string
|
|
35847
37369
|
updatedAt?: Date | string
|
|
35848
37370
|
members?: OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput
|
|
37371
|
+
invites?: OrganizationInviteUncheckedCreateNestedManyWithoutOrganizationInput
|
|
35849
37372
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutOrganizationInput
|
|
35850
37373
|
}
|
|
35851
37374
|
|
|
@@ -35872,6 +37395,7 @@ export namespace Prisma {
|
|
|
35872
37395
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
35873
37396
|
owner?: UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput
|
|
35874
37397
|
members?: OrganizationMemberUpdateManyWithoutOrganizationNestedInput
|
|
37398
|
+
invites?: OrganizationInviteUpdateManyWithoutOrganizationNestedInput
|
|
35875
37399
|
stripeCustomer?: StripeCustomerUpdateOneWithoutOrganizationNestedInput
|
|
35876
37400
|
}
|
|
35877
37401
|
|
|
@@ -35898,6 +37422,7 @@ export namespace Prisma {
|
|
|
35898
37422
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
35899
37423
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
35900
37424
|
members?: OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
37425
|
+
invites?: OrganizationInviteUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
35901
37426
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutOrganizationNestedInput
|
|
35902
37427
|
}
|
|
35903
37428
|
|
|
@@ -36026,6 +37551,123 @@ export namespace Prisma {
|
|
|
36026
37551
|
joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
36027
37552
|
}
|
|
36028
37553
|
|
|
37554
|
+
export type OrganizationInviteCreateInput = {
|
|
37555
|
+
id?: string
|
|
37556
|
+
token: string
|
|
37557
|
+
email?: string | null
|
|
37558
|
+
role?: $Enums.MemberRole
|
|
37559
|
+
expiresAt: Date | string
|
|
37560
|
+
maxUses?: number
|
|
37561
|
+
currentUses?: number
|
|
37562
|
+
isActive?: boolean
|
|
37563
|
+
usedAt?: Date | string | null
|
|
37564
|
+
usedBy?: string | null
|
|
37565
|
+
createdAt?: Date | string
|
|
37566
|
+
updatedAt?: Date | string
|
|
37567
|
+
organization: OrganizationCreateNestedOneWithoutInvitesInput
|
|
37568
|
+
creator: UserCreateNestedOneWithoutCreatedInvitesInput
|
|
37569
|
+
}
|
|
37570
|
+
|
|
37571
|
+
export type OrganizationInviteUncheckedCreateInput = {
|
|
37572
|
+
id?: string
|
|
37573
|
+
organizationId: string
|
|
37574
|
+
token: string
|
|
37575
|
+
email?: string | null
|
|
37576
|
+
role?: $Enums.MemberRole
|
|
37577
|
+
createdBy: string
|
|
37578
|
+
expiresAt: Date | string
|
|
37579
|
+
maxUses?: number
|
|
37580
|
+
currentUses?: number
|
|
37581
|
+
isActive?: boolean
|
|
37582
|
+
usedAt?: Date | string | null
|
|
37583
|
+
usedBy?: string | null
|
|
37584
|
+
createdAt?: Date | string
|
|
37585
|
+
updatedAt?: Date | string
|
|
37586
|
+
}
|
|
37587
|
+
|
|
37588
|
+
export type OrganizationInviteUpdateInput = {
|
|
37589
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
37590
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
37591
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37592
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
37593
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37594
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
37595
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
37596
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
37597
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
37598
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37599
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37600
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37601
|
+
organization?: OrganizationUpdateOneRequiredWithoutInvitesNestedInput
|
|
37602
|
+
creator?: UserUpdateOneRequiredWithoutCreatedInvitesNestedInput
|
|
37603
|
+
}
|
|
37604
|
+
|
|
37605
|
+
export type OrganizationInviteUncheckedUpdateInput = {
|
|
37606
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
37607
|
+
organizationId?: StringFieldUpdateOperationsInput | string
|
|
37608
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
37609
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37610
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
37611
|
+
createdBy?: StringFieldUpdateOperationsInput | string
|
|
37612
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37613
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
37614
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
37615
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
37616
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
37617
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37618
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37619
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37620
|
+
}
|
|
37621
|
+
|
|
37622
|
+
export type OrganizationInviteCreateManyInput = {
|
|
37623
|
+
id?: string
|
|
37624
|
+
organizationId: string
|
|
37625
|
+
token: string
|
|
37626
|
+
email?: string | null
|
|
37627
|
+
role?: $Enums.MemberRole
|
|
37628
|
+
createdBy: string
|
|
37629
|
+
expiresAt: Date | string
|
|
37630
|
+
maxUses?: number
|
|
37631
|
+
currentUses?: number
|
|
37632
|
+
isActive?: boolean
|
|
37633
|
+
usedAt?: Date | string | null
|
|
37634
|
+
usedBy?: string | null
|
|
37635
|
+
createdAt?: Date | string
|
|
37636
|
+
updatedAt?: Date | string
|
|
37637
|
+
}
|
|
37638
|
+
|
|
37639
|
+
export type OrganizationInviteUpdateManyMutationInput = {
|
|
37640
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
37641
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
37642
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37643
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
37644
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37645
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
37646
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
37647
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
37648
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
37649
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37650
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37651
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37652
|
+
}
|
|
37653
|
+
|
|
37654
|
+
export type OrganizationInviteUncheckedUpdateManyInput = {
|
|
37655
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
37656
|
+
organizationId?: StringFieldUpdateOperationsInput | string
|
|
37657
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
37658
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37659
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
37660
|
+
createdBy?: StringFieldUpdateOperationsInput | string
|
|
37661
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37662
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
37663
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
37664
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
37665
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
37666
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
37667
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37668
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
37669
|
+
}
|
|
37670
|
+
|
|
36029
37671
|
export type ConversationCreateInput = {
|
|
36030
37672
|
id?: string
|
|
36031
37673
|
name: string
|
|
@@ -38090,6 +39732,12 @@ export namespace Prisma {
|
|
|
38090
39732
|
none?: OrganizationMemberWhereInput
|
|
38091
39733
|
}
|
|
38092
39734
|
|
|
39735
|
+
export type OrganizationInviteListRelationFilter = {
|
|
39736
|
+
every?: OrganizationInviteWhereInput
|
|
39737
|
+
some?: OrganizationInviteWhereInput
|
|
39738
|
+
none?: OrganizationInviteWhereInput
|
|
39739
|
+
}
|
|
39740
|
+
|
|
38093
39741
|
export type AccountListRelationFilter = {
|
|
38094
39742
|
every?: AccountWhereInput
|
|
38095
39743
|
some?: AccountWhereInput
|
|
@@ -38164,6 +39812,10 @@ export namespace Prisma {
|
|
|
38164
39812
|
_count?: SortOrder
|
|
38165
39813
|
}
|
|
38166
39814
|
|
|
39815
|
+
export type OrganizationInviteOrderByRelationAggregateInput = {
|
|
39816
|
+
_count?: SortOrder
|
|
39817
|
+
}
|
|
39818
|
+
|
|
38167
39819
|
export type AccountOrderByRelationAggregateInput = {
|
|
38168
39820
|
_count?: SortOrder
|
|
38169
39821
|
}
|
|
@@ -38541,6 +40193,67 @@ export namespace Prisma {
|
|
|
38541
40193
|
_max?: NestedEnumMemberRoleFilter<$PrismaModel>
|
|
38542
40194
|
}
|
|
38543
40195
|
|
|
40196
|
+
export type OrganizationInviteCountOrderByAggregateInput = {
|
|
40197
|
+
id?: SortOrder
|
|
40198
|
+
organizationId?: SortOrder
|
|
40199
|
+
token?: SortOrder
|
|
40200
|
+
email?: SortOrder
|
|
40201
|
+
role?: SortOrder
|
|
40202
|
+
createdBy?: SortOrder
|
|
40203
|
+
expiresAt?: SortOrder
|
|
40204
|
+
maxUses?: SortOrder
|
|
40205
|
+
currentUses?: SortOrder
|
|
40206
|
+
isActive?: SortOrder
|
|
40207
|
+
usedAt?: SortOrder
|
|
40208
|
+
usedBy?: SortOrder
|
|
40209
|
+
createdAt?: SortOrder
|
|
40210
|
+
updatedAt?: SortOrder
|
|
40211
|
+
}
|
|
40212
|
+
|
|
40213
|
+
export type OrganizationInviteAvgOrderByAggregateInput = {
|
|
40214
|
+
maxUses?: SortOrder
|
|
40215
|
+
currentUses?: SortOrder
|
|
40216
|
+
}
|
|
40217
|
+
|
|
40218
|
+
export type OrganizationInviteMaxOrderByAggregateInput = {
|
|
40219
|
+
id?: SortOrder
|
|
40220
|
+
organizationId?: SortOrder
|
|
40221
|
+
token?: SortOrder
|
|
40222
|
+
email?: SortOrder
|
|
40223
|
+
role?: SortOrder
|
|
40224
|
+
createdBy?: SortOrder
|
|
40225
|
+
expiresAt?: SortOrder
|
|
40226
|
+
maxUses?: SortOrder
|
|
40227
|
+
currentUses?: SortOrder
|
|
40228
|
+
isActive?: SortOrder
|
|
40229
|
+
usedAt?: SortOrder
|
|
40230
|
+
usedBy?: SortOrder
|
|
40231
|
+
createdAt?: SortOrder
|
|
40232
|
+
updatedAt?: SortOrder
|
|
40233
|
+
}
|
|
40234
|
+
|
|
40235
|
+
export type OrganizationInviteMinOrderByAggregateInput = {
|
|
40236
|
+
id?: SortOrder
|
|
40237
|
+
organizationId?: SortOrder
|
|
40238
|
+
token?: SortOrder
|
|
40239
|
+
email?: SortOrder
|
|
40240
|
+
role?: SortOrder
|
|
40241
|
+
createdBy?: SortOrder
|
|
40242
|
+
expiresAt?: SortOrder
|
|
40243
|
+
maxUses?: SortOrder
|
|
40244
|
+
currentUses?: SortOrder
|
|
40245
|
+
isActive?: SortOrder
|
|
40246
|
+
usedAt?: SortOrder
|
|
40247
|
+
usedBy?: SortOrder
|
|
40248
|
+
createdAt?: SortOrder
|
|
40249
|
+
updatedAt?: SortOrder
|
|
40250
|
+
}
|
|
40251
|
+
|
|
40252
|
+
export type OrganizationInviteSumOrderByAggregateInput = {
|
|
40253
|
+
maxUses?: SortOrder
|
|
40254
|
+
currentUses?: SortOrder
|
|
40255
|
+
}
|
|
40256
|
+
|
|
38544
40257
|
export type ConversationCountOrderByAggregateInput = {
|
|
38545
40258
|
id?: SortOrder
|
|
38546
40259
|
name?: SortOrder
|
|
@@ -39846,6 +41559,13 @@ export namespace Prisma {
|
|
|
39846
41559
|
connect?: OrganizationMemberWhereUniqueInput | OrganizationMemberWhereUniqueInput[]
|
|
39847
41560
|
}
|
|
39848
41561
|
|
|
41562
|
+
export type OrganizationInviteCreateNestedManyWithoutCreatorInput = {
|
|
41563
|
+
create?: XOR<OrganizationInviteCreateWithoutCreatorInput, OrganizationInviteUncheckedCreateWithoutCreatorInput> | OrganizationInviteCreateWithoutCreatorInput[] | OrganizationInviteUncheckedCreateWithoutCreatorInput[]
|
|
41564
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutCreatorInput | OrganizationInviteCreateOrConnectWithoutCreatorInput[]
|
|
41565
|
+
createMany?: OrganizationInviteCreateManyCreatorInputEnvelope
|
|
41566
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
41567
|
+
}
|
|
41568
|
+
|
|
39849
41569
|
export type AccountCreateNestedManyWithoutUserInput = {
|
|
39850
41570
|
create?: XOR<AccountCreateWithoutUserInput, AccountUncheckedCreateWithoutUserInput> | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[]
|
|
39851
41571
|
connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[]
|
|
@@ -39949,6 +41669,13 @@ export namespace Prisma {
|
|
|
39949
41669
|
connect?: OrganizationMemberWhereUniqueInput | OrganizationMemberWhereUniqueInput[]
|
|
39950
41670
|
}
|
|
39951
41671
|
|
|
41672
|
+
export type OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput = {
|
|
41673
|
+
create?: XOR<OrganizationInviteCreateWithoutCreatorInput, OrganizationInviteUncheckedCreateWithoutCreatorInput> | OrganizationInviteCreateWithoutCreatorInput[] | OrganizationInviteUncheckedCreateWithoutCreatorInput[]
|
|
41674
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutCreatorInput | OrganizationInviteCreateOrConnectWithoutCreatorInput[]
|
|
41675
|
+
createMany?: OrganizationInviteCreateManyCreatorInputEnvelope
|
|
41676
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
41677
|
+
}
|
|
41678
|
+
|
|
39952
41679
|
export type AccountUncheckedCreateNestedManyWithoutUserInput = {
|
|
39953
41680
|
create?: XOR<AccountCreateWithoutUserInput, AccountUncheckedCreateWithoutUserInput> | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[]
|
|
39954
41681
|
connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[]
|
|
@@ -40103,6 +41830,20 @@ export namespace Prisma {
|
|
|
40103
41830
|
deleteMany?: OrganizationMemberScalarWhereInput | OrganizationMemberScalarWhereInput[]
|
|
40104
41831
|
}
|
|
40105
41832
|
|
|
41833
|
+
export type OrganizationInviteUpdateManyWithoutCreatorNestedInput = {
|
|
41834
|
+
create?: XOR<OrganizationInviteCreateWithoutCreatorInput, OrganizationInviteUncheckedCreateWithoutCreatorInput> | OrganizationInviteCreateWithoutCreatorInput[] | OrganizationInviteUncheckedCreateWithoutCreatorInput[]
|
|
41835
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutCreatorInput | OrganizationInviteCreateOrConnectWithoutCreatorInput[]
|
|
41836
|
+
upsert?: OrganizationInviteUpsertWithWhereUniqueWithoutCreatorInput | OrganizationInviteUpsertWithWhereUniqueWithoutCreatorInput[]
|
|
41837
|
+
createMany?: OrganizationInviteCreateManyCreatorInputEnvelope
|
|
41838
|
+
set?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
41839
|
+
disconnect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
41840
|
+
delete?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
41841
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
41842
|
+
update?: OrganizationInviteUpdateWithWhereUniqueWithoutCreatorInput | OrganizationInviteUpdateWithWhereUniqueWithoutCreatorInput[]
|
|
41843
|
+
updateMany?: OrganizationInviteUpdateManyWithWhereWithoutCreatorInput | OrganizationInviteUpdateManyWithWhereWithoutCreatorInput[]
|
|
41844
|
+
deleteMany?: OrganizationInviteScalarWhereInput | OrganizationInviteScalarWhereInput[]
|
|
41845
|
+
}
|
|
41846
|
+
|
|
40106
41847
|
export type AccountUpdateManyWithoutUserNestedInput = {
|
|
40107
41848
|
create?: XOR<AccountCreateWithoutUserInput, AccountUncheckedCreateWithoutUserInput> | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[]
|
|
40108
41849
|
connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[]
|
|
@@ -40305,6 +42046,20 @@ export namespace Prisma {
|
|
|
40305
42046
|
deleteMany?: OrganizationMemberScalarWhereInput | OrganizationMemberScalarWhereInput[]
|
|
40306
42047
|
}
|
|
40307
42048
|
|
|
42049
|
+
export type OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput = {
|
|
42050
|
+
create?: XOR<OrganizationInviteCreateWithoutCreatorInput, OrganizationInviteUncheckedCreateWithoutCreatorInput> | OrganizationInviteCreateWithoutCreatorInput[] | OrganizationInviteUncheckedCreateWithoutCreatorInput[]
|
|
42051
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutCreatorInput | OrganizationInviteCreateOrConnectWithoutCreatorInput[]
|
|
42052
|
+
upsert?: OrganizationInviteUpsertWithWhereUniqueWithoutCreatorInput | OrganizationInviteUpsertWithWhereUniqueWithoutCreatorInput[]
|
|
42053
|
+
createMany?: OrganizationInviteCreateManyCreatorInputEnvelope
|
|
42054
|
+
set?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42055
|
+
disconnect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42056
|
+
delete?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42057
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42058
|
+
update?: OrganizationInviteUpdateWithWhereUniqueWithoutCreatorInput | OrganizationInviteUpdateWithWhereUniqueWithoutCreatorInput[]
|
|
42059
|
+
updateMany?: OrganizationInviteUpdateManyWithWhereWithoutCreatorInput | OrganizationInviteUpdateManyWithWhereWithoutCreatorInput[]
|
|
42060
|
+
deleteMany?: OrganizationInviteScalarWhereInput | OrganizationInviteScalarWhereInput[]
|
|
42061
|
+
}
|
|
42062
|
+
|
|
40308
42063
|
export type AccountUncheckedUpdateManyWithoutUserNestedInput = {
|
|
40309
42064
|
create?: XOR<AccountCreateWithoutUserInput, AccountUncheckedCreateWithoutUserInput> | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[]
|
|
40310
42065
|
connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[]
|
|
@@ -40490,6 +42245,13 @@ export namespace Prisma {
|
|
|
40490
42245
|
connect?: OrganizationMemberWhereUniqueInput | OrganizationMemberWhereUniqueInput[]
|
|
40491
42246
|
}
|
|
40492
42247
|
|
|
42248
|
+
export type OrganizationInviteCreateNestedManyWithoutOrganizationInput = {
|
|
42249
|
+
create?: XOR<OrganizationInviteCreateWithoutOrganizationInput, OrganizationInviteUncheckedCreateWithoutOrganizationInput> | OrganizationInviteCreateWithoutOrganizationInput[] | OrganizationInviteUncheckedCreateWithoutOrganizationInput[]
|
|
42250
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutOrganizationInput | OrganizationInviteCreateOrConnectWithoutOrganizationInput[]
|
|
42251
|
+
createMany?: OrganizationInviteCreateManyOrganizationInputEnvelope
|
|
42252
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42253
|
+
}
|
|
42254
|
+
|
|
40493
42255
|
export type StripeCustomerCreateNestedOneWithoutOrganizationInput = {
|
|
40494
42256
|
create?: XOR<StripeCustomerCreateWithoutOrganizationInput, StripeCustomerUncheckedCreateWithoutOrganizationInput>
|
|
40495
42257
|
connectOrCreate?: StripeCustomerCreateOrConnectWithoutOrganizationInput
|
|
@@ -40503,6 +42265,13 @@ export namespace Prisma {
|
|
|
40503
42265
|
connect?: OrganizationMemberWhereUniqueInput | OrganizationMemberWhereUniqueInput[]
|
|
40504
42266
|
}
|
|
40505
42267
|
|
|
42268
|
+
export type OrganizationInviteUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
42269
|
+
create?: XOR<OrganizationInviteCreateWithoutOrganizationInput, OrganizationInviteUncheckedCreateWithoutOrganizationInput> | OrganizationInviteCreateWithoutOrganizationInput[] | OrganizationInviteUncheckedCreateWithoutOrganizationInput[]
|
|
42270
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutOrganizationInput | OrganizationInviteCreateOrConnectWithoutOrganizationInput[]
|
|
42271
|
+
createMany?: OrganizationInviteCreateManyOrganizationInputEnvelope
|
|
42272
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42273
|
+
}
|
|
42274
|
+
|
|
40506
42275
|
export type StripeCustomerUncheckedCreateNestedOneWithoutOrganizationInput = {
|
|
40507
42276
|
create?: XOR<StripeCustomerCreateWithoutOrganizationInput, StripeCustomerUncheckedCreateWithoutOrganizationInput>
|
|
40508
42277
|
connectOrCreate?: StripeCustomerCreateOrConnectWithoutOrganizationInput
|
|
@@ -40531,6 +42300,20 @@ export namespace Prisma {
|
|
|
40531
42300
|
deleteMany?: OrganizationMemberScalarWhereInput | OrganizationMemberScalarWhereInput[]
|
|
40532
42301
|
}
|
|
40533
42302
|
|
|
42303
|
+
export type OrganizationInviteUpdateManyWithoutOrganizationNestedInput = {
|
|
42304
|
+
create?: XOR<OrganizationInviteCreateWithoutOrganizationInput, OrganizationInviteUncheckedCreateWithoutOrganizationInput> | OrganizationInviteCreateWithoutOrganizationInput[] | OrganizationInviteUncheckedCreateWithoutOrganizationInput[]
|
|
42305
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutOrganizationInput | OrganizationInviteCreateOrConnectWithoutOrganizationInput[]
|
|
42306
|
+
upsert?: OrganizationInviteUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationInviteUpsertWithWhereUniqueWithoutOrganizationInput[]
|
|
42307
|
+
createMany?: OrganizationInviteCreateManyOrganizationInputEnvelope
|
|
42308
|
+
set?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42309
|
+
disconnect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42310
|
+
delete?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42311
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42312
|
+
update?: OrganizationInviteUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationInviteUpdateWithWhereUniqueWithoutOrganizationInput[]
|
|
42313
|
+
updateMany?: OrganizationInviteUpdateManyWithWhereWithoutOrganizationInput | OrganizationInviteUpdateManyWithWhereWithoutOrganizationInput[]
|
|
42314
|
+
deleteMany?: OrganizationInviteScalarWhereInput | OrganizationInviteScalarWhereInput[]
|
|
42315
|
+
}
|
|
42316
|
+
|
|
40534
42317
|
export type StripeCustomerUpdateOneWithoutOrganizationNestedInput = {
|
|
40535
42318
|
create?: XOR<StripeCustomerCreateWithoutOrganizationInput, StripeCustomerUncheckedCreateWithoutOrganizationInput>
|
|
40536
42319
|
connectOrCreate?: StripeCustomerCreateOrConnectWithoutOrganizationInput
|
|
@@ -40555,6 +42338,20 @@ export namespace Prisma {
|
|
|
40555
42338
|
deleteMany?: OrganizationMemberScalarWhereInput | OrganizationMemberScalarWhereInput[]
|
|
40556
42339
|
}
|
|
40557
42340
|
|
|
42341
|
+
export type OrganizationInviteUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
42342
|
+
create?: XOR<OrganizationInviteCreateWithoutOrganizationInput, OrganizationInviteUncheckedCreateWithoutOrganizationInput> | OrganizationInviteCreateWithoutOrganizationInput[] | OrganizationInviteUncheckedCreateWithoutOrganizationInput[]
|
|
42343
|
+
connectOrCreate?: OrganizationInviteCreateOrConnectWithoutOrganizationInput | OrganizationInviteCreateOrConnectWithoutOrganizationInput[]
|
|
42344
|
+
upsert?: OrganizationInviteUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationInviteUpsertWithWhereUniqueWithoutOrganizationInput[]
|
|
42345
|
+
createMany?: OrganizationInviteCreateManyOrganizationInputEnvelope
|
|
42346
|
+
set?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42347
|
+
disconnect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42348
|
+
delete?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42349
|
+
connect?: OrganizationInviteWhereUniqueInput | OrganizationInviteWhereUniqueInput[]
|
|
42350
|
+
update?: OrganizationInviteUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationInviteUpdateWithWhereUniqueWithoutOrganizationInput[]
|
|
42351
|
+
updateMany?: OrganizationInviteUpdateManyWithWhereWithoutOrganizationInput | OrganizationInviteUpdateManyWithWhereWithoutOrganizationInput[]
|
|
42352
|
+
deleteMany?: OrganizationInviteScalarWhereInput | OrganizationInviteScalarWhereInput[]
|
|
42353
|
+
}
|
|
42354
|
+
|
|
40558
42355
|
export type StripeCustomerUncheckedUpdateOneWithoutOrganizationNestedInput = {
|
|
40559
42356
|
create?: XOR<StripeCustomerCreateWithoutOrganizationInput, StripeCustomerUncheckedCreateWithoutOrganizationInput>
|
|
40560
42357
|
connectOrCreate?: StripeCustomerCreateOrConnectWithoutOrganizationInput
|
|
@@ -40597,6 +42394,34 @@ export namespace Prisma {
|
|
|
40597
42394
|
update?: XOR<XOR<UserUpdateToOneWithWhereWithoutOrganizationMembersInput, UserUpdateWithoutOrganizationMembersInput>, UserUncheckedUpdateWithoutOrganizationMembersInput>
|
|
40598
42395
|
}
|
|
40599
42396
|
|
|
42397
|
+
export type OrganizationCreateNestedOneWithoutInvitesInput = {
|
|
42398
|
+
create?: XOR<OrganizationCreateWithoutInvitesInput, OrganizationUncheckedCreateWithoutInvitesInput>
|
|
42399
|
+
connectOrCreate?: OrganizationCreateOrConnectWithoutInvitesInput
|
|
42400
|
+
connect?: OrganizationWhereUniqueInput
|
|
42401
|
+
}
|
|
42402
|
+
|
|
42403
|
+
export type UserCreateNestedOneWithoutCreatedInvitesInput = {
|
|
42404
|
+
create?: XOR<UserCreateWithoutCreatedInvitesInput, UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
42405
|
+
connectOrCreate?: UserCreateOrConnectWithoutCreatedInvitesInput
|
|
42406
|
+
connect?: UserWhereUniqueInput
|
|
42407
|
+
}
|
|
42408
|
+
|
|
42409
|
+
export type OrganizationUpdateOneRequiredWithoutInvitesNestedInput = {
|
|
42410
|
+
create?: XOR<OrganizationCreateWithoutInvitesInput, OrganizationUncheckedCreateWithoutInvitesInput>
|
|
42411
|
+
connectOrCreate?: OrganizationCreateOrConnectWithoutInvitesInput
|
|
42412
|
+
upsert?: OrganizationUpsertWithoutInvitesInput
|
|
42413
|
+
connect?: OrganizationWhereUniqueInput
|
|
42414
|
+
update?: XOR<XOR<OrganizationUpdateToOneWithWhereWithoutInvitesInput, OrganizationUpdateWithoutInvitesInput>, OrganizationUncheckedUpdateWithoutInvitesInput>
|
|
42415
|
+
}
|
|
42416
|
+
|
|
42417
|
+
export type UserUpdateOneRequiredWithoutCreatedInvitesNestedInput = {
|
|
42418
|
+
create?: XOR<UserCreateWithoutCreatedInvitesInput, UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
42419
|
+
connectOrCreate?: UserCreateOrConnectWithoutCreatedInvitesInput
|
|
42420
|
+
upsert?: UserUpsertWithoutCreatedInvitesInput
|
|
42421
|
+
connect?: UserWhereUniqueInput
|
|
42422
|
+
update?: XOR<XOR<UserUpdateToOneWithWhereWithoutCreatedInvitesInput, UserUpdateWithoutCreatedInvitesInput>, UserUncheckedUpdateWithoutCreatedInvitesInput>
|
|
42423
|
+
}
|
|
42424
|
+
|
|
40600
42425
|
export type AnswerCreateNestedManyWithoutConversationInput = {
|
|
40601
42426
|
create?: XOR<AnswerCreateWithoutConversationInput, AnswerUncheckedCreateWithoutConversationInput> | AnswerCreateWithoutConversationInput[] | AnswerUncheckedCreateWithoutConversationInput[]
|
|
40602
42427
|
connectOrCreate?: AnswerCreateOrConnectWithoutConversationInput | AnswerCreateOrConnectWithoutConversationInput[]
|
|
@@ -42222,6 +44047,7 @@ export namespace Prisma {
|
|
|
42222
44047
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
42223
44048
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
42224
44049
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
44050
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
42225
44051
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
42226
44052
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
42227
44053
|
feedbacks?: FeedbackCreateNestedManyWithoutUserInput
|
|
@@ -42263,6 +44089,7 @@ export namespace Prisma {
|
|
|
42263
44089
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
42264
44090
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
42265
44091
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
44092
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
42266
44093
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
42267
44094
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
42268
44095
|
feedbacks?: FeedbackUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -42320,6 +44147,7 @@ export namespace Prisma {
|
|
|
42320
44147
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
42321
44148
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
42322
44149
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
44150
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
42323
44151
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
42324
44152
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
42325
44153
|
feedbacks?: FeedbackUpdateManyWithoutUserNestedInput
|
|
@@ -42361,6 +44189,7 @@ export namespace Prisma {
|
|
|
42361
44189
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
42362
44190
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
42363
44191
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
44192
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
42364
44193
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
42365
44194
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
42366
44195
|
feedbacks?: FeedbackUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -42451,6 +44280,7 @@ export namespace Prisma {
|
|
|
42451
44280
|
createdAt?: Date | string
|
|
42452
44281
|
updatedAt?: Date | string
|
|
42453
44282
|
members?: OrganizationMemberCreateNestedManyWithoutOrganizationInput
|
|
44283
|
+
invites?: OrganizationInviteCreateNestedManyWithoutOrganizationInput
|
|
42454
44284
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutOrganizationInput
|
|
42455
44285
|
}
|
|
42456
44286
|
|
|
@@ -42476,6 +44306,7 @@ export namespace Prisma {
|
|
|
42476
44306
|
createdAt?: Date | string
|
|
42477
44307
|
updatedAt?: Date | string
|
|
42478
44308
|
members?: OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput
|
|
44309
|
+
invites?: OrganizationInviteUncheckedCreateNestedManyWithoutOrganizationInput
|
|
42479
44310
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutOrganizationInput
|
|
42480
44311
|
}
|
|
42481
44312
|
|
|
@@ -42513,6 +44344,48 @@ export namespace Prisma {
|
|
|
42513
44344
|
skipDuplicates?: boolean
|
|
42514
44345
|
}
|
|
42515
44346
|
|
|
44347
|
+
export type OrganizationInviteCreateWithoutCreatorInput = {
|
|
44348
|
+
id?: string
|
|
44349
|
+
token: string
|
|
44350
|
+
email?: string | null
|
|
44351
|
+
role?: $Enums.MemberRole
|
|
44352
|
+
expiresAt: Date | string
|
|
44353
|
+
maxUses?: number
|
|
44354
|
+
currentUses?: number
|
|
44355
|
+
isActive?: boolean
|
|
44356
|
+
usedAt?: Date | string | null
|
|
44357
|
+
usedBy?: string | null
|
|
44358
|
+
createdAt?: Date | string
|
|
44359
|
+
updatedAt?: Date | string
|
|
44360
|
+
organization: OrganizationCreateNestedOneWithoutInvitesInput
|
|
44361
|
+
}
|
|
44362
|
+
|
|
44363
|
+
export type OrganizationInviteUncheckedCreateWithoutCreatorInput = {
|
|
44364
|
+
id?: string
|
|
44365
|
+
organizationId: string
|
|
44366
|
+
token: string
|
|
44367
|
+
email?: string | null
|
|
44368
|
+
role?: $Enums.MemberRole
|
|
44369
|
+
expiresAt: Date | string
|
|
44370
|
+
maxUses?: number
|
|
44371
|
+
currentUses?: number
|
|
44372
|
+
isActive?: boolean
|
|
44373
|
+
usedAt?: Date | string | null
|
|
44374
|
+
usedBy?: string | null
|
|
44375
|
+
createdAt?: Date | string
|
|
44376
|
+
updatedAt?: Date | string
|
|
44377
|
+
}
|
|
44378
|
+
|
|
44379
|
+
export type OrganizationInviteCreateOrConnectWithoutCreatorInput = {
|
|
44380
|
+
where: OrganizationInviteWhereUniqueInput
|
|
44381
|
+
create: XOR<OrganizationInviteCreateWithoutCreatorInput, OrganizationInviteUncheckedCreateWithoutCreatorInput>
|
|
44382
|
+
}
|
|
44383
|
+
|
|
44384
|
+
export type OrganizationInviteCreateManyCreatorInputEnvelope = {
|
|
44385
|
+
data: OrganizationInviteCreateManyCreatorInput | OrganizationInviteCreateManyCreatorInput[]
|
|
44386
|
+
skipDuplicates?: boolean
|
|
44387
|
+
}
|
|
44388
|
+
|
|
42516
44389
|
export type AccountCreateWithoutUserInput = {
|
|
42517
44390
|
id?: string
|
|
42518
44391
|
type: string
|
|
@@ -43049,6 +44922,42 @@ export namespace Prisma {
|
|
|
43049
44922
|
joinedAt?: DateTimeFilter<"OrganizationMember"> | Date | string
|
|
43050
44923
|
}
|
|
43051
44924
|
|
|
44925
|
+
export type OrganizationInviteUpsertWithWhereUniqueWithoutCreatorInput = {
|
|
44926
|
+
where: OrganizationInviteWhereUniqueInput
|
|
44927
|
+
update: XOR<OrganizationInviteUpdateWithoutCreatorInput, OrganizationInviteUncheckedUpdateWithoutCreatorInput>
|
|
44928
|
+
create: XOR<OrganizationInviteCreateWithoutCreatorInput, OrganizationInviteUncheckedCreateWithoutCreatorInput>
|
|
44929
|
+
}
|
|
44930
|
+
|
|
44931
|
+
export type OrganizationInviteUpdateWithWhereUniqueWithoutCreatorInput = {
|
|
44932
|
+
where: OrganizationInviteWhereUniqueInput
|
|
44933
|
+
data: XOR<OrganizationInviteUpdateWithoutCreatorInput, OrganizationInviteUncheckedUpdateWithoutCreatorInput>
|
|
44934
|
+
}
|
|
44935
|
+
|
|
44936
|
+
export type OrganizationInviteUpdateManyWithWhereWithoutCreatorInput = {
|
|
44937
|
+
where: OrganizationInviteScalarWhereInput
|
|
44938
|
+
data: XOR<OrganizationInviteUpdateManyMutationInput, OrganizationInviteUncheckedUpdateManyWithoutCreatorInput>
|
|
44939
|
+
}
|
|
44940
|
+
|
|
44941
|
+
export type OrganizationInviteScalarWhereInput = {
|
|
44942
|
+
AND?: OrganizationInviteScalarWhereInput | OrganizationInviteScalarWhereInput[]
|
|
44943
|
+
OR?: OrganizationInviteScalarWhereInput[]
|
|
44944
|
+
NOT?: OrganizationInviteScalarWhereInput | OrganizationInviteScalarWhereInput[]
|
|
44945
|
+
id?: StringFilter<"OrganizationInvite"> | string
|
|
44946
|
+
organizationId?: StringFilter<"OrganizationInvite"> | string
|
|
44947
|
+
token?: StringFilter<"OrganizationInvite"> | string
|
|
44948
|
+
email?: StringNullableFilter<"OrganizationInvite"> | string | null
|
|
44949
|
+
role?: EnumMemberRoleFilter<"OrganizationInvite"> | $Enums.MemberRole
|
|
44950
|
+
createdBy?: StringFilter<"OrganizationInvite"> | string
|
|
44951
|
+
expiresAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
44952
|
+
maxUses?: IntFilter<"OrganizationInvite"> | number
|
|
44953
|
+
currentUses?: IntFilter<"OrganizationInvite"> | number
|
|
44954
|
+
isActive?: BoolFilter<"OrganizationInvite"> | boolean
|
|
44955
|
+
usedAt?: DateTimeNullableFilter<"OrganizationInvite"> | Date | string | null
|
|
44956
|
+
usedBy?: StringNullableFilter<"OrganizationInvite"> | string | null
|
|
44957
|
+
createdAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
44958
|
+
updatedAt?: DateTimeFilter<"OrganizationInvite"> | Date | string
|
|
44959
|
+
}
|
|
44960
|
+
|
|
43052
44961
|
export type AccountUpsertWithWhereUniqueWithoutUserInput = {
|
|
43053
44962
|
where: AccountWhereUniqueInput
|
|
43054
44963
|
update: XOR<AccountUpdateWithoutUserInput, AccountUncheckedUpdateWithoutUserInput>
|
|
@@ -43427,6 +45336,7 @@ export namespace Prisma {
|
|
|
43427
45336
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
43428
45337
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
43429
45338
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
45339
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
43430
45340
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
43431
45341
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
43432
45342
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -43468,6 +45378,7 @@ export namespace Prisma {
|
|
|
43468
45378
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
43469
45379
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
43470
45380
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
45381
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
43471
45382
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
43472
45383
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
43473
45384
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -43525,6 +45436,7 @@ export namespace Prisma {
|
|
|
43525
45436
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
43526
45437
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
43527
45438
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
45439
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
43528
45440
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
43529
45441
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
43530
45442
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -43566,6 +45478,7 @@ export namespace Prisma {
|
|
|
43566
45478
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
43567
45479
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
43568
45480
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
45481
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
43569
45482
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
43570
45483
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
43571
45484
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -43607,6 +45520,7 @@ export namespace Prisma {
|
|
|
43607
45520
|
approvalRequest?: UserApprovalRequestCreateNestedOneWithoutUserInput
|
|
43608
45521
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
43609
45522
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
45523
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
43610
45524
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
43611
45525
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
43612
45526
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -43647,7 +45561,419 @@ export namespace Prisma {
|
|
|
43647
45561
|
adminGrantExpiresAt?: Date | string | null
|
|
43648
45562
|
approvalRequest?: UserApprovalRequestUncheckedCreateNestedOneWithoutUserInput
|
|
43649
45563
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
43650
|
-
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
45564
|
+
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
45565
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
45566
|
+
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
45567
|
+
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
45568
|
+
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
45569
|
+
feedbacks?: FeedbackUncheckedCreateNestedManyWithoutUserInput
|
|
45570
|
+
pageViews?: PageViewUncheckedCreateNestedManyWithoutUserInput
|
|
45571
|
+
sessions?: SessionUncheckedCreateNestedManyWithoutUserInput
|
|
45572
|
+
workflowLogs?: WorkflowLogUncheckedCreateNestedManyWithoutUserInput
|
|
45573
|
+
verificationTokens?: VerificationTokenUncheckedCreateNestedManyWithoutUserInput
|
|
45574
|
+
passwordResetTokens?: PasswordResetTokenUncheckedCreateNestedManyWithoutUserInput
|
|
45575
|
+
canvasDocuments?: CanvasDocumentUncheckedCreateNestedManyWithoutUserInput
|
|
45576
|
+
canvasDocumentVersions?: CanvasDocumentVersionUncheckedCreateNestedManyWithoutCreatorInput
|
|
45577
|
+
}
|
|
45578
|
+
|
|
45579
|
+
export type UserCreateOrConnectWithoutOwnedOrganizationsInput = {
|
|
45580
|
+
where: UserWhereUniqueInput
|
|
45581
|
+
create: XOR<UserCreateWithoutOwnedOrganizationsInput, UserUncheckedCreateWithoutOwnedOrganizationsInput>
|
|
45582
|
+
}
|
|
45583
|
+
|
|
45584
|
+
export type OrganizationMemberCreateWithoutOrganizationInput = {
|
|
45585
|
+
id?: string
|
|
45586
|
+
role?: $Enums.MemberRole
|
|
45587
|
+
joinedAt?: Date | string
|
|
45588
|
+
user: UserCreateNestedOneWithoutOrganizationMembersInput
|
|
45589
|
+
}
|
|
45590
|
+
|
|
45591
|
+
export type OrganizationMemberUncheckedCreateWithoutOrganizationInput = {
|
|
45592
|
+
id?: string
|
|
45593
|
+
userId: string
|
|
45594
|
+
role?: $Enums.MemberRole
|
|
45595
|
+
joinedAt?: Date | string
|
|
45596
|
+
}
|
|
45597
|
+
|
|
45598
|
+
export type OrganizationMemberCreateOrConnectWithoutOrganizationInput = {
|
|
45599
|
+
where: OrganizationMemberWhereUniqueInput
|
|
45600
|
+
create: XOR<OrganizationMemberCreateWithoutOrganizationInput, OrganizationMemberUncheckedCreateWithoutOrganizationInput>
|
|
45601
|
+
}
|
|
45602
|
+
|
|
45603
|
+
export type OrganizationMemberCreateManyOrganizationInputEnvelope = {
|
|
45604
|
+
data: OrganizationMemberCreateManyOrganizationInput | OrganizationMemberCreateManyOrganizationInput[]
|
|
45605
|
+
skipDuplicates?: boolean
|
|
45606
|
+
}
|
|
45607
|
+
|
|
45608
|
+
export type OrganizationInviteCreateWithoutOrganizationInput = {
|
|
45609
|
+
id?: string
|
|
45610
|
+
token: string
|
|
45611
|
+
email?: string | null
|
|
45612
|
+
role?: $Enums.MemberRole
|
|
45613
|
+
expiresAt: Date | string
|
|
45614
|
+
maxUses?: number
|
|
45615
|
+
currentUses?: number
|
|
45616
|
+
isActive?: boolean
|
|
45617
|
+
usedAt?: Date | string | null
|
|
45618
|
+
usedBy?: string | null
|
|
45619
|
+
createdAt?: Date | string
|
|
45620
|
+
updatedAt?: Date | string
|
|
45621
|
+
creator: UserCreateNestedOneWithoutCreatedInvitesInput
|
|
45622
|
+
}
|
|
45623
|
+
|
|
45624
|
+
export type OrganizationInviteUncheckedCreateWithoutOrganizationInput = {
|
|
45625
|
+
id?: string
|
|
45626
|
+
token: string
|
|
45627
|
+
email?: string | null
|
|
45628
|
+
role?: $Enums.MemberRole
|
|
45629
|
+
createdBy: string
|
|
45630
|
+
expiresAt: Date | string
|
|
45631
|
+
maxUses?: number
|
|
45632
|
+
currentUses?: number
|
|
45633
|
+
isActive?: boolean
|
|
45634
|
+
usedAt?: Date | string | null
|
|
45635
|
+
usedBy?: string | null
|
|
45636
|
+
createdAt?: Date | string
|
|
45637
|
+
updatedAt?: Date | string
|
|
45638
|
+
}
|
|
45639
|
+
|
|
45640
|
+
export type OrganizationInviteCreateOrConnectWithoutOrganizationInput = {
|
|
45641
|
+
where: OrganizationInviteWhereUniqueInput
|
|
45642
|
+
create: XOR<OrganizationInviteCreateWithoutOrganizationInput, OrganizationInviteUncheckedCreateWithoutOrganizationInput>
|
|
45643
|
+
}
|
|
45644
|
+
|
|
45645
|
+
export type OrganizationInviteCreateManyOrganizationInputEnvelope = {
|
|
45646
|
+
data: OrganizationInviteCreateManyOrganizationInput | OrganizationInviteCreateManyOrganizationInput[]
|
|
45647
|
+
skipDuplicates?: boolean
|
|
45648
|
+
}
|
|
45649
|
+
|
|
45650
|
+
export type StripeCustomerCreateWithoutOrganizationInput = {
|
|
45651
|
+
id?: string
|
|
45652
|
+
stripeCustomerId: string
|
|
45653
|
+
email: string
|
|
45654
|
+
name?: string | null
|
|
45655
|
+
billingAddress?: NullableJsonNullValueInput | InputJsonValue
|
|
45656
|
+
taxIds?: NullableJsonNullValueInput | InputJsonValue
|
|
45657
|
+
createdAt?: Date | string
|
|
45658
|
+
updatedAt?: Date | string
|
|
45659
|
+
user?: UserCreateNestedOneWithoutStripeCustomerInput
|
|
45660
|
+
subscriptions?: StripeSubscriptionCreateNestedManyWithoutCustomerInput
|
|
45661
|
+
payments?: StripePaymentCreateNestedManyWithoutCustomerInput
|
|
45662
|
+
}
|
|
45663
|
+
|
|
45664
|
+
export type StripeCustomerUncheckedCreateWithoutOrganizationInput = {
|
|
45665
|
+
id?: string
|
|
45666
|
+
userId?: string | null
|
|
45667
|
+
stripeCustomerId: string
|
|
45668
|
+
email: string
|
|
45669
|
+
name?: string | null
|
|
45670
|
+
billingAddress?: NullableJsonNullValueInput | InputJsonValue
|
|
45671
|
+
taxIds?: NullableJsonNullValueInput | InputJsonValue
|
|
45672
|
+
createdAt?: Date | string
|
|
45673
|
+
updatedAt?: Date | string
|
|
45674
|
+
subscriptions?: StripeSubscriptionUncheckedCreateNestedManyWithoutCustomerInput
|
|
45675
|
+
payments?: StripePaymentUncheckedCreateNestedManyWithoutCustomerInput
|
|
45676
|
+
}
|
|
45677
|
+
|
|
45678
|
+
export type StripeCustomerCreateOrConnectWithoutOrganizationInput = {
|
|
45679
|
+
where: StripeCustomerWhereUniqueInput
|
|
45680
|
+
create: XOR<StripeCustomerCreateWithoutOrganizationInput, StripeCustomerUncheckedCreateWithoutOrganizationInput>
|
|
45681
|
+
}
|
|
45682
|
+
|
|
45683
|
+
export type UserUpsertWithoutOwnedOrganizationsInput = {
|
|
45684
|
+
update: XOR<UserUpdateWithoutOwnedOrganizationsInput, UserUncheckedUpdateWithoutOwnedOrganizationsInput>
|
|
45685
|
+
create: XOR<UserCreateWithoutOwnedOrganizationsInput, UserUncheckedCreateWithoutOwnedOrganizationsInput>
|
|
45686
|
+
where?: UserWhereInput
|
|
45687
|
+
}
|
|
45688
|
+
|
|
45689
|
+
export type UserUpdateToOneWithWhereWithoutOwnedOrganizationsInput = {
|
|
45690
|
+
where?: UserWhereInput
|
|
45691
|
+
data: XOR<UserUpdateWithoutOwnedOrganizationsInput, UserUncheckedUpdateWithoutOwnedOrganizationsInput>
|
|
45692
|
+
}
|
|
45693
|
+
|
|
45694
|
+
export type UserUpdateWithoutOwnedOrganizationsInput = {
|
|
45695
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
45696
|
+
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45697
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45698
|
+
emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45699
|
+
image?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45700
|
+
password?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45701
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
45702
|
+
agreedToTerms?: BoolFieldUpdateOperationsInput | boolean
|
|
45703
|
+
practiceArea?: UserUpdatepracticeAreaInput | string[]
|
|
45704
|
+
lawFirm?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45705
|
+
yearsOfExperience?: NullableIntFieldUpdateOperationsInput | number | null
|
|
45706
|
+
isApproved?: BoolFieldUpdateOperationsInput | boolean
|
|
45707
|
+
isRejected?: BoolFieldUpdateOperationsInput | boolean
|
|
45708
|
+
approvedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45709
|
+
rejectedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45710
|
+
approvedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45711
|
+
rejectedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45712
|
+
rejectionReason?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45713
|
+
referralSource?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45714
|
+
applicationText?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45715
|
+
subscriptionTier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
45716
|
+
messageCount?: IntFieldUpdateOperationsInput | number
|
|
45717
|
+
messageCountResetAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45718
|
+
adminGrantExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45719
|
+
approvalRequest?: UserApprovalRequestUpdateOneWithoutUserNestedInput
|
|
45720
|
+
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
45721
|
+
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
45722
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
45723
|
+
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
45724
|
+
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
45725
|
+
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
45726
|
+
feedbacks?: FeedbackUpdateManyWithoutUserNestedInput
|
|
45727
|
+
pageViews?: PageViewUpdateManyWithoutUserNestedInput
|
|
45728
|
+
sessions?: SessionUpdateManyWithoutUserNestedInput
|
|
45729
|
+
workflowLogs?: WorkflowLogUpdateManyWithoutUserNestedInput
|
|
45730
|
+
verificationTokens?: VerificationTokenUpdateManyWithoutUserNestedInput
|
|
45731
|
+
passwordResetTokens?: PasswordResetTokenUpdateManyWithoutUserNestedInput
|
|
45732
|
+
canvasDocuments?: CanvasDocumentUpdateManyWithoutUserNestedInput
|
|
45733
|
+
canvasDocumentVersions?: CanvasDocumentVersionUpdateManyWithoutCreatorNestedInput
|
|
45734
|
+
}
|
|
45735
|
+
|
|
45736
|
+
export type UserUncheckedUpdateWithoutOwnedOrganizationsInput = {
|
|
45737
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
45738
|
+
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45739
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45740
|
+
emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45741
|
+
image?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45742
|
+
password?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45743
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
45744
|
+
agreedToTerms?: BoolFieldUpdateOperationsInput | boolean
|
|
45745
|
+
practiceArea?: UserUpdatepracticeAreaInput | string[]
|
|
45746
|
+
lawFirm?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45747
|
+
yearsOfExperience?: NullableIntFieldUpdateOperationsInput | number | null
|
|
45748
|
+
isApproved?: BoolFieldUpdateOperationsInput | boolean
|
|
45749
|
+
isRejected?: BoolFieldUpdateOperationsInput | boolean
|
|
45750
|
+
approvedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45751
|
+
rejectedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45752
|
+
approvedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45753
|
+
rejectedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45754
|
+
rejectionReason?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45755
|
+
referralSource?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45756
|
+
applicationText?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45757
|
+
subscriptionTier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
45758
|
+
messageCount?: IntFieldUpdateOperationsInput | number
|
|
45759
|
+
messageCountResetAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45760
|
+
adminGrantExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
45761
|
+
approvalRequest?: UserApprovalRequestUncheckedUpdateOneWithoutUserNestedInput
|
|
45762
|
+
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
45763
|
+
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
45764
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
45765
|
+
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
45766
|
+
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
45767
|
+
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
45768
|
+
feedbacks?: FeedbackUncheckedUpdateManyWithoutUserNestedInput
|
|
45769
|
+
pageViews?: PageViewUncheckedUpdateManyWithoutUserNestedInput
|
|
45770
|
+
sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
45771
|
+
workflowLogs?: WorkflowLogUncheckedUpdateManyWithoutUserNestedInput
|
|
45772
|
+
verificationTokens?: VerificationTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
45773
|
+
passwordResetTokens?: PasswordResetTokenUncheckedUpdateManyWithoutUserNestedInput
|
|
45774
|
+
canvasDocuments?: CanvasDocumentUncheckedUpdateManyWithoutUserNestedInput
|
|
45775
|
+
canvasDocumentVersions?: CanvasDocumentVersionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
45776
|
+
}
|
|
45777
|
+
|
|
45778
|
+
export type OrganizationMemberUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
45779
|
+
where: OrganizationMemberWhereUniqueInput
|
|
45780
|
+
update: XOR<OrganizationMemberUpdateWithoutOrganizationInput, OrganizationMemberUncheckedUpdateWithoutOrganizationInput>
|
|
45781
|
+
create: XOR<OrganizationMemberCreateWithoutOrganizationInput, OrganizationMemberUncheckedCreateWithoutOrganizationInput>
|
|
45782
|
+
}
|
|
45783
|
+
|
|
45784
|
+
export type OrganizationMemberUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
45785
|
+
where: OrganizationMemberWhereUniqueInput
|
|
45786
|
+
data: XOR<OrganizationMemberUpdateWithoutOrganizationInput, OrganizationMemberUncheckedUpdateWithoutOrganizationInput>
|
|
45787
|
+
}
|
|
45788
|
+
|
|
45789
|
+
export type OrganizationMemberUpdateManyWithWhereWithoutOrganizationInput = {
|
|
45790
|
+
where: OrganizationMemberScalarWhereInput
|
|
45791
|
+
data: XOR<OrganizationMemberUpdateManyMutationInput, OrganizationMemberUncheckedUpdateManyWithoutOrganizationInput>
|
|
45792
|
+
}
|
|
45793
|
+
|
|
45794
|
+
export type OrganizationInviteUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
45795
|
+
where: OrganizationInviteWhereUniqueInput
|
|
45796
|
+
update: XOR<OrganizationInviteUpdateWithoutOrganizationInput, OrganizationInviteUncheckedUpdateWithoutOrganizationInput>
|
|
45797
|
+
create: XOR<OrganizationInviteCreateWithoutOrganizationInput, OrganizationInviteUncheckedCreateWithoutOrganizationInput>
|
|
45798
|
+
}
|
|
45799
|
+
|
|
45800
|
+
export type OrganizationInviteUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
45801
|
+
where: OrganizationInviteWhereUniqueInput
|
|
45802
|
+
data: XOR<OrganizationInviteUpdateWithoutOrganizationInput, OrganizationInviteUncheckedUpdateWithoutOrganizationInput>
|
|
45803
|
+
}
|
|
45804
|
+
|
|
45805
|
+
export type OrganizationInviteUpdateManyWithWhereWithoutOrganizationInput = {
|
|
45806
|
+
where: OrganizationInviteScalarWhereInput
|
|
45807
|
+
data: XOR<OrganizationInviteUpdateManyMutationInput, OrganizationInviteUncheckedUpdateManyWithoutOrganizationInput>
|
|
45808
|
+
}
|
|
45809
|
+
|
|
45810
|
+
export type StripeCustomerUpsertWithoutOrganizationInput = {
|
|
45811
|
+
update: XOR<StripeCustomerUpdateWithoutOrganizationInput, StripeCustomerUncheckedUpdateWithoutOrganizationInput>
|
|
45812
|
+
create: XOR<StripeCustomerCreateWithoutOrganizationInput, StripeCustomerUncheckedCreateWithoutOrganizationInput>
|
|
45813
|
+
where?: StripeCustomerWhereInput
|
|
45814
|
+
}
|
|
45815
|
+
|
|
45816
|
+
export type StripeCustomerUpdateToOneWithWhereWithoutOrganizationInput = {
|
|
45817
|
+
where?: StripeCustomerWhereInput
|
|
45818
|
+
data: XOR<StripeCustomerUpdateWithoutOrganizationInput, StripeCustomerUncheckedUpdateWithoutOrganizationInput>
|
|
45819
|
+
}
|
|
45820
|
+
|
|
45821
|
+
export type StripeCustomerUpdateWithoutOrganizationInput = {
|
|
45822
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
45823
|
+
stripeCustomerId?: StringFieldUpdateOperationsInput | string
|
|
45824
|
+
email?: StringFieldUpdateOperationsInput | string
|
|
45825
|
+
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45826
|
+
billingAddress?: NullableJsonNullValueInput | InputJsonValue
|
|
45827
|
+
taxIds?: NullableJsonNullValueInput | InputJsonValue
|
|
45828
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
45829
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
45830
|
+
user?: UserUpdateOneWithoutStripeCustomerNestedInput
|
|
45831
|
+
subscriptions?: StripeSubscriptionUpdateManyWithoutCustomerNestedInput
|
|
45832
|
+
payments?: StripePaymentUpdateManyWithoutCustomerNestedInput
|
|
45833
|
+
}
|
|
45834
|
+
|
|
45835
|
+
export type StripeCustomerUncheckedUpdateWithoutOrganizationInput = {
|
|
45836
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
45837
|
+
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45838
|
+
stripeCustomerId?: StringFieldUpdateOperationsInput | string
|
|
45839
|
+
email?: StringFieldUpdateOperationsInput | string
|
|
45840
|
+
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
45841
|
+
billingAddress?: NullableJsonNullValueInput | InputJsonValue
|
|
45842
|
+
taxIds?: NullableJsonNullValueInput | InputJsonValue
|
|
45843
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
45844
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
45845
|
+
subscriptions?: StripeSubscriptionUncheckedUpdateManyWithoutCustomerNestedInput
|
|
45846
|
+
payments?: StripePaymentUncheckedUpdateManyWithoutCustomerNestedInput
|
|
45847
|
+
}
|
|
45848
|
+
|
|
45849
|
+
export type OrganizationCreateWithoutMembersInput = {
|
|
45850
|
+
id?: string
|
|
45851
|
+
name: string
|
|
45852
|
+
companyNumber?: string | null
|
|
45853
|
+
vatNumber?: string | null
|
|
45854
|
+
taxNumber?: string | null
|
|
45855
|
+
legalForm?: string | null
|
|
45856
|
+
billingEmail: string
|
|
45857
|
+
street?: string | null
|
|
45858
|
+
city?: string | null
|
|
45859
|
+
postalCode?: string | null
|
|
45860
|
+
country?: string
|
|
45861
|
+
subscriptionTier?: $Enums.SubscriptionTier
|
|
45862
|
+
messageCount?: number
|
|
45863
|
+
messageLimit?: number
|
|
45864
|
+
messageCountResetAt?: Date | string | null
|
|
45865
|
+
adminGrantExpiresAt?: Date | string | null
|
|
45866
|
+
isActive?: boolean
|
|
45867
|
+
maxMembers?: number
|
|
45868
|
+
createdAt?: Date | string
|
|
45869
|
+
updatedAt?: Date | string
|
|
45870
|
+
owner: UserCreateNestedOneWithoutOwnedOrganizationsInput
|
|
45871
|
+
invites?: OrganizationInviteCreateNestedManyWithoutOrganizationInput
|
|
45872
|
+
stripeCustomer?: StripeCustomerCreateNestedOneWithoutOrganizationInput
|
|
45873
|
+
}
|
|
45874
|
+
|
|
45875
|
+
export type OrganizationUncheckedCreateWithoutMembersInput = {
|
|
45876
|
+
id?: string
|
|
45877
|
+
name: string
|
|
45878
|
+
companyNumber?: string | null
|
|
45879
|
+
vatNumber?: string | null
|
|
45880
|
+
taxNumber?: string | null
|
|
45881
|
+
legalForm?: string | null
|
|
45882
|
+
billingEmail: string
|
|
45883
|
+
street?: string | null
|
|
45884
|
+
city?: string | null
|
|
45885
|
+
postalCode?: string | null
|
|
45886
|
+
country?: string
|
|
45887
|
+
subscriptionTier?: $Enums.SubscriptionTier
|
|
45888
|
+
messageCount?: number
|
|
45889
|
+
messageLimit?: number
|
|
45890
|
+
messageCountResetAt?: Date | string | null
|
|
45891
|
+
adminGrantExpiresAt?: Date | string | null
|
|
45892
|
+
isActive?: boolean
|
|
45893
|
+
maxMembers?: number
|
|
45894
|
+
ownerId: string
|
|
45895
|
+
createdAt?: Date | string
|
|
45896
|
+
updatedAt?: Date | string
|
|
45897
|
+
invites?: OrganizationInviteUncheckedCreateNestedManyWithoutOrganizationInput
|
|
45898
|
+
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutOrganizationInput
|
|
45899
|
+
}
|
|
45900
|
+
|
|
45901
|
+
export type OrganizationCreateOrConnectWithoutMembersInput = {
|
|
45902
|
+
where: OrganizationWhereUniqueInput
|
|
45903
|
+
create: XOR<OrganizationCreateWithoutMembersInput, OrganizationUncheckedCreateWithoutMembersInput>
|
|
45904
|
+
}
|
|
45905
|
+
|
|
45906
|
+
export type UserCreateWithoutOrganizationMembersInput = {
|
|
45907
|
+
id?: string
|
|
45908
|
+
name?: string | null
|
|
45909
|
+
email?: string | null
|
|
45910
|
+
emailVerified?: Date | string | null
|
|
45911
|
+
image?: string | null
|
|
45912
|
+
password?: string | null
|
|
45913
|
+
createdAt?: Date | string
|
|
45914
|
+
agreedToTerms?: boolean
|
|
45915
|
+
practiceArea?: UserCreatepracticeAreaInput | string[]
|
|
45916
|
+
lawFirm?: string | null
|
|
45917
|
+
yearsOfExperience?: number | null
|
|
45918
|
+
isApproved?: boolean
|
|
45919
|
+
isRejected?: boolean
|
|
45920
|
+
approvedAt?: Date | string | null
|
|
45921
|
+
rejectedAt?: Date | string | null
|
|
45922
|
+
approvedBy?: string | null
|
|
45923
|
+
rejectedBy?: string | null
|
|
45924
|
+
rejectionReason?: string | null
|
|
45925
|
+
referralSource?: string | null
|
|
45926
|
+
applicationText?: string | null
|
|
45927
|
+
subscriptionTier?: $Enums.SubscriptionTier
|
|
45928
|
+
messageCount?: number
|
|
45929
|
+
messageCountResetAt?: Date | string | null
|
|
45930
|
+
adminGrantExpiresAt?: Date | string | null
|
|
45931
|
+
approvalRequest?: UserApprovalRequestCreateNestedOneWithoutUserInput
|
|
45932
|
+
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
45933
|
+
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
45934
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
45935
|
+
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
45936
|
+
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
45937
|
+
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
45938
|
+
feedbacks?: FeedbackCreateNestedManyWithoutUserInput
|
|
45939
|
+
pageViews?: PageViewCreateNestedManyWithoutUserInput
|
|
45940
|
+
sessions?: SessionCreateNestedManyWithoutUserInput
|
|
45941
|
+
workflowLogs?: WorkflowLogCreateNestedManyWithoutUserInput
|
|
45942
|
+
verificationTokens?: VerificationTokenCreateNestedManyWithoutUserInput
|
|
45943
|
+
passwordResetTokens?: PasswordResetTokenCreateNestedManyWithoutUserInput
|
|
45944
|
+
canvasDocuments?: CanvasDocumentCreateNestedManyWithoutUserInput
|
|
45945
|
+
canvasDocumentVersions?: CanvasDocumentVersionCreateNestedManyWithoutCreatorInput
|
|
45946
|
+
}
|
|
45947
|
+
|
|
45948
|
+
export type UserUncheckedCreateWithoutOrganizationMembersInput = {
|
|
45949
|
+
id?: string
|
|
45950
|
+
name?: string | null
|
|
45951
|
+
email?: string | null
|
|
45952
|
+
emailVerified?: Date | string | null
|
|
45953
|
+
image?: string | null
|
|
45954
|
+
password?: string | null
|
|
45955
|
+
createdAt?: Date | string
|
|
45956
|
+
agreedToTerms?: boolean
|
|
45957
|
+
practiceArea?: UserCreatepracticeAreaInput | string[]
|
|
45958
|
+
lawFirm?: string | null
|
|
45959
|
+
yearsOfExperience?: number | null
|
|
45960
|
+
isApproved?: boolean
|
|
45961
|
+
isRejected?: boolean
|
|
45962
|
+
approvedAt?: Date | string | null
|
|
45963
|
+
rejectedAt?: Date | string | null
|
|
45964
|
+
approvedBy?: string | null
|
|
45965
|
+
rejectedBy?: string | null
|
|
45966
|
+
rejectionReason?: string | null
|
|
45967
|
+
referralSource?: string | null
|
|
45968
|
+
applicationText?: string | null
|
|
45969
|
+
subscriptionTier?: $Enums.SubscriptionTier
|
|
45970
|
+
messageCount?: number
|
|
45971
|
+
messageCountResetAt?: Date | string | null
|
|
45972
|
+
adminGrantExpiresAt?: Date | string | null
|
|
45973
|
+
approvalRequest?: UserApprovalRequestUncheckedCreateNestedOneWithoutUserInput
|
|
45974
|
+
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
45975
|
+
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
45976
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
43651
45977
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
43652
45978
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
43653
45979
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -43661,80 +45987,86 @@ export namespace Prisma {
|
|
|
43661
45987
|
canvasDocumentVersions?: CanvasDocumentVersionUncheckedCreateNestedManyWithoutCreatorInput
|
|
43662
45988
|
}
|
|
43663
45989
|
|
|
43664
|
-
export type
|
|
45990
|
+
export type UserCreateOrConnectWithoutOrganizationMembersInput = {
|
|
43665
45991
|
where: UserWhereUniqueInput
|
|
43666
|
-
create: XOR<
|
|
43667
|
-
}
|
|
43668
|
-
|
|
43669
|
-
export type OrganizationMemberCreateWithoutOrganizationInput = {
|
|
43670
|
-
id?: string
|
|
43671
|
-
role?: $Enums.MemberRole
|
|
43672
|
-
joinedAt?: Date | string
|
|
43673
|
-
user: UserCreateNestedOneWithoutOrganizationMembersInput
|
|
43674
|
-
}
|
|
43675
|
-
|
|
43676
|
-
export type OrganizationMemberUncheckedCreateWithoutOrganizationInput = {
|
|
43677
|
-
id?: string
|
|
43678
|
-
userId: string
|
|
43679
|
-
role?: $Enums.MemberRole
|
|
43680
|
-
joinedAt?: Date | string
|
|
43681
|
-
}
|
|
43682
|
-
|
|
43683
|
-
export type OrganizationMemberCreateOrConnectWithoutOrganizationInput = {
|
|
43684
|
-
where: OrganizationMemberWhereUniqueInput
|
|
43685
|
-
create: XOR<OrganizationMemberCreateWithoutOrganizationInput, OrganizationMemberUncheckedCreateWithoutOrganizationInput>
|
|
45992
|
+
create: XOR<UserCreateWithoutOrganizationMembersInput, UserUncheckedCreateWithoutOrganizationMembersInput>
|
|
43686
45993
|
}
|
|
43687
45994
|
|
|
43688
|
-
export type
|
|
43689
|
-
|
|
43690
|
-
|
|
45995
|
+
export type OrganizationUpsertWithoutMembersInput = {
|
|
45996
|
+
update: XOR<OrganizationUpdateWithoutMembersInput, OrganizationUncheckedUpdateWithoutMembersInput>
|
|
45997
|
+
create: XOR<OrganizationCreateWithoutMembersInput, OrganizationUncheckedCreateWithoutMembersInput>
|
|
45998
|
+
where?: OrganizationWhereInput
|
|
43691
45999
|
}
|
|
43692
46000
|
|
|
43693
|
-
export type
|
|
43694
|
-
|
|
43695
|
-
|
|
43696
|
-
email: string
|
|
43697
|
-
name?: string | null
|
|
43698
|
-
billingAddress?: NullableJsonNullValueInput | InputJsonValue
|
|
43699
|
-
taxIds?: NullableJsonNullValueInput | InputJsonValue
|
|
43700
|
-
createdAt?: Date | string
|
|
43701
|
-
updatedAt?: Date | string
|
|
43702
|
-
user?: UserCreateNestedOneWithoutStripeCustomerInput
|
|
43703
|
-
subscriptions?: StripeSubscriptionCreateNestedManyWithoutCustomerInput
|
|
43704
|
-
payments?: StripePaymentCreateNestedManyWithoutCustomerInput
|
|
46001
|
+
export type OrganizationUpdateToOneWithWhereWithoutMembersInput = {
|
|
46002
|
+
where?: OrganizationWhereInput
|
|
46003
|
+
data: XOR<OrganizationUpdateWithoutMembersInput, OrganizationUncheckedUpdateWithoutMembersInput>
|
|
43705
46004
|
}
|
|
43706
46005
|
|
|
43707
|
-
export type
|
|
43708
|
-
id?: string
|
|
43709
|
-
|
|
43710
|
-
|
|
43711
|
-
|
|
43712
|
-
|
|
43713
|
-
|
|
43714
|
-
|
|
43715
|
-
|
|
43716
|
-
|
|
43717
|
-
|
|
43718
|
-
|
|
46006
|
+
export type OrganizationUpdateWithoutMembersInput = {
|
|
46007
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
46008
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
46009
|
+
companyNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46010
|
+
vatNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46011
|
+
taxNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46012
|
+
legalForm?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46013
|
+
billingEmail?: StringFieldUpdateOperationsInput | string
|
|
46014
|
+
street?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46015
|
+
city?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46016
|
+
postalCode?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46017
|
+
country?: StringFieldUpdateOperationsInput | string
|
|
46018
|
+
subscriptionTier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
46019
|
+
messageCount?: IntFieldUpdateOperationsInput | number
|
|
46020
|
+
messageLimit?: IntFieldUpdateOperationsInput | number
|
|
46021
|
+
messageCountResetAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
46022
|
+
adminGrantExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
46023
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
46024
|
+
maxMembers?: IntFieldUpdateOperationsInput | number
|
|
46025
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46026
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46027
|
+
owner?: UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput
|
|
46028
|
+
invites?: OrganizationInviteUpdateManyWithoutOrganizationNestedInput
|
|
46029
|
+
stripeCustomer?: StripeCustomerUpdateOneWithoutOrganizationNestedInput
|
|
43719
46030
|
}
|
|
43720
46031
|
|
|
43721
|
-
export type
|
|
43722
|
-
|
|
43723
|
-
|
|
46032
|
+
export type OrganizationUncheckedUpdateWithoutMembersInput = {
|
|
46033
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
46034
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
46035
|
+
companyNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46036
|
+
vatNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46037
|
+
taxNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46038
|
+
legalForm?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46039
|
+
billingEmail?: StringFieldUpdateOperationsInput | string
|
|
46040
|
+
street?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46041
|
+
city?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46042
|
+
postalCode?: NullableStringFieldUpdateOperationsInput | string | null
|
|
46043
|
+
country?: StringFieldUpdateOperationsInput | string
|
|
46044
|
+
subscriptionTier?: EnumSubscriptionTierFieldUpdateOperationsInput | $Enums.SubscriptionTier
|
|
46045
|
+
messageCount?: IntFieldUpdateOperationsInput | number
|
|
46046
|
+
messageLimit?: IntFieldUpdateOperationsInput | number
|
|
46047
|
+
messageCountResetAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
46048
|
+
adminGrantExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
46049
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
46050
|
+
maxMembers?: IntFieldUpdateOperationsInput | number
|
|
46051
|
+
ownerId?: StringFieldUpdateOperationsInput | string
|
|
46052
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46053
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46054
|
+
invites?: OrganizationInviteUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
46055
|
+
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutOrganizationNestedInput
|
|
43724
46056
|
}
|
|
43725
46057
|
|
|
43726
|
-
export type
|
|
43727
|
-
update: XOR<
|
|
43728
|
-
create: XOR<
|
|
46058
|
+
export type UserUpsertWithoutOrganizationMembersInput = {
|
|
46059
|
+
update: XOR<UserUpdateWithoutOrganizationMembersInput, UserUncheckedUpdateWithoutOrganizationMembersInput>
|
|
46060
|
+
create: XOR<UserCreateWithoutOrganizationMembersInput, UserUncheckedCreateWithoutOrganizationMembersInput>
|
|
43729
46061
|
where?: UserWhereInput
|
|
43730
46062
|
}
|
|
43731
46063
|
|
|
43732
|
-
export type
|
|
46064
|
+
export type UserUpdateToOneWithWhereWithoutOrganizationMembersInput = {
|
|
43733
46065
|
where?: UserWhereInput
|
|
43734
|
-
data: XOR<
|
|
46066
|
+
data: XOR<UserUpdateWithoutOrganizationMembersInput, UserUncheckedUpdateWithoutOrganizationMembersInput>
|
|
43735
46067
|
}
|
|
43736
46068
|
|
|
43737
|
-
export type
|
|
46069
|
+
export type UserUpdateWithoutOrganizationMembersInput = {
|
|
43738
46070
|
id?: StringFieldUpdateOperationsInput | string
|
|
43739
46071
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
43740
46072
|
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -43761,7 +46093,8 @@ export namespace Prisma {
|
|
|
43761
46093
|
adminGrantExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
43762
46094
|
approvalRequest?: UserApprovalRequestUpdateOneWithoutUserNestedInput
|
|
43763
46095
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
43764
|
-
|
|
46096
|
+
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
46097
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
43765
46098
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
43766
46099
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
43767
46100
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -43775,7 +46108,7 @@ export namespace Prisma {
|
|
|
43775
46108
|
canvasDocumentVersions?: CanvasDocumentVersionUpdateManyWithoutCreatorNestedInput
|
|
43776
46109
|
}
|
|
43777
46110
|
|
|
43778
|
-
export type
|
|
46111
|
+
export type UserUncheckedUpdateWithoutOrganizationMembersInput = {
|
|
43779
46112
|
id?: StringFieldUpdateOperationsInput | string
|
|
43780
46113
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
43781
46114
|
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -43802,7 +46135,8 @@ export namespace Prisma {
|
|
|
43802
46135
|
adminGrantExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
43803
46136
|
approvalRequest?: UserApprovalRequestUncheckedUpdateOneWithoutUserNestedInput
|
|
43804
46137
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
43805
|
-
|
|
46138
|
+
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
46139
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
43806
46140
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
43807
46141
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
43808
46142
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -43816,62 +46150,7 @@ export namespace Prisma {
|
|
|
43816
46150
|
canvasDocumentVersions?: CanvasDocumentVersionUncheckedUpdateManyWithoutCreatorNestedInput
|
|
43817
46151
|
}
|
|
43818
46152
|
|
|
43819
|
-
export type
|
|
43820
|
-
where: OrganizationMemberWhereUniqueInput
|
|
43821
|
-
update: XOR<OrganizationMemberUpdateWithoutOrganizationInput, OrganizationMemberUncheckedUpdateWithoutOrganizationInput>
|
|
43822
|
-
create: XOR<OrganizationMemberCreateWithoutOrganizationInput, OrganizationMemberUncheckedCreateWithoutOrganizationInput>
|
|
43823
|
-
}
|
|
43824
|
-
|
|
43825
|
-
export type OrganizationMemberUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
43826
|
-
where: OrganizationMemberWhereUniqueInput
|
|
43827
|
-
data: XOR<OrganizationMemberUpdateWithoutOrganizationInput, OrganizationMemberUncheckedUpdateWithoutOrganizationInput>
|
|
43828
|
-
}
|
|
43829
|
-
|
|
43830
|
-
export type OrganizationMemberUpdateManyWithWhereWithoutOrganizationInput = {
|
|
43831
|
-
where: OrganizationMemberScalarWhereInput
|
|
43832
|
-
data: XOR<OrganizationMemberUpdateManyMutationInput, OrganizationMemberUncheckedUpdateManyWithoutOrganizationInput>
|
|
43833
|
-
}
|
|
43834
|
-
|
|
43835
|
-
export type StripeCustomerUpsertWithoutOrganizationInput = {
|
|
43836
|
-
update: XOR<StripeCustomerUpdateWithoutOrganizationInput, StripeCustomerUncheckedUpdateWithoutOrganizationInput>
|
|
43837
|
-
create: XOR<StripeCustomerCreateWithoutOrganizationInput, StripeCustomerUncheckedCreateWithoutOrganizationInput>
|
|
43838
|
-
where?: StripeCustomerWhereInput
|
|
43839
|
-
}
|
|
43840
|
-
|
|
43841
|
-
export type StripeCustomerUpdateToOneWithWhereWithoutOrganizationInput = {
|
|
43842
|
-
where?: StripeCustomerWhereInput
|
|
43843
|
-
data: XOR<StripeCustomerUpdateWithoutOrganizationInput, StripeCustomerUncheckedUpdateWithoutOrganizationInput>
|
|
43844
|
-
}
|
|
43845
|
-
|
|
43846
|
-
export type StripeCustomerUpdateWithoutOrganizationInput = {
|
|
43847
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
43848
|
-
stripeCustomerId?: StringFieldUpdateOperationsInput | string
|
|
43849
|
-
email?: StringFieldUpdateOperationsInput | string
|
|
43850
|
-
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
43851
|
-
billingAddress?: NullableJsonNullValueInput | InputJsonValue
|
|
43852
|
-
taxIds?: NullableJsonNullValueInput | InputJsonValue
|
|
43853
|
-
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
43854
|
-
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
43855
|
-
user?: UserUpdateOneWithoutStripeCustomerNestedInput
|
|
43856
|
-
subscriptions?: StripeSubscriptionUpdateManyWithoutCustomerNestedInput
|
|
43857
|
-
payments?: StripePaymentUpdateManyWithoutCustomerNestedInput
|
|
43858
|
-
}
|
|
43859
|
-
|
|
43860
|
-
export type StripeCustomerUncheckedUpdateWithoutOrganizationInput = {
|
|
43861
|
-
id?: StringFieldUpdateOperationsInput | string
|
|
43862
|
-
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
43863
|
-
stripeCustomerId?: StringFieldUpdateOperationsInput | string
|
|
43864
|
-
email?: StringFieldUpdateOperationsInput | string
|
|
43865
|
-
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
43866
|
-
billingAddress?: NullableJsonNullValueInput | InputJsonValue
|
|
43867
|
-
taxIds?: NullableJsonNullValueInput | InputJsonValue
|
|
43868
|
-
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
43869
|
-
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
43870
|
-
subscriptions?: StripeSubscriptionUncheckedUpdateManyWithoutCustomerNestedInput
|
|
43871
|
-
payments?: StripePaymentUncheckedUpdateManyWithoutCustomerNestedInput
|
|
43872
|
-
}
|
|
43873
|
-
|
|
43874
|
-
export type OrganizationCreateWithoutMembersInput = {
|
|
46153
|
+
export type OrganizationCreateWithoutInvitesInput = {
|
|
43875
46154
|
id?: string
|
|
43876
46155
|
name: string
|
|
43877
46156
|
companyNumber?: string | null
|
|
@@ -43893,10 +46172,11 @@ export namespace Prisma {
|
|
|
43893
46172
|
createdAt?: Date | string
|
|
43894
46173
|
updatedAt?: Date | string
|
|
43895
46174
|
owner: UserCreateNestedOneWithoutOwnedOrganizationsInput
|
|
46175
|
+
members?: OrganizationMemberCreateNestedManyWithoutOrganizationInput
|
|
43896
46176
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutOrganizationInput
|
|
43897
46177
|
}
|
|
43898
46178
|
|
|
43899
|
-
export type
|
|
46179
|
+
export type OrganizationUncheckedCreateWithoutInvitesInput = {
|
|
43900
46180
|
id?: string
|
|
43901
46181
|
name: string
|
|
43902
46182
|
companyNumber?: string | null
|
|
@@ -43918,15 +46198,16 @@ export namespace Prisma {
|
|
|
43918
46198
|
ownerId: string
|
|
43919
46199
|
createdAt?: Date | string
|
|
43920
46200
|
updatedAt?: Date | string
|
|
46201
|
+
members?: OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput
|
|
43921
46202
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutOrganizationInput
|
|
43922
46203
|
}
|
|
43923
46204
|
|
|
43924
|
-
export type
|
|
46205
|
+
export type OrganizationCreateOrConnectWithoutInvitesInput = {
|
|
43925
46206
|
where: OrganizationWhereUniqueInput
|
|
43926
|
-
create: XOR<
|
|
46207
|
+
create: XOR<OrganizationCreateWithoutInvitesInput, OrganizationUncheckedCreateWithoutInvitesInput>
|
|
43927
46208
|
}
|
|
43928
46209
|
|
|
43929
|
-
export type
|
|
46210
|
+
export type UserCreateWithoutCreatedInvitesInput = {
|
|
43930
46211
|
id?: string
|
|
43931
46212
|
name?: string | null
|
|
43932
46213
|
email?: string | null
|
|
@@ -43954,6 +46235,7 @@ export namespace Prisma {
|
|
|
43954
46235
|
approvalRequest?: UserApprovalRequestCreateNestedOneWithoutUserInput
|
|
43955
46236
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
43956
46237
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
46238
|
+
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
43957
46239
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
43958
46240
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
43959
46241
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -43967,7 +46249,7 @@ export namespace Prisma {
|
|
|
43967
46249
|
canvasDocumentVersions?: CanvasDocumentVersionCreateNestedManyWithoutCreatorInput
|
|
43968
46250
|
}
|
|
43969
46251
|
|
|
43970
|
-
export type
|
|
46252
|
+
export type UserUncheckedCreateWithoutCreatedInvitesInput = {
|
|
43971
46253
|
id?: string
|
|
43972
46254
|
name?: string | null
|
|
43973
46255
|
email?: string | null
|
|
@@ -43995,6 +46277,7 @@ export namespace Prisma {
|
|
|
43995
46277
|
approvalRequest?: UserApprovalRequestUncheckedCreateNestedOneWithoutUserInput
|
|
43996
46278
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
43997
46279
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
46280
|
+
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
43998
46281
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
43999
46282
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
44000
46283
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -44008,23 +46291,23 @@ export namespace Prisma {
|
|
|
44008
46291
|
canvasDocumentVersions?: CanvasDocumentVersionUncheckedCreateNestedManyWithoutCreatorInput
|
|
44009
46292
|
}
|
|
44010
46293
|
|
|
44011
|
-
export type
|
|
46294
|
+
export type UserCreateOrConnectWithoutCreatedInvitesInput = {
|
|
44012
46295
|
where: UserWhereUniqueInput
|
|
44013
|
-
create: XOR<
|
|
46296
|
+
create: XOR<UserCreateWithoutCreatedInvitesInput, UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
44014
46297
|
}
|
|
44015
46298
|
|
|
44016
|
-
export type
|
|
44017
|
-
update: XOR<
|
|
44018
|
-
create: XOR<
|
|
46299
|
+
export type OrganizationUpsertWithoutInvitesInput = {
|
|
46300
|
+
update: XOR<OrganizationUpdateWithoutInvitesInput, OrganizationUncheckedUpdateWithoutInvitesInput>
|
|
46301
|
+
create: XOR<OrganizationCreateWithoutInvitesInput, OrganizationUncheckedCreateWithoutInvitesInput>
|
|
44019
46302
|
where?: OrganizationWhereInput
|
|
44020
46303
|
}
|
|
44021
46304
|
|
|
44022
|
-
export type
|
|
46305
|
+
export type OrganizationUpdateToOneWithWhereWithoutInvitesInput = {
|
|
44023
46306
|
where?: OrganizationWhereInput
|
|
44024
|
-
data: XOR<
|
|
46307
|
+
data: XOR<OrganizationUpdateWithoutInvitesInput, OrganizationUncheckedUpdateWithoutInvitesInput>
|
|
44025
46308
|
}
|
|
44026
46309
|
|
|
44027
|
-
export type
|
|
46310
|
+
export type OrganizationUpdateWithoutInvitesInput = {
|
|
44028
46311
|
id?: StringFieldUpdateOperationsInput | string
|
|
44029
46312
|
name?: StringFieldUpdateOperationsInput | string
|
|
44030
46313
|
companyNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -44046,10 +46329,11 @@ export namespace Prisma {
|
|
|
44046
46329
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44047
46330
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44048
46331
|
owner?: UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput
|
|
46332
|
+
members?: OrganizationMemberUpdateManyWithoutOrganizationNestedInput
|
|
44049
46333
|
stripeCustomer?: StripeCustomerUpdateOneWithoutOrganizationNestedInput
|
|
44050
46334
|
}
|
|
44051
46335
|
|
|
44052
|
-
export type
|
|
46336
|
+
export type OrganizationUncheckedUpdateWithoutInvitesInput = {
|
|
44053
46337
|
id?: StringFieldUpdateOperationsInput | string
|
|
44054
46338
|
name?: StringFieldUpdateOperationsInput | string
|
|
44055
46339
|
companyNumber?: NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -44071,21 +46355,22 @@ export namespace Prisma {
|
|
|
44071
46355
|
ownerId?: StringFieldUpdateOperationsInput | string
|
|
44072
46356
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
44073
46357
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46358
|
+
members?: OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
44074
46359
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutOrganizationNestedInput
|
|
44075
46360
|
}
|
|
44076
46361
|
|
|
44077
|
-
export type
|
|
44078
|
-
update: XOR<
|
|
44079
|
-
create: XOR<
|
|
46362
|
+
export type UserUpsertWithoutCreatedInvitesInput = {
|
|
46363
|
+
update: XOR<UserUpdateWithoutCreatedInvitesInput, UserUncheckedUpdateWithoutCreatedInvitesInput>
|
|
46364
|
+
create: XOR<UserCreateWithoutCreatedInvitesInput, UserUncheckedCreateWithoutCreatedInvitesInput>
|
|
44080
46365
|
where?: UserWhereInput
|
|
44081
46366
|
}
|
|
44082
46367
|
|
|
44083
|
-
export type
|
|
46368
|
+
export type UserUpdateToOneWithWhereWithoutCreatedInvitesInput = {
|
|
44084
46369
|
where?: UserWhereInput
|
|
44085
|
-
data: XOR<
|
|
46370
|
+
data: XOR<UserUpdateWithoutCreatedInvitesInput, UserUncheckedUpdateWithoutCreatedInvitesInput>
|
|
44086
46371
|
}
|
|
44087
46372
|
|
|
44088
|
-
export type
|
|
46373
|
+
export type UserUpdateWithoutCreatedInvitesInput = {
|
|
44089
46374
|
id?: StringFieldUpdateOperationsInput | string
|
|
44090
46375
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
44091
46376
|
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -44113,6 +46398,7 @@ export namespace Prisma {
|
|
|
44113
46398
|
approvalRequest?: UserApprovalRequestUpdateOneWithoutUserNestedInput
|
|
44114
46399
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
44115
46400
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
46401
|
+
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
44116
46402
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
44117
46403
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
44118
46404
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -44126,7 +46412,7 @@ export namespace Prisma {
|
|
|
44126
46412
|
canvasDocumentVersions?: CanvasDocumentVersionUpdateManyWithoutCreatorNestedInput
|
|
44127
46413
|
}
|
|
44128
46414
|
|
|
44129
|
-
export type
|
|
46415
|
+
export type UserUncheckedUpdateWithoutCreatedInvitesInput = {
|
|
44130
46416
|
id?: StringFieldUpdateOperationsInput | string
|
|
44131
46417
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
44132
46418
|
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -44154,6 +46440,7 @@ export namespace Prisma {
|
|
|
44154
46440
|
approvalRequest?: UserApprovalRequestUncheckedUpdateOneWithoutUserNestedInput
|
|
44155
46441
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
44156
46442
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
46443
|
+
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
44157
46444
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
44158
46445
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
44159
46446
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -44250,6 +46537,7 @@ export namespace Prisma {
|
|
|
44250
46537
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
44251
46538
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
44252
46539
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
46540
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
44253
46541
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
44254
46542
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
44255
46543
|
feedbacks?: FeedbackCreateNestedManyWithoutUserInput
|
|
@@ -44291,6 +46579,7 @@ export namespace Prisma {
|
|
|
44291
46579
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
44292
46580
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
44293
46581
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
46582
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
44294
46583
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
44295
46584
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
44296
46585
|
feedbacks?: FeedbackUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -44436,6 +46725,7 @@ export namespace Prisma {
|
|
|
44436
46725
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
44437
46726
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
44438
46727
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
46728
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
44439
46729
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
44440
46730
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
44441
46731
|
feedbacks?: FeedbackUpdateManyWithoutUserNestedInput
|
|
@@ -44477,6 +46767,7 @@ export namespace Prisma {
|
|
|
44477
46767
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
44478
46768
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
44479
46769
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
46770
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
44480
46771
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
44481
46772
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
44482
46773
|
feedbacks?: FeedbackUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -44585,6 +46876,7 @@ export namespace Prisma {
|
|
|
44585
46876
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
44586
46877
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
44587
46878
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
46879
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
44588
46880
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
44589
46881
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
44590
46882
|
feedbacks?: FeedbackCreateNestedManyWithoutUserInput
|
|
@@ -44626,6 +46918,7 @@ export namespace Prisma {
|
|
|
44626
46918
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
44627
46919
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
44628
46920
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
46921
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
44629
46922
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
44630
46923
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
44631
46924
|
feedbacks?: FeedbackUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -44892,6 +47185,7 @@ export namespace Prisma {
|
|
|
44892
47185
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
44893
47186
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
44894
47187
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
47188
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
44895
47189
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
44896
47190
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
44897
47191
|
feedbacks?: FeedbackUpdateManyWithoutUserNestedInput
|
|
@@ -44933,6 +47227,7 @@ export namespace Prisma {
|
|
|
44933
47227
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
44934
47228
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
44935
47229
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
47230
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
44936
47231
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
44937
47232
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
44938
47233
|
feedbacks?: FeedbackUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -45386,6 +47681,7 @@ export namespace Prisma {
|
|
|
45386
47681
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
45387
47682
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
45388
47683
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
47684
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
45389
47685
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
45390
47686
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
45391
47687
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -45427,6 +47723,7 @@ export namespace Prisma {
|
|
|
45427
47723
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
45428
47724
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
45429
47725
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
47726
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
45430
47727
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
45431
47728
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
45432
47729
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -45539,6 +47836,7 @@ export namespace Prisma {
|
|
|
45539
47836
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
45540
47837
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
45541
47838
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
47839
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
45542
47840
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
45543
47841
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
45544
47842
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -45580,6 +47878,7 @@ export namespace Prisma {
|
|
|
45580
47878
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
45581
47879
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
45582
47880
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
47881
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
45583
47882
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
45584
47883
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
45585
47884
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -45750,6 +48049,7 @@ export namespace Prisma {
|
|
|
45750
48049
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
45751
48050
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
45752
48051
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
48052
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
45753
48053
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
45754
48054
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
45755
48055
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -45791,6 +48091,7 @@ export namespace Prisma {
|
|
|
45791
48091
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
45792
48092
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
45793
48093
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
48094
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
45794
48095
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
45795
48096
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
45796
48097
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -45879,6 +48180,7 @@ export namespace Prisma {
|
|
|
45879
48180
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
45880
48181
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
45881
48182
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
48183
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
45882
48184
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
45883
48185
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
45884
48186
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -45920,6 +48222,7 @@ export namespace Prisma {
|
|
|
45920
48222
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
45921
48223
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
45922
48224
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
48225
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
45923
48226
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
45924
48227
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
45925
48228
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -46011,6 +48314,7 @@ export namespace Prisma {
|
|
|
46011
48314
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
46012
48315
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
46013
48316
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
48317
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
46014
48318
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
46015
48319
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
46016
48320
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -46052,6 +48356,7 @@ export namespace Prisma {
|
|
|
46052
48356
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
46053
48357
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
46054
48358
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
48359
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
46055
48360
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
46056
48361
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
46057
48362
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -46163,6 +48468,7 @@ export namespace Prisma {
|
|
|
46163
48468
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
46164
48469
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
46165
48470
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
48471
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
46166
48472
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
46167
48473
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
46168
48474
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -46204,6 +48510,7 @@ export namespace Prisma {
|
|
|
46204
48510
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
46205
48511
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
46206
48512
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
48513
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
46207
48514
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
46208
48515
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
46209
48516
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -46260,6 +48567,7 @@ export namespace Prisma {
|
|
|
46260
48567
|
approvalRequest?: UserApprovalRequestCreateNestedOneWithoutUserInput
|
|
46261
48568
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
46262
48569
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
48570
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
46263
48571
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
46264
48572
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
46265
48573
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -46301,6 +48609,7 @@ export namespace Prisma {
|
|
|
46301
48609
|
approvalRequest?: UserApprovalRequestUncheckedCreateNestedOneWithoutUserInput
|
|
46302
48610
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
46303
48611
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
48612
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
46304
48613
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
46305
48614
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
46306
48615
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -46342,6 +48651,7 @@ export namespace Prisma {
|
|
|
46342
48651
|
updatedAt?: Date | string
|
|
46343
48652
|
owner: UserCreateNestedOneWithoutOwnedOrganizationsInput
|
|
46344
48653
|
members?: OrganizationMemberCreateNestedManyWithoutOrganizationInput
|
|
48654
|
+
invites?: OrganizationInviteCreateNestedManyWithoutOrganizationInput
|
|
46345
48655
|
}
|
|
46346
48656
|
|
|
46347
48657
|
export type OrganizationUncheckedCreateWithoutStripeCustomerInput = {
|
|
@@ -46367,6 +48677,7 @@ export namespace Prisma {
|
|
|
46367
48677
|
createdAt?: Date | string
|
|
46368
48678
|
updatedAt?: Date | string
|
|
46369
48679
|
members?: OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput
|
|
48680
|
+
invites?: OrganizationInviteUncheckedCreateNestedManyWithoutOrganizationInput
|
|
46370
48681
|
}
|
|
46371
48682
|
|
|
46372
48683
|
export type OrganizationCreateOrConnectWithoutStripeCustomerInput = {
|
|
@@ -46507,6 +48818,7 @@ export namespace Prisma {
|
|
|
46507
48818
|
approvalRequest?: UserApprovalRequestUpdateOneWithoutUserNestedInput
|
|
46508
48819
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
46509
48820
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
48821
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
46510
48822
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
46511
48823
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
46512
48824
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -46548,6 +48860,7 @@ export namespace Prisma {
|
|
|
46548
48860
|
approvalRequest?: UserApprovalRequestUncheckedUpdateOneWithoutUserNestedInput
|
|
46549
48861
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
46550
48862
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
48863
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
46551
48864
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
46552
48865
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
46553
48866
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -46595,6 +48908,7 @@ export namespace Prisma {
|
|
|
46595
48908
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46596
48909
|
owner?: UserUpdateOneRequiredWithoutOwnedOrganizationsNestedInput
|
|
46597
48910
|
members?: OrganizationMemberUpdateManyWithoutOrganizationNestedInput
|
|
48911
|
+
invites?: OrganizationInviteUpdateManyWithoutOrganizationNestedInput
|
|
46598
48912
|
}
|
|
46599
48913
|
|
|
46600
48914
|
export type OrganizationUncheckedUpdateWithoutStripeCustomerInput = {
|
|
@@ -46620,6 +48934,7 @@ export namespace Prisma {
|
|
|
46620
48934
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46621
48935
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
46622
48936
|
members?: OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
48937
|
+
invites?: OrganizationInviteUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
46623
48938
|
}
|
|
46624
48939
|
|
|
46625
48940
|
export type StripeSubscriptionUpsertWithWhereUniqueWithoutCustomerInput = {
|
|
@@ -46945,6 +49260,7 @@ export namespace Prisma {
|
|
|
46945
49260
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
46946
49261
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
46947
49262
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
49263
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
46948
49264
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
46949
49265
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
46950
49266
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -46986,6 +49302,7 @@ export namespace Prisma {
|
|
|
46986
49302
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
46987
49303
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
46988
49304
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
49305
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
46989
49306
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
46990
49307
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
46991
49308
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -47192,6 +49509,7 @@ export namespace Prisma {
|
|
|
47192
49509
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
47193
49510
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
47194
49511
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
49512
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
47195
49513
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
47196
49514
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
47197
49515
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -47233,6 +49551,7 @@ export namespace Prisma {
|
|
|
47233
49551
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
47234
49552
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
47235
49553
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
49554
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
47236
49555
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
47237
49556
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
47238
49557
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -47432,6 +49751,7 @@ export namespace Prisma {
|
|
|
47432
49751
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
47433
49752
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
47434
49753
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
49754
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
47435
49755
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
47436
49756
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
47437
49757
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -47473,6 +49793,7 @@ export namespace Prisma {
|
|
|
47473
49793
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
47474
49794
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
47475
49795
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
49796
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
47476
49797
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
47477
49798
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
47478
49799
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -47530,6 +49851,7 @@ export namespace Prisma {
|
|
|
47530
49851
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
47531
49852
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
47532
49853
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
49854
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
47533
49855
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
47534
49856
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
47535
49857
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -47571,6 +49893,7 @@ export namespace Prisma {
|
|
|
47571
49893
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
47572
49894
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
47573
49895
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
49896
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
47574
49897
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
47575
49898
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
47576
49899
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -47612,6 +49935,7 @@ export namespace Prisma {
|
|
|
47612
49935
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
47613
49936
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
47614
49937
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
49938
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
47615
49939
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
47616
49940
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
47617
49941
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -47653,6 +49977,7 @@ export namespace Prisma {
|
|
|
47653
49977
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
47654
49978
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
47655
49979
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
49980
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
47656
49981
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
47657
49982
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
47658
49983
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -47710,6 +50035,7 @@ export namespace Prisma {
|
|
|
47710
50035
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
47711
50036
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
47712
50037
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
50038
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
47713
50039
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
47714
50040
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
47715
50041
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -47751,6 +50077,7 @@ export namespace Prisma {
|
|
|
47751
50077
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
47752
50078
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
47753
50079
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
50080
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
47754
50081
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
47755
50082
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
47756
50083
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -47792,6 +50119,7 @@ export namespace Prisma {
|
|
|
47792
50119
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
47793
50120
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
47794
50121
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
50122
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
47795
50123
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
47796
50124
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
47797
50125
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -47833,6 +50161,7 @@ export namespace Prisma {
|
|
|
47833
50161
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
47834
50162
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
47835
50163
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
50164
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
47836
50165
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
47837
50166
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
47838
50167
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -47992,6 +50321,7 @@ export namespace Prisma {
|
|
|
47992
50321
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
47993
50322
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
47994
50323
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
50324
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
47995
50325
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
47996
50326
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
47997
50327
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -48033,6 +50363,7 @@ export namespace Prisma {
|
|
|
48033
50363
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
48034
50364
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
48035
50365
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
50366
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
48036
50367
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
48037
50368
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
48038
50369
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -48197,6 +50528,7 @@ export namespace Prisma {
|
|
|
48197
50528
|
stripeCustomer?: StripeCustomerCreateNestedOneWithoutUserInput
|
|
48198
50529
|
ownedOrganizations?: OrganizationCreateNestedManyWithoutOwnerInput
|
|
48199
50530
|
organizationMembers?: OrganizationMemberCreateNestedManyWithoutUserInput
|
|
50531
|
+
createdInvites?: OrganizationInviteCreateNestedManyWithoutCreatorInput
|
|
48200
50532
|
accounts?: AccountCreateNestedManyWithoutUserInput
|
|
48201
50533
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
48202
50534
|
conversations?: ConversationCreateNestedManyWithoutUserInput
|
|
@@ -48238,6 +50570,7 @@ export namespace Prisma {
|
|
|
48238
50570
|
stripeCustomer?: StripeCustomerUncheckedCreateNestedOneWithoutUserInput
|
|
48239
50571
|
ownedOrganizations?: OrganizationUncheckedCreateNestedManyWithoutOwnerInput
|
|
48240
50572
|
organizationMembers?: OrganizationMemberUncheckedCreateNestedManyWithoutUserInput
|
|
50573
|
+
createdInvites?: OrganizationInviteUncheckedCreateNestedManyWithoutCreatorInput
|
|
48241
50574
|
accounts?: AccountUncheckedCreateNestedManyWithoutUserInput
|
|
48242
50575
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
48243
50576
|
conversations?: ConversationUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -48426,6 +50759,7 @@ export namespace Prisma {
|
|
|
48426
50759
|
stripeCustomer?: StripeCustomerUpdateOneWithoutUserNestedInput
|
|
48427
50760
|
ownedOrganizations?: OrganizationUpdateManyWithoutOwnerNestedInput
|
|
48428
50761
|
organizationMembers?: OrganizationMemberUpdateManyWithoutUserNestedInput
|
|
50762
|
+
createdInvites?: OrganizationInviteUpdateManyWithoutCreatorNestedInput
|
|
48429
50763
|
accounts?: AccountUpdateManyWithoutUserNestedInput
|
|
48430
50764
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
48431
50765
|
conversations?: ConversationUpdateManyWithoutUserNestedInput
|
|
@@ -48467,6 +50801,7 @@ export namespace Prisma {
|
|
|
48467
50801
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutUserNestedInput
|
|
48468
50802
|
ownedOrganizations?: OrganizationUncheckedUpdateManyWithoutOwnerNestedInput
|
|
48469
50803
|
organizationMembers?: OrganizationMemberUncheckedUpdateManyWithoutUserNestedInput
|
|
50804
|
+
createdInvites?: OrganizationInviteUncheckedUpdateManyWithoutCreatorNestedInput
|
|
48470
50805
|
accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput
|
|
48471
50806
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
48472
50807
|
conversations?: ConversationUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -48597,6 +50932,22 @@ export namespace Prisma {
|
|
|
48597
50932
|
joinedAt?: Date | string
|
|
48598
50933
|
}
|
|
48599
50934
|
|
|
50935
|
+
export type OrganizationInviteCreateManyCreatorInput = {
|
|
50936
|
+
id?: string
|
|
50937
|
+
organizationId: string
|
|
50938
|
+
token: string
|
|
50939
|
+
email?: string | null
|
|
50940
|
+
role?: $Enums.MemberRole
|
|
50941
|
+
expiresAt: Date | string
|
|
50942
|
+
maxUses?: number
|
|
50943
|
+
currentUses?: number
|
|
50944
|
+
isActive?: boolean
|
|
50945
|
+
usedAt?: Date | string | null
|
|
50946
|
+
usedBy?: string | null
|
|
50947
|
+
createdAt?: Date | string
|
|
50948
|
+
updatedAt?: Date | string
|
|
50949
|
+
}
|
|
50950
|
+
|
|
48600
50951
|
export type AccountCreateManyUserInput = {
|
|
48601
50952
|
id?: string
|
|
48602
50953
|
type: string
|
|
@@ -48749,6 +51100,7 @@ export namespace Prisma {
|
|
|
48749
51100
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
48750
51101
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
48751
51102
|
members?: OrganizationMemberUpdateManyWithoutOrganizationNestedInput
|
|
51103
|
+
invites?: OrganizationInviteUpdateManyWithoutOrganizationNestedInput
|
|
48752
51104
|
stripeCustomer?: StripeCustomerUpdateOneWithoutOrganizationNestedInput
|
|
48753
51105
|
}
|
|
48754
51106
|
|
|
@@ -48774,6 +51126,7 @@ export namespace Prisma {
|
|
|
48774
51126
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
48775
51127
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
48776
51128
|
members?: OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
51129
|
+
invites?: OrganizationInviteUncheckedUpdateManyWithoutOrganizationNestedInput
|
|
48777
51130
|
stripeCustomer?: StripeCustomerUncheckedUpdateOneWithoutOrganizationNestedInput
|
|
48778
51131
|
}
|
|
48779
51132
|
|
|
@@ -48821,6 +51174,54 @@ export namespace Prisma {
|
|
|
48821
51174
|
joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
48822
51175
|
}
|
|
48823
51176
|
|
|
51177
|
+
export type OrganizationInviteUpdateWithoutCreatorInput = {
|
|
51178
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
51179
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
51180
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51181
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
51182
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51183
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
51184
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
51185
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
51186
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
51187
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51188
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51189
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51190
|
+
organization?: OrganizationUpdateOneRequiredWithoutInvitesNestedInput
|
|
51191
|
+
}
|
|
51192
|
+
|
|
51193
|
+
export type OrganizationInviteUncheckedUpdateWithoutCreatorInput = {
|
|
51194
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
51195
|
+
organizationId?: StringFieldUpdateOperationsInput | string
|
|
51196
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
51197
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51198
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
51199
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51200
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
51201
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
51202
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
51203
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
51204
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51205
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51206
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51207
|
+
}
|
|
51208
|
+
|
|
51209
|
+
export type OrganizationInviteUncheckedUpdateManyWithoutCreatorInput = {
|
|
51210
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
51211
|
+
organizationId?: StringFieldUpdateOperationsInput | string
|
|
51212
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
51213
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51214
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
51215
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51216
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
51217
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
51218
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
51219
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
51220
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51221
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51222
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51223
|
+
}
|
|
51224
|
+
|
|
48824
51225
|
export type AccountUpdateWithoutUserInput = {
|
|
48825
51226
|
id?: StringFieldUpdateOperationsInput | string
|
|
48826
51227
|
type?: StringFieldUpdateOperationsInput | string
|
|
@@ -49246,6 +51647,22 @@ export namespace Prisma {
|
|
|
49246
51647
|
joinedAt?: Date | string
|
|
49247
51648
|
}
|
|
49248
51649
|
|
|
51650
|
+
export type OrganizationInviteCreateManyOrganizationInput = {
|
|
51651
|
+
id?: string
|
|
51652
|
+
token: string
|
|
51653
|
+
email?: string | null
|
|
51654
|
+
role?: $Enums.MemberRole
|
|
51655
|
+
createdBy: string
|
|
51656
|
+
expiresAt: Date | string
|
|
51657
|
+
maxUses?: number
|
|
51658
|
+
currentUses?: number
|
|
51659
|
+
isActive?: boolean
|
|
51660
|
+
usedAt?: Date | string | null
|
|
51661
|
+
usedBy?: string | null
|
|
51662
|
+
createdAt?: Date | string
|
|
51663
|
+
updatedAt?: Date | string
|
|
51664
|
+
}
|
|
51665
|
+
|
|
49249
51666
|
export type OrganizationMemberUpdateWithoutOrganizationInput = {
|
|
49250
51667
|
id?: StringFieldUpdateOperationsInput | string
|
|
49251
51668
|
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
@@ -49267,6 +51684,54 @@ export namespace Prisma {
|
|
|
49267
51684
|
joinedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
49268
51685
|
}
|
|
49269
51686
|
|
|
51687
|
+
export type OrganizationInviteUpdateWithoutOrganizationInput = {
|
|
51688
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
51689
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
51690
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51691
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
51692
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51693
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
51694
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
51695
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
51696
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
51697
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51698
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51699
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51700
|
+
creator?: UserUpdateOneRequiredWithoutCreatedInvitesNestedInput
|
|
51701
|
+
}
|
|
51702
|
+
|
|
51703
|
+
export type OrganizationInviteUncheckedUpdateWithoutOrganizationInput = {
|
|
51704
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
51705
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
51706
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51707
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
51708
|
+
createdBy?: StringFieldUpdateOperationsInput | string
|
|
51709
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51710
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
51711
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
51712
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
51713
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
51714
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51715
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51716
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51717
|
+
}
|
|
51718
|
+
|
|
51719
|
+
export type OrganizationInviteUncheckedUpdateManyWithoutOrganizationInput = {
|
|
51720
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
51721
|
+
token?: StringFieldUpdateOperationsInput | string
|
|
51722
|
+
email?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51723
|
+
role?: EnumMemberRoleFieldUpdateOperationsInput | $Enums.MemberRole
|
|
51724
|
+
createdBy?: StringFieldUpdateOperationsInput | string
|
|
51725
|
+
expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51726
|
+
maxUses?: IntFieldUpdateOperationsInput | number
|
|
51727
|
+
currentUses?: IntFieldUpdateOperationsInput | number
|
|
51728
|
+
isActive?: BoolFieldUpdateOperationsInput | boolean
|
|
51729
|
+
usedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
51730
|
+
usedBy?: NullableStringFieldUpdateOperationsInput | string | null
|
|
51731
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51732
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
51733
|
+
}
|
|
51734
|
+
|
|
49270
51735
|
export type AnswerCreateManyConversationInput = {
|
|
49271
51736
|
id?: string
|
|
49272
51737
|
messageId: string
|