@@ -15,11 +15,11 @@ export type ProgressTokenSchemaInferredType = z.infer<typeof generated.ProgressT
1515
1616export type CursorSchemaInferredType = z . infer < typeof generated . CursorSchema > ;
1717
18- export type RequestParamsSchemaInferredType = z . infer < typeof generated . RequestParamsSchema > ;
19-
2018export type TaskMetadataSchemaInferredType = z . infer < typeof generated . TaskMetadataSchema > ;
2119
22- export type RequestSchemaInferredType = z . infer < typeof generated . RequestSchema > ;
20+ export type RelatedTaskMetadataSchemaInferredType = z . infer < typeof generated . RelatedTaskMetadataSchema > ;
21+
22+ export type RequestParamsSchemaInferredType = z . infer < typeof generated . RequestParamsSchema > ;
2323
2424export type NotificationParamsSchemaInferredType = z . infer < typeof generated . NotificationParamsSchema > ;
2525
@@ -31,7 +31,7 @@ export type ErrorSchemaInferredType = z.infer<typeof generated.ErrorSchema>;
3131
3232export type RequestIdSchemaInferredType = z . infer < typeof generated . RequestIdSchema > ;
3333
34- export type JSONRPCRequestSchemaInferredType = z . infer < typeof generated . JSONRPCRequestSchema > ;
34+ export type RequestSchemaInferredType = z . infer < typeof generated . RequestSchema > ;
3535
3636export type JSONRPCNotificationSchemaInferredType = z . infer < typeof generated . JSONRPCNotificationSchema > ;
3737
@@ -133,8 +133,6 @@ export type ToolSchemaInferredType = z.infer<typeof generated.ToolSchema>;
133133
134134export type TaskStatusSchemaInferredType = z . infer < typeof generated . TaskStatusSchema > ;
135135
136- export type RelatedTaskMetadataSchemaInferredType = z . infer < typeof generated . RelatedTaskMetadataSchema > ;
137-
138136export type TaskSchemaInferredType = z . infer < typeof generated . TaskSchema > ;
139137
140138export type CreateTaskResultSchemaInferredType = z . infer < typeof generated . CreateTaskResultSchema > ;
@@ -241,7 +239,7 @@ export type ReadResourceResultSchemaInferredType = z.infer<typeof generated.Read
241239
242240export type ListToolsResultSchemaInferredType = z . infer < typeof generated . ListToolsResultSchema > ;
243241
244- export type JSONRPCMessageSchemaInferredType = z . infer < typeof generated . JSONRPCMessageSchema > ;
242+ export type JSONRPCRequestSchemaInferredType = z . infer < typeof generated . JSONRPCRequestSchema > ;
245243
246244export type URLElicitationRequiredErrorSchemaInferredType = z . infer < typeof generated . URLElicitationRequiredErrorSchema > ;
247245
@@ -281,6 +279,8 @@ export type ListResourcesResultSchemaInferredType = z.infer<typeof generated.Lis
281279
282280export type CallToolResultSchemaInferredType = z . infer < typeof generated . CallToolResultSchema > ;
283281
282+ export type JSONRPCMessageSchemaInferredType = z . infer < typeof generated . JSONRPCMessageSchema > ;
283+
284284export type PromptMessageSchemaInferredType = z . infer < typeof generated . PromptMessageSchema > ;
285285
286286export type SamplingMessageContentBlockSchemaInferredType = z . infer < typeof generated . SamplingMessageContentBlockSchema > ;
@@ -305,12 +305,12 @@ expectType<spec.ProgressToken>({} as ProgressTokenSchemaInferredType);
305305expectType < ProgressTokenSchemaInferredType > ( { } as spec . ProgressToken ) ;
306306expectType < spec . Cursor > ( { } as CursorSchemaInferredType ) ;
307307expectType < CursorSchemaInferredType > ( { } as spec . Cursor ) ;
308- expectType < spec . RequestParams > ( { } as RequestParamsSchemaInferredType ) ;
309- expectType < RequestParamsSchemaInferredType > ( { } as spec . RequestParams ) ;
310308expectType < spec . TaskMetadata > ( { } as TaskMetadataSchemaInferredType ) ;
311309expectType < TaskMetadataSchemaInferredType > ( { } as spec . TaskMetadata ) ;
312- expectType < spec . Request > ( { } as RequestSchemaInferredType ) ;
313- expectType < RequestSchemaInferredType > ( { } as spec . Request ) ;
310+ expectType < spec . RelatedTaskMetadata > ( { } as RelatedTaskMetadataSchemaInferredType ) ;
311+ expectType < RelatedTaskMetadataSchemaInferredType > ( { } as spec . RelatedTaskMetadata ) ;
312+ expectType < spec . RequestParams > ( { } as RequestParamsSchemaInferredType ) ;
313+ expectType < RequestParamsSchemaInferredType > ( { } as spec . RequestParams ) ;
314314expectType < spec . NotificationParams > ( { } as NotificationParamsSchemaInferredType ) ;
315315expectType < NotificationParamsSchemaInferredType > ( { } as spec . NotificationParams ) ;
316316expectType < spec . Notification > ( { } as NotificationSchemaInferredType ) ;
@@ -321,8 +321,8 @@ expectType<spec.Error>({} as ErrorSchemaInferredType);
321321expectType < ErrorSchemaInferredType > ( { } as spec . Error ) ;
322322expectType < spec . RequestId > ( { } as RequestIdSchemaInferredType ) ;
323323expectType < RequestIdSchemaInferredType > ( { } as spec . RequestId ) ;
324- expectType < spec . JSONRPCRequest > ( { } as JSONRPCRequestSchemaInferredType ) ;
325- expectType < JSONRPCRequestSchemaInferredType > ( { } as spec . JSONRPCRequest ) ;
324+ expectType < spec . Request > ( { } as RequestSchemaInferredType ) ;
325+ expectType < RequestSchemaInferredType > ( { } as spec . Request ) ;
326326expectType < spec . JSONRPCNotification > ( { } as JSONRPCNotificationSchemaInferredType ) ;
327327expectType < JSONRPCNotificationSchemaInferredType > ( { } as spec . JSONRPCNotification ) ;
328328expectType < spec . JSONRPCResultResponse > ( { } as JSONRPCResultResponseSchemaInferredType ) ;
@@ -423,8 +423,6 @@ expectType<spec.Tool>({} as ToolSchemaInferredType);
423423expectType < ToolSchemaInferredType > ( { } as spec . Tool ) ;
424424expectType < spec . TaskStatus > ( { } as TaskStatusSchemaInferredType ) ;
425425expectType < TaskStatusSchemaInferredType > ( { } as spec . TaskStatus ) ;
426- expectType < spec . RelatedTaskMetadata > ( { } as RelatedTaskMetadataSchemaInferredType ) ;
427- expectType < RelatedTaskMetadataSchemaInferredType > ( { } as spec . RelatedTaskMetadata ) ;
428426expectType < spec . Task > ( { } as TaskSchemaInferredType ) ;
429427expectType < TaskSchemaInferredType > ( { } as spec . Task ) ;
430428expectType < spec . CreateTaskResult > ( { } as CreateTaskResultSchemaInferredType ) ;
@@ -531,8 +529,8 @@ expectType<spec.ReadResourceResult>({} as ReadResourceResultSchemaInferredType);
531529expectType < ReadResourceResultSchemaInferredType > ( { } as spec . ReadResourceResult ) ;
532530expectType < spec . ListToolsResult > ( { } as ListToolsResultSchemaInferredType ) ;
533531expectType < ListToolsResultSchemaInferredType > ( { } as spec . ListToolsResult ) ;
534- expectType < spec . JSONRPCMessage > ( { } as JSONRPCMessageSchemaInferredType ) ;
535- expectType < JSONRPCMessageSchemaInferredType > ( { } as spec . JSONRPCMessage ) ;
532+ expectType < spec . JSONRPCRequest > ( { } as JSONRPCRequestSchemaInferredType ) ;
533+ expectType < JSONRPCRequestSchemaInferredType > ( { } as spec . JSONRPCRequest ) ;
536534expectType < spec . URLElicitationRequiredError > ( { } as URLElicitationRequiredErrorSchemaInferredType ) ;
537535expectType < URLElicitationRequiredErrorSchemaInferredType > ( { } as spec . URLElicitationRequiredError ) ;
538536expectType < spec . InitializeRequestParams > ( { } as InitializeRequestParamsSchemaInferredType ) ;
@@ -571,6 +569,8 @@ expectType<spec.ListResourcesResult>({} as ListResourcesResultSchemaInferredType
571569expectType < ListResourcesResultSchemaInferredType > ( { } as spec . ListResourcesResult ) ;
572570expectType < spec . CallToolResult > ( { } as CallToolResultSchemaInferredType ) ;
573571expectType < CallToolResultSchemaInferredType > ( { } as spec . CallToolResult ) ;
572+ expectType < spec . JSONRPCMessage > ( { } as JSONRPCMessageSchemaInferredType ) ;
573+ expectType < JSONRPCMessageSchemaInferredType > ( { } as spec . JSONRPCMessage ) ;
574574expectType < spec . PromptMessage > ( { } as PromptMessageSchemaInferredType ) ;
575575expectType < PromptMessageSchemaInferredType > ( { } as spec . PromptMessage ) ;
576576expectType < spec . SamplingMessageContentBlock > ( { } as SamplingMessageContentBlockSchemaInferredType ) ;
0 commit comments