@prenta/core 8.6.0 → 8.7.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/CHANGELOG.md +17 -0
- package/dist/api/handlers.d.ts.map +1 -1
- package/dist/api/handlers.js +4 -0
- package/dist/api/handlers.js.map +1 -1
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/route-helpers/auth.d.ts +24 -2
- package/dist/api/route-helpers/auth.d.ts.map +1 -1
- package/dist/api/route-helpers/auth.js +93 -1
- package/dist/api/route-helpers/auth.js.map +1 -1
- package/dist/api/route-helpers.d.ts +1 -1
- package/dist/api/route-helpers.d.ts.map +1 -1
- package/dist/api/route-helpers.js +1 -1
- package/dist/api/route-helpers.js.map +1 -1
- package/dist/api/routes/ai-authoring.d.ts.map +1 -1
- package/dist/api/routes/ai-authoring.js +8 -3
- package/dist/api/routes/ai-authoring.js.map +1 -1
- package/dist/api/routes/forms.d.ts.map +1 -1
- package/dist/api/routes/forms.js +50 -34
- package/dist/api/routes/forms.js.map +1 -1
- package/dist/api/routes/mcp-oauth.d.ts +3 -0
- package/dist/api/routes/mcp-oauth.d.ts.map +1 -0
- package/dist/api/routes/mcp-oauth.js +143 -0
- package/dist/api/routes/mcp-oauth.js.map +1 -0
- package/dist/api/routes/preview.d.ts.map +1 -1
- package/dist/api/routes/preview.js +43 -2
- package/dist/api/routes/preview.js.map +1 -1
- package/dist/api/routes/privacy.d.ts +3 -0
- package/dist/api/routes/privacy.d.ts.map +1 -0
- package/dist/api/routes/privacy.js +44 -0
- package/dist/api/routes/privacy.js.map +1 -0
- package/dist/api/routes/scheduling.d.ts.map +1 -1
- package/dist/api/routes/scheduling.js +4 -1
- package/dist/api/routes/scheduling.js.map +1 -1
- package/dist/api/routes/seo/handlers/audits.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/audits.js +3 -3
- package/dist/api/routes/seo/handlers/audits.js.map +1 -1
- package/dist/api/routes/seo/handlers/content.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/content.js +2 -2
- package/dist/api/routes/seo/handlers/content.js.map +1 -1
- package/dist/api/routes/seo/handlers/issue-helpers.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/issue-helpers.js +2 -2
- package/dist/api/routes/seo/handlers/issue-helpers.js.map +1 -1
- package/dist/api/routes/seo/handlers/issues-fixes.js +3 -3
- package/dist/api/routes/seo/handlers/issues-fixes.js.map +1 -1
- package/dist/api/routes/seo/handlers/links.d.ts.map +1 -1
- package/dist/api/routes/seo/handlers/links.js +6 -6
- package/dist/api/routes/seo/handlers/links.js.map +1 -1
- package/dist/api/routes/seo/handlers/proposals.js +2 -2
- package/dist/api/routes/seo/handlers/proposals.js.map +1 -1
- package/dist/api/routes/seo-public.d.ts.map +1 -1
- package/dist/api/routes/seo-public.js +9 -0
- package/dist/api/routes/seo-public.js.map +1 -1
- package/dist/api/routes/url-resolution.d.ts.map +1 -1
- package/dist/api/routes/url-resolution.js +46 -13
- package/dist/api/routes/url-resolution.js.map +1 -1
- package/dist/db/model-types.d.ts +40 -0
- package/dist/db/model-types.d.ts.map +1 -1
- package/dist/forms/delivery.d.ts.map +1 -1
- package/dist/forms/delivery.js +16 -10
- package/dist/forms/delivery.js.map +1 -1
- package/dist/forms/encryption.d.ts +4 -2
- package/dist/forms/encryption.d.ts.map +1 -1
- package/dist/forms/encryption.js +6 -4
- package/dist/forms/encryption.js.map +1 -1
- package/dist/forms/submission.d.ts.map +1 -1
- package/dist/forms/submission.js +17 -10
- package/dist/forms/submission.js.map +1 -1
- package/dist/generated/browser.d.ts +19 -0
- package/dist/generated/client.d.ts +19 -0
- package/dist/generated/internal/class.d.ts +33 -0
- package/dist/generated/internal/class.js +4 -4
- package/dist/generated/internal/prismaNamespace.d.ts +296 -1
- package/dist/generated/internal/prismaNamespace.js +65 -1
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +70 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js +65 -1
- package/dist/generated/models/McpOauthGrant.d.ts +1577 -0
- package/dist/generated/models/McpOauthGrant.js +1 -0
- package/dist/generated/models/McpOauthRefreshReplay.d.ts +957 -0
- package/dist/generated/models/McpOauthRefreshReplay.js +1 -0
- package/dist/generated/models/McpOauthTransaction.d.ts +1153 -0
- package/dist/generated/models/McpOauthTransaction.js +1 -0
- package/dist/generated/models/User.d.ts +279 -0
- package/dist/generated/models.d.ts +3 -0
- package/dist/mcp/cimd.d.ts +12 -0
- package/dist/mcp/cimd.d.ts.map +1 -0
- package/dist/mcp/cimd.js +67 -0
- package/dist/mcp/cimd.js.map +1 -0
- package/dist/mcp/gate.d.ts +11 -0
- package/dist/mcp/gate.d.ts.map +1 -0
- package/dist/mcp/gate.js +75 -0
- package/dist/mcp/gate.js.map +1 -0
- package/dist/mcp/memory-grant-store.d.ts +5 -0
- package/dist/mcp/memory-grant-store.d.ts.map +1 -0
- package/dist/mcp/memory-grant-store.js +44 -0
- package/dist/mcp/memory-grant-store.js.map +1 -0
- package/dist/mcp/oauth-grants.d.ts +83 -0
- package/dist/mcp/oauth-grants.d.ts.map +1 -0
- package/dist/mcp/oauth-grants.js +129 -0
- package/dist/mcp/oauth-grants.js.map +1 -0
- package/dist/mcp/oauth-http.d.ts +43 -0
- package/dist/mcp/oauth-http.d.ts.map +1 -0
- package/dist/mcp/oauth-http.js +243 -0
- package/dist/mcp/oauth-http.js.map +1 -0
- package/dist/mcp/oauth-token.d.ts +43 -0
- package/dist/mcp/oauth-token.d.ts.map +1 -0
- package/dist/mcp/oauth-token.js +78 -0
- package/dist/mcp/oauth-token.js.map +1 -0
- package/dist/mcp/prisma-store.d.ts +5 -0
- package/dist/mcp/prisma-store.d.ts.map +1 -0
- package/dist/mcp/prisma-store.js +69 -0
- package/dist/mcp/prisma-store.js.map +1 -0
- package/dist/mcp/public.d.ts +5 -0
- package/dist/mcp/public.d.ts.map +1 -0
- package/dist/mcp/public.js +30 -0
- package/dist/mcp/public.js.map +1 -0
- package/dist/mcp/runtime.d.ts +4 -0
- package/dist/mcp/runtime.d.ts.map +1 -0
- package/dist/mcp/runtime.js +46 -0
- package/dist/mcp/runtime.js.map +1 -0
- package/dist/mcp/transactions.d.ts +18 -0
- package/dist/mcp/transactions.d.ts.map +1 -0
- package/dist/mcp/transactions.js +15 -0
- package/dist/mcp/transactions.js.map +1 -0
- package/dist/privacy/phi.d.ts +5 -0
- package/dist/privacy/phi.d.ts.map +1 -0
- package/dist/privacy/phi.js +69 -0
- package/dist/privacy/phi.js.map +1 -0
- package/dist/seo/document-path.d.ts +13 -0
- package/dist/seo/document-path.d.ts.map +1 -1
- package/dist/seo/document-path.js +10 -0
- package/dist/seo/document-path.js.map +1 -1
- package/package.json +3 -3
- package/prisma/migrations/0023_mcp_oauth/migration.sql +40 -0
- package/prisma/migrations/0024_mcp_oauth_transactions/migration.sql +16 -0
- package/prisma/schema.prisma +58 -0
|
@@ -0,0 +1,957 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model McpOauthRefreshReplay
|
|
5
|
+
* Hashes of refresh tokens that have already been rotated. Presenting one
|
|
6
|
+
* revokes the family.
|
|
7
|
+
*/
|
|
8
|
+
export type McpOauthRefreshReplayModel = runtime.Types.Result.DefaultSelection<Prisma.$McpOauthRefreshReplayPayload>;
|
|
9
|
+
export type AggregateMcpOauthRefreshReplay = {
|
|
10
|
+
_count: McpOauthRefreshReplayCountAggregateOutputType | null;
|
|
11
|
+
_min: McpOauthRefreshReplayMinAggregateOutputType | null;
|
|
12
|
+
_max: McpOauthRefreshReplayMaxAggregateOutputType | null;
|
|
13
|
+
};
|
|
14
|
+
export type McpOauthRefreshReplayMinAggregateOutputType = {
|
|
15
|
+
hash: string | null;
|
|
16
|
+
familyId: string | null;
|
|
17
|
+
createdAt: Date | null;
|
|
18
|
+
};
|
|
19
|
+
export type McpOauthRefreshReplayMaxAggregateOutputType = {
|
|
20
|
+
hash: string | null;
|
|
21
|
+
familyId: string | null;
|
|
22
|
+
createdAt: Date | null;
|
|
23
|
+
};
|
|
24
|
+
export type McpOauthRefreshReplayCountAggregateOutputType = {
|
|
25
|
+
hash: number;
|
|
26
|
+
familyId: number;
|
|
27
|
+
createdAt: number;
|
|
28
|
+
_all: number;
|
|
29
|
+
};
|
|
30
|
+
export type McpOauthRefreshReplayMinAggregateInputType = {
|
|
31
|
+
hash?: true;
|
|
32
|
+
familyId?: true;
|
|
33
|
+
createdAt?: true;
|
|
34
|
+
};
|
|
35
|
+
export type McpOauthRefreshReplayMaxAggregateInputType = {
|
|
36
|
+
hash?: true;
|
|
37
|
+
familyId?: true;
|
|
38
|
+
createdAt?: true;
|
|
39
|
+
};
|
|
40
|
+
export type McpOauthRefreshReplayCountAggregateInputType = {
|
|
41
|
+
hash?: true;
|
|
42
|
+
familyId?: true;
|
|
43
|
+
createdAt?: true;
|
|
44
|
+
_all?: true;
|
|
45
|
+
};
|
|
46
|
+
export type McpOauthRefreshReplayAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
47
|
+
/**
|
|
48
|
+
* Filter which McpOauthRefreshReplay to aggregate.
|
|
49
|
+
*/
|
|
50
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
51
|
+
/**
|
|
52
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53
|
+
*
|
|
54
|
+
* Determine the order of McpOauthRefreshReplays to fetch.
|
|
55
|
+
*/
|
|
56
|
+
orderBy?: Prisma.McpOauthRefreshReplayOrderByWithRelationInput | Prisma.McpOauthRefreshReplayOrderByWithRelationInput[];
|
|
57
|
+
/**
|
|
58
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
59
|
+
*
|
|
60
|
+
* Sets the start position
|
|
61
|
+
*/
|
|
62
|
+
cursor?: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
63
|
+
/**
|
|
64
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
65
|
+
*
|
|
66
|
+
* Take `±n` McpOauthRefreshReplays from the position of the cursor.
|
|
67
|
+
*/
|
|
68
|
+
take?: number;
|
|
69
|
+
/**
|
|
70
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
71
|
+
*
|
|
72
|
+
* Skip the first `n` McpOauthRefreshReplays.
|
|
73
|
+
*/
|
|
74
|
+
skip?: number;
|
|
75
|
+
/**
|
|
76
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
77
|
+
*
|
|
78
|
+
* Count returned McpOauthRefreshReplays
|
|
79
|
+
**/
|
|
80
|
+
_count?: true | McpOauthRefreshReplayCountAggregateInputType;
|
|
81
|
+
/**
|
|
82
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
83
|
+
*
|
|
84
|
+
* Select which fields to find the minimum value
|
|
85
|
+
**/
|
|
86
|
+
_min?: McpOauthRefreshReplayMinAggregateInputType;
|
|
87
|
+
/**
|
|
88
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
89
|
+
*
|
|
90
|
+
* Select which fields to find the maximum value
|
|
91
|
+
**/
|
|
92
|
+
_max?: McpOauthRefreshReplayMaxAggregateInputType;
|
|
93
|
+
};
|
|
94
|
+
export type GetMcpOauthRefreshReplayAggregateType<T extends McpOauthRefreshReplayAggregateArgs> = {
|
|
95
|
+
[P in keyof T & keyof AggregateMcpOauthRefreshReplay]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMcpOauthRefreshReplay[P]> : Prisma.GetScalarType<T[P], AggregateMcpOauthRefreshReplay[P]>;
|
|
96
|
+
};
|
|
97
|
+
export type McpOauthRefreshReplayGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
98
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
99
|
+
orderBy?: Prisma.McpOauthRefreshReplayOrderByWithAggregationInput | Prisma.McpOauthRefreshReplayOrderByWithAggregationInput[];
|
|
100
|
+
by: Prisma.McpOauthRefreshReplayScalarFieldEnum[] | Prisma.McpOauthRefreshReplayScalarFieldEnum;
|
|
101
|
+
having?: Prisma.McpOauthRefreshReplayScalarWhereWithAggregatesInput;
|
|
102
|
+
take?: number;
|
|
103
|
+
skip?: number;
|
|
104
|
+
_count?: McpOauthRefreshReplayCountAggregateInputType | true;
|
|
105
|
+
_min?: McpOauthRefreshReplayMinAggregateInputType;
|
|
106
|
+
_max?: McpOauthRefreshReplayMaxAggregateInputType;
|
|
107
|
+
};
|
|
108
|
+
export type McpOauthRefreshReplayGroupByOutputType = {
|
|
109
|
+
hash: string;
|
|
110
|
+
familyId: string;
|
|
111
|
+
createdAt: Date;
|
|
112
|
+
_count: McpOauthRefreshReplayCountAggregateOutputType | null;
|
|
113
|
+
_min: McpOauthRefreshReplayMinAggregateOutputType | null;
|
|
114
|
+
_max: McpOauthRefreshReplayMaxAggregateOutputType | null;
|
|
115
|
+
};
|
|
116
|
+
export type GetMcpOauthRefreshReplayGroupByPayload<T extends McpOauthRefreshReplayGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<McpOauthRefreshReplayGroupByOutputType, T['by']> & {
|
|
117
|
+
[P in ((keyof T) & (keyof McpOauthRefreshReplayGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], McpOauthRefreshReplayGroupByOutputType[P]> : Prisma.GetScalarType<T[P], McpOauthRefreshReplayGroupByOutputType[P]>;
|
|
118
|
+
}>>;
|
|
119
|
+
export type McpOauthRefreshReplayWhereInput = {
|
|
120
|
+
AND?: Prisma.McpOauthRefreshReplayWhereInput | Prisma.McpOauthRefreshReplayWhereInput[];
|
|
121
|
+
OR?: Prisma.McpOauthRefreshReplayWhereInput[];
|
|
122
|
+
NOT?: Prisma.McpOauthRefreshReplayWhereInput | Prisma.McpOauthRefreshReplayWhereInput[];
|
|
123
|
+
hash?: Prisma.StringFilter<"McpOauthRefreshReplay"> | string;
|
|
124
|
+
familyId?: Prisma.StringFilter<"McpOauthRefreshReplay"> | string;
|
|
125
|
+
createdAt?: Prisma.DateTimeFilter<"McpOauthRefreshReplay"> | Date | string;
|
|
126
|
+
};
|
|
127
|
+
export type McpOauthRefreshReplayOrderByWithRelationInput = {
|
|
128
|
+
hash?: Prisma.SortOrder;
|
|
129
|
+
familyId?: Prisma.SortOrder;
|
|
130
|
+
createdAt?: Prisma.SortOrder;
|
|
131
|
+
_relevance?: Prisma.McpOauthRefreshReplayOrderByRelevanceInput;
|
|
132
|
+
};
|
|
133
|
+
export type McpOauthRefreshReplayWhereUniqueInput = Prisma.AtLeast<{
|
|
134
|
+
hash?: string;
|
|
135
|
+
AND?: Prisma.McpOauthRefreshReplayWhereInput | Prisma.McpOauthRefreshReplayWhereInput[];
|
|
136
|
+
OR?: Prisma.McpOauthRefreshReplayWhereInput[];
|
|
137
|
+
NOT?: Prisma.McpOauthRefreshReplayWhereInput | Prisma.McpOauthRefreshReplayWhereInput[];
|
|
138
|
+
familyId?: Prisma.StringFilter<"McpOauthRefreshReplay"> | string;
|
|
139
|
+
createdAt?: Prisma.DateTimeFilter<"McpOauthRefreshReplay"> | Date | string;
|
|
140
|
+
}, "hash">;
|
|
141
|
+
export type McpOauthRefreshReplayOrderByWithAggregationInput = {
|
|
142
|
+
hash?: Prisma.SortOrder;
|
|
143
|
+
familyId?: Prisma.SortOrder;
|
|
144
|
+
createdAt?: Prisma.SortOrder;
|
|
145
|
+
_count?: Prisma.McpOauthRefreshReplayCountOrderByAggregateInput;
|
|
146
|
+
_max?: Prisma.McpOauthRefreshReplayMaxOrderByAggregateInput;
|
|
147
|
+
_min?: Prisma.McpOauthRefreshReplayMinOrderByAggregateInput;
|
|
148
|
+
};
|
|
149
|
+
export type McpOauthRefreshReplayScalarWhereWithAggregatesInput = {
|
|
150
|
+
AND?: Prisma.McpOauthRefreshReplayScalarWhereWithAggregatesInput | Prisma.McpOauthRefreshReplayScalarWhereWithAggregatesInput[];
|
|
151
|
+
OR?: Prisma.McpOauthRefreshReplayScalarWhereWithAggregatesInput[];
|
|
152
|
+
NOT?: Prisma.McpOauthRefreshReplayScalarWhereWithAggregatesInput | Prisma.McpOauthRefreshReplayScalarWhereWithAggregatesInput[];
|
|
153
|
+
hash?: Prisma.StringWithAggregatesFilter<"McpOauthRefreshReplay"> | string;
|
|
154
|
+
familyId?: Prisma.StringWithAggregatesFilter<"McpOauthRefreshReplay"> | string;
|
|
155
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"McpOauthRefreshReplay"> | Date | string;
|
|
156
|
+
};
|
|
157
|
+
export type McpOauthRefreshReplayCreateInput = {
|
|
158
|
+
hash: string;
|
|
159
|
+
familyId: string;
|
|
160
|
+
createdAt?: Date | string;
|
|
161
|
+
};
|
|
162
|
+
export type McpOauthRefreshReplayUncheckedCreateInput = {
|
|
163
|
+
hash: string;
|
|
164
|
+
familyId: string;
|
|
165
|
+
createdAt?: Date | string;
|
|
166
|
+
};
|
|
167
|
+
export type McpOauthRefreshReplayUpdateInput = {
|
|
168
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
169
|
+
familyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
170
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
171
|
+
};
|
|
172
|
+
export type McpOauthRefreshReplayUncheckedUpdateInput = {
|
|
173
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
174
|
+
familyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
175
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
176
|
+
};
|
|
177
|
+
export type McpOauthRefreshReplayCreateManyInput = {
|
|
178
|
+
hash: string;
|
|
179
|
+
familyId: string;
|
|
180
|
+
createdAt?: Date | string;
|
|
181
|
+
};
|
|
182
|
+
export type McpOauthRefreshReplayUpdateManyMutationInput = {
|
|
183
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
184
|
+
familyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
185
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
186
|
+
};
|
|
187
|
+
export type McpOauthRefreshReplayUncheckedUpdateManyInput = {
|
|
188
|
+
hash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
189
|
+
familyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
190
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
191
|
+
};
|
|
192
|
+
export type McpOauthRefreshReplayOrderByRelevanceInput = {
|
|
193
|
+
fields: Prisma.McpOauthRefreshReplayOrderByRelevanceFieldEnum | Prisma.McpOauthRefreshReplayOrderByRelevanceFieldEnum[];
|
|
194
|
+
sort: Prisma.SortOrder;
|
|
195
|
+
search: string;
|
|
196
|
+
};
|
|
197
|
+
export type McpOauthRefreshReplayCountOrderByAggregateInput = {
|
|
198
|
+
hash?: Prisma.SortOrder;
|
|
199
|
+
familyId?: Prisma.SortOrder;
|
|
200
|
+
createdAt?: Prisma.SortOrder;
|
|
201
|
+
};
|
|
202
|
+
export type McpOauthRefreshReplayMaxOrderByAggregateInput = {
|
|
203
|
+
hash?: Prisma.SortOrder;
|
|
204
|
+
familyId?: Prisma.SortOrder;
|
|
205
|
+
createdAt?: Prisma.SortOrder;
|
|
206
|
+
};
|
|
207
|
+
export type McpOauthRefreshReplayMinOrderByAggregateInput = {
|
|
208
|
+
hash?: Prisma.SortOrder;
|
|
209
|
+
familyId?: Prisma.SortOrder;
|
|
210
|
+
createdAt?: Prisma.SortOrder;
|
|
211
|
+
};
|
|
212
|
+
export type McpOauthRefreshReplaySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
213
|
+
hash?: boolean;
|
|
214
|
+
familyId?: boolean;
|
|
215
|
+
createdAt?: boolean;
|
|
216
|
+
}, ExtArgs["result"]["mcpOauthRefreshReplay"]>;
|
|
217
|
+
export type McpOauthRefreshReplaySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
218
|
+
hash?: boolean;
|
|
219
|
+
familyId?: boolean;
|
|
220
|
+
createdAt?: boolean;
|
|
221
|
+
}, ExtArgs["result"]["mcpOauthRefreshReplay"]>;
|
|
222
|
+
export type McpOauthRefreshReplaySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
223
|
+
hash?: boolean;
|
|
224
|
+
familyId?: boolean;
|
|
225
|
+
createdAt?: boolean;
|
|
226
|
+
}, ExtArgs["result"]["mcpOauthRefreshReplay"]>;
|
|
227
|
+
export type McpOauthRefreshReplaySelectScalar = {
|
|
228
|
+
hash?: boolean;
|
|
229
|
+
familyId?: boolean;
|
|
230
|
+
createdAt?: boolean;
|
|
231
|
+
};
|
|
232
|
+
export type McpOauthRefreshReplayOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"hash" | "familyId" | "createdAt", ExtArgs["result"]["mcpOauthRefreshReplay"]>;
|
|
233
|
+
export type $McpOauthRefreshReplayPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
234
|
+
name: "McpOauthRefreshReplay";
|
|
235
|
+
objects: {};
|
|
236
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
237
|
+
hash: string;
|
|
238
|
+
familyId: string;
|
|
239
|
+
createdAt: Date;
|
|
240
|
+
}, ExtArgs["result"]["mcpOauthRefreshReplay"]>;
|
|
241
|
+
composites: {};
|
|
242
|
+
};
|
|
243
|
+
export type McpOauthRefreshReplayGetPayload<S extends boolean | null | undefined | McpOauthRefreshReplayDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload, S>;
|
|
244
|
+
export type McpOauthRefreshReplayCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<McpOauthRefreshReplayFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
|
|
245
|
+
select?: McpOauthRefreshReplayCountAggregateInputType | true;
|
|
246
|
+
};
|
|
247
|
+
export interface McpOauthRefreshReplayDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
248
|
+
[K: symbol]: {
|
|
249
|
+
types: Prisma.TypeMap<ExtArgs>['model']['McpOauthRefreshReplay'];
|
|
250
|
+
meta: {
|
|
251
|
+
name: 'McpOauthRefreshReplay';
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Find zero or one McpOauthRefreshReplay that matches the filter.
|
|
256
|
+
* @param {McpOauthRefreshReplayFindUniqueArgs} args - Arguments to find a McpOauthRefreshReplay
|
|
257
|
+
* @example
|
|
258
|
+
* // Get one McpOauthRefreshReplay
|
|
259
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.findUnique({
|
|
260
|
+
* where: {
|
|
261
|
+
* // ... provide filter here
|
|
262
|
+
* }
|
|
263
|
+
* })
|
|
264
|
+
*/
|
|
265
|
+
findUnique<T extends McpOauthRefreshReplayFindUniqueArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
266
|
+
/**
|
|
267
|
+
* Find one McpOauthRefreshReplay that matches the filter or throw an error with `error.code='P2025'`
|
|
268
|
+
* if no matches were found.
|
|
269
|
+
* @param {McpOauthRefreshReplayFindUniqueOrThrowArgs} args - Arguments to find a McpOauthRefreshReplay
|
|
270
|
+
* @example
|
|
271
|
+
* // Get one McpOauthRefreshReplay
|
|
272
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.findUniqueOrThrow({
|
|
273
|
+
* where: {
|
|
274
|
+
* // ... provide filter here
|
|
275
|
+
* }
|
|
276
|
+
* })
|
|
277
|
+
*/
|
|
278
|
+
findUniqueOrThrow<T extends McpOauthRefreshReplayFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
279
|
+
/**
|
|
280
|
+
* Find the first McpOauthRefreshReplay that matches the filter.
|
|
281
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
282
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
283
|
+
* @param {McpOauthRefreshReplayFindFirstArgs} args - Arguments to find a McpOauthRefreshReplay
|
|
284
|
+
* @example
|
|
285
|
+
* // Get one McpOauthRefreshReplay
|
|
286
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.findFirst({
|
|
287
|
+
* where: {
|
|
288
|
+
* // ... provide filter here
|
|
289
|
+
* }
|
|
290
|
+
* })
|
|
291
|
+
*/
|
|
292
|
+
findFirst<T extends McpOauthRefreshReplayFindFirstArgs>(args?: Prisma.SelectSubset<T, McpOauthRefreshReplayFindFirstArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
293
|
+
/**
|
|
294
|
+
* Find the first McpOauthRefreshReplay that matches the filter or
|
|
295
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
296
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
297
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
298
|
+
* @param {McpOauthRefreshReplayFindFirstOrThrowArgs} args - Arguments to find a McpOauthRefreshReplay
|
|
299
|
+
* @example
|
|
300
|
+
* // Get one McpOauthRefreshReplay
|
|
301
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.findFirstOrThrow({
|
|
302
|
+
* where: {
|
|
303
|
+
* // ... provide filter here
|
|
304
|
+
* }
|
|
305
|
+
* })
|
|
306
|
+
*/
|
|
307
|
+
findFirstOrThrow<T extends McpOauthRefreshReplayFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McpOauthRefreshReplayFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
308
|
+
/**
|
|
309
|
+
* Find zero or more McpOauthRefreshReplays that matches the filter.
|
|
310
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
311
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
312
|
+
* @param {McpOauthRefreshReplayFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
313
|
+
* @example
|
|
314
|
+
* // Get all McpOauthRefreshReplays
|
|
315
|
+
* const mcpOauthRefreshReplays = await prisma.mcpOauthRefreshReplay.findMany()
|
|
316
|
+
*
|
|
317
|
+
* // Get first 10 McpOauthRefreshReplays
|
|
318
|
+
* const mcpOauthRefreshReplays = await prisma.mcpOauthRefreshReplay.findMany({ take: 10 })
|
|
319
|
+
*
|
|
320
|
+
* // Only select the `hash`
|
|
321
|
+
* const mcpOauthRefreshReplayWithHashOnly = await prisma.mcpOauthRefreshReplay.findMany({ select: { hash: true } })
|
|
322
|
+
*
|
|
323
|
+
*/
|
|
324
|
+
findMany<T extends McpOauthRefreshReplayFindManyArgs>(args?: Prisma.SelectSubset<T, McpOauthRefreshReplayFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
325
|
+
/**
|
|
326
|
+
* Create a McpOauthRefreshReplay.
|
|
327
|
+
* @param {McpOauthRefreshReplayCreateArgs} args - Arguments to create a McpOauthRefreshReplay.
|
|
328
|
+
* @example
|
|
329
|
+
* // Create one McpOauthRefreshReplay
|
|
330
|
+
* const McpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.create({
|
|
331
|
+
* data: {
|
|
332
|
+
* // ... data to create a McpOauthRefreshReplay
|
|
333
|
+
* }
|
|
334
|
+
* })
|
|
335
|
+
*
|
|
336
|
+
*/
|
|
337
|
+
create<T extends McpOauthRefreshReplayCreateArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayCreateArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
338
|
+
/**
|
|
339
|
+
* Create many McpOauthRefreshReplays.
|
|
340
|
+
* @param {McpOauthRefreshReplayCreateManyArgs} args - Arguments to create many McpOauthRefreshReplays.
|
|
341
|
+
* @example
|
|
342
|
+
* // Create many McpOauthRefreshReplays
|
|
343
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.createMany({
|
|
344
|
+
* data: [
|
|
345
|
+
* // ... provide data here
|
|
346
|
+
* ]
|
|
347
|
+
* })
|
|
348
|
+
*
|
|
349
|
+
*/
|
|
350
|
+
createMany<T extends McpOauthRefreshReplayCreateManyArgs>(args?: Prisma.SelectSubset<T, McpOauthRefreshReplayCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
351
|
+
/**
|
|
352
|
+
* Create many McpOauthRefreshReplays and returns the data saved in the database.
|
|
353
|
+
* @param {McpOauthRefreshReplayCreateManyAndReturnArgs} args - Arguments to create many McpOauthRefreshReplays.
|
|
354
|
+
* @example
|
|
355
|
+
* // Create many McpOauthRefreshReplays
|
|
356
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.createManyAndReturn({
|
|
357
|
+
* data: [
|
|
358
|
+
* // ... provide data here
|
|
359
|
+
* ]
|
|
360
|
+
* })
|
|
361
|
+
*
|
|
362
|
+
* // Create many McpOauthRefreshReplays and only return the `hash`
|
|
363
|
+
* const mcpOauthRefreshReplayWithHashOnly = await prisma.mcpOauthRefreshReplay.createManyAndReturn({
|
|
364
|
+
* select: { hash: true },
|
|
365
|
+
* data: [
|
|
366
|
+
* // ... provide data here
|
|
367
|
+
* ]
|
|
368
|
+
* })
|
|
369
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
370
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
371
|
+
*
|
|
372
|
+
*/
|
|
373
|
+
createManyAndReturn<T extends McpOauthRefreshReplayCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McpOauthRefreshReplayCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
374
|
+
/**
|
|
375
|
+
* Delete a McpOauthRefreshReplay.
|
|
376
|
+
* @param {McpOauthRefreshReplayDeleteArgs} args - Arguments to delete one McpOauthRefreshReplay.
|
|
377
|
+
* @example
|
|
378
|
+
* // Delete one McpOauthRefreshReplay
|
|
379
|
+
* const McpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.delete({
|
|
380
|
+
* where: {
|
|
381
|
+
* // ... filter to delete one McpOauthRefreshReplay
|
|
382
|
+
* }
|
|
383
|
+
* })
|
|
384
|
+
*
|
|
385
|
+
*/
|
|
386
|
+
delete<T extends McpOauthRefreshReplayDeleteArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayDeleteArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
387
|
+
/**
|
|
388
|
+
* Update one McpOauthRefreshReplay.
|
|
389
|
+
* @param {McpOauthRefreshReplayUpdateArgs} args - Arguments to update one McpOauthRefreshReplay.
|
|
390
|
+
* @example
|
|
391
|
+
* // Update one McpOauthRefreshReplay
|
|
392
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.update({
|
|
393
|
+
* where: {
|
|
394
|
+
* // ... provide filter here
|
|
395
|
+
* },
|
|
396
|
+
* data: {
|
|
397
|
+
* // ... provide data here
|
|
398
|
+
* }
|
|
399
|
+
* })
|
|
400
|
+
*
|
|
401
|
+
*/
|
|
402
|
+
update<T extends McpOauthRefreshReplayUpdateArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayUpdateArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
403
|
+
/**
|
|
404
|
+
* Delete zero or more McpOauthRefreshReplays.
|
|
405
|
+
* @param {McpOauthRefreshReplayDeleteManyArgs} args - Arguments to filter McpOauthRefreshReplays to delete.
|
|
406
|
+
* @example
|
|
407
|
+
* // Delete a few McpOauthRefreshReplays
|
|
408
|
+
* const { count } = await prisma.mcpOauthRefreshReplay.deleteMany({
|
|
409
|
+
* where: {
|
|
410
|
+
* // ... provide filter here
|
|
411
|
+
* }
|
|
412
|
+
* })
|
|
413
|
+
*
|
|
414
|
+
*/
|
|
415
|
+
deleteMany<T extends McpOauthRefreshReplayDeleteManyArgs>(args?: Prisma.SelectSubset<T, McpOauthRefreshReplayDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
416
|
+
/**
|
|
417
|
+
* Update zero or more McpOauthRefreshReplays.
|
|
418
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
419
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
420
|
+
* @param {McpOauthRefreshReplayUpdateManyArgs} args - Arguments to update one or more rows.
|
|
421
|
+
* @example
|
|
422
|
+
* // Update many McpOauthRefreshReplays
|
|
423
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.updateMany({
|
|
424
|
+
* where: {
|
|
425
|
+
* // ... provide filter here
|
|
426
|
+
* },
|
|
427
|
+
* data: {
|
|
428
|
+
* // ... provide data here
|
|
429
|
+
* }
|
|
430
|
+
* })
|
|
431
|
+
*
|
|
432
|
+
*/
|
|
433
|
+
updateMany<T extends McpOauthRefreshReplayUpdateManyArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
434
|
+
/**
|
|
435
|
+
* Update zero or more McpOauthRefreshReplays and returns the data updated in the database.
|
|
436
|
+
* @param {McpOauthRefreshReplayUpdateManyAndReturnArgs} args - Arguments to update many McpOauthRefreshReplays.
|
|
437
|
+
* @example
|
|
438
|
+
* // Update many McpOauthRefreshReplays
|
|
439
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.updateManyAndReturn({
|
|
440
|
+
* where: {
|
|
441
|
+
* // ... provide filter here
|
|
442
|
+
* },
|
|
443
|
+
* data: [
|
|
444
|
+
* // ... provide data here
|
|
445
|
+
* ]
|
|
446
|
+
* })
|
|
447
|
+
*
|
|
448
|
+
* // Update zero or more McpOauthRefreshReplays and only return the `hash`
|
|
449
|
+
* const mcpOauthRefreshReplayWithHashOnly = await prisma.mcpOauthRefreshReplay.updateManyAndReturn({
|
|
450
|
+
* select: { hash: true },
|
|
451
|
+
* where: {
|
|
452
|
+
* // ... provide filter here
|
|
453
|
+
* },
|
|
454
|
+
* data: [
|
|
455
|
+
* // ... provide data here
|
|
456
|
+
* ]
|
|
457
|
+
* })
|
|
458
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
459
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
460
|
+
*
|
|
461
|
+
*/
|
|
462
|
+
updateManyAndReturn<T extends McpOauthRefreshReplayUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
463
|
+
/**
|
|
464
|
+
* Create or update one McpOauthRefreshReplay.
|
|
465
|
+
* @param {McpOauthRefreshReplayUpsertArgs} args - Arguments to update or create a McpOauthRefreshReplay.
|
|
466
|
+
* @example
|
|
467
|
+
* // Update or create a McpOauthRefreshReplay
|
|
468
|
+
* const mcpOauthRefreshReplay = await prisma.mcpOauthRefreshReplay.upsert({
|
|
469
|
+
* create: {
|
|
470
|
+
* // ... data to create a McpOauthRefreshReplay
|
|
471
|
+
* },
|
|
472
|
+
* update: {
|
|
473
|
+
* // ... in case it already exists, update
|
|
474
|
+
* },
|
|
475
|
+
* where: {
|
|
476
|
+
* // ... the filter for the McpOauthRefreshReplay we want to update
|
|
477
|
+
* }
|
|
478
|
+
* })
|
|
479
|
+
*/
|
|
480
|
+
upsert<T extends McpOauthRefreshReplayUpsertArgs>(args: Prisma.SelectSubset<T, McpOauthRefreshReplayUpsertArgs<ExtArgs>>): Prisma.Prisma__McpOauthRefreshReplayClient<runtime.Types.Result.GetResult<Prisma.$McpOauthRefreshReplayPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
481
|
+
/**
|
|
482
|
+
* Count the number of McpOauthRefreshReplays.
|
|
483
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
484
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
485
|
+
* @param {McpOauthRefreshReplayCountArgs} args - Arguments to filter McpOauthRefreshReplays to count.
|
|
486
|
+
* @example
|
|
487
|
+
* // Count the number of McpOauthRefreshReplays
|
|
488
|
+
* const count = await prisma.mcpOauthRefreshReplay.count({
|
|
489
|
+
* where: {
|
|
490
|
+
* // ... the filter for the McpOauthRefreshReplays we want to count
|
|
491
|
+
* }
|
|
492
|
+
* })
|
|
493
|
+
**/
|
|
494
|
+
count<T extends McpOauthRefreshReplayCountArgs>(args?: Prisma.Subset<T, McpOauthRefreshReplayCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], McpOauthRefreshReplayCountAggregateOutputType> : number>;
|
|
495
|
+
/**
|
|
496
|
+
* Allows you to perform aggregations operations on a McpOauthRefreshReplay.
|
|
497
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
498
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
499
|
+
* @param {McpOauthRefreshReplayAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
500
|
+
* @example
|
|
501
|
+
* // Ordered by age ascending
|
|
502
|
+
* // Where email contains prisma.io
|
|
503
|
+
* // Limited to the 10 users
|
|
504
|
+
* const aggregations = await prisma.user.aggregate({
|
|
505
|
+
* _avg: {
|
|
506
|
+
* age: true,
|
|
507
|
+
* },
|
|
508
|
+
* where: {
|
|
509
|
+
* email: {
|
|
510
|
+
* contains: "prisma.io",
|
|
511
|
+
* },
|
|
512
|
+
* },
|
|
513
|
+
* orderBy: {
|
|
514
|
+
* age: "asc",
|
|
515
|
+
* },
|
|
516
|
+
* take: 10,
|
|
517
|
+
* })
|
|
518
|
+
**/
|
|
519
|
+
aggregate<T extends McpOauthRefreshReplayAggregateArgs>(args: Prisma.Subset<T, McpOauthRefreshReplayAggregateArgs>): Prisma.PrismaPromise<GetMcpOauthRefreshReplayAggregateType<T>>;
|
|
520
|
+
/**
|
|
521
|
+
* Group by McpOauthRefreshReplay.
|
|
522
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
523
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
524
|
+
* @param {McpOauthRefreshReplayGroupByArgs} args - Group by arguments.
|
|
525
|
+
* @example
|
|
526
|
+
* // Group by city, order by createdAt, get count
|
|
527
|
+
* const result = await prisma.user.groupBy({
|
|
528
|
+
* by: ['city', 'createdAt'],
|
|
529
|
+
* orderBy: {
|
|
530
|
+
* createdAt: true
|
|
531
|
+
* },
|
|
532
|
+
* _count: {
|
|
533
|
+
* _all: true
|
|
534
|
+
* },
|
|
535
|
+
* })
|
|
536
|
+
*
|
|
537
|
+
**/
|
|
538
|
+
groupBy<T extends McpOauthRefreshReplayGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
539
|
+
orderBy: McpOauthRefreshReplayGroupByArgs['orderBy'];
|
|
540
|
+
} : {
|
|
541
|
+
orderBy?: McpOauthRefreshReplayGroupByArgs['orderBy'];
|
|
542
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
543
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
544
|
+
Error,
|
|
545
|
+
'Field ',
|
|
546
|
+
P,
|
|
547
|
+
` in "having" needs to be provided in "by"`
|
|
548
|
+
];
|
|
549
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
550
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
551
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
552
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
553
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
554
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
555
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, McpOauthRefreshReplayGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcpOauthRefreshReplayGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
556
|
+
/**
|
|
557
|
+
* Fields of the McpOauthRefreshReplay model
|
|
558
|
+
*/
|
|
559
|
+
readonly fields: McpOauthRefreshReplayFieldRefs;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* The delegate class that acts as a "Promise-like" for McpOauthRefreshReplay.
|
|
563
|
+
* Why is this prefixed with `Prisma__`?
|
|
564
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
565
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
566
|
+
*/
|
|
567
|
+
export interface Prisma__McpOauthRefreshReplayClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
568
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
569
|
+
/**
|
|
570
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
571
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
572
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
573
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
574
|
+
*/
|
|
575
|
+
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>;
|
|
576
|
+
/**
|
|
577
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
578
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
579
|
+
* @returns A Promise for the completion of the callback.
|
|
580
|
+
*/
|
|
581
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
582
|
+
/**
|
|
583
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
584
|
+
* resolved value cannot be modified from the callback.
|
|
585
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
586
|
+
* @returns A Promise for the completion of the callback.
|
|
587
|
+
*/
|
|
588
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* Fields of the McpOauthRefreshReplay model
|
|
592
|
+
*/
|
|
593
|
+
export interface McpOauthRefreshReplayFieldRefs {
|
|
594
|
+
readonly hash: Prisma.FieldRef<"McpOauthRefreshReplay", 'String'>;
|
|
595
|
+
readonly familyId: Prisma.FieldRef<"McpOauthRefreshReplay", 'String'>;
|
|
596
|
+
readonly createdAt: Prisma.FieldRef<"McpOauthRefreshReplay", 'DateTime'>;
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* McpOauthRefreshReplay findUnique
|
|
600
|
+
*/
|
|
601
|
+
export type McpOauthRefreshReplayFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
602
|
+
/**
|
|
603
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
604
|
+
*/
|
|
605
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
606
|
+
/**
|
|
607
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
608
|
+
*/
|
|
609
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
610
|
+
/**
|
|
611
|
+
* Filter, which McpOauthRefreshReplay to fetch.
|
|
612
|
+
*/
|
|
613
|
+
where: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
614
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* McpOauthRefreshReplay findUniqueOrThrow
|
|
618
|
+
*/
|
|
619
|
+
export type McpOauthRefreshReplayFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
620
|
+
/**
|
|
621
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
622
|
+
*/
|
|
623
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
624
|
+
/**
|
|
625
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
626
|
+
*/
|
|
627
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
628
|
+
/**
|
|
629
|
+
* Filter, which McpOauthRefreshReplay to fetch.
|
|
630
|
+
*/
|
|
631
|
+
where: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
632
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
633
|
+
};
|
|
634
|
+
/**
|
|
635
|
+
* McpOauthRefreshReplay findFirst
|
|
636
|
+
*/
|
|
637
|
+
export type McpOauthRefreshReplayFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
638
|
+
/**
|
|
639
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
640
|
+
*/
|
|
641
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
642
|
+
/**
|
|
643
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
644
|
+
*/
|
|
645
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
646
|
+
/**
|
|
647
|
+
* Filter, which McpOauthRefreshReplay to fetch.
|
|
648
|
+
*/
|
|
649
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
650
|
+
/**
|
|
651
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
652
|
+
*
|
|
653
|
+
* Determine the order of McpOauthRefreshReplays to fetch.
|
|
654
|
+
*/
|
|
655
|
+
orderBy?: Prisma.McpOauthRefreshReplayOrderByWithRelationInput | Prisma.McpOauthRefreshReplayOrderByWithRelationInput[];
|
|
656
|
+
/**
|
|
657
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
658
|
+
*
|
|
659
|
+
* Sets the position for searching for McpOauthRefreshReplays.
|
|
660
|
+
*/
|
|
661
|
+
cursor?: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
662
|
+
/**
|
|
663
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
664
|
+
*
|
|
665
|
+
* Take `±n` McpOauthRefreshReplays from the position of the cursor.
|
|
666
|
+
*/
|
|
667
|
+
take?: number;
|
|
668
|
+
/**
|
|
669
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
670
|
+
*
|
|
671
|
+
* Skip the first `n` McpOauthRefreshReplays.
|
|
672
|
+
*/
|
|
673
|
+
skip?: number;
|
|
674
|
+
/**
|
|
675
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
676
|
+
*
|
|
677
|
+
* Filter by unique combinations of McpOauthRefreshReplays.
|
|
678
|
+
*/
|
|
679
|
+
distinct?: Prisma.McpOauthRefreshReplayScalarFieldEnum | Prisma.McpOauthRefreshReplayScalarFieldEnum[];
|
|
680
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
681
|
+
};
|
|
682
|
+
/**
|
|
683
|
+
* McpOauthRefreshReplay findFirstOrThrow
|
|
684
|
+
*/
|
|
685
|
+
export type McpOauthRefreshReplayFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
686
|
+
/**
|
|
687
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
688
|
+
*/
|
|
689
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
690
|
+
/**
|
|
691
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
692
|
+
*/
|
|
693
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
694
|
+
/**
|
|
695
|
+
* Filter, which McpOauthRefreshReplay to fetch.
|
|
696
|
+
*/
|
|
697
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
698
|
+
/**
|
|
699
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
700
|
+
*
|
|
701
|
+
* Determine the order of McpOauthRefreshReplays to fetch.
|
|
702
|
+
*/
|
|
703
|
+
orderBy?: Prisma.McpOauthRefreshReplayOrderByWithRelationInput | Prisma.McpOauthRefreshReplayOrderByWithRelationInput[];
|
|
704
|
+
/**
|
|
705
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
706
|
+
*
|
|
707
|
+
* Sets the position for searching for McpOauthRefreshReplays.
|
|
708
|
+
*/
|
|
709
|
+
cursor?: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
710
|
+
/**
|
|
711
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
712
|
+
*
|
|
713
|
+
* Take `±n` McpOauthRefreshReplays from the position of the cursor.
|
|
714
|
+
*/
|
|
715
|
+
take?: number;
|
|
716
|
+
/**
|
|
717
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
718
|
+
*
|
|
719
|
+
* Skip the first `n` McpOauthRefreshReplays.
|
|
720
|
+
*/
|
|
721
|
+
skip?: number;
|
|
722
|
+
/**
|
|
723
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
724
|
+
*
|
|
725
|
+
* Filter by unique combinations of McpOauthRefreshReplays.
|
|
726
|
+
*/
|
|
727
|
+
distinct?: Prisma.McpOauthRefreshReplayScalarFieldEnum | Prisma.McpOauthRefreshReplayScalarFieldEnum[];
|
|
728
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
729
|
+
};
|
|
730
|
+
/**
|
|
731
|
+
* McpOauthRefreshReplay findMany
|
|
732
|
+
*/
|
|
733
|
+
export type McpOauthRefreshReplayFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
734
|
+
/**
|
|
735
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
736
|
+
*/
|
|
737
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
738
|
+
/**
|
|
739
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
740
|
+
*/
|
|
741
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
742
|
+
/**
|
|
743
|
+
* Filter, which McpOauthRefreshReplays to fetch.
|
|
744
|
+
*/
|
|
745
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
746
|
+
/**
|
|
747
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
748
|
+
*
|
|
749
|
+
* Determine the order of McpOauthRefreshReplays to fetch.
|
|
750
|
+
*/
|
|
751
|
+
orderBy?: Prisma.McpOauthRefreshReplayOrderByWithRelationInput | Prisma.McpOauthRefreshReplayOrderByWithRelationInput[];
|
|
752
|
+
/**
|
|
753
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
754
|
+
*
|
|
755
|
+
* Sets the position for listing McpOauthRefreshReplays.
|
|
756
|
+
*/
|
|
757
|
+
cursor?: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
758
|
+
/**
|
|
759
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
760
|
+
*
|
|
761
|
+
* Take `±n` McpOauthRefreshReplays from the position of the cursor.
|
|
762
|
+
*/
|
|
763
|
+
take?: number;
|
|
764
|
+
/**
|
|
765
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
766
|
+
*
|
|
767
|
+
* Skip the first `n` McpOauthRefreshReplays.
|
|
768
|
+
*/
|
|
769
|
+
skip?: number;
|
|
770
|
+
/**
|
|
771
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
772
|
+
*
|
|
773
|
+
* Filter by unique combinations of McpOauthRefreshReplays.
|
|
774
|
+
*/
|
|
775
|
+
distinct?: Prisma.McpOauthRefreshReplayScalarFieldEnum | Prisma.McpOauthRefreshReplayScalarFieldEnum[];
|
|
776
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
777
|
+
};
|
|
778
|
+
/**
|
|
779
|
+
* McpOauthRefreshReplay create
|
|
780
|
+
*/
|
|
781
|
+
export type McpOauthRefreshReplayCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
782
|
+
/**
|
|
783
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
784
|
+
*/
|
|
785
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
786
|
+
/**
|
|
787
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
788
|
+
*/
|
|
789
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
790
|
+
/**
|
|
791
|
+
* The data needed to create a McpOauthRefreshReplay.
|
|
792
|
+
*/
|
|
793
|
+
data: Prisma.XOR<Prisma.McpOauthRefreshReplayCreateInput, Prisma.McpOauthRefreshReplayUncheckedCreateInput>;
|
|
794
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* McpOauthRefreshReplay createMany
|
|
798
|
+
*/
|
|
799
|
+
export type McpOauthRefreshReplayCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
800
|
+
/**
|
|
801
|
+
* The data used to create many McpOauthRefreshReplays.
|
|
802
|
+
*/
|
|
803
|
+
data: Prisma.McpOauthRefreshReplayCreateManyInput | Prisma.McpOauthRefreshReplayCreateManyInput[];
|
|
804
|
+
skipDuplicates?: boolean;
|
|
805
|
+
};
|
|
806
|
+
/**
|
|
807
|
+
* McpOauthRefreshReplay createManyAndReturn
|
|
808
|
+
*/
|
|
809
|
+
export type McpOauthRefreshReplayCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
810
|
+
/**
|
|
811
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
812
|
+
*/
|
|
813
|
+
select?: Prisma.McpOauthRefreshReplaySelectCreateManyAndReturn<ExtArgs> | null;
|
|
814
|
+
/**
|
|
815
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
816
|
+
*/
|
|
817
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
818
|
+
/**
|
|
819
|
+
* The data used to create many McpOauthRefreshReplays.
|
|
820
|
+
*/
|
|
821
|
+
data: Prisma.McpOauthRefreshReplayCreateManyInput | Prisma.McpOauthRefreshReplayCreateManyInput[];
|
|
822
|
+
skipDuplicates?: boolean;
|
|
823
|
+
};
|
|
824
|
+
/**
|
|
825
|
+
* McpOauthRefreshReplay update
|
|
826
|
+
*/
|
|
827
|
+
export type McpOauthRefreshReplayUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
828
|
+
/**
|
|
829
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
830
|
+
*/
|
|
831
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
832
|
+
/**
|
|
833
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
834
|
+
*/
|
|
835
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
836
|
+
/**
|
|
837
|
+
* The data needed to update a McpOauthRefreshReplay.
|
|
838
|
+
*/
|
|
839
|
+
data: Prisma.XOR<Prisma.McpOauthRefreshReplayUpdateInput, Prisma.McpOauthRefreshReplayUncheckedUpdateInput>;
|
|
840
|
+
/**
|
|
841
|
+
* Choose, which McpOauthRefreshReplay to update.
|
|
842
|
+
*/
|
|
843
|
+
where: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
844
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
845
|
+
};
|
|
846
|
+
/**
|
|
847
|
+
* McpOauthRefreshReplay updateMany
|
|
848
|
+
*/
|
|
849
|
+
export type McpOauthRefreshReplayUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
850
|
+
/**
|
|
851
|
+
* The data used to update McpOauthRefreshReplays.
|
|
852
|
+
*/
|
|
853
|
+
data: Prisma.XOR<Prisma.McpOauthRefreshReplayUpdateManyMutationInput, Prisma.McpOauthRefreshReplayUncheckedUpdateManyInput>;
|
|
854
|
+
/**
|
|
855
|
+
* Filter which McpOauthRefreshReplays to update
|
|
856
|
+
*/
|
|
857
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
858
|
+
/**
|
|
859
|
+
* Limit how many McpOauthRefreshReplays to update.
|
|
860
|
+
*/
|
|
861
|
+
limit?: number;
|
|
862
|
+
};
|
|
863
|
+
/**
|
|
864
|
+
* McpOauthRefreshReplay updateManyAndReturn
|
|
865
|
+
*/
|
|
866
|
+
export type McpOauthRefreshReplayUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
867
|
+
/**
|
|
868
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
869
|
+
*/
|
|
870
|
+
select?: Prisma.McpOauthRefreshReplaySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
871
|
+
/**
|
|
872
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
873
|
+
*/
|
|
874
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
875
|
+
/**
|
|
876
|
+
* The data used to update McpOauthRefreshReplays.
|
|
877
|
+
*/
|
|
878
|
+
data: Prisma.XOR<Prisma.McpOauthRefreshReplayUpdateManyMutationInput, Prisma.McpOauthRefreshReplayUncheckedUpdateManyInput>;
|
|
879
|
+
/**
|
|
880
|
+
* Filter which McpOauthRefreshReplays to update
|
|
881
|
+
*/
|
|
882
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
883
|
+
/**
|
|
884
|
+
* Limit how many McpOauthRefreshReplays to update.
|
|
885
|
+
*/
|
|
886
|
+
limit?: number;
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* McpOauthRefreshReplay upsert
|
|
890
|
+
*/
|
|
891
|
+
export type McpOauthRefreshReplayUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
892
|
+
/**
|
|
893
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
894
|
+
*/
|
|
895
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
896
|
+
/**
|
|
897
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
898
|
+
*/
|
|
899
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* The filter to search for the McpOauthRefreshReplay to update in case it exists.
|
|
902
|
+
*/
|
|
903
|
+
where: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
904
|
+
/**
|
|
905
|
+
* In case the McpOauthRefreshReplay found by the `where` argument doesn't exist, create a new McpOauthRefreshReplay with this data.
|
|
906
|
+
*/
|
|
907
|
+
create: Prisma.XOR<Prisma.McpOauthRefreshReplayCreateInput, Prisma.McpOauthRefreshReplayUncheckedCreateInput>;
|
|
908
|
+
/**
|
|
909
|
+
* In case the McpOauthRefreshReplay was found with the provided `where` argument, update it with this data.
|
|
910
|
+
*/
|
|
911
|
+
update: Prisma.XOR<Prisma.McpOauthRefreshReplayUpdateInput, Prisma.McpOauthRefreshReplayUncheckedUpdateInput>;
|
|
912
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* McpOauthRefreshReplay delete
|
|
916
|
+
*/
|
|
917
|
+
export type McpOauthRefreshReplayDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
918
|
+
/**
|
|
919
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
920
|
+
*/
|
|
921
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
922
|
+
/**
|
|
923
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
924
|
+
*/
|
|
925
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
926
|
+
/**
|
|
927
|
+
* Filter which McpOauthRefreshReplay to delete.
|
|
928
|
+
*/
|
|
929
|
+
where: Prisma.McpOauthRefreshReplayWhereUniqueInput;
|
|
930
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
931
|
+
};
|
|
932
|
+
/**
|
|
933
|
+
* McpOauthRefreshReplay deleteMany
|
|
934
|
+
*/
|
|
935
|
+
export type McpOauthRefreshReplayDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
936
|
+
/**
|
|
937
|
+
* Filter which McpOauthRefreshReplays to delete
|
|
938
|
+
*/
|
|
939
|
+
where?: Prisma.McpOauthRefreshReplayWhereInput;
|
|
940
|
+
/**
|
|
941
|
+
* Limit how many McpOauthRefreshReplays to delete.
|
|
942
|
+
*/
|
|
943
|
+
limit?: number;
|
|
944
|
+
};
|
|
945
|
+
/**
|
|
946
|
+
* McpOauthRefreshReplay without action
|
|
947
|
+
*/
|
|
948
|
+
export type McpOauthRefreshReplayDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
949
|
+
/**
|
|
950
|
+
* Select specific fields to fetch from the McpOauthRefreshReplay
|
|
951
|
+
*/
|
|
952
|
+
select?: Prisma.McpOauthRefreshReplaySelect<ExtArgs> | null;
|
|
953
|
+
/**
|
|
954
|
+
* Omit specific fields from the McpOauthRefreshReplay
|
|
955
|
+
*/
|
|
956
|
+
omit?: Prisma.McpOauthRefreshReplayOmit<ExtArgs> | null;
|
|
957
|
+
};
|