@allbluecn/database 0.4.0 → 0.4.1
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/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1415 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `LicenseActivation` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model LicenseActivation
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type LicenseActivationModel = runtime.Types.Result.DefaultSelection<Prisma.$LicenseActivationPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateLicenseActivation = {
|
|
22
|
+
_count: LicenseActivationCountAggregateOutputType | null
|
|
23
|
+
_min: LicenseActivationMinAggregateOutputType | null
|
|
24
|
+
_max: LicenseActivationMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type LicenseActivationMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
licenseId: string | null
|
|
30
|
+
instanceId: string | null
|
|
31
|
+
fingerprint: string | null
|
|
32
|
+
activatedAt: Date | null
|
|
33
|
+
lastSeenAt: Date | null
|
|
34
|
+
revokedAt: Date | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type LicenseActivationMaxAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
licenseId: string | null
|
|
40
|
+
instanceId: string | null
|
|
41
|
+
fingerprint: string | null
|
|
42
|
+
activatedAt: Date | null
|
|
43
|
+
lastSeenAt: Date | null
|
|
44
|
+
revokedAt: Date | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type LicenseActivationCountAggregateOutputType = {
|
|
48
|
+
id: number
|
|
49
|
+
licenseId: number
|
|
50
|
+
instanceId: number
|
|
51
|
+
fingerprint: number
|
|
52
|
+
activatedAt: number
|
|
53
|
+
lastSeenAt: number
|
|
54
|
+
revokedAt: number
|
|
55
|
+
_all: number
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type LicenseActivationMinAggregateInputType = {
|
|
60
|
+
id?: true
|
|
61
|
+
licenseId?: true
|
|
62
|
+
instanceId?: true
|
|
63
|
+
fingerprint?: true
|
|
64
|
+
activatedAt?: true
|
|
65
|
+
lastSeenAt?: true
|
|
66
|
+
revokedAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type LicenseActivationMaxAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
licenseId?: true
|
|
72
|
+
instanceId?: true
|
|
73
|
+
fingerprint?: true
|
|
74
|
+
activatedAt?: true
|
|
75
|
+
lastSeenAt?: true
|
|
76
|
+
revokedAt?: true
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type LicenseActivationCountAggregateInputType = {
|
|
80
|
+
id?: true
|
|
81
|
+
licenseId?: true
|
|
82
|
+
instanceId?: true
|
|
83
|
+
fingerprint?: true
|
|
84
|
+
activatedAt?: true
|
|
85
|
+
lastSeenAt?: true
|
|
86
|
+
revokedAt?: true
|
|
87
|
+
_all?: true
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type LicenseActivationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
/**
|
|
92
|
+
* Filter which LicenseActivation to aggregate.
|
|
93
|
+
*/
|
|
94
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
97
|
+
*
|
|
98
|
+
* Determine the order of LicenseActivations to fetch.
|
|
99
|
+
*/
|
|
100
|
+
orderBy?: Prisma.LicenseActivationOrderByWithRelationInput | Prisma.LicenseActivationOrderByWithRelationInput[]
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
103
|
+
*
|
|
104
|
+
* Sets the start position
|
|
105
|
+
*/
|
|
106
|
+
cursor?: Prisma.LicenseActivationWhereUniqueInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Take `±n` LicenseActivations from the position of the cursor.
|
|
111
|
+
*/
|
|
112
|
+
take?: number
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Skip the first `n` LicenseActivations.
|
|
117
|
+
*/
|
|
118
|
+
skip?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Count returned LicenseActivations
|
|
123
|
+
**/
|
|
124
|
+
_count?: true | LicenseActivationCountAggregateInputType
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Select which fields to find the minimum value
|
|
129
|
+
**/
|
|
130
|
+
_min?: LicenseActivationMinAggregateInputType
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to find the maximum value
|
|
135
|
+
**/
|
|
136
|
+
_max?: LicenseActivationMaxAggregateInputType
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type GetLicenseActivationAggregateType<T extends LicenseActivationAggregateArgs> = {
|
|
140
|
+
[P in keyof T & keyof AggregateLicenseActivation]: P extends '_count' | 'count'
|
|
141
|
+
? T[P] extends true
|
|
142
|
+
? number
|
|
143
|
+
: Prisma.GetScalarType<T[P], AggregateLicenseActivation[P]>
|
|
144
|
+
: Prisma.GetScalarType<T[P], AggregateLicenseActivation[P]>
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export type LicenseActivationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
151
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
152
|
+
orderBy?: Prisma.LicenseActivationOrderByWithAggregationInput | Prisma.LicenseActivationOrderByWithAggregationInput[]
|
|
153
|
+
by: Prisma.LicenseActivationScalarFieldEnum[] | Prisma.LicenseActivationScalarFieldEnum
|
|
154
|
+
having?: Prisma.LicenseActivationScalarWhereWithAggregatesInput
|
|
155
|
+
take?: number
|
|
156
|
+
skip?: number
|
|
157
|
+
_count?: LicenseActivationCountAggregateInputType | true
|
|
158
|
+
_min?: LicenseActivationMinAggregateInputType
|
|
159
|
+
_max?: LicenseActivationMaxAggregateInputType
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type LicenseActivationGroupByOutputType = {
|
|
163
|
+
id: string
|
|
164
|
+
licenseId: string
|
|
165
|
+
instanceId: string
|
|
166
|
+
fingerprint: string
|
|
167
|
+
activatedAt: Date
|
|
168
|
+
lastSeenAt: Date | null
|
|
169
|
+
revokedAt: Date | null
|
|
170
|
+
_count: LicenseActivationCountAggregateOutputType | null
|
|
171
|
+
_min: LicenseActivationMinAggregateOutputType | null
|
|
172
|
+
_max: LicenseActivationMaxAggregateOutputType | null
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type GetLicenseActivationGroupByPayload<T extends LicenseActivationGroupByArgs> = Prisma.PrismaPromise<
|
|
176
|
+
Array<
|
|
177
|
+
Prisma.PickEnumerable<LicenseActivationGroupByOutputType, T['by']> &
|
|
178
|
+
{
|
|
179
|
+
[P in ((keyof T) & (keyof LicenseActivationGroupByOutputType))]: P extends '_count'
|
|
180
|
+
? T[P] extends boolean
|
|
181
|
+
? number
|
|
182
|
+
: Prisma.GetScalarType<T[P], LicenseActivationGroupByOutputType[P]>
|
|
183
|
+
: Prisma.GetScalarType<T[P], LicenseActivationGroupByOutputType[P]>
|
|
184
|
+
}
|
|
185
|
+
>
|
|
186
|
+
>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
export type LicenseActivationWhereInput = {
|
|
191
|
+
AND?: Prisma.LicenseActivationWhereInput | Prisma.LicenseActivationWhereInput[]
|
|
192
|
+
OR?: Prisma.LicenseActivationWhereInput[]
|
|
193
|
+
NOT?: Prisma.LicenseActivationWhereInput | Prisma.LicenseActivationWhereInput[]
|
|
194
|
+
id?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
195
|
+
licenseId?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
196
|
+
instanceId?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
197
|
+
fingerprint?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
198
|
+
activatedAt?: Prisma.DateTimeFilter<"LicenseActivation"> | Date | string
|
|
199
|
+
lastSeenAt?: Prisma.DateTimeNullableFilter<"LicenseActivation"> | Date | string | null
|
|
200
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"LicenseActivation"> | Date | string | null
|
|
201
|
+
license?: Prisma.XOR<Prisma.LicenseKeyScalarRelationFilter, Prisma.LicenseKeyWhereInput>
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type LicenseActivationOrderByWithRelationInput = {
|
|
205
|
+
id?: Prisma.SortOrder
|
|
206
|
+
licenseId?: Prisma.SortOrder
|
|
207
|
+
instanceId?: Prisma.SortOrder
|
|
208
|
+
fingerprint?: Prisma.SortOrder
|
|
209
|
+
activatedAt?: Prisma.SortOrder
|
|
210
|
+
lastSeenAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
211
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
212
|
+
license?: Prisma.LicenseKeyOrderByWithRelationInput
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type LicenseActivationWhereUniqueInput = Prisma.AtLeast<{
|
|
216
|
+
id?: string
|
|
217
|
+
instanceId?: string
|
|
218
|
+
AND?: Prisma.LicenseActivationWhereInput | Prisma.LicenseActivationWhereInput[]
|
|
219
|
+
OR?: Prisma.LicenseActivationWhereInput[]
|
|
220
|
+
NOT?: Prisma.LicenseActivationWhereInput | Prisma.LicenseActivationWhereInput[]
|
|
221
|
+
licenseId?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
222
|
+
fingerprint?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
223
|
+
activatedAt?: Prisma.DateTimeFilter<"LicenseActivation"> | Date | string
|
|
224
|
+
lastSeenAt?: Prisma.DateTimeNullableFilter<"LicenseActivation"> | Date | string | null
|
|
225
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"LicenseActivation"> | Date | string | null
|
|
226
|
+
license?: Prisma.XOR<Prisma.LicenseKeyScalarRelationFilter, Prisma.LicenseKeyWhereInput>
|
|
227
|
+
}, "id" | "instanceId">
|
|
228
|
+
|
|
229
|
+
export type LicenseActivationOrderByWithAggregationInput = {
|
|
230
|
+
id?: Prisma.SortOrder
|
|
231
|
+
licenseId?: Prisma.SortOrder
|
|
232
|
+
instanceId?: Prisma.SortOrder
|
|
233
|
+
fingerprint?: Prisma.SortOrder
|
|
234
|
+
activatedAt?: Prisma.SortOrder
|
|
235
|
+
lastSeenAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
236
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
237
|
+
_count?: Prisma.LicenseActivationCountOrderByAggregateInput
|
|
238
|
+
_max?: Prisma.LicenseActivationMaxOrderByAggregateInput
|
|
239
|
+
_min?: Prisma.LicenseActivationMinOrderByAggregateInput
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type LicenseActivationScalarWhereWithAggregatesInput = {
|
|
243
|
+
AND?: Prisma.LicenseActivationScalarWhereWithAggregatesInput | Prisma.LicenseActivationScalarWhereWithAggregatesInput[]
|
|
244
|
+
OR?: Prisma.LicenseActivationScalarWhereWithAggregatesInput[]
|
|
245
|
+
NOT?: Prisma.LicenseActivationScalarWhereWithAggregatesInput | Prisma.LicenseActivationScalarWhereWithAggregatesInput[]
|
|
246
|
+
id?: Prisma.StringWithAggregatesFilter<"LicenseActivation"> | string
|
|
247
|
+
licenseId?: Prisma.StringWithAggregatesFilter<"LicenseActivation"> | string
|
|
248
|
+
instanceId?: Prisma.StringWithAggregatesFilter<"LicenseActivation"> | string
|
|
249
|
+
fingerprint?: Prisma.StringWithAggregatesFilter<"LicenseActivation"> | string
|
|
250
|
+
activatedAt?: Prisma.DateTimeWithAggregatesFilter<"LicenseActivation"> | Date | string
|
|
251
|
+
lastSeenAt?: Prisma.DateTimeNullableWithAggregatesFilter<"LicenseActivation"> | Date | string | null
|
|
252
|
+
revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"LicenseActivation"> | Date | string | null
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type LicenseActivationCreateInput = {
|
|
256
|
+
id?: string
|
|
257
|
+
instanceId: string
|
|
258
|
+
fingerprint: string
|
|
259
|
+
activatedAt?: Date | string
|
|
260
|
+
lastSeenAt?: Date | string | null
|
|
261
|
+
revokedAt?: Date | string | null
|
|
262
|
+
license: Prisma.LicenseKeyCreateNestedOneWithoutActivationsInput
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export type LicenseActivationUncheckedCreateInput = {
|
|
266
|
+
id?: string
|
|
267
|
+
licenseId: string
|
|
268
|
+
instanceId: string
|
|
269
|
+
fingerprint: string
|
|
270
|
+
activatedAt?: Date | string
|
|
271
|
+
lastSeenAt?: Date | string | null
|
|
272
|
+
revokedAt?: Date | string | null
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type LicenseActivationUpdateInput = {
|
|
276
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
277
|
+
instanceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
278
|
+
fingerprint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
279
|
+
activatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
280
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
281
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
282
|
+
license?: Prisma.LicenseKeyUpdateOneRequiredWithoutActivationsNestedInput
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type LicenseActivationUncheckedUpdateInput = {
|
|
286
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
287
|
+
licenseId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
288
|
+
instanceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
289
|
+
fingerprint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
290
|
+
activatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
291
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
292
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export type LicenseActivationCreateManyInput = {
|
|
296
|
+
id?: string
|
|
297
|
+
licenseId: string
|
|
298
|
+
instanceId: string
|
|
299
|
+
fingerprint: string
|
|
300
|
+
activatedAt?: Date | string
|
|
301
|
+
lastSeenAt?: Date | string | null
|
|
302
|
+
revokedAt?: Date | string | null
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type LicenseActivationUpdateManyMutationInput = {
|
|
306
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
307
|
+
instanceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
308
|
+
fingerprint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
|
+
activatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
310
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
311
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type LicenseActivationUncheckedUpdateManyInput = {
|
|
315
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
316
|
+
licenseId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
317
|
+
instanceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
318
|
+
fingerprint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
319
|
+
activatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
320
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
321
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type LicenseActivationListRelationFilter = {
|
|
325
|
+
every?: Prisma.LicenseActivationWhereInput
|
|
326
|
+
some?: Prisma.LicenseActivationWhereInput
|
|
327
|
+
none?: Prisma.LicenseActivationWhereInput
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type LicenseActivationOrderByRelationAggregateInput = {
|
|
331
|
+
_count?: Prisma.SortOrder
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type LicenseActivationCountOrderByAggregateInput = {
|
|
335
|
+
id?: Prisma.SortOrder
|
|
336
|
+
licenseId?: Prisma.SortOrder
|
|
337
|
+
instanceId?: Prisma.SortOrder
|
|
338
|
+
fingerprint?: Prisma.SortOrder
|
|
339
|
+
activatedAt?: Prisma.SortOrder
|
|
340
|
+
lastSeenAt?: Prisma.SortOrder
|
|
341
|
+
revokedAt?: Prisma.SortOrder
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type LicenseActivationMaxOrderByAggregateInput = {
|
|
345
|
+
id?: Prisma.SortOrder
|
|
346
|
+
licenseId?: Prisma.SortOrder
|
|
347
|
+
instanceId?: Prisma.SortOrder
|
|
348
|
+
fingerprint?: Prisma.SortOrder
|
|
349
|
+
activatedAt?: Prisma.SortOrder
|
|
350
|
+
lastSeenAt?: Prisma.SortOrder
|
|
351
|
+
revokedAt?: Prisma.SortOrder
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type LicenseActivationMinOrderByAggregateInput = {
|
|
355
|
+
id?: Prisma.SortOrder
|
|
356
|
+
licenseId?: Prisma.SortOrder
|
|
357
|
+
instanceId?: Prisma.SortOrder
|
|
358
|
+
fingerprint?: Prisma.SortOrder
|
|
359
|
+
activatedAt?: Prisma.SortOrder
|
|
360
|
+
lastSeenAt?: Prisma.SortOrder
|
|
361
|
+
revokedAt?: Prisma.SortOrder
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export type LicenseActivationCreateNestedManyWithoutLicenseInput = {
|
|
365
|
+
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicenseInput, Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput> | Prisma.LicenseActivationCreateWithoutLicenseInput[] | Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput[]
|
|
366
|
+
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput | Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput[]
|
|
367
|
+
createMany?: Prisma.LicenseActivationCreateManyLicenseInputEnvelope
|
|
368
|
+
connect?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export type LicenseActivationUncheckedCreateNestedManyWithoutLicenseInput = {
|
|
372
|
+
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicenseInput, Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput> | Prisma.LicenseActivationCreateWithoutLicenseInput[] | Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput[]
|
|
373
|
+
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput | Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput[]
|
|
374
|
+
createMany?: Prisma.LicenseActivationCreateManyLicenseInputEnvelope
|
|
375
|
+
connect?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type LicenseActivationUpdateManyWithoutLicenseNestedInput = {
|
|
379
|
+
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicenseInput, Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput> | Prisma.LicenseActivationCreateWithoutLicenseInput[] | Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput[]
|
|
380
|
+
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput | Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput[]
|
|
381
|
+
upsert?: Prisma.LicenseActivationUpsertWithWhereUniqueWithoutLicenseInput | Prisma.LicenseActivationUpsertWithWhereUniqueWithoutLicenseInput[]
|
|
382
|
+
createMany?: Prisma.LicenseActivationCreateManyLicenseInputEnvelope
|
|
383
|
+
set?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
384
|
+
disconnect?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
385
|
+
delete?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
386
|
+
connect?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
387
|
+
update?: Prisma.LicenseActivationUpdateWithWhereUniqueWithoutLicenseInput | Prisma.LicenseActivationUpdateWithWhereUniqueWithoutLicenseInput[]
|
|
388
|
+
updateMany?: Prisma.LicenseActivationUpdateManyWithWhereWithoutLicenseInput | Prisma.LicenseActivationUpdateManyWithWhereWithoutLicenseInput[]
|
|
389
|
+
deleteMany?: Prisma.LicenseActivationScalarWhereInput | Prisma.LicenseActivationScalarWhereInput[]
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type LicenseActivationUncheckedUpdateManyWithoutLicenseNestedInput = {
|
|
393
|
+
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicenseInput, Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput> | Prisma.LicenseActivationCreateWithoutLicenseInput[] | Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput[]
|
|
394
|
+
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput | Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput[]
|
|
395
|
+
upsert?: Prisma.LicenseActivationUpsertWithWhereUniqueWithoutLicenseInput | Prisma.LicenseActivationUpsertWithWhereUniqueWithoutLicenseInput[]
|
|
396
|
+
createMany?: Prisma.LicenseActivationCreateManyLicenseInputEnvelope
|
|
397
|
+
set?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
398
|
+
disconnect?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
399
|
+
delete?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
400
|
+
connect?: Prisma.LicenseActivationWhereUniqueInput | Prisma.LicenseActivationWhereUniqueInput[]
|
|
401
|
+
update?: Prisma.LicenseActivationUpdateWithWhereUniqueWithoutLicenseInput | Prisma.LicenseActivationUpdateWithWhereUniqueWithoutLicenseInput[]
|
|
402
|
+
updateMany?: Prisma.LicenseActivationUpdateManyWithWhereWithoutLicenseInput | Prisma.LicenseActivationUpdateManyWithWhereWithoutLicenseInput[]
|
|
403
|
+
deleteMany?: Prisma.LicenseActivationScalarWhereInput | Prisma.LicenseActivationScalarWhereInput[]
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type LicenseActivationCreateWithoutLicenseInput = {
|
|
407
|
+
id?: string
|
|
408
|
+
instanceId: string
|
|
409
|
+
fingerprint: string
|
|
410
|
+
activatedAt?: Date | string
|
|
411
|
+
lastSeenAt?: Date | string | null
|
|
412
|
+
revokedAt?: Date | string | null
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type LicenseActivationUncheckedCreateWithoutLicenseInput = {
|
|
416
|
+
id?: string
|
|
417
|
+
instanceId: string
|
|
418
|
+
fingerprint: string
|
|
419
|
+
activatedAt?: Date | string
|
|
420
|
+
lastSeenAt?: Date | string | null
|
|
421
|
+
revokedAt?: Date | string | null
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export type LicenseActivationCreateOrConnectWithoutLicenseInput = {
|
|
425
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
426
|
+
create: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicenseInput, Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput>
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export type LicenseActivationCreateManyLicenseInputEnvelope = {
|
|
430
|
+
data: Prisma.LicenseActivationCreateManyLicenseInput | Prisma.LicenseActivationCreateManyLicenseInput[]
|
|
431
|
+
skipDuplicates?: boolean
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export type LicenseActivationUpsertWithWhereUniqueWithoutLicenseInput = {
|
|
435
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
436
|
+
update: Prisma.XOR<Prisma.LicenseActivationUpdateWithoutLicenseInput, Prisma.LicenseActivationUncheckedUpdateWithoutLicenseInput>
|
|
437
|
+
create: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicenseInput, Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput>
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type LicenseActivationUpdateWithWhereUniqueWithoutLicenseInput = {
|
|
441
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
442
|
+
data: Prisma.XOR<Prisma.LicenseActivationUpdateWithoutLicenseInput, Prisma.LicenseActivationUncheckedUpdateWithoutLicenseInput>
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export type LicenseActivationUpdateManyWithWhereWithoutLicenseInput = {
|
|
446
|
+
where: Prisma.LicenseActivationScalarWhereInput
|
|
447
|
+
data: Prisma.XOR<Prisma.LicenseActivationUpdateManyMutationInput, Prisma.LicenseActivationUncheckedUpdateManyWithoutLicenseInput>
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export type LicenseActivationScalarWhereInput = {
|
|
451
|
+
AND?: Prisma.LicenseActivationScalarWhereInput | Prisma.LicenseActivationScalarWhereInput[]
|
|
452
|
+
OR?: Prisma.LicenseActivationScalarWhereInput[]
|
|
453
|
+
NOT?: Prisma.LicenseActivationScalarWhereInput | Prisma.LicenseActivationScalarWhereInput[]
|
|
454
|
+
id?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
455
|
+
licenseId?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
456
|
+
instanceId?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
457
|
+
fingerprint?: Prisma.StringFilter<"LicenseActivation"> | string
|
|
458
|
+
activatedAt?: Prisma.DateTimeFilter<"LicenseActivation"> | Date | string
|
|
459
|
+
lastSeenAt?: Prisma.DateTimeNullableFilter<"LicenseActivation"> | Date | string | null
|
|
460
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"LicenseActivation"> | Date | string | null
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export type LicenseActivationCreateManyLicenseInput = {
|
|
464
|
+
id?: string
|
|
465
|
+
instanceId: string
|
|
466
|
+
fingerprint: string
|
|
467
|
+
activatedAt?: Date | string
|
|
468
|
+
lastSeenAt?: Date | string | null
|
|
469
|
+
revokedAt?: Date | string | null
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export type LicenseActivationUpdateWithoutLicenseInput = {
|
|
473
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
474
|
+
instanceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
475
|
+
fingerprint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
476
|
+
activatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
477
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
478
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type LicenseActivationUncheckedUpdateWithoutLicenseInput = {
|
|
482
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
483
|
+
instanceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
fingerprint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
485
|
+
activatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
486
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
487
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type LicenseActivationUncheckedUpdateManyWithoutLicenseInput = {
|
|
491
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
492
|
+
instanceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
493
|
+
fingerprint?: Prisma.StringFieldUpdateOperationsInput | string
|
|
494
|
+
activatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
495
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
496
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
export type LicenseActivationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
502
|
+
id?: boolean
|
|
503
|
+
licenseId?: boolean
|
|
504
|
+
instanceId?: boolean
|
|
505
|
+
fingerprint?: boolean
|
|
506
|
+
activatedAt?: boolean
|
|
507
|
+
lastSeenAt?: boolean
|
|
508
|
+
revokedAt?: boolean
|
|
509
|
+
license?: boolean | Prisma.LicenseKeyDefaultArgs<ExtArgs>
|
|
510
|
+
}, ExtArgs["result"]["licenseActivation"]>
|
|
511
|
+
|
|
512
|
+
export type LicenseActivationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
513
|
+
id?: boolean
|
|
514
|
+
licenseId?: boolean
|
|
515
|
+
instanceId?: boolean
|
|
516
|
+
fingerprint?: boolean
|
|
517
|
+
activatedAt?: boolean
|
|
518
|
+
lastSeenAt?: boolean
|
|
519
|
+
revokedAt?: boolean
|
|
520
|
+
license?: boolean | Prisma.LicenseKeyDefaultArgs<ExtArgs>
|
|
521
|
+
}, ExtArgs["result"]["licenseActivation"]>
|
|
522
|
+
|
|
523
|
+
export type LicenseActivationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
524
|
+
id?: boolean
|
|
525
|
+
licenseId?: boolean
|
|
526
|
+
instanceId?: boolean
|
|
527
|
+
fingerprint?: boolean
|
|
528
|
+
activatedAt?: boolean
|
|
529
|
+
lastSeenAt?: boolean
|
|
530
|
+
revokedAt?: boolean
|
|
531
|
+
license?: boolean | Prisma.LicenseKeyDefaultArgs<ExtArgs>
|
|
532
|
+
}, ExtArgs["result"]["licenseActivation"]>
|
|
533
|
+
|
|
534
|
+
export type LicenseActivationSelectScalar = {
|
|
535
|
+
id?: boolean
|
|
536
|
+
licenseId?: boolean
|
|
537
|
+
instanceId?: boolean
|
|
538
|
+
fingerprint?: boolean
|
|
539
|
+
activatedAt?: boolean
|
|
540
|
+
lastSeenAt?: boolean
|
|
541
|
+
revokedAt?: boolean
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export type LicenseActivationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "licenseId" | "instanceId" | "fingerprint" | "activatedAt" | "lastSeenAt" | "revokedAt", ExtArgs["result"]["licenseActivation"]>
|
|
545
|
+
export type LicenseActivationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
546
|
+
license?: boolean | Prisma.LicenseKeyDefaultArgs<ExtArgs>
|
|
547
|
+
}
|
|
548
|
+
export type LicenseActivationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
549
|
+
license?: boolean | Prisma.LicenseKeyDefaultArgs<ExtArgs>
|
|
550
|
+
}
|
|
551
|
+
export type LicenseActivationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
552
|
+
license?: boolean | Prisma.LicenseKeyDefaultArgs<ExtArgs>
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export type $LicenseActivationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
556
|
+
name: "LicenseActivation"
|
|
557
|
+
objects: {
|
|
558
|
+
license: Prisma.$LicenseKeyPayload<ExtArgs>
|
|
559
|
+
}
|
|
560
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
561
|
+
id: string
|
|
562
|
+
licenseId: string
|
|
563
|
+
instanceId: string
|
|
564
|
+
fingerprint: string
|
|
565
|
+
activatedAt: Date
|
|
566
|
+
lastSeenAt: Date | null
|
|
567
|
+
revokedAt: Date | null
|
|
568
|
+
}, ExtArgs["result"]["licenseActivation"]>
|
|
569
|
+
composites: {}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export type LicenseActivationGetPayload<S extends boolean | null | undefined | LicenseActivationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload, S>
|
|
573
|
+
|
|
574
|
+
export type LicenseActivationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
575
|
+
Omit<LicenseActivationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
576
|
+
select?: LicenseActivationCountAggregateInputType | true
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export interface LicenseActivationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
580
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['LicenseActivation'], meta: { name: 'LicenseActivation' } }
|
|
581
|
+
/**
|
|
582
|
+
* Find zero or one LicenseActivation that matches the filter.
|
|
583
|
+
* @param {LicenseActivationFindUniqueArgs} args - Arguments to find a LicenseActivation
|
|
584
|
+
* @example
|
|
585
|
+
* // Get one LicenseActivation
|
|
586
|
+
* const licenseActivation = await prisma.licenseActivation.findUnique({
|
|
587
|
+
* where: {
|
|
588
|
+
* // ... provide filter here
|
|
589
|
+
* }
|
|
590
|
+
* })
|
|
591
|
+
*/
|
|
592
|
+
findUnique<T extends LicenseActivationFindUniqueArgs>(args: Prisma.SelectSubset<T, LicenseActivationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Find one LicenseActivation that matches the filter or throw an error with `error.code='P2025'`
|
|
596
|
+
* if no matches were found.
|
|
597
|
+
* @param {LicenseActivationFindUniqueOrThrowArgs} args - Arguments to find a LicenseActivation
|
|
598
|
+
* @example
|
|
599
|
+
* // Get one LicenseActivation
|
|
600
|
+
* const licenseActivation = await prisma.licenseActivation.findUniqueOrThrow({
|
|
601
|
+
* where: {
|
|
602
|
+
* // ... provide filter here
|
|
603
|
+
* }
|
|
604
|
+
* })
|
|
605
|
+
*/
|
|
606
|
+
findUniqueOrThrow<T extends LicenseActivationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LicenseActivationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Find the first LicenseActivation that matches the filter.
|
|
610
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
611
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
612
|
+
* @param {LicenseActivationFindFirstArgs} args - Arguments to find a LicenseActivation
|
|
613
|
+
* @example
|
|
614
|
+
* // Get one LicenseActivation
|
|
615
|
+
* const licenseActivation = await prisma.licenseActivation.findFirst({
|
|
616
|
+
* where: {
|
|
617
|
+
* // ... provide filter here
|
|
618
|
+
* }
|
|
619
|
+
* })
|
|
620
|
+
*/
|
|
621
|
+
findFirst<T extends LicenseActivationFindFirstArgs>(args?: Prisma.SelectSubset<T, LicenseActivationFindFirstArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Find the first LicenseActivation that matches the filter or
|
|
625
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
626
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
627
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
628
|
+
* @param {LicenseActivationFindFirstOrThrowArgs} args - Arguments to find a LicenseActivation
|
|
629
|
+
* @example
|
|
630
|
+
* // Get one LicenseActivation
|
|
631
|
+
* const licenseActivation = await prisma.licenseActivation.findFirstOrThrow({
|
|
632
|
+
* where: {
|
|
633
|
+
* // ... provide filter here
|
|
634
|
+
* }
|
|
635
|
+
* })
|
|
636
|
+
*/
|
|
637
|
+
findFirstOrThrow<T extends LicenseActivationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LicenseActivationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Find zero or more LicenseActivations that matches the filter.
|
|
641
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
642
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
643
|
+
* @param {LicenseActivationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
644
|
+
* @example
|
|
645
|
+
* // Get all LicenseActivations
|
|
646
|
+
* const licenseActivations = await prisma.licenseActivation.findMany()
|
|
647
|
+
*
|
|
648
|
+
* // Get first 10 LicenseActivations
|
|
649
|
+
* const licenseActivations = await prisma.licenseActivation.findMany({ take: 10 })
|
|
650
|
+
*
|
|
651
|
+
* // Only select the `id`
|
|
652
|
+
* const licenseActivationWithIdOnly = await prisma.licenseActivation.findMany({ select: { id: true } })
|
|
653
|
+
*
|
|
654
|
+
*/
|
|
655
|
+
findMany<T extends LicenseActivationFindManyArgs>(args?: Prisma.SelectSubset<T, LicenseActivationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Create a LicenseActivation.
|
|
659
|
+
* @param {LicenseActivationCreateArgs} args - Arguments to create a LicenseActivation.
|
|
660
|
+
* @example
|
|
661
|
+
* // Create one LicenseActivation
|
|
662
|
+
* const LicenseActivation = await prisma.licenseActivation.create({
|
|
663
|
+
* data: {
|
|
664
|
+
* // ... data to create a LicenseActivation
|
|
665
|
+
* }
|
|
666
|
+
* })
|
|
667
|
+
*
|
|
668
|
+
*/
|
|
669
|
+
create<T extends LicenseActivationCreateArgs>(args: Prisma.SelectSubset<T, LicenseActivationCreateArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Create many LicenseActivations.
|
|
673
|
+
* @param {LicenseActivationCreateManyArgs} args - Arguments to create many LicenseActivations.
|
|
674
|
+
* @example
|
|
675
|
+
* // Create many LicenseActivations
|
|
676
|
+
* const licenseActivation = await prisma.licenseActivation.createMany({
|
|
677
|
+
* data: [
|
|
678
|
+
* // ... provide data here
|
|
679
|
+
* ]
|
|
680
|
+
* })
|
|
681
|
+
*
|
|
682
|
+
*/
|
|
683
|
+
createMany<T extends LicenseActivationCreateManyArgs>(args?: Prisma.SelectSubset<T, LicenseActivationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Create many LicenseActivations and returns the data saved in the database.
|
|
687
|
+
* @param {LicenseActivationCreateManyAndReturnArgs} args - Arguments to create many LicenseActivations.
|
|
688
|
+
* @example
|
|
689
|
+
* // Create many LicenseActivations
|
|
690
|
+
* const licenseActivation = await prisma.licenseActivation.createManyAndReturn({
|
|
691
|
+
* data: [
|
|
692
|
+
* // ... provide data here
|
|
693
|
+
* ]
|
|
694
|
+
* })
|
|
695
|
+
*
|
|
696
|
+
* // Create many LicenseActivations and only return the `id`
|
|
697
|
+
* const licenseActivationWithIdOnly = await prisma.licenseActivation.createManyAndReturn({
|
|
698
|
+
* select: { id: true },
|
|
699
|
+
* data: [
|
|
700
|
+
* // ... provide data here
|
|
701
|
+
* ]
|
|
702
|
+
* })
|
|
703
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
704
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
705
|
+
*
|
|
706
|
+
*/
|
|
707
|
+
createManyAndReturn<T extends LicenseActivationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LicenseActivationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Delete a LicenseActivation.
|
|
711
|
+
* @param {LicenseActivationDeleteArgs} args - Arguments to delete one LicenseActivation.
|
|
712
|
+
* @example
|
|
713
|
+
* // Delete one LicenseActivation
|
|
714
|
+
* const LicenseActivation = await prisma.licenseActivation.delete({
|
|
715
|
+
* where: {
|
|
716
|
+
* // ... filter to delete one LicenseActivation
|
|
717
|
+
* }
|
|
718
|
+
* })
|
|
719
|
+
*
|
|
720
|
+
*/
|
|
721
|
+
delete<T extends LicenseActivationDeleteArgs>(args: Prisma.SelectSubset<T, LicenseActivationDeleteArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Update one LicenseActivation.
|
|
725
|
+
* @param {LicenseActivationUpdateArgs} args - Arguments to update one LicenseActivation.
|
|
726
|
+
* @example
|
|
727
|
+
* // Update one LicenseActivation
|
|
728
|
+
* const licenseActivation = await prisma.licenseActivation.update({
|
|
729
|
+
* where: {
|
|
730
|
+
* // ... provide filter here
|
|
731
|
+
* },
|
|
732
|
+
* data: {
|
|
733
|
+
* // ... provide data here
|
|
734
|
+
* }
|
|
735
|
+
* })
|
|
736
|
+
*
|
|
737
|
+
*/
|
|
738
|
+
update<T extends LicenseActivationUpdateArgs>(args: Prisma.SelectSubset<T, LicenseActivationUpdateArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Delete zero or more LicenseActivations.
|
|
742
|
+
* @param {LicenseActivationDeleteManyArgs} args - Arguments to filter LicenseActivations to delete.
|
|
743
|
+
* @example
|
|
744
|
+
* // Delete a few LicenseActivations
|
|
745
|
+
* const { count } = await prisma.licenseActivation.deleteMany({
|
|
746
|
+
* where: {
|
|
747
|
+
* // ... provide filter here
|
|
748
|
+
* }
|
|
749
|
+
* })
|
|
750
|
+
*
|
|
751
|
+
*/
|
|
752
|
+
deleteMany<T extends LicenseActivationDeleteManyArgs>(args?: Prisma.SelectSubset<T, LicenseActivationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Update zero or more LicenseActivations.
|
|
756
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
757
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
758
|
+
* @param {LicenseActivationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
759
|
+
* @example
|
|
760
|
+
* // Update many LicenseActivations
|
|
761
|
+
* const licenseActivation = await prisma.licenseActivation.updateMany({
|
|
762
|
+
* where: {
|
|
763
|
+
* // ... provide filter here
|
|
764
|
+
* },
|
|
765
|
+
* data: {
|
|
766
|
+
* // ... provide data here
|
|
767
|
+
* }
|
|
768
|
+
* })
|
|
769
|
+
*
|
|
770
|
+
*/
|
|
771
|
+
updateMany<T extends LicenseActivationUpdateManyArgs>(args: Prisma.SelectSubset<T, LicenseActivationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* Update zero or more LicenseActivations and returns the data updated in the database.
|
|
775
|
+
* @param {LicenseActivationUpdateManyAndReturnArgs} args - Arguments to update many LicenseActivations.
|
|
776
|
+
* @example
|
|
777
|
+
* // Update many LicenseActivations
|
|
778
|
+
* const licenseActivation = await prisma.licenseActivation.updateManyAndReturn({
|
|
779
|
+
* where: {
|
|
780
|
+
* // ... provide filter here
|
|
781
|
+
* },
|
|
782
|
+
* data: [
|
|
783
|
+
* // ... provide data here
|
|
784
|
+
* ]
|
|
785
|
+
* })
|
|
786
|
+
*
|
|
787
|
+
* // Update zero or more LicenseActivations and only return the `id`
|
|
788
|
+
* const licenseActivationWithIdOnly = await prisma.licenseActivation.updateManyAndReturn({
|
|
789
|
+
* select: { id: true },
|
|
790
|
+
* where: {
|
|
791
|
+
* // ... provide filter here
|
|
792
|
+
* },
|
|
793
|
+
* data: [
|
|
794
|
+
* // ... provide data here
|
|
795
|
+
* ]
|
|
796
|
+
* })
|
|
797
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
798
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
799
|
+
*
|
|
800
|
+
*/
|
|
801
|
+
updateManyAndReturn<T extends LicenseActivationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LicenseActivationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Create or update one LicenseActivation.
|
|
805
|
+
* @param {LicenseActivationUpsertArgs} args - Arguments to update or create a LicenseActivation.
|
|
806
|
+
* @example
|
|
807
|
+
* // Update or create a LicenseActivation
|
|
808
|
+
* const licenseActivation = await prisma.licenseActivation.upsert({
|
|
809
|
+
* create: {
|
|
810
|
+
* // ... data to create a LicenseActivation
|
|
811
|
+
* },
|
|
812
|
+
* update: {
|
|
813
|
+
* // ... in case it already exists, update
|
|
814
|
+
* },
|
|
815
|
+
* where: {
|
|
816
|
+
* // ... the filter for the LicenseActivation we want to update
|
|
817
|
+
* }
|
|
818
|
+
* })
|
|
819
|
+
*/
|
|
820
|
+
upsert<T extends LicenseActivationUpsertArgs>(args: Prisma.SelectSubset<T, LicenseActivationUpsertArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Count the number of LicenseActivations.
|
|
825
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
826
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
827
|
+
* @param {LicenseActivationCountArgs} args - Arguments to filter LicenseActivations to count.
|
|
828
|
+
* @example
|
|
829
|
+
* // Count the number of LicenseActivations
|
|
830
|
+
* const count = await prisma.licenseActivation.count({
|
|
831
|
+
* where: {
|
|
832
|
+
* // ... the filter for the LicenseActivations we want to count
|
|
833
|
+
* }
|
|
834
|
+
* })
|
|
835
|
+
**/
|
|
836
|
+
count<T extends LicenseActivationCountArgs>(
|
|
837
|
+
args?: Prisma.Subset<T, LicenseActivationCountArgs>,
|
|
838
|
+
): Prisma.PrismaPromise<
|
|
839
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
840
|
+
? T['select'] extends true
|
|
841
|
+
? number
|
|
842
|
+
: Prisma.GetScalarType<T['select'], LicenseActivationCountAggregateOutputType>
|
|
843
|
+
: number
|
|
844
|
+
>
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Allows you to perform aggregations operations on a LicenseActivation.
|
|
848
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
849
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
850
|
+
* @param {LicenseActivationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
851
|
+
* @example
|
|
852
|
+
* // Ordered by age ascending
|
|
853
|
+
* // Where email contains prisma.io
|
|
854
|
+
* // Limited to the 10 users
|
|
855
|
+
* const aggregations = await prisma.user.aggregate({
|
|
856
|
+
* _avg: {
|
|
857
|
+
* age: true,
|
|
858
|
+
* },
|
|
859
|
+
* where: {
|
|
860
|
+
* email: {
|
|
861
|
+
* contains: "prisma.io",
|
|
862
|
+
* },
|
|
863
|
+
* },
|
|
864
|
+
* orderBy: {
|
|
865
|
+
* age: "asc",
|
|
866
|
+
* },
|
|
867
|
+
* take: 10,
|
|
868
|
+
* })
|
|
869
|
+
**/
|
|
870
|
+
aggregate<T extends LicenseActivationAggregateArgs>(args: Prisma.Subset<T, LicenseActivationAggregateArgs>): Prisma.PrismaPromise<GetLicenseActivationAggregateType<T>>
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Group by LicenseActivation.
|
|
874
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
875
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
876
|
+
* @param {LicenseActivationGroupByArgs} args - Group by arguments.
|
|
877
|
+
* @example
|
|
878
|
+
* // Group by city, order by createdAt, get count
|
|
879
|
+
* const result = await prisma.user.groupBy({
|
|
880
|
+
* by: ['city', 'createdAt'],
|
|
881
|
+
* orderBy: {
|
|
882
|
+
* createdAt: true
|
|
883
|
+
* },
|
|
884
|
+
* _count: {
|
|
885
|
+
* _all: true
|
|
886
|
+
* },
|
|
887
|
+
* })
|
|
888
|
+
*
|
|
889
|
+
**/
|
|
890
|
+
groupBy<
|
|
891
|
+
T extends LicenseActivationGroupByArgs,
|
|
892
|
+
HasSelectOrTake extends Prisma.Or<
|
|
893
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
894
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
895
|
+
>,
|
|
896
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
897
|
+
? { orderBy: LicenseActivationGroupByArgs['orderBy'] }
|
|
898
|
+
: { orderBy?: LicenseActivationGroupByArgs['orderBy'] },
|
|
899
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
900
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
901
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
902
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
903
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
904
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
905
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
906
|
+
? `Error: "by" must not be empty.`
|
|
907
|
+
: HavingValid extends Prisma.False
|
|
908
|
+
? {
|
|
909
|
+
[P in HavingFields]: P extends ByFields
|
|
910
|
+
? never
|
|
911
|
+
: P extends string
|
|
912
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
913
|
+
: [
|
|
914
|
+
Error,
|
|
915
|
+
'Field ',
|
|
916
|
+
P,
|
|
917
|
+
` in "having" needs to be provided in "by"`,
|
|
918
|
+
]
|
|
919
|
+
}[HavingFields]
|
|
920
|
+
: 'take' extends Prisma.Keys<T>
|
|
921
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
922
|
+
? ByValid extends Prisma.True
|
|
923
|
+
? {}
|
|
924
|
+
: {
|
|
925
|
+
[P in OrderFields]: P extends ByFields
|
|
926
|
+
? never
|
|
927
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
928
|
+
}[OrderFields]
|
|
929
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
930
|
+
: 'skip' extends Prisma.Keys<T>
|
|
931
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
932
|
+
? ByValid extends Prisma.True
|
|
933
|
+
? {}
|
|
934
|
+
: {
|
|
935
|
+
[P in OrderFields]: P extends ByFields
|
|
936
|
+
? never
|
|
937
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
938
|
+
}[OrderFields]
|
|
939
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
940
|
+
: ByValid extends Prisma.True
|
|
941
|
+
? {}
|
|
942
|
+
: {
|
|
943
|
+
[P in OrderFields]: P extends ByFields
|
|
944
|
+
? never
|
|
945
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
946
|
+
}[OrderFields]
|
|
947
|
+
>(args: Prisma.SubsetIntersection<T, LicenseActivationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLicenseActivationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
948
|
+
/**
|
|
949
|
+
* Fields of the LicenseActivation model
|
|
950
|
+
*/
|
|
951
|
+
readonly fields: LicenseActivationFieldRefs;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* The delegate class that acts as a "Promise-like" for LicenseActivation.
|
|
956
|
+
* Why is this prefixed with `Prisma__`?
|
|
957
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
958
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
959
|
+
*/
|
|
960
|
+
export interface Prisma__LicenseActivationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
961
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
962
|
+
license<T extends Prisma.LicenseKeyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseKeyDefaultArgs<ExtArgs>>): Prisma.Prisma__LicenseKeyClient<runtime.Types.Result.GetResult<Prisma.$LicenseKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
963
|
+
/**
|
|
964
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
965
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
966
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
967
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
968
|
+
*/
|
|
969
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
970
|
+
/**
|
|
971
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
972
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
973
|
+
* @returns A Promise for the completion of the callback.
|
|
974
|
+
*/
|
|
975
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
976
|
+
/**
|
|
977
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
978
|
+
* resolved value cannot be modified from the callback.
|
|
979
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
980
|
+
* @returns A Promise for the completion of the callback.
|
|
981
|
+
*/
|
|
982
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Fields of the LicenseActivation model
|
|
990
|
+
*/
|
|
991
|
+
export interface LicenseActivationFieldRefs {
|
|
992
|
+
readonly id: Prisma.FieldRef<"LicenseActivation", 'String'>
|
|
993
|
+
readonly licenseId: Prisma.FieldRef<"LicenseActivation", 'String'>
|
|
994
|
+
readonly instanceId: Prisma.FieldRef<"LicenseActivation", 'String'>
|
|
995
|
+
readonly fingerprint: Prisma.FieldRef<"LicenseActivation", 'String'>
|
|
996
|
+
readonly activatedAt: Prisma.FieldRef<"LicenseActivation", 'DateTime'>
|
|
997
|
+
readonly lastSeenAt: Prisma.FieldRef<"LicenseActivation", 'DateTime'>
|
|
998
|
+
readonly revokedAt: Prisma.FieldRef<"LicenseActivation", 'DateTime'>
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
// Custom InputTypes
|
|
1003
|
+
/**
|
|
1004
|
+
* LicenseActivation findUnique
|
|
1005
|
+
*/
|
|
1006
|
+
export type LicenseActivationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
|
+
/**
|
|
1008
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1009
|
+
*/
|
|
1010
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1011
|
+
/**
|
|
1012
|
+
* Omit specific fields from the LicenseActivation
|
|
1013
|
+
*/
|
|
1014
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1015
|
+
/**
|
|
1016
|
+
* Choose, which related nodes to fetch as well
|
|
1017
|
+
*/
|
|
1018
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1019
|
+
/**
|
|
1020
|
+
* Filter, which LicenseActivation to fetch.
|
|
1021
|
+
*/
|
|
1022
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* LicenseActivation findUniqueOrThrow
|
|
1027
|
+
*/
|
|
1028
|
+
export type LicenseActivationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1029
|
+
/**
|
|
1030
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1031
|
+
*/
|
|
1032
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1033
|
+
/**
|
|
1034
|
+
* Omit specific fields from the LicenseActivation
|
|
1035
|
+
*/
|
|
1036
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1037
|
+
/**
|
|
1038
|
+
* Choose, which related nodes to fetch as well
|
|
1039
|
+
*/
|
|
1040
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1041
|
+
/**
|
|
1042
|
+
* Filter, which LicenseActivation to fetch.
|
|
1043
|
+
*/
|
|
1044
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* LicenseActivation findFirst
|
|
1049
|
+
*/
|
|
1050
|
+
export type LicenseActivationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
/**
|
|
1052
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1053
|
+
*/
|
|
1054
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1055
|
+
/**
|
|
1056
|
+
* Omit specific fields from the LicenseActivation
|
|
1057
|
+
*/
|
|
1058
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1059
|
+
/**
|
|
1060
|
+
* Choose, which related nodes to fetch as well
|
|
1061
|
+
*/
|
|
1062
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1063
|
+
/**
|
|
1064
|
+
* Filter, which LicenseActivation to fetch.
|
|
1065
|
+
*/
|
|
1066
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
1067
|
+
/**
|
|
1068
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1069
|
+
*
|
|
1070
|
+
* Determine the order of LicenseActivations to fetch.
|
|
1071
|
+
*/
|
|
1072
|
+
orderBy?: Prisma.LicenseActivationOrderByWithRelationInput | Prisma.LicenseActivationOrderByWithRelationInput[]
|
|
1073
|
+
/**
|
|
1074
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1075
|
+
*
|
|
1076
|
+
* Sets the position for searching for LicenseActivations.
|
|
1077
|
+
*/
|
|
1078
|
+
cursor?: Prisma.LicenseActivationWhereUniqueInput
|
|
1079
|
+
/**
|
|
1080
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1081
|
+
*
|
|
1082
|
+
* Take `±n` LicenseActivations from the position of the cursor.
|
|
1083
|
+
*/
|
|
1084
|
+
take?: number
|
|
1085
|
+
/**
|
|
1086
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1087
|
+
*
|
|
1088
|
+
* Skip the first `n` LicenseActivations.
|
|
1089
|
+
*/
|
|
1090
|
+
skip?: number
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Filter by unique combinations of LicenseActivations.
|
|
1095
|
+
*/
|
|
1096
|
+
distinct?: Prisma.LicenseActivationScalarFieldEnum | Prisma.LicenseActivationScalarFieldEnum[]
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* LicenseActivation findFirstOrThrow
|
|
1101
|
+
*/
|
|
1102
|
+
export type LicenseActivationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1103
|
+
/**
|
|
1104
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1105
|
+
*/
|
|
1106
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1107
|
+
/**
|
|
1108
|
+
* Omit specific fields from the LicenseActivation
|
|
1109
|
+
*/
|
|
1110
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1111
|
+
/**
|
|
1112
|
+
* Choose, which related nodes to fetch as well
|
|
1113
|
+
*/
|
|
1114
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1115
|
+
/**
|
|
1116
|
+
* Filter, which LicenseActivation to fetch.
|
|
1117
|
+
*/
|
|
1118
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
1119
|
+
/**
|
|
1120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1121
|
+
*
|
|
1122
|
+
* Determine the order of LicenseActivations to fetch.
|
|
1123
|
+
*/
|
|
1124
|
+
orderBy?: Prisma.LicenseActivationOrderByWithRelationInput | Prisma.LicenseActivationOrderByWithRelationInput[]
|
|
1125
|
+
/**
|
|
1126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1127
|
+
*
|
|
1128
|
+
* Sets the position for searching for LicenseActivations.
|
|
1129
|
+
*/
|
|
1130
|
+
cursor?: Prisma.LicenseActivationWhereUniqueInput
|
|
1131
|
+
/**
|
|
1132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1133
|
+
*
|
|
1134
|
+
* Take `±n` LicenseActivations from the position of the cursor.
|
|
1135
|
+
*/
|
|
1136
|
+
take?: number
|
|
1137
|
+
/**
|
|
1138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1139
|
+
*
|
|
1140
|
+
* Skip the first `n` LicenseActivations.
|
|
1141
|
+
*/
|
|
1142
|
+
skip?: number
|
|
1143
|
+
/**
|
|
1144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1145
|
+
*
|
|
1146
|
+
* Filter by unique combinations of LicenseActivations.
|
|
1147
|
+
*/
|
|
1148
|
+
distinct?: Prisma.LicenseActivationScalarFieldEnum | Prisma.LicenseActivationScalarFieldEnum[]
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* LicenseActivation findMany
|
|
1153
|
+
*/
|
|
1154
|
+
export type LicenseActivationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1155
|
+
/**
|
|
1156
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1157
|
+
*/
|
|
1158
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1159
|
+
/**
|
|
1160
|
+
* Omit specific fields from the LicenseActivation
|
|
1161
|
+
*/
|
|
1162
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1163
|
+
/**
|
|
1164
|
+
* Choose, which related nodes to fetch as well
|
|
1165
|
+
*/
|
|
1166
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1167
|
+
/**
|
|
1168
|
+
* Filter, which LicenseActivations to fetch.
|
|
1169
|
+
*/
|
|
1170
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
1171
|
+
/**
|
|
1172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1173
|
+
*
|
|
1174
|
+
* Determine the order of LicenseActivations to fetch.
|
|
1175
|
+
*/
|
|
1176
|
+
orderBy?: Prisma.LicenseActivationOrderByWithRelationInput | Prisma.LicenseActivationOrderByWithRelationInput[]
|
|
1177
|
+
/**
|
|
1178
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1179
|
+
*
|
|
1180
|
+
* Sets the position for listing LicenseActivations.
|
|
1181
|
+
*/
|
|
1182
|
+
cursor?: Prisma.LicenseActivationWhereUniqueInput
|
|
1183
|
+
/**
|
|
1184
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1185
|
+
*
|
|
1186
|
+
* Take `±n` LicenseActivations from the position of the cursor.
|
|
1187
|
+
*/
|
|
1188
|
+
take?: number
|
|
1189
|
+
/**
|
|
1190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1191
|
+
*
|
|
1192
|
+
* Skip the first `n` LicenseActivations.
|
|
1193
|
+
*/
|
|
1194
|
+
skip?: number
|
|
1195
|
+
/**
|
|
1196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1197
|
+
*
|
|
1198
|
+
* Filter by unique combinations of LicenseActivations.
|
|
1199
|
+
*/
|
|
1200
|
+
distinct?: Prisma.LicenseActivationScalarFieldEnum | Prisma.LicenseActivationScalarFieldEnum[]
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* LicenseActivation create
|
|
1205
|
+
*/
|
|
1206
|
+
export type LicenseActivationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
+
/**
|
|
1208
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1209
|
+
*/
|
|
1210
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1211
|
+
/**
|
|
1212
|
+
* Omit specific fields from the LicenseActivation
|
|
1213
|
+
*/
|
|
1214
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which related nodes to fetch as well
|
|
1217
|
+
*/
|
|
1218
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1219
|
+
/**
|
|
1220
|
+
* The data needed to create a LicenseActivation.
|
|
1221
|
+
*/
|
|
1222
|
+
data: Prisma.XOR<Prisma.LicenseActivationCreateInput, Prisma.LicenseActivationUncheckedCreateInput>
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* LicenseActivation createMany
|
|
1227
|
+
*/
|
|
1228
|
+
export type LicenseActivationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
/**
|
|
1230
|
+
* The data used to create many LicenseActivations.
|
|
1231
|
+
*/
|
|
1232
|
+
data: Prisma.LicenseActivationCreateManyInput | Prisma.LicenseActivationCreateManyInput[]
|
|
1233
|
+
skipDuplicates?: boolean
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* LicenseActivation createManyAndReturn
|
|
1238
|
+
*/
|
|
1239
|
+
export type LicenseActivationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1240
|
+
/**
|
|
1241
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1242
|
+
*/
|
|
1243
|
+
select?: Prisma.LicenseActivationSelectCreateManyAndReturn<ExtArgs> | null
|
|
1244
|
+
/**
|
|
1245
|
+
* Omit specific fields from the LicenseActivation
|
|
1246
|
+
*/
|
|
1247
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1248
|
+
/**
|
|
1249
|
+
* The data used to create many LicenseActivations.
|
|
1250
|
+
*/
|
|
1251
|
+
data: Prisma.LicenseActivationCreateManyInput | Prisma.LicenseActivationCreateManyInput[]
|
|
1252
|
+
skipDuplicates?: boolean
|
|
1253
|
+
/**
|
|
1254
|
+
* Choose, which related nodes to fetch as well
|
|
1255
|
+
*/
|
|
1256
|
+
include?: Prisma.LicenseActivationIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* LicenseActivation update
|
|
1261
|
+
*/
|
|
1262
|
+
export type LicenseActivationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1263
|
+
/**
|
|
1264
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1265
|
+
*/
|
|
1266
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1267
|
+
/**
|
|
1268
|
+
* Omit specific fields from the LicenseActivation
|
|
1269
|
+
*/
|
|
1270
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1271
|
+
/**
|
|
1272
|
+
* Choose, which related nodes to fetch as well
|
|
1273
|
+
*/
|
|
1274
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1275
|
+
/**
|
|
1276
|
+
* The data needed to update a LicenseActivation.
|
|
1277
|
+
*/
|
|
1278
|
+
data: Prisma.XOR<Prisma.LicenseActivationUpdateInput, Prisma.LicenseActivationUncheckedUpdateInput>
|
|
1279
|
+
/**
|
|
1280
|
+
* Choose, which LicenseActivation to update.
|
|
1281
|
+
*/
|
|
1282
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* LicenseActivation updateMany
|
|
1287
|
+
*/
|
|
1288
|
+
export type LicenseActivationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1289
|
+
/**
|
|
1290
|
+
* The data used to update LicenseActivations.
|
|
1291
|
+
*/
|
|
1292
|
+
data: Prisma.XOR<Prisma.LicenseActivationUpdateManyMutationInput, Prisma.LicenseActivationUncheckedUpdateManyInput>
|
|
1293
|
+
/**
|
|
1294
|
+
* Filter which LicenseActivations to update
|
|
1295
|
+
*/
|
|
1296
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
1297
|
+
/**
|
|
1298
|
+
* Limit how many LicenseActivations to update.
|
|
1299
|
+
*/
|
|
1300
|
+
limit?: number
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* LicenseActivation updateManyAndReturn
|
|
1305
|
+
*/
|
|
1306
|
+
export type LicenseActivationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1307
|
+
/**
|
|
1308
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1309
|
+
*/
|
|
1310
|
+
select?: Prisma.LicenseActivationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1311
|
+
/**
|
|
1312
|
+
* Omit specific fields from the LicenseActivation
|
|
1313
|
+
*/
|
|
1314
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1315
|
+
/**
|
|
1316
|
+
* The data used to update LicenseActivations.
|
|
1317
|
+
*/
|
|
1318
|
+
data: Prisma.XOR<Prisma.LicenseActivationUpdateManyMutationInput, Prisma.LicenseActivationUncheckedUpdateManyInput>
|
|
1319
|
+
/**
|
|
1320
|
+
* Filter which LicenseActivations to update
|
|
1321
|
+
*/
|
|
1322
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
1323
|
+
/**
|
|
1324
|
+
* Limit how many LicenseActivations to update.
|
|
1325
|
+
*/
|
|
1326
|
+
limit?: number
|
|
1327
|
+
/**
|
|
1328
|
+
* Choose, which related nodes to fetch as well
|
|
1329
|
+
*/
|
|
1330
|
+
include?: Prisma.LicenseActivationIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* LicenseActivation upsert
|
|
1335
|
+
*/
|
|
1336
|
+
export type LicenseActivationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1337
|
+
/**
|
|
1338
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1339
|
+
*/
|
|
1340
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1341
|
+
/**
|
|
1342
|
+
* Omit specific fields from the LicenseActivation
|
|
1343
|
+
*/
|
|
1344
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1345
|
+
/**
|
|
1346
|
+
* Choose, which related nodes to fetch as well
|
|
1347
|
+
*/
|
|
1348
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1349
|
+
/**
|
|
1350
|
+
* The filter to search for the LicenseActivation to update in case it exists.
|
|
1351
|
+
*/
|
|
1352
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
1353
|
+
/**
|
|
1354
|
+
* In case the LicenseActivation found by the `where` argument doesn't exist, create a new LicenseActivation with this data.
|
|
1355
|
+
*/
|
|
1356
|
+
create: Prisma.XOR<Prisma.LicenseActivationCreateInput, Prisma.LicenseActivationUncheckedCreateInput>
|
|
1357
|
+
/**
|
|
1358
|
+
* In case the LicenseActivation was found with the provided `where` argument, update it with this data.
|
|
1359
|
+
*/
|
|
1360
|
+
update: Prisma.XOR<Prisma.LicenseActivationUpdateInput, Prisma.LicenseActivationUncheckedUpdateInput>
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* LicenseActivation delete
|
|
1365
|
+
*/
|
|
1366
|
+
export type LicenseActivationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1367
|
+
/**
|
|
1368
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1369
|
+
*/
|
|
1370
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1371
|
+
/**
|
|
1372
|
+
* Omit specific fields from the LicenseActivation
|
|
1373
|
+
*/
|
|
1374
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1375
|
+
/**
|
|
1376
|
+
* Choose, which related nodes to fetch as well
|
|
1377
|
+
*/
|
|
1378
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1379
|
+
/**
|
|
1380
|
+
* Filter which LicenseActivation to delete.
|
|
1381
|
+
*/
|
|
1382
|
+
where: Prisma.LicenseActivationWhereUniqueInput
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* LicenseActivation deleteMany
|
|
1387
|
+
*/
|
|
1388
|
+
export type LicenseActivationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1389
|
+
/**
|
|
1390
|
+
* Filter which LicenseActivations to delete
|
|
1391
|
+
*/
|
|
1392
|
+
where?: Prisma.LicenseActivationWhereInput
|
|
1393
|
+
/**
|
|
1394
|
+
* Limit how many LicenseActivations to delete.
|
|
1395
|
+
*/
|
|
1396
|
+
limit?: number
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* LicenseActivation without action
|
|
1401
|
+
*/
|
|
1402
|
+
export type LicenseActivationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1403
|
+
/**
|
|
1404
|
+
* Select specific fields to fetch from the LicenseActivation
|
|
1405
|
+
*/
|
|
1406
|
+
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
|
1407
|
+
/**
|
|
1408
|
+
* Omit specific fields from the LicenseActivation
|
|
1409
|
+
*/
|
|
1410
|
+
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
|
1411
|
+
/**
|
|
1412
|
+
* Choose, which related nodes to fetch as well
|
|
1413
|
+
*/
|
|
1414
|
+
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
|
1415
|
+
}
|