@aeolus-fleet/trierarch-plugin 0.39.0 → 0.40.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.
Files changed (121) hide show
  1. package/README.md +19 -9
  2. package/dist/adapters/crypto/sealed-box-sealer.d.ts +1 -1
  3. package/dist/adapters/fleet/console-sessions.js +3 -3
  4. package/dist/adapters/fleet/console-sessions.js.map +1 -1
  5. package/dist/adapters/fleet/core-version.d.ts +1 -1
  6. package/dist/adapters/fleet/core-version.js +1 -1
  7. package/dist/adapters/fleet/rest-fleet-door.js +1 -1
  8. package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
  9. package/dist/adapters/prisma/fleet-forgetter.d.ts +1 -1
  10. package/dist/adapters/prisma/fleet-forgetter.js +2 -2
  11. package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
  12. package/dist/adapters/prisma/generated/browser.d.ts +32 -0
  13. package/dist/adapters/prisma/generated/client.d.ts +32 -0
  14. package/dist/adapters/prisma/generated/commonInputTypes.d.ts +150 -0
  15. package/dist/adapters/prisma/generated/internal/class.d.ts +44 -0
  16. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  17. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  18. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +360 -1
  19. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +46 -1
  20. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  21. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +51 -0
  22. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +46 -1
  23. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  24. package/dist/adapters/prisma/generated/models/McpConfiguration.d.ts +1004 -0
  25. package/dist/adapters/prisma/generated/models/McpConfiguration.js +2 -0
  26. package/dist/adapters/prisma/generated/models/McpConfiguration.js.map +1 -0
  27. package/dist/adapters/prisma/generated/models/McpConfigurationEvent.d.ts +1141 -0
  28. package/dist/adapters/prisma/generated/models/McpConfigurationEvent.js +2 -0
  29. package/dist/adapters/prisma/generated/models/McpConfigurationEvent.js.map +1 -0
  30. package/dist/adapters/prisma/generated/models/McpDelivery.d.ts +1204 -0
  31. package/dist/adapters/prisma/generated/models/McpDelivery.js +2 -0
  32. package/dist/adapters/prisma/generated/models/McpDelivery.js.map +1 -0
  33. package/dist/adapters/prisma/generated/models/McpSecret.d.ts +948 -0
  34. package/dist/adapters/prisma/generated/models/McpSecret.js +2 -0
  35. package/dist/adapters/prisma/generated/models/McpSecret.js.map +1 -0
  36. package/dist/adapters/prisma/generated/models.d.ts +4 -0
  37. package/dist/adapters/prisma/mcp-configurations.d.ts +11 -0
  38. package/dist/adapters/prisma/mcp-configurations.js +44 -0
  39. package/dist/adapters/prisma/mcp-configurations.js.map +1 -0
  40. package/dist/adapters/prisma/mcp-deliveries.d.ts +9 -0
  41. package/dist/adapters/prisma/mcp-deliveries.js +47 -0
  42. package/dist/adapters/prisma/mcp-deliveries.js.map +1 -0
  43. package/dist/adapters/trpc/router.d.ts +63 -5
  44. package/dist/adapters/trpc/router.js +60 -2
  45. package/dist/adapters/trpc/router.js.map +1 -1
  46. package/dist/app.d.ts +2 -6
  47. package/dist/app.js +56 -59
  48. package/dist/app.js.map +1 -1
  49. package/dist/bin/aeolus-trierarch-plugin.js +1 -2
  50. package/dist/bin/aeolus-trierarch-plugin.js.map +1 -1
  51. package/dist/config.d.ts +6 -10
  52. package/dist/config.js +5 -54
  53. package/dist/config.js.map +1 -1
  54. package/dist/core/assignment/assign-crews.d.ts +5 -1
  55. package/dist/core/assignment/assign-crews.js +4 -2
  56. package/dist/core/assignment/assign-crews.js.map +1 -1
  57. package/dist/core/assignment/check-crew-settings.d.ts +3 -0
  58. package/dist/core/assignment/check-crew-settings.js +2 -1
  59. package/dist/core/assignment/check-crew-settings.js.map +1 -1
  60. package/dist/core/assignment/placement.d.ts +3 -1
  61. package/dist/core/assignment/placement.js +27 -7
  62. package/dist/core/assignment/placement.js.map +1 -1
  63. package/dist/core/assignment/read-placement.d.ts +7 -1
  64. package/dist/core/assignment/read-placement.js +14 -2
  65. package/dist/core/assignment/read-placement.js.map +1 -1
  66. package/dist/core/connection/ports.d.ts +2 -0
  67. package/dist/core/mcp-configuration/distribute-mcp-configuration.d.ts +38 -0
  68. package/dist/core/mcp-configuration/distribute-mcp-configuration.js +97 -0
  69. package/dist/core/mcp-configuration/distribute-mcp-configuration.js.map +1 -0
  70. package/dist/core/mcp-configuration/mcp-configuration.d.ts +107 -0
  71. package/dist/core/mcp-configuration/mcp-configuration.js +205 -0
  72. package/dist/core/mcp-configuration/mcp-configuration.js.map +1 -0
  73. package/dist/core/mcp-configuration/mcp-delivery.d.ts +59 -0
  74. package/dist/core/mcp-configuration/mcp-delivery.js +32 -0
  75. package/dist/core/mcp-configuration/mcp-delivery.js.map +1 -0
  76. package/dist/core/mcp-configuration/ports.d.ts +79 -0
  77. package/dist/core/mcp-configuration/ports.js.map +1 -0
  78. package/dist/core/mcp-configuration/read-mcp-configuration.d.ts +8 -0
  79. package/dist/core/mcp-configuration/read-mcp-configuration.js +6 -0
  80. package/dist/core/mcp-configuration/read-mcp-configuration.js.map +1 -0
  81. package/dist/core/mcp-configuration/replace-mcp-configuration.d.ts +24 -0
  82. package/dist/core/mcp-configuration/replace-mcp-configuration.js +30 -0
  83. package/dist/core/mcp-configuration/replace-mcp-configuration.js.map +1 -0
  84. package/dist/core/mcp-configuration/sealing-key.js.map +1 -0
  85. package/dist/core/mcp-configuration/take-mcp-configuration-message.d.ts +30 -0
  86. package/dist/core/mcp-configuration/take-mcp-configuration-message.js +74 -0
  87. package/dist/core/mcp-configuration/take-mcp-configuration-message.js.map +1 -0
  88. package/dist/core/operator/authenticate-operator.d.ts +3 -1
  89. package/dist/core/operator/authenticate-operator.js +7 -4
  90. package/dist/core/operator/authenticate-operator.js.map +1 -1
  91. package/dist/core/operator/ports.d.ts +2 -1
  92. package/dist/core/shared/errors.d.ts +1 -1
  93. package/dist/core/shared/errors.js.map +1 -1
  94. package/package.json +3 -3
  95. package/src/adapters/prisma/migrations/20261109120000_mcp_configurations/migration.sql +35 -0
  96. package/src/adapters/prisma/migrations/20261109130000_mcp_deliveries/migration.sql +15 -0
  97. package/src/adapters/prisma/schema.prisma +65 -0
  98. package/dist/core/mcp-servers/mcp-servers.d.ts +0 -46
  99. package/dist/core/mcp-servers/mcp-servers.js +0 -112
  100. package/dist/core/mcp-servers/mcp-servers.js.map +0 -1
  101. package/dist/core/mcp-servers/ports.d.ts +0 -13
  102. package/dist/core/mcp-servers/ports.js.map +0 -1
  103. package/dist/core/mcp-servers/resend-mcp-servers.d.ts +0 -15
  104. package/dist/core/mcp-servers/resend-mcp-servers.js +0 -19
  105. package/dist/core/mcp-servers/resend-mcp-servers.js.map +0 -1
  106. package/dist/core/mcp-servers/resend-secrets.d.ts +0 -15
  107. package/dist/core/mcp-servers/resend-secrets.js +0 -19
  108. package/dist/core/mcp-servers/resend-secrets.js.map +0 -1
  109. package/dist/core/mcp-servers/sealing-key.js.map +0 -1
  110. package/dist/core/mcp-servers/secrets.d.ts +0 -31
  111. package/dist/core/mcp-servers/secrets.js +0 -90
  112. package/dist/core/mcp-servers/secrets.js.map +0 -1
  113. package/dist/core/mcp-servers/share-mcp-servers.d.ts +0 -25
  114. package/dist/core/mcp-servers/share-mcp-servers.js +0 -45
  115. package/dist/core/mcp-servers/share-mcp-servers.js.map +0 -1
  116. package/dist/core/mcp-servers/share-secrets.d.ts +0 -36
  117. package/dist/core/mcp-servers/share-secrets.js +0 -71
  118. package/dist/core/mcp-servers/share-secrets.js.map +0 -1
  119. /package/dist/core/{mcp-servers → mcp-configuration}/ports.js +0 -0
  120. /package/dist/core/{mcp-servers → mcp-configuration}/sealing-key.d.ts +0 -0
  121. /package/dist/core/{mcp-servers → mcp-configuration}/sealing-key.js +0 -0
@@ -0,0 +1,948 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model McpSecret
5
+ * The secrets of each fleet's MCP configuration, with their values: the
6
+ * plugin's credential store, readable to the service and its database
7
+ * administrators. Replaced with the set, in the same transaction.
8
+ */
9
+ export type McpSecretModel = runtime.Types.Result.DefaultSelection<Prisma.$McpSecretPayload>;
10
+ export type AggregateMcpSecret = {
11
+ _count: McpSecretCountAggregateOutputType | null;
12
+ _min: McpSecretMinAggregateOutputType | null;
13
+ _max: McpSecretMaxAggregateOutputType | null;
14
+ };
15
+ export type McpSecretMinAggregateOutputType = {
16
+ fleetId: string | null;
17
+ name: string | null;
18
+ value: string | null;
19
+ };
20
+ export type McpSecretMaxAggregateOutputType = {
21
+ fleetId: string | null;
22
+ name: string | null;
23
+ value: string | null;
24
+ };
25
+ export type McpSecretCountAggregateOutputType = {
26
+ fleetId: number;
27
+ name: number;
28
+ value: number;
29
+ _all: number;
30
+ };
31
+ export type McpSecretMinAggregateInputType = {
32
+ fleetId?: true;
33
+ name?: true;
34
+ value?: true;
35
+ };
36
+ export type McpSecretMaxAggregateInputType = {
37
+ fleetId?: true;
38
+ name?: true;
39
+ value?: true;
40
+ };
41
+ export type McpSecretCountAggregateInputType = {
42
+ fleetId?: true;
43
+ name?: true;
44
+ value?: true;
45
+ _all?: true;
46
+ };
47
+ export type McpSecretAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
48
+ /**
49
+ * Filter which McpSecret to aggregate.
50
+ */
51
+ where?: Prisma.McpSecretWhereInput;
52
+ /**
53
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
54
+ *
55
+ * Determine the order of McpSecrets to fetch.
56
+ */
57
+ orderBy?: Prisma.McpSecretOrderByWithRelationInput | Prisma.McpSecretOrderByWithRelationInput[];
58
+ /**
59
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
60
+ *
61
+ * Sets the start position
62
+ */
63
+ cursor?: Prisma.McpSecretWhereUniqueInput;
64
+ /**
65
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
66
+ *
67
+ * Take `±n` McpSecrets from the position of the cursor.
68
+ */
69
+ take?: number;
70
+ /**
71
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
72
+ *
73
+ * Skip the first `n` McpSecrets.
74
+ */
75
+ skip?: number;
76
+ /**
77
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
78
+ *
79
+ * Count returned McpSecrets
80
+ **/
81
+ _count?: true | McpSecretCountAggregateInputType;
82
+ /**
83
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
84
+ *
85
+ * Select which fields to find the minimum value
86
+ **/
87
+ _min?: McpSecretMinAggregateInputType;
88
+ /**
89
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
90
+ *
91
+ * Select which fields to find the maximum value
92
+ **/
93
+ _max?: McpSecretMaxAggregateInputType;
94
+ };
95
+ export type GetMcpSecretAggregateType<T extends McpSecretAggregateArgs> = {
96
+ [P in keyof T & keyof AggregateMcpSecret]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMcpSecret[P]> : Prisma.GetScalarType<T[P], AggregateMcpSecret[P]>;
97
+ };
98
+ export type McpSecretGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
99
+ where?: Prisma.McpSecretWhereInput;
100
+ orderBy?: Prisma.McpSecretOrderByWithAggregationInput | Prisma.McpSecretOrderByWithAggregationInput[];
101
+ by: Prisma.McpSecretScalarFieldEnum[] | Prisma.McpSecretScalarFieldEnum;
102
+ having?: Prisma.McpSecretScalarWhereWithAggregatesInput;
103
+ take?: number;
104
+ skip?: number;
105
+ _count?: McpSecretCountAggregateInputType | true;
106
+ _min?: McpSecretMinAggregateInputType;
107
+ _max?: McpSecretMaxAggregateInputType;
108
+ };
109
+ export type McpSecretGroupByOutputType = {
110
+ fleetId: string;
111
+ name: string;
112
+ value: string;
113
+ _count: McpSecretCountAggregateOutputType | null;
114
+ _min: McpSecretMinAggregateOutputType | null;
115
+ _max: McpSecretMaxAggregateOutputType | null;
116
+ };
117
+ export type GetMcpSecretGroupByPayload<T extends McpSecretGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<McpSecretGroupByOutputType, T['by']> & {
118
+ [P in ((keyof T) & (keyof McpSecretGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], McpSecretGroupByOutputType[P]> : Prisma.GetScalarType<T[P], McpSecretGroupByOutputType[P]>;
119
+ }>>;
120
+ export type McpSecretWhereInput = {
121
+ AND?: Prisma.McpSecretWhereInput | Prisma.McpSecretWhereInput[];
122
+ OR?: Prisma.McpSecretWhereInput[];
123
+ NOT?: Prisma.McpSecretWhereInput | Prisma.McpSecretWhereInput[];
124
+ fleetId?: Prisma.StringFilter<"McpSecret"> | string;
125
+ name?: Prisma.StringFilter<"McpSecret"> | string;
126
+ value?: Prisma.StringFilter<"McpSecret"> | string;
127
+ };
128
+ export type McpSecretOrderByWithRelationInput = {
129
+ fleetId?: Prisma.SortOrder;
130
+ name?: Prisma.SortOrder;
131
+ value?: Prisma.SortOrder;
132
+ };
133
+ export type McpSecretWhereUniqueInput = Prisma.AtLeast<{
134
+ fleetId_name?: Prisma.McpSecretFleetIdNameCompoundUniqueInput;
135
+ AND?: Prisma.McpSecretWhereInput | Prisma.McpSecretWhereInput[];
136
+ OR?: Prisma.McpSecretWhereInput[];
137
+ NOT?: Prisma.McpSecretWhereInput | Prisma.McpSecretWhereInput[];
138
+ fleetId?: Prisma.StringFilter<"McpSecret"> | string;
139
+ name?: Prisma.StringFilter<"McpSecret"> | string;
140
+ value?: Prisma.StringFilter<"McpSecret"> | string;
141
+ }, "fleetId_name">;
142
+ export type McpSecretOrderByWithAggregationInput = {
143
+ fleetId?: Prisma.SortOrder;
144
+ name?: Prisma.SortOrder;
145
+ value?: Prisma.SortOrder;
146
+ _count?: Prisma.McpSecretCountOrderByAggregateInput;
147
+ _max?: Prisma.McpSecretMaxOrderByAggregateInput;
148
+ _min?: Prisma.McpSecretMinOrderByAggregateInput;
149
+ };
150
+ export type McpSecretScalarWhereWithAggregatesInput = {
151
+ AND?: Prisma.McpSecretScalarWhereWithAggregatesInput | Prisma.McpSecretScalarWhereWithAggregatesInput[];
152
+ OR?: Prisma.McpSecretScalarWhereWithAggregatesInput[];
153
+ NOT?: Prisma.McpSecretScalarWhereWithAggregatesInput | Prisma.McpSecretScalarWhereWithAggregatesInput[];
154
+ fleetId?: Prisma.StringWithAggregatesFilter<"McpSecret"> | string;
155
+ name?: Prisma.StringWithAggregatesFilter<"McpSecret"> | string;
156
+ value?: Prisma.StringWithAggregatesFilter<"McpSecret"> | string;
157
+ };
158
+ export type McpSecretCreateInput = {
159
+ fleetId: string;
160
+ name: string;
161
+ value: string;
162
+ };
163
+ export type McpSecretUncheckedCreateInput = {
164
+ fleetId: string;
165
+ name: string;
166
+ value: string;
167
+ };
168
+ export type McpSecretUpdateInput = {
169
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
170
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
171
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
172
+ };
173
+ export type McpSecretUncheckedUpdateInput = {
174
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
175
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
176
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
177
+ };
178
+ export type McpSecretCreateManyInput = {
179
+ fleetId: string;
180
+ name: string;
181
+ value: string;
182
+ };
183
+ export type McpSecretUpdateManyMutationInput = {
184
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
185
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
186
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
187
+ };
188
+ export type McpSecretUncheckedUpdateManyInput = {
189
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
190
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
191
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
192
+ };
193
+ export type McpSecretFleetIdNameCompoundUniqueInput = {
194
+ fleetId: string;
195
+ name: string;
196
+ };
197
+ export type McpSecretCountOrderByAggregateInput = {
198
+ fleetId?: Prisma.SortOrder;
199
+ name?: Prisma.SortOrder;
200
+ value?: Prisma.SortOrder;
201
+ };
202
+ export type McpSecretMaxOrderByAggregateInput = {
203
+ fleetId?: Prisma.SortOrder;
204
+ name?: Prisma.SortOrder;
205
+ value?: Prisma.SortOrder;
206
+ };
207
+ export type McpSecretMinOrderByAggregateInput = {
208
+ fleetId?: Prisma.SortOrder;
209
+ name?: Prisma.SortOrder;
210
+ value?: Prisma.SortOrder;
211
+ };
212
+ export type McpSecretSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
213
+ fleetId?: boolean;
214
+ name?: boolean;
215
+ value?: boolean;
216
+ }, ExtArgs["result"]["mcpSecret"]>;
217
+ export type McpSecretSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
218
+ fleetId?: boolean;
219
+ name?: boolean;
220
+ value?: boolean;
221
+ }, ExtArgs["result"]["mcpSecret"]>;
222
+ export type McpSecretSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
223
+ fleetId?: boolean;
224
+ name?: boolean;
225
+ value?: boolean;
226
+ }, ExtArgs["result"]["mcpSecret"]>;
227
+ export type McpSecretSelectScalar = {
228
+ fleetId?: boolean;
229
+ name?: boolean;
230
+ value?: boolean;
231
+ };
232
+ export type McpSecretOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "name" | "value", ExtArgs["result"]["mcpSecret"]>;
233
+ export type $McpSecretPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
234
+ name: "McpSecret";
235
+ objects: {};
236
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
237
+ fleetId: string;
238
+ name: string;
239
+ value: string;
240
+ }, ExtArgs["result"]["mcpSecret"]>;
241
+ composites: {};
242
+ };
243
+ export type McpSecretGetPayload<S extends boolean | null | undefined | McpSecretDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpSecretPayload, S>;
244
+ export type McpSecretCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<McpSecretFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
245
+ select?: McpSecretCountAggregateInputType | true;
246
+ };
247
+ export interface McpSecretDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
248
+ [K: symbol]: {
249
+ types: Prisma.TypeMap<ExtArgs>['model']['McpSecret'];
250
+ meta: {
251
+ name: 'McpSecret';
252
+ };
253
+ };
254
+ /**
255
+ * Find zero or one McpSecret that matches the filter.
256
+ * @param {McpSecretFindUniqueArgs} args - Arguments to find a McpSecret
257
+ * @example
258
+ * // Get one McpSecret
259
+ * const mcpSecret = await prisma.mcpSecret.findUnique({
260
+ * where: {
261
+ * // ... provide filter here
262
+ * }
263
+ * })
264
+ */
265
+ findUnique<T extends McpSecretFindUniqueArgs>(args: Prisma.SelectSubset<T, McpSecretFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
266
+ /**
267
+ * Find one McpSecret that matches the filter or throw an error with `error.code='P2025'`
268
+ * if no matches were found.
269
+ * @param {McpSecretFindUniqueOrThrowArgs} args - Arguments to find a McpSecret
270
+ * @example
271
+ * // Get one McpSecret
272
+ * const mcpSecret = await prisma.mcpSecret.findUniqueOrThrow({
273
+ * where: {
274
+ * // ... provide filter here
275
+ * }
276
+ * })
277
+ */
278
+ findUniqueOrThrow<T extends McpSecretFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McpSecretFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
279
+ /**
280
+ * Find the first McpSecret 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 {McpSecretFindFirstArgs} args - Arguments to find a McpSecret
284
+ * @example
285
+ * // Get one McpSecret
286
+ * const mcpSecret = await prisma.mcpSecret.findFirst({
287
+ * where: {
288
+ * // ... provide filter here
289
+ * }
290
+ * })
291
+ */
292
+ findFirst<T extends McpSecretFindFirstArgs>(args?: Prisma.SelectSubset<T, McpSecretFindFirstArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
293
+ /**
294
+ * Find the first McpSecret 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 {McpSecretFindFirstOrThrowArgs} args - Arguments to find a McpSecret
299
+ * @example
300
+ * // Get one McpSecret
301
+ * const mcpSecret = await prisma.mcpSecret.findFirstOrThrow({
302
+ * where: {
303
+ * // ... provide filter here
304
+ * }
305
+ * })
306
+ */
307
+ findFirstOrThrow<T extends McpSecretFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McpSecretFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
308
+ /**
309
+ * Find zero or more McpSecrets 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 {McpSecretFindManyArgs} args - Arguments to filter and select certain fields only.
313
+ * @example
314
+ * // Get all McpSecrets
315
+ * const mcpSecrets = await prisma.mcpSecret.findMany()
316
+ *
317
+ * // Get first 10 McpSecrets
318
+ * const mcpSecrets = await prisma.mcpSecret.findMany({ take: 10 })
319
+ *
320
+ * // Only select the `fleetId`
321
+ * const mcpSecretWithFleetIdOnly = await prisma.mcpSecret.findMany({ select: { fleetId: true } })
322
+ *
323
+ */
324
+ findMany<T extends McpSecretFindManyArgs>(args?: Prisma.SelectSubset<T, McpSecretFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
325
+ /**
326
+ * Create a McpSecret.
327
+ * @param {McpSecretCreateArgs} args - Arguments to create a McpSecret.
328
+ * @example
329
+ * // Create one McpSecret
330
+ * const McpSecret = await prisma.mcpSecret.create({
331
+ * data: {
332
+ * // ... data to create a McpSecret
333
+ * }
334
+ * })
335
+ *
336
+ */
337
+ create<T extends McpSecretCreateArgs>(args: Prisma.SelectSubset<T, McpSecretCreateArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
338
+ /**
339
+ * Create many McpSecrets.
340
+ * @param {McpSecretCreateManyArgs} args - Arguments to create many McpSecrets.
341
+ * @example
342
+ * // Create many McpSecrets
343
+ * const mcpSecret = await prisma.mcpSecret.createMany({
344
+ * data: [
345
+ * // ... provide data here
346
+ * ]
347
+ * })
348
+ *
349
+ */
350
+ createMany<T extends McpSecretCreateManyArgs>(args?: Prisma.SelectSubset<T, McpSecretCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
351
+ /**
352
+ * Create many McpSecrets and returns the data saved in the database.
353
+ * @param {McpSecretCreateManyAndReturnArgs} args - Arguments to create many McpSecrets.
354
+ * @example
355
+ * // Create many McpSecrets
356
+ * const mcpSecret = await prisma.mcpSecret.createManyAndReturn({
357
+ * data: [
358
+ * // ... provide data here
359
+ * ]
360
+ * })
361
+ *
362
+ * // Create many McpSecrets and only return the `fleetId`
363
+ * const mcpSecretWithFleetIdOnly = await prisma.mcpSecret.createManyAndReturn({
364
+ * select: { fleetId: 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 McpSecretCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McpSecretCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
374
+ /**
375
+ * Delete a McpSecret.
376
+ * @param {McpSecretDeleteArgs} args - Arguments to delete one McpSecret.
377
+ * @example
378
+ * // Delete one McpSecret
379
+ * const McpSecret = await prisma.mcpSecret.delete({
380
+ * where: {
381
+ * // ... filter to delete one McpSecret
382
+ * }
383
+ * })
384
+ *
385
+ */
386
+ delete<T extends McpSecretDeleteArgs>(args: Prisma.SelectSubset<T, McpSecretDeleteArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
387
+ /**
388
+ * Update one McpSecret.
389
+ * @param {McpSecretUpdateArgs} args - Arguments to update one McpSecret.
390
+ * @example
391
+ * // Update one McpSecret
392
+ * const mcpSecret = await prisma.mcpSecret.update({
393
+ * where: {
394
+ * // ... provide filter here
395
+ * },
396
+ * data: {
397
+ * // ... provide data here
398
+ * }
399
+ * })
400
+ *
401
+ */
402
+ update<T extends McpSecretUpdateArgs>(args: Prisma.SelectSubset<T, McpSecretUpdateArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
403
+ /**
404
+ * Delete zero or more McpSecrets.
405
+ * @param {McpSecretDeleteManyArgs} args - Arguments to filter McpSecrets to delete.
406
+ * @example
407
+ * // Delete a few McpSecrets
408
+ * const { count } = await prisma.mcpSecret.deleteMany({
409
+ * where: {
410
+ * // ... provide filter here
411
+ * }
412
+ * })
413
+ *
414
+ */
415
+ deleteMany<T extends McpSecretDeleteManyArgs>(args?: Prisma.SelectSubset<T, McpSecretDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
416
+ /**
417
+ * Update zero or more McpSecrets.
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 {McpSecretUpdateManyArgs} args - Arguments to update one or more rows.
421
+ * @example
422
+ * // Update many McpSecrets
423
+ * const mcpSecret = await prisma.mcpSecret.updateMany({
424
+ * where: {
425
+ * // ... provide filter here
426
+ * },
427
+ * data: {
428
+ * // ... provide data here
429
+ * }
430
+ * })
431
+ *
432
+ */
433
+ updateMany<T extends McpSecretUpdateManyArgs>(args: Prisma.SelectSubset<T, McpSecretUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
434
+ /**
435
+ * Update zero or more McpSecrets and returns the data updated in the database.
436
+ * @param {McpSecretUpdateManyAndReturnArgs} args - Arguments to update many McpSecrets.
437
+ * @example
438
+ * // Update many McpSecrets
439
+ * const mcpSecret = await prisma.mcpSecret.updateManyAndReturn({
440
+ * where: {
441
+ * // ... provide filter here
442
+ * },
443
+ * data: [
444
+ * // ... provide data here
445
+ * ]
446
+ * })
447
+ *
448
+ * // Update zero or more McpSecrets and only return the `fleetId`
449
+ * const mcpSecretWithFleetIdOnly = await prisma.mcpSecret.updateManyAndReturn({
450
+ * select: { fleetId: 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 McpSecretUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McpSecretUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
463
+ /**
464
+ * Create or update one McpSecret.
465
+ * @param {McpSecretUpsertArgs} args - Arguments to update or create a McpSecret.
466
+ * @example
467
+ * // Update or create a McpSecret
468
+ * const mcpSecret = await prisma.mcpSecret.upsert({
469
+ * create: {
470
+ * // ... data to create a McpSecret
471
+ * },
472
+ * update: {
473
+ * // ... in case it already exists, update
474
+ * },
475
+ * where: {
476
+ * // ... the filter for the McpSecret we want to update
477
+ * }
478
+ * })
479
+ */
480
+ upsert<T extends McpSecretUpsertArgs>(args: Prisma.SelectSubset<T, McpSecretUpsertArgs<ExtArgs>>): Prisma.Prisma__McpSecretClient<runtime.Types.Result.GetResult<Prisma.$McpSecretPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
481
+ /**
482
+ * Count the number of McpSecrets.
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 {McpSecretCountArgs} args - Arguments to filter McpSecrets to count.
486
+ * @example
487
+ * // Count the number of McpSecrets
488
+ * const count = await prisma.mcpSecret.count({
489
+ * where: {
490
+ * // ... the filter for the McpSecrets we want to count
491
+ * }
492
+ * })
493
+ **/
494
+ count<T extends McpSecretCountArgs>(args?: Prisma.Subset<T, McpSecretCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], McpSecretCountAggregateOutputType> : number>;
495
+ /**
496
+ * Allows you to perform aggregations operations on a McpSecret.
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 {McpSecretAggregateArgs} 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 McpSecretAggregateArgs>(args: Prisma.Subset<T, McpSecretAggregateArgs>): Prisma.PrismaPromise<GetMcpSecretAggregateType<T>>;
520
+ /**
521
+ * Group by McpSecret.
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 {McpSecretGroupByArgs} 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 McpSecretGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
539
+ orderBy: McpSecretGroupByArgs['orderBy'];
540
+ } : {
541
+ orderBy?: McpSecretGroupByArgs['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, McpSecretGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcpSecretGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
556
+ /**
557
+ * Fields of the McpSecret model
558
+ */
559
+ readonly fields: McpSecretFieldRefs;
560
+ }
561
+ /**
562
+ * The delegate class that acts as a "Promise-like" for McpSecret.
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__McpSecretClient<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 McpSecret model
592
+ */
593
+ export interface McpSecretFieldRefs {
594
+ readonly fleetId: Prisma.FieldRef<"McpSecret", 'String'>;
595
+ readonly name: Prisma.FieldRef<"McpSecret", 'String'>;
596
+ readonly value: Prisma.FieldRef<"McpSecret", 'String'>;
597
+ }
598
+ /**
599
+ * McpSecret findUnique
600
+ */
601
+ export type McpSecretFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
602
+ /**
603
+ * Select specific fields to fetch from the McpSecret
604
+ */
605
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
606
+ /**
607
+ * Omit specific fields from the McpSecret
608
+ */
609
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
610
+ /**
611
+ * Filter, which McpSecret to fetch.
612
+ */
613
+ where: Prisma.McpSecretWhereUniqueInput;
614
+ };
615
+ /**
616
+ * McpSecret findUniqueOrThrow
617
+ */
618
+ export type McpSecretFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
619
+ /**
620
+ * Select specific fields to fetch from the McpSecret
621
+ */
622
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
623
+ /**
624
+ * Omit specific fields from the McpSecret
625
+ */
626
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
627
+ /**
628
+ * Filter, which McpSecret to fetch.
629
+ */
630
+ where: Prisma.McpSecretWhereUniqueInput;
631
+ };
632
+ /**
633
+ * McpSecret findFirst
634
+ */
635
+ export type McpSecretFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
636
+ /**
637
+ * Select specific fields to fetch from the McpSecret
638
+ */
639
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
640
+ /**
641
+ * Omit specific fields from the McpSecret
642
+ */
643
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
644
+ /**
645
+ * Filter, which McpSecret to fetch.
646
+ */
647
+ where?: Prisma.McpSecretWhereInput;
648
+ /**
649
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
650
+ *
651
+ * Determine the order of McpSecrets to fetch.
652
+ */
653
+ orderBy?: Prisma.McpSecretOrderByWithRelationInput | Prisma.McpSecretOrderByWithRelationInput[];
654
+ /**
655
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
656
+ *
657
+ * Sets the position for searching for McpSecrets.
658
+ */
659
+ cursor?: Prisma.McpSecretWhereUniqueInput;
660
+ /**
661
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
662
+ *
663
+ * Take `±n` McpSecrets from the position of the cursor.
664
+ */
665
+ take?: number;
666
+ /**
667
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
668
+ *
669
+ * Skip the first `n` McpSecrets.
670
+ */
671
+ skip?: number;
672
+ /**
673
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
674
+ *
675
+ * Filter by unique combinations of McpSecrets.
676
+ */
677
+ distinct?: Prisma.McpSecretScalarFieldEnum | Prisma.McpSecretScalarFieldEnum[];
678
+ };
679
+ /**
680
+ * McpSecret findFirstOrThrow
681
+ */
682
+ export type McpSecretFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
683
+ /**
684
+ * Select specific fields to fetch from the McpSecret
685
+ */
686
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
687
+ /**
688
+ * Omit specific fields from the McpSecret
689
+ */
690
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
691
+ /**
692
+ * Filter, which McpSecret to fetch.
693
+ */
694
+ where?: Prisma.McpSecretWhereInput;
695
+ /**
696
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
697
+ *
698
+ * Determine the order of McpSecrets to fetch.
699
+ */
700
+ orderBy?: Prisma.McpSecretOrderByWithRelationInput | Prisma.McpSecretOrderByWithRelationInput[];
701
+ /**
702
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
703
+ *
704
+ * Sets the position for searching for McpSecrets.
705
+ */
706
+ cursor?: Prisma.McpSecretWhereUniqueInput;
707
+ /**
708
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
709
+ *
710
+ * Take `±n` McpSecrets from the position of the cursor.
711
+ */
712
+ take?: number;
713
+ /**
714
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
715
+ *
716
+ * Skip the first `n` McpSecrets.
717
+ */
718
+ skip?: number;
719
+ /**
720
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
721
+ *
722
+ * Filter by unique combinations of McpSecrets.
723
+ */
724
+ distinct?: Prisma.McpSecretScalarFieldEnum | Prisma.McpSecretScalarFieldEnum[];
725
+ };
726
+ /**
727
+ * McpSecret findMany
728
+ */
729
+ export type McpSecretFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
730
+ /**
731
+ * Select specific fields to fetch from the McpSecret
732
+ */
733
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
734
+ /**
735
+ * Omit specific fields from the McpSecret
736
+ */
737
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
738
+ /**
739
+ * Filter, which McpSecrets to fetch.
740
+ */
741
+ where?: Prisma.McpSecretWhereInput;
742
+ /**
743
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
744
+ *
745
+ * Determine the order of McpSecrets to fetch.
746
+ */
747
+ orderBy?: Prisma.McpSecretOrderByWithRelationInput | Prisma.McpSecretOrderByWithRelationInput[];
748
+ /**
749
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
750
+ *
751
+ * Sets the position for listing McpSecrets.
752
+ */
753
+ cursor?: Prisma.McpSecretWhereUniqueInput;
754
+ /**
755
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
756
+ *
757
+ * Take `±n` McpSecrets from the position of the cursor.
758
+ */
759
+ take?: number;
760
+ /**
761
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
762
+ *
763
+ * Skip the first `n` McpSecrets.
764
+ */
765
+ skip?: number;
766
+ /**
767
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
768
+ *
769
+ * Filter by unique combinations of McpSecrets.
770
+ */
771
+ distinct?: Prisma.McpSecretScalarFieldEnum | Prisma.McpSecretScalarFieldEnum[];
772
+ };
773
+ /**
774
+ * McpSecret create
775
+ */
776
+ export type McpSecretCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
777
+ /**
778
+ * Select specific fields to fetch from the McpSecret
779
+ */
780
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
781
+ /**
782
+ * Omit specific fields from the McpSecret
783
+ */
784
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
785
+ /**
786
+ * The data needed to create a McpSecret.
787
+ */
788
+ data: Prisma.XOR<Prisma.McpSecretCreateInput, Prisma.McpSecretUncheckedCreateInput>;
789
+ };
790
+ /**
791
+ * McpSecret createMany
792
+ */
793
+ export type McpSecretCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
794
+ /**
795
+ * The data used to create many McpSecrets.
796
+ */
797
+ data: Prisma.McpSecretCreateManyInput | Prisma.McpSecretCreateManyInput[];
798
+ skipDuplicates?: boolean;
799
+ };
800
+ /**
801
+ * McpSecret createManyAndReturn
802
+ */
803
+ export type McpSecretCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
804
+ /**
805
+ * Select specific fields to fetch from the McpSecret
806
+ */
807
+ select?: Prisma.McpSecretSelectCreateManyAndReturn<ExtArgs> | null;
808
+ /**
809
+ * Omit specific fields from the McpSecret
810
+ */
811
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
812
+ /**
813
+ * The data used to create many McpSecrets.
814
+ */
815
+ data: Prisma.McpSecretCreateManyInput | Prisma.McpSecretCreateManyInput[];
816
+ skipDuplicates?: boolean;
817
+ };
818
+ /**
819
+ * McpSecret update
820
+ */
821
+ export type McpSecretUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
822
+ /**
823
+ * Select specific fields to fetch from the McpSecret
824
+ */
825
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
826
+ /**
827
+ * Omit specific fields from the McpSecret
828
+ */
829
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
830
+ /**
831
+ * The data needed to update a McpSecret.
832
+ */
833
+ data: Prisma.XOR<Prisma.McpSecretUpdateInput, Prisma.McpSecretUncheckedUpdateInput>;
834
+ /**
835
+ * Choose, which McpSecret to update.
836
+ */
837
+ where: Prisma.McpSecretWhereUniqueInput;
838
+ };
839
+ /**
840
+ * McpSecret updateMany
841
+ */
842
+ export type McpSecretUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
843
+ /**
844
+ * The data used to update McpSecrets.
845
+ */
846
+ data: Prisma.XOR<Prisma.McpSecretUpdateManyMutationInput, Prisma.McpSecretUncheckedUpdateManyInput>;
847
+ /**
848
+ * Filter which McpSecrets to update
849
+ */
850
+ where?: Prisma.McpSecretWhereInput;
851
+ /**
852
+ * Limit how many McpSecrets to update.
853
+ */
854
+ limit?: number;
855
+ };
856
+ /**
857
+ * McpSecret updateManyAndReturn
858
+ */
859
+ export type McpSecretUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
860
+ /**
861
+ * Select specific fields to fetch from the McpSecret
862
+ */
863
+ select?: Prisma.McpSecretSelectUpdateManyAndReturn<ExtArgs> | null;
864
+ /**
865
+ * Omit specific fields from the McpSecret
866
+ */
867
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
868
+ /**
869
+ * The data used to update McpSecrets.
870
+ */
871
+ data: Prisma.XOR<Prisma.McpSecretUpdateManyMutationInput, Prisma.McpSecretUncheckedUpdateManyInput>;
872
+ /**
873
+ * Filter which McpSecrets to update
874
+ */
875
+ where?: Prisma.McpSecretWhereInput;
876
+ /**
877
+ * Limit how many McpSecrets to update.
878
+ */
879
+ limit?: number;
880
+ };
881
+ /**
882
+ * McpSecret upsert
883
+ */
884
+ export type McpSecretUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
885
+ /**
886
+ * Select specific fields to fetch from the McpSecret
887
+ */
888
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
889
+ /**
890
+ * Omit specific fields from the McpSecret
891
+ */
892
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
893
+ /**
894
+ * The filter to search for the McpSecret to update in case it exists.
895
+ */
896
+ where: Prisma.McpSecretWhereUniqueInput;
897
+ /**
898
+ * In case the McpSecret found by the `where` argument doesn't exist, create a new McpSecret with this data.
899
+ */
900
+ create: Prisma.XOR<Prisma.McpSecretCreateInput, Prisma.McpSecretUncheckedCreateInput>;
901
+ /**
902
+ * In case the McpSecret was found with the provided `where` argument, update it with this data.
903
+ */
904
+ update: Prisma.XOR<Prisma.McpSecretUpdateInput, Prisma.McpSecretUncheckedUpdateInput>;
905
+ };
906
+ /**
907
+ * McpSecret delete
908
+ */
909
+ export type McpSecretDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
910
+ /**
911
+ * Select specific fields to fetch from the McpSecret
912
+ */
913
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
914
+ /**
915
+ * Omit specific fields from the McpSecret
916
+ */
917
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
918
+ /**
919
+ * Filter which McpSecret to delete.
920
+ */
921
+ where: Prisma.McpSecretWhereUniqueInput;
922
+ };
923
+ /**
924
+ * McpSecret deleteMany
925
+ */
926
+ export type McpSecretDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
927
+ /**
928
+ * Filter which McpSecrets to delete
929
+ */
930
+ where?: Prisma.McpSecretWhereInput;
931
+ /**
932
+ * Limit how many McpSecrets to delete.
933
+ */
934
+ limit?: number;
935
+ };
936
+ /**
937
+ * McpSecret without action
938
+ */
939
+ export type McpSecretDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
940
+ /**
941
+ * Select specific fields to fetch from the McpSecret
942
+ */
943
+ select?: Prisma.McpSecretSelect<ExtArgs> | null;
944
+ /**
945
+ * Omit specific fields from the McpSecret
946
+ */
947
+ omit?: Prisma.McpSecretOmit<ExtArgs> | null;
948
+ };