@aeolus-fleet/trierarch-plugin 0.38.0 → 0.39.2

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 (135) hide show
  1. package/README.md +16 -8
  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 +6 -5
  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 +78 -54
  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 +6 -0
  61. package/dist/core/assignment/placement.js +12 -4
  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/assignment/tell-crew-request-reasons.d.ts +35 -0
  67. package/dist/core/assignment/tell-crew-request-reasons.js +110 -0
  68. package/dist/core/assignment/tell-crew-request-reasons.js.map +1 -0
  69. package/dist/core/connection/answer-pings.d.ts +13 -1
  70. package/dist/core/connection/answer-pings.js +11 -2
  71. package/dist/core/connection/answer-pings.js.map +1 -1
  72. package/dist/core/connection/ports.d.ts +23 -6
  73. package/dist/core/connection/ports.js +2 -1
  74. package/dist/core/connection/ports.js.map +1 -1
  75. package/dist/core/mcp-configuration/distribute-mcp-configuration.d.ts +38 -0
  76. package/dist/core/mcp-configuration/distribute-mcp-configuration.js +97 -0
  77. package/dist/core/mcp-configuration/distribute-mcp-configuration.js.map +1 -0
  78. package/dist/core/mcp-configuration/mcp-configuration.d.ts +107 -0
  79. package/dist/core/mcp-configuration/mcp-configuration.js +205 -0
  80. package/dist/core/mcp-configuration/mcp-configuration.js.map +1 -0
  81. package/dist/core/mcp-configuration/mcp-delivery.d.ts +59 -0
  82. package/dist/core/mcp-configuration/mcp-delivery.js +32 -0
  83. package/dist/core/mcp-configuration/mcp-delivery.js.map +1 -0
  84. package/dist/core/mcp-configuration/ports.d.ts +79 -0
  85. package/dist/core/mcp-configuration/ports.js.map +1 -0
  86. package/dist/core/mcp-configuration/read-mcp-configuration.d.ts +8 -0
  87. package/dist/core/mcp-configuration/read-mcp-configuration.js +6 -0
  88. package/dist/core/mcp-configuration/read-mcp-configuration.js.map +1 -0
  89. package/dist/core/mcp-configuration/replace-mcp-configuration.d.ts +24 -0
  90. package/dist/core/mcp-configuration/replace-mcp-configuration.js +30 -0
  91. package/dist/core/mcp-configuration/replace-mcp-configuration.js.map +1 -0
  92. package/dist/core/mcp-configuration/sealing-key.js.map +1 -0
  93. package/dist/core/mcp-configuration/take-mcp-configuration-message.d.ts +30 -0
  94. package/dist/core/mcp-configuration/take-mcp-configuration-message.js +74 -0
  95. package/dist/core/mcp-configuration/take-mcp-configuration-message.js.map +1 -0
  96. package/dist/core/models/answer-enabled-models-asks.d.ts +18 -0
  97. package/dist/core/models/answer-enabled-models-asks.js +32 -0
  98. package/dist/core/models/answer-enabled-models-asks.js.map +1 -0
  99. package/dist/core/operator/authenticate-operator.d.ts +3 -1
  100. package/dist/core/operator/authenticate-operator.js +7 -4
  101. package/dist/core/operator/authenticate-operator.js.map +1 -1
  102. package/dist/core/operator/ports.d.ts +2 -1
  103. package/dist/core/shared/errors.d.ts +1 -1
  104. package/dist/core/shared/errors.js.map +1 -1
  105. package/dist/core/usage/ship-names.d.ts +1 -1
  106. package/dist/core/usage/ship-names.js +2 -1
  107. package/dist/core/usage/ship-names.js.map +1 -1
  108. package/package.json +3 -3
  109. package/src/adapters/prisma/migrations/20261109120000_mcp_configurations/migration.sql +35 -0
  110. package/src/adapters/prisma/migrations/20261109130000_mcp_deliveries/migration.sql +15 -0
  111. package/src/adapters/prisma/schema.prisma +65 -0
  112. package/dist/core/mcp-servers/mcp-servers.d.ts +0 -46
  113. package/dist/core/mcp-servers/mcp-servers.js +0 -112
  114. package/dist/core/mcp-servers/mcp-servers.js.map +0 -1
  115. package/dist/core/mcp-servers/ports.d.ts +0 -13
  116. package/dist/core/mcp-servers/ports.js.map +0 -1
  117. package/dist/core/mcp-servers/resend-mcp-servers.d.ts +0 -15
  118. package/dist/core/mcp-servers/resend-mcp-servers.js +0 -19
  119. package/dist/core/mcp-servers/resend-mcp-servers.js.map +0 -1
  120. package/dist/core/mcp-servers/resend-secrets.d.ts +0 -15
  121. package/dist/core/mcp-servers/resend-secrets.js +0 -19
  122. package/dist/core/mcp-servers/resend-secrets.js.map +0 -1
  123. package/dist/core/mcp-servers/sealing-key.js.map +0 -1
  124. package/dist/core/mcp-servers/secrets.d.ts +0 -31
  125. package/dist/core/mcp-servers/secrets.js +0 -90
  126. package/dist/core/mcp-servers/secrets.js.map +0 -1
  127. package/dist/core/mcp-servers/share-mcp-servers.d.ts +0 -25
  128. package/dist/core/mcp-servers/share-mcp-servers.js +0 -45
  129. package/dist/core/mcp-servers/share-mcp-servers.js.map +0 -1
  130. package/dist/core/mcp-servers/share-secrets.d.ts +0 -36
  131. package/dist/core/mcp-servers/share-secrets.js +0 -71
  132. package/dist/core/mcp-servers/share-secrets.js.map +0 -1
  133. /package/dist/core/{mcp-servers → mcp-configuration}/ports.js +0 -0
  134. /package/dist/core/{mcp-servers → mcp-configuration}/sealing-key.d.ts +0 -0
  135. /package/dist/core/{mcp-servers → mcp-configuration}/sealing-key.js +0 -0
@@ -0,0 +1,1204 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model McpDelivery
5
+ * The delivery of a fleet's MCP configuration to one of its trierarch ships
6
+ * (the fleet crew MCP design, section 5): the attempt last made, kept under its
7
+ * idempotency key before it is sent, with the very message, as the fleet takes
8
+ * a key only for one message; the version and key the trierarch confirmed it
9
+ * applied; and whether it asked for the set since. Its secrets are only sealed
10
+ * to the trierarch's key. Forgotten when the trierarch is seen not crewed.
11
+ */
12
+ export type McpDeliveryModel = runtime.Types.Result.DefaultSelection<Prisma.$McpDeliveryPayload>;
13
+ export type AggregateMcpDelivery = {
14
+ _count: McpDeliveryCountAggregateOutputType | null;
15
+ _avg: McpDeliveryAvgAggregateOutputType | null;
16
+ _sum: McpDeliverySumAggregateOutputType | null;
17
+ _min: McpDeliveryMinAggregateOutputType | null;
18
+ _max: McpDeliveryMaxAggregateOutputType | null;
19
+ };
20
+ export type McpDeliveryAvgAggregateOutputType = {
21
+ attemptVersion: number | null;
22
+ appliedVersion: number | null;
23
+ };
24
+ export type McpDeliverySumAggregateOutputType = {
25
+ attemptVersion: number | null;
26
+ appliedVersion: number | null;
27
+ };
28
+ export type McpDeliveryMinAggregateOutputType = {
29
+ fleetId: string | null;
30
+ trierarchShipId: string | null;
31
+ attemptVersion: number | null;
32
+ attemptPublicKey: string | null;
33
+ attemptIdempotencyKey: string | null;
34
+ attemptPayload: string | null;
35
+ attemptSentAt: Date | null;
36
+ appliedVersion: number | null;
37
+ appliedPublicKey: string | null;
38
+ isRequested: boolean | null;
39
+ };
40
+ export type McpDeliveryMaxAggregateOutputType = {
41
+ fleetId: string | null;
42
+ trierarchShipId: string | null;
43
+ attemptVersion: number | null;
44
+ attemptPublicKey: string | null;
45
+ attemptIdempotencyKey: string | null;
46
+ attemptPayload: string | null;
47
+ attemptSentAt: Date | null;
48
+ appliedVersion: number | null;
49
+ appliedPublicKey: string | null;
50
+ isRequested: boolean | null;
51
+ };
52
+ export type McpDeliveryCountAggregateOutputType = {
53
+ fleetId: number;
54
+ trierarchShipId: number;
55
+ attemptVersion: number;
56
+ attemptPublicKey: number;
57
+ attemptIdempotencyKey: number;
58
+ attemptPayload: number;
59
+ attemptSentAt: number;
60
+ appliedVersion: number;
61
+ appliedPublicKey: number;
62
+ isRequested: number;
63
+ _all: number;
64
+ };
65
+ export type McpDeliveryAvgAggregateInputType = {
66
+ attemptVersion?: true;
67
+ appliedVersion?: true;
68
+ };
69
+ export type McpDeliverySumAggregateInputType = {
70
+ attemptVersion?: true;
71
+ appliedVersion?: true;
72
+ };
73
+ export type McpDeliveryMinAggregateInputType = {
74
+ fleetId?: true;
75
+ trierarchShipId?: true;
76
+ attemptVersion?: true;
77
+ attemptPublicKey?: true;
78
+ attemptIdempotencyKey?: true;
79
+ attemptPayload?: true;
80
+ attemptSentAt?: true;
81
+ appliedVersion?: true;
82
+ appliedPublicKey?: true;
83
+ isRequested?: true;
84
+ };
85
+ export type McpDeliveryMaxAggregateInputType = {
86
+ fleetId?: true;
87
+ trierarchShipId?: true;
88
+ attemptVersion?: true;
89
+ attemptPublicKey?: true;
90
+ attemptIdempotencyKey?: true;
91
+ attemptPayload?: true;
92
+ attemptSentAt?: true;
93
+ appliedVersion?: true;
94
+ appliedPublicKey?: true;
95
+ isRequested?: true;
96
+ };
97
+ export type McpDeliveryCountAggregateInputType = {
98
+ fleetId?: true;
99
+ trierarchShipId?: true;
100
+ attemptVersion?: true;
101
+ attemptPublicKey?: true;
102
+ attemptIdempotencyKey?: true;
103
+ attemptPayload?: true;
104
+ attemptSentAt?: true;
105
+ appliedVersion?: true;
106
+ appliedPublicKey?: true;
107
+ isRequested?: true;
108
+ _all?: true;
109
+ };
110
+ export type McpDeliveryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
111
+ /**
112
+ * Filter which McpDelivery to aggregate.
113
+ */
114
+ where?: Prisma.McpDeliveryWhereInput;
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
117
+ *
118
+ * Determine the order of McpDeliveries to fetch.
119
+ */
120
+ orderBy?: Prisma.McpDeliveryOrderByWithRelationInput | Prisma.McpDeliveryOrderByWithRelationInput[];
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
123
+ *
124
+ * Sets the start position
125
+ */
126
+ cursor?: Prisma.McpDeliveryWhereUniqueInput;
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
129
+ *
130
+ * Take `±n` McpDeliveries from the position of the cursor.
131
+ */
132
+ take?: number;
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
135
+ *
136
+ * Skip the first `n` McpDeliveries.
137
+ */
138
+ skip?: number;
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
+ *
142
+ * Count returned McpDeliveries
143
+ **/
144
+ _count?: true | McpDeliveryCountAggregateInputType;
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
+ *
148
+ * Select which fields to average
149
+ **/
150
+ _avg?: McpDeliveryAvgAggregateInputType;
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
153
+ *
154
+ * Select which fields to sum
155
+ **/
156
+ _sum?: McpDeliverySumAggregateInputType;
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
159
+ *
160
+ * Select which fields to find the minimum value
161
+ **/
162
+ _min?: McpDeliveryMinAggregateInputType;
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
+ *
166
+ * Select which fields to find the maximum value
167
+ **/
168
+ _max?: McpDeliveryMaxAggregateInputType;
169
+ };
170
+ export type GetMcpDeliveryAggregateType<T extends McpDeliveryAggregateArgs> = {
171
+ [P in keyof T & keyof AggregateMcpDelivery]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMcpDelivery[P]> : Prisma.GetScalarType<T[P], AggregateMcpDelivery[P]>;
172
+ };
173
+ export type McpDeliveryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
174
+ where?: Prisma.McpDeliveryWhereInput;
175
+ orderBy?: Prisma.McpDeliveryOrderByWithAggregationInput | Prisma.McpDeliveryOrderByWithAggregationInput[];
176
+ by: Prisma.McpDeliveryScalarFieldEnum[] | Prisma.McpDeliveryScalarFieldEnum;
177
+ having?: Prisma.McpDeliveryScalarWhereWithAggregatesInput;
178
+ take?: number;
179
+ skip?: number;
180
+ _count?: McpDeliveryCountAggregateInputType | true;
181
+ _avg?: McpDeliveryAvgAggregateInputType;
182
+ _sum?: McpDeliverySumAggregateInputType;
183
+ _min?: McpDeliveryMinAggregateInputType;
184
+ _max?: McpDeliveryMaxAggregateInputType;
185
+ };
186
+ export type McpDeliveryGroupByOutputType = {
187
+ fleetId: string;
188
+ trierarchShipId: string;
189
+ attemptVersion: number | null;
190
+ attemptPublicKey: string | null;
191
+ attemptIdempotencyKey: string | null;
192
+ attemptPayload: string | null;
193
+ attemptSentAt: Date | null;
194
+ appliedVersion: number | null;
195
+ appliedPublicKey: string | null;
196
+ isRequested: boolean;
197
+ _count: McpDeliveryCountAggregateOutputType | null;
198
+ _avg: McpDeliveryAvgAggregateOutputType | null;
199
+ _sum: McpDeliverySumAggregateOutputType | null;
200
+ _min: McpDeliveryMinAggregateOutputType | null;
201
+ _max: McpDeliveryMaxAggregateOutputType | null;
202
+ };
203
+ export type GetMcpDeliveryGroupByPayload<T extends McpDeliveryGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<McpDeliveryGroupByOutputType, T['by']> & {
204
+ [P in ((keyof T) & (keyof McpDeliveryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], McpDeliveryGroupByOutputType[P]> : Prisma.GetScalarType<T[P], McpDeliveryGroupByOutputType[P]>;
205
+ }>>;
206
+ export type McpDeliveryWhereInput = {
207
+ AND?: Prisma.McpDeliveryWhereInput | Prisma.McpDeliveryWhereInput[];
208
+ OR?: Prisma.McpDeliveryWhereInput[];
209
+ NOT?: Prisma.McpDeliveryWhereInput | Prisma.McpDeliveryWhereInput[];
210
+ fleetId?: Prisma.StringFilter<"McpDelivery"> | string;
211
+ trierarchShipId?: Prisma.StringFilter<"McpDelivery"> | string;
212
+ attemptVersion?: Prisma.IntNullableFilter<"McpDelivery"> | number | null;
213
+ attemptPublicKey?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
214
+ attemptIdempotencyKey?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
215
+ attemptPayload?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
216
+ attemptSentAt?: Prisma.DateTimeNullableFilter<"McpDelivery"> | Date | string | null;
217
+ appliedVersion?: Prisma.IntNullableFilter<"McpDelivery"> | number | null;
218
+ appliedPublicKey?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
219
+ isRequested?: Prisma.BoolFilter<"McpDelivery"> | boolean;
220
+ };
221
+ export type McpDeliveryOrderByWithRelationInput = {
222
+ fleetId?: Prisma.SortOrder;
223
+ trierarchShipId?: Prisma.SortOrder;
224
+ attemptVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
225
+ attemptPublicKey?: Prisma.SortOrderInput | Prisma.SortOrder;
226
+ attemptIdempotencyKey?: Prisma.SortOrderInput | Prisma.SortOrder;
227
+ attemptPayload?: Prisma.SortOrderInput | Prisma.SortOrder;
228
+ attemptSentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
229
+ appliedVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
230
+ appliedPublicKey?: Prisma.SortOrderInput | Prisma.SortOrder;
231
+ isRequested?: Prisma.SortOrder;
232
+ };
233
+ export type McpDeliveryWhereUniqueInput = Prisma.AtLeast<{
234
+ fleetId_trierarchShipId?: Prisma.McpDeliveryFleetIdTrierarchShipIdCompoundUniqueInput;
235
+ AND?: Prisma.McpDeliveryWhereInput | Prisma.McpDeliveryWhereInput[];
236
+ OR?: Prisma.McpDeliveryWhereInput[];
237
+ NOT?: Prisma.McpDeliveryWhereInput | Prisma.McpDeliveryWhereInput[];
238
+ fleetId?: Prisma.StringFilter<"McpDelivery"> | string;
239
+ trierarchShipId?: Prisma.StringFilter<"McpDelivery"> | string;
240
+ attemptVersion?: Prisma.IntNullableFilter<"McpDelivery"> | number | null;
241
+ attemptPublicKey?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
242
+ attemptIdempotencyKey?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
243
+ attemptPayload?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
244
+ attemptSentAt?: Prisma.DateTimeNullableFilter<"McpDelivery"> | Date | string | null;
245
+ appliedVersion?: Prisma.IntNullableFilter<"McpDelivery"> | number | null;
246
+ appliedPublicKey?: Prisma.StringNullableFilter<"McpDelivery"> | string | null;
247
+ isRequested?: Prisma.BoolFilter<"McpDelivery"> | boolean;
248
+ }, "fleetId_trierarchShipId">;
249
+ export type McpDeliveryOrderByWithAggregationInput = {
250
+ fleetId?: Prisma.SortOrder;
251
+ trierarchShipId?: Prisma.SortOrder;
252
+ attemptVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
253
+ attemptPublicKey?: Prisma.SortOrderInput | Prisma.SortOrder;
254
+ attemptIdempotencyKey?: Prisma.SortOrderInput | Prisma.SortOrder;
255
+ attemptPayload?: Prisma.SortOrderInput | Prisma.SortOrder;
256
+ attemptSentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
257
+ appliedVersion?: Prisma.SortOrderInput | Prisma.SortOrder;
258
+ appliedPublicKey?: Prisma.SortOrderInput | Prisma.SortOrder;
259
+ isRequested?: Prisma.SortOrder;
260
+ _count?: Prisma.McpDeliveryCountOrderByAggregateInput;
261
+ _avg?: Prisma.McpDeliveryAvgOrderByAggregateInput;
262
+ _max?: Prisma.McpDeliveryMaxOrderByAggregateInput;
263
+ _min?: Prisma.McpDeliveryMinOrderByAggregateInput;
264
+ _sum?: Prisma.McpDeliverySumOrderByAggregateInput;
265
+ };
266
+ export type McpDeliveryScalarWhereWithAggregatesInput = {
267
+ AND?: Prisma.McpDeliveryScalarWhereWithAggregatesInput | Prisma.McpDeliveryScalarWhereWithAggregatesInput[];
268
+ OR?: Prisma.McpDeliveryScalarWhereWithAggregatesInput[];
269
+ NOT?: Prisma.McpDeliveryScalarWhereWithAggregatesInput | Prisma.McpDeliveryScalarWhereWithAggregatesInput[];
270
+ fleetId?: Prisma.StringWithAggregatesFilter<"McpDelivery"> | string;
271
+ trierarchShipId?: Prisma.StringWithAggregatesFilter<"McpDelivery"> | string;
272
+ attemptVersion?: Prisma.IntNullableWithAggregatesFilter<"McpDelivery"> | number | null;
273
+ attemptPublicKey?: Prisma.StringNullableWithAggregatesFilter<"McpDelivery"> | string | null;
274
+ attemptIdempotencyKey?: Prisma.StringNullableWithAggregatesFilter<"McpDelivery"> | string | null;
275
+ attemptPayload?: Prisma.StringNullableWithAggregatesFilter<"McpDelivery"> | string | null;
276
+ attemptSentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"McpDelivery"> | Date | string | null;
277
+ appliedVersion?: Prisma.IntNullableWithAggregatesFilter<"McpDelivery"> | number | null;
278
+ appliedPublicKey?: Prisma.StringNullableWithAggregatesFilter<"McpDelivery"> | string | null;
279
+ isRequested?: Prisma.BoolWithAggregatesFilter<"McpDelivery"> | boolean;
280
+ };
281
+ export type McpDeliveryCreateInput = {
282
+ fleetId: string;
283
+ trierarchShipId: string;
284
+ attemptVersion?: number | null;
285
+ attemptPublicKey?: string | null;
286
+ attemptIdempotencyKey?: string | null;
287
+ attemptPayload?: string | null;
288
+ attemptSentAt?: Date | string | null;
289
+ appliedVersion?: number | null;
290
+ appliedPublicKey?: string | null;
291
+ isRequested?: boolean;
292
+ };
293
+ export type McpDeliveryUncheckedCreateInput = {
294
+ fleetId: string;
295
+ trierarchShipId: string;
296
+ attemptVersion?: number | null;
297
+ attemptPublicKey?: string | null;
298
+ attemptIdempotencyKey?: string | null;
299
+ attemptPayload?: string | null;
300
+ attemptSentAt?: Date | string | null;
301
+ appliedVersion?: number | null;
302
+ appliedPublicKey?: string | null;
303
+ isRequested?: boolean;
304
+ };
305
+ export type McpDeliveryUpdateInput = {
306
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
307
+ trierarchShipId?: Prisma.StringFieldUpdateOperationsInput | string;
308
+ attemptVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
309
+ attemptPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
310
+ attemptIdempotencyKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
311
+ attemptPayload?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
312
+ attemptSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
313
+ appliedVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
314
+ appliedPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
315
+ isRequested?: Prisma.BoolFieldUpdateOperationsInput | boolean;
316
+ };
317
+ export type McpDeliveryUncheckedUpdateInput = {
318
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
319
+ trierarchShipId?: Prisma.StringFieldUpdateOperationsInput | string;
320
+ attemptVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
321
+ attemptPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
322
+ attemptIdempotencyKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
323
+ attemptPayload?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
324
+ attemptSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
325
+ appliedVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
326
+ appliedPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
327
+ isRequested?: Prisma.BoolFieldUpdateOperationsInput | boolean;
328
+ };
329
+ export type McpDeliveryCreateManyInput = {
330
+ fleetId: string;
331
+ trierarchShipId: string;
332
+ attemptVersion?: number | null;
333
+ attemptPublicKey?: string | null;
334
+ attemptIdempotencyKey?: string | null;
335
+ attemptPayload?: string | null;
336
+ attemptSentAt?: Date | string | null;
337
+ appliedVersion?: number | null;
338
+ appliedPublicKey?: string | null;
339
+ isRequested?: boolean;
340
+ };
341
+ export type McpDeliveryUpdateManyMutationInput = {
342
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
343
+ trierarchShipId?: Prisma.StringFieldUpdateOperationsInput | string;
344
+ attemptVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
345
+ attemptPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
346
+ attemptIdempotencyKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
347
+ attemptPayload?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
348
+ attemptSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
349
+ appliedVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
350
+ appliedPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
351
+ isRequested?: Prisma.BoolFieldUpdateOperationsInput | boolean;
352
+ };
353
+ export type McpDeliveryUncheckedUpdateManyInput = {
354
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
355
+ trierarchShipId?: Prisma.StringFieldUpdateOperationsInput | string;
356
+ attemptVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
357
+ attemptPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
358
+ attemptIdempotencyKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
359
+ attemptPayload?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
360
+ attemptSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
361
+ appliedVersion?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
362
+ appliedPublicKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
363
+ isRequested?: Prisma.BoolFieldUpdateOperationsInput | boolean;
364
+ };
365
+ export type McpDeliveryFleetIdTrierarchShipIdCompoundUniqueInput = {
366
+ fleetId: string;
367
+ trierarchShipId: string;
368
+ };
369
+ export type McpDeliveryCountOrderByAggregateInput = {
370
+ fleetId?: Prisma.SortOrder;
371
+ trierarchShipId?: Prisma.SortOrder;
372
+ attemptVersion?: Prisma.SortOrder;
373
+ attemptPublicKey?: Prisma.SortOrder;
374
+ attemptIdempotencyKey?: Prisma.SortOrder;
375
+ attemptPayload?: Prisma.SortOrder;
376
+ attemptSentAt?: Prisma.SortOrder;
377
+ appliedVersion?: Prisma.SortOrder;
378
+ appliedPublicKey?: Prisma.SortOrder;
379
+ isRequested?: Prisma.SortOrder;
380
+ };
381
+ export type McpDeliveryAvgOrderByAggregateInput = {
382
+ attemptVersion?: Prisma.SortOrder;
383
+ appliedVersion?: Prisma.SortOrder;
384
+ };
385
+ export type McpDeliveryMaxOrderByAggregateInput = {
386
+ fleetId?: Prisma.SortOrder;
387
+ trierarchShipId?: Prisma.SortOrder;
388
+ attemptVersion?: Prisma.SortOrder;
389
+ attemptPublicKey?: Prisma.SortOrder;
390
+ attemptIdempotencyKey?: Prisma.SortOrder;
391
+ attemptPayload?: Prisma.SortOrder;
392
+ attemptSentAt?: Prisma.SortOrder;
393
+ appliedVersion?: Prisma.SortOrder;
394
+ appliedPublicKey?: Prisma.SortOrder;
395
+ isRequested?: Prisma.SortOrder;
396
+ };
397
+ export type McpDeliveryMinOrderByAggregateInput = {
398
+ fleetId?: Prisma.SortOrder;
399
+ trierarchShipId?: Prisma.SortOrder;
400
+ attemptVersion?: Prisma.SortOrder;
401
+ attemptPublicKey?: Prisma.SortOrder;
402
+ attemptIdempotencyKey?: Prisma.SortOrder;
403
+ attemptPayload?: Prisma.SortOrder;
404
+ attemptSentAt?: Prisma.SortOrder;
405
+ appliedVersion?: Prisma.SortOrder;
406
+ appliedPublicKey?: Prisma.SortOrder;
407
+ isRequested?: Prisma.SortOrder;
408
+ };
409
+ export type McpDeliverySumOrderByAggregateInput = {
410
+ attemptVersion?: Prisma.SortOrder;
411
+ appliedVersion?: Prisma.SortOrder;
412
+ };
413
+ export type NullableIntFieldUpdateOperationsInput = {
414
+ set?: number | null;
415
+ increment?: number;
416
+ decrement?: number;
417
+ multiply?: number;
418
+ divide?: number;
419
+ };
420
+ export type NullableDateTimeFieldUpdateOperationsInput = {
421
+ set?: Date | string | null;
422
+ };
423
+ export type McpDeliverySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
424
+ fleetId?: boolean;
425
+ trierarchShipId?: boolean;
426
+ attemptVersion?: boolean;
427
+ attemptPublicKey?: boolean;
428
+ attemptIdempotencyKey?: boolean;
429
+ attemptPayload?: boolean;
430
+ attemptSentAt?: boolean;
431
+ appliedVersion?: boolean;
432
+ appliedPublicKey?: boolean;
433
+ isRequested?: boolean;
434
+ }, ExtArgs["result"]["mcpDelivery"]>;
435
+ export type McpDeliverySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
436
+ fleetId?: boolean;
437
+ trierarchShipId?: boolean;
438
+ attemptVersion?: boolean;
439
+ attemptPublicKey?: boolean;
440
+ attemptIdempotencyKey?: boolean;
441
+ attemptPayload?: boolean;
442
+ attemptSentAt?: boolean;
443
+ appliedVersion?: boolean;
444
+ appliedPublicKey?: boolean;
445
+ isRequested?: boolean;
446
+ }, ExtArgs["result"]["mcpDelivery"]>;
447
+ export type McpDeliverySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
448
+ fleetId?: boolean;
449
+ trierarchShipId?: boolean;
450
+ attemptVersion?: boolean;
451
+ attemptPublicKey?: boolean;
452
+ attemptIdempotencyKey?: boolean;
453
+ attemptPayload?: boolean;
454
+ attemptSentAt?: boolean;
455
+ appliedVersion?: boolean;
456
+ appliedPublicKey?: boolean;
457
+ isRequested?: boolean;
458
+ }, ExtArgs["result"]["mcpDelivery"]>;
459
+ export type McpDeliverySelectScalar = {
460
+ fleetId?: boolean;
461
+ trierarchShipId?: boolean;
462
+ attemptVersion?: boolean;
463
+ attemptPublicKey?: boolean;
464
+ attemptIdempotencyKey?: boolean;
465
+ attemptPayload?: boolean;
466
+ attemptSentAt?: boolean;
467
+ appliedVersion?: boolean;
468
+ appliedPublicKey?: boolean;
469
+ isRequested?: boolean;
470
+ };
471
+ export type McpDeliveryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "trierarchShipId" | "attemptVersion" | "attemptPublicKey" | "attemptIdempotencyKey" | "attemptPayload" | "attemptSentAt" | "appliedVersion" | "appliedPublicKey" | "isRequested", ExtArgs["result"]["mcpDelivery"]>;
472
+ export type $McpDeliveryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
473
+ name: "McpDelivery";
474
+ objects: {};
475
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
476
+ fleetId: string;
477
+ trierarchShipId: string;
478
+ attemptVersion: number | null;
479
+ attemptPublicKey: string | null;
480
+ attemptIdempotencyKey: string | null;
481
+ attemptPayload: string | null;
482
+ /**
483
+ * Null while the fleet is not known to have taken the attempt.
484
+ */
485
+ attemptSentAt: Date | null;
486
+ appliedVersion: number | null;
487
+ appliedPublicKey: string | null;
488
+ isRequested: boolean;
489
+ }, ExtArgs["result"]["mcpDelivery"]>;
490
+ composites: {};
491
+ };
492
+ export type McpDeliveryGetPayload<S extends boolean | null | undefined | McpDeliveryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload, S>;
493
+ export type McpDeliveryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<McpDeliveryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
494
+ select?: McpDeliveryCountAggregateInputType | true;
495
+ };
496
+ export interface McpDeliveryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
497
+ [K: symbol]: {
498
+ types: Prisma.TypeMap<ExtArgs>['model']['McpDelivery'];
499
+ meta: {
500
+ name: 'McpDelivery';
501
+ };
502
+ };
503
+ /**
504
+ * Find zero or one McpDelivery that matches the filter.
505
+ * @param {McpDeliveryFindUniqueArgs} args - Arguments to find a McpDelivery
506
+ * @example
507
+ * // Get one McpDelivery
508
+ * const mcpDelivery = await prisma.mcpDelivery.findUnique({
509
+ * where: {
510
+ * // ... provide filter here
511
+ * }
512
+ * })
513
+ */
514
+ findUnique<T extends McpDeliveryFindUniqueArgs>(args: Prisma.SelectSubset<T, McpDeliveryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
515
+ /**
516
+ * Find one McpDelivery that matches the filter or throw an error with `error.code='P2025'`
517
+ * if no matches were found.
518
+ * @param {McpDeliveryFindUniqueOrThrowArgs} args - Arguments to find a McpDelivery
519
+ * @example
520
+ * // Get one McpDelivery
521
+ * const mcpDelivery = await prisma.mcpDelivery.findUniqueOrThrow({
522
+ * where: {
523
+ * // ... provide filter here
524
+ * }
525
+ * })
526
+ */
527
+ findUniqueOrThrow<T extends McpDeliveryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, McpDeliveryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
528
+ /**
529
+ * Find the first McpDelivery that matches the filter.
530
+ * Note, that providing `undefined` is treated as the value not being there.
531
+ * Read more here: https://pris.ly/d/null-undefined
532
+ * @param {McpDeliveryFindFirstArgs} args - Arguments to find a McpDelivery
533
+ * @example
534
+ * // Get one McpDelivery
535
+ * const mcpDelivery = await prisma.mcpDelivery.findFirst({
536
+ * where: {
537
+ * // ... provide filter here
538
+ * }
539
+ * })
540
+ */
541
+ findFirst<T extends McpDeliveryFindFirstArgs>(args?: Prisma.SelectSubset<T, McpDeliveryFindFirstArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
542
+ /**
543
+ * Find the first McpDelivery that matches the filter or
544
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
545
+ * Note, that providing `undefined` is treated as the value not being there.
546
+ * Read more here: https://pris.ly/d/null-undefined
547
+ * @param {McpDeliveryFindFirstOrThrowArgs} args - Arguments to find a McpDelivery
548
+ * @example
549
+ * // Get one McpDelivery
550
+ * const mcpDelivery = await prisma.mcpDelivery.findFirstOrThrow({
551
+ * where: {
552
+ * // ... provide filter here
553
+ * }
554
+ * })
555
+ */
556
+ findFirstOrThrow<T extends McpDeliveryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, McpDeliveryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
557
+ /**
558
+ * Find zero or more McpDeliveries that matches the filter.
559
+ * Note, that providing `undefined` is treated as the value not being there.
560
+ * Read more here: https://pris.ly/d/null-undefined
561
+ * @param {McpDeliveryFindManyArgs} args - Arguments to filter and select certain fields only.
562
+ * @example
563
+ * // Get all McpDeliveries
564
+ * const mcpDeliveries = await prisma.mcpDelivery.findMany()
565
+ *
566
+ * // Get first 10 McpDeliveries
567
+ * const mcpDeliveries = await prisma.mcpDelivery.findMany({ take: 10 })
568
+ *
569
+ * // Only select the `fleetId`
570
+ * const mcpDeliveryWithFleetIdOnly = await prisma.mcpDelivery.findMany({ select: { fleetId: true } })
571
+ *
572
+ */
573
+ findMany<T extends McpDeliveryFindManyArgs>(args?: Prisma.SelectSubset<T, McpDeliveryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
574
+ /**
575
+ * Create a McpDelivery.
576
+ * @param {McpDeliveryCreateArgs} args - Arguments to create a McpDelivery.
577
+ * @example
578
+ * // Create one McpDelivery
579
+ * const McpDelivery = await prisma.mcpDelivery.create({
580
+ * data: {
581
+ * // ... data to create a McpDelivery
582
+ * }
583
+ * })
584
+ *
585
+ */
586
+ create<T extends McpDeliveryCreateArgs>(args: Prisma.SelectSubset<T, McpDeliveryCreateArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
587
+ /**
588
+ * Create many McpDeliveries.
589
+ * @param {McpDeliveryCreateManyArgs} args - Arguments to create many McpDeliveries.
590
+ * @example
591
+ * // Create many McpDeliveries
592
+ * const mcpDelivery = await prisma.mcpDelivery.createMany({
593
+ * data: [
594
+ * // ... provide data here
595
+ * ]
596
+ * })
597
+ *
598
+ */
599
+ createMany<T extends McpDeliveryCreateManyArgs>(args?: Prisma.SelectSubset<T, McpDeliveryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
600
+ /**
601
+ * Create many McpDeliveries and returns the data saved in the database.
602
+ * @param {McpDeliveryCreateManyAndReturnArgs} args - Arguments to create many McpDeliveries.
603
+ * @example
604
+ * // Create many McpDeliveries
605
+ * const mcpDelivery = await prisma.mcpDelivery.createManyAndReturn({
606
+ * data: [
607
+ * // ... provide data here
608
+ * ]
609
+ * })
610
+ *
611
+ * // Create many McpDeliveries and only return the `fleetId`
612
+ * const mcpDeliveryWithFleetIdOnly = await prisma.mcpDelivery.createManyAndReturn({
613
+ * select: { fleetId: true },
614
+ * data: [
615
+ * // ... provide data here
616
+ * ]
617
+ * })
618
+ * Note, that providing `undefined` is treated as the value not being there.
619
+ * Read more here: https://pris.ly/d/null-undefined
620
+ *
621
+ */
622
+ createManyAndReturn<T extends McpDeliveryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, McpDeliveryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
623
+ /**
624
+ * Delete a McpDelivery.
625
+ * @param {McpDeliveryDeleteArgs} args - Arguments to delete one McpDelivery.
626
+ * @example
627
+ * // Delete one McpDelivery
628
+ * const McpDelivery = await prisma.mcpDelivery.delete({
629
+ * where: {
630
+ * // ... filter to delete one McpDelivery
631
+ * }
632
+ * })
633
+ *
634
+ */
635
+ delete<T extends McpDeliveryDeleteArgs>(args: Prisma.SelectSubset<T, McpDeliveryDeleteArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
636
+ /**
637
+ * Update one McpDelivery.
638
+ * @param {McpDeliveryUpdateArgs} args - Arguments to update one McpDelivery.
639
+ * @example
640
+ * // Update one McpDelivery
641
+ * const mcpDelivery = await prisma.mcpDelivery.update({
642
+ * where: {
643
+ * // ... provide filter here
644
+ * },
645
+ * data: {
646
+ * // ... provide data here
647
+ * }
648
+ * })
649
+ *
650
+ */
651
+ update<T extends McpDeliveryUpdateArgs>(args: Prisma.SelectSubset<T, McpDeliveryUpdateArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
652
+ /**
653
+ * Delete zero or more McpDeliveries.
654
+ * @param {McpDeliveryDeleteManyArgs} args - Arguments to filter McpDeliveries to delete.
655
+ * @example
656
+ * // Delete a few McpDeliveries
657
+ * const { count } = await prisma.mcpDelivery.deleteMany({
658
+ * where: {
659
+ * // ... provide filter here
660
+ * }
661
+ * })
662
+ *
663
+ */
664
+ deleteMany<T extends McpDeliveryDeleteManyArgs>(args?: Prisma.SelectSubset<T, McpDeliveryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
665
+ /**
666
+ * Update zero or more McpDeliveries.
667
+ * Note, that providing `undefined` is treated as the value not being there.
668
+ * Read more here: https://pris.ly/d/null-undefined
669
+ * @param {McpDeliveryUpdateManyArgs} args - Arguments to update one or more rows.
670
+ * @example
671
+ * // Update many McpDeliveries
672
+ * const mcpDelivery = await prisma.mcpDelivery.updateMany({
673
+ * where: {
674
+ * // ... provide filter here
675
+ * },
676
+ * data: {
677
+ * // ... provide data here
678
+ * }
679
+ * })
680
+ *
681
+ */
682
+ updateMany<T extends McpDeliveryUpdateManyArgs>(args: Prisma.SelectSubset<T, McpDeliveryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
683
+ /**
684
+ * Update zero or more McpDeliveries and returns the data updated in the database.
685
+ * @param {McpDeliveryUpdateManyAndReturnArgs} args - Arguments to update many McpDeliveries.
686
+ * @example
687
+ * // Update many McpDeliveries
688
+ * const mcpDelivery = await prisma.mcpDelivery.updateManyAndReturn({
689
+ * where: {
690
+ * // ... provide filter here
691
+ * },
692
+ * data: [
693
+ * // ... provide data here
694
+ * ]
695
+ * })
696
+ *
697
+ * // Update zero or more McpDeliveries and only return the `fleetId`
698
+ * const mcpDeliveryWithFleetIdOnly = await prisma.mcpDelivery.updateManyAndReturn({
699
+ * select: { fleetId: true },
700
+ * where: {
701
+ * // ... provide filter here
702
+ * },
703
+ * data: [
704
+ * // ... provide data here
705
+ * ]
706
+ * })
707
+ * Note, that providing `undefined` is treated as the value not being there.
708
+ * Read more here: https://pris.ly/d/null-undefined
709
+ *
710
+ */
711
+ updateManyAndReturn<T extends McpDeliveryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, McpDeliveryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
712
+ /**
713
+ * Create or update one McpDelivery.
714
+ * @param {McpDeliveryUpsertArgs} args - Arguments to update or create a McpDelivery.
715
+ * @example
716
+ * // Update or create a McpDelivery
717
+ * const mcpDelivery = await prisma.mcpDelivery.upsert({
718
+ * create: {
719
+ * // ... data to create a McpDelivery
720
+ * },
721
+ * update: {
722
+ * // ... in case it already exists, update
723
+ * },
724
+ * where: {
725
+ * // ... the filter for the McpDelivery we want to update
726
+ * }
727
+ * })
728
+ */
729
+ upsert<T extends McpDeliveryUpsertArgs>(args: Prisma.SelectSubset<T, McpDeliveryUpsertArgs<ExtArgs>>): Prisma.Prisma__McpDeliveryClient<runtime.Types.Result.GetResult<Prisma.$McpDeliveryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
730
+ /**
731
+ * Count the number of McpDeliveries.
732
+ * Note, that providing `undefined` is treated as the value not being there.
733
+ * Read more here: https://pris.ly/d/null-undefined
734
+ * @param {McpDeliveryCountArgs} args - Arguments to filter McpDeliveries to count.
735
+ * @example
736
+ * // Count the number of McpDeliveries
737
+ * const count = await prisma.mcpDelivery.count({
738
+ * where: {
739
+ * // ... the filter for the McpDeliveries we want to count
740
+ * }
741
+ * })
742
+ **/
743
+ count<T extends McpDeliveryCountArgs>(args?: Prisma.Subset<T, McpDeliveryCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], McpDeliveryCountAggregateOutputType> : number>;
744
+ /**
745
+ * Allows you to perform aggregations operations on a McpDelivery.
746
+ * Note, that providing `undefined` is treated as the value not being there.
747
+ * Read more here: https://pris.ly/d/null-undefined
748
+ * @param {McpDeliveryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
749
+ * @example
750
+ * // Ordered by age ascending
751
+ * // Where email contains prisma.io
752
+ * // Limited to the 10 users
753
+ * const aggregations = await prisma.user.aggregate({
754
+ * _avg: {
755
+ * age: true,
756
+ * },
757
+ * where: {
758
+ * email: {
759
+ * contains: "prisma.io",
760
+ * },
761
+ * },
762
+ * orderBy: {
763
+ * age: "asc",
764
+ * },
765
+ * take: 10,
766
+ * })
767
+ **/
768
+ aggregate<T extends McpDeliveryAggregateArgs>(args: Prisma.Subset<T, McpDeliveryAggregateArgs>): Prisma.PrismaPromise<GetMcpDeliveryAggregateType<T>>;
769
+ /**
770
+ * Group by McpDelivery.
771
+ * Note, that providing `undefined` is treated as the value not being there.
772
+ * Read more here: https://pris.ly/d/null-undefined
773
+ * @param {McpDeliveryGroupByArgs} args - Group by arguments.
774
+ * @example
775
+ * // Group by city, order by createdAt, get count
776
+ * const result = await prisma.user.groupBy({
777
+ * by: ['city', 'createdAt'],
778
+ * orderBy: {
779
+ * createdAt: true
780
+ * },
781
+ * _count: {
782
+ * _all: true
783
+ * },
784
+ * })
785
+ *
786
+ **/
787
+ groupBy<T extends McpDeliveryGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
788
+ orderBy: McpDeliveryGroupByArgs['orderBy'];
789
+ } : {
790
+ orderBy?: McpDeliveryGroupByArgs['orderBy'];
791
+ }, 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 ? {
792
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
793
+ Error,
794
+ 'Field ',
795
+ P,
796
+ ` in "having" needs to be provided in "by"`
797
+ ];
798
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
799
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
800
+ }[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 ? {} : {
801
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
802
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
803
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
804
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, McpDeliveryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMcpDeliveryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
805
+ /**
806
+ * Fields of the McpDelivery model
807
+ */
808
+ readonly fields: McpDeliveryFieldRefs;
809
+ }
810
+ /**
811
+ * The delegate class that acts as a "Promise-like" for McpDelivery.
812
+ * Why is this prefixed with `Prisma__`?
813
+ * Because we want to prevent naming conflicts as mentioned in
814
+ * https://github.com/prisma/prisma-client-js/issues/707
815
+ */
816
+ export interface Prisma__McpDeliveryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
817
+ readonly [Symbol.toStringTag]: "PrismaPromise";
818
+ /**
819
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
820
+ * @param onfulfilled The callback to execute when the Promise is resolved.
821
+ * @param onrejected The callback to execute when the Promise is rejected.
822
+ * @returns A Promise for the completion of which ever callback is executed.
823
+ */
824
+ 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>;
825
+ /**
826
+ * Attaches a callback for only the rejection of the Promise.
827
+ * @param onrejected The callback to execute when the Promise is rejected.
828
+ * @returns A Promise for the completion of the callback.
829
+ */
830
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
831
+ /**
832
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
833
+ * resolved value cannot be modified from the callback.
834
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
835
+ * @returns A Promise for the completion of the callback.
836
+ */
837
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
838
+ }
839
+ /**
840
+ * Fields of the McpDelivery model
841
+ */
842
+ export interface McpDeliveryFieldRefs {
843
+ readonly fleetId: Prisma.FieldRef<"McpDelivery", 'String'>;
844
+ readonly trierarchShipId: Prisma.FieldRef<"McpDelivery", 'String'>;
845
+ readonly attemptVersion: Prisma.FieldRef<"McpDelivery", 'Int'>;
846
+ readonly attemptPublicKey: Prisma.FieldRef<"McpDelivery", 'String'>;
847
+ readonly attemptIdempotencyKey: Prisma.FieldRef<"McpDelivery", 'String'>;
848
+ readonly attemptPayload: Prisma.FieldRef<"McpDelivery", 'String'>;
849
+ readonly attemptSentAt: Prisma.FieldRef<"McpDelivery", 'DateTime'>;
850
+ readonly appliedVersion: Prisma.FieldRef<"McpDelivery", 'Int'>;
851
+ readonly appliedPublicKey: Prisma.FieldRef<"McpDelivery", 'String'>;
852
+ readonly isRequested: Prisma.FieldRef<"McpDelivery", 'Boolean'>;
853
+ }
854
+ /**
855
+ * McpDelivery findUnique
856
+ */
857
+ export type McpDeliveryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
858
+ /**
859
+ * Select specific fields to fetch from the McpDelivery
860
+ */
861
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
862
+ /**
863
+ * Omit specific fields from the McpDelivery
864
+ */
865
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
866
+ /**
867
+ * Filter, which McpDelivery to fetch.
868
+ */
869
+ where: Prisma.McpDeliveryWhereUniqueInput;
870
+ };
871
+ /**
872
+ * McpDelivery findUniqueOrThrow
873
+ */
874
+ export type McpDeliveryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
875
+ /**
876
+ * Select specific fields to fetch from the McpDelivery
877
+ */
878
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
879
+ /**
880
+ * Omit specific fields from the McpDelivery
881
+ */
882
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
883
+ /**
884
+ * Filter, which McpDelivery to fetch.
885
+ */
886
+ where: Prisma.McpDeliveryWhereUniqueInput;
887
+ };
888
+ /**
889
+ * McpDelivery findFirst
890
+ */
891
+ export type McpDeliveryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
892
+ /**
893
+ * Select specific fields to fetch from the McpDelivery
894
+ */
895
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
896
+ /**
897
+ * Omit specific fields from the McpDelivery
898
+ */
899
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
900
+ /**
901
+ * Filter, which McpDelivery to fetch.
902
+ */
903
+ where?: Prisma.McpDeliveryWhereInput;
904
+ /**
905
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
906
+ *
907
+ * Determine the order of McpDeliveries to fetch.
908
+ */
909
+ orderBy?: Prisma.McpDeliveryOrderByWithRelationInput | Prisma.McpDeliveryOrderByWithRelationInput[];
910
+ /**
911
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
912
+ *
913
+ * Sets the position for searching for McpDeliveries.
914
+ */
915
+ cursor?: Prisma.McpDeliveryWhereUniqueInput;
916
+ /**
917
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
918
+ *
919
+ * Take `±n` McpDeliveries from the position of the cursor.
920
+ */
921
+ take?: number;
922
+ /**
923
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
924
+ *
925
+ * Skip the first `n` McpDeliveries.
926
+ */
927
+ skip?: number;
928
+ /**
929
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
930
+ *
931
+ * Filter by unique combinations of McpDeliveries.
932
+ */
933
+ distinct?: Prisma.McpDeliveryScalarFieldEnum | Prisma.McpDeliveryScalarFieldEnum[];
934
+ };
935
+ /**
936
+ * McpDelivery findFirstOrThrow
937
+ */
938
+ export type McpDeliveryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
939
+ /**
940
+ * Select specific fields to fetch from the McpDelivery
941
+ */
942
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
943
+ /**
944
+ * Omit specific fields from the McpDelivery
945
+ */
946
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
947
+ /**
948
+ * Filter, which McpDelivery to fetch.
949
+ */
950
+ where?: Prisma.McpDeliveryWhereInput;
951
+ /**
952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
953
+ *
954
+ * Determine the order of McpDeliveries to fetch.
955
+ */
956
+ orderBy?: Prisma.McpDeliveryOrderByWithRelationInput | Prisma.McpDeliveryOrderByWithRelationInput[];
957
+ /**
958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
959
+ *
960
+ * Sets the position for searching for McpDeliveries.
961
+ */
962
+ cursor?: Prisma.McpDeliveryWhereUniqueInput;
963
+ /**
964
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
965
+ *
966
+ * Take `±n` McpDeliveries from the position of the cursor.
967
+ */
968
+ take?: number;
969
+ /**
970
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
971
+ *
972
+ * Skip the first `n` McpDeliveries.
973
+ */
974
+ skip?: number;
975
+ /**
976
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
977
+ *
978
+ * Filter by unique combinations of McpDeliveries.
979
+ */
980
+ distinct?: Prisma.McpDeliveryScalarFieldEnum | Prisma.McpDeliveryScalarFieldEnum[];
981
+ };
982
+ /**
983
+ * McpDelivery findMany
984
+ */
985
+ export type McpDeliveryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
986
+ /**
987
+ * Select specific fields to fetch from the McpDelivery
988
+ */
989
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
990
+ /**
991
+ * Omit specific fields from the McpDelivery
992
+ */
993
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
994
+ /**
995
+ * Filter, which McpDeliveries to fetch.
996
+ */
997
+ where?: Prisma.McpDeliveryWhereInput;
998
+ /**
999
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1000
+ *
1001
+ * Determine the order of McpDeliveries to fetch.
1002
+ */
1003
+ orderBy?: Prisma.McpDeliveryOrderByWithRelationInput | Prisma.McpDeliveryOrderByWithRelationInput[];
1004
+ /**
1005
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1006
+ *
1007
+ * Sets the position for listing McpDeliveries.
1008
+ */
1009
+ cursor?: Prisma.McpDeliveryWhereUniqueInput;
1010
+ /**
1011
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1012
+ *
1013
+ * Take `±n` McpDeliveries from the position of the cursor.
1014
+ */
1015
+ take?: number;
1016
+ /**
1017
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1018
+ *
1019
+ * Skip the first `n` McpDeliveries.
1020
+ */
1021
+ skip?: number;
1022
+ /**
1023
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1024
+ *
1025
+ * Filter by unique combinations of McpDeliveries.
1026
+ */
1027
+ distinct?: Prisma.McpDeliveryScalarFieldEnum | Prisma.McpDeliveryScalarFieldEnum[];
1028
+ };
1029
+ /**
1030
+ * McpDelivery create
1031
+ */
1032
+ export type McpDeliveryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1033
+ /**
1034
+ * Select specific fields to fetch from the McpDelivery
1035
+ */
1036
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
1037
+ /**
1038
+ * Omit specific fields from the McpDelivery
1039
+ */
1040
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
1041
+ /**
1042
+ * The data needed to create a McpDelivery.
1043
+ */
1044
+ data: Prisma.XOR<Prisma.McpDeliveryCreateInput, Prisma.McpDeliveryUncheckedCreateInput>;
1045
+ };
1046
+ /**
1047
+ * McpDelivery createMany
1048
+ */
1049
+ export type McpDeliveryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1050
+ /**
1051
+ * The data used to create many McpDeliveries.
1052
+ */
1053
+ data: Prisma.McpDeliveryCreateManyInput | Prisma.McpDeliveryCreateManyInput[];
1054
+ skipDuplicates?: boolean;
1055
+ };
1056
+ /**
1057
+ * McpDelivery createManyAndReturn
1058
+ */
1059
+ export type McpDeliveryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1060
+ /**
1061
+ * Select specific fields to fetch from the McpDelivery
1062
+ */
1063
+ select?: Prisma.McpDeliverySelectCreateManyAndReturn<ExtArgs> | null;
1064
+ /**
1065
+ * Omit specific fields from the McpDelivery
1066
+ */
1067
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
1068
+ /**
1069
+ * The data used to create many McpDeliveries.
1070
+ */
1071
+ data: Prisma.McpDeliveryCreateManyInput | Prisma.McpDeliveryCreateManyInput[];
1072
+ skipDuplicates?: boolean;
1073
+ };
1074
+ /**
1075
+ * McpDelivery update
1076
+ */
1077
+ export type McpDeliveryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1078
+ /**
1079
+ * Select specific fields to fetch from the McpDelivery
1080
+ */
1081
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
1082
+ /**
1083
+ * Omit specific fields from the McpDelivery
1084
+ */
1085
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
1086
+ /**
1087
+ * The data needed to update a McpDelivery.
1088
+ */
1089
+ data: Prisma.XOR<Prisma.McpDeliveryUpdateInput, Prisma.McpDeliveryUncheckedUpdateInput>;
1090
+ /**
1091
+ * Choose, which McpDelivery to update.
1092
+ */
1093
+ where: Prisma.McpDeliveryWhereUniqueInput;
1094
+ };
1095
+ /**
1096
+ * McpDelivery updateMany
1097
+ */
1098
+ export type McpDeliveryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1099
+ /**
1100
+ * The data used to update McpDeliveries.
1101
+ */
1102
+ data: Prisma.XOR<Prisma.McpDeliveryUpdateManyMutationInput, Prisma.McpDeliveryUncheckedUpdateManyInput>;
1103
+ /**
1104
+ * Filter which McpDeliveries to update
1105
+ */
1106
+ where?: Prisma.McpDeliveryWhereInput;
1107
+ /**
1108
+ * Limit how many McpDeliveries to update.
1109
+ */
1110
+ limit?: number;
1111
+ };
1112
+ /**
1113
+ * McpDelivery updateManyAndReturn
1114
+ */
1115
+ export type McpDeliveryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1116
+ /**
1117
+ * Select specific fields to fetch from the McpDelivery
1118
+ */
1119
+ select?: Prisma.McpDeliverySelectUpdateManyAndReturn<ExtArgs> | null;
1120
+ /**
1121
+ * Omit specific fields from the McpDelivery
1122
+ */
1123
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
1124
+ /**
1125
+ * The data used to update McpDeliveries.
1126
+ */
1127
+ data: Prisma.XOR<Prisma.McpDeliveryUpdateManyMutationInput, Prisma.McpDeliveryUncheckedUpdateManyInput>;
1128
+ /**
1129
+ * Filter which McpDeliveries to update
1130
+ */
1131
+ where?: Prisma.McpDeliveryWhereInput;
1132
+ /**
1133
+ * Limit how many McpDeliveries to update.
1134
+ */
1135
+ limit?: number;
1136
+ };
1137
+ /**
1138
+ * McpDelivery upsert
1139
+ */
1140
+ export type McpDeliveryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1141
+ /**
1142
+ * Select specific fields to fetch from the McpDelivery
1143
+ */
1144
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
1145
+ /**
1146
+ * Omit specific fields from the McpDelivery
1147
+ */
1148
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
1149
+ /**
1150
+ * The filter to search for the McpDelivery to update in case it exists.
1151
+ */
1152
+ where: Prisma.McpDeliveryWhereUniqueInput;
1153
+ /**
1154
+ * In case the McpDelivery found by the `where` argument doesn't exist, create a new McpDelivery with this data.
1155
+ */
1156
+ create: Prisma.XOR<Prisma.McpDeliveryCreateInput, Prisma.McpDeliveryUncheckedCreateInput>;
1157
+ /**
1158
+ * In case the McpDelivery was found with the provided `where` argument, update it with this data.
1159
+ */
1160
+ update: Prisma.XOR<Prisma.McpDeliveryUpdateInput, Prisma.McpDeliveryUncheckedUpdateInput>;
1161
+ };
1162
+ /**
1163
+ * McpDelivery delete
1164
+ */
1165
+ export type McpDeliveryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1166
+ /**
1167
+ * Select specific fields to fetch from the McpDelivery
1168
+ */
1169
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
1170
+ /**
1171
+ * Omit specific fields from the McpDelivery
1172
+ */
1173
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
1174
+ /**
1175
+ * Filter which McpDelivery to delete.
1176
+ */
1177
+ where: Prisma.McpDeliveryWhereUniqueInput;
1178
+ };
1179
+ /**
1180
+ * McpDelivery deleteMany
1181
+ */
1182
+ export type McpDeliveryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1183
+ /**
1184
+ * Filter which McpDeliveries to delete
1185
+ */
1186
+ where?: Prisma.McpDeliveryWhereInput;
1187
+ /**
1188
+ * Limit how many McpDeliveries to delete.
1189
+ */
1190
+ limit?: number;
1191
+ };
1192
+ /**
1193
+ * McpDelivery without action
1194
+ */
1195
+ export type McpDeliveryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
+ /**
1197
+ * Select specific fields to fetch from the McpDelivery
1198
+ */
1199
+ select?: Prisma.McpDeliverySelect<ExtArgs> | null;
1200
+ /**
1201
+ * Omit specific fields from the McpDelivery
1202
+ */
1203
+ omit?: Prisma.McpDeliveryOmit<ExtArgs> | null;
1204
+ };